/* Open Layer Live. Paper is what happened, night is what has not happened yet, yellow is our call. */
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('/assets/fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('/assets/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('/assets/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-display: swap; src: url('/assets/fonts/dm-sans-latin-600-normal.woff2') format('woff2'); }

:root {
  --cream: #F4F1ED; --paper: #FFFDF9; --navy: #2A2D64; --yellow: #FFD100; --purple: #6001C0;
  --ink: #23265A; --ink-2: #53568A; --ink-3: #666892;
  --night: #2A2D64; --night-2: #1D1F4E; --night-3: #171941; --night-ink: #F4F1ED; --night-ink-2: #CBCCE4; --night-ink-3: #A9ABD0;
  --rule: rgba(42, 45, 100, 0.13); --rule-2: rgba(42, 45, 100, 0.26); --night-rule: rgba(244, 241, 237, 0.16);
  --lift: 0 1px 2px rgba(42, 45, 100, 0.05), 0 22px 48px -24px rgba(42, 45, 100, 0.4);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1); --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --display: 'Poppins', system-ui, 'Segoe UI', sans-serif; --text: 'DM Sans', system-ui, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 3vw, 56px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.5 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
b { font-weight: 600; }
i { font-style: normal; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 10px; transition: top 0.2s var(--ease-out); }
.skip:focus { top: 12px; }
.wrap { max-width: 1920px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- icons ---------- */
.ic { width: 13px; height: 13px; flex: none; overflow: visible; }
.ic-line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; }
.ic-high { fill: var(--yellow); stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: round; }
.ic-elevated { fill: var(--paper); stroke: var(--navy); stroke-width: 1.6; stroke-linejoin: round; }
.ic-low { fill: var(--navy); fill-opacity: 0.5; }
.ic-lock { width: 12px; height: 12px; }
.lk-bow { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.lk-body { fill: currentColor; }
.lk-open { fill: none; stroke: currentColor; stroke-width: 1.6; }
.ic-m { width: 17px; height: 17px; }
.ic-m .m-body { stroke: var(--navy); stroke-width: 1.7; stroke-linejoin: round; }
.ic-m .m-sign { fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic-m-right .m-body { fill: var(--yellow); } .ic-m-right .m-sign { stroke: var(--navy); }
.ic-m-false .m-body { fill: var(--paper); } .ic-m-false .m-sign { stroke: var(--navy); }
.ic-m-missed .m-body { fill: var(--navy); } .ic-m-missed .m-sign { stroke: var(--paper); }
.ic-m-nocall .m-body { fill: #FFEEA0; stroke-width: 1.3; stroke-opacity: 0.85; }

/* ---------- small parts used everywhere ---------- */
.eyebrow { display: flex; align-items: center; gap: 9px; font: 600 11.5px/1.3 var(--text); letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.dash { width: 22px; height: 3px; border-radius: 2px; background: var(--yellow); flex: none; }
.swatch { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.swatch-paper { background: var(--paper); border: 1.5px solid var(--navy); }
.swatch-night { background: var(--navy); }
.swipe { background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 72% / 100% 74%; padding: 0 0.13em; margin: 0 -0.13em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.n { font-weight: 600; font-variant-numeric: tabular-nums; }
.ghost { display: block; height: 0.62em; margin: 0.22em 0; border-radius: 0.14em; background: linear-gradient(90deg, rgba(42,45,100,0.07) 25%, rgba(42,45,100,0.15) 50%, rgba(42,45,100,0.07) 75%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.ghost-a { width: 82%; } .ghost-b { width: 46%; } .ghost-c { width: 70%; height: 0.74em; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* a verdict is a rubber stamp: a word in a frame, set down at a slight angle */
.stamp { --st: var(--navy); display: inline-flex; align-items: center; gap: 6px; height: 25px; padding: 0 9px 0 7px; border: 1.5px solid var(--st); border-radius: 5px; outline: 1.5px solid var(--st); outline-offset: 2px; font: 600 11px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); white-space: nowrap; rotate: -2.5deg; margin: 3px 4px; }
.stamp .ic { width: 11px; height: 11px; stroke-width: 2.4; }
.stamp-right { background: var(--yellow); }
.stamp-missed { background: var(--navy); color: var(--paper); }
.stamp-false { border-style: dashed; outline-style: dashed; rotate: 1.5deg; }
.stamp-soft, .stamp-soft.stamp-missed { background: none; color: var(--navy); }
.stamp-ok { border-color: transparent; outline-color: transparent; color: var(--ink-2); rotate: none; padding-left: 0; }
.stamp-none { border-style: dotted; outline: 0; color: var(--ink-3); border-color: var(--rule-2); rotate: none; font-family: var(--text); letter-spacing: 0.06em; padding-left: 9px; }
.quiet-ok { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px/1 var(--text); color: var(--ink-3); white-space: nowrap; }
.quiet-ok .ic { width: 11px; height: 11px; }
@keyframes thud { 0% { opacity: 0; scale: 2.3; rotate: -16deg; } 55% { opacity: 1; scale: 0.92; } 75% { scale: 1.04; } 100% { scale: 1; } }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 7px; border-radius: 999px; font: 600 12px/1 var(--text); white-space: nowrap; border: 1.5px solid transparent; color: var(--navy); flex: none; }
.chip .ic { width: 10px; height: 10px; }
.chip-right, .chip-band-high { background: var(--yellow); }
.chip-band-high .ic-high, .chip-right .ic-high { fill: var(--navy); stroke: none; }
.chip-missed { background: var(--navy); color: var(--cream); }
.chip-false { border-color: rgba(42, 45, 100, 0.5); border-style: dashed; }
.chip-ok { color: var(--ink-2); background: rgba(42, 45, 100, 0.06); }
.chip-band-elevated { border-color: rgba(42, 45, 100, 0.5); }
.chip-band-low { color: var(--ink-2); background: rgba(42, 45, 100, 0.06); }

.btn { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 18px 0 14px; border-radius: 999px; border: 1.5px solid var(--navy); background: transparent; font: 600 14px/1 var(--text); cursor: pointer; white-space: nowrap; transition: background-color 0.16s linear, color 0.16s linear, translate 0.16s var(--ease-out), box-shadow 0.16s linear; }
.btn-solid { background: var(--navy); color: var(--cream); }
.btn-quiet { border-color: var(--rule-2); color: var(--ink-2); }
.btn-quiet:hover { border-color: var(--navy); color: var(--navy); }
.btn:hover { translate: 0 -1px; box-shadow: 0 8px 18px -10px rgba(42, 45, 100, 0.7); }
.btn:active { translate: 0 0; box-shadow: none; }
.btn .ic { width: 14px; height: 14px; }
body[data-mode="rewind"] .btn-solid { background: var(--purple); border-color: var(--purple); color: #fff; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 20px; height: 58px; padding: 0 var(--gutter); background: rgba(244, 241, 237, 0.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: baseline; gap: 10px; flex: none; }
.wordmark { font: 600 20px/1.2 var(--display); letter-spacing: -0.01em; color: var(--navy); border-bottom: 3px solid var(--yellow); padding-bottom: 1px; }
.product { font: 600 11px/1 var(--text); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.bar-where { font-size: 14px; color: var(--ink-2); padding-left: 20px; border-left: 1px solid var(--rule-2); line-height: 1.2; white-space: nowrap; flex: none; }
.feed-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px 0 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule-2); font-weight: 600; font-size: 13px; white-space: nowrap; flex: none; }
.feed-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.feed-pill[data-mode="replay"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.feed-pill[data-mode="replay"] .feed-dot { background: var(--yellow); border-radius: 2px; transform: rotate(45deg); }
.feed-pill[data-mode="live"] .feed-dot { background: var(--yellow); box-shadow: 0 0 0 2px var(--navy); animation: beat 2s var(--ease-io) infinite; }
.feed-pill[data-mode="down"] { background: var(--navy); color: var(--cream); }
.feed-pill[data-mode="down"] .feed-dot { background: none; border: 2px solid var(--cream); }
.feed-pill[data-mode="wait"] .feed-dot { animation: blink 1.1s steps(2) infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); } }
@keyframes blink { 50% { opacity: 0.25; } }
.wire { display: flex; align-items: baseline; gap: 10px; min-width: 0; flex: 0 1 auto; height: 30px; padding: 0 2px; border: 0; background: none; cursor: pointer; text-align: left; font-size: 13.5px; line-height: 30px; overflow: hidden; }
.wire-label { display: inline-flex; align-items: center; gap: 7px; font: 600 10.5px/30px var(--text); letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); flex: none; }
.wire-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--navy); animation: beat 2s var(--ease-io) infinite; }
.wire-text { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.wire-text time { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.wire-text span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wire-text span b { color: var(--ink); }
.wire:hover .wire-text span { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.wire.fresh .wire-text { animation: wire-in 0.7s var(--ease-out); }
@keyframes wire-in { from { opacity: 0; transform: translateY(12px); } }
.clock { display: flex; align-items: baseline; gap: 8px; flex: none; padding-left: 20px; border-left: 1px solid var(--rule-2); }
.clock-time { font: 600 20px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.clock-label { font: 600 10.5px/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
body[data-mode="intro"] .clock-time { color: var(--ink-2); }

/* ---------- the claim ---------- */
.hero { padding: clamp(14px, 2.3vh, 30px) 0 clamp(10px, 1.7vh, 20px); }
.kicker { display: flex; align-items: center; gap: 11px; font: 600 11.5px/1.3 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.headline { font: 600 clamp(33px, 8.8vw, 46px)/1.03 var(--display); letter-spacing: -0.037em; color: var(--navy); margin-top: clamp(6px, 1vh, 12px); font-variant-numeric: tabular-nums; }
.h-line { display: block; }
.headline.fit .h-line { width: max-content; white-space: nowrap; }
.h-proof { margin-top: 0.03em; }
.headline .swipe { background-size: 0% 74%; transition: background-size 0.95s var(--ease-out) 0.08s; }
.headline.drawn .swipe { background-size: 100% 74%; }
body[data-mode="boot"] .headline .swipe { transition: none; }

.chapters { position: relative; display: grid; grid-template-columns: max(var(--split, 50%), 42%) minmax(0, 1fr); }
.splitting .chapters { transition: grid-template-columns 0.72s var(--ease-io); }   /* the columns follow the line only when the look-ahead changes */
.chapter { padding: 0 32px 14px 0; min-width: 0; }
.chapter-next { padding-left: 22px; border-left: 2.5px solid var(--yellow); margin: 0 0 12px -1px; padding-bottom: 6px; }
.elbow { position: absolute; bottom: 0; left: calc(var(--split, 50%) - 1px); width: calc(42% - var(--split, 50%) + 2.5px); min-width: 2.5px; height: 12px; border-left: 2.5px solid var(--yellow); border-top: 2.5px solid var(--yellow); border-top-left-radius: 9px; }
.splitting .elbow { transition: left 0.72s var(--ease-io), width 0.72s var(--ease-io); }
.chapter-line { font: 500 clamp(18px, 1.45vw, 25px)/1.26 var(--display); letter-spacing: -0.016em; color: var(--navy); margin-top: 8px; text-wrap: balance; }
.chapter-sub { font-size: clamp(13.5px, 0.95vw, 15px); line-height: 1.45; color: var(--ink-2); margin-top: 6px; text-wrap: pretty; }
.chapter .n { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 94%, transparent 94%); padding: 0 0.1em; margin: 0 -0.03em; }
body[data-mode="rewind"] .chapter .eyebrow, body[data-mode="rewind"] .kicker { color: var(--purple); }

/* ---------- the time canvas ---------- */
.field { position: relative; isolation: isolate; }
.field-stage { position: relative; height: 480px; width: 100%; border-radius: 22px; overflow: hidden; background: var(--night); box-shadow: var(--lift); touch-action: pan-y; }
.field-stage:focus-visible { outline: none; }
.field-stage:focus-visible::after { content: ''; position: absolute; inset: 4px; z-index: 5; border-radius: 18px; border: 2.5px solid var(--purple); box-shadow: 0 0 0 1.5px var(--paper); pointer-events: none; }
.field-stage.has-hot { cursor: pointer; }
#canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.axis-y, .axis-x, .notes { position: absolute; inset: 0; pointer-events: none; }
.y-tick { position: absolute; left: 22px; transform: translateY(-50%); font: 500 11.5px/1 var(--text); color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; background: var(--paper); padding: 2px 4px 2px 0; }
.y-zero, .y-line { color: var(--ink); font-weight: 600; }
.y-zone { position: absolute; left: 5px; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); font: 600 9.5px/1 var(--text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.narrow .y-tick { left: 6px; font-size: 10.5px; }
.x-tick { position: absolute; bottom: 9px; transform: translateX(-50%); font: 500 11.5px/1.1 var(--text); color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: center; transition: color 0.2s linear, opacity 0.2s linear; }
.x-tick.on-night { color: var(--night-ink-3); }
.x-tick.behind { opacity: 0; }
.x-midnight { font-weight: 600; color: var(--ink); }
.x-midnight.on-night { color: var(--night-ink); }
.narrow .x-tick { font-size: 10.5px; bottom: 7px; }

.note { position: absolute; white-space: nowrap; font: 400 12.5px/1.3 var(--text); animation: note-in 0.55s var(--ease-out) both; }
.note.ruler { visibility: hidden; animation: none; left: 0; top: 0; }
@keyframes note-in { from { opacity: 0; transform: translateY(6px); } }
.read { display: flex; align-items: center; gap: 7px; height: 18px; font-size: 12.5px; }
.read b { font-weight: 600; margin-right: 6px; }
.read .ic { width: 11px; height: 11px; margin-left: 4px; }
.read.on-paper { color: var(--ink-2); } .read.on-paper b { color: var(--ink); }
.read.on-night { color: var(--night-ink-2); }
.read.on-night .ic-high { stroke: none; }
.read .ic-glow, .read .ic-trail, .read .ic-hollow { display: inline-grid; place-items: center; }
.read .ic-hollow { margin-left: 10px; }
.read.on-night .ic-hollow .ic-high { fill: var(--night); stroke: var(--yellow); stroke-width: 1.8; }
.read .ic-glow .ic { filter: drop-shadow(0 0 4px rgba(255, 209, 0, 0.95)); }
.read .ic-trail { position: relative; margin-left: 10px; padding-right: 15px; }
.read .ic-trail::after { content: ''; position: absolute; right: 0; top: 50%; width: 13px; height: 1.6px; margin-top: -0.8px; border-radius: 1px; background: linear-gradient(90deg, rgba(255, 209, 0, 0.9), rgba(255, 209, 0, 0)); }
.read-far { color: var(--night-ink-3); font: 600 10.5px/18px var(--text); letter-spacing: 0.14em; text-transform: uppercase; }
.note-busy { color: var(--night-ink-2); font-size: 12px; }
.note-busy b { color: var(--night-ink); font-weight: 600; }
.next-chip { display: flex; align-items: center; gap: 8px; height: 22px; padding: 0 10px 0 9px; border: 0; border-radius: 0 999px 999px 0; background: rgba(244, 241, 237, 0.12); color: var(--night-ink); font: 400 12px/22px var(--text); cursor: pointer; pointer-events: auto; transition: background-color 0.16s linear, opacity 0.3s linear; }
.next-chip:hover { background: rgba(244, 241, 237, 0.22); }
.next-chip span:first-child { font: 600 9.5px/22px var(--text); letter-spacing: 0.15em; text-transform: uppercase; color: var(--yellow); }
.next-chip b { font-weight: 600; }
.next-chip span:last-child { color: var(--night-ink-2); }
.note-busy { transition: opacity 0.3s linear; }
.field-stage[data-coach="on"] .next-chip, .field-stage[data-coach="on"] .note-busy { opacity: 0; }
.landed { display: grid; justify-items: start; gap: 1px; padding: 9px 13px 10px 10px; border: 0; border-radius: 12px 12px 3px 12px; background: var(--navy); color: var(--night-ink); box-shadow: 0 14px 30px -12px rgba(20, 21, 60, 0.75); z-index: 5; text-align: left; cursor: pointer; pointer-events: auto; animation: flash-in 0.5s var(--ease-out) both; }
.landed .stamp { --st: var(--yellow); margin: 2px 4px 7px; animation: thud 0.6s var(--ease-out) 0.25s both; }
.landed .stamp-missed { background: var(--paper); color: var(--navy); --st: var(--paper); }
.landed .stamp-false, .landed .stamp-ok, .landed .stamp-none { color: var(--night-ink); --st: var(--night-ink-3); border-color: var(--night-ink-3); }
.landed .stamp-soft, .landed .stamp-soft.stamp-missed { background: none; color: var(--night-ink); --st: var(--night-ink-2); }
.landed > i { font: 600 9.5px/1.2 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); margin: 0 0 4px 2px; }
.landed b { font: 600 14px/1.25 var(--text); }
.landed > span:last-child { font-size: 12.5px; color: var(--night-ink-2); }
@keyframes flash-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } }

/* the spotlight card: it takes the colour of the other side, so the eye finds it at once */
.spot { position: absolute; z-index: 4; width: 292px; padding: 10px 14px 14px; border-radius: 14px 14px 14px 3px; white-space: normal; pointer-events: auto; cursor: pointer; overflow: hidden; animation: spot-in 0.5s var(--ease-out) both; transition: opacity 0.2s linear; }
.spot.flip { border-radius: 14px 14px 3px 14px; }
.spot.below { border-radius: 3px 14px 14px 14px; }
.spot.below.flip { border-radius: 14px 3px 14px 14px; }
.spot.on-paper { background: var(--navy); color: var(--night-ink); box-shadow: 0 20px 44px -18px rgba(20, 21, 60, 0.75); --sp-2: var(--night-ink-2); --sp-3: var(--night-ink-3); --sp-rule: var(--night-rule); --sp-key: var(--yellow); }
.spot.on-night { background: var(--paper); color: var(--ink); box-shadow: 0 22px 48px -16px rgba(6, 7, 30, 0.85); --sp-2: var(--ink-2); --sp-3: var(--ink-3); --sp-rule: var(--rule); --sp-key: var(--navy); }
.spot.leaving { animation: spot-out 0.24s ease-in both; pointer-events: none; }
.has-hot .spot, .dragging .spot { opacity: 0; pointer-events: none; }
@keyframes spot-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
@keyframes spot-out { to { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.spot-head { display: flex; align-items: center; gap: 8px; }
.spot-kicker { font: 600 10px/1 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sp-key); }
.spot.on-night .spot-kicker::before { content: ''; display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 8px; vertical-align: 0.28em; background: var(--yellow); }
.spot-count { margin-left: auto; font: 500 11.5px/1 var(--text); color: var(--sp-3); font-variant-numeric: tabular-nums; }
.spot-nav { display: inline-flex; gap: 2px; margin-right: -6px; }
.spot-step { width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--sp-2); cursor: pointer; transition: background-color 0.14s linear, color 0.14s linear; }
.spot-step:hover { background: var(--sp-rule); color: inherit; }
.spot-step .ic { width: 12px; height: 12px; }
.spot-flight { display: flex; align-items: baseline; gap: 8px; margin-top: 3px; font-size: 15px; color: var(--sp-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot-flight b { font: 600 19px/1.15 var(--display); letter-spacing: -0.015em; color: inherit; }
.spot.on-paper .spot-flight b { color: var(--night-ink); } .spot.on-night .spot-flight b { color: var(--navy); }
.spot-pair { margin-top: 7px; border-top: 1px solid var(--sp-rule); }
.spot-pair div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 6px 0 6px; border-bottom: 1px solid var(--sp-rule); }
.spot-pair dt { font: 600 10px/1.3 var(--text); letter-spacing: 0.13em; text-transform: uppercase; color: var(--sp-3); }
.spot-pair dd b { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font: 600 15.5px/1.2 var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.spot-pair dd em { font: 600 10.5px/1.2 var(--text); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sp-2); }
.spot-pair dd span { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12px; line-height: 1.3; color: var(--sp-2); white-space: nowrap; }
.spot-pair .ic-lock { width: 11px; height: 11px; margin-right: -1px; }
.spot-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; min-height: 27px; }
.spot.on-paper .stamp { --st: var(--yellow); }
.spot.on-paper .stamp-missed { background: var(--paper); color: var(--navy); --st: var(--paper); }
.spot.on-paper .stamp-false { color: var(--night-ink); --st: var(--night-ink-2); }
.spot .stamp { animation: thud 0.55s var(--ease-out) 0.3s both; }
.spot-due { font: 600 12.5px/1.2 var(--text); }
.spot-open { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 0; border: 0; background: none; font: 600 12.5px/1 var(--text); color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.spot-open .ic { width: 11px; height: 11px; }
.spot-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--yellow); transform-origin: 0 50%; animation: spot-bar 7s linear both; }
.tour-held .spot-bar { animation-play-state: paused; opacity: 0.45; }
@keyframes spot-bar { from { transform: scaleX(0); } }
.field-cap { display: none; font-size: 13px; line-height: 1.45; color: var(--ink-2); padding: 10px 2px 0; text-wrap: pretty; }
.spot-dock { position: relative; margin-top: 12px; min-height: 214px; padding: 12px 14px 16px; border-radius: 14px; background: var(--navy); color: var(--night-ink); overflow: hidden; cursor: pointer; --sp-2: var(--night-ink-2); --sp-3: var(--night-ink-3); --sp-rule: var(--night-rule); --sp-key: var(--yellow); }
.spot-dock .spot-flight b { color: var(--night-ink); }
@media (min-width: 700px) {
  .spot-dock { display: grid; grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 30px; align-items: center; min-height: 0; padding: 14px 22px 19px; }
  .spot-dock .spot-head { grid-column: 1; grid-row: 1; }
  .spot-dock .spot-flight { grid-column: 1; grid-row: 2; }
  .spot-dock .spot-pair { grid-column: 2; grid-row: 1 / 3; margin: 0; border-top: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 26px; }
  .spot-dock .spot-pair div { border-bottom: 0; grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 0; }
  .spot-dock .spot-foot { grid-column: 3; grid-row: 1 / 3; margin: 0; flex-direction: column; align-items: flex-end; justify-content: center; gap: 10px; }
}
@media (min-width: 700px) and (max-width: 899px) {
  .spot-dock { grid-template-columns: minmax(0, 1fr) auto; }
  .spot-dock .spot-foot { grid-column: 2; }
  .spot-dock .spot-pair { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sp-rule); }
}
.spot-dock .spot-pair dd span { white-space: normal; }
.spot-dock .stamp { --st: var(--yellow); }
.spot-dock .stamp-missed { background: var(--paper); color: var(--navy); --st: var(--paper); }
.spot-dock .stamp-false { color: var(--night-ink); --st: var(--night-ink-2); }

.line-hit { position: absolute; top: 0; bottom: 0; left: 0; width: 28px; margin-left: -14px; cursor: ew-resize; touch-action: none; overflow: hidden; }
/* a glint runs down the line: the page is alive even when no flight moves */
.line-hit::after { content: ''; position: absolute; left: 12.5px; top: 0; width: 3px; height: 110px; border-radius: 3px; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0)); animation: glint 5.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; opacity: 0; }
[data-mode="live"] > .line-hit::after { opacity: 1; }
@keyframes glint { 0% { transform: translateY(-120px); } 55%, 100% { transform: translateY(720px); } }
.grip { position: absolute; top: 11px; left: 0; transform: translateX(-50%); z-index: 6; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 9px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--navy); cursor: ew-resize; touch-action: none; white-space: nowrap; box-shadow: 0 0 0 4px rgba(255, 209, 0, 0.22), 0 8px 20px -8px rgba(20, 21, 60, 0.6); transition: background-color 0.25s linear, color 0.25s linear, box-shadow 0.25s linear, scale 0.18s var(--ease-out); user-select: none; -webkit-user-select: none; }
.grip:hover { scale: 1.04; }
.grip:active, .dragging .grip { scale: 0.98; }
.grip-arrows { display: grid; place-items: center; width: 18px; height: 18px; }
.grip-arrows svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grip-label { font: 600 10.5px/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; }
.grip-time { font: 600 15px/1 var(--display); font-variant-numeric: tabular-nums; }
.grip-note { position: absolute; left: calc(100% + 16px); top: 50%; translate: 0 -50%; font: 600 10.5px/1 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--night-ink-2); white-space: nowrap; pointer-events: none; }
.grip-note:empty { display: none; }
.grip-coach { position: absolute; top: calc(100% + 13px); left: 50%; translate: -50% 4px; padding: 7px 12px 8px; border-radius: 10px; background: var(--paper); color: var(--navy); font: 600 12.5px/1 var(--text); white-space: nowrap; box-shadow: 0 0 0 1px var(--rule-2), 0 12px 26px -10px rgba(20, 21, 60, 0.65); pointer-events: none; opacity: 0; transition: opacity 0.4s linear, translate 0.4s var(--ease-out); }
.grip-coach::before { content: ''; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; rotate: 45deg; background: var(--paper); box-shadow: -1px -1px 0 0 var(--rule-2); }
.grip[data-coach="on"] .grip-coach { opacity: 1; translate: -50% 0; }
.grip[data-mode="rewind"] { background: var(--purple); color: #fff; box-shadow: 0 0 0 4px rgba(96, 1, 192, 0.22), 0 8px 20px -8px rgba(20, 21, 60, 0.6); }
.grip[data-mode="boot"] { opacity: 0; }
.grip[data-mode="live"]::after { content: ''; position: absolute; inset: -4px; border-radius: 999px; border: 2px solid var(--yellow); animation: now-ring 2.6s var(--ease-out) infinite; pointer-events: none; }
@keyframes now-ring { 0% { opacity: 0.9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.22, 1.6); } }
.field-empty { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 7; width: max-content; max-width: min(430px, calc(100% - 32px)); padding: 16px 22px 17px; border-radius: 14px; background: var(--paper); color: var(--ink); font: 500 15px/1.4 var(--text); text-align: center; text-wrap: balance; box-shadow: 0 0 0 1px var(--rule-2), 0 18px 40px -16px rgba(16, 17, 52, 0.6); pointer-events: none; }
.field-empty::before { content: ''; display: block; width: 28px; height: 3px; border-radius: 2px; margin: 0 auto 10px; background: var(--yellow); }

.tip { position: absolute; z-index: 8; width: max-content; max-width: 340px; pointer-events: none; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 12px 14px 11px; font-size: 13px; line-height: 1.4; box-shadow: 0 0 0 1px rgba(42, 45, 100, 0.1), 0 18px 44px -12px rgba(16, 17, 52, 0.55); animation: tip-in 0.16s var(--ease-out); }
@keyframes tip-in { from { opacity: 0; transform: translateY(4px); } }
.tip-head { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.tip-head b { font: 600 16px/1.2 var(--display); }
.tip-meta { color: var(--ink-3); font-size: 12.5px; }
.tip-main { margin-top: 8px; font-size: 14px; }
.tip-call, .tip-lock { display: flex; align-items: center; gap: 7px; margin-top: 4px; color: var(--ink-2); }
.tip-lock { font-size: 12.5px; color: var(--ink-3); }
.tip-lock + .tip-meta { margin-top: 2px; }
.tip-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--rule); }
.tip-foot i { font-size: 12px; color: var(--ink-3); }

/* ---------- under the canvas ---------- */
.under { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 28px; padding: 14px 2px 0; }
.transport { display: flex; align-items: center; gap: 10px; min-width: 0; }
.key { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 22px; font-size: 13px; color: var(--ink-2); }
.key li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ahead { display: flex; align-items: center; gap: 10px; }
.ahead-label { font: 600 11.5px/1 var(--text); letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule-2); }
.seg::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 999px; background: var(--navy); translate: calc(var(--i, 0) * 100%) 0; transition: translate 0.36s var(--ease-out); }
.seg button { position: relative; height: 32px; min-width: 54px; padding: 0 12px; border: 0; background: none; border-radius: 999px; font: 600 13.5px/1 var(--text); color: var(--ink-2); cursor: pointer; transition: color 0.2s linear; font-variant-numeric: tabular-nums; }
.seg button[aria-pressed="true"] { color: var(--cream); }
.seg button:hover:not([aria-pressed="true"]) { color: var(--navy); }

/* ---------- sections below ---------- */
h2 { font: 600 clamp(31px, 3.5vw, 60px)/1.03 var(--display); letter-spacing: -0.034em; color: var(--navy); margin-top: 14px; text-wrap: balance; }
h3 { font: 600 clamp(19px, 1.5vw, 25px)/1.24 var(--display); letter-spacing: -0.018em; color: var(--navy); text-wrap: balance; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px 48px; flex-wrap: wrap; }
.sec-sub { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.5; color: var(--ink-2); margin-top: 14px; max-width: 70ch; text-wrap: pretty; }

/* still on the ground, already flagged */
.ground { margin-top: clamp(52px, 8vh, 96px); padding: clamp(52px, 8vh, 100px) 0 clamp(44px, 6vh, 76px); background: linear-gradient(172deg, var(--night) 0%, var(--night-2) 78%, var(--night-3) 100%); color: var(--night-ink); }
.ground .eyebrow { color: var(--night-ink-2); }
.ground-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 20px clamp(32px, 5vw, 96px); align-items: end; }
.ground h2 { color: var(--night-ink); font-size: clamp(34px, 4.3vw, 76px); }
.ground h2 .swipe { color: var(--navy); background-size: 100% 80%; background-position: 0 60%; }
.ground-lead { font-size: clamp(15.5px, 1.18vw, 19.5px); line-height: 1.52; color: var(--night-ink-2); text-wrap: pretty; padding-bottom: 0.5em; }
.ground-lead b { color: var(--night-ink); }
.briefs { display: flex; flex-wrap: wrap; margin-top: clamp(28px, 4vh, 48px); border-top: 1px solid var(--night-rule); }
.briefs > li { flex: 0 0 25%; max-width: 25%; border-bottom: 1px solid var(--night-rule); border-left: 1px solid var(--night-rule); min-width: 0; }
.briefs > li.brief-more { flex: 1 1 0; max-width: none; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; padding: 24px clamp(14px, 1.5vw, 26px) 24px; }
.brief-more p { font: 500 clamp(17px, 1.35vw, 22px)/1.3 var(--display); letter-spacing: -0.015em; color: var(--night-ink); max-width: 30ch; text-wrap: balance; }
.brief-more a { display: inline-flex; align-items: center; gap: 7px; font: 600 14.5px/1.3 var(--text); color: var(--night-ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.brief-more a .ic { width: 11px; height: 11px; }
.briefs > li.brief-more:nth-child(4n + 1) { padding-left: 2px; }
.briefs > li:nth-child(4n + 1) { border-left: 0; }
.brief { display: grid; align-content: start; width: 100%; height: 100%; padding: 22px clamp(14px, 1.5vw, 26px) 20px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; transition: background-color 0.16s linear; }
.briefs > li:nth-child(4n + 1) .brief { padding-left: 2px; }
.brief:hover, .brief.hot { background: rgba(244, 241, 237, 0.06); }
.brief:focus-visible { outline-color: var(--yellow); outline-offset: -3px; }
.brief-when { display: grid; gap: 3px; }
.brief-when b { font: 600 11.5px/1.3 var(--text); letter-spacing: 0.15em; text-transform: uppercase; color: var(--yellow); white-space: nowrap; }
.brief-when i { font-size: 12.5px; line-height: 1.35; color: var(--night-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brief-city { font: 600 clamp(22px, 2vw, 34px)/1.08 var(--display); letter-spacing: -0.025em; margin-top: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brief-flight { font-size: 13.5px; color: var(--night-ink-3); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brief-chance { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.brief-chance b { font: 600 clamp(30px, 2.5vw, 42px)/1 var(--display); letter-spacing: -0.03em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.brief-chance span { font-size: 12.5px; line-height: 1.3; color: var(--night-ink-2); max-width: 17ch; }
.brief-say { font-size: 14.5px; line-height: 1.45; color: var(--night-ink-2); margin-top: 12px; text-wrap: pretty; }
.brief-say b { color: var(--night-ink); }
.brief-past { display: flex; align-items: flex-end; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--night-rule); min-height: 51px; }
.brief-past i { font-size: 12.5px; line-height: 1.3; color: var(--night-ink-2); }
.bars { flex: none; display: block; }
.bar { fill: rgba(244, 241, 237, 0.32); }
.bar.late { fill: var(--yellow); }
.bar-base { stroke: rgba(244, 241, 237, 0.4); stroke-width: 1; }
.brief-lock { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12.5px; color: var(--night-ink-3); }
.brief-lock i { margin-left: auto; color: var(--night-ink); font-weight: 600; white-space: nowrap; }
.briefs > li.brief-none { flex: 1 0 100%; max-width: none; display: grid; gap: 4px; padding: 30px 2px 34px; border-left: 0; }
.brief-none span { font: 600 clamp(19px, 1.5vw, 24px)/1.2 var(--display); color: var(--night-ink); }
.brief-none i { color: var(--night-ink-2); font-size: 15px; }

/* the ledger: one sheet, split by the line */
.ledger { padding: clamp(56px, 9vh, 108px) 0 0; }
.find { display: flex; align-items: center; gap: 14px; padding-bottom: 4px; flex: none; }
.find label { font: 600 11.5px/1 var(--text); letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
#search { width: 320px; max-width: 100%; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--paper); color: var(--ink); font: 400 15px/1 var(--text); transition: border-color 0.16s linear, box-shadow 0.16s linear; }
#search::placeholder { color: var(--ink-3); }
#search:hover { border-color: var(--navy); }
#search:focus-visible { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(96, 1, 192, 0.18); }
.sheet { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; margin-top: clamp(30px, 4.5vh, 46px); border-radius: 22px; box-shadow: var(--lift); }
.side { padding: 30px clamp(12px, 1.5vw, 26px) 20px; min-width: 0; }
.side-past { background: var(--paper); border-radius: 22px 0 0 22px; }
.side-next { background: linear-gradient(172deg, var(--night), var(--night-2)); color: var(--night-ink); border-radius: 0 22px 22px 0; }
.sheet-now { position: absolute; left: 50%; top: -16px; bottom: -16px; width: 2.5px; margin-left: -1.25px; border-radius: 2px; background: var(--yellow); z-index: 3; pointer-events: none; }
.now-tag { position: absolute; top: 0; left: 50%; translate: -50% -4px; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px; border-radius: 999px; background: var(--yellow); color: var(--navy); white-space: nowrap; box-shadow: 0 0 0 4px rgba(255, 209, 0, 0.22), 0 8px 18px -8px rgba(20, 21, 60, 0.5); }
.now-tag b { font: 600 10.5px/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; }
.now-tag span { font: 600 14px/1 var(--display); font-variant-numeric: tabular-nums; }
.side-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; padding: 0 8px 16px; min-height: 52px; }
.side-head .eyebrow { white-space: nowrap; }
.side-next .eyebrow { color: var(--night-ink-2); }
.side-next .swatch-night { background: var(--yellow); }
.tabs { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.tabs button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-2); background: none; font: 600 13.5px/1 var(--text); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background-color 0.16s linear, color 0.16s linear, border-color 0.16s linear; }
.tabs button span { font-variant-numeric: tabular-nums; font-weight: 500; margin-left: 3px; }
.tabs button:hover { border-color: var(--navy); color: var(--navy); }
.tabs button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.side-next .tabs button { border-color: var(--night-rule); color: var(--night-ink-2); }
.side-next .tabs button:hover { border-color: var(--night-ink); color: var(--night-ink); }
.side-next .tabs button[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.searching .tabs { opacity: 0.4; pointer-events: none; }

.rows-head, .row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 150px 96px 116px; gap: 14px; align-items: center; }
.side-next .rows-head, .side-next .row-next { grid-template-columns: 56px minmax(0, 1fr) 174px 128px; gap: 12px; }
.rows-head { padding: 4px 8px 9px; white-space: nowrap; font: 600 10px/1.2 var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.rows-head > span:nth-child(4) { text-align: right; }
.rows-head > span:nth-child(5) { text-align: right; }
.rh-scale { position: relative; height: 12px; }
.rh-scale i { position: absolute; top: 0; translate: -50% 0; }
.rh-scale i:first-child { left: 31.7%; }
.rh-scale i:last-child { left: 74%; }
.side-next .rows-head { color: var(--night-ink-3); }
.rows > li { border-top: 1px solid var(--rule); }
.side-next .rows > li { border-top-color: var(--night-rule); }
.rows > li.group { display: flex; align-items: center; gap: 8px; padding: 13px 8px 9px; font: 600 10.5px/1.2 var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.rows > li.group:first-child { border-top: 0; padding-top: 4px; }
.rows > li.group .ic { width: 12px; height: 12px; }
.rows > li.group i { font-weight: 500; letter-spacing: 0.04em; color: var(--night-ink-3); font-variant-numeric: tabular-nums; }
.rows > li.group + li { border-top: 0; }
.rows > li.new { animation: row-in 0.5s var(--ease-out) both; }
.rows > li.fresh { animation: row-flash 3.2s ease-out; }
.rows > li.crossing { position: relative; z-index: 4; }
.rows > li.fresh .stamp { animation: thud 0.6s var(--ease-out) 1s both; }
@keyframes row-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes row-flash { 0%, 45% { background: rgba(255, 209, 0, 0.34); } 100% { background: transparent; } }
.row { width: 100%; padding: 11px 8px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 12px; transition: background-color 0.14s linear; }
.row:hover, .row.hot { background: rgba(42, 45, 100, 0.055); }
.side-next .row:hover, .side-next .row.hot { background: rgba(244, 241, 237, 0.08); }
.side-next :focus-visible, .ground :focus-visible, .rules :focus-visible { outline-color: var(--yellow); }
.row-time b { display: block; font: 600 17px/1.1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.row-time > i { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.row-main { min-width: 0; display: grid; gap: 3px; }
.row-title { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.25; min-width: 0; }
.row-title b { flex: none; }
.row-title > span:not(.chip) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.row-title .chip { margin-left: 2px; }
.row-sub { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); min-width: 0; }
.row-sub span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-sub .ic { width: 12px; height: 12px; }
.row-scale { display: grid; gap: 0; min-width: 0; }
.scale { display: block; width: 100%; height: auto; }
.row-scale > i { display: flex; align-items: center; gap: 5px; font-size: 11.5px; line-height: 1.3; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.row-scale > i span { overflow: hidden; text-overflow: ellipsis; }
.row-scale .ic-lock { width: 11px; height: 11px; }
.sc-late { fill: rgba(42, 45, 100, 0.07); }
.sc-base { stroke: rgba(42, 45, 100, 0.3); stroke-width: 1; }
.sc-zero { stroke: rgba(42, 45, 100, 0.65); stroke-width: 1.3; }
.sc-gap { stroke: var(--navy); stroke-width: 1.6; }
.sc-said { fill: var(--paper); stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: round; }
.sc-said.sc-flag { fill: var(--yellow); }
.sc-was { fill: var(--navy); stroke: var(--paper); stroke-width: 1.2; }
.sc-now { fill: var(--paper); stroke: var(--navy); stroke-width: 1.6; }
.side-next .sc-late { fill: rgba(244, 241, 237, 0.08); }
.side-next .sc-base { stroke: rgba(244, 241, 237, 0.3); }
.side-next .sc-zero { stroke: rgba(244, 241, 237, 0.7); }
.side-next .sc-gap { stroke: rgba(244, 241, 237, 0.85); }
.side-next .sc-said { fill: var(--night); stroke: var(--night-ink); }
.side-next .sc-said.sc-flag { fill: var(--yellow); stroke: var(--night); stroke-width: 1; }
.side-next .sc-now { fill: var(--night-ink); stroke: var(--night); stroke-width: 1.2; }
.row-result { text-align: right; min-width: 0; }
.row-result b { display: block; font: 600 15px/1.2 var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.row-result i { display: block; font-size: 11.5px; line-height: 1.3; color: var(--ink-3); margin-top: 3px; white-space: nowrap; }
.row-verdict { justify-self: end; }
.side-next .row-time > i, .side-next .row-sub, .side-next .row-scale > i, .side-next .row-result i { color: var(--night-ink-3); }
.side-next .chip-band-elevated { border-color: rgba(244, 241, 237, 0.55); color: var(--night-ink); }
.side-next .chip-band-elevated .ic-elevated { fill: none; stroke: var(--night-ink); }
.side-next .chip-band-low { color: var(--night-ink-2); background: rgba(244, 241, 237, 0.09); }
.side-next .chip-band-low .ic-low { fill: var(--night-ink); }
.row-rest { grid-template-columns: 56px minmax(0, 1fr) auto; }
.row-rest .row-sub span { white-space: normal; }
.row-rest-tag { font: 600 10.5px/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--night-ink-2); padding: 6px 9px; border: 1px dashed rgba(244, 241, 237, 0.4); border-radius: 6px; white-space: nowrap; }
.empty { padding: 30px 8px 24px; color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 46ch; }
.empty::before { content: ''; display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--yellow); margin-bottom: 12px; }
.side-next .empty { color: var(--night-ink-2); }
.more { margin: 12px 8px 4px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule-2); background: none; font: 600 13.5px/1 var(--text); color: var(--navy); cursor: pointer; transition: background-color 0.16s linear, border-color 0.16s linear; }
.more:hover { border-color: var(--navy); background: rgba(42, 45, 100, 0.05); }
.side-next .more { border-color: var(--night-rule); color: var(--night-ink); }
.side-next .more:hover { border-color: var(--night-ink); background: rgba(244, 241, 237, 0.08); }

/* ---------- the record ---------- */
.record { padding: clamp(64px, 10vh, 124px) 0 0; }
.exhibits { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(28px, 3.6vw, 72px); margin-top: clamp(30px, 4.5vh, 46px); }
.exhibit { border-top: 2px solid var(--navy); padding: 20px 0 clamp(36px, 5vh, 56px); min-width: 0; display: flex; flex-direction: column; }
.ex-flags { grid-column: span 7; } .ex-miss { grid-column: span 5; } .ex-trust { grid-column: span 5; } .ex-claim { grid-column: span 7; }
.ex-no { font: 600 11.5px/1.3 var(--text); letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.exhibit h3 { font-size: clamp(21px, 1.9vw, 32px); font-weight: 500; line-height: 1.16; letter-spacing: -0.025em; margin-top: 14px; }
.exhibit .n { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 94%, transparent 94%); padding: 0 0.1em; margin: 0 -0.03em; }
.ex-sub { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin-top: 10px; text-wrap: pretty; max-width: 68ch; }
.ex-note { font-size: 13px; line-height: 1.45; color: var(--ink-3); margin-top: 14px; max-width: 68ch; }
.ex-note:empty { display: none; }
.chart { margin-top: 26px; }
.chart svg { display: block; max-width: 100%; height: auto; overflow: visible; }
.ex-claim { justify-content: center; border-top-color: transparent; }
.claim { font: 600 clamp(26px, 3vw, 52px)/1.08 var(--display); letter-spacing: -0.032em; color: var(--navy); text-wrap: balance; }
.m-label { font: 600 13.5px var(--text); fill: var(--ink); }
.m-value { font: 500 13.5px var(--text); fill: var(--ink-2); }
.w-on { fill: var(--yellow); stroke: var(--navy); stroke-width: 1.2; stroke-linejoin: round; }
.w-off { fill: none; stroke: var(--navy); stroke-opacity: 0.32; stroke-width: 1.1; stroke-linejoin: round; }
.d-on { fill: var(--navy); }
.d-off { fill: var(--navy); fill-opacity: 0.14; }
.b-tag { font: 600 9.5px var(--text); letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ink-3); }
.b-row { font: 600 13.5px var(--text); fill: var(--ink); }
.b-ours { fill: var(--navy); }
.b-base { fill: rgba(42, 45, 100, 0.04); stroke: var(--navy); stroke-opacity: 0.5; stroke-width: 1.5; stroke-dasharray: 5 4; }
.b-easy { fill: url(#hatch); stroke: var(--navy); stroke-opacity: 0.55; stroke-width: 1; }
.h-ground { fill: var(--cream); } .h-line { stroke: var(--navy); stroke-opacity: 0.55; stroke-width: 2.4; }
.b-val { font: 600 17px var(--display); fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.b-val-ours { fill: var(--ink); }
.b-small { font: 600 13px var(--text); fill: var(--ink); }
.c-axis { font: 500 11.5px var(--text); fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.c-grid { stroke: var(--rule); stroke-width: 1; }

/* ---------- the rules, and the small print ---------- */
.rules { margin-top: clamp(24px, 5vh, 64px); padding: clamp(56px, 9vh, 108px) 0 0; background: linear-gradient(176deg, var(--night) 0%, var(--night-2) 60%, var(--night-3) 100%); color: var(--night-ink); }
.rules .eyebrow { color: var(--night-ink-2); }
.rules h2 { color: var(--night-ink); }
.rules h2 .swipe { color: var(--navy); background-size: 100% 80%; background-position: 0 60%; }
.rule-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(30px, 4.5vh, 50px); border-top: 1px solid var(--night-rule); }
.rule-list li { padding: 26px clamp(16px, 2vw, 36px) 34px; border-left: 1px solid var(--night-rule); }
.rule-list li:first-child { border-left: 0; padding-left: 0; }
.rule-no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--yellow); color: var(--yellow); font: 600 14px/1 var(--display); }
.rule-list h3 { color: var(--night-ink); margin-top: 18px; }
.rule-list p { font-size: 14.5px; line-height: 1.52; color: var(--night-ink-2); margin-top: 8px; text-wrap: pretty; }
.about { margin-top: clamp(30px, 5vh, 56px); padding: 30px 0 46px; border-top: 1px solid var(--night-rule); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px 40px; }
.about .wordmark { color: var(--night-ink); }
.about dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 40px; }
.about dt { font: 600 14.5px/1.3 var(--text); color: var(--night-ink); }
.about dd { font-size: 14px; line-height: 1.5; color: var(--night-ink-2); margin-top: 5px; text-wrap: pretty; }
.feed-detail { grid-column: 2; font-size: 12.5px; line-height: 1.5; color: var(--night-ink-3); }
.feed-detail summary { cursor: pointer; width: max-content; }
.feed-detail p { margin-top: 8px; max-width: 110ch; }

/* ---------- one flight's story: a sheet that opens beside the thing it was opened from ---------- */
.story { position: fixed; inset: 0 0 0 auto; margin: 0; border: 0; padding: 0; background: transparent; color: var(--ink); width: min(800px, calc(100vw - 20px)); height: 100dvh; max-width: none; max-height: none; overflow: visible; }
.story[data-side="left"] { inset: 0 auto 0 0; }
.story::backdrop { background: rgba(24, 26, 68, 0.26); }
.story[open]::backdrop { animation: fade-in 0.3s linear; }
@keyframes fade-in { from { opacity: 0; } }
.story-card { position: relative; height: 100%; overflow: auto; background: var(--paper); border-radius: 26px 0 0 26px; padding: clamp(22px, 2.6vw, 38px) clamp(18px, 2.8vw, 42px) 44px; box-shadow: -40px 0 90px -40px rgba(10, 11, 40, 0.75); scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent; transform-origin: 50% 50%; overscroll-behavior: contain; }
.story[data-side="left"] .story-card { border-radius: 0 26px 26px 0; box-shadow: 40px 0 90px -40px rgba(10, 11, 40, 0.75); }
.story-close { position: absolute; top: 18px; right: 18px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background-color 0.16s linear, rotate 0.3s var(--ease-out), border-color 0.16s linear; }
.story-close:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); rotate: 90deg; }
.story-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.st-head { padding-right: 56px; }
.st-head .eyebrow { flex-wrap: wrap; gap: 4px 0; }
.st-head .eyebrow b { color: var(--navy); font-weight: 600; }
.st-head .eyebrow span::before { content: '·'; margin: 0 9px; }
.st-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.28em; margin-top: 8px; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.05; }
.st-head h2 i { display: inline-grid; color: var(--ink-3); }
.st-head h2 .ic { width: 0.6em; height: 0.6em; stroke-width: 1.7; }
.st-scene { position: relative; height: clamp(220px, 31vh, 320px); margin-top: 18px; border-radius: 18px; overflow: hidden; background: var(--night-2); }
.st-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.globe-tags { position: absolute; inset: 0; pointer-events: none; }
.globe-tag { position: absolute; padding: 8px 11px 9px; border-radius: 11px; background: rgba(20, 21, 57, 0.8); border: 1px solid rgba(244, 241, 237, 0.18); color: var(--night-ink); white-space: nowrap; opacity: 0; translate: 0 5px; transition: opacity 0.5s linear, translate 0.5s var(--ease-out); }
.globe-tag.on { opacity: 1; translate: 0 0; }
.globe-tag span { display: block; font: 600 9.5px/1.2 var(--text); letter-spacing: 0.13em; text-transform: uppercase; color: var(--night-ink-3); }
.globe-tag b { display: block; font: 600 18px/1.15 var(--display); letter-spacing: -0.015em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.globe-tag i { display: block; font-size: 11.5px; line-height: 1.3; color: var(--night-ink-2); margin-top: 2px; }
.globe-tag-from b { color: var(--yellow); }
.globe-tag-plane { padding: 6px 9px 7px; } .globe-tag-plane b { font-size: 15px; }
.st-verdict { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; margin-top: 26px; }
.st-claim { font: 600 clamp(24px, 2.5vw, 36px)/1.14 var(--display); letter-spacing: -0.03em; color: var(--navy); flex: 1 1 320px; min-width: 0; }
.st-claim > span { display: block; }
.stamp-big { height: auto; padding: 9px 15px 9px 12px; gap: 9px; border-width: 2px; outline-width: 2px; outline-offset: 3px; border-radius: 8px; rotate: -4deg; margin: 6px 10px 6px 6px; }
.stamp-big b { font: 600 17px/1 var(--display); letter-spacing: 0.07em; }
.stamp-big i { font: 600 10.5px/1 var(--text); letter-spacing: 0.1em; padding-left: 9px; border-left: 1.5px solid currentColor; }
.stamp-big .ic { width: 15px; height: 15px; }
.stamp-big.thud { animation: thud 0.6s var(--ease-out) 0.55s both; }
.stamp-none.stamp-big { rotate: none; }
.st-tale { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; color: var(--ink); margin-top: 18px; text-wrap: pretty; max-width: 70ch; }
.st-block { margin-top: 34px; min-width: 0; }
.st-block h3 { font-size: clamp(18px, 1.35vw, 21px); }
.st-note { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); margin-top: 5px; max-width: 78ch; text-wrap: pretty; }
.st-chart { margin-top: 14px; border-radius: 16px 16px 0 0; background: #fff; border: 1px solid var(--rule); border-bottom: 0; overflow: hidden; }
.st-chart svg { display: block; width: 100%; height: auto; }
.c-air { fill: rgba(42, 45, 100, 0.07); }
.c-cut { stroke: var(--navy); stroke-width: 1.5; }
.c-phase { font: 600 10px var(--text); letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ink-2); }
.c-late { fill: rgba(255, 209, 0, 0.1); }
.c-col { stroke: var(--rule); stroke-width: 1; }
.c-zero { stroke: var(--navy); stroke-opacity: 0.55; stroke-width: 1; }
.c-15 { stroke: var(--navy); stroke-opacity: 0.5; stroke-width: 1; stroke-dasharray: 5 5; }
.c-actual { stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; }
.c-pencil { fill: none; stroke: var(--navy); stroke-opacity: 0.6; stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.c-call path, .c-call > circle:not(.c-halo) { stroke: var(--navy); stroke-width: 1.7; stroke-linejoin: round; fill: #fff; }
.c-call.band-high path { fill: var(--yellow); }
.c-call.band-low > circle:not(.c-halo) { fill: var(--navy); fill-opacity: 0.55; stroke: none; }
.c-halo { fill: rgba(255, 209, 0, 0.3); stroke: var(--yellow); stroke-width: 1.5; }
.c-label { font: 600 12.5px var(--text); fill: var(--ink); font-variant-numeric: tabular-nums; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.c-end { fill: var(--navy); stroke: #fff; stroke-width: 2.5; }
.c-end-label { font: 600 14px var(--display); }
.c-none { font: 400 14px var(--text); fill: var(--ink-3); }
.st-stations { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--rule); border-radius: 0 0 16px 16px; background: #fff; }
.station { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 13px 5px 15px; text-align: center; min-width: 0; border-left: 1px solid var(--rule); }
.station:first-child { border-left: 0; }
.station-name { font: 600 13px/1.25 var(--text); color: var(--navy); }
.station-time { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1px 5px; font-size: 11.5px; line-height: 1.3; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.station-time .ic-lock { width: 10px; height: 10px; color: var(--ink-2); }
.station-time b { font-weight: 600; color: var(--ink-2); }
.station-time i { flex: 1 0 100%; }
.station-say { font-size: 12.5px; line-height: 1.35; margin-top: 3px; color: var(--ink-2); text-wrap: balance; }
.station-say b { color: var(--ink); }
.station .chip { margin-top: 4px; height: 22px; font-size: 11.5px; padding: 0 8px 0 6px; }
.station-empty .station-say { color: var(--ink-3); font-size: 12px; }
.station-judged { background: rgba(255, 209, 0, 0.14); box-shadow: inset 0 3px 0 var(--yellow); }
.station-tag { font: 600 9.5px/1.3 var(--text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-top: 6px; }
.station-end { background: rgba(42, 45, 100, 0.05); }
.station-end .station-say b { font: 600 15px/1.2 var(--display); }
.st-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 40px; }
.st-cols-one { grid-template-columns: minmax(0, 1fr); }
.st-cols-one .st-recent { max-width: 460px; }
.st-drivers { margin-top: 12px; display: grid; gap: 0; }
.st-drivers li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 14px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.4; }
.st-drivers b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.drv-bar { grid-column: 1 / -1; grid-row: 2; height: 6px; border-radius: 3px; background: rgba(42, 45, 100, 0.07); overflow: hidden; display: flex; }
.drv-bar i { display: block; height: 100%; border-radius: 3px; background: var(--navy); }
.drv-bar.minus { justify-content: flex-end; }
.drv-bar.minus i { background: none; border: 1.5px solid var(--navy); }
.st-recent { margin-top: 14px; }
.st-recent svg { display: block; max-width: 100%; height: auto; }
.r-bar { fill: var(--navy); fill-opacity: 0.32; }
.r-bar.late { fill: var(--yellow); fill-opacity: 1; stroke: var(--navy); stroke-width: 1.3; }
.r-break { stroke: #fff; stroke-width: 3; }
.r-num { font-size: 11px; }
.st-itself { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 40px; margin-top: 12px; align-items: start; }
.st-facts { display: grid; }
.st-facts div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.st-facts dt { color: var(--ink-2); }
.st-facts dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.st-feed { margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--rule-2); display: grid; gap: 10px; }
.st-feed li { position: relative; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.st-feed li::before { content: ''; position: absolute; left: -20px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); }
.st-feed time { font-weight: 600; color: var(--ink); margin-right: 8px; font-variant-numeric: tabular-nums; }

/* ---------- sign-in ---------- */
.login { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.login-side { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 7vw, 110px); }
.login-form { width: min(440px, 100%); }
.login-form h1 { font: 600 clamp(34px, 3.6vw, 56px)/1.04 var(--display); letter-spacing: -0.035em; color: var(--navy); margin-top: 44px; }
.login-form > p { color: var(--ink-2); margin-top: 16px; font-size: 16.5px; line-height: 1.5; text-wrap: pretty; }
.login-form label { display: block; margin-top: 34px; font: 600 11.5px/1 var(--text); letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.login-form input { width: 100%; height: 54px; margin-top: 10px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--rule-2); background: var(--paper); color: var(--ink); font: 400 17px/1 var(--text); transition: border-color 0.16s linear, box-shadow 0.16s linear; }
.login-form input:hover { border-color: var(--navy); }
.login-form input:focus-visible { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(96, 1, 192, 0.16); }
.login-form button { width: 100%; height: 54px; margin-top: 14px; border: 0; border-radius: 14px; background: var(--navy); color: var(--cream); font: 600 16px/1 var(--display); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: translate 0.16s var(--ease-out), box-shadow 0.16s linear; }
.login-form button:hover { translate: 0 -1px; box-shadow: 0 14px 26px -14px rgba(42, 45, 100, 0.8); }
.login-form button:active { translate: 0 0; box-shadow: none; }
.login-form button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.login-error { min-height: 1.5em; margin-top: 14px !important; font-size: 14.5px !important; font-weight: 600; color: var(--purple) !important; }
.login-foot { margin-top: 44px; font-size: 12.5px; color: var(--ink-3); }
.login-art { position: relative; margin: 18px; border-radius: 28px; overflow: hidden; background: linear-gradient(90deg, var(--paper) 0, var(--paper) 38%, var(--night) 38%, var(--night-2) 100%); min-height: 320px; }
.login-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.login-art .art-now { animation: art-now 3.2s var(--ease-io) infinite; transform-origin: center; }
@keyframes art-now { 50% { opacity: 0.55; } }
.login-art .art-ring { transform-box: fill-box; transform-origin: center; animation: art-ring 3.2s var(--ease-out) infinite; }
@keyframes art-ring { 0% { transform: scale(0.6); opacity: 0.9; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.login-art .art-glow { transform-box: fill-box; transform-origin: center; animation: art-glow 2.8s var(--ease-io) infinite; }
@keyframes art-glow { 50% { opacity: 0.35; transform: scale(1.25); } }
.login-art p { position: absolute; left: 44%; right: 32px; bottom: 30px; color: var(--night-ink); font: 600 clamp(18px, 1.7vw, 26px)/1.25 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.login-art p .swipe { color: var(--navy); background-size: 100% 84%; background-position: 0 55%; }

/* ---------- narrower screens ---------- */
@media (max-width: 1500px) {
  .rows-head, .row { grid-template-columns: 52px minmax(0, 1fr) 112px 86px 124px; gap: 10px; }
  .side-next .rows-head, .side-next .row-next { grid-template-columns: 52px minmax(0, 1fr) 172px 124px; }
  .row-title .chip-word { display: none; }
  .stamp-false { letter-spacing: 0.05em; padding: 0 7px 0 6px; }
}
@media (max-width: 1280px) {
  .bar-where { display: none; }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .side-past { border-radius: 0 0 22px 22px; order: 2; }
  .side-next { border-radius: 22px 22px 0 0; order: 1; }
  .sheet-now { display: none; }
  .rows-head, .row { grid-template-columns: 56px minmax(0, 1fr) 150px 96px 116px; gap: 14px; }
  .side-next .rows-head, .side-next .row-next { grid-template-columns: 56px minmax(0, 1fr) 190px 132px; }
  .row-title .chip-word { display: inline; }
  .exhibit { grid-column: 1 / -1; }
  .ex-claim { border-top-color: var(--navy); padding-top: 34px; }
  .rule-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rule-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .rule-list li:nth-child(n + 3) { border-top: 1px solid var(--night-rule); }
  .briefs > li { flex-basis: 50%; max-width: 50%; }
  .briefs > li:nth-child(4n + 1) { border-left: 1px solid var(--night-rule); } .briefs > li:nth-child(4n + 1) .brief { padding-left: clamp(14px, 1.5vw, 26px); }
  .briefs > li:nth-child(odd) { border-left: 0; } .briefs > li:nth-child(odd) .brief { padding-left: 2px; }
  .briefs > li.brief-more:nth-child(odd) { padding-left: 2px; }
}
@media (max-width: 980px) {
  .wire { display: none; }
  .ground-head { grid-template-columns: minmax(0, 1fr); }
  .under { grid-template-columns: minmax(0, 1fr) auto; }
  .key { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about dl { grid-template-columns: minmax(0, 1fr); }
  .feed-detail { grid-column: 1; }
  .st-itself, .st-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .bar { height: 54px; gap: 12px; }
  .wordmark { font-size: 17px; }
  .clock-label, .feed-day { display: none; }
  .clock { padding-left: 12px; }
  .clock-time { font-size: 16px; }
  .feed-pill { height: 28px; font-size: 12px; padding: 0 10px 0 9px; }
  .hero { padding-top: 22px; }
  .headline { text-wrap: balance; }
  .chapters { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .chapter { padding: 0 0 14px; }
  .chapter-next { padding-left: 14px; margin: 0 0 12px; }
  .elbow { display: none; }
  .field-stage { height: 430px; border-radius: 18px; }
  .y-tick { background: none; padding: 0; }
  .grip { height: 32px; padding: 0 11px 0 7px; }
  .grip-coach { display: none; }
  .field-cap { display: block; }
  .row-sub span { white-space: normal; }
  .globe-tag { padding: 6px 8px 7px; } .globe-tag b { font-size: 15px; } .globe-tag span { font-size: 8.5px; letter-spacing: 0.1em; } .globe-tag i { font-size: 11px; }
  .under { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
  .transport { flex-wrap: wrap; }
  .ahead { justify-content: space-between; }
  .key { gap: 6px 16px; }
  h2 { font-size: clamp(31px, 9vw, 40px); }
  .ground h2 { font-size: clamp(33px, 9.6vw, 44px); }
  .briefs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 26px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); border-top: 0; gap: 12px; }
  .briefs::-webkit-scrollbar { display: none; }
  .briefs { flex-wrap: nowrap; }
  .briefs > li, .briefs > li:nth-child(odd), .briefs > li:nth-child(4n + 1) { flex: 0 0 84%; max-width: 84%; scroll-snap-align: center; border: 1px solid var(--night-rule); border-radius: 18px; }
  .briefs > li.brief-more, .briefs > li.brief-more:nth-child(odd) { flex: 0 0 70%; max-width: 70%; padding: 20px 18px; }
  .briefs > li .brief, .briefs > li:nth-child(odd) .brief { padding: 20px 18px 18px; border-radius: 18px; }
  .briefs > li.brief-none { flex: 1 0 100%; max-width: 100%; border: 0; }
  .sec-head { align-items: stretch; }
  .find { flex-direction: column; align-items: stretch; gap: 8px; width: 100%; }
  #search { width: 100%; }
  .side { padding: 22px 10px 16px; }
  .side-head { padding: 0 6px 12px; }
  .rows-head { display: none; }
  .row, .side-next .row-next { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 6px 10px; align-items: start; padding: 12px 6px; }
  .row-time { grid-row: 1 / 3; }
  .row-main { grid-column: 2; }
  .row-result { grid-column: 3; grid-row: 1; }
  .row-scale { grid-column: 2; grid-row: 2; max-width: 190px; }
  .row-verdict { grid-column: 3; grid-row: 2; align-self: center; }
  .row-next .row-scale { grid-column: 2 / -1; max-width: 250px; }
  .row-next .row-result { max-width: 116px; }
  .row-next .row-result i { white-space: normal; }
  .row-title { flex-wrap: wrap; gap: 4px 8px; }
  .rule-list { grid-template-columns: minmax(0, 1fr); }
  .rule-list li, .rule-list li:nth-child(odd) { border-left: 0; padding: 22px 0 24px; border-top: 1px solid var(--night-rule); }
  .rule-list li:first-child { border-top: 0; }
  .story, .story[data-side="left"] { inset: auto 0 0 0; width: 100vw; height: auto; max-height: 100dvh; }
  .story-card, .story[data-side="left"] .story-card { border-radius: 22px 22px 0 0; height: auto; max-height: 94dvh; padding-bottom: 36px; }
  .story[open] .story-card { animation: sheet-up 0.36s var(--ease-out); }
  .st-scene { height: 210px; }
  .st-stations { grid-auto-flow: row; }
  .station { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: start; text-align: left; gap: 2px 12px; padding: 11px 14px; border-left: 0; border-top: 1px solid var(--rule); }
  .station:first-child { border-top: 0; }
  .station-time { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .station-say { grid-column: 2; grid-row: 1; margin: 0; text-align: right; justify-self: end; }
  .station .chip { grid-column: 2; grid-row: 2; margin: 0; justify-self: end; }
  .station-tag { grid-column: 1 / -1; margin-top: 4px; }
  .station-judged { box-shadow: inset 3px 0 0 var(--yellow); }
  .login { grid-template-columns: minmax(0, 1fr); }
  .login-art { order: -1; min-height: 220px; margin: 12px; }
  .login-side { padding: 28px 24px 40px; justify-content: flex-start; }
  .login-form h1 { margin-top: 28px; }
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .headline .swipe { background-size: 100% 74%; }
  .spot-bar { display: none; }
}
