/* The Cyber-Heist — high-legibility vault.
   White sheets on a cool-grey ground, black ink, crimson as the single accent:
   the vault code, the clock thread, alarms and the strong-adjective marker.
   Layout: mission sheet on the left, the vault door docked on the right; stacks on phones. */
:root {
  --paper: #ececee;
  --paper-2: #dcdce0;
  --card: #ffffff;
  --ink: #141416;
  --ink-2: #55555c;
  --line: #cdcdd3;
  --serial: #a50f2d;
  --serial-soft: #f8dfe4;
  --foil: #a50f2d;
  --foil-soft: #f8dfe4;
  --mint: #3a3a40;
  --mint-soft: #e2e2e6;
  --ok: #141416;
  --ok-soft: #e6e6ea;
  --band: #0c0c0d;
  --band-ink: #f4f4f5;
  --steel: #8c8c93;
  --display: "Archivo", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
/* Light only: the white sheets on grey are the identity, whatever the device theme. */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background-color: var(--paper);
  /* fine security-paper hatching */
  background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 3%, transparent) 0 1px, transparent 1px 8px);
  color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
}
[hidden] { display: none !important; }
img { max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--foil); outline-offset: 2px; }
p { margin: 0; max-width: 66ch; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4rem); font-stretch: 112%; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
.muted { color: var(--ink-2); }
.lead { font-size: 1.14rem; }
.mini { font-size: .86rem; }
.num { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- top band: wordmark, agent, clock ---------- */
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: var(--band); color: var(--band-ink);
  padding-block: 10px; padding-inline: 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px;
}
.brand { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 1.3rem; letter-spacing: -.01em; }
.brand i { font-style: normal; font-family: var(--body); font-weight: 400; opacity: .7; font-size: .95rem; margin-left: 10px; }
.brand::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--serial); margin-right: 10px; vertical-align: 2px; }
.agent { font-size: .92rem; opacity: .8; }
.bar .spacer { flex: 1; }
.clock { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.7rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.clock.low { color: var(--foil); animation: pulse 1s steps(2, jump-none) infinite; }
.clock.out { color: var(--serial); }
.bar button { background: transparent; border: 1px solid currentColor; border-radius: 999px; padding: 4px 14px; font-size: .85rem; cursor: pointer; color: inherit; opacity: .8; }
.bar button:hover { opacity: 1; }
@keyframes pulse { 50% { opacity: .55; } }

/* the clock as a banknote security thread: shortens as time runs out */
.thread { position: absolute; left: 0; right: 0; bottom: -7px; height: 7px; background: color-mix(in srgb, var(--band) 85%, var(--paper)); }
.thread span {
  display: block; height: 100%; width: 100%; transform-origin: left; transition: transform .5s linear, background-color .4s;
  background-color: var(--foil);
  background-image: repeating-linear-gradient(90deg, transparent 0 10px, color-mix(in srgb, var(--band) 35%, transparent) 10px 12px);
}
.thread.low span { background-color: var(--serial); }

.live { font-size: .82rem; display: inline-flex; align-items: center; gap: 7px; opacity: .85; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--steel); }
.live.on::before { background: var(--serial); box-shadow: 0 0 0 3px color-mix(in srgb, var(--serial) 40%, transparent); }

/* ---------- route: the four phases are a real sequence ---------- */
.route { max-width: 1180px; margin-inline: auto; padding-inline: 16px; padding-block: 18px 10px; }
.route ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.route ol::before { content: ""; position: absolute; left: 10%; right: 10%; top: 13px; height: 2px; background: var(--line); }
.route li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .82rem; color: var(--ink-2); min-width: 0; }
.route .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--line); font-weight: 700; font-size: .8rem; position: relative; z-index: 1; transition: background-color .4s, border-color .4s, color .4s; }
.route li.done .dot { background: var(--ink); border-color: var(--ink); color: var(--card); }
.route li.now { color: var(--ink); font-weight: 600; }
.route li.now .dot { border-color: var(--foil); color: var(--foil); box-shadow: 0 0 0 5px var(--foil-soft); }
.route small { display: block; font-weight: 400; color: var(--ink-2); }
@media (max-width: 560px) { .route li span.lbl { font-size: .72rem; } .route small { display: none; } }

/* ---------- layout ---------- */
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 16px; padding-block: 8px 40px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 880px) { .wrap { grid-template-columns: minmax(0, 1fr); } .vault-col { order: -1; } }

.panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(20px, 3.4vw, 40px); display: grid; gap: 20px; min-width: 0;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px color-mix(in srgb, var(--ink) 45%, transparent);
}
.panel .mark { position: absolute; z-index: -1; width: 340px; height: 340px; right: -110px; top: -110px; opacity: .5; pointer-events: none; }
.panel.shake { animation: shake .42s var(--ease); }
@keyframes shake { 15%, 55% { transform: translateX(-7px); } 35%, 75% { transform: translateX(7px); } }
.kicker { font-weight: 700; font-size: .98rem; color: var(--serial); }
.enter { animation: enter .5s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }

.stamp {
  width: fit-content; font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--serial); border: 3px double var(--serial); border-radius: 6px; padding: 4px 14px; transform: rotate(-4deg);
  animation: stamp .55s var(--ease) .15s both;
}
.stamp.ok { color: var(--ok); border-color: var(--ok); }
@keyframes stamp { from { opacity: 0; transform: rotate(-4deg) scale(2.2); } 60% { opacity: 1; transform: rotate(-4deg) scale(.94); } }

.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  background: var(--ink); color: var(--card); border: 0; border-radius: 999px; padding: 13px 26px;
  font-weight: 700; font-stretch: 112%; letter-spacing: .01em; cursor: pointer;
  transition: transform .15s var(--ease), background-color .2s;
}
.btn:hover { background: var(--mint); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.danger { background: transparent; color: var(--serial); box-shadow: inset 0 0 0 1.5px var(--serial); padding: 5px 14px; font-size: .82rem; }
.btn.danger:hover { background: var(--serial); color: var(--card); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

label.field { display: grid; gap: 6px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
input[type="text"], input[type="password"], textarea {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; width: 100%; color: var(--ink); font-weight: 500;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 66px; line-height: 1.45; }
input:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px var(--mint-soft); }

/* ---------- feedback ---------- */
.fb { border-radius: 10px; padding: 12px 16px; font-size: .96rem; display: grid; gap: 4px; animation: enter .35s var(--ease) both; }
.fb.ok { background: var(--ok-soft); color: var(--ok); }
.fb.bad { color: var(--serial); background: var(--serial-soft); border-left: 8px solid transparent; border-image: repeating-linear-gradient(135deg, var(--serial) 0 6px, transparent 6px 12px) 8; }
.fb ul { margin: 0; padding-left: 18px; }

/* ---------- phase 1: report with highlighter swipes ---------- */
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--card); border-radius: 999px; padding: 7px 16px 7px 12px; cursor: pointer; font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; }
.tool::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--paper-2); }
.tool.adj::before { background: var(--foil); }
.tool.money::before { background: var(--mint); }
.tool.erase::before { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-2); }
.tool[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); background: var(--paper); }
.report {
  position: relative; background: var(--paper); border-radius: 10px; padding: clamp(18px, 3vw, 30px);
  font-size: clamp(1.18rem, 2.3vw, 1.4rem); line-height: 1.9;
  border: 1px solid var(--line);
}
.report .rh { font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--serial); display: block; margin-bottom: 6px; }
.w {
  background: none; border: 0; padding: 0 3px; margin: 0 -3px; border-radius: 3px; cursor: pointer; font: inherit; line-height: inherit; color: inherit;
  background-image: linear-gradient(transparent 0 0); background-repeat: no-repeat; background-position: 0 72%; background-size: 0% 60%;
  transition: background-size .32s var(--ease), color .2s;
}
.w:hover { background-image: linear-gradient(var(--paper-2), var(--paper-2)); background-size: 100% 60%; }
.w.adj { background-image: linear-gradient(var(--foil-soft), var(--foil-soft)); background-size: 100% 60%; color: var(--foil); font-weight: 700; }
.w.money { background-image: linear-gradient(var(--mint-soft), var(--mint-soft)); background-size: 100% 60%; color: var(--mint); font-weight: 700; }
.w.wrong { outline: 2px dashed var(--serial); outline-offset: 2px; }
.tally { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; }
.tally span { background: var(--paper); padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.tally b { font-stretch: 125%; }

/* ---------- phase 2: suspects as case files ---------- */
.suspects { display: grid; gap: 14px; }
.suspect { position: relative; border-radius: 12px; padding: 18px 18px 18px 22px; display: grid; gap: 10px; background: var(--paper); min-width: 0; box-shadow: inset 4px 0 0 var(--line); transition: box-shadow .3s; }
.suspect.solved { box-shadow: inset 4px 0 0 var(--ok); }
.suspect header { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.suspect .who { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.suspect .tense { font-size: .8rem; font-weight: 600; color: var(--ink-2); background: var(--card); padding: 2px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.suspect .seal { position: absolute; right: 14px; top: 12px; font-family: var(--display); font-weight: 800; font-size: .74rem; letter-spacing: .12em; color: var(--ok); border: 2px solid var(--ok); border-radius: 50%; width: 64px; height: 64px; display: grid; place-items: center; text-align: center; line-height: 1; transform: rotate(12deg); animation: stamp .45s var(--ease) both; }
.quote { font-size: 1.2rem; line-height: 1.45; font-weight: 500; }
.suspect.solved .quote { padding-right: 70px; }

/* ---------- phase 3: codes ---------- */
.codes { display: grid; gap: 4px; }
.code { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.code:last-child { border-bottom: 0; }
.code .kind { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--serial); }
.code .s { font-size: 1.1rem; line-height: 2.3; }
.code input { width: auto; min-width: 9ch; display: inline-block; padding: 3px 10px; font-weight: 700; font-size: 1rem; border-radius: 8px; }
.code input.ok { border-color: var(--ok); background: var(--ok-soft); color: var(--ok); }
.code input.bad { border-color: var(--serial); background: var(--serial-soft); color: var(--serial); }
.code .hint { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 520px) { .code { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ---------- the vault: the one memorable object ---------- */
.vault-col { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 80px); display: grid; gap: 16px; }
@media (max-width: 880px) { .vault-col { position: static; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 18px; } }
.vault { position: relative; width: 100%; max-width: 290px; aspect-ratio: 1; margin-inline: auto; perspective: 900px; }
.loot {
  position: absolute; inset: 7%; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--foil) 55%, var(--band)) 0 30%, var(--band) 72%);
  display: grid; place-items: center; box-shadow: inset 0 0 30px #000a;
}
.bars { display: grid; grid-template-columns: repeat(3, 26px); gap: 3px; transform: translateY(14px); }
.bars i { height: 13px; border-radius: 2px; background: linear-gradient(180deg, #ffffff, #a9a9b0); box-shadow: inset 0 -2px 0 #6e6e75; }
.bars i:nth-child(-n+2) { grid-column: span 1; transform: translateX(14px); }
.door { position: absolute; inset: 0; transform-origin: 4% 50%; transition: transform 1.4s var(--ease) .9s; }
.door svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 14px 18px color-mix(in srgb, var(--ink) 30%, transparent)); }
.vault.open .door { transform: rotateY(-78deg); }
.bolt { transition: transform .7s var(--ease); }
.bolt.in { transform: translate(var(--tx), var(--ty)); }
.bolt rect { transition: fill .5s; }
.dial { transform-origin: 100px 100px; transition: transform 1.1s var(--ease); }
.digits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; perspective: 400px; }
.digit {
  aspect-ratio: 4 / 5; max-height: 84px; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line);
  display: grid; place-items: center; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 2.1rem; color: var(--line);
}
.digit.got { color: var(--serial); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--serial); }
.digit.flip { animation: flip .7s var(--ease) both; }
@keyframes flip { from { transform: rotateX(-90deg); opacity: 0; } 60% { transform: rotateX(15deg); opacity: 1; } }
.vault-note { font-size: .92rem; color: var(--ink-2); text-align: center; }

.keypad { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.keypad input { width: 6ch; font-stretch: 125%; font-weight: 800; font-size: 2.4rem; letter-spacing: .25em; text-align: center; padding: 8px 6px 8px 14px; color: var(--serial); }

/* ---------- debrief: the time printed like a banknote denomination ---------- */
.note {
  position: relative; overflow: hidden; border-radius: 12px; padding: 22px clamp(18px, 3vw, 30px);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), inset 0 0 0 7px var(--paper), inset 0 0 0 8px var(--foil);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: end;
}
.note .mark { position: absolute; width: 260px; height: 260px; right: -60px; top: -70px; opacity: .55; pointer-events: none; }
.note .denom { font-stretch: 125%; font-weight: 800; font-size: clamp(3.2rem, 9vw, 5.2rem); line-height: .9; font-variant-numeric: tabular-nums; position: relative; color: var(--ink); }
.note .facts { display: grid; gap: 4px; font-size: .95rem; position: relative; text-align: right; }
.note .serialno { font-stretch: 125%; font-weight: 800; color: var(--serial); letter-spacing: .08em; }
@media (max-width: 520px) { .note { grid-template-columns: minmax(0, 1fr); } .note .facts { text-align: left; } }
ol.debrief { margin: 0; padding-left: 22px; display: grid; gap: 8px; max-width: 66ch; }
.answer { font-size: 1.08rem; font-weight: 700; }

.foot { max-width: 1180px; margin-inline: auto; padding-inline: 16px; padding-block: 0 26px; display: flex; justify-content: flex-end; font-size: .8rem; }
.foot a { color: var(--ink-2); text-decoration: none; border-bottom: 1px dotted var(--line); }
.foot a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- teacher ---------- */
.tmain { max-width: 1280px; margin-inline: auto; padding-inline: 16px; padding-block: 20px 48px; display: grid; gap: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { background: none; border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer; font-weight: 700; font-stretch: 112%; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--card); }
.gate { display: grid; gap: 12px; max-width: 440px; }
.gate .row input { flex: 1; min-width: 0; }
.key { font-size: 1rem; }
ol.key { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 30px; align-items: end; }
@media (max-width: 760px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.join-url { font-stretch: 112%; font-weight: 800; font-size: clamp(1.3rem, 3.2vw, 2.4rem); color: var(--ink); overflow-wrap: anywhere; line-height: 1.1; }
.counts { display: flex; gap: 22px; }
.counts div { display: grid; text-align: right; }
.counts b { font-stretch: 125%; font-weight: 800; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.counts span { font-size: .85rem; color: var(--ink-2); }

.race-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; align-items: start; }
@media (max-width: 1000px) { .race-wrap { grid-template-columns: minmax(0, 1fr); } }
.race { position: relative; display: grid; }
.stations { display: grid; grid-template-columns: 56px minmax(120px, 1.1fr) minmax(220px, 2.4fr) 86px 64px; gap: 14px; padding: 0 12px 8px; font-size: .8rem; color: var(--ink-2); }
.stations .st { display: grid; grid-template-columns: repeat(4, 1fr); text-align: right; }
.lane {
  display: grid; grid-template-columns: 56px minmax(120px, 1.1fr) minmax(220px, 2.4fr) 86px 64px; gap: 14px; align-items: center;
  padding: 12px; border-radius: 12px; background: var(--card); margin-bottom: 8px; box-shadow: inset 0 0 0 1px var(--line);
  will-change: transform;
}
.lane.done { box-shadow: inset 0 0 0 1.5px var(--foil); background: color-mix(in srgb, var(--foil-soft) 45%, var(--card)); }
.lane.off { opacity: .55; }
.lane .rank { font-stretch: 125%; font-weight: 800; font-size: 1.8rem; line-height: 1; text-align: center; color: var(--ink-2); }
.lane.p1 .rank { color: var(--foil); }
.lane .tname { font-weight: 700; font-size: 1.12rem; overflow-wrap: anywhere; }
.lane .state { display: block; font-size: .85rem; color: var(--ink-2); }
.lane .time { font-stretch: 125%; font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; text-align: right; }
.lane .tries { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.track { position: relative; height: 30px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px); }
.track .fill { position: absolute; left: 0; top: 50%; height: 4px; transform: translateY(-50%); border-radius: 2px; background: var(--ink); transition: width 1s var(--ease); }
.track .stop { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--card); box-shadow: inset 0 0 0 2px var(--line); }
.track .stop.on { background: var(--ink); box-shadow: none; }
.track .stop.vaultstop { width: 18px; height: 18px; border-radius: 4px; }
.track .token {
  position: absolute; top: 50%; width: 24px; height: 24px; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--ink); box-shadow: 0 0 0 4px var(--card), 0 0 0 5px var(--ink); transition: left 1s var(--ease);
  display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: var(--card);
}
.lane.done .token { background: var(--serial); box-shadow: 0 0 0 4px var(--card), 0 0 0 5px var(--serial); color: var(--card); }
.lane.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: inset 0 0 0 3px var(--foil), 0 0 0 6px var(--foil-soft); } }

.feed { background: var(--band); color: var(--band-ink); border-radius: 14px; padding: 18px; display: grid; gap: 10px; align-content: start; min-height: 200px; }
.feed h3 { font-size: 1.2rem; }
.feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feed li { font-size: .95rem; line-height: 1.35; padding-left: 14px; border-left: 3px solid var(--foil); animation: slidein .45s var(--ease) both; }
.feed li.win { border-left-color: var(--band-ink); font-weight: 700; }
.feed li time { display: block; font-size: .75rem; opacity: .6; }
.feed .none { opacity: .7; }
@keyframes slidein { from { opacity: 0; transform: translateX(-12px); } }

.empty { border: 1.5px dashed var(--line); border-radius: 12px; padding: 26px; color: var(--ink-2); }
.ctrl { display: grid; gap: 8px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.ctrl:last-child { border-bottom: 0; padding-bottom: 0; }

@media (max-width: 760px) {
  .stations { display: none; }
  .lane { grid-template-columns: 40px minmax(0, 1fr) 70px; }
  .lane .track { grid-column: 1 / -1; order: 5; }
  .lane .tries { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Archivo carries every width-stretched figure and control; Atkinson carries reading text. */
.btn, .tabs button, .tally b, .keypad input, .note .denom, .note .serialno, .join-url, .counts b, .lane .rank, .lane .time { font-family: var(--display); }
