/* basketballstreams.com — dark, dense, Bloomberg-ish UI */

:root {
  --bg: #0a0d12;
  --bg-1: #11151c;
  --bg-2: #161b24;
  --bg-3: #1d242f;
  --line: #232a36;
  --line-2: #2d3543;
  --text: #e7ecf3;
  --text-2: #aab2c0;
  --text-3: #6f7785;
  --orange: #ff6b1a;
  --orange-soft: #ff8c4a;
  --green: #2bd07a;
  --red: #ff4d6d;
  --yellow: #f6c84c;
  --blue: #4cc8ff;
  --purple: #b388ff;

  --r: 6px;
  --r-lg: 10px;
  --shadow: 0 1px 0 rgba(255,255,255,.03), 0 8px 24px rgba(0,0,0,.4);

  --max: 1320px;
  --gap: 20px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
html, body { max-width: 100vw; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01","cv11";
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange-soft); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
.mono, code, kbd { font-family: var(--font-mono); }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }
.uppercase { text-transform: uppercase; letter-spacing: .06em; }

h1,h2,h3,h4 { margin: 0 0 .4em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 28px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
p { margin: 0 0 1em; color: var(--text-2); }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.grid { display: grid; gap: var(--gap); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }

/* ─── Disclosure bar ─── */
.disclosure {
  background: var(--bg-2);
  color: var(--text-3);
  font-size: 11px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
  letter-spacing: .04em;
}
.disclosure .container { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.disclosure b { color: var(--text-2); font-weight: 600; }

/* ─── Header ─── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,13,18,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 56px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 16px;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.logo svg { width: 28px; height: 28px; }
.logo .dot { color: var(--orange); }
.nav { display: flex; gap: 20px; flex: 1; }
.nav a {
  color: var(--text-2); font-size: 13px; font-weight: 500;
  padding: 6px 0; position: relative;
  transition: color .15s;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.live::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  background: var(--red); border-radius: 50%; margin-right: 6px;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

.search-btn, .geo-btn {
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--text-2); padding: 7px 12px; border-radius: var(--r);
  font-size: 12px; display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s;
}
.search-btn:hover, .geo-btn:hover { background: var(--bg-3); color: var(--text); border-color: var(--line-2); }
.search-btn kbd {
  background: var(--bg); border: 1px solid var(--line); border-radius: 3px;
  padding: 1px 5px; font-size: 10px; color: var(--text-3);
}

/* ─── Hero/Live strip ─── */
.live-strip {
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  overflow: hidden;
}
.live-strip-inner {
  display: flex; gap: 14px; align-items: center;
  white-space: nowrap; overflow-x: auto;
}
.live-strip-inner::-webkit-scrollbar { display: none; }
.live-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--red);
  letter-spacing: .08em;
}
.live-tag::before {
  content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}
.live-pill {
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 6px 10px; border-radius: var(--r); font-size: 12px;
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
}
.live-pill .vs { color: var(--text-3); font-size: 11px; }
.live-pill .score { font-family: var(--font-mono); font-weight: 700; color: var(--orange); }
.live-pill .lg { color: var(--text-3); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }

/* ─── Hero (homepage) ─── */
.hero {
  position: relative;
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image: url('img/hero-dunk.webp');
  background-size: cover;
  background-position: center 30%;
  filter: saturate(1.05) contrast(1.05);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,13,18,.94) 0%, rgba(10,13,18,.78) 45%, rgba(10,13,18,.35) 75%, rgba(10,13,18,.7) 100%),
    linear-gradient(180deg, rgba(10,13,18,.4) 0%, transparent 30%, rgba(10,13,18,.92) 100%);
}
.hero .container { position: relative; }
.hero h1 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.025em; max-width: 880px; line-height: 1.04; }
.hero h1 .accent { color: var(--orange); }
.hero p.lead { font-size: 16px; color: var(--text-2); max-width: 720px; margin-top: 14px; }
.hero .row { margin-top: 22px; gap: 10px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,26,.14); border: 1px solid rgba(255,107,26,.4);
  color: var(--orange); padding: 5px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero .eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; animation: pulse 1.4s ease-in-out infinite; }

/* Section banner (atmospheric image strip) */
.section-banner {
  position: relative;
  height: 200px;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 24px;
  isolation: isolate;
}
.section-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.section-banner::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,13,18,.92) 0%, rgba(10,13,18,.55) 60%, rgba(10,13,18,.85) 100%);
}
.section-banner .label {
  position: absolute; left: 22px; bottom: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange);
}
.section-banner .headline {
  position: absolute; left: 22px; bottom: 36px;
  font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em;
  color: var(--text); max-width: 60%;
}

/* League/match page hero banner overlay */
.match-hero {
  position: relative;
  isolation: isolate;
}
.match-hero.with-bg { padding: 50px 0 32px; overflow: hidden; }
.match-hero.with-bg::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}
.match-hero.with-bg::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,13,18,.88) 0%, rgba(10,13,18,.74) 50%, var(--bg) 100%);
}

/* ─── Section ─── */
.section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.section h2 {
  font-size: 18px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-2); display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.section h2::before {
  content: ""; width: 3px; height: 16px; background: var(--orange);
}
.section .h2-meta { margin-left: auto; font-size: 11px; color: var(--text-3); text-transform: none; letter-spacing: 0; font-weight: 400; }

/* ─── Match card ─── */
.matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.match {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 14px;
  transition: border-color .15s, transform .15s;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.match:hover { border-color: var(--orange); transform: translateY(-1px); }
.match-head { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-3); }
.match-head .lg-tag { background: var(--bg-3); padding: 2px 7px; border-radius: 3px; color: var(--text-2); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 10px; }
.match-head .live-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: pulse 1.4s ease-in-out infinite; }
.match-head .when { margin-left: auto; font-family: var(--font-mono); }
.match-teams { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.match-team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.match-team img { width: 28px; height: 28px; border-radius: 4px; background: var(--bg-2); object-fit: contain; flex-shrink: 0; }
.match-team .name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-score { font-family: var(--font-mono); font-weight: 700; font-size: 18px; color: var(--text); min-width: 32px; text-align: right; }
.match-score.dim { color: var(--text-3); }
.match-cta {
  margin-top: 4px;
  display: flex; gap: 6px;
}
.match-cta a {
  flex: 1; text-align: center; padding: 8px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); font-size: 12px; font-weight: 600;
  transition: all .15s;
}
.match-cta a.primary {
  background: var(--orange); color: #fff; border-color: var(--orange);
}
.match-cta a.primary:hover { background: var(--orange-soft); border-color: var(--orange-soft); }
.match-cta a:hover { border-color: var(--line-2); color: var(--text); }

/* status badges on match card */
.status-pill {
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px;
  letter-spacing: .06em; text-transform: uppercase;
}
.status-pill.live   { background: rgba(255,77,109,.15); color: var(--red); }
.status-pill.ft     { background: var(--bg-3); color: var(--text-3); }
.status-pill.ns     { background: var(--bg-3); color: var(--text-2); }
.status-pill.ht     { background: rgba(246,200,76,.15); color: var(--yellow); }

/* ─── Fixture preview (match card + narrative paragraph) ─── */
.fixture-preview { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; }
.fixture-preview .match { background: var(--bg-1); }
.fixture-preview .preview-text { font-size: 13px; line-height: 1.5; color: var(--text-2); padding: 6px 2px 2px; display: flex; flex-direction: column; gap: 6px; }
.fixture-preview .prv-row { display: grid; grid-template-columns: 92px 1fr; gap: 8px; align-items: baseline; }
.fixture-preview .prv-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.fixture-preview .prv-value { color: var(--text); }
.fixture-preview .preview-text .preview-more { color: var(--orange); font-weight: 600; font-size: 12.5px; padding-top: 4px; border-top: 1px dashed var(--line); margin-top: 2px; }
.fixture-preview .preview-text .preview-more:hover { text-decoration: underline; }
@media (max-width: 480px) { .fixture-preview .prv-row { grid-template-columns: 76px 1fr; gap: 6px; } }
.matches.preview-list { grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 880px) { .matches.preview-list { grid-template-columns: 1fr 1fr; } }

/* ─── Tier chips ─── */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px;
  background: var(--bg-3); color: var(--text-2); border: 1px solid var(--line);
  letter-spacing: .02em;
}
.chip.elite     { background: rgba(255,107,26,.15); color: var(--orange); border-color: rgba(255,107,26,.4); }
.chip.strong    { background: rgba(43,208,122,.12); color: var(--green); border-color: rgba(43,208,122,.35); }
.chip.weak      { background: rgba(255,77,109,.12); color: var(--red); border-color: rgba(255,77,109,.35); }
.chip.hot       { background: rgba(255,107,26,.15); color: var(--orange); border-color: rgba(255,107,26,.4); }
.chip.cold      { background: rgba(76,200,255,.12); color: var(--blue); border-color: rgba(76,200,255,.35); }
.chip.streaky   { background: rgba(246,200,76,.12); color: var(--yellow); border-color: rgba(246,200,76,.35); }
.chip.fortress  { background: rgba(43,208,122,.12); color: var(--green); border-color: rgba(43,208,122,.35); }
.chip.solid     { background: rgba(76,200,255,.10); color: var(--blue); border-color: rgba(76,200,255,.3); }

/* ─── League grid ─── */
.leagues-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.league-card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 14px;
  display: flex; align-items: center; gap: 12px;
  transition: all .15s;
}
.league-card:hover { background: var(--bg-2); border-color: var(--line-2); }
.league-card img { width: 34px; height: 34px; object-fit: contain; }
.league-card .info { display: flex; flex-direction: column; min-width: 0; }
.league-card .name { font-weight: 600; }
.league-card .country { font-size: 11px; color: var(--text-3); }
.league-card .badge { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--orange); }

/* ─── Tables ─── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-1); }
table.data {
  width: 100%; border-collapse: collapse; font-size: 13px;
}
table.data th, table.data td {
  padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line);
}
table.data th {
  background: var(--bg-2); color: var(--text-3); font-weight: 600;
  font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  position: sticky; top: 0;
}
table.data td.num, table.data th.num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: var(--bg-2); }
table.data .team-cell { display: flex; align-items: center; gap: 8px; min-width: 180px; }
table.data .team-cell img { width: 18px; height: 18px; object-fit: contain; }
table.data .pos {
  display: inline-block; width: 22px; text-align: center; font-family: var(--font-mono);
  font-size: 11px; color: var(--text-3);
}
table.data .pos.top { color: var(--green); font-weight: 700; }
table.data .pos.bot { color: var(--red); }

/* ─── Match page hero ─── */
.match-hero {
  padding: 28px 0;
  background: linear-gradient(180deg, rgba(255,107,26,.06), transparent 60%), var(--bg);
  border-bottom: 1px solid var(--line);
}
.match-hero .breadcrumb { font-size: 12px; color: var(--text-3); margin-bottom: 12px; }
.match-hero .breadcrumb a:hover { color: var(--orange); }
.match-hero h1 { font-size: clamp(22px, 3.2vw, 34px); margin: 0; }
.match-hero h1 small { display: block; font-size: 13px; color: var(--text-3); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.match-hero .vs-block {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  margin-top: 18px;
  padding: 22px;
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.match-hero .vs-team { display: flex; align-items: center; gap: 14px; min-width: 0; }
.match-hero .vs-team.away { justify-content: flex-end; text-align: right; }
.match-hero .vs-team.away .info { order: 0; }
.match-hero .vs-team.away img { order: 1; }
.match-hero .vs-team img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.match-hero .vs-team .info { min-width: 0; }
.match-hero .vs-team .info .nm { font-size: 18px; font-weight: 700; line-height: 1.2; word-break: break-word; }
.match-hero .vs-team .info .sub { font-size: 11px; color: var(--text-3); margin-top: 2px; }
@media (max-width: 720px) {
  .match-hero .vs-block {
    grid-template-columns: 1fr; gap: 14px; padding: 16px; text-align: center;
  }
  .match-hero .vs-team { justify-content: center; text-align: center; flex-direction: column; gap: 6px; }
  .match-hero .vs-team.away { justify-content: center; text-align: center; flex-direction: column; }
  .match-hero .vs-team.away img { order: 0; }
  .match-hero .vs-team img { width: 48px; height: 48px; }
  .match-hero .vs-mid { order: -1; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .match-hero .vs-team:not(.away) { order: 0; }
  .match-hero .vs-team.away { order: 0; }
  /* simpler: keep order home, mid, away — but make mid stretch full width with bigger score */
  .match-hero .vs-mid { order: unset; min-width: auto; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .match-hero .vs-mid .live-score { font-size: 36px; }
  .match-hero .vs-mid .countdown { font-size: 26px; }
}
.match-hero .vs-mid { text-align: center; min-width: 120px; }
.match-hero .vs-mid .vs-text { font-size: 11px; color: var(--text-3); letter-spacing: .12em; text-transform: uppercase; }
.match-hero .vs-mid .countdown { font-family: var(--font-mono); font-size: 22px; font-weight: 700; margin: 6px 0; }
.match-hero .vs-mid .when-line { font-size: 11px; color: var(--text-2); }
.match-hero .vs-mid .live-score { font-family: var(--font-mono); font-size: 28px; font-weight: 700; color: var(--orange); }

/* ─── Watch CTA block ─── */
.watch-cta {
  background: linear-gradient(135deg, rgba(255,107,26,.12), rgba(76,200,255,.06));
  border: 1px solid rgba(255,107,26,.3);
  border-radius: var(--r-lg);
  padding: 18px;
  margin: 18px 0;
}
.watch-cta .label { font-size: 11px; color: var(--orange); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.watch-cta h3 { margin: 0 0 6px; }
.watch-cta .row { gap: 10px; margin-top: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r); font-weight: 700; font-size: 13px;
  border: 1px solid transparent; transition: all .15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-soft); color: #fff; }
.btn-ghost { background: var(--bg-2); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--bg-3); border-color: var(--orange); color: var(--text); }
.btn-block { display: flex; width: 100%; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }

/* ─── Two-column layout for match page ─── */
.match-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.match-grid > * { min-width: 0; }
@media (max-width: 980px) { .match-grid { grid-template-columns: minmax(0, 1fr); } }

.panel {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 16px;
  margin-bottom: 16px;
}
.panel h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.panel h3::before { content: ""; width: 3px; height: 12px; background: var(--orange); }

/* heads-up grid */
.heads-up { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.heads-up .hu-team { padding: 14px; background: var(--bg-1); min-width: 0; }
.heads-up .hu-team:first-child { border-right: 1px solid var(--line); }
.heads-up .hu-team h4 { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 10px; line-height: 1.25; word-break: break-word; }
.heads-up .hu-team h4 img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.hu-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 12px; gap: 10px; }
.hu-row .lab { color: var(--text-3); flex-shrink: 0; }
.hu-row .val { font-family: var(--font-mono); color: var(--text); font-weight: 600; text-align: right; }
@media (max-width: 720px) {
  .heads-up { grid-template-columns: 1fr; }
  .heads-up .hu-team:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
}
.form-dots { display: inline-flex; gap: 3px; }
.form-dots span {
  width: 16px; height: 16px; border-radius: 3px; font-size: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff;
}
.form-dots span.W { background: var(--green); }
.form-dots span.L { background: var(--red); }

/* ─── Side rail ─── */
.rail .panel { padding: 14px; }
.rail .panel h3 { font-size: 11px; }

/* ─── FAQ ─── */
details.faq {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r); margin-bottom: 8px; padding: 0 14px;
}
details.faq summary {
  list-style: none; cursor: pointer;
  padding: 12px 0; font-weight: 600; font-size: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--orange); font-size: 18px; }
details.faq[open] summary::after { content: "−"; }
details.faq > div { padding: 0 0 14px; color: var(--text-2); font-size: 13px; line-height: 1.65; }

/* ─── Footer ─── */
.footer { background: var(--bg-1); border-top: 1px solid var(--line); padding: 36px 0 18px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 24px; margin-bottom: 30px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 4px 0; }
.footer li a { color: var(--text-2); font-size: 13px; }
.footer li a:hover { color: var(--orange); }
.footer .legal { padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--text-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer .rg-banner {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 14px; font-size: 12px; color: var(--text-2); margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.footer .rg-banner b { color: var(--orange); }

/* ─── Search overlay ─── */
.search-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 100;
  display: none; align-items: flex-start; justify-content: center;
  padding-top: 12vh;
}
.search-overlay.open { display: flex; }
.search-box {
  background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  width: 90%; max-width: 600px; box-shadow: var(--shadow);
  overflow: hidden;
}
.search-box input {
  width: 100%; padding: 16px 18px; border: none; outline: none;
  background: transparent; color: var(--text); font-size: 16px;
  font-family: inherit;
  border-bottom: 1px solid var(--line);
}
.search-results { max-height: 60vh; overflow-y: auto; }
.search-results a {
  display: block; padding: 10px 18px; color: var(--text-2); font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.search-results a:hover, .search-results a.active { background: var(--bg-2); color: var(--text); }
.search-results .type { font-size: 10px; text-transform: uppercase; color: var(--text-3); margin-right: 8px; letter-spacing: .06em; }

/* mobile nav */
.menu-btn {
  display: none; background: var(--bg-2); border: 1.5px solid var(--orange); color: var(--orange);
  padding: 0; border-radius: var(--r); width: 40px; height: 38px; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; line-height: 1; cursor: pointer;
}
.menu-btn:hover { background: var(--orange); color: #fff; }
.menu-btn[aria-expanded="true"] { background: var(--orange); color: #fff; }
@media (max-width: 880px) {
  .nav { display: none; position: fixed; top: 56px; left: 0; right: 0; background: var(--bg-1); flex-direction: column; padding: 14px 20px; gap: 10px; border-bottom: 1px solid var(--line); z-index: 50; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .menu-btn { display: inline-flex; }
  .header-inner { gap: 8px; }
  .search-btn .label, .search-btn kbd { display: none; }
  .geo-btn .label, .geo-btn span[data-geo-label] { display: none; }
  .geo-btn::after { content: "▶"; }
  .header .logo span:first-of-type, .header .logo span { font-size: 14px; }
}
/* allow more breathing room on small phones */
@media (max-width: 420px) {
  .header-inner { padding: 10px 14px; }
  .container { padding: 0 14px; }
}

/* utility */
.hide-sm { }
@media (max-width: 600px) { .hide-sm { display: none !important; } }

.split-bar {
  height: 6px; background: var(--bg-3); border-radius: 999px; overflow: hidden;
  display: flex; margin-top: 4px;
}
.split-bar .h { background: var(--green); }
.split-bar .a { background: var(--blue); }
.split-bar .l { background: var(--red); }

/* badges row */
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }

/* H2H tiny score table */
.h2h-list { display: flex; flex-direction: column; gap: 6px; }
.h2h-row {
  display: grid; grid-template-columns: 80px 1fr auto 1fr 80px;
  align-items: center; gap: 8px; padding: 8px 10px;
  background: var(--bg-2); border-radius: var(--r); font-size: 12px;
}
.h2h-row .dt { color: var(--text-3); font-family: var(--font-mono); font-size: 11px; }
.h2h-row .ts { font-family: var(--font-mono); font-weight: 700; }
.h2h-row .ts.win { color: var(--green); }
.h2h-row .ts.loss { color: var(--text-3); }
.h2h-row .vs { color: var(--text-3); font-size: 10px; text-align: center; }
@media (max-width: 720px) {
  .h2h-row { grid-template-columns: 1fr 1fr; row-gap: 4px; }
  .h2h-row .dt:first-child { grid-column: 1 / -1; font-size: 10px; }
  .h2h-row .vs { grid-column: 1 / -1; }
  .h2h-row .dt:last-child { grid-column: 1 / -1; text-align: right; font-size: 10px; }
}

/* Odds table */
.odds-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.odds-table th, .odds-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.odds-table th { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 600; background: var(--bg-2); }
.odds-table td.book { font-size: 11px; color: var(--text-2); white-space: nowrap; }
.odds-table td.odd { font-family: var(--font-mono); font-weight: 700; color: var(--text); text-align: center; }
.odds-table tbody tr:hover { background: var(--bg-2); }
.odds-table .best { color: var(--green); }

/* Quarter scores */
.quarter-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.quarter-table th, .quarter-table td { padding: 6px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.quarter-table th:first-child, .quarter-table td:first-child { text-align: left; font-weight: 600; }
.quarter-table th { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }
.quarter-table td { font-family: var(--font-mono); font-weight: 600; }
.quarter-table .total { background: var(--bg-2); font-weight: 800; color: var(--orange); }

/* Game stats comparison table */
.game-stats-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.game-stats-table th, .game-stats-table td { padding: 7px 10px; border-bottom: 1px solid var(--line); }
.game-stats-table th { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 600; text-align: center; }
.game-stats-table th:first-child, .game-stats-table td:first-child { text-align: left; }
.game-stats-table td { font-family: var(--font-mono); text-align: center; font-weight: 600; }
.game-stats-table td:first-child { font-family: inherit; font-weight: 500; color: var(--text-2); }

/* Intro / SEO copy */
.seo-copy { font-size: 14px; line-height: 1.65; color: var(--text-2); }
.seo-copy p { margin-bottom: 10px; }
.seo-copy strong, .seo-copy b { color: var(--text); }

/* Compact data tables (used inside panels) */
.panel .table-wrap { margin: 4px -4px; }

/* Evergreen list / form-guide list */
.form-list { display: grid; gap: 8px; }
.form-list .row {
  display: grid; grid-template-columns: 28px 1fr auto auto; gap: 12px; align-items: center;
  padding: 10px 12px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r);
}
.form-list .row .pos { font-family: var(--font-mono); font-weight: 700; color: var(--text-3); font-size: 12px; }
.form-list .row .name { font-weight: 600; font-size: 14px; }
.form-list .row .name a { color: var(--text); }
.form-list .row .name a:hover { color: var(--orange); }
.form-list .row .stat { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.form-list .row .form-dots { gap: 2px; }
.form-list .row .form-dots span { width: 13px; height: 13px; font-size: 8px; }
@media (max-width: 520px) {
  .form-list .row { grid-template-columns: 24px 1fr auto; row-gap: 6px; }
  .form-list .row .form-dots { grid-column: 2 / -1; justify-self: end; }
}

/* Betting hub list cards */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.guide-card {
  display: block; padding: 18px; background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); transition: all .15s; color: var(--text);
}
.guide-card:hover { border-color: var(--orange); transform: translateY(-2px); color: var(--text); }
.guide-card .eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); font-weight: 700; }
.guide-card h3 { font-size: 16px; margin: 8px 0 6px; }
.guide-card p { font-size: 13px; color: var(--text-2); margin: 0; line-height: 1.5; }
.guide-card .arrow { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--orange); font-weight: 700; }

.win-pct-bar { position: relative; height: 8px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.win-pct-bar > div { height: 100%; background: var(--orange); }

/* ─── Smart angle / prediction panel ─── */
.pred-panel { }
.pred-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px;
}
.pred-card {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 6px;
  min-height: 110px;
}
.pred-card.pred-pick {
  border-color: var(--orange);
  background: linear-gradient(180deg, color-mix(in srgb, var(--orange) 10%, transparent), var(--bg-1) 60%);
}
.pred-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-3); font-weight: 700;
}
.pred-team {
  font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.2;
}
.pred-spread {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--orange);
  margin-left: 4px;
}
.pred-score {
  font-family: var(--font-mono); font-size: 22px; font-weight: 700;
  color: var(--text); line-height: 1.1;
}
.pred-total {
  font-family: var(--font-mono); font-size: 26px; font-weight: 700; color: var(--text);
}
.pred-meta {
  font-size: 11px; color: var(--text-3); margin-top: auto;
}
.pred-bar {
  display: flex; height: 22px; border-radius: 999px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); margin-top: 4px;
}
.pred-bar-home, .pred-bar-away {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: #fff;
  white-space: nowrap; min-width: 32px;
}
.pred-bar-home { background: var(--orange); }
.pred-bar-away { background: var(--text-3); }
@media (max-width: 720px) {
  .pred-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .pred-grid { grid-template-columns: 1fr; }
}

/* ─── Player props table ─── */
.player-props { width: 100%; border-collapse: collapse; font-size: 13px; }
.player-props th, .player-props td {
  padding: 9px 10px; border-bottom: 1px solid var(--line);
}
.player-props th {
  font-size: 10px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-3); font-weight: 700; text-align: left;
}
.player-props td.num, .player-props th.num { text-align: right; font-family: var(--font-mono); }
.player-props tbody tr:hover { background: var(--bg-1); }
.pp-book {
  font-size: 10px; color: var(--text-3); font-weight: 500;
  margin-left: 4px; text-transform: uppercase; letter-spacing: .04em;
}

/* ─── Form dots (5-game form) ─── */
.form-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 3px; background: var(--bg-3);
}
.form-dot.win { background: var(--green); }
.form-dot.loss { background: var(--red); }
.form-dot.draw { background: var(--text-3); }
.form-dot.empty { background: var(--bg-3); opacity: .5; }
.form-dot-row { display: inline-flex; align-items: center; gap: 0; }

/* ─── Team page redesign — hero polish ─── */
.team-hero.with-bg::after {
  background: linear-gradient(180deg, rgba(10,13,18,.92) 0%, rgba(10,13,18,.82) 35%, rgba(10,13,18,.92) 80%, var(--bg) 100%);
}
.team-hero .team-id-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}
.team-hero .team-logo-card {
  width: 108px; height: 108px;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
}
.team-hero .team-logo-card img { width: 100%; height: 100%; object-fit: contain; }
.team-hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 6px; line-height: 1.05; letter-spacing: -.02em; }
.team-hero .team-meta { color: var(--text-2); font-size: 14px; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.team-hero .team-meta .meta-dot { width: 3px; height: 3px; background: var(--text-3); border-radius: 50%; }
.team-hero .team-meta .league-flag { font-size: 14px; }
.team-hero .badge-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
@media (max-width: 720px) {
  .team-hero .team-id-row { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .team-hero .team-logo-card { width: 76px; height: 76px; padding: 10px; }
  .team-hero h1 { font-size: 26px; }
  .team-hero .badge-row .chip { font-size: 10px; padding: 2px 7px; }
}

/* ─── Quick-stat strip (KPI tiles) ─── */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0 0;
}
.kpi-tile {
  background: rgba(20,25,33,.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
}
.kpi-tile .kpi-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-3); font-weight: 700; margin-bottom: 6px;
}
.kpi-tile .kpi-value {
  font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--text);
  line-height: 1; letter-spacing: -.01em;
}
.kpi-tile .kpi-sub { font-size: 11px; color: var(--text-3); margin-top: 6px; }
.kpi-tile.accent .kpi-value { color: var(--orange); }
.kpi-tile.good .kpi-value { color: var(--green); }
.kpi-tile.bad .kpi-value { color: var(--red); }
@media (max-width: 720px) {
  .kpi-strip { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .kpi-tile { padding: 10px 12px; }
  .kpi-tile .kpi-value { font-size: 18px; }
}

/* ─── Sparkbar (sidebar comparison bar) ─── */
.sparkbar {
  position: relative;
  height: 6px;
  background: var(--bg-3);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}
.sparkbar > i {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  border-radius: 999px;
}
.sparkbar.green > i { background: linear-gradient(90deg, var(--green), #6fe39c); }
.sparkbar.red > i { background: linear-gradient(90deg, var(--red), #ff8e9e); }
.sparkbar.blue > i { background: linear-gradient(90deg, var(--blue), #8edfff); }
.sparkbar .avg-mark {
  position: absolute; top: -2px; bottom: -2px; width: 2px;
  background: rgba(255,255,255,.6);
  border-radius: 1px;
}
.spark-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.spark-row:last-child { border-bottom: none; }
.spark-row .lab { font-size: 12px; color: var(--text-2); }
.spark-row .val { font-family: var(--font-mono); font-weight: 700; font-size: 14px; }
.spark-row .full { grid-column: 1 / -1; }
.spark-row .delta { font-size: 11px; color: var(--text-3); margin-left: 6px; font-family: var(--font-mono); }
.spark-row .delta.up { color: var(--green); }
.spark-row .delta.down { color: var(--red); }

/* ─── Next-up redesign (versus card) ─── */
.next-up-card {
  background: linear-gradient(135deg, rgba(255,107,26,.07) 0%, rgba(255,107,26,0) 60%), var(--bg-1);
  border: 1px solid rgba(255,107,26,.25);
  border-radius: var(--r-lg);
  padding: 20px;
}
.next-up-card .nu-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.next-up-card .nu-tag { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.next-up-card .nu-when { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.next-up-card .nu-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 8px 0 16px;
}
.next-up-card .nu-team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.next-up-card .nu-team.away { justify-content: flex-end; text-align: right; }
.next-up-card .nu-team.away img { order: 2; }
.next-up-card .nu-team img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.next-up-card .nu-team .nm { font-weight: 700; font-size: 16px; line-height: 1.15; }
.next-up-card .nu-team .sub { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.next-up-card .nu-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 6px; }
.next-up-card .nu-mid .vs { font-family: var(--font-mono); font-weight: 700; color: var(--text-3); font-size: 13px; letter-spacing: .04em; }
.next-up-card .nu-mid .venue-pill { font-size: 10px; padding: 2px 8px; border-radius: 999px; background: var(--bg-3); color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.next-up-card .nu-pick {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--bg-2);
  border-radius: 10px;
  margin: 0 0 14px;
  font-size: 13px;
}
.next-up-card .nu-pick .pick-lab { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.next-up-card .nu-pick .pick-val { font-weight: 700; color: var(--orange); }
.next-up-card .nu-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .next-up-card .nu-team .nm { font-size: 13px; }
  .next-up-card .nu-team img { width: 38px; height: 38px; }
}

/* ─── Where to watch panel ─── */
.wtw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.wtw-card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  transition: all .15s;
}
.wtw-card:hover { border-color: var(--orange); transform: translateY(-1px); }
.wtw-card .op {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px;
}
.wtw-card .op .logo {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-2);
  font-weight: 800; font-size: 14px; letter-spacing: -.02em;
}
.wtw-card .op .logo.bet365 { background: #14834a; color: #fff; }
.wtw-card .op .logo.stake  { background: #1a72ff; color: #fff; }
.wtw-card .geo { font-size: 11px; color: var(--text-3); }
.wtw-card .features { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.wtw-card .feat { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: var(--bg-3); color: var(--text-2); }
@media (max-width: 720px) { .wtw-grid { grid-template-columns: 1fr; } }

/* ─── Empty state ─── */
.empty-state {
  text-align: center;
  padding: 24px 16px;
  color: var(--text-3);
  font-size: 13px;
  background: var(--bg-1);
  border: 1px dashed var(--line);
  border-radius: var(--r);
}
.empty-state .es-icon { font-size: 22px; margin-bottom: 8px; opacity: .6; }
.empty-state b { color: var(--text-2); }

/* ─── Quick links polish ─── */
.ql-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.ql-list li {
  border-bottom: 1px solid var(--line);
}
.ql-list li:last-child { border-bottom: none; }
.ql-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-2);
  transition: color .15s, padding .15s;
}
.ql-list a:hover { color: var(--orange); padding-left: 4px; }
.ql-list a .arr { font-family: var(--font-mono); color: var(--text-3); transition: color .15s, transform .15s; }
.ql-list a:hover .arr { color: var(--orange); transform: translateX(2px); }

/* hide-when-current operator button — `data-current-op` is set on <html> by app.js */
html[data-current-op="bet365"] [data-hide-when-current="bet365"],
html[data-current-op="stake"] [data-hide-when-current="stake"] { display: none !important; }

/* ─── breadcrumb nav ─── */
.breadcrumb-nav {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.06));
  padding: 8px 0;
  font-size: 12px;
  color: var(--text-3, #8a92a0);
}
.breadcrumb-nav .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  line-height: 1.4;
}
.breadcrumb-nav a {
  color: var(--text-3, #8a92a0);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb-nav a:hover {
  color: var(--orange, #ff6b1a);
}
.breadcrumb-nav [aria-current="page"] {
  color: var(--text-1, #e8eaed);
  font-weight: 500;
}
.breadcrumb-nav .crumb-sep {
  color: var(--text-4, #4a5260);
  margin: 0 2px;
}
@media (max-width: 640px) {
  .breadcrumb-nav { font-size: 11px; padding: 6px 0; }
}


/* ---------- Evergreen content components ---------- */
.toc { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 18px; margin: 16px 0 24px; }
.toc-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 24px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; font-size: 14px; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.table th, table.table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.table thead th { background: var(--bg-2); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
table.table tbody tr:hover { background: var(--bg-2); }

.faq { margin: 24px 0; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 8px; background: var(--bg-1); }
.faq summary { padding: 14px 18px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 18px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details > div, .faq details > p { padding: 14px 18px; margin: 0; }
.faq details > div p:first-child, .faq details > p:first-child { margin-top: 0; }
.faq details > div p:last-child, .faq details > p:last-child { margin-bottom: 0; }

.callout { background: var(--bg-1); border-left: 3px solid var(--accent); padding: 14px 18px; margin: 18px 0; border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.callout-title { font-weight: 600; margin-bottom: 4px; color: var(--accent); }

.example-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; margin: 16px 0; }
.example-box h4 { margin-top: 0; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }

.hero-evergreen { position: relative; padding: 36px 24px; border-radius: var(--r-lg); margin-bottom: 24px; overflow: hidden;
  background: linear-gradient(135deg, rgba(20,30,50,0.95), rgba(10,15,25,0.95)), radial-gradient(circle at 30% 30%, rgba(255,140,30,0.18), transparent 60%);
  border: 1px solid var(--line); }
.hero-evergreen h1 { margin: 0 0 8px; font-size: 32px; line-height: 1.15; }
.hero-evergreen .lede { font-size: 17px; color: var(--muted); max-width: 720px; }
.hero-evergreen .hero-meta { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 12px; font-weight: 600; }
@media (max-width: 640px) { .hero-evergreen { padding: 24px 18px; } .hero-evergreen h1 { font-size: 24px; } }

.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 20px 0; }
.pillar-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; transition: border-color 0.15s; }
.pillar-card:hover { border-color: var(--accent); }
.pillar-card h3 { margin: 0 0 8px; font-size: 16px; }
.pillar-card h3 a { color: var(--text); text-decoration: none; }
.pillar-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ─── Floodlit polish on .match-hero.with-bg ─── */
.match-hero.with-bg { padding: 64px 0 36px; }
.match-hero.with-bg::before {
  filter: saturate(1.12) contrast(1.05) brightness(0.92);
}
.match-hero.with-bg::after {
  background: linear-gradient(180deg, rgba(10,13,18,.92) 0%, rgba(10,13,18,.78) 35%, rgba(10,13,18,.86) 75%, var(--bg) 100%),
              radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,138,30,.18) 0%, transparent 70%);
}
/* spotlight beams accent */
.match-hero.with-bg .container { position: relative; }
.match-hero.with-bg .container::before {
  content: ""; position: absolute; top: -64px; left: 50%; transform: translateX(-50%);
  width: 220px; height: 6px; border-radius: 12px;
  background: radial-gradient(ellipse at center, rgba(255,138,30,.6), transparent 70%);
  filter: blur(2px); opacity: .55; pointer-events: none;
}
.match-hero h1 { letter-spacing: -.01em; }

/* ─── kvchips (highlight strip on long-form pages) ─── */
.kvchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.kvchip {
  display: inline-flex; flex-direction: column; gap: 2px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 8px 12px;
  min-width: 120px;
}
.kvchip .k { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 600; }
.kvchip .v { font-size: 14px; color: var(--text); font-weight: 600; }

/* ─── image-break section (full-bleed photo with caption) ─── */
.image-break {
  position: relative; margin: 28px 0; border-radius: var(--r-lg);
  overflow: hidden; aspect-ratio: 21 / 8; min-height: 180px;
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
}
.image-break::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,18,.0) 40%, rgba(10,13,18,.85) 100%);
}
.image-break .caption {
  position: absolute; left: 18px; right: 18px; bottom: 14px;
  font-size: 13px; color: rgba(255,255,255,.92); z-index: 2;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.image-break .caption b { color: #fff; }
@media (max-width: 640px) {
  .image-break { aspect-ratio: 16 / 9; min-height: 140px; }
  .image-break .caption { font-size: 12px; }
}

/* ─── Related rail (cross-cluster interlinks) ─── */
.related-rail {
  margin: 30px 0 8px;
  border-top: 1px solid var(--line); padding-top: 22px;
}
.related-rail-title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 12px; font-weight: 600; }
.related-rail .grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px;
}
.related-rail .item {
  display: block; background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 12px 14px; transition: border-color .15s, transform .15s;
}
.related-rail .item:hover { border-color: var(--orange); transform: translateY(-1px); }
.related-rail .item .eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); font-weight: 600; }
.related-rail .item .ttl { font-size: 14px; color: var(--text); font-weight: 600; margin-top: 4px; line-height: 1.3; }
.related-rail .item .desc { font-size: 12px; color: var(--text-3); margin-top: 4px; line-height: 1.4; }

/* ─── Inline lead image (under H1, above content) ─── */
.lead-image {
  position: relative; margin: 0 0 22px; border-radius: var(--r-lg);
  overflow: hidden; aspect-ratio: 21 / 9; max-height: 320px;
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.lead-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,18,.0) 50%, rgba(10,13,18,.7) 100%);
}
@media (max-width: 640px) { .lead-image { aspect-ratio: 16 / 9; max-height: 200px; } }

/* ─── Per-league how-to-watch hero ─── */
.htw-hero { position: relative; padding: 56px 0 36px; overflow: hidden; isolation: isolate; }
.htw-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: saturate(1.1) contrast(1.02);
}
.htw-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,13,18,.78) 0%, rgba(10,13,18,.6) 50%, var(--bg) 100%),
              radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255,138,30,.22) 0%, transparent 65%);
}
.htw-hero h1 small { display: block; font-size: 12px; color: var(--text-3); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }

/* ─── Pillar cards on /how-to-watch/ hub ─── */
.htw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.htw-card {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; transition: border-color .15s, transform .15s;
  display: flex; flex-direction: column; gap: 8px;
}
.htw-card:hover { border-color: var(--orange); transform: translateY(-1px); }
.htw-card h3 { font-size: 16px; margin: 0; color: var(--text); }
.htw-card .country { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.htw-card .blurb { font-size: 13px; color: var(--text-2); line-height: 1.45; flex: 1; }
.htw-card .arrow { font-size: 12px; color: var(--orange); font-weight: 600; }

/* ─── Preview-card .prv-row tighten on mobile ─── */
@media (max-width: 640px) {
  .fixture-preview .prv-row { font-size: 12px; }
}
