[hidden] { display: none !important; }
:root {
  --bg: #f5f3ec;
  --surface: #ffffff;
  --ink: #0f1d17;
  --ink-soft: #5b6862;
  --line: #e2dfd4;
  --pitch: #0a7d4f;        /* primary */
  --pitch-ink: #ffffff;
  --lime: #c8f03c;         /* highlight */
  --good: #1aa364;
  --mid: #f2b320;
  --bad: #ef5b4c;
  --ticker-bg: #0f1d17;
  --ticker-ink: #e9efe9;
  --radius: 14px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1511;
    --surface: #14201b;
    --ink: #eef3ee;
    --ink-soft: #93a39b;
    --line: #23332c;
    --pitch: #1fb874;
    --pitch-ink: #04140c;
    --ticker-bg: #050a08;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; }

/* ---------- Ticker ---------- */
.ticker {
  display: flex;
  align-items: stretch;
  background: var(--ticker-bg);
  color: var(--ticker-ink);
  font-size: 13px;
  height: 38px;
  overflow: hidden;
}
.ticker-label {
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  background: var(--lime);
  color: #0f1d17;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 11px;
  flex-shrink: 0;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #e0322b;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: .3; } }

.ticker-viewport { flex: 1; overflow: hidden; position: relative; }
.ticker-viewport::after {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 40px;
  background: linear-gradient(to right, transparent, var(--ticker-bg));
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: scroll var(--ticker-duration, 60s) linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-viewport { overflow-x: auto; }
}

.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.ticker-item.muted { opacity: .6; }
.t-league {
  font-size: 10px; font-weight: 600; letter-spacing: .05em;
  color: var(--lime); text-transform: uppercase;
}
.t-team { font-weight: 600; }
.t-score { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
.t-status { font-size: 11px; opacity: .6; }
.t-status.live { color: #ff6b5e; opacity: 1; font-weight: 600; }
.t-logo { width: 16px; height: 16px; object-fit: contain; }

/* ---------- Header ---------- */
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 560px; width: 100%; margin: 0 auto;
  padding: 18px 16px;
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--pitch); }
.logo { display: inline-flex; align-items: center; }
.logo-icon {
  display: inline-block;
  width: .82em; height: .82em;
  margin-left: .12em;
  flex-shrink: 0;
}
.logo-icon svg { width: 100%; height: 100%; display: block; }
.logo-icon.roll { animation: roll-in .55s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes roll-in { from { transform: translateX(-6px) rotate(-200deg) scale(.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .logo-icon.roll { animation: none; } }
.header-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center;
  font-weight: 600;
}
.icon-btn:hover { border-color: var(--ink-soft); }

/* ---------- Layout ---------- */
main { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 8px 16px 40px; }
.screen { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px;
}
.hero {
  font-family: var(--display);
  font-size: clamp(52px, 14vw, 84px);
  line-height: .95;
  letter-spacing: -.04em;
  margin: 24px 0 18px;
}
.hero em {
  font-style: normal;
  color: var(--pitch);
  background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 90%, transparent 90%);
}
@media (prefers-color-scheme: dark) { .hero em { background: none; color: var(--lime); } }
.sub { color: var(--ink-soft); font-size: 17px; max-width: 34ch; margin: 0 0 28px; }
.fine { color: var(--ink-soft); font-size: 13px; margin: 14px 0 0; }

.streak-pill {
  display: inline-block;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; margin-bottom: 18px;
}

.btn-primary {
  display: block; width: 100%;
  padding: 16px 20px;
  border: 0; border-radius: var(--radius);
  background: var(--pitch); color: var(--pitch-ink);
  font-family: var(--display); font-weight: 700; font-size: 18px;
  transition: transform .1s ease, filter .15s;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { transform: scale(.98); }

.btn-ghost {
  background: none; border: 1px dashed var(--line);
  border-radius: 10px; padding: 8px 12px;
  font-size: 14px; color: var(--ink-soft);
}
.btn-ghost span { color: var(--bad); font-weight: 600; margin-left: 4px; }
.btn-ghost:disabled { opacity: .4; cursor: default; }

/* ---------- Quiz ---------- */
.quiz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.progress { display: flex; gap: 6px; }
.progress i {
  width: 28px; height: 6px; border-radius: 3px; background: var(--line);
}
.progress i.current { background: var(--ink); }
.progress i.g { background: var(--good); }
.progress i.y { background: var(--mid); }
.progress i.r { background: var(--bad); }
.score-live { font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }

.timer { height: 6px; background: var(--line); border-radius: 2px; overflow: hidden; margin-bottom: 26px; }
.timer-bar { height: 100%; width: 100%; background: var(--pitch); transform-origin: left; }
.timer-bar.low { background: var(--bad); }

.question {
  font-family: var(--display);
  font-size: clamp(24px, 6vw, 30px);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 22px;
}

.career-list {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.career-list li {
  padding: 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; font-size: 14px;
}
.career-list li.new { animation: fade .3s ease; }
.career-list li.arrow { padding: 0; border: 0; background: none; color: var(--ink-soft); font-weight: 400; }
.career-list li.blank {
  min-width: 64px; text-align: center;
  border: 1.5px dashed var(--ink-soft); background: transparent; color: var(--ink-soft);
}
.career-list li.blank.active { border-color: var(--pitch); color: var(--pitch); border-style: solid; box-shadow: 0 0 0 3px color-mix(in srgb, var(--pitch) 18%, transparent); }
.career-list li.hit { border-color: var(--good); background: color-mix(in srgb, var(--good) 14%, var(--surface)); }
.career-list li.miss { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, var(--surface)); }
.career-list li.miss s { opacity: .55; font-weight: 400; margin-right: 6px; }
.path-prompt { font-weight: 600; margin: -6px 0 12px; }
.path-prompt span { color: var(--ink-soft); font-weight: 400; }

/* Speed bonus label + threshold ticks on the timer */
.timer { position: relative; }
.timer .tick { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--bg); }
.bonus { font-size: 13px; font-weight: 600; margin: -18px 0 22px; color: var(--ink-soft); min-height: 20px; }
.bonus b { color: var(--pitch); }

.how-intro { margin: 0 0 6px; }
.how-small { font-size: 14px; color: var(--ink-soft); margin: 8px 0 0; }
.pts-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pts-table td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.pts-table td:last-child { text-align: right; font-family: var(--display); font-weight: 700; }
.fb-break { font-size: 14px; color: var(--ink-soft); margin: 0 0 10px; }

.options { display: grid; gap: 10px; }
.options.two { grid-template-columns: 1fr 1fr; }
.opt {
  text-align: left;
  padding: 15px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-weight: 500; font-size: 16px;
  transition: border-color .12s, transform .1s;
}
.options.two .opt { text-align: center; padding: 22px 12px; font-family: var(--display); font-weight: 700; font-size: 18px; }
.opt:hover:not(:disabled) { border-color: var(--ink); }
.opt:active:not(:disabled) { transform: scale(.99); }
.opt:disabled { cursor: default; }
.opt.correct { border-color: var(--good); background: color-mix(in srgb, var(--good) 14%, var(--surface)); }
.opt.wrong { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, var(--surface)); }
.opt.dim { opacity: .45; }

.feedback { margin-top: 22px; animation: fade .3s ease; }
.feedback-title { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0 0 6px; }
.feedback-fact {
  color: var(--ink-soft); margin: 0 0 18px;
  padding-left: 12px; border-left: 3px solid var(--lime);
}

/* ---------- Results ---------- */
.big-score {
  font-family: var(--display); font-weight: 700;
  font-size: 96px; line-height: 1; letter-spacing: -.05em;
  margin-top: 10px;
}
.big-score small { font-size: 28px; color: var(--ink-soft); letter-spacing: 0; }
.rank {
  display: inline-block;
  font-family: var(--display); font-weight: 700; font-size: 20px;
  background: var(--lime); color: #0f1d17;
  padding: 4px 12px; border-radius: 8px;
  margin: 14px 0 18px;
}
.grid-row { font-size: 34px; letter-spacing: 4px; margin-bottom: 24px; }
.toast { text-align: center; color: var(--pitch); font-weight: 600; font-size: 14px; }
.next-wrap { text-align: center; margin: 28px 0; }
.next-wrap .fine { margin: 0; }
.countdown { font-family: var(--display); font-weight: 700; font-size: 30px; margin: 2px 0 0; font-variant-numeric: tabular-nums; }

.recap { border-top: 1px solid var(--line); }
.recap-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.recap-item .sq { font-size: 18px; }
.recap-item p { margin: 0; }
.recap-item .a { color: var(--ink-soft); }
.recap-item .pts { margin-left: auto; font-weight: 600; white-space: nowrap; }

/* ---------- Modals ---------- */
.modal {
  border: 0; border-radius: 20px; padding: 28px 24px;
  width: min(420px, calc(100vw - 32px));
  background: var(--surface); color: var(--ink);
  position: relative;
}
.modal::backdrop { background: rgba(5, 12, 9, .55); backdrop-filter: blur(2px); }
.modal h3 { font-family: var(--display); font-size: 22px; margin: 0 0 18px; }
.modal h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin: 24px 0 10px; }
.close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 26px; color: var(--ink-soft); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-row b { display: block; font-family: var(--display); font-size: 28px; }
.stat-row span { font-size: 11px; color: var(--ink-soft); }
.dist-row { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.dist-bar { background: var(--line); border-radius: 4px; height: 22px; display: flex; align-items: center; justify-content: flex-end; padding: 0 8px; font-weight: 600; font-size: 12px; min-width: 26px; }
.dist-bar.hit { background: var(--pitch); color: var(--pitch-ink); }
.how { padding-left: 18px; margin: 0; }
.how li { margin-bottom: 10px; }

.site-footer { text-align: center; color: var(--ink-soft); font-size: 12px; padding: 20px 16px 28px; }

/* ---------- Ad slot ---------- */
.ad-slot { margin: 8px 0 28px; text-align: center; }
.ad-label { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.ad-slot .ad-body { min-height: 250px; display: grid; place-items: center; } /* reserve space so the page doesn't jump when the ad loads */
.ad-slot .ad-placeholder { width: 100%; max-width: 336px; height: 250px; }
.ad-placeholder {
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--ink-soft); font-size: 13px;
}

/* ---------- Footer links ---------- */
.footer-links { display: flex; justify-content: center; gap: 18px; margin-bottom: 8px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Content pages (About, Privacy, Contact) ---------- */
.page { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 8px 16px 48px; }
.page h1 { font-family: var(--display); font-size: clamp(36px, 9vw, 52px); letter-spacing: -.03em; line-height: 1; margin: 24px 0 8px; }
.page h2 { font-family: var(--display); font-size: 22px; letter-spacing: -.01em; margin: 32px 0 8px; }
.page p, .page li { color: var(--ink); }
.page .muted { color: var(--ink-soft); font-size: 14px; }
.page a { color: var(--pitch); font-weight: 500; }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 6px; }
.back-link { display: inline-block; margin-top: 32px; font-weight: 600; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin: 20px 0;
}
.contact-card a { font-family: var(--display); font-size: 20px; font-weight: 700; }
.site-header.wide { max-width: 640px; }

/* ---------- Top banner ad ---------- */
/* Phones: 320x50. Tablet/desktop (768px+): 728x90. Space is reserved so nothing jumps when the ad loads. */
.ad-banner {
  display: flex; justify-content: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.ad-banner .ad-body,
.ad-banner .adsbygoogle,
.ad-banner .ad-placeholder { width: 320px; height: 50px; }
@media (min-width: 768px) {
  .ad-banner .ad-body,
  .ad-banner .adsbygoogle,
  .ad-banner .ad-placeholder { width: 728px; height: 90px; }
}
.ad-banner .ad-placeholder { border-radius: 8px; }
.ad-banner .ad-placeholder::after { content: "Ad · 320 × 50"; }
@media (min-width: 768px) { .ad-banner .ad-placeholder::after { content: "Ad · 728 × 90"; } }

/* ---------- Sport accents ---------- */
/* Each sport gets its own accent (used for buttons, timer, highlights). Lime stays the brand highlight. */
[data-sport="soccer"]     { --pitch: #0a7d4f; }
[data-sport="basketball"] { --pitch: #c9501a; }
[data-sport="football"]   { --pitch: #b4232f; }
[data-sport="baseball"]   { --pitch: #1f4fd1; }
[data-sport="hockey"]     { --pitch: #0b7fa0; }
[data-sport="all"]        { --pitch: #6a2fd6; }
@media (prefers-color-scheme: dark) {
  [data-sport="soccer"]     { --pitch: #1fb874; }
  [data-sport="basketball"] { --pitch: #f07a3c; }
  [data-sport="football"]   { --pitch: #f0606a; }
  [data-sport="baseball"]   { --pitch: #6f93ff; }
  [data-sport="hockey"]     { --pitch: #3fc3e3; }
  [data-sport="all"]        { --pitch: #a57bff; }
}
body[data-sport] .logo span { color: var(--pitch); }

.sport-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; color: var(--pitch); flex-shrink: 0; }
.sport-icon svg { width: 100%; height: 100%; }
.sport-icon.big { width: 44px; height: 44px; }

/* ---------- Home ---------- */
.today-line { font-weight: 600; font-size: 14px; margin: -12px 0 16px; min-height: 1px; }
.sport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sport-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon text" "status status";
  gap: 10px 12px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s, transform .1s;
}
.sport-card:hover { border-color: var(--pitch); }
.sport-card:active { transform: scale(.98); }
.sport-card .sport-icon { grid-area: icon; width: 34px; height: 34px; }
.card-text { grid-area: text; display: flex; flex-direction: column; min-width: 0; }
.card-name { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.card-blurb { font-size: 12px; color: var(--ink-soft); line-height: 1.35; }
.card-status { grid-area: status; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.card-cta { font-weight: 700; color: var(--pitch); }
.card-score { color: var(--ink-soft); }
.card-score b { font-family: var(--display); font-size: 18px; color: var(--ink); }
.card-squares { font-size: 11px; letter-spacing: 1px; }
.card-streak { margin-left: auto; font-weight: 600; }
.sport-card.done { background: color-mix(in srgb, var(--pitch) 6%, var(--surface)); }

/* All Sports alone in the last row: stretch it across, as the headliner. */
.sport-grid > .sport-card.wide:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sport-card.wide {
  border-color: color-mix(in srgb, var(--pitch) 55%, var(--line));
  background: color-mix(in srgb, var(--pitch) 7%, var(--surface));
}
.badge {
  font-style: normal; font-family: var(--body); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  background: var(--pitch); color: #fff;
  padding: 2px 7px; border-radius: 999px; vertical-align: 3px;
}
@media (prefers-color-scheme: dark) { .badge { color: #0c1511; } }


/* ---------- Sport start screen ---------- */
.back { display: inline-block; font-size: 14px; font-weight: 600; color: var(--ink-soft); text-decoration: none; margin: 4px 0 18px; }
.back:hover { color: var(--ink); }
.sport-title { display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; }
.sport-title h1 { font-family: var(--display); font-size: clamp(44px, 12vw, 68px); letter-spacing: -.04em; line-height: 1; margin: 0; }

/* ---------- Next sport suggestions (results) ---------- */
.next-up { text-align: center; margin: 22px 0 4px; }
.next-up .fine { margin: 0 0 10px; }
.next-sports { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.next-sports a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none;
}
.next-sports a:hover { border-color: var(--pitch); }
.next-sports .sport-icon { width: 16px; height: 16px; }

/* Stats by sport */
.by-sport .sport-icon { width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; }
.by-sport td:last-child { font-family: var(--body); font-weight: 500; color: var(--ink-soft); }

/* Phones: sport cards become a single-column list (icon · name/blurb · status) */
@media (max-width: 560px) {
  .sport-grid { grid-template-columns: 1fr; gap: 8px; }
  .sport-card {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "icon text status";
    padding: 12px 14px;
  }
  .sport-card .sport-icon { width: 30px; height: 30px; }
  .card-name { font-size: 17px; }
  .card-status { flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
  .card-streak { margin-left: 0; font-size: 12px; }
}

/* ---------- Story teaser (home + results) ---------- */
.story-teaser {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  margin: 18px 0 4px; padding: 14px 16px;
  border-radius: var(--radius); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); text-decoration: none;
}
.story-teaser:hover { border-color: var(--pitch); }
.story-teaser { padding: 10px 16px 10px 10px; }
.st-text { display: grid; min-width: 0; }
.st-kicker { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.st-title { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.25; }
.st-cta { font-size: 13px; font-weight: 700; color: var(--pitch); white-space: nowrap; }
@media (max-width: 480px) {
  .story-teaser { grid-template-columns: 96px minmax(0, 1fr); }
  .st-cta { grid-column: 2; }
}

/* ---------- Story thumbnail (a miniature of the story cover) ---------- */
.thumb {
  position: relative; overflow: hidden; display: grid; align-content: end;
  aspect-ratio: 16 / 9; width: 100%; max-width: 100%;
  border-radius: 10px; background: #0f1d17; color: #f5f3ec;
  padding: 7% 8%;
  container-type: inline-size;
}
.thumb-icon { position: absolute; right: -6%; top: -18%; width: 62%; aspect-ratio: 1; color: var(--pitch); opacity: .9; }
.thumb-icon svg { width: 100%; height: 100%; display: block; }
.thumb-big { position: relative; font-family: var(--display); font-weight: 700; font-size: 25cqi; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.thumb-line { position: relative; font-family: var(--display); font-weight: 700; font-size: 8.5cqi; line-height: 1.3; margin-top: 2cqi; }
.thumb-line b { background: var(--lime); color: #0f1d17; padding: 0 1.6cqi; border-radius: 1.4cqi; }

/* ---------- Story article ---------- */
.story { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 8px 16px 56px; }
.story .back { margin-bottom: 14px; }
.story-title { font-family: var(--display); font-size: clamp(36px, 8vw, 56px); line-height: 1.02; letter-spacing: -.03em; margin: 8px 0 10px; text-wrap: balance; }
.story-dek { font-size: 19px; color: var(--ink-soft); margin: 0 0 6px; text-wrap: pretty; }
.story-meta { font-size: 13px; color: var(--ink-soft); margin: 0 0 22px; }

.story-cover {
  margin: 0 0 28px; position: relative; overflow: hidden;
  aspect-ratio: 16 / 9; max-width: 100%;
  border-radius: 18px;
  background: #0f1d17; color: #f5f3ec;
  display: grid; align-content: end; padding: clamp(18px, 4vw, 32px);
}
.cover-icon { position: absolute; right: -6%; top: -18%; width: 62%; aspect-ratio: 1; color: var(--pitch); opacity: .9; }
.cover-icon svg { width: 100%; height: 100%; }
.cover-date { font-family: var(--display); font-weight: 700; font-size: clamp(54px, 15vw, 112px); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; position: relative; }
.cover-line { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 4vw, 26px); position: relative; }
.cover-line b { background: var(--lime); color: #0f1d17; padding: 0 8px; border-radius: 6px; }

.story-body { font-size: 18px; line-height: 1.7; }
.story-body p { margin: 0 0 1.1em; max-width: 65ch; }
.story-body .ad-slot { margin: 28px 0; }

.by-numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 30px 0; }
.by-numbers div { border-top: 3px solid var(--pitch); padding-top: 10px; }
.by-numbers b { display: block; font-family: var(--display); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.by-numbers span { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 560px) { .by-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pop-quiz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 30px 0 16px; }
.pq-q { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 0 0 12px; }
.pq-options { display: grid; gap: 8px; }
.pq-options button { text-align: left; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 500; }
.pq-options button:hover:not(:disabled) { border-color: var(--ink); }
.pq-options button.correct { border-color: var(--good); background: color-mix(in srgb, var(--good) 14%, var(--surface)); }
.pq-options button.wrong { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, var(--surface)); }
.pq-result { font-weight: 600; margin: 12px 0 0; }

.play-cta {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: var(--radius);
  background: var(--pitch); color: var(--pitch-ink); text-decoration: none; font-size: 16px;
}
.play-cta .sport-icon { color: var(--pitch-ink); width: 26px; height: 26px; }
.play-cta .arrow { margin-left: auto; font-size: 20px; font-weight: 700; }
.story-share { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; }
.story-share button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-weight: 600; cursor: pointer; }
.story-share span { color: var(--pitch); font-weight: 600; }

.factcheck {
  margin: 10px 0 18px; padding: 12px 14px; border-radius: 10px;
  background: #fdf3d6; color: #5c4300; font-size: 13px; line-height: 1.5;
  border: 1px dashed #c99a1d;
}
.factcheck b { display: block; margin-bottom: 2px; }

/* ---------- Stories index ---------- */
.story-list { display: grid; gap: 10px; margin-top: 20px; }
.story-card {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 16px; border-radius: var(--radius); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); text-decoration: none;
}
.story-card:hover { border-color: var(--pitch); }
.story-card { padding: 12px 16px 12px 12px; }
@media (max-width: 560px) {
  .story-card { grid-template-columns: minmax(0, 1fr) auto; padding: 12px; }
  .story-card .thumb { grid-column: 1 / -1; }
}
.sc-text { display: grid; gap: 2px; min-width: 0; }
.sc-kicker { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.sc-title { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.sc-dek { font-size: 14px; color: var(--ink-soft); }
.sc-time { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }

/* ---------- Page layout: stories | game | league tables ---------- */
/* Phones: game, stories, tables stacked. Laptops (1000px+): game + tables, stories under the game.
   Wide screens (1320px+): stories | game | tables. */
.layout {
  flex: 1; width: 100%; display: grid; justify-content: center;
  grid-template-columns: minmax(0, 560px);
  grid-template-areas: "main" "stories" "side";
  padding: 8px 16px 40px; gap: 36px;
}
.layout > main { grid-area: main; max-width: none; margin: 0; padding: 0; min-width: 0; }
.leftcol { grid-area: stories; min-width: 0; display: grid; gap: 28px; align-content: start; }
.storybar, .boardbar { min-width: 0; }
.sidebar { grid-area: side; min-width: 0; }
@media (min-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 560px) 330px; grid-template-rows: auto 1fr; grid-template-areas: "main side" "stories side"; gap: 36px 44px; align-items: start; }
  .sidebar { position: sticky; top: 16px; }
  .site-header:not(.wide) { max-width: 966px; }
}
@media (min-width: 1320px) {
  .layout { grid-template-columns: 280px minmax(0, 560px) 330px; grid-template-rows: auto; grid-template-areas: "stories main side"; }
  .leftcol { position: sticky; top: 16px; }
  .site-header:not(.wide) { max-width: 1290px; }
}

/* With nothing in the left column (FEATURES in sports.js): no empty row on phones, and wide screens
   keep the two-column game + tables layout. */
@media (max-width: 999px) {
  .layout:has(> .leftcol[hidden]) { grid-template-areas: "main" "side"; }
}

@media (min-width: 1320px) {
  .layout:has(> .leftcol[hidden]) { grid-template-columns: minmax(0, 560px) 330px; grid-template-rows: auto; grid-template-areas: "main side"; }
  body:has(.layout > .leftcol[hidden]) .site-header:not(.wide) { max-width: 966px; }
}

/* With the league tables turned off (FEATURES in sports.js), go back to a single centered column. */
@media (min-width: 1000px) {
  .layout:has(> .sidebar[hidden]) { grid-template-columns: minmax(0, 560px); grid-template-rows: auto; grid-template-areas: "main" "stories"; }
  body:has(.layout > .sidebar[hidden]) .site-header:not(.wide) { max-width: 560px; }
}

/* League tables off but the left column on: keep the left column beside the game on wide screens. */
@media (min-width: 1000px) {
  .layout:has(> .sidebar[hidden]):has(> .leftcol:not([hidden])) { grid-template-columns: 280px minmax(0, 560px); grid-template-rows: auto; grid-template-areas: "stories main"; }
  body:has(.layout > .sidebar[hidden]):has(.layout > .leftcol:not([hidden])) .site-header:not(.wide) { max-width: 916px; }
}

/* ---------- League tables + leaders ---------- */
.sidebar { display: grid; gap: 14px; }
.league-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.league-picker button {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 5px 11px; font-size: 13px; font-weight: 600;
}
.league-picker button:hover { border-color: var(--ink-soft); }
.league-picker button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.side-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 10px; }
.side-label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.side-title { margin: 2px 0 10px; font-family: var(--display); font-size: 20px; letter-spacing: -.01em; }
.side-note { margin: 6px 0; font-size: 14px; color: var(--ink-soft); }
.side-asof { margin: -4px 2px 0; font-size: 12px; color: var(--ink-soft); }
.tbl-group { margin: 12px 0 2px; font-family: var(--display); font-weight: 700; font-size: 15px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); text-align: right; padding: 4px; border-bottom: 1px solid var(--line); }
.tbl td { text-align: right; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.tbl .n { text-align: center; width: 26px; color: var(--ink-soft); font-weight: 600; }
.tbl .t { text-align: left; }
.tbl td.t { display: flex; align-items: center; gap: 7px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.tbl td.t span { overflow: hidden; text-overflow: ellipsis; }
.tbl td.t img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.tbl .pts { font-family: var(--display); font-weight: 700; font-size: 14px; }
.tbl tr:last-child td { border-bottom: 0; }
.ldr + .ldr { margin-top: 12px; }
.ldr-title { margin: 4px 0 4px; font-family: var(--display); font-weight: 700; font-size: 15px; }
.ldr ol { list-style: none; margin: 0; padding: 0; }
.ldr li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ldr li:last-child { border-bottom: 0; }
.ldr-rank { color: var(--ink-soft); text-align: center; font-weight: 600; }
.ldr-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ldr-name small { font-size: 11px; color: var(--ink-soft); font-weight: 600; }
.ldr li b { font-family: var(--display); font-weight: 700; font-size: 15px; }

/* ---------- Stories column ---------- */
/* When the column is showing, it already features today's story, so skip the duplicate cards. */
.layout:has(#storyRail:not([hidden])) :is(#startStory, #resultStory) { display: none; }
.storybar .side-title { margin-bottom: 14px; }
.rail-list { display: grid; gap: 12px; }
.rail-card {
  display: grid; gap: 4px; padding: 8px 8px 12px;
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); border-radius: var(--radius);
  text-decoration: none;
}
.rail-card:hover { border-color: var(--pitch); }
.rail-card .thumb { aspect-ratio: 16 / 9; margin-bottom: 4px; }
.rail-kicker { padding: 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.rail-title { padding: 0 4px; font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.2; }
.rail-more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14px; color: var(--pitch); text-decoration: none; }
.rail-more:hover { text-decoration: underline; }
@media (max-width: 1319px) {
  .rail-list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* ---------- Logo on the "How to play" card ---------- */
.modal-brand { padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.modal-brand .logo { font-size: 26px; }

/* ---------- Server connection problems ---------- */
.net-error { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--bad) 12%, var(--surface)); color: var(--ink); font-size: 14px; border: 1px solid color-mix(in srgb, var(--bad) 40%, transparent); }
.opt.picked { border-color: var(--ink); }

/* Toast: short confirmations anywhere on the site */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: 50; max-width: min(440px, calc(100vw - 32px));
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

/* "% got it right" */
.pct { margin: -4px 0 12px; font-size: 14px; font-weight: 600; color: var(--pitch); }

/* ---------- Your rank on the results screen ---------- */
.rank-line { margin: -6px 0 18px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rank-line p { margin: 0 0 4px; }
.text-btn { background: none; border: 0; padding: 0; color: var(--pitch); font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; }
.text-btn:hover { text-decoration: underline; }

/* ---------- Forms: nickname, email, leagues ---------- */
.nick-form { margin: 12px 0 0; }
.nick-form label, .league-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.nick-row { display: flex; gap: 8px; }
.nick-row input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; }
.nick-row button { border: 0; border-radius: 10px; padding: 10px 14px; background: var(--pitch); color: var(--pitch-ink); font-weight: 600; white-space: nowrap; }
.nick-row button:disabled { opacity: .6; }
.form-note { margin: 6px 0 0; font-size: 13px; color: var(--ink-soft); }
.form-note.error { color: var(--bad); }
.form-note a { color: var(--pitch); font-weight: 600; }

/* ---------- Leaderboard ---------- */
.board-title { font-family: var(--display); font-size: clamp(34px, 9vw, 48px); line-height: 1; letter-spacing: -.03em; margin: 4px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.chip:hover { border-color: var(--ink-soft); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.ghost { background: transparent; border-style: dashed; color: var(--ink-soft); }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 12px; }
.tabs button { border: 0; background: transparent; border-radius: 9px; padding: 8px 4px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.tabs button[aria-selected="true"] { background: var(--pitch); color: var(--pitch-ink); }
.league-form, .league-info, .nick-card { margin: 0 0 14px; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.league-info p { margin: 0 0 8px; font-size: 14px; }
.invite-row { display: flex; gap: 8px; margin-bottom: 8px; }
.invite-row input { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 13px; }
.invite-row button { border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 8px 12px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.nick-card .nick-form { margin: 0; }
.board-me { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; margin-bottom: 10px; border-radius: var(--radius); background: color-mix(in srgb, var(--pitch) 10%, var(--surface)); border: 1.5px solid var(--pitch); font-size: 15px; }
.bm-rank { font-family: var(--display); font-weight: 700; font-size: 22px; }
.bm-top { font-size: 13px; font-weight: 600; color: var(--pitch); white-space: nowrap; }
.board-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.board-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.board-list li:last-child { border-bottom: 0; }
.board-list li.me { background: color-mix(in srgb, var(--pitch) 8%, var(--surface)); }
.br-rank { font-family: var(--display); font-weight: 700; color: var(--ink-soft); text-align: center; }
.board-list li:nth-child(-n + 3) .br-rank { color: var(--pitch); }
.br-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-name em { font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--pitch); margin-left: 4px; }
.br-extra { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.br-value { font-family: var(--display); font-weight: 700; white-space: nowrap; }
.board-list li.board-empty { display: block; color: var(--ink-soft); font-size: 14px; padding: 18px 14px; }
@media (max-width: 420px) { .br-extra { display: none; } .board-list li { grid-template-columns: 30px minmax(0, 1fr) auto; } }

/* ---------- Badges + account (stats pop-up) ---------- */
.badge-list { display: flex; flex-wrap: wrap; gap: 6px; }
.badge-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--pitch) 12%, var(--surface)); font-size: 13px; font-weight: 600; }
.badge-chip .sport-icon { width: 15px; height: 15px; }
.account { margin-top: 6px; }
.acct-row { margin: 0 0 6px; font-size: 15px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }

/* ---------- Leaderboard card (left column) ---------- */
.board-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.soon-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.board-card .side-title { margin: 4px 0 8px; }
.soon-badge { flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--lime); color: #0f1d17; }
.soon-text { margin: 0 0 12px; font-size: 14px; color: var(--ink-soft); }
.soon-me { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--pitch) 10%, var(--surface)); font-size: 14px; font-weight: 600; }
.soon-boards { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.soon-boards li { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.soon-boards li:last-child { border-bottom: 0; padding-bottom: 0; }
.soon-boards b { color: var(--ink); font-weight: 600; }
.soon-preview { display: grid; gap: 8px; margin: 0 0 12px; }
.soon-row { display: grid; grid-template-columns: 18px 1fr 40px; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.soon-row i { height: 10px; border-radius: 5px; background: var(--line); }
.soon-row i + i { justify-self: end; width: 100%; }
.soon-foot { margin: 0; font-size: 13px; color: var(--ink-soft); }
.mini-board { list-style: none; margin: 0 0 10px; padding: 0; }
.mini-board li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini-board li:last-child { border-bottom: 0; }
.mini-board li.me { font-weight: 700; }
.mini-board .mb-rank { color: var(--ink-soft); font-weight: 600; text-align: center; }
.mini-board .mb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-board .mb-val { font-family: var(--display); font-weight: 700; }

/* ---------- Testers: flag button, feedback links, invite screen ---------- */
.q-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.q-head .eyebrow { margin: 0; }
.flag-btn {
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer;
}
.flag-btn:hover:not(:disabled) { border-color: var(--bad); color: var(--bad); }
.flag-btn.done { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); cursor: default; }
.flag-btn.small { margin-top: 8px; padding: 3px 9px; font-size: 11px; }
.tester-pill {
  display: inline-grid; place-items: center; height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.tester-pill:hover { border-color: var(--ink-soft); }
.tester-card {
  display: grid; gap: 2px; margin: -6px 0 18px; padding: 12px 14px; border-radius: var(--radius);
  border: 1.5px dashed var(--pitch); background: color-mix(in srgb, var(--pitch) 6%, var(--surface));
  color: var(--ink); text-decoration: none;
}
.tester-card span { font-size: 14px; color: var(--pitch); font-weight: 600; }
.flag-reasons { border: 0; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.flag-reasons legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.flag-reasons label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 15px; }
.flag-reasons label:has(input:checked) { border-color: var(--pitch); background: color-mix(in srgb, var(--pitch) 8%, var(--surface)); }
.flag-reasons input { accent-color: var(--pitch); width: 18px; height: 18px; margin: 0; }
.flag-note { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
#flagModal textarea, .fb-form textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; resize: vertical; }
#flagModal .btn-primary { margin-top: 14px; }
.invite-form { margin-top: 4px; }

/* ---------- Feedback page ---------- */
.fb-form { display: grid; gap: 22px; margin-top: 18px; }
.fb-q { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.fb-q legend, .fb-q > label { font-weight: 600; font-size: 16px; padding: 0; margin-bottom: 8px; }
.fb-q .hint { font-size: 13px; color: var(--ink-soft); font-weight: 400; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.scale label, .feel label { position: relative; }
.scale input, .feel input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.scale span, .feel span {
  display: grid; place-items: center; min-height: 48px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-family: var(--display); font-weight: 700; font-size: 18px;
}
.feel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.feel span { font-family: var(--body); font-weight: 600; font-size: 14px; min-height: 42px; }
.scale input:checked + span, .feel input:checked + span { background: var(--pitch); color: var(--pitch-ink); border-color: var(--pitch); }
.scale input:focus-visible + span, .feel input:focus-visible + span { outline: 2px solid var(--pitch); outline-offset: 2px; }
.scale-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); }
.fb-form select { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; }
.fb-thanks { text-align: center; padding: 30px 0 10px; }
.fb-thanks .big { font-size: 48px; margin: 0; }
.fb-thanks h2 { margin: 10px 0 6px; }
