/* morrow.news design system
   news (credibility) + broking (the numbers) + instagram (the feed)
   mobile first, fixed top and bottom bars, swipeable card feed */

:root {
  --paper: #ffffff;
  --ink: #14141a;
  --muted: #6b6b74;
  --faint: #9a9aa1;
  --line: #e8e7e1;
  --chip: #f3f2ec;
  --signal: #2b59ff;
  --hit: #157f43;
  --miss: #c0392b;
  --bar-h: 52px;
  --tab-h: 58px;
  --maxw: 600px;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e0e12; --ink: #f1f0ec; --muted: #9b9ba3; --faint: #6f6f78;
    --line: #26262e; --chip: #1a1a20; --signal: #6f8bff;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* fixed top bar */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--bar-h); z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.topbar .brand {
  font-family: var(--font-display); font-weight: 800; font-size: 21px;
  letter-spacing: -0.03em; text-decoration: none;
}
.topbar .brand .dot { color: var(--signal); }
.topbar .acc { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.topbar .acc b { color: var(--ink); font-weight: 500; }
.topbar .acc-pending {
  font-style: italic; letter-spacing: 0.02em;
  /* same visual weight as the called X/Y readout, just softer */
  color: var(--faint);
}

/* fixed bottom tab bar */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; height: var(--tab-h); z-index: 20;
  display: flex; align-items: center; justify-content: space-around;
  background: var(--paper); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  font-size: 12px; color: var(--muted); text-decoration: none; letter-spacing: 0.02em;
}
.tabbar a.active { color: var(--ink); font-weight: 500; }

/* the swipe feed */
.feed {
  height: 100svh; overflow-y: scroll; scroll-snap-type: y mandatory;
  padding-top: var(--bar-h); padding-bottom: var(--tab-h);
  /* Treat the fixed bars as dead space for snap landing so cards never
     start clipped under the header or footer. */
  scroll-padding-top: var(--bar-h);
  scroll-padding-bottom: var(--tab-h);
}
.card-snap {
  scroll-snap-align: start;
  min-height: calc(100svh - var(--bar-h) - var(--tab-h));
  display: flex; flex-direction: column; justify-content: center;
  padding: 22px 20px; border-bottom: 1px solid var(--line);
  max-width: var(--maxw); margin: 0 auto;
}

/* shared card pieces */
.eyebrow {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted); letter-spacing: 0.03em;
}
.byline { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; }
.byline .ava {
  width: 28px; height: 28px; border-radius: 50%; background: var(--chip);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; color: var(--muted);
}
.byline .who { color: var(--ink); }
.byline .role { color: var(--faint); }
.hook {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(23px, 6.6vw, 32px); line-height: 1.12; letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.teams { margin: 8px 0 0; font-size: 14px; color: var(--muted); }

.bar { margin-top: 18px; }
.bar-track {
  display: flex; height: 42px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line);
}
.seg { min-width: 0; }
.seg.lead { background: var(--signal); }
.seg.mid { background: var(--faint); }
.seg.low { background: var(--line); }
.bar-legend {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 12.5px; color: var(--muted);
}
.bar-legend b { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }

.callrow { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.callrow .big {
  font-family: var(--font-mono); font-weight: 500; font-size: 28px;
  color: var(--signal); line-height: 1;
}
.callrow .lbl { font-size: 13px; color: var(--muted); }
.callrow .pick {
  margin-left: auto; font-family: var(--font-mono); font-size: 12.5px;
  padding: 5px 11px; border-radius: 8px; background: var(--chip); color: var(--ink);
}

.track {
  display: flex; align-items: center; gap: 7px; margin-top: 12px;
  padding: 8px 11px; border-radius: 8px; background: var(--chip);
  font-size: 12.5px; color: var(--muted);
}
.track b { color: var(--ink); font-weight: 500; font-family: var(--font-mono); }

.stamp {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-family: var(--font-mono); font-size: 13px; padding: 5px 11px; border-radius: 999px;
}
.stamp.hit { color: var(--hit); background: rgba(21,127,67,0.12); }
.stamp.miss { color: var(--miss); background: rgba(192,57,43,0.12); }

.actions {
  display: flex; align-items: center; gap: 18px; margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.actions .ic { display: inline-flex; align-items: center; gap: 5px; }
.actions svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.actions .end { margin-left: auto; }

.cue {
  margin-top: 16px; text-align: center; font-size: 12px; color: var(--faint);
  letter-spacing: 0.03em;
}

.divider { text-align: center; color: var(--muted); }
.divider h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  margin: 0 0 6px; color: var(--ink);
}

/* article page */
.page { max-width: var(--maxw); margin: 0 auto; padding: calc(var(--bar-h) + 18px) 20px 90px; }
.back { font-size: 14px; color: var(--muted); text-decoration: none; }
.page h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 6vw, 40px); line-height: 1.06; letter-spacing: -0.025em; margin: 16px 0 0;
}
.deck {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(18px, 4.4vw, 22px); line-height: 1.25; margin: 14px 0 0;
}
.outcome-banner { margin-top: 20px; border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.outcome-banner.hit { background: rgba(21,127,67,0.10); }
.outcome-banner.miss { background: rgba(192,57,43,0.10); }
.outcome-banner .label {
  font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em;
}
.outcome-banner.hit .label { color: var(--hit); }
.outcome-banner.miss .label { color: var(--miss); }

.tier { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.tier h2 {
  font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--signal); font-weight: 500; margin: 0 0 14px;
}
.sources { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.sources li {
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px;
  display: flex; gap: 10px;
}
.sources li:last-child { border-bottom: 0; }
.sources li::before {
  counter-increment: s; content: counter(s);
  font-family: var(--font-mono); color: var(--faint); font-size: 13px; line-height: 1.5;
}
.sources .src-name { font-weight: 500; }
.sources .src-note { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.tier p { margin: 0 0 12px; }
.ref-head { font-weight: 500; margin: 0 0 12px !important; }

/* comments */
.comments { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.comments h2 { font-size: 16px; font-weight: 500; margin: 0 0 14px; }
.cmt { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cmt .ava {
  width: 30px; height: 30px; border-radius: 50%; background: var(--chip); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted);
}
.cmt .name { font-size: 13px; color: var(--muted); }
.cmt .body { font-size: 15px; line-height: 1.45; }
.cmt-form { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.cmt-form input, .cmt-form textarea {
  font-family: var(--font-body); font-size: 15px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink);
}
.cmt-form button {
  align-self: flex-start; font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 10px 18px; border-radius: 10px; border: 0; background: var(--signal); color: #fff; cursor: pointer;
}
.cmt-status { font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

.foot { max-width: var(--maxw); margin: 0 auto; padding: 22px 20px; color: var(--faint); font-size: 13px; }

/* Vertical pager: one topic per screen, no nested scrolling. */
.topic {
  scroll-snap-align: start;
  height: calc(100svh - var(--bar-h) - var(--tab-h));
  display: block;
}
.panel {
  width: 100%; height: 100%;
  padding: 0; border-bottom: 1px solid var(--line);
  display: block;
}
.panel-inner { margin: 0 auto; width: 100%; max-width: var(--maxw); padding: 10px 0; }
.depth {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--faint); letter-spacing: 0.04em; margin-bottom: 16px;
}
.depth .dots { display: flex; gap: 5px; }
.depth .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.depth .dot.on { background: var(--signal); }
.swipe-cue { margin-top: 16px; font-size: 12.5px; color: var(--faint); letter-spacing: 0.02em; }
.ptitle {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 6vw, 30px); letter-spacing: -0.02em; margin: 0 0 16px;
}

/* iPhone full-height fix: size to the real visible viewport, not 100vh */
.feed { height: var(--app-h, 100dvh); }
.topic { height: calc(var(--app-h, 100dvh) - var(--bar-h) - var(--tab-h)); }

/* cookie consent */
.cookie {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(var(--tab-h) + 10px + env(safe-area-inset-bottom)); z-index: 30;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; color: var(--ink); max-width: var(--maxw); margin: 0 auto;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
.cookie-act { display: flex; gap: 10px; justify-content: flex-end; }
.cookie button {
  font-family: var(--font-body); font-size: 14px; padding: 8px 16px;
  border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer;
}
.cookie button.primary { background: var(--signal); color: #fff; border-color: var(--signal); }

/* probability evolution */
.trend { margin-top: 4px; }
.trend-row { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.trend-date { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); width: 52px; flex-shrink: 0; }
.trend-bar { flex: 1; height: 10px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.trend-bar span { display: block; height: 100%; background: var(--signal); }
.trend-val { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); width: 110px; flex-shrink: 0; text-align: right; }
.trend-note { font-size: 14px; color: var(--muted); margin: 6px 0 0 62px; line-height: 1.45; }

.cookie[hidden] { display: none; }

/* Feed is the only vertical scroll context. */
.feed { touch-action: pan-y; overscroll-behavior-y: contain; }

/* Card layout. Vertically centered content; the panel is a closed, opaque
   block so the button never lets the next card's eyebrow bleed through. */
.panel {
  box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--paper);
  isolation: isolate;
  overflow: hidden;
}
.panel-inner {
  box-sizing: border-box; min-height: 100%; margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center;
  padding: 18px 20px 22px;
}

/* Intro topic: quiet welcome, no wordmark (the topbar carries the brand). */
.topic.intro .intro-hook {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 7.6vw, 44px); line-height: 1.12; letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.topic.intro .intro-sub {
  margin: 12px 0 0; font-size: 16px; color: var(--muted); max-width: 30ch;
}
.panel .hook {
  font-size: clamp(24px, 6.4vw, 34px); line-height: 1.16;
  overflow-wrap: break-word;
}
.panel .teams { overflow-wrap: break-word; }
.eyebrow { flex-wrap: wrap; gap: 4px 10px; }
.bar-legend { flex-wrap: wrap; row-gap: 4px; }
.bar-legend span { min-width: 0; }

/* The whole forecast card is the tap target; no explicit button. The JS in
   render.php opens the reader when the user taps anywhere inside the panel. */
.topic[data-slug] .panel-inner { cursor: pointer; }

/* Article page: title and deck wrap cleanly on narrow screens. */
.page h1 { overflow-wrap: break-word; }
.page .deck { overflow-wrap: break-word; }

/* First-visit onboarding overlay (ghost coachmarks). */
.onb {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(14,14,18,0.86);
  color: #f1f0ec;
  display: flex; flex-direction: column;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.onb[hidden] { display: none; }
.onb-skip { display: flex; justify-content: flex-end; padding: 14px 18px 0; }
.onb-skip button {
  background: transparent; border: 0; color: rgba(241,240,236,0.7);
  font-family: var(--font-body); font-size: 14px; padding: 6px 10px; cursor: pointer;
  letter-spacing: 0.02em;
}
.onb-stage {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 20px; text-align: center;
}
.onb-step {
  display: none; max-width: 320px;
  flex-direction: column; align-items: center; gap: 18px;
}
.onb-step.is-active { display: flex; }
.onb-step h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  margin: 4px 0 0; letter-spacing: -0.02em;
}
.onb-step p { margin: 0; font-size: 15px; color: rgba(241,240,236,0.78); line-height: 1.45; }
.onb-gesture {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--signal);
}
.onb-gesture svg { width: 56px; height: 56px; fill: currentColor; }
.onb-vert { flex-direction: column; gap: 6px; }
.onb-vert svg:nth-child(1) { animation: onbUp 1.6s ease-in-out infinite; }
.onb-vert svg:nth-child(3) { animation: onbDown 1.6s ease-in-out infinite; }
.onb-horz svg:nth-child(1) { animation: onbLeft 1.6s ease-in-out infinite; }
.onb-horz svg:nth-child(3) { animation: onbRight 1.6s ease-in-out infinite; }
.onb-dot {
  width: 12px; height: 12px; border-radius: 50%; background: rgba(241,240,236,0.4);
}
.onb-pill {
  display: inline-flex; align-items: center;
  background: var(--signal); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  animation: onbPulse 1.4s ease-in-out infinite;
}
/* Tap step: a small mock card outline behind the finger icon so the
   gesture clearly means "tap the content," not a specific button. */
.onb-tap { position: relative; }
.onb-card-mock {
  position: absolute; inset: 0; margin: auto;
  width: 120px; height: 80px;
  border: 1.5px solid rgba(241,240,236,0.35);
  border-radius: 10px;
  animation: onbPulse 1.4s ease-in-out infinite;
}
.onb-tap svg { position: relative; z-index: 1; }
@keyframes onbUp { 0%,100%{transform:translateY(6px);opacity:0.5;} 50%{transform:translateY(-2px);opacity:1;} }
@keyframes onbDown { 0%,100%{transform:translateY(-6px);opacity:0.5;} 50%{transform:translateY(2px);opacity:1;} }
@keyframes onbLeft { 0%,100%{transform:translateX(6px);opacity:0.5;} 50%{transform:translateX(-2px);opacity:1;} }
@keyframes onbRight { 0%,100%{transform:translateX(-6px);opacity:0.5;} 50%{transform:translateX(2px);opacity:1;} }
@keyframes onbPulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.05);} }
.onb-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px 22px; gap: 16px;
}
.onb-dots { display: flex; gap: 6px; }
.onb-dots span {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(241,240,236,0.3);
}
.onb-dots span.on { background: #fff; }
.onb-foot button.primary {
  background: var(--signal); color: #fff; border: 0;
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  cursor: pointer; min-height: 44px;
}

/* Reader overlay: a fresh horizontal pager, independent scroll context. */
.reader {
  position: fixed; inset: 0; z-index: 40;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top);
}
.reader[hidden] { display: none; }
body.reader-open { overflow: hidden; }
body.reader-open .feed { overflow: hidden; }
.reader-bar {
  flex: 0 0 auto; height: var(--bar-h); padding: 0 14px 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.reader-counter { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.reader-counter .rc-label {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: -0.01em; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.reader-counter .rc-pos {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
}
.reader-close {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.reader-track {
  flex: 1 1 auto; min-height: 0;
  display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  touch-action: pan-x; overscroll-behavior: contain;
  scrollbar-width: none;
}
.reader-track::-webkit-scrollbar { display: none; }
.station {
  flex: 0 0 100%; min-width: 100%; width: 100%; height: 100%;
  scroll-snap-align: start; scroll-snap-stop: always;
  overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.station-inner {
  box-sizing: border-box; width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 22px 20px 32px;
  display: block;
}
.station-inner > *:first-child { margin-top: 0; }
.station-inner .ptitle { margin-top: 4px; }
.station-inner .sources li { word-break: break-word; }
/* Hide the per-station counter, the reader bar carries the global one. */
.station .depth { display: none; }

/* Resolution: "What happened", final score plus story plus controversy. */
.resolution-head {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 4px 0 16px;
}
.resolution-score {
  font-family: var(--font-mono); font-weight: 500; font-size: 40px;
  color: var(--ink); letter-spacing: -0.02em; line-height: 1;
}
.resolution-text { margin: 0 0 14px; color: var(--ink); }
.ptitle-sub {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(18px, 4.6vw, 22px); letter-spacing: -0.015em;
  margin: 18px 0 8px;
}
.resolution-tier h2 { color: var(--signal); }

/* Article page: last updated line. */
.updated {
  margin: 12px 0 0; font-family: var(--font-mono); font-size: 12.5px;
  color: var(--muted); letter-spacing: 0.02em;
}

/* Hub page: every prediction for a competition. */
.hub-list { list-style: none; padding: 0; margin: 24px 0 0; }
.hub-list li { border-bottom: 1px solid var(--line); }
.hub-list li:last-child { border-bottom: 0; }
.hub-list a {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 0;
  text-decoration: none; color: var(--ink);
}
.hub-list .hub-title {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em; overflow-wrap: anywhere;
}
.hub-list .hub-hook { font-size: 15px; color: var(--ink); line-height: 1.4; overflow-wrap: anywhere; }
.hub-list .hub-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.hub-link { margin-top: 14px; font-size: 14px; }
.hub-link a { color: var(--signal); text-decoration: none; border-bottom: 1px solid var(--signal); padding-bottom: 1px; }

/* Article page: related predictions block. */
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { border-bottom: 1px solid var(--line); }
.related-list li:last-child { border-bottom: 0; }
.related-list a {
  display: flex; flex-direction: column; gap: 4px; padding: 12px 0;
  text-decoration: none; color: var(--ink);
}
.related-list .rel-title { font-weight: 500; font-size: 15px; }
.related-list .rel-meta { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------------------
   Brand card. One component, two contexts.
   - On the page: scales fluidly from ~320px to the article max-width.
   - In public/cards/{slug}.html: rendered at viewport 1200x630 for Playwright
     to screenshot as the og:image.
   clamp() values are chosen so the card reads well at both scales.
--------------------------------------------------------------------------- */
/* The card is always the inverse of the surrounding page, so it pops out as
   a contrast frame in any theme. Light page = dark card. Dark page = light
   card. The og:image screenshot is taken with prefers-color-scheme: dark
   forced, so the social preview is consistently the white-card variant. */
.brand-card {
  /* Default: light page, dark card. */
  background: #0e0e12;
  color: #f1f0ec;
  border: 1px solid #26262e;
  border-radius: 14px;
  padding: clamp(16px, 3.4vw, 64px) clamp(18px, 3.8vw, 70px);
  display: flex; flex-direction: column;
  gap: clamp(10px, 1.6vw, 22px);
  font-family: var(--font-body);
  margin: 0 0 14px;
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .brand-card {
    /* Dark page, light card. */
    background: #ffffff;
    color: #14141a;
    border-color: #e8e7e1;
  }
}
.bc-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.bc-wordmark {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(18px, 3.0vw, 40px);
  letter-spacing: -0.03em;
  text-decoration: none; color: inherit;
}
.bc-wordmark span { color: var(--signal); }
.bc-time {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(11px, 1.6vw, 20px);
  color: #9b9ba3; letter-spacing: 0.02em;
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  .bc-time { color: #6b6b74; }
}
.bc-eyebrow {
  margin: 0;
  font-size: clamp(11px, 1.9vw, 26px);
  color: #9b9ba3;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}
@media (prefers-color-scheme: dark) {
  .bc-eyebrow { color: #6b6b74; }
}
.bc-teams {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 4.8vw, 58px);
  line-height: 1.06; letter-spacing: -0.025em;
  margin: 0;
  overflow-wrap: anywhere; hyphens: auto;
}
/* Auto-shrink for long matchups so the headline stays on one line and the
   card does not look crowded. */
.bc-teams.is-long  { font-size: clamp(20px, 3.9vw, 46px); }
.bc-teams.is-xlong { font-size: clamp(18px, 3.1vw, 36px); }

/* The probability bar inside the brand card. Reuses .bar/.bar-track/.seg
   from the global rules; sizes, spacing and border colors get scoped here. */
.brand-card .bar { margin-top: 0; }
.brand-card .bar-track {
  height: clamp(28px, 3.8vw, 46px);
  border-radius: clamp(8px, 0.9vw, 14px);
  border-color: rgba(255,255,255,0.14);
}
.brand-card .bar-legend {
  font-size: clamp(11px, 1.6vw, 22px);
  margin-top: clamp(6px, 0.8vw, 12px);
  color: #9b9ba3;
}
.brand-card .bar-legend b { color: #f1f0ec; }
.brand-card .seg.low { background: rgba(255,255,255,0.18); }
.brand-card .seg.mid { background: rgba(255,255,255,0.42); }
@media (prefers-color-scheme: dark) {
  .brand-card .bar-track { border-color: rgba(20,20,26,0.10); }
  .brand-card .bar-legend { color: #6b6b74; }
  .brand-card .bar-legend b { color: #14141a; }
  .brand-card .seg.low { background: #e8e7e1; }
  .brand-card .seg.mid { background: #9a9aa1; }
}

.bc-result {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: clamp(6px, 1.2vw, 18px) clamp(10px, 1.8vw, 24px);
  margin-top: clamp(4px, 0.6vw, 10px);
}
.bc-fav-pct {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(40px, 7.2vw, 84px);
  color: var(--signal); line-height: 1;
}
.bc-fav-lbl, .bc-pick, .bc-called, .bc-final, .bc-badge, .bc-awaiting {
  font-size: clamp(14px, 2.5vw, 30px);
}
.bc-fav-lbl { color: inherit; }
.bc-pick { color: #9b9ba3; }
.bc-awaiting {
  color: #9b9ba3; font-style: italic;
  font-size: clamp(13px, 2.0vw, 24px);
}
.bc-result-resolved .bc-called { color: #9b9ba3; }
.bc-result-resolved .bc-final {
  font-family: var(--font-mono); font-weight: 600; color: inherit;
}
.bc-result-resolved .bc-badge {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(12px, 1.8vw, 22px);
  padding: 4px clamp(8px, 1vw, 14px);
  border-radius: 999px;
  background: rgba(255,255,255,0.10); color: inherit;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.bc-result-resolved.bc-hit .bc-badge { color: #5be39a; background: rgba(91,227,154,0.16); }
.bc-result-resolved.bc-miss .bc-badge { color: #ff8b7a; background: rgba(255,139,122,0.18); }

.bc-byline {
  margin: clamp(4px, 0.6vw, 10px) 0 0;
  font-size: clamp(11px, 1.6vw, 22px);
  color: #6f6f78;
}

@media (prefers-color-scheme: dark) {
  .bc-pick, .bc-awaiting, .bc-result-resolved .bc-called { color: #6b6b74; }
  .bc-result-resolved .bc-badge { background: rgba(20,20,26,0.06); }
  .bc-result-resolved.bc-hit .bc-badge { color: var(--hit); background: rgba(21,127,67,0.14); }
  .bc-result-resolved.bc-miss .bc-badge { color: var(--miss); background: rgba(192,57,43,0.14); }
  .bc-byline { color: #9a9aa1; }
}

/* Reader recap: slim bar styling, light text rows. */
.recap-pick, .recap-verdict {
  margin: 14px 0 0; font-size: 15px; color: var(--ink);
}
.recap-pick b, .recap-verdict b { color: var(--ink); font-weight: 600; }

/* Site footer. Same content used as the final snap topic on the home feed
   and as a normal section on article/hub pages, for E-E-A-T signals on
   every URL Google might land on. */
.footer-topic .panel-inner.footer-inner {
  justify-content: flex-start;
  padding-top: 28px; padding-bottom: 28px;
  overflow-y: auto;
}
.page-footer {
  max-width: var(--maxw); margin: 40px auto 0;
  padding: 28px 20px;
  border-top: 1px solid var(--line);
}
.footer { color: var(--ink); }
.footer .footer-h {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 4.6vw, 32px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.footer .footer-lede {
  margin: 0 0 22px;
  font-size: 15px; line-height: 1.5; color: var(--ink);
  max-width: 60ch;
}
.footer-cols {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  margin: 0 0 22px;
}
@media (min-width: 640px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
.footer-col h3 {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--signal); margin: 0 0 8px;
}
.footer-col p {
  margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink);
}
.footer .email {
  color: var(--signal); text-decoration: none;
  border-bottom: 1px solid var(--signal); padding-bottom: 1px;
  font-family: var(--font-mono); font-size: 13px;
}
.footer-fine {
  margin: 8px 0 0;
  font-size: 12px; color: var(--faint);
  font-family: var(--font-mono); letter-spacing: 0.02em;
}

/* Small social-media style share button, left-aligned under the brand card.
   Compact so the layout flows back close to the graphic. */
.share-row {
  display: flex; justify-content: flex-start;
  margin: 4px 0 0;
}
.share {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; border: 0;
  color: var(--muted); font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  padding: 4px 8px 4px 4px; border-radius: 999px;
  cursor: pointer; letter-spacing: 0.01em;
}
.share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.share:hover { color: var(--ink); }
.share:active { transform: translateY(1px); }

/* Icon-only variant for the reader header (no label, square tap target). */
.share.share-icon {
  width: 38px; height: 38px; padding: 0;
  border-radius: 50%;
}
.share.share-icon svg { width: 18px; height: 18px; }

/* Reader header right cluster: share button + close button. */
.reader-actions {
  display: flex; align-items: center; gap: 8px;
}

/* Share sheet. Custom popover shown when navigator.share is unavailable
   (HTTP local testing, desktop). Contains direct app deep links and a
   copy-link fallback. No third-party SDK, just plain hrefs. */
.share-sheet {
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: flex-end; justify-content: center;
}
.share-sheet[hidden] { display: none; }
body.share-open { overflow: hidden; }
.share-sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(14,14,18,0.5);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.share-sheet-card {
  position: relative;
  background: var(--paper); color: var(--ink);
  border-top-left-radius: 18px; border-top-right-radius: 18px;
  padding: 18px 20px calc(20px + env(safe-area-inset-bottom));
  width: 100%; max-width: var(--maxw);
  box-shadow: 0 -12px 32px rgba(0,0,0,0.18);
  animation: ssIn 180ms ease-out;
}
@keyframes ssIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.share-sheet-title {
  margin: 0 0 14px; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: var(--muted); letter-spacing: 0.02em;
}
.share-sheet-list {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.share-sheet-list li { display: flex; }
.ss-opt {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 4px; border: 0; background: transparent; cursor: pointer;
  text-decoration: none; color: var(--ink);
  font-family: var(--font-body); font-size: 12px;
}
.ss-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: #fff; letter-spacing: 0.02em;
}
.ss-icon.ss-wa { background: #25d366; }
.ss-icon.ss-tg { background: #229ed9; }
.ss-icon.ss-ml { background: #6b7280; font-size: 18px; font-family: var(--font-body); }
.ss-icon.ss-sm { background: var(--signal); }
.ss-icon.ss-cp { background: var(--ink); color: var(--paper); font-size: 11px; }
.ss-opt:active .ss-icon { transform: scale(0.95); }
.share-sheet-close {
  width: 100%; padding: 12px;
  background: var(--chip); color: var(--ink);
  border: 0; border-radius: 12px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  cursor: pointer;
}

/* Inline toast for the clipboard fallback. Single global element, fades in
   bottom-center, auto-hides after a moment. */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--tab-h) + 16px + env(safe-area-inset-bottom));
  z-index: 60;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-body); font-size: 14px;
  padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  max-width: 80vw; text-align: center;
}
.toast[hidden] { display: none; }

/* Card-link: an invisible <a> overlay that lets crawlers see the article URL
   and middle-click work, while the reader-tap JS handles plain left-clicks. */
.topic[data-slug] .panel-inner { position: relative; }
.card-link {
  position: absolute; inset: 0; z-index: 1;
  text-decoration: none; color: transparent;
}
.topic[data-slug] .panel-inner > *:not(.card-link) {
  position: relative; z-index: 2;
}

/* ---------------------------------------------------------------------------
   Group hub pages (world-cup-2026-group-<x>.html). Reuses .page, .hub, .deck,
   .tier and .brand-card. Adds the breadcrumb, the "one to watch" callout, the
   forecast card stack, and the tournament-hub group down-link nav. All colours
   come from the existing tokens so light and dark themes follow automatically.
--------------------------------------------------------------------------- */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 12px 0 4px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
}
.crumbs a {
  color: var(--muted); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 1px;
}
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current="page"] { color: var(--ink); }
.crumb-sep { color: var(--faint); }

.ones-to-watch {
  margin: 22px 0 4px; padding: 14px 16px;
  background: var(--chip); border-left: 3px solid var(--signal);
  border-radius: 8px;
}
.ones-to-watch .otw-label {
  margin: 0 0 6px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--signal);
}
.ones-to-watch p { margin: 0; }
.ones-to-watch p + p { font-size: 15px; line-height: 1.5; color: var(--ink); }

.hub-cards { margin-top: 26px; display: flex; flex-direction: column; gap: 26px; }
.hub-card { display: flex; flex-direction: column; }
.hub-card .brand-card { margin-bottom: 0; }
.hub-card-cta {
  align-self: flex-start; margin-top: 10px; font-size: 14px;
  color: var(--signal); text-decoration: none;
  border-bottom: 1px solid var(--signal); padding-bottom: 1px;
}

.hub-groups { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.hub-groups h2 { font-family: var(--font-display); font-size: 18px; margin: 0 0 12px; }
.hub-groups ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px 10px;
}
.hub-groups a {
  display: inline-block; padding: 7px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--ink); text-decoration: none;
}
.hub-groups a:hover { border-color: var(--signal); color: var(--signal); }

.group-teams p { font-size: 15px; color: var(--ink); }

/* ============================================================
   Desktop tier. Mobile stays untouched. Goals:
   - Center content on wide screens with a comfortable reading
     measure, so lines do not stretch edge to edge.
   - Allow the brand card to breathe a bit wider than the
     article copy, since it has its own internal padding.
   - Pull display headings down a notch so the page reads
     quieter at larger fonts.
   The feed (vertical snap pager) keeps its full-viewport mobile
   behaviour, but its content is recentered to a sensible width.
   ============================================================ */

@media (min-width: 768px) {
  /* Article and hub pages: comfortable text measure. */
  .page,
  .page-footer .footer,
  .footer-topic .panel-inner .footer { max-width: 680px; }

  /* Brand card may sit slightly wider than the article copy. */
  .panel-inner > .brand-card,
  .page .brand-card { max-width: 760px; margin-left: auto; margin-right: auto; }

  /* Feed cards: recenter the inner content so it does not span
     the whole viewport, but keep the snap container full width
     so the snap mechanics still work as before. */
  .panel-inner { max-width: 760px; }

  /* Quieter headings: drop the upper end of each clamp() one
     visual step. Lower bound and vw growth unchanged so mobile
     is identical. */
  .page h1     { font-size: clamp(28px, 6vw, 34px); }
  .bc-teams    { font-size: clamp(22px, 4.8vw, 44px); }
  .bc-teams.is-long  { font-size: clamp(20px, 3.9vw, 36px); }
  .bc-teams.is-xlong { font-size: clamp(18px, 3.1vw, 30px); }
  .deck        { font-size: clamp(18px, 4.4vw, 20px); }
  .ptitle      { font-size: clamp(22px, 6vw, 26px); }
  .panel .hook { font-size: clamp(24px, 6.4vw, 30px); }
  .footer .footer-h { font-size: clamp(22px, 4.6vw, 28px); }
}

@media (min-width: 1024px) {
  /* Wider screens: another small step quieter, slightly wider
     brand card so the bar and result row breathe. */
  .page,
  .page-footer .footer,
  .footer-topic .panel-inner .footer { max-width: 720px; }

  .panel-inner > .brand-card,
  .page .brand-card { max-width: 820px; }

  .panel-inner { max-width: 820px; }

  .page h1     { font-size: clamp(28px, 5vw, 32px); }
  .bc-teams    { font-size: clamp(22px, 4vw, 40px); }
  .bc-teams.is-long  { font-size: clamp(20px, 3.4vw, 32px); }
  .bc-teams.is-xlong { font-size: clamp(18px, 2.7vw, 28px); }
  .deck        { font-size: 19px; }
  .ptitle      { font-size: 24px; }
  .panel .hook { font-size: clamp(24px, 5vw, 28px); }
  .footer .footer-h { font-size: 26px; }
}

/* ---------------------------------------------------------------------------
   Tennis player pages and the Wimbledon 2026 hub. Reuses page, tier, eyebrow,
   deck, back, note, hub-link, updated and the brand-card frame. All colours
   come from the existing tokens.
--------------------------------------------------------------------------- */
.player-nat { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.player-hero { margin: 18px 0 6px; }

/* The branded player card, screenshot for the og:image. Inherits the dark
   brand-card frame and its light/dark inversion, only a different inner layout. */
.player-card { gap: clamp(14px, 2vw, 26px); }
.player-card .pc-tag {
  font-family: var(--font-mono); font-size: clamp(12px, 1.2vw, 16px);
  letter-spacing: 0.04em; color: inherit; opacity: 0.7;
}
.player-card .pc-body { display: flex; align-items: center; gap: clamp(18px, 3vw, 48px); }
.player-card .pc-main { min-width: 0; }
.player-card .pc-name {
  font-family: var(--font-display); font-weight: 800; line-height: 1.02;
  margin: 6px 0 14px; font-size: clamp(30px, 6vw, 74px); color: inherit;
}
.player-card .pc-chance { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.player-card .pc-pct {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 6.5vw, 80px); color: inherit;
}
.player-card .pc-label {
  font-family: var(--font-mono); font-size: clamp(11px, 1.1vw, 15px);
  color: inherit; opacity: 0.66; max-width: 22ch;
}
.player-card .pc-avatar { flex-shrink: 0; }

/* The branded match card, one per feed slot. Same dark brand-card frame as the
   forecast and player cards, a matchup-centric inner layout. */
.match-card .pc-tag {
  font-family: var(--font-mono); font-size: clamp(12px, 1.2vw, 16px);
  letter-spacing: 0.04em; color: inherit; opacity: 0.7;
}
.match-card .mc-body { display: flex; flex-direction: column; }
.match-card .mc-teams {
  font-family: var(--font-display); font-weight: 800; line-height: 1.03;
  margin: 6px 0 18px; font-size: clamp(28px, 5.2vw, 64px); color: inherit;
  display: flex; flex-direction: column;
}
.match-card .mc-vs {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(13px, 1.4vw, 18px); letter-spacing: 0.06em;
  opacity: 0.55; margin: 4px 0; text-transform: lowercase;
}
.match-card .mc-verdict { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.match-card .mc-pct {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 6vw, 72px); color: inherit;
}
.match-card .mc-label {
  font-family: var(--font-mono); font-size: clamp(11px, 1.1vw, 15px);
  color: inherit; opacity: 0.66; max-width: 24ch;
}
/* The match card's own probability bar reads on the dark frame. */
.match-card .tprob { margin: 4px 0 0; }
.match-card .tprob-track { background: rgba(255,255,255,0.16); }
.match-card .tprob-legend { color: inherit; opacity: 0.78; }

/* Match reader recap station. */
.rc-title {
  font-family: var(--font-display); font-weight: 800; line-height: 1.05;
  margin: 4px 0 12px; font-size: clamp(22px, 3.4vw, 34px);
}
.rc-pick { font-family: var(--font-mono); font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* Briefing feed card: sized so a long editorial title wraps and fits inside
   the brand-card frame instead of being clipped. */
.briefing-card .briefing-body { display: flex; flex-direction: column; min-width: 0; }
.briefing-title {
  font-family: var(--font-display); font-weight: 800; line-height: 1.08;
  margin: 6px 0 12px; font-size: clamp(20px, 3.2vw, 34px);
  overflow-wrap: anywhere;
}
.briefing-verdict { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.bv-pct {
  font-family: var(--font-display); font-weight: 800; color: inherit;
  font-size: clamp(26px, 5vw, 52px);
}
.bv-label { font-family: var(--font-mono); font-size: clamp(11px, 1.1vw, 14px); color: inherit; opacity: 0.7; }
.bv-tag { font-size: clamp(14px, 1.7vw, 19px); opacity: 0.92; }

/* Avatars. Photo only for a confirmed free image, otherwise the monogram. */
.player-figure { margin: 0; text-align: center; }
.player-avatar {
  width: clamp(96px, 16vw, 200px); height: clamp(96px, 16vw, 200px);
  border-radius: 50%; object-fit: cover; display: block;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.avatar-credit {
  margin-top: 6px; font-family: var(--font-mono); font-size: 11px;
  color: inherit; opacity: 0.6; text-align: center; max-width: 200px;
}
.avatar-mono {
  width: clamp(96px, 16vw, 200px); height: clamp(96px, 16vw, 200px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--signal); color: #fff;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 7vw, 84px); letter-spacing: 0.02em;
}

/* chance_deep bar on the page. */
.chance { margin: 6px 0 2px; }
.chance-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chance-pct { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--ink); }
.chance-label { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.chance-track {
  margin-top: 10px; height: 12px; border-radius: 999px;
  background: var(--chip); overflow: hidden;
}
.chance-fill { display: block; height: 100%; background: var(--signal); border-radius: 999px; }
.chance-note { margin: 8px 0 0; font-size: 12.5px; color: var(--faint); }

/* not playing block. */
.not-playing .what-if { color: var(--ink); }

/* player quote. */
.player-quote { margin: 0; padding: 0 0 0 16px; border-left: 3px solid var(--signal); }
.player-quote p { font-size: 17px; line-height: 1.5; color: var(--ink); margin: 0 0 8px; }
.player-quote footer { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.player-quote a { color: var(--signal); text-decoration: none; border-bottom: 1px solid var(--signal); }

/* sources and unknowns. */
.player-sources { list-style: none; padding: 0; margin: 0; }
.player-sources li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.player-sources li:last-child { border-bottom: 0; }
.player-sources a { color: var(--signal); text-decoration: none; }
.unknowns ul { margin: 0; padding-left: 18px; }
.unknowns li { color: var(--muted); font-size: 14px; margin: 4px 0; }

/* Tennis hub list, ATP and WTA split into sections. */
.player-list { list-style: none; padding: 0; margin: 10px 0 0; }
.player-list li { border-bottom: 1px solid var(--line); }
.player-list li:last-child { border-bottom: 0; }
.player-list a {
  display: flex; align-items: baseline; gap: 12px; padding: 12px 0;
  text-decoration: none; color: var(--ink);
}
.player-list .pl-rank {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
  width: 56px; flex-shrink: 0;
}
.player-list .pl-name { flex: 1; font-weight: 500; }
.player-list .pl-chance { font-family: var(--font-mono); font-weight: 700; color: var(--signal); }

/* Two big jump cards on the Wimbledon overview hub, one per sub-hub. */
.tennis-jumps {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  margin: 22px 0 8px;
}
@media (min-width: 560px) { .tennis-jumps { grid-template-columns: 1fr 1fr; } }
.tj-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 22px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--paper);
  text-decoration: none; color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tj-card:hover { border-color: var(--signal); transform: translateY(-1px); }
.tj-card .tj-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--signal);
}
.tj-card .tj-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 4.4vw, 26px); letter-spacing: -0.01em;
}
.tj-card .tj-meta { font-size: 13px; color: var(--muted); }

/* Minimal three-link footer nav: About, Methodology, Imprint. Replaces
   the previous multi-column footer that crowded the home feed's last
   snap topic. */
.footer-nav {
  display: flex; gap: 22px; flex-wrap: wrap;
  margin: 0 0 16px;
}
.footer-nav a {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--signal);
  padding-bottom: 2px;
  letter-spacing: -0.01em;
}
.footer-nav a:hover { color: var(--signal); }

/* Static legal/about/methodology pages share the .legal-page modifier
   on .page. Keeps tier headlines a bit tighter than article pages. */
.legal-page .tier h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 4.2vw, 26px);
  text-transform: none; letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 14px;
}
.legal-page .tier { margin-top: 28px; padding-top: 18px; }
.legal-page .tier p { font-size: 16px; line-height: 1.6; }

/* FAQ block on article pages. Mirrors the FAQPage JSON-LD in the head.
   Visible block is mandatory for Google to honour the schema. */
.faq { margin: 0; }
.faq dt {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; color: var(--ink);
  margin: 18px 0 6px;
}
.faq dt:first-child { margin-top: 0; }
.faq dd {
  margin: 0 0 4px; font-size: 15px; line-height: 1.55; color: var(--ink);
}

/* Track record: a correct call (right winner or draw) is green, an exact
   scoreline is green plus a star. Star drawn via CSS so no glyph lives in PHP. */
.topbar .acc .acc-stars { color: #caa43a; font-weight: 500; margin-left: 8px; }
.topbar .acc .acc-stars::after { content: " \2605"; }

.bc-result-resolved.bc-call .bc-badge { color: #5be39a; background: rgba(91,227,154,0.16); }
.bc-result-resolved.bc-hit .bc-badge::after { content: " \2605"; }

.stamp.call { color: var(--hit); background: rgba(21,127,67,0.12); }

.outcome-banner.call { background: rgba(21,127,67,0.10); }
.outcome-banner.call .label { color: var(--hit); }
.outcome-banner.hit .label::after { content: " \2605"; }

.recap-verdict.recap-hit, .recap-verdict.recap-call { color: var(--hit); }
.recap-verdict.recap-miss { color: var(--miss); }

@media (prefers-color-scheme: dark) {
  .bc-result-resolved.bc-call .bc-badge { color: var(--hit); background: rgba(21,127,67,0.14); }
}

/* Tennis deep player page: draw grid and the live results tracker. */
.draw-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 12px; }
.draw-cell { display: flex; flex-direction: column; gap: 2px; min-width: 92px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--chip); }
.draw-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted); }
.draw-v { font-size: 16px; font-weight: 600; color: var(--ink); }

.player-results { list-style: none; margin: 6px 0 0; padding: 0; }
.player-results li { display: flex; align-items: baseline; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line); }
.player-results li:last-child { border-bottom: 0; }
.res-round { font-family: var(--font-mono); font-size: 12px; color: var(--muted); min-width: 64px; }
.res-opp { flex: 1; color: var(--ink); }
.res-score { font-family: var(--font-mono); font-weight: 600; }
.player-results .res-win .res-score { color: var(--hit); }
.player-results .res-loss .res-score { color: var(--miss); }

/* Knockout ties: the model's pick to advance, since the bracket has no draws. */
.bc-advance { flex-basis: 100%; margin-top: 4px; color: var(--signal);
  font-family: var(--font-mono); font-size: clamp(11px, 1.5vw, 18px); letter-spacing: 0.02em; }
.knockout-advance { margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid var(--signal);
  background: var(--chip); border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.knockout-advance b { color: var(--ink); }
.recap-advance { color: var(--signal); }
.resolution-advance { margin: 6px 0 10px; color: var(--ink); }
.resolution-advance b { color: var(--signal); }

/* Tennis match cards and the two-way probability bar. */
.tm-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.tm-card { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--chip);
  text-decoration: none; color: var(--ink); }
.tm-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted); }
.tm-teams { font-size: 16px; font-weight: 600; }
.tm-fav { font-family: var(--font-mono); font-size: 13px; color: var(--signal); }
.tprob { margin: 6px 0 12px; }
.tprob-track { height: 8px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.tprob-fill { display: block; height: 100%; background: var(--signal); }
.tprob-legend { display: flex; justify-content: space-between; margin-top: 6px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* Odds-history sparkline on tennis match pages. */
.tspark { margin: 14px 0 4px; }
.tspark svg { display: block; width: 100%; max-width: 320px; height: auto; }
.tspark-mid { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.5; }
.tspark-line { fill: none; stroke: var(--signal); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tspark-dot { fill: var(--signal); }
.tspark figcaption { margin-top: 4px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }

/* Briefing (field forecast) contender ranking. Reuses the tprob bar. */
.field-list { list-style: none; margin: 8px 0 0; padding: 0; }
.field-row {
  display: grid; grid-template-columns: minmax(9ch, 1.4fr) 3fr auto;
  align-items: center; gap: 10px 12px; padding: 9px 0;
  border-top: 1px solid var(--hair, rgba(0,0,0,0.08)); }
.field-name { font-weight: 700; }
.field-row .tprob-track { height: 8px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.field-pct { font-family: var(--font-mono); font-weight: 700; text-align: right; }
.field-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }
