@font-face {
  font-family: 'Barlow Condensed';
  src: url('./assets/barlow-condensed-800.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #171416;
  --panel: #211c1f;
  --line: #393136;
  --paper: #fff0df;
  --muted: #c1b2b5;
  --orange: #ffae73;
  --orange-hot: #ffc392;
  --display: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'SFMono-Regular', Consolas, monospace;
  font-family: system-ui, sans-serif;
  color: var(--paper);
  background: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 285px; }
button, input { font: inherit; }
button { color: inherit; }
button:not(:disabled) { cursor: pointer; }
button:focus-visible, .rider-option:has(:focus-visible) { outline: 2px solid var(--orange-hot); outline-offset: 3px; }
button:disabled { opacity: .53; }

.shell {
  width: min(100% - 64px, 1280px);
  margin-inline: auto;
  padding-block: 27px 40px;
}

body { background: radial-gradient(ellipse at 38% 12%, #221a20 0%, var(--ink) 68%) fixed; }
.track-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

h1, h2, p { margin: 0; }
h1 {
  font: 800 clamp(3.5rem, 6vw, 5.125rem)/.9 var(--display);
  letter-spacing: .005em;
}

.best-time { display: grid; justify-items: end; gap: 5px; padding-bottom: 1px; white-space: nowrap; }
.hud-label { font-size: .6875rem; font-weight: 800; line-height: 1.15; letter-spacing: .13em; text-transform: uppercase; }
.best-time .hud-label { color: var(--muted); }
.best-time strong { font: 800 clamp(1.2rem, 3vw, 1.9rem)/1 var(--mono); color: var(--orange); letter-spacing: -.065em; }

.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: 18px; align-items: stretch; }
.play-column { min-width: 0; }
.track-frame {
  position: relative;
  container: race-frame / inline-size;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 2 / 1;
  border: 1px solid #655059;
  border-radius: 12px;
  outline: none;
  background: linear-gradient(#9cc9da, #c8d7a8 69%, #865d45 69%);
  box-shadow: 0 15px 35px #0b080a66;
}

.track-frame:focus-visible { box-shadow: 0 0 0 2px var(--orange), 0 15px 35px #0b080a66; }
.track-frame.is-boosting { border-color: #c8ef92; box-shadow: 0 0 0 1px #c8ef9270, 0 10px 38px #819f3d3d; }
#race-canvas, #rider-canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
#rider-canvas { position: absolute; inset: 0; }
.track-frame[data-status='ready'] #race-canvas { visibility: hidden; }
.track-frame[data-status='ready'] .hud { display: none; }

.course-label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #f4f1cd;
}
.course-label select {
  appearance: none;
  padding: 7px 27px 7px 10px;
  border: 1px solid #c2cc9966;
  border-radius: 5px;
  background: #283628f0;
  color: inherit;
  font: inherit;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .045em;
  cursor: pointer;
}
.course-label select:focus-visible { outline: 2px solid var(--orange-hot); outline-offset: 2px; }
.course-label::after { content: ''; position: absolute; top: 44%; right: 11px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-30%) rotate(45deg); pointer-events: none; }
.track-frame:not([data-status='ready']) .course-label { display: none; }

.selection-dock {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  padding: 18px 20px 16px;
  background: linear-gradient(0deg, #211621 0%, #211621d9 46%, #2116219c 68%, transparent 100%);
}

.selection-info h2 { font: 800 clamp(2rem, 4.2vw, 3.7rem)/.87 var(--display); text-transform: uppercase; text-shadow: 0 2px 2px #190f1a; }
.selection-info p { margin-top: 5px; color: #f5ddcf; font-size: .9rem; line-height: 1.1; }
.selection-dock .primary-button { width: auto; flex-shrink: 0; padding-inline: 14px; }
.selection-dock kbd { color: #321c20; background: #ffc99d; border-color: #b2674f80; font-size: .65rem; }

.hud { position: absolute; inset: 15px 15px auto; display: flex; align-items: start; justify-content: space-between; gap: 12px; z-index: 2; pointer-events: none; }
.hud-readouts { display: flex; gap: 7px; }
.hud-box {
  padding: 8px 11px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid #ffe3ca35;
  border-radius: 6px;
  background: #261c29ed;
  box-shadow: 0 2px 0 #261c293b;
}

.hud-box .hud-label { color: #f4c7b2; }
.hud-box strong { font: 750 1.025rem/1 var(--mono); white-space: nowrap; }
.hud-speed { min-width: 81px; }
.hud-speed small { font-size: .67rem; color: #f0d8cf; font-weight: 600; }
.hud-position { min-width: 66px; }
.hud-secondary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; width: clamp(106px, 21%, 205px); }
.progress-box { gap: 7px; }
.progress-caption { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.progress-caption strong { font-size: .75rem; }
.progress-track { height: 5px; overflow: hidden; border-radius: 2px; background: #694c59; }
.progress-track span { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, #f28b61 8px 10px); transform: scaleX(0); transform-origin: left; }

.hud-bonuses, .trick-tally { display: flex; align-items: center; justify-content: end; gap: 6px; }
.hud-bonuses { justify-self: end; white-space: nowrap; }
.trick-tally, .boost-status {
  padding: 4px 7px;
  border: 1px solid #f0cdb435;
  border-radius: 4px;
  background: #261c29ed;
  color: #ffddbd;
  font-size: .6875rem;
  line-height: 1;
}
.trick-tally strong { font: 750 .78rem/1 var(--mono); }
.boost-status { color: #d5ffa1; border-color: #b8ed7470; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.landing-notice {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: grid;
  gap: 3px;
  max-width: min(300px, 76%);
  padding: 8px 12px 9px;
  background: #251a29f2;
  border: 1px solid #f0ba9052;
  border-left: 3px solid #c9f48c;
  border-radius: 5px;
  box-shadow: 0 3px 0 #19121b80;
  text-transform: uppercase;
  animation: show-landing 150ms ease-out both;
  pointer-events: none;
}
.landing-perfect { color: #dbf7ae; font: 850 .69rem/1.1 system-ui, sans-serif; letter-spacing: .07em; }
.landing-award { display: grid; gap: 4px; }
.landing-notice strong { color: #ffe8cb; font: 800 1.6rem/.95 var(--display); }
.landing-points { color: #ffbd82; font: 750 .72rem/1.05 var(--mono); letter-spacing: .02em; }
@keyframes show-landing {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.start-signal {
  position: absolute;
  top: 41%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  min-width: 1.15em;
  min-height: 1em;
  padding: 4px .115em 9px;
  border: 1px solid #ffe3ca70;
  border-radius: 9px;
  background: #231923f5;
  color: var(--orange-hot);
  box-shadow: 0 5px 0 #2e17267d, 0 10px 24px #1e101c70;
  font: 800 clamp(2.9rem, 7vw, 6rem)/.88 var(--display);
}

.start-signal[data-go] { color: #d8f5a4; }
.start-signal strong { font: inherit; }

.race-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-items: safe center;
  overflow: auto;
  padding: 8px;
  background: linear-gradient(180deg, transparent 46%, #1a101a23 100%);
}

.race-menu {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 340px);
  padding: 17px 24px 15px;
  background: #231923f5;
  border: 1px solid #b4776e;
  border-radius: 10px;
  box-shadow: 0 5px 0 #2e172674, 0 12px 34px #1e101c75;
  text-align: center;
}

.menu-marker {
  width: 30px;
  height: 8px;
  background: repeating-conic-gradient(var(--orange) 0% 25%, transparent 0% 50%) 0 0 / 8px 8px;
}

.race-menu h2 { font: 800 clamp(1.9rem, 4vw, 3.05rem)/.94 var(--display); text-transform: uppercase; }
.menu-detail { font-size: .875rem; color: var(--muted); }
.finish-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #e5aa7252;
  border-radius: 5px;
  background: #442c37;
  color: #ffdfbc;
}
.finish-score dt { font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.finish-score dd { margin: 0; color: var(--orange-hot); font: 800 1.65rem/.92 var(--display); font-variant-numeric: tabular-nums; }
.primary-button {
  width: 100%;
  min-height: 45px;
  border-radius: 6px;
  border: 1px solid #ffd2ad;
  background: var(--orange);
  color: #2c1619;
  font-weight: 850;
  font-size: .85rem;
  letter-spacing: .065em;
  text-transform: uppercase;
  display: inline-flex;
  justify-content: center;
  gap: 9px;
  align-items: center;
  box-shadow: inset 0 -3px #b9593a48;
}

.primary-button:hover { background: var(--orange-hot); }
.primary-button:active { box-shadow: inset 0 2px #b9593a48; }
.play-icon { width: 0; height: 0; border-left: 8px solid currentColor; border-block: 5px solid transparent; }

@container race-frame (max-width: 500px) {
  .race-overlay { padding: 5px; }
  .race-menu { width: min(100%, 250px); gap: 5px; padding: 6px 9px; border-radius: 7px; }
  .race-menu h2 { font-size: clamp(1.2rem, 6cqw, 1.95rem); }
  .menu-marker { display: none; }
  .menu-detail { font-size: .72rem; }
  .finish-score { padding: 4px 7px; }
  .finish-score dt { font-size: .6rem; }
  .finish-score dd { font-size: 1.28rem; }
  .race-menu .primary-button { min-height: clamp(2rem, 9cqw, 2.75rem); font-size: .72rem; }
}

.crash-notice {
  position: absolute;
  top: 23%;
  left: 50%;
  transform: translateX(-50%);
  background: #2c1925;
  border: 1px solid #9d675d;
  color: var(--orange-hot);
  padding: 6px 12px;
  border-radius: 5px;
  font: 800 1.375rem/.9 var(--display);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  flex-wrap: wrap;
  margin-top: 12px;
  min-height: 56px;
  padding: 8px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.keyboard-guide, .race-actions, .key-hint, .key-pair, .utility-button { display: flex; align-items: center; }
.keyboard-guide { flex-wrap: wrap; gap: 8px 17px; }
.key-hint, .utility-button { gap: 6px; color: #ecdee0; font-size: .8125rem; white-space: nowrap; }
.key-pair { gap: 3px; }
.control-heading { color: var(--muted); font-weight: 800; font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  min-height: 24px;
  padding: 2px 5px;
  border: 1px solid #58494f;
  border-bottom-width: 2px;
  border-radius: 4px;
  color: var(--paper);
  background: #352b32;
  font: 650 .8rem/1 var(--mono);
}

.race-actions { gap: 5px; margin-left: auto; }
.utility-button { min-height: 35px; border: 1px solid transparent; border-radius: 5px; padding: 3px 6px; background: transparent; }
.utility-button:not(:disabled):hover { color: var(--orange-hot); border-color: #59434b; background: #2d242b; }
#sound-button[aria-pressed='true'] { color: var(--muted); }
.touch-controls { display: none; }

.crew-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px 13px 13px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.crew-heading { padding: 1px 3px 0; }
.crew-heading h2 { font: 800 2.05rem/.95 var(--display); text-transform: uppercase; letter-spacing: .025em; }
.crew-heading p { margin-top: 4px; color: var(--muted); font-size: .875rem; }
.rider-list { flex: 1; display: grid; grid-auto-rows: minmax(47px, 1fr); gap: 6px; min-inline-size: 0; border: 0; padding: 0; margin: 0; }
.rider-option {
  position: relative;
  display: grid;
  grid-template-columns: 59px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 8px;
  padding: 3px 9px 3px 4px;
  border: 1px solid #3b3137;
  background: #282227;
  border-radius: 7px;
  cursor: pointer;
}

.rider-option:hover { background: #362a31; border-color: #735359; }
.rider-option:has(:checked) { border-color: #f4a574; background: linear-gradient(105deg, #58352e, #3a2930 76%); }
.rider-swatch { height: 40px; display: grid; place-items: center; border-radius: 4px; background: linear-gradient(163deg, color-mix(in srgb, var(--rider-color) 28%, #282126), #211b21 83%); }
.rider-swatch canvas { display: block; width: 55px; height: 40px; image-rendering: pixelated; }
.rider-info { min-width: 0; display: grid; gap: 2px; }
.rider-name { font-size: .9375rem; font-weight: 800; line-height: 1.05; }
.rider-vehicle { color: #d3c1c6; font-size: .75rem; line-height: 1.1; }
.rider-indicator { display: grid; width: 12px; height: 12px; place-items: center; border: 1px solid #92767d; border-radius: 50%; }
.rider-option:has(:checked) .rider-indicator { border-color: var(--orange); }
.rider-option:has(:checked) .rider-indicator::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.standings-list {
  flex: 1;
  display: grid;
  grid-auto-rows: minmax(42px, 1fr);
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#standings-panel[data-compact] { align-self: start; }
#standings-panel[data-compact] .standings-list { grid-auto-rows: minmax(50px, auto); }

.standing-row {
  display: grid;
  grid-template-columns: 27px 7px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 6px;
  background: #282227;
  border: 1px solid #3b3137;
  border-radius: 7px;
}

.standing-row[data-player] { background: linear-gradient(105deg, #58352e, #3a2930 76%); border-color: var(--orange); }
.standing-place { display: grid; place-items: center; font: 800 1.45rem/.88 var(--display); color: var(--orange); }
.standing-color { width: 5px; height: 23px; border-radius: 3px; background: var(--rider-color); }
.standing-name { min-width: 0; font-size: .875rem; font-weight: 780; line-height: 1.05; }
.standing-you { display: block; margin-top: 3px; color: #ffd1ad; font-size: .65rem; font-weight: 700; }
.standing-time { color: #efdcd6; white-space: nowrap; font: 650 .72rem/1 var(--mono); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 1020px) {
  .shell { width: calc(100% - 42px); }
  .game-layout { grid-template-columns: minmax(0, 1fr) 235px; gap: 13px; }
  .crew-panel { padding: 12px 9px 9px; }
  .rider-option { gap: 6px; }
  .keyboard-guide { column-gap: 10px; }
  .control-heading { display: none; }
}

@media (max-width: 780px) {
  .shell { width: calc(100% - 34px); }
  .shell { padding-block: 22px 30px; }
  .track-heading { margin-bottom: 16px; }
  .game-layout { grid-template-columns: minmax(0, 1fr); }
  .rider-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crew-panel { padding: 13px 11px 11px; }
  .control-heading { display: inline; }
}

@media (pointer: coarse), (max-width: 580px) {
  .touch-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
  .track-frame[data-status='ready'] ~ .touch-controls { display: none; }
  .touch-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .touch-button { touch-action: none; user-select: none; min-height: 46px; min-width: 0; padding: 3px 4px; border: 1px solid #5c494f; border-radius: 6px; background: #352931; box-shadow: inset 0 -3px #17111670; font-size: .77rem; font-weight: 700; }
  .touch-button.is-held { border-color: var(--orange); background: #59404a; box-shadow: inset 0 2px #17111670; }
  .touch-button[aria-pressed='true'] { border-color: #b8ed74; color: #e1ffa8; background: #465038; }
  .touch-stunt { border-color: #8c7a5a; color: #ffdfb9; }
  .touch-throttle { border-color: #e9a274; color: #281416; background: var(--orange); }
  .touch-throttle.is-held { background: #ffd1a8; }
  .control-bar { margin-top: 6px; min-height: 44px; padding-block: 2px; }
  .selection-dock kbd { display: none; }
}

@media (pointer: coarse) {
  .keyboard-guide, .utility-button kbd { display: none; }
  .track-frame[data-status='ready'] ~ .control-bar { min-height: 0; margin-top: 4px; padding: 0; border: 0; background: transparent; }
  .track-frame[data-status='ready'] ~ .control-bar .race-actions { justify-content: end; }
  .track-frame[data-status='ready'] ~ .control-bar button:disabled { display: none; }
  .race-actions { width: 100%; justify-content: space-between; }
  .utility-button { min-height: 40px; padding-inline: 8px; }
}

@media (max-width: 580px), (orientation: landscape) and (max-height: 530px) and (pointer: coarse) {
  .course-label { top: 6px; left: 6px; }
  .course-label select { padding: 4px 18px 4px 6px; font-size: .71rem; }
  .course-label::after { width: 5px; height: 5px; right: 7px; }
  .hud { inset: 6px 6px auto; gap: 5px; }
  .hud-readouts { gap: 4px; }
  .hud-box { padding: 5px 6px; gap: 2px; border-radius: 4px; }
  .hud-box .hud-label { font-size: .5625rem; letter-spacing: .08em; }
  .hud-box strong { font-size: .73rem; }
  .hud-speed { min-width: 52px; }
  .hud-position { min-width: 37px; }
  .hud-speed small { font-size: .51rem; }
  .hud-secondary { width: 91px; gap: 3px; }
  .progress-box { gap: 5px; }
  .progress-caption { gap: 3px; }
  .progress-track { height: 3px; }
  .hud-bonuses, .trick-tally { gap: 3px; }
  .trick-tally, .boost-status { padding: 3px 4px; }
  .trick-tally .hud-label, .boost-status { font-size: .49rem; letter-spacing: .04em; }
  .trick-tally strong { font-size: .63rem; }
  .landing-notice { bottom: 6px; left: 6px; padding: 4px 6px; }
  .landing-perfect { font-size: .53rem; }
  .landing-notice strong { font-size: 1.1rem; }
  .landing-points { font-size: .55rem; }
  .start-signal { top: 48%; padding-bottom: 5px; font-size: clamp(2.15rem, 10vw, 3.15rem); }
}

@media (max-width: 580px) {
  .shell { width: calc(100% - 24px); }
  .track-heading { gap: 9px; }
  h1 { font-size: clamp(1.9rem, 8.5vw, 3.8rem); }
  .best-time { align-self: start; margin-top: 4px; }
  .best-time .hud-label { font-size: .5625rem; }
  .best-time strong { font-size: 1.02rem; }
  .track-frame { border-radius: 8px; }
  .selection-dock { padding: 9px 8px 7px; }
  .selection-info h2 { font-size: clamp(1.3rem, 5.8vw, 2.1rem); }
  .selection-info p { margin-top: 3px; font-size: clamp(.61rem, 2.55vw, .825rem); }
  .selection-dock .primary-button { padding-inline: 8px; }
  .primary-button { min-height: 35px; font-size: .6875rem; gap: 5px; }
  .control-heading { display: none; }
  .control-bar { column-gap: 3px; padding-inline: 4px; }
  .keyboard-guide { gap: 6px; }
  .keyboard-guide .key-hint { font-size: .71rem; }
  .utility-button { padding-inline: 4px; font-size: .72rem; }
  .crew-heading h2 { font-size: 1.75rem; }
  .rider-option { grid-template-columns: 43px minmax(0, 1fr) 10px; gap: 5px; padding: 3px 5px 3px 3px; }
  .rider-swatch { height: 36px; }
  .rider-swatch canvas { width: 43px; height: auto; }
  .rider-name { font-size: .85rem; }
  .rider-vehicle { font-size: .6875rem; }
  .rider-indicator { width: 10px; height: 10px; }
  .rider-option:has(:checked) .rider-indicator::after { width: 4px; height: 4px; }
  .touch-button { padding-inline: 1px; font-size: .695rem; }
}

@media (orientation: landscape) and (max-height: 530px) and (pointer: coarse) {
  .shell { width: calc(100% - 20px); padding-block: 8px; }
  .track-heading { margin-bottom: 9px; }
  h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
  .game-layout:has(.track-frame[data-status='ready']) { grid-template-columns: minmax(0, 1fr) minmax(184px, 30%); align-items: start; }
  .track-frame[data-status='ready'] { width: min(100%, calc((100svh - 98px) * 2)); margin-inline: auto; }
  #crew-panel { max-height: calc(100svh - 65px); overflow: hidden; }
  .rider-list { grid-template-columns: minmax(0, 1fr); min-height: 0; overflow: auto; }
  .shell:has(.track-frame:not([data-status='ready'], [data-status='finished'])) { display: grid; align-content: center; min-height: 100svh; }
  .shell:has(.track-frame:not([data-status='ready'])) .track-heading { display: none; }
  .game-layout:has(.track-frame:not([data-status='ready'])) { grid-template-columns: minmax(0, 1fr); }
  .play-column:has(.track-frame:not([data-status='ready'])) {
    display: grid;
    grid-template-columns: minmax(94px, 16%) minmax(0, 1fr) minmax(94px, 16%);
    gap: 7px 8px;
  }
  .track-frame:not([data-status='ready']) { grid-area: 1 / 2; width: min(100%, calc((100svh - 66px) * 2)); place-self: center; }
  .track-frame:not([data-status='ready']) ~ .touch-controls { display: contents; }
  .track-frame:not([data-status='ready']) ~ .touch-controls .touch-group:first-child { grid-area: 1 / 1; align-self: center; }
  .track-frame:not([data-status='ready']) ~ .touch-controls .touch-group:last-child { grid-area: 1 / 3; align-self: center; }
  .track-frame:not([data-status='ready']) ~ .control-bar { grid-area: 2 / 2; margin: 0; }
  .touch-group { gap: 3px; }
  .touch-button { min-height: 44px; padding-inline: 1px; font-size: .65rem; }
  .utility-button { padding-inline: 3px; font-size: .7rem; }
  .game-layout:has(.track-frame:not([data-status='ready'], [data-status='finished'])) #standings-panel { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-notice { animation: none; }
}
