/* Third Time Through: lineup-card feel. Cool paper, navy ink, one scorer's-red accent for "the third time".
   The home page opens on a night-game "stage" with the field. */
:root {
  --bg: #f2f4f6;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --muted: #56657a;
  --line: #d6dde5;
  --accent: #b8222b;
  --accent-soft: #f7e1e2;
  --mark: #24476b;
  --mark-soft: #c9d5e2;
  /* night stage + field: one deliberate look in both themes */
  --night: #0d1b2e;
  --night-2: #142842;
  --night-fg: #f2f4f6;
  --night-muted: #a7b6c8;
  --grass: #2f7a45;
  --grass-2: #3b8c52;
  --dirt: #b9814f;
  --chalk: #f4f1e8;
  --lamp: #f2b134;
  --lamp-off: #2f4561;
  /* how hitters handled him: pitcher in control (1) to hitters teeing off (5) */
  --h1: #2e8b57;
  --h2: #7fb069;
  --h3: #9aa6b2;
  --h4: #e07a4f;
  --h5: #c8323a;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b131e;
    --surface: #121d2b;
    --ink: #e7edf4;
    --muted: #9aa9bb;
    --line: #26364b;
    --accent: #f0626a;
    --accent-soft: #3a1e24;
    --mark: #8db4dd;
    --mark-soft: #2f465f;
    --night: #08121f;
    --night-2: #0f2036;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--lamp); outline-offset: 2px; border-radius: 2px; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; text-wrap: balance; letter-spacing: .005em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 600 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.button { display: inline-block; font: 700 15px/1.2 var(--body); text-decoration: none; padding: 13px 18px; border-radius: 6px; background: var(--ink); color: var(--bg); border: 0; cursor: pointer; text-align: center; }
.button.ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-head .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; object-fit: contain; border-radius: 8px; }
@media (prefers-color-scheme: dark) { .brand-mark { background: #f2f4f6; padding: 3px; } }
.brand-name { font: 800 24px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.nav { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Stage: the night game that opens the home page */
.stage { background: radial-gradient(120% 90% at 50% 0%, var(--night-2), var(--night) 70%); color: var(--night-fg); padding-block: 44px 56px; }
.stage .eyebrow { color: var(--lamp); }
.stage-head { text-align: center; display: grid; gap: 12px; justify-items: center; margin-bottom: 28px; }
.stage h1 { font-size: clamp(46px, 8vw, 88px); font-weight: 900; text-transform: uppercase; }
.stage h1 em { font-style: normal; color: var(--lamp); }
.stage .lead { font-size: 19px; color: var(--night-muted); max-width: 40ch; }
.loading { text-align: center; color: var(--night-muted); padding-block: 60px; }

/* Team picker */
.picker { display: grid; gap: 16px; }
.picker-title { text-align: center; font: 700 22px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.team-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); } }
.team-chip { border: 0; border-radius: 8px; padding: 12px 8px 10px; cursor: pointer; display: grid; gap: 2px; justify-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .15s ease, box-shadow .15s ease; }
.team-chip b { font: 900 26px/1 var(--display); letter-spacing: .02em; }
.team-chip span { font: 600 12px/1.2 var(--body); opacity: .9; }
.team-chip:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 8px 18px rgba(0, 0, 0, .35); }

/* Field + side panel */
.game-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.field-box { min-width: 0; }
.field { display: block; width: 100%; height: auto; overflow: visible; }
.field .grass { fill: var(--grass); }
.field .track { fill: none; stroke: var(--dirt); stroke-width: 10; opacity: .55; }
.field .dirt { fill: var(--dirt); }
.field .infield-grass { fill: var(--grass-2); }
.field .rubber, .field .plate { fill: var(--chalk); }
.field .chalk { stroke: var(--chalk); stroke-width: 2; fill: none; opacity: .85; }
.field .bag { fill: var(--chalk); transition: fill .2s; }
.field .bag.on { fill: var(--lamp); }
.field .runner { fill: var(--lamp); stroke: var(--night); stroke-width: 3; }
.field .trail { fill: none; stroke: var(--chalk); stroke-width: 2.5; stroke-linecap: round; opacity: .8; }
.field .trail.hit { stroke: var(--lamp); }
.field .ball { fill: #ffffff; stroke: #b9b9b9; stroke-width: 1; }
.field .callout { font: 900 40px/1 var(--display); text-transform: uppercase; fill: #ffffff; paint-order: stroke; stroke: var(--night); stroke-width: 7px; stroke-linejoin: round; opacity: 0; }
.field .callout.show { opacity: 1; }
.field .callout.good { fill: #ffffff; }
.field .callout.bad { fill: var(--lamp); }
@media (prefers-reduced-motion: no-preference) {
  .field .callout { transition: opacity .25s ease; }
  .field .callout.show { animation: pop .35s ease-out; transform-origin: 200px 180px; transform-box: view-box; }
  @keyframes pop { from { transform: scale(.7); } to { transform: scale(1); } }
}

.side { display: grid; gap: 14px; min-width: 0; }
.when { font: 600 14px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--night-muted); }
.scorebar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: rgba(0, 0, 0, .28); border-radius: 8px; padding: 10px 12px; }
.sb-team { display: inline-flex; align-items: center; gap: 8px; }
.sb-team i { font: 800 15px/1 var(--display); font-style: normal; padding: 6px 7px; border-radius: 4px; min-width: 44px; text-align: center; }
.sb-team b { font: 800 28px/1 var(--display); min-width: 18px; }
.sb-inning { font: 800 22px/1 var(--display); text-transform: uppercase; margin-left: auto; }
.sb-outs { display: inline-flex; align-items: center; gap: 5px; }
.sb-lab { font: 600 11px/1 var(--mono); text-transform: uppercase; color: var(--night-muted); margin-right: 2px; }
.lamp { width: 12px; height: 12px; border-radius: 50%; background: var(--lamp-off); }
.lamp.on { background: var(--lamp); }

.pitcher-card { background: var(--night-fg); color: #0f1b2d; border-radius: 8px; padding: 14px 16px; border-left: 8px solid var(--team); display: grid; gap: 8px; }
.pc-name { font: 900 30px/1 var(--display); text-transform: uppercase; }
.pc-count { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 15px; }
.pc-count b { font: 800 22px/1 var(--display); }
.pc-bar { height: 10px; border-radius: 6px; background: #d8dee6; overflow: hidden; }
.pc-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--h2), var(--h4)); }
.side-copy { color: var(--night-muted); font-size: 15px; }
.looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.look { border-radius: 8px; padding: 10px; display: grid; gap: 4px; min-height: 70px; align-content: start; color: #0f1b2d; }
.look span { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.look b { font: 800 19px/1.05 var(--display); text-transform: uppercase; }
.look.h1 { background: var(--h1); color: #fff; } .look.h2 { background: var(--h2); } .look.h3 { background: var(--h3); }
.look.h4 { background: var(--h4); } .look.h5 { background: var(--h5); color: #fff; }
.look.q { background: none; box-shadow: inset 0 0 0 2px var(--lamp); color: var(--lamp); }
.look.q b { font-size: 34px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices .button { flex: 1 1 150px; }
.call-pull { background: var(--lamp); color: #1a1406; font-size: 17px; }
.call-stay { background: none; color: var(--night-fg); box-shadow: inset 0 0 0 2px var(--night-fg); font-size: 17px; }
.linkish { justify-self: start; background: none; border: 0; padding: 0; font: 600 14px/1 var(--body); color: var(--night-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.log li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 6px; background: rgba(255, 255, 255, .07); font-size: 15px; }
.log li b { font: 800 16px/1 var(--display); min-width: 38px; text-align: center; padding: 5px 0; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.log li.hit b { background: var(--lamp); color: #1a1406; }
.log li.end { background: none; font-weight: 700; padding-inline: 0; }
@media (prefers-reduced-motion: no-preference) {
  .log li { animation: slide-in .25s ease-out; }
  @keyframes slide-in { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Verdict pop-up */
.verdict { border: 0; border-radius: 12px; padding: 0; width: min(520px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); background: var(--surface); color: var(--ink); box-shadow: 0 24px 70px rgba(4, 10, 20, .5); }
.verdict::backdrop { background: rgba(4, 10, 20, .65); }
.verdict [data-body] { padding: 26px; display: grid; gap: 16px; }
.verdict .close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; z-index: 1; }
.v-head { display: flex; align-items: center; gap: 14px; padding-right: 36px; }
.v-icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 700; color: #fff; }
.v-head.yes .v-icon { background: var(--h1); }
.v-head.no .v-icon { background: var(--h5); }
.v-head h2 { font-size: 36px; text-transform: uppercase; }
.v-why { font-size: 17px; }
.meters { display: grid; gap: 10px; }
.meter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.m-track { height: 12px; border-radius: 6px; background: var(--bg); overflow: hidden; }
.m-track i { display: block; height: 100%; border-radius: 6px; }
.m-track i.h1 { background: var(--h1); } .m-track i.h2 { background: var(--h2); } .m-track i.h3 { background: var(--h3); }
.m-track i.h4 { background: var(--h4); } .m-track i.h5 { background: var(--h5); }
.m-word { font: 800 16px/1 var(--display); text-transform: uppercase; min-width: 104px; }
.v-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.v-facts p { background: var(--bg); border-radius: 8px; padding: 12px; display: grid; gap: 4px; }
.v-facts span { font: 600 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.v-facts b { font: 800 22px/1 var(--display); text-transform: uppercase; }
.v-facts em { font-style: normal; font-size: 13px; color: var(--muted); }
.handoff { border-top: 1px solid var(--line); padding-top: 14px; }
.numbers { font-size: 14px; color: var(--muted); }
.numbers summary { cursor: pointer; font-weight: 600; }
.numbers p { margin-top: 8px; }

/* Sections */
.section { padding-block: 56px; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(32px, 4.5vw, 46px); text-transform: uppercase; }
.section .intro { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.section .intro strong { color: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { display: grid; gap: 8px; }
.steps svg { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { font-size: 26px; text-transform: uppercase; }
.steps p { color: var(--muted); font-size: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split .cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.heat { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: grid; gap: 14px; }
.heat-row { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 14px; align-items: center; }
.heat-row .label { font: 700 20px/1 var(--display); text-transform: uppercase; }
.heat-row.third .label { color: var(--accent); }
.slots { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; }
.slots i { height: 26px; border-radius: 4px; }
.slots.s1 i { background: var(--h2); }
.slots.s2 i { background: var(--h3); }
.slots.s3 i { background: var(--h4); }
.heat-key { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 18px 20px; border-radius: 4px; max-width: 70ch; }

/* Pick cards (home + Outs Report) */
.product h2 .hl { color: var(--accent); display: block; }
.pick-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.pick-grid.compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pick { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.pk-head { display: flex; align-items: center; gap: 8px; }
.tchip { font: 800 15px/1 var(--display); font-style: normal; padding: 6px 7px; border-radius: 4px; min-width: 42px; text-align: center; letter-spacing: .02em; }
.vs { font-size: 13px; color: var(--muted); }
.badge { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: 6px 9px; border-radius: 999px; background: var(--bg); }
.pass-badge { color: var(--muted); }
.sig { display: inline-flex; align-items: flex-end; gap: 2px; }
.sig i { width: 4px; background: var(--line); border-radius: 1px; }
.sig i:nth-child(1) { height: 6px; } .sig i:nth-child(2) { height: 9px; } .sig i:nth-child(3) { height: 12px; }
.sig i.on { background: var(--accent); }
.sig.big { gap: 4px; }
.sig.big i { width: 9px; }
.sig.big i:nth-child(1) { height: 12px; } .sig.big i:nth-child(2) { height: 19px; } .sig.big i:nth-child(3) { height: 26px; }
.pk-name { font-size: 26px; text-transform: uppercase; }
.pk-call { font: 900 30px/1 var(--display); text-transform: uppercase; }
.pk-call span { font-size: 22px; vertical-align: 2px; }
.pk-call.over span { color: var(--accent); }
.pk-call.under span { color: var(--mark); }
.track { position: relative; height: 22px; margin: 22px 8px 22px; }
.t-rail { position: absolute; left: 0; right: 0; top: 8px; height: 6px; border-radius: 3px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.t-line { position: absolute; top: 0; width: 2px; height: 22px; background: var(--ink); transform: translateX(-1px); }
.t-line em { position: absolute; bottom: calc(100% + 3px); left: 50%; transform: translateX(-50%); font: 600 11px/1 var(--mono); font-style: normal; white-space: nowrap; color: var(--muted); }
.t-ours { position: absolute; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); transform: translateX(-50%); }
.t-ours em { position: absolute; top: calc(100% + 5px); left: 50%; transform: translateX(-50%); font: 600 11px/1 var(--mono); font-style: normal; white-space: nowrap; color: var(--accent); }
.factors { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.factors li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; background: var(--bg); border-radius: 999px; padding: 5px 10px 5px 8px; }
.factors svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-result { font-size: 14px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 10px; }
.pc-result.won, .pc-result.saved { color: var(--h1); }
.pc-result.lost { color: var(--accent); }
.pc-result.miss, .pc-result.neutral { color: var(--muted); }
.pick.pass { background: none; border-style: dashed; }
.pick.pass .pk-name { font-size: 22px; }
.pk-reason { color: var(--muted); font-size: 15px; }
.day-strip { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.day-dots { display: flex; flex-wrap: wrap; gap: 5px; max-width: 420px; }
.day-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); }
.day-dots i.on { background: var(--accent); }
.cta-row { margin-top: 26px; }

/* Outs Report page */
.report-hero { padding-block: 56px 40px; }
.report-hero h1 { font-size: clamp(44px, 7vw, 80px); font-weight: 900; text-transform: uppercase; margin-top: 10px; }
.report-hero h1 em { font-style: normal; color: var(--accent); }
.report-hero .lead { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 56ch; }
.read-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.read-grid li { display: grid; gap: 8px; align-content: start; }
.read-grid svg { width: 38px; height: 38px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.read-grid h3 { font-size: 22px; text-transform: uppercase; }
.read-grid p { color: var(--muted); font-size: 15px; }
.tiers { margin-top: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: grid; gap: 10px; align-content: start; }
.tier h3 { font-size: 28px; text-transform: uppercase; }
.tier p { color: var(--muted); font-size: 15px; }
.pass-tier { background: none; border-style: dashed; }
.pass-mark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 900 16px/1 var(--display); background: var(--bg); color: var(--muted); }
.record { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 18px; }
.rec-row { display: grid; grid-template-columns: 210px minmax(0, 1fr) 130px; gap: 16px; align-items: center; }
.rec-lab { font-weight: 700; }
.rec-bar { position: relative; height: 20px; border-radius: 4px; background: var(--bg); }
.rec-bar i { display: block; height: 100%; border-radius: 4px; background: var(--mark-soft); }
.rec-bar i.bet { background: var(--accent); }
.rec-bar .even { position: absolute; left: 50%; top: -5px; bottom: -5px; width: 2px; background: var(--ink); }
.rec-val { text-align: right; font: 500 14px/1 var(--mono); color: var(--muted); }
.rec-val strong { font: 800 28px/1 var(--display); color: var(--ink); margin-right: 6px; }
.rec-note { font-size: 14px; color: var(--muted); }
.honest { margin-top: 18px; max-width: 70ch; }
.list-head { font-size: 26px; text-transform: uppercase; margin-top: 30px; }
.list-head + .pick-grid { margin-top: 14px; }
.rg { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--lamp); border-radius: 6px; padding: 22px; display: grid; gap: 10px; max-width: 72ch; }
.rg h2 { font-size: 32px; }

/* Hook Index */
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.page-head { padding-block: 52px 28px; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); text-transform: uppercase; }
.page-head .lead { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 64ch; }
.stats { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.stats div { display: grid; gap: 2px; }
.stats strong { font: 600 30px/1 var(--mono); font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px; min-width: 0; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 28px; text-transform: uppercase; }
.panel .sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.chart { position: relative; margin-top: 18px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--body); }
.tooltip { position: absolute; pointer-events: none; background: var(--ink); color: var(--bg); font-size: 13px; line-height: 1.4; padding: 8px 10px; border-radius: 4px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); z-index: 2; }
.tooltip[hidden] { display: none; }
.tooltip b { font-weight: 700; }
.scroll { overflow-x: auto; margin-top: 16px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
td { font-family: var(--mono); font-variant-numeric: tabular-nums; }
td:first-child { font-family: var(--body); font-weight: 600; }
th button { font: 600 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; }
th[aria-sort] button { color: var(--ink); }
th[aria-sort="ascending"] button::after { content: " \2191"; }
th[aria-sort="descending"] button::after { content: " \2193"; }
tbody tr:hover { background: var(--bg); }
.method { margin-top: 20px; display: grid; gap: 10px; color: var(--muted); font-size: 15px; max-width: 74ch; }
.method strong { color: var(--ink); }

/* About */
.prose { padding-block: 52px 64px; display: grid; gap: 18px; max-width: 66ch; font-size: 18px; }
.prose h1 { font-size: clamp(40px, 6vw, 64px); text-transform: uppercase; }
.prose h2 { font-size: 30px; text-transform: uppercase; margin-top: 18px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (max-width: 860px) {
  .game-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .field-box { max-width: 460px; margin: 0 auto; width: 100%; }
  .game { scroll-margin-top: 12px; }
  .split, .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .read-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rec-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .rec-row .rec-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 520px) {
  .stage { padding-block: 30px 40px; }
  .stage-head { margin-bottom: 20px; }
  .field-box { max-width: 290px; }
  .side { gap: 10px; }
  .team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .team-chip { padding: 11px 2px 9px; border-radius: 6px; }
  .team-chip b { font-size: 20px; }
  .team-chip span { display: none; }
  .pc-name { font-size: 26px; }
  .look { padding: 8px; min-height: 62px; }
  .look b { font-size: 16px; }
  .verdict [data-body] { padding: 20px; }
  .v-head h2 { font-size: 28px; }
  .meter { grid-template-columns: minmax(0, 1fr) auto; }
  .meter .m-track { grid-column: 1 / -1; grid-row: 2; }
  .m-word { min-width: 0; text-align: right; }
  .heat-row { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
  .read-grid, .tiers { grid-template-columns: minmax(0, 1fr); }
}

/* About page */
.about-hero { padding-block: 56px 60px; }
.about-hero .stage-head { margin-bottom: 0; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.player { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 14px; padding: 24px; display: grid; gap: 16px; align-content: start; }
.player-head { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 20px; align-items: center; }
.player-photo { width: 128px; height: 128px; object-fit: cover; object-position: center 30%; border-radius: 12px; display: block; background: var(--mark-soft); }
.player-head h2, .player-body h2 { font-size: 44px; text-transform: uppercase; line-height: 1; margin-top: 8px; }
.player-body { display: grid; gap: 12px; }
.player-body p { color: var(--muted); }
.player-role { font: 600 13px/1.35 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent) !important; }
.player-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.player-tags li { font: 600 13px/1 var(--body); padding: 7px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.player.dad { margin-top: 24px; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; }
.player-mark { width: 128px; height: 128px; object-fit: contain; border-radius: 12px; background: #f2f4f6; padding: 14px; }
.about-links { display: grid; gap: 12px; align-content: start; }
.about-link { display: grid; gap: 4px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.about-link:hover { transform: translateX(4px); }
.about-link b { font: 800 24px/1 var(--display); text-transform: uppercase; }
.about-link span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .team { grid-template-columns: minmax(0, 1fr); }
  .player-head, .player.dad { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .player-photo, .player-mark { width: 96px; height: 96px; }
  .player-head h2, .player-body h2 { font-size: 36px; }
}
.about-brand { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.about-brand img { width: 120px; height: 120px; object-fit: contain; background: #f2f4f6; border-radius: 18px; padding: 12px; }
.about-brand h1 { text-align: center; color: var(--night-fg); font-size: clamp(44px, 7vw, 84px); text-transform: uppercase; line-height: 1; }
@media (max-width: 520px) { .about-brand { gap: 16px; } .about-brand img { width: 84px; height: 84px; padding: 8px; } }
