/* Hallmark floor stamp: ILT20 Season 5. Official public palette: night purple #140224, card #2f0557, pink #f00080, lime #b9e249. Critique: hero is a photographed ground with a timer, not a gradient card. Waive long-read label rules: this is a match-day magazine. */
/* tokens live here and nowhere else */
:root {
  --bg: #140224;
  --bg-2: #200438;
  --surface: #2f0557;
  --surface-2: #38004f;
  --ink: #ffffff;
  --muted: #e4d8ec;
  --faint: #b8a6c8;
  --line: #6d1b9c;
  --gold: #b9e249;
  --gold-2: #caff54;
  --gold-ink: #140224;
  --pink: #f00080;
  --pink-2: #d40071;
  --live: #de0004;
  --teal: #10b981;
  --paper: #f7f1fb;
  --rail-adkr: #7c3aed;
  --rail-dv: #e8a317;
  --rail-dc: #e11d48;
  --rail-gg: #f97316;
  --rail-mie: #3b82f6;
  --rail-sw: #fb7185;
  --shadow: none;
  --serif: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --sans: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
  --measure: 66ch;
  --pad: clamp(16px, 3vw, 28px);
  --r: 12px;
  --r-sm: 8px;
  --space: 8px;
  --team: var(--gold);
  color-scheme: dark;
}
html[data-theme="dark"] {
  --bg: #140224;
  --bg-2: #200438;
  --surface: #2f0557;
  --surface-2: #38004f;
  --ink: #ffffff;
  --muted: #e4d8ec;
  --faint: #b8a6c8;
  --line: #6d1b9c;
  --gold: #b9e249;
  --gold-2: #caff54;
  --gold-ink: #140224;
  --pink: #f00080;
  --live: #de0004;
  --teal: #10b981;
  --paper: #f7f1fb;
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #f7f1fb;
  --bg-2: #efe6f6;
  --surface: #ffffff;
  --surface-2: #f3e9fa;
  --ink: #140224;
  --muted: #5c456e;
  --faint: #7a6490;
  --line: #e4d3ef;
  --gold: #5a7a12;
  --gold-2: #3f5a0c;
  --gold-ink: #ffffff;
  --pink: #c4006a;
  --live: #de0004;
  --teal: #047857;
  --paper: #ffffff;
  color-scheme: light;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fraunces-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}
*,
*::before,
*::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  overflow-x: clip;
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--gold-ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - var(--pad) * 2)); margin-inline: auto; }
.wrap-narrow { width: min(720px, calc(100% - var(--pad) * 2)); margin-inline: auto; }
.mast {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.score-strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}
.score-strip strong { color: var(--ink); font-weight: 600; }
.mast-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand svg { width: 32px; height: 32px; flex: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.85rem; letter-spacing: 0.04em; line-height: 0.9; text-transform: uppercase; }
.brand-sub { display: block; color: var(--gold); font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav a, .tool {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: transparent;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav a[aria-current="page"] { color: var(--gold); }
.tool { border: 1px solid var(--line); border-radius: var(--r-sm); min-width: 44px; justify-content: center; }
.menu-btn { display: none; }
.status {
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--r-sm);
  padding: 4px 10px;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.status b { color: var(--live); font-weight: 600; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: end;
  padding: 28px 0 8px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0 0 12px;
  overflow-wrap: break-word;
  min-width: 0;
}
.lede { font-size: 1.15rem; max-width: 38ch; margin: 0 0 16px; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--gold);
  cursor: pointer;
  background: var(--gold);
  color: var(--gold-ink);
}
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn:hover { filter: brightness(1.06); }
.btn.hot { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn.hot:hover { background: var(--pink-2); border-color: var(--pink-2); filter: none; }
.ticket {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 16px 14px;
  position: relative;
}
.ticket::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: var(--team);
}
.kicker { margin: 0 0 6px; color: var(--muted); font-size: 0.92rem; }
.ticket h2, .block h2, .prose h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
  overflow-wrap: break-word;
}
.ticket h2 { font-size: 1.55rem; margin: 0 0 8px; }
.meta-line { color: var(--muted); margin: 0; }
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.board div {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 4px;
  text-align: center;
  background: var(--bg-2);
}
.board b {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.board span { color: var(--muted); font-size: 0.78rem; }
.section { padding: 28px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 14px;
}
.section-head h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; font-weight: 600; }
.section-head a { font-size: 0.98rem; }
.grid-5, .grid-3, .grid-6, .grid-2 { display: grid; gap: 12px; }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .team-card, .story, .stat, .callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-width: 0;
}
.card, .story { padding: 14px; }
.card h3, .story h3, .team-card h3 { margin: 0 0 6px; font-size: 1.05rem; font-family: var(--serif); font-weight: 600; }
.card p, .story p, .team-card p { margin: 0; color: var(--muted); }
.card a, .story a { color: var(--ink); text-decoration: none; }
.card a:hover, .story a:hover, .team-card:hover h3 { color: var(--gold); }
.team-card {
  display: block;
  padding: 14px 12px 14px 14px;
  text-decoration: none;
  color: var(--ink);
  border-left: 3px solid var(--rail, var(--gold));
}
.mono {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--rail, var(--gold));
}
.stat { padding: 12px 14px; }
.stat b { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.stat span { color: var(--muted); font-size: 0.92rem; }
.answer {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 14px;
  margin: 0 0 18px;
  max-width: var(--measure);
}
.answer p { margin: 0; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 92px;
  border-left: 1px solid var(--line);
  padding-left: 12px;
  font-size: 0.95rem;
}
.toc p { margin: 0 0 6px; color: var(--muted); }
.toc ol { margin: 0; padding-left: 18px; }
.toc a { color: var(--ink); text-decoration: none; }
.prose { max-width: 72ch; }
.prose h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; margin: 8px 0 12px; overflow-wrap: break-word; }
.prose h2 { font-size: 1.55rem; margin: 1.4em 0 0.4em; }
.prose h3 { font-family: var(--serif); font-size: 1.2rem; margin: 1.2em 0 0.3em; font-weight: 600; }
.prose p, .prose li { max-width: var(--measure); }
.crumbs { color: var(--muted); font-size: 0.92rem; margin: 16px 0 0; }
.crumbs a { color: var(--muted); }
.stamp { color: var(--faint); font-size: 0.92rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
th { font-weight: 600; font-size: 0.92rem; color: var(--muted); background: var(--bg-2); position: sticky; top: 0; }
td:first-child, th:first-child { position: sticky; left: 0; background: var(--surface); }
tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--surface) 88%, var(--bg) 12%); }
tbody tr:nth-child(even) td:first-child { background: color-mix(in srgb, var(--surface) 88%, var(--bg) 12%); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.filters label { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 0.88rem; }
select, input, textarea {
  min-height: 44px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  font: inherit;
}
textarea { min-height: 120px; width: 100%; }
.tz {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 14px 0 16px;
  padding: 10px 12px;
  background: #200438;
  border: 1px solid #6d1b9c;
  border-radius: 16px;
}
.tz-label {
  color: #e4d8ec;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 4px;
}
.tz button {
  min-height: 44px;
  min-width: 72px;
  padding: 0 16px;
  border-radius: 10px;
  border: 2px solid #b9e249;
  background: #431066;
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.tz button[aria-pressed="true"] {
  background: #b9e249;
  color: #140224;
  border-color: #b9e249;
}
html[data-theme="light"] .tz {
  background: #fff;
  border-color: #e4d3ef;
}
html[data-theme="light"] .tz-label { color: #5c456e; }
html[data-theme="light"] .tz button {
  background: #fff;
  color: #140224;
  border-color: #c4006a;
}
html[data-theme="light"] .tz button[aria-pressed="true"] {
  background: #c4006a;
  color: #fff;
  border-color: #c4006a;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
summary:hover { color: var(--gold); }
.author {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  display: grid;
  place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: var(--serif);
  color: var(--gold);
}
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related a {
  display: block;
  min-height: 44px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
}
.related a:hover { border-color: var(--gold); }
.foot { border-top: 1px solid var(--line); margin-top: 20px; padding: 28px 0 40px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 18px; }
.foot h2 { font-family: var(--serif); font-size: 1rem; color: var(--ink); margin: 0 0 8px; font-weight: 600; }
.foot a { display: flex; align-items: center; color: var(--muted); text-decoration: none; padding: 4px 0; min-height: 44px; }
.foot a:hover { color: var(--gold); }
.foot .fine { margin-top: 18px; font-size: 0.9rem; }
.callout { padding: 12px 14px; margin: 14px 0; }
.callout strong { color: var(--ink); }
.diagram { overflow-x: auto; margin: 12px 0 18px; }
.diagram svg { min-width: 640px; height: auto; display: block; }
.ad-slot { display: none; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.page[data-team="adkr"] { --team: var(--rail-adkr); --rail: var(--rail-adkr); }
.page[data-team="dv"] { --team: var(--rail-dv); --rail: var(--rail-dv); }
.page[data-team="dc"] { --team: var(--rail-dc); --rail: var(--rail-dc); }
.page[data-team="gg"] { --team: var(--rail-gg); --rail: var(--rail-gg); }
.page[data-team="mie"] { --team: var(--rail-mie); --rail: var(--rail-mie); }
.page[data-team="sw"] { --team: var(--rail-sw); --rail: var(--rail-sw); }
@media (max-width: 980px) {
  .hero, .layout, .foot-grid, .grid-5, .related { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .toc { position: static; border-left: 0; padding-left: 0; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 12px;
  }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .mast { position: sticky; }
  .mast-inner { position: relative; }
}
@media (max-width: 720px) {
  .grid-2, .grid-6 { grid-template-columns: 1fr; }
  .score-strip { flex-wrap: wrap; font-size: 0.82rem; justify-content: flex-start; }
  th, td { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.billboard {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #140224;
}
.billboard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.billboard-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(20, 2, 36, 0.78) 0%, rgba(20, 2, 36, 0.55) 46%, rgba(20, 2, 36, 0.35) 100%),
    linear-gradient(180deg, rgba(20, 2, 36, 0.25) 0%, rgba(20, 2, 36, 0.55) 100%);
}
.billboard-copy {
  position: relative;
  z-index: 1;
  padding: 64px 0 48px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0;
}
.billboard .actions { justify-content: center; margin: 4px 0 22px; }
.billboard h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 auto 12px;
  max-width: none;
}
.billboard .lede { color: #fff; max-width: 42ch; font-size: 1.2rem; margin-inline: auto; }
.timer-card {
  background: rgba(47, 5, 87, 0.88);
  border: 1px solid rgba(185, 226, 73, 0.45);
  border-radius: 16px;
  padding: 16px 16px 14px;
  width: min(560px, 100%);
  backdrop-filter: blur(6px);
}
.billboard .kicker {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.timer-card p { margin: 0 0 12px; color: #e4d8ec; }
.timer-card .board div { background: #200438; border-color: #6d1b9c; color: #fff; }
.board { margin-top: 4px; }
.board b { color: var(--gold-2); font-family: var(--serif); font-size: 2rem; }
.about-block { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 28px; align-items: start; }
.about-block h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
}
.about-block p { margin: 0 0 14px; }
.score-grid, .news-grid, .stream-grid { display: grid; gap: 12px; }
.score-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-grid, .stream-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.score-card, .stream-card, .news-card, .fix-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-width: 0;
}
.score-card { padding: 14px; display: grid; gap: 10px; }
.score-top, .score-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: var(--faint); font-size: 0.88rem; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f00080;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill.live { background: var(--live); color: #fff; }
.sides { display: grid; gap: 8px; }
.side { display: grid; grid-template-columns: 42px 1fr auto; gap: 8px; align-items: center; }
.side b { font-weight: 600; }
.runs { font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--gold-2); }
.crest {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: #610886;
}
.crest-adkr { background: var(--rail-adkr); }
.crest-dv { background: #8a5a10; color: #fff8e6; }
.crest-dc { background: var(--rail-dc); }
.crest-gg { background: var(--rail-gg); color: #140224; }
.crest-mie { background: var(--rail-mie); }
.crest-sw { background: #9f1239; }
.fix-list { display: grid; gap: 8px; }
.fix-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
}
.fix-row b { display: block; }
.fix-row span { color: var(--faint); }
.fix-no {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--pink);
  min-width: 2ch;
}
.stream-card, .news-card { padding: 16px; color: var(--ink); text-decoration: none; display: block; }
.stream-card h3, .news-card h3 {
  font-family: var(--serif);
  text-transform: uppercase;
  font-size: 1.55rem;
  line-height: 0.95;
  margin: 6px 0;
}
.news-card span, .stream-card span { color: var(--pink); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.news-card p, .stream-card p { margin: 0; color: var(--muted); }
.news-card:hover, .stream-card:hover { border-color: var(--gold); }
.home-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; margin: 0 0 8px; }
.home-faq summary { min-height: 52px; }
.close-note {
  border-top: 3px solid var(--gold);
  padding-top: 16px;
  max-width: 68ch;
}
.close-note h2 {
  font-family: var(--serif);
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.9;
  margin: 0 0 10px;
}
@media (max-width: 980px) {
  .billboard { min-height: 0; }
  .billboard-copy, .about-block, .score-grid, .news-grid, .stream-grid { grid-template-columns: 1fr; }
  .billboard h1 { max-width: none; }
}
@media (max-width: 720px) {
  .fix-row { grid-template-columns: auto minmax(0, 1fr); }
  .fix-row a { grid-column: 2; }
}

/* ---- Design system v2 (31 Oct 2026): one container, 8pt rhythm, readable tables, calmer chrome ---- */
:root, html[data-theme="dark"] {
  --bg: #12021f;
  --bg-2: #1b0530;
  --surface: #22073b;
  --surface-2: #2b0a49;
  --line: #3f1763;
  --line-strong: #5e2690;
  --muted: #d9cbe6;
  --faint: #b9a7cb;
  --r: 14px;
  --r-sm: 10px;
}
html[data-theme="light"] { --line-strong: #c9b2dc; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* chrome */
.mast { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(140%) blur(10px); }
.score-strip { font-size: 0.85rem; padding: 4px 0; }
.mast-row { min-height: 60px; gap: 12px; }
.brand-name { font-size: 1.6rem; }
.nav a { border-radius: var(--r-sm); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { color: var(--gold); background: var(--surface); }
.status { border-color: color-mix(in srgb, var(--gold) 45%, transparent); background: color-mix(in srgb, var(--gold) 10%, transparent); border-radius: 999px; min-height: 32px; padding: 0 12px; }
.status b { color: var(--gold); }
.menu-btn, .tool { min-height: 40px; font-size: 0.92rem; font-weight: 600; }

/* page frame: every inner page sits on the same container */
.page > .layout {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  padding: 8px 0 48px;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 48px;
}
.page > .wrap.prose, .page > .prose { width: min(var(--max), calc(100% - var(--pad) * 2)); margin-inline: auto; }
.toc { top: 104px; margin-top: 56px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.toc li { margin: 4px 0; }
.toc a:hover { color: var(--gold); }

/* reading */
.prose { max-width: 760px; font-size: 1.06rem; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; margin: 12px 0 16px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.85rem); margin: 2em 0 0.5em; padding-top: 0.9em; border-top: 1px solid var(--line); }
.prose h1 + .answer + h2, .prose .answer + h2 { border-top: 0; padding-top: 0; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 92%, var(--muted)); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 4px; }
.answer { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r-sm); padding: 14px 18px; margin: 0 0 24px; font-size: 1.08rem; }
.crumbs { margin-top: 24px; }
.callout { border-left: 4px solid var(--pink); }

/* tables */
.table-scroll { margin: 12px 0 20px; background: var(--surface); border-color: var(--line-strong); -webkit-overflow-scrolling: touch; }
th { background: var(--surface-2); color: var(--ink); font-size: 0.85rem; }
td { font-size: 0.98rem; }
tbody tr:hover td { background: color-mix(in srgb, var(--gold) 8%, var(--surface)); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child, th:first-child { box-shadow: 1px 0 0 var(--line); }

/* cards */
.card, .team-card, .story, .stat, .score-card, .stream-card, .news-card, .fix-row, .related a { border-radius: var(--r); transition: border-color .15s ease, transform .15s ease; }
.team-card:hover, .news-card:hover, .stream-card:hover, .related a:hover, .story:hover, .card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card, .story { padding: 18px; }
.news-card span, .stream-card span, .billboard .kicker, .pill, .tz-label, .brand-sub { letter-spacing: 0.02em; text-transform: none; }
.news-card h3, .stream-card h3 { font-size: 1.4rem; line-height: 1.05; }
.section { padding: 40px 0; }
.section + .section { border-top: 1px solid var(--line); }
.btn { border-radius: 999px; padding: 0 20px; }

/* footer */
.foot { background: var(--bg-2); margin-top: 0; padding-top: 40px; }
.foot a { min-height: 36px; }

@media (max-width: 980px) {
  .page > .layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .prose { min-width: 0; }
  .toc { margin-top: 0; }
  .nav.open { gap: 2px; box-shadow: 0 12px 24px rgba(0,0,0,.35); }
  .nav.open a { min-height: 48px; padding: 0 12px; }
}
@media (max-width: 720px) {
  .score-strip span:last-child { display: none; }
  .score-strip { justify-content: space-between; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.4rem; }
  .prose { font-size: 1rem; }
  .answer { padding: 12px 14px; font-size: 1rem; }
  td, th { font-size: 0.9rem; padding: 8px 10px; }
  .billboard-copy { padding: 40px 0 32px; }
  .billboard h1 { font-size: clamp(2.8rem, 13vw, 3.6rem); }
  .billboard .lede { font-size: 1.05rem; }
  .board b { font-size: 1.6rem; }
  .section { padding: 28px 0; }
  .foot-grid { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .card, .team-card, .news-card, .stream-card, .related a, .story { transform: none !important; } }
/* full-width pages without a contents rail share the header's left edge */
.page > .prose { max-width: var(--max); }
a.story, a.card { display: block; text-decoration: none; color: var(--ink); }
a.story h3 { color: var(--ink); font-size: 1.2rem; line-height: 1.2; }
a.story:hover h3 { color: var(--gold); }
a.story p { color: var(--muted); margin-top: 6px; }

/* home hero: copy left, opener ticket right, real facts underneath; no stock photo */
.hero2 { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 64px 0 56px; }
.hero2-tag { margin: 0 0 12px; color: var(--gold); font-weight: 600; }
.hero2 h1 { font-family: var(--serif); font-weight: 700; text-transform: uppercase; font-size: clamp(3rem, 7.5vw, 6rem); line-height: 0.88; margin: 0 0 20px; }
.hero2 .lede { font-size: 1.2rem; max-width: 40ch; color: var(--muted); margin-bottom: 24px; }
.hero2 .btn.ghost { color: var(--ink); border-color: var(--line-strong); }
.hero2-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 32px 0 0; border-top: 1px solid var(--line); }
.hero2-facts div { padding: 14px 12px 0 0; }
.hero2-facts dt { color: var(--faint); font-size: 0.9rem; }
.hero2-facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1; }
.ticket2 { position: relative; width: 100%; background: var(--surface); border: 1px solid var(--line-strong); padding: 24px; border-radius: var(--r); backdrop-filter: none; }
.ticket2::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 64px; border-top: 2px dashed var(--line-strong); }
.ticket2 .kicker { color: var(--gold); font-weight: 600; margin: 0 0 8px; }
.ticket2 h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; margin: 0 0 8px; text-transform: uppercase; }
.ticket2 h2 span { color: var(--faint); font-size: 0.6em; vertical-align: middle; }
.ticket2 > p { color: var(--muted); margin: 0 0 16px; }
.ticket2 .board div { background: var(--bg-2); border-color: var(--line); }
.ticket2-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; color: var(--gold); font-weight: 600; }
@media (max-width: 980px) {
  .hero2-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 0; }
}
@media (max-width: 480px) {
  .hero2-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero2-facts dd { font-size: 1.6rem; }
  .ticket2 { padding: 18px; }
  .ticket2::after { left: 18px; right: 18px; }

  td { white-space: normal; min-width: 4.5em; }
  /* squads and fixtures: one card per row instead of sideways scroll */
  .table-scroll:has(table.stack) { overflow: visible; border: 0; background: none; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; margin: 0 0 10px; }
  table.stack td { position: static; background: none !important; box-shadow: none; border: 0; padding: 3px 0; white-space: normal; display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 8px; }
  table.stack td::before { content: attr(data-label); color: var(--faint); font-size: 0.85rem; }
  table.stack td:first-child { display: block; font-weight: 600; font-size: 1.05rem; padding: 2px 0 6px; }
  table.stack td:first-child::before { content: none; }
  table.stack td[data-label="No."]:first-child::before { content: "Match "; color: inherit; font-size: inherit; }
  table.stack tr[hidden] { display: none; }
}

/* ---- Round 3: logo, home sections, scorecards, bylines, footer bar ---- */
.brand-logo { width: 40px; height: 40px; flex: none; background: #f6f2fa; border-radius: 10px; padding: 3px; object-fit: contain; }
.ticket2::after { display: none; }
.ticket2-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; padding-top: 14px; border-top: 2px dashed var(--line-strong); }
.ticket2-links .ticket2-link { margin-top: 0; min-height: 40px; text-decoration: underline; text-underline-offset: 4px; }
.hero2 { padding-bottom: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section > p { max-width: 70ch; color: var(--muted); margin: 0 0 18px; }
.mini-grid, .stat-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-card, .stat-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s ease; }
.mini-card:hover, .stat-card:hover { border-color: var(--gold); }
.mini-card span, .stat-card span { color: var(--faint); font-size: .86rem; }
.mini-card strong { font-size: 1.08rem; line-height: 1.25; }
.mini-card em, .stat-card em { font-style: normal; color: var(--muted); font-size: .92rem; }
.stat-card strong { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; color: var(--gold); }
.score-meta .links { display: flex; gap: 12px; }
.crest-img { background: #f6f2fa; padding: 2px; overflow: hidden; }
.crest-img img, .tlogo { object-fit: contain; display: block; }
.crest-img img { width: 100%; height: 100%; }
.code-cell { display: inline-flex; align-items: center; gap: 8px; }
.code-cell .tlogo { background: #f6f2fa; border-radius: 6px; padding: 1px; }
.mono.has-logo { background: #f6f2fa; padding: 4px; display: grid; place-items: center; }
h1.with-logo { display: flex; align-items: center; gap: 14px; }
h1.with-logo .tlogo { background: #f6f2fa; border-radius: 10px; padding: 4px; flex: none; }
.news-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: start; }
.news-img { width: 72px; height: 72px; border-radius: 12px; background: #f6f2fa; display: grid; place-items: center; overflow: hidden; }
.news-img img { width: 60px; height: 60px; object-fit: contain; }
.news-card time { display: block; margin-top: 8px; color: var(--faint); font-size: .82rem; }
.byline { color: var(--faint); font-size: .92rem; margin: -4px 0 20px; }
.lede-in { color: var(--muted); max-width: 70ch; }
.author { display: flex; gap: 14px; align-items: center; }
.author img.avatar { width: 48px; height: 48px; border-radius: 12px; background: #f6f2fa; padding: 4px; object-fit: contain; flex: none; }
.author .stamp { margin: 2px 0 0; }
.sc-status { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); margin: 8px 0 24px; }
.sc-status p { margin: 0; color: var(--muted); }
.sc-status .pill { flex: none; }
.sc-link { margin: 24px 0; }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 24px; }
.foot-bar p { margin: 0; }
.foot-bar .legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-bar .legal a { color: var(--muted); }
.page > .wrap > .author { margin: 8px 0 40px; }
@media (max-width: 900px) {
  .mini-grid, .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .stat-card { padding: 14px; }
  .sc-status { flex-direction: column; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
}
