:root {
  color-scheme: dark;
  --bg: #091020;
  --panel: rgba(15, 23, 43, .88);
  --panel-strong: #111a30;
  --line: rgba(255, 255, 255, .13);
  --line-bright: rgba(255, 203, 102, .42);
  --text: #f7f5ef;
  --muted: #9ca6bb;
  --gold: #ffcb66;
  --gold-strong: #f5ac35;
  --blue: #6ea8ff;
  --green: #5fe0a0;
  --danger: #ff7d88;
  --shadow: 0 30px 80px rgba(0, 0, 0, .34);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 0; background: var(--bg); }
body {
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 18% 5%, rgba(61, 104, 210, .19), transparent 34rem),
    #091020;
  background-size: 88px 88px, 88px 88px, auto, auto;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.ambient { position: fixed; z-index: -1; width: 28rem; height: 28rem; border-radius: 50%; filter: blur(100px); opacity: .13; pointer-events: none; }
.ambient-one { top: -12rem; right: -7rem; background: #ffd06f; }
.ambient-two { bottom: -13rem; left: -9rem; background: #376cf3; }

.battle-header {
  width: min(1180px, calc(100% - 40px));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 850; letter-spacing: .045em; }
.brand > span:last-child span { color: var(--gold); }
.brand-bars { height: 22px; display: flex; align-items: center; gap: 3px; }
.brand-bars i { width: 3px; border-radius: 5px; background: var(--gold); }
.brand-bars i:nth-child(1), .brand-bars i:nth-child(5) { height: 8px; }
.brand-bars i:nth-child(2), .brand-bars i:nth-child(4) { height: 16px; }
.brand-bars i:nth-child(3) { height: 22px; }
.lab-badge { padding: 7px 10px; border: 1px solid var(--line-bright); border-radius: 999px; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .13em; }

.battle-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 70px; }
.view { display: none; animation: view-in .3s ease both; }
.view.is-active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, p { overflow-wrap: anywhere; }

.entry-view { grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); align-items: center; gap: clamp(36px, 8vw, 110px); }
.entry-view.is-active { display: grid; }
.entry-copy h1 { max-width: 700px; margin: 0; font-size: clamp(3.3rem, 7vw, 6.8rem); line-height: .92; letter-spacing: -.065em; }
.entry-copy h1 em { color: var(--gold); font-family: Georgia, serif; font-weight: 500; }
.lead { max-width: 620px; margin: 30px 0 26px; color: #c0c7d5; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.7; }
.rules-row { display: flex; flex-wrap: wrap; gap: 10px; }
.rules-row span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .84rem; }
.rules-row strong { color: var(--text); }

.entry-card, .lobby-card, .audio-card, .guess-card, .reveal-card, .finish-card, .empty-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(20, 30, 54, .96), rgba(11, 17, 33, .94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.entry-card { padding: 28px; }
.field-label { display: block; margin-bottom: 9px; color: #c7cedb; font-size: .84rem; font-weight: 750; }
.name-input { width: 100%; height: 52px; padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; outline: none; background: rgba(5, 10, 22, .56); color: var(--text); font-size: 1rem; }
.name-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 203, 102, .12); }
.invite-entry { margin-top: 15px; padding: 14px 15px; border: 1px solid rgba(110,168,255,.34); border-radius: 14px; background: rgba(110,168,255,.075); }
.invite-entry span, .invite-entry strong, .invite-entry small { display: block; }
.invite-entry > span { color: var(--blue); font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.invite-entry strong { margin-top: 4px; font-size: 1.05rem; }
.invite-entry b { color: var(--gold); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.invite-entry small { margin-top: 3px; color: var(--muted); font-size: .76rem; }
.entry-actions { display: grid; gap: 10px; margin-top: 16px; }
.primary-button, .secondary-button, .join-button, .ready-button, .submit-answer, .secondary-link {
  width: 100%; min-height: 58px; border-radius: 16px; cursor: pointer; text-decoration: none;
}
.primary-button, .submit-answer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; border: 0; background: linear-gradient(135deg, var(--gold), var(--gold-strong)); color: #17100a; text-align: left; font-weight: 850; box-shadow: 0 12px 30px rgba(244, 172, 53, .18); }
.primary-button span, .secondary-button span { display: block; }
.primary-button small, .secondary-button small { display: block; opacity: .7; font-size: .74rem; font-weight: 650; }
.secondary-button { padding: 10px 16px; border: 1px solid var(--line); background: rgba(255,255,255,.035); text-align: left; font-weight: 780; }
.primary-button:hover, .secondary-button:hover, .ready-button:hover, .join-button:hover, .submit-answer:hover { transform: translateY(-1px); }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--muted); font-size: .73rem; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.code-display { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.code-display span { display: grid; min-width: 0; aspect-ratio: 1/.9; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(3, 8, 18, .6); color: var(--gold); font-size: clamp(1.4rem, 6vw, 1.8rem); font-weight: 850; font-variant-numeric: tabular-nums; }
.number-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 9px; }
.number-pad button { min-height: 38px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.035); cursor: pointer; font-weight: 750; }
.number-pad button:active { background: rgba(255, 203, 102, .16); border-color: var(--line-bright); }
.number-pad .pad-clear, .number-pad .pad-delete { color: var(--muted); }
.join-button { margin-top: 9px; border: 1px solid var(--line-bright); background: rgba(255, 203, 102, .08); color: var(--gold); font-weight: 820; }
.invite-join-button { margin-top: 14px; min-height: 54px; background: linear-gradient(135deg, var(--gold), var(--gold-strong)); color: #17100a; }
.join-button:disabled, button:disabled { cursor: not-allowed; opacity: .42; transform: none; }
.entry-note { margin: 16px 0 0; color: #78839a; font-size: .72rem; text-align: center; }

.lobby-view, .finished-view, .expired-view { max-width: 760px; margin: 3vh auto 0; }
.lobby-card, .finish-card, .empty-card { padding: clamp(22px, 5vw, 44px); }
.lobby-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.lobby-heading h1, .finish-card h1, .empty-card h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -.045em; }
.quiet-button { padding: 8px 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.room-code-block { margin: 28px 0 20px; padding: 18px; border: 1px solid var(--line-bright); border-radius: 18px; background: rgba(255, 203, 102, .055); text-align: center; }
.room-code-block > span { display: block; color: var(--muted); font-size: .74rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.room-code-block button { border: 0; background: transparent; cursor: pointer; }
.room-code-block strong { display: block; margin-top: 4px; color: var(--gold); font-size: clamp(2.3rem, 10vw, 4.2rem); letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.room-code-block small { color: var(--muted); }
.invite-share { margin-top: 17px; padding-top: 16px; border-top: 1px solid rgba(255,203,102,.18); }
.room-code-block .share-primary { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 14px; border: 1px solid rgba(110,168,255,.4); border-radius: 13px; color: #dce8ff; background: rgba(110,168,255,.11); font-weight: 820; }
.room-code-block .share-primary:hover { border-color: var(--blue); background: rgba(110,168,255,.17); }
.share-primary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.share-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 10px; }
.share-links a, .room-code-block .share-links button { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.025); font-size: .7rem; font-weight: 750; text-decoration: none; }
.share-links a:hover, .room-code-block .share-links button:hover { border-color: rgba(255,255,255,.28); color: var(--text); }
.search-clock { padding: 14px 0 5px; }
.search-clock > div:first-child { display: flex; justify-content: space-between; color: var(--muted); font-size: .88rem; }
.search-clock strong { color: var(--text); }
.thin-progress, .audio-progress { height: 5px; margin-top: 8px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
.thin-progress i, .audio-progress i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--gold)); transition: width .25s linear; }
.players-heading { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 10px; }
.players-heading h2 { margin: 0; font-size: 1rem; }
.players-heading span { color: var(--muted); font-size: .83rem; }
.player-list { display: grid; gap: 8px; }
.player-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.avatar { display: grid; flex: 0 0 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(110, 168, 255, .15); color: var(--blue); font-weight: 850; }
.player-row strong { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.player-state { color: var(--muted); font-size: .78rem; }
.player-state.is-ready { color: var(--green); }
.ready-button { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px 15px; border: 1px solid var(--line-bright); background: rgba(255,203,102,.07); text-align: left; }
.ready-button.is-ready { border-color: rgba(95, 224, 160, .48); background: rgba(95, 224, 160, .08); }
.ready-icon { display: grid; flex: 0 0 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.ready-button strong, .ready-button small { display: block; }
.ready-button small { margin-top: 2px; color: var(--muted); font-size: .75rem; }
.lobby-status { min-height: 24px; margin: 15px 0 0; color: var(--muted); text-align: center; font-size: .86rem; }

.game-view { max-width: 1040px; margin: 0 auto; }
.game-bar { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; margin-bottom: 18px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(13, 21, 39, .7); }
.game-bar > div { display: flex; flex-direction: column; }
.game-bar > div:nth-child(2) { align-items: center; }
.game-bar > div:last-child { align-items: flex-end; }
.game-bar span { color: var(--muted); font-size: .7rem; }
.game-bar strong { margin-top: 2px; font-size: 1rem; }
.round-clock { position: relative; z-index: 2; width: 106px; height: 106px; margin: 0 auto -34px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line-bright); border-radius: 50%; background: #10182b; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.round-clock > span { color: var(--muted); font-size: .64rem; }
.round-clock > strong { color: var(--gold); font-size: 2.35rem; line-height: 1; font-variant-numeric: tabular-nums; }
.round-clock > small { color: var(--muted); font-size: .62rem; }
.game-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 14px; }
.audio-card, .guess-card { min-width: 0; padding: clamp(22px, 3vw, 34px); padding-top: 52px; }
.mystery-track { min-height: 108px; display: flex; align-items: center; gap: 16px; }
.mystery-mark { display: grid; flex: 0 0 70px; height: 70px; place-items: center; border: 1px solid var(--line-bright); border-radius: 21px; color: var(--gold); font: italic 2.8rem Georgia, serif; }
.mystery-track h1 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.05; }
.mystery-track p { margin: 7px 0 0; color: var(--muted); }
.audio-control { display: flex; align-items: center; gap: 14px; margin: 24px 0 14px; }
.play-button { position: relative; display: grid; flex: 0 0 58px; height: 58px; place-items: center; border: 0; border-radius: 50%; background: var(--gold); color: #17100a; cursor: pointer; box-shadow: 0 10px 28px rgba(245, 172, 53, .24); }
.play-button svg { width: 26px; height: 26px; fill: currentColor; }
.pause-symbol { display: none; }
.play-button.is-playing .play-symbol { display: none; }
.play-button.is-playing .pause-symbol { display: block; }
.audio-progress-wrap { min-width: 0; flex: 1; }
.audio-progress-wrap > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .76rem; }
.audio-progress-wrap strong { color: var(--text); }
.hint-button { width: 100%; min-height: 57px; padding: 10px 14px; border: 1px dashed rgba(255,255,255,.23); border-radius: 15px; background: transparent; cursor: pointer; text-align: left; }
.hint-button span, .hint-button small { display: block; }
.hint-button span { color: #d8deea; font-weight: 760; }
.hint-button small { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.hint-button.is-used { border-style: solid; border-color: rgba(110,168,255,.4); background: rgba(110,168,255,.07); }
.guess-heading { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.guess-heading h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.1; }
.guess-heading output { flex: 0 0 auto; color: var(--gold); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 250; font-variant-numeric: tabular-nums; }
.timeline { margin: 23px 2px 17px; }
.timeline-labels { display: flex; justify-content: space-between; color: #707b90; font-size: .62rem; }
.timeline input { width: 100%; height: 34px; margin: 5px 0 0; accent-color: var(--gold); cursor: pointer; }
.year-stepper { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 8px; margin-bottom: 13px; }
.year-stepper button { height: 38px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.04); cursor: pointer; font-size: 1.25rem; }
.year-stepper span { color: var(--muted); text-align: center; font-size: .76rem; }
.submit-answer strong { font-size: 1.2rem; }
.answer-sent { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid rgba(95,224,160,.35); border-radius: 16px; background: rgba(95,224,160,.07); }
.answer-sent > span { color: var(--green); font-size: 1.35rem; }
.answer-sent strong, .answer-sent small { display: block; }
.answer-sent small { color: var(--muted); font-size: .72rem; }
.score-strip { margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.score-strip > div { min-width: max-content; display: flex; justify-content: center; gap: 8px; }
.score-pill { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(13,21,39,.82); }
.score-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.score-pill i.online { background: var(--green); }
.score-pill span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; }
.score-pill strong { color: var(--gold); font-size: .78rem; }
.score-pill.is-answered { border-color: rgba(95,224,160,.32); }

.reveal-view { max-width: 830px; margin: 2vh auto 0; }
.reveal-card { padding: clamp(22px, 5vw, 48px); text-align: center; }
.reveal-topline { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 32px; color: var(--muted); font-size: .76rem; }
.reveal-card h1 { max-width: 720px; margin: 0 auto; font-size: clamp(2.2rem, 7vw, 5rem); line-height: .98; letter-spacing: -.05em; }
.reveal-artist { margin: 12px 0 22px; color: #c1c9d8; font-size: clamp(1rem, 2.5vw, 1.35rem); }
.correct-year { display: inline-flex; align-items: baseline; gap: 12px; padding: 10px 18px; border: 1px solid var(--line-bright); border-radius: 999px; background: rgba(255,203,102,.07); }
.correct-year span { color: var(--muted); font-size: .76rem; }
.correct-year strong { color: var(--gold); font-size: 1.6rem; }
.reveal-results { display: grid; gap: 8px; margin-top: 28px; text-align: left; }
.result-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 15px; min-width: 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.result-row > div { min-width: 0; }
.result-row strong, .result-row small { display: block; overflow-wrap: anywhere; }
.result-row small { margin-top: 3px; color: var(--muted); font-size: .73rem; }
.result-year { color: #c8d0df; font-variant-numeric: tabular-nums; }
.result-points { min-width: 48px; color: var(--gold); text-align: right; font-weight: 850; }

.finish-card { text-align: center; }
.podium { display: grid; gap: 9px; margin: 30px 0; text-align: left; }
.podium-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.podium-row:first-child { border-color: var(--line-bright); background: rgba(255,203,102,.065); }
.podium-rank { color: var(--muted); font-variant-numeric: tabular-nums; }
.podium-row:first-child .podium-rank { color: var(--gold); }
.podium-row strong { overflow-wrap: anywhere; }
.podium-score { color: var(--gold); font-weight: 850; }
.finish-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.secondary-link { display: grid; place-items: center; border: 1px solid var(--line); color: var(--text); }
.empty-card { text-align: center; }
.empty-card > p:not(.eyebrow) { max-width: 540px; margin: 18px auto 28px; color: var(--muted); line-height: 1.65; }
.empty-icon { display: inline-grid; width: 70px; height: 70px; margin-bottom: 20px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 2rem; }

.hint-dialog { width: min(440px, calc(100% - 30px)); padding: 0; border: 1px solid var(--line); border-radius: 23px; background: #111a2e; color: var(--text); box-shadow: var(--shadow); }
.hint-dialog::backdrop { background: rgba(3,7,15,.78); backdrop-filter: blur(5px); }
.hint-dialog form { padding: 28px; text-align: center; }
.dialog-icon { display: inline-grid; width: 52px; height: 52px; place-items: center; border: 1px solid var(--line-bright); border-radius: 50%; color: var(--gold); font: italic 1.7rem Georgia, serif; }
.hint-dialog h2 { margin: 17px 0 10px; }
.hint-dialog p { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }
.hint-dialog form > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hint-dialog button { min-height: 46px; border-radius: 12px; cursor: pointer; }
.dialog-cancel { border: 1px solid var(--line); background: transparent; }
.dialog-confirm { border: 0; background: var(--gold); color: #17100a; font-weight: 800; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); max-width: calc(100% - 30px); padding: 11px 15px; border: 1px solid var(--line); border-radius: 999px; background: #17213a; box-shadow: 0 14px 40px rgba(0,0,0,.35); color: var(--text); font-size: .82rem; opacity: 0; transform: translate(-50%, 15px); pointer-events: none; transition: .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .battle-header { width: min(100% - 28px, 680px); height: 68px; }
  .battle-shell { width: min(100% - 28px, 680px); padding-top: 12px; }
  .entry-view.is-active { display: block; }
  .entry-copy { margin-bottom: 30px; }
  .entry-copy h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .lead { margin-top: 22px; }
  .entry-card { max-width: 500px; }
  .game-grid { grid-template-columns: 1fr; }
  .round-clock { margin-bottom: -35px; }
  .audio-card { padding-bottom: 24px; }
  .guess-card { padding-top: 26px; }
  .mystery-track, .guess-heading { min-height: 88px; }
}

@media (max-width: 420px) {
  .battle-header { width: calc(100% - 22px); }
  .brand { gap: 8px; font-size: .88rem; }
  .lab-badge { font-size: .6rem; }
  .battle-shell { width: calc(100% - 20px); padding-bottom: 30px; }
  .entry-copy h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .entry-card, .lobby-card, .audio-card, .guess-card, .reveal-card, .finish-card, .empty-card { border-radius: 21px; }
  .entry-card { padding: 18px; }
  .number-pad button { min-height: 42px; }
  .room-code-block strong { letter-spacing: .12em; }
  .game-bar { padding: 10px 12px; }
  .game-bar span { font-size: .62rem; }
  .round-clock { width: 92px; height: 92px; }
  .round-clock > strong { font-size: 2rem; }
  .audio-card, .guess-card { padding-left: 18px; padding-right: 18px; }
  .mystery-mark { flex-basis: 58px; height: 58px; border-radius: 17px; font-size: 2.2rem; }
  .mystery-track { gap: 12px; }
  .guess-heading output { font-size: 2.5rem; }
  .timeline-labels span:nth-child(2), .timeline-labels span:nth-child(4) { display: none; }
  .result-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .result-year { grid-column: 1; color: var(--muted); font-size: .76rem; }
  .result-points { grid-column: 2; grid-row: 1 / span 2; }
  .finish-actions { grid-template-columns: 1fr; }
  .reveal-topline { font-size: .68rem; }
}

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