/* Nipbacker design system: V2 Analytics' grounds, lime and type; Brief72's sky and rounded controls.
   Lime marks what's live and the one action a screen is for. Wins are solid, losses hatched. */
:root {
  --paper: #F7F8F4; --card: #FFFFFF; --sunk: #EEF1E9;
  --ink: #080A0B; --ink-2: #343A35; --muted: #5B645C;
  --line: #D0D9CD; --line-2: #B4BFB0;
  --lime: #D8FF3E; --lime-text: #4D6300;
  --sky: #6EC1F5; --sky-soft: #DDF0FD; --sky-text: #1B6FAD;
  --night: #080A0B; --night-2: #161A18; --night-line: #2A312C;
  --on-night: #F7F8F4; --on-night-soft: #A3ADA5;
  --danger: #A3261C;
  --focus: #1B6FAD;
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #050606; --card: #0F1211; --sunk: #0A0C0B;
    --ink: #F7F8F4; --ink-2: #C7CEC6; --muted: #8F9990;
    --line: #232A25; --line-2: #36403A;
    --lime-text: #D8FF3E; --sky-soft: #10283A; --sky-text: #8FD0F8;
    --night: #000000; --night-2: #121513; --night-line: #262D28;
    --danger: #F08C80; --focus: #8FD0F8;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; }
a { color: var(--sky-text); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
p { margin: 0; max-width: 68ch; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
table, .num, .big { font-variant-numeric: tabular-nums; }
code { font-family: var(--font-mono); font-size: .85em; }
.wrap { max-width: 1180px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.label { font: 600 11.5px/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fine { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Top bar, dev banner, flash ─────────────────────────────── */
.devbar { background: var(--sky); color: #080A0B; font: 600 12px/1 var(--font-display); letter-spacing: .06em;
  text-transform: uppercase; text-align: center; padding: 7px 16px; }
.top { background: var(--night); color: var(--on-night); border-bottom: 1px solid var(--night-line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 62px; flex-wrap: wrap; }
/* Logos are the supplied outlines (brand/logo-kit); never retyped. Clear space: ¼ of the tile. */
.logo { display: inline-flex; align-items: center; text-decoration: none; padding: 8px 0; }
.logo img { display: block; height: 30px; width: auto; }
.logo-foot img { height: 38px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a, .nav button { color: var(--on-night-soft); text-decoration: none; font: 500 14px/1 var(--font-body);
  padding: 9px 12px; border-radius: 999px; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button:hover { color: var(--on-night); background: var(--night-2); }
.nav a[aria-current="page"] { color: var(--on-night); background: var(--night-2); }
.nav .btn { padding: 9px 16px; }
.nav .btn-primary, .nav .btn-primary:hover { background: var(--lime); color: #080A0B; }
.nav form { margin: 0; }
.flash { background: var(--lime); color: #080A0B; border-bottom: 1px solid #080A0B; }
.flash p { padding-block: 12px; font-weight: 600; font-size: 15px; max-width: none; }

/* ── Buttons, chips, forms ──────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px/1 var(--font-body);
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--ink); text-decoration: none; cursor: pointer;
  background: transparent; color: var(--ink); }
.btn-primary { background: var(--lime); color: #080A0B; border-color: #080A0B; }
.btn-small { padding: 8px 13px; font-size: 13px; }
.btn-danger { border-color: var(--danger); color: var(--danger); }
.top .btn { color: var(--on-night); border-color: var(--on-night-soft); }
.top .btn-primary { color: #080A0B; border-color: #080A0B; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font-body); padding: 6px 10px;
  border-radius: 999px; background: var(--sky-soft); color: var(--sky-text); white-space: nowrap; }
.chip-out { background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); }
.live { display: inline-flex; align-items: center; gap: 7px; font: 700 11.5px/1 var(--font-display); letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 10px 6px 9px; border-radius: 999px; background: var(--lime); color: #080A0B;
  border: 1px solid #080A0B; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #080A0B; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .live i { animation: none; } }
.form { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label-text { font-weight: 600; font-size: 14.5px; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--card); border: 1.5px solid var(--line-2);
  border-radius: 10px; padding: 11px 13px; width: 100%; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px var(--sky-soft); }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.error { border: 1.5px solid var(--danger); color: var(--danger); background: var(--card); border-radius: 10px;
  padding: 12px 14px; font-weight: 600; font-size: 14.5px; }
.inline-form { display: inline; margin: 0; }

/* ── Hero and fact band ─────────────────────────────────────── */
.hero { background: var(--night); color: var(--on-night); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 56px 52px; }
.kick { display: flex; align-items: center; gap: 10px; font: 600 11.5px/1.2 var(--font-display); letter-spacing: .09em;
  text-transform: uppercase; color: var(--lime); }
.hero h1 { font: 600 clamp(48px, 7.6vw, 96px)/.95 var(--font-display); letter-spacing: -.06em; margin: 20px 0 22px; }
.hero h1 em { font-style: normal; color: var(--lime); display: block; }
.hero p.sub { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.5; max-width: 40ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero .btn { color: var(--on-night); border-color: var(--on-night-soft); }
.hero .btn-primary { color: #080A0B; border-color: #080A0B; }
.pitch svg { width: 100%; max-width: 320px; display: block; margin-inline: auto; }
.pa-strip { fill: var(--night-2); stroke: var(--night-line); }
.pa-line { stroke: var(--on-night-soft); opacity: .5; }
.pa-length { fill: var(--sky); opacity: .08; }
.pa-dot { fill: var(--sky); opacity: .55; }
.pa-stump { fill: var(--on-night); }
.pa-dash { fill: none; stroke: var(--on-night-soft); stroke-width: 1.5; stroke-dasharray: 4 5; }
.pa-path { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; }
.pa-pitch { fill: var(--lime); }
.pa-box { fill: none; stroke: var(--lime); stroke-width: 1.2; }
.pa-lab { fill: var(--lime); font: 600 9.5px var(--font-display); letter-spacing: .1em; }
.band { background: var(--lime); color: #080A0B; }
.band-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 13px;
  font: 600 12px/1.3 var(--font-display); letter-spacing: .09em; text-transform: uppercase; }

/* ── Page sections ─────────────────────────────────────────── */
main { padding-block: 48px 88px; display: flex; flex-direction: column; gap: 72px; }
.sec { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.sec-head { display: flex; flex-direction: column; gap: 12px; }
.sec-head .kick { color: var(--lime-text); }
h1.page, h2 { font: 600 clamp(32px, 4.6vw, 54px)/1 var(--font-display); letter-spacing: -.05em; }
h3 { font: 600 21px/1.15 var(--font-display); letter-spacing: -.025em; }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 64ch; }
.prose { display: flex; flex-direction: column; gap: 14px; color: var(--ink-2); max-width: 70ch; }
.prose h3 { color: var(--ink); margin-top: 12px; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.notice { background: var(--sunk); border-radius: 10px; padding: 16px 18px; color: var(--ink-2); font-size: 15px; }
.notice b { color: var(--ink); }
.draft-note { border: 1.5px dashed var(--line-2); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--muted); }

/* ── Stats ─────────────────────────────────────────────────── */
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line);
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.strip > div { background: var(--card); padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.strip b { font: 600 46px/.9 var(--font-display); letter-spacing: -.05em; }
.strip b small { font-size: .4em; letter-spacing: -.01em; color: var(--muted); margin-left: 3px; }
.strip span { font-size: 13.5px; color: var(--muted); }
.strip-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strip-lead b { font-size: clamp(56px, 7vw, 84px); }
.strip-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel { background: var(--night); color: var(--on-night); border-radius: 10px; padding: 22px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; box-shadow: inset 0 0 0 1px var(--night-line); }
.chart-fig { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.chart-fig figcaption { font-size: 13.5px; color: var(--on-night-soft); }
.chart-fig figcaption strong { font: 600 19px/1 var(--font-display); letter-spacing: -.02em; color: var(--on-night); margin-right: 8px; }
.chart-scroll { overflow-x: auto; }
/* A chart that ends today opens scrolled to its latest days on a narrow screen. */
.chart-scroll-end { direction: rtl; } .chart-scroll-end > svg { direction: ltr; }
svg.chart { display: block; width: 100%; min-width: 420px; height: auto; }
.ch-grid { stroke: var(--night-line); } .ch-zero { stroke: var(--on-night-soft); }
.ch-lab { fill: var(--on-night-soft); font: 500 11px var(--font-body); }
.ch-pos { fill: var(--on-night); } .ch-now { fill: var(--lime); }
.ch-neg { fill: url(#hatch); stroke: var(--on-night); stroke-width: 1.25; }
.ch-now-neg { stroke: var(--lime); stroke-width: 2; }
.ch-hatch-bg { fill: var(--night); } .ch-hatch-line { stroke: var(--on-night); stroke-width: 1.6; }
.ch-area { fill: var(--sky); fill-opacity: .2; } .ch-line { fill: none; stroke: var(--sky); stroke-width: 2.25; stroke-linejoin: round; }
.ch-end { fill: var(--lime); stroke: var(--night); stroke-width: 2; }
.ch-endlab { fill: var(--lime); font: 600 13px var(--font-display); paint-order: stroke;
  stroke: var(--night); stroke-width: 4px; stroke-linejoin: round; }
.ch-title { fill: var(--on-night); font: 600 12.5px var(--font-display); }
.ch-pt { fill: var(--sky); }
.panel-one { grid-template-columns: 1fr; gap: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--on-night-soft); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { display: inline-block; flex: none; }
.k-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--sky); }
.k-ci { display: inline-flex !important; align-items: flex-end; gap: 3px; height: 12px; }
.k-ci b { display: inline-block; height: 12px; background: var(--sky); opacity: .45; }
.k-dash { width: 18px; border-top: 2px dashed var(--on-night-soft); }
.k-line { width: 18px; border-top: 2.5px solid var(--sky); }
.k-won { width: 11px; height: 11px; border-radius: 2px; background: var(--sky); }
.k-bar { width: 11px; height: 11px; border-radius: 2px; background: var(--on-night); }
.k-now { width: 11px; height: 11px; border-radius: 2px; background: var(--lime); }
.k-hatch { width: 11px; height: 11px; border-radius: 2px; box-shadow: inset 0 0 0 1.25px var(--on-night);
  background: repeating-linear-gradient(135deg, transparent 0 2.5px, var(--on-night) 2.5px 4px); }
.panel-note { grid-column: 1 / -1; font-size: 13.5px; color: var(--on-night-soft); border-top: 1px solid var(--night-line); padding-top: 14px; max-width: none; }
.empty { border: 1.5px dashed var(--line-2); border-radius: 10px; padding: 28px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--ink); font: 600 20px/1.2 var(--font-display); margin-bottom: 6px; }

/* ── Tip card ──────────────────────────────────────────────── */
.tips { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.tip { border: 1px solid var(--line); border-radius: 10px; background: var(--card); display: flex; flex-direction: column; overflow: hidden; }
.tip-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 18px 0; }
.tip-fx { font-size: 13px; color: var(--muted); }
.tip-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 16px 18px 0; }
.tip-market { font-size: 13.5px; color: var(--muted); }
.tip-sel { font: 600 30px/1.02 var(--font-display); letter-spacing: -.04em; margin-top: 4px; }
.tip-odds { font: 600 56px/.85 var(--font-display); letter-spacing: -.06em; white-space: nowrap; text-align: right; }
.tip-odds small { display: block; font: 600 10.5px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.tip-chance { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 0; }
.chance { display: grid; grid-template-columns: 96px minmax(0, 1fr) 42px; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); }
.chance b { font: 600 15px/1 var(--font-display); text-align: right; color: var(--ink); }
.bar { height: 12px; background: var(--sunk); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; }
.bar-ours { background: var(--ink); } .bar-mkt { background: var(--sky); }
.tip-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 18px 0; border-top: 1px solid var(--ink); }
.tip-stats > div { padding: 10px 10px 0 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tip-stats > div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.tip-stats dt { font: 600 10.5px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tip-stats dd { margin: 0; font: 600 22px/1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
.tip-stats small { font: 500 12px/1 var(--font-body); color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.tip-why { padding: 14px 18px 0; font-size: 14.5px; color: var(--ink-2); }
.tip-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 16px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.tip-meta a { color: var(--muted); }
.tip.locked .tip-sel, .tip.locked .tip-odds span { filter: blur(7px); user-select: none; }
.lockbar { margin: 14px 18px 0; padding: 12px 14px; background: var(--sunk); border-radius: 8px; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }

/* ── Tables ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; min-width: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { font: 600 10.5px/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
th:first-child, td:first-child { padding-left: 0; } th:last-child, td:last-child { padding-right: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
td a { color: var(--ink); font-weight: 600; text-decoration: none; } td a:hover { text-decoration: underline; }
.fmt { display: inline-block; font: 600 10px/1 var(--font-display); letter-spacing: .06em; padding: 3px 6px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2); margin-right: 6px; vertical-align: 1px; text-transform: uppercase; }
.res { display: inline-block; font: 700 10.5px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 3px; border: 1.5px solid var(--ink); }
.res-won, .res-half_won { background: var(--ink); color: var(--paper); }
.res-lost, .res-half_lost { color: var(--ink); background: repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--ink) 22%, transparent) 4px 5.5px); }
.res-void { border-color: var(--line-2); color: var(--muted); }
.res-open { border-color: var(--lime-text); color: var(--lime-text); }
.pl { font: 600 15px/1 var(--font-display); color: var(--ink); }
.hash { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.filters .field { min-width: 150px; }

/* ── Calibration (as spyglass-cricket's Results tab draws it) ── */
svg.cal-chart { min-width: 540px; }
.cal-diagonal { stroke: var(--on-night-soft); stroke-width: 1.5; stroke-dasharray: 5 4; opacity: .8; }
.cal-ci { stroke: var(--sky); opacity: .45; }
.cal-line { fill: none; stroke: var(--sky); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.cal-dot { fill: var(--sky); stroke: var(--night); stroke-width: 2; }
.cal-won { fill: var(--sky); }
.cal-lost { fill: url(#hatch); stroke: var(--on-night); stroke-width: 1.25; }
.cal-hit { fill: transparent; }
.cal-hit:hover { fill: color-mix(in srgb, var(--on-night) 6%, transparent); }
.cal-table summary { cursor: pointer; color: var(--on-night-soft); font-size: 13.5px; }
.cal-table[open] summary { margin-bottom: 8px; }
.panel th { color: var(--on-night-soft); border-bottom-color: var(--on-night-soft); }
.panel td { color: var(--on-night); border-bottom-color: var(--night-line); }

/* ── Plans ─────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.plan-pro { background: var(--night); color: var(--on-night); border-color: var(--night-line); }
.plan-pro .label { color: var(--lime); }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.plan-price b { font: 600 clamp(56px, 6.4vw, 76px)/.9 var(--font-display); letter-spacing: -.06em; }
.plan-price span { font-size: 16px; color: var(--muted); }
.plan-pro .plan-price span { color: var(--on-night-soft); }
.plan-tag { align-self: flex-start; font: 700 11.5px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px; background: var(--lime); color: #080A0B; border: 1px solid #080A0B; }
.plan-pro .plan-tag { background: transparent; color: var(--sky); border-color: var(--sky); }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.plan-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.plan-list li::before { content: ""; width: 10px; height: 5px; margin-top: 6px; border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.plan-pro .plan-list { border-top-color: var(--night-line); }
.plan-pro .plan-list li { color: var(--on-night); }
.plan-pro .plan-list li::before { border-color: var(--lime); }
.plan-foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 4px; }
.plan-pro .btn { color: var(--on-night); border-color: var(--on-night-soft); }
.plan-pro .fine { color: var(--on-night-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.app-use { white-space: pre-line; min-width: 260px; }

/* ── How tips are made: when we suggest a bet ──────────────── */
.edge { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 40px; align-items: start; }
.edge-cap { font-size: 13.5px; color: var(--ink-2); }
.strip.edge-out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.edge-out > div { padding: 14px; }
.edge-out b { font-size: 40px; }
.strip .gain { color: var(--lime-text); }

/* ── Account and admin ─────────────────────────────────────── */
.two { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.side { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 20px; }
.side a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.side a:hover { background: var(--sunk); }
.side a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.drafts { display: flex; flex-direction: column; gap: 16px; }
.draft { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; scroll-margin-top: 20px; }
.draft dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: 14px; }
.draft dt { color: var(--muted); } .draft dd { margin: 0; color: var(--ink); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.status { font: 600 12px/1.3 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.feedbox { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--ink-2); }

/* ── Footer ────────────────────────────────────────────────── */
.foot { background: var(--night); color: var(--on-night-soft); font-size: 13.5px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); }
.foot p { max-width: 70ch; } .foot p + p { margin-top: 10px; }
.foot a { color: var(--on-night); }
.foot nav { display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 900px) {
  .hero-in, .foot-in, .two, .draft, .panel, .plans, .edge { grid-template-columns: 1fr; }
  .pitch { display: none; }
  .side { position: static; flex-direction: row; flex-wrap: wrap; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .strip, .strip-lead, .grid2, .grid3 { grid-template-columns: 1fr; }
  .tip-odds { font-size: 46px; }
  .tips { grid-template-columns: 1fr; }
  .draft dl { grid-template-columns: 1fr; }
}
