 :root {
   color-scheme: light dark;
   --ink: #1a1a1a;
   --red: #e1060a;
  --muted: #6e6e76;
   --line: #ececec;
   --panel: #fafafa;
   --pill: #e8f5e9;
   --pill-ink: #2e7d32;
   --page: #fff;
   --track: #666;
  --count-l: #767676;
  --thead: #767676;
  --round: #767676;
  --foot: #767676;
   --ad-border: #e2e2e2;
   --ad-bg: #fcfcfc;
   --ad-ink: #c9c9c9;
   --weekend-row: #fff9f9;
   --pill-next-bg: #eef2ff;
   --pill-next-ink: #3730a3;
  --band-line: #f0f0f0;
  --dim: #8f8f96;
  --eyebrow: #909497;
 }
 @media (prefers-color-scheme: dark) {
   :root {
     --ink: #f2f2f3;
     --red: #ff3b47;
     --muted: #9b9ba1;
     --line: #2b2b30;
     --panel: #161618;
     --pill: #1c3524;
     --pill-ink: #86d694;
     --page: #101012;
     --track: #b9b9bf;
     --count-l: #8d8d94;
     --thead: #7d7d84;
     --round: #6f6f76;
     --foot: #7d7d84;
     --ad-border: #333338;
     --ad-bg: #161618;
     --ad-ink: #63636a;
     --weekend-row: #221114;
     --pill-next-bg: #232347;
     --pill-next-ink: #b9b9ff;
     --band-line: #2b2b30;
     --dim: #6e6e76;
     --eyebrow: #a3a3ab;
   }
 }
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
}
.wrap { max-width: 620px; margin: 0 auto; padding: 0 24px 64px; }

/* Header */
.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 22px 0 14px;
  border-bottom: 1px solid var(--line);
}
.top .brand { font-weight: 800; font-size: 15px; letter-spacing: -.02em; }
.top .date { font-size: 12px; color: var(--muted); }

/* Verdict band */
 .verdict-band { padding: 46px 0 30px; text-align: center; border-bottom: 6px solid var(--band-line); }
 .verdict-band .eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 14px; }
.verdict {
  font-size: clamp(90px, 30vw, 180px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
  background: linear-gradient(120deg, var(--red), #ff6b5a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.verdict.dim {
  background: none;
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--dim);
}
.lead { font-size: clamp(20px, 5vw, 30px); font-weight: 600; margin-top: 4px; }

/* Race card */
.race-card {
  margin: 26px 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
}
.race-card .label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.race-card .gp { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
 .race-card .track { color: var(--track); margin-top: 3px; font-size: 15px; }
.countdown { display: flex; gap: 20px; margin-top: 18px; }
.countdown .t { font-size: 34px; font-weight: 800; }
 .countdown .l { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--count-l); margin-top: 4px; }
 .meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
 .meta b { color: var(--ink); font-weight: 600; }
 .meta .tgrid { display: inline-grid; grid-template-columns: max-content max-content; column-gap: 10px; font-variant-numeric: tabular-nums; vertical-align: top; }

/* Ad slot */
.ad {
  margin: 30px 0;
  border: 1px dashed var(--ad-border);
  border-radius: 10px;
  min-height: 250px;
  color: var(--ad-ink);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ad-bg);
}

 /* Data table: six-row viewport over the full season; header sticks while scrolling. */
 .table-scroll { margin-top: 30px; max-height: calc((14px * 1.55 + 23px) * 6); overflow-y: auto; overscroll-behavior: contain; }
 table { width: 100%; border-collapse: collapse; font-size: 14px; }
 thead th { position: sticky; top: 0; background: var(--page); z-index: 1; text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--thead); font-weight: 500; padding: 0 6px 8px; }
 th, td { text-align: left; padding: 11px 6px; border-bottom: 1px solid var(--band-line); }
td.race { font-weight: 700; }
td.muted { color: var(--muted); }
 td.round { color: var(--round); font-variant-numeric: tabular-nums; width: 1.4em; }
 tr.is-weekend { background: var(--weekend-row); }
.pill { display: inline-block; font-size: 11px; padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.pill-race { background: var(--pill); color: var(--pill-ink); }
 .pill-next { background: transparent; border: 1px solid var(--pill-next-ink); color: var(--pill-next-ink); }

/* Footer */
 .footer { margin-top: 34px; font-size: 12px; color: var(--foot); text-align: center; }
 .footer a { color: var(--foot); }
