/* KICKZONE — Heritage Noir stylesheet
   Luxury football editorial aesthetic: ink + ivory + gold
   All class names preserved for compatibility. */
:root {
  --ink-0: #07080a;
  --ink-1: #0b0d10;
  --ink-2: #11151a;
  --ink-3: #171c23;
  --ink-4: #1e242d;
  --line: #252c36;
  --line-soft: #1a2028;
  --ivory: #f2ede3;
  --ivory-dim: #ddd6c8;
  --muted: #a3a9b3;
  --faint: #6e7682;
  --gold: #c6a15b;
  --gold-bright: #e6ce93;
  --gold-dim: #8a7340;
  --emerald: #46b183;
  --emerald-dim: #1f6b4e;
  --sky: #6ea4d4;
  --rose: #c86b6b;
  --amber: #d9a34a;
  --radius: 10px;
  --radius-lg: 14px;
  --max: 1180px;
  --font-display: 'Playfair Display', 'Trirong', Georgia, serif;
  --font-body: 'IBM Plex Sans Thai', 'Noto Sans Thai', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink-1);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 900px 500px at 50% -20%, rgba(198, 161, 91, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 400px at 15% 10%, rgba(70, 177, 131, 0.07), transparent 60%),
    radial-gradient(ellipse 600px 350px at 85% 20%, rgba(110, 164, 212, 0.06), transparent 60%),
    linear-gradient(180deg, var(--ink-0) 0%, var(--ink-1) 45%, var(--ink-2) 100%);
  background-attachment: fixed;
}

/* stadium floodlight beams */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    conic-gradient(from 200deg at 50% -10%, rgba(198,161,91,0.09) 0deg, transparent 25deg, transparent 335deg, rgba(198,161,91,0.09) 360deg),
    radial-gradient(circle 600px at 50% 110%, rgba(198,161,91,0.05), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.7;
}
main, header, footer { position: relative; z-index: 1; }

img, svg { max-width: 100%; }

a { color: var(--gold-bright); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--ivory);
}
h1 { font-size: clamp(2.2rem, 5.6vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: var(--ink-0); padding: 10px 16px; font-weight: 700; border-radius: 0 0 8px 0; font-family: var(--font-body); }
.skip-link:focus { left: 0; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.demo-banner {
  background: linear-gradient(90deg, #3a2e14, #2a2310);
  color: var(--gold-bright);
  border-bottom: 1px solid var(--gold-dim);
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 16px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.demo-banner a { color: var(--ivory); text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 8, 10, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.45;
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; color: var(--ivory); }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--ink-3), var(--ink-4));
  color: var(--gold-bright);
  transform: rotate(45deg);
}
.brand-mark > * { transform: rotate(-45deg); }
.brand-text { display: flex; flex-direction: column; font-weight: 600; font-size: 1.02rem; letter-spacing: 0.06em; line-height: 1.1; font-family: var(--font-display); }
.brand-text small { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.24em; color: var(--gold); font-weight: 500; margin-top: 3px; text-transform: uppercase; }

.nav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--muted); padding: 8px 14px; border-radius: 4px; font-size: 0.88rem;
  font-weight: 500; white-space: nowrap; letter-spacing: 0.02em;
  position: relative;
}
.nav a:hover { color: var(--ivory); background: rgba(198, 161, 91, 0.06); text-decoration: none; }
.nav a.active { color: var(--gold-bright); }
.nav a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); }

.nav-cta {
  flex: none; font-size: 0.8rem; font-weight: 600; padding: 9px 18px; border-radius: 4px;
  border: 1px solid var(--gold-dim); color: var(--gold-bright);
  letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-mono);
}
.nav-cta:hover { background: var(--gold); color: var(--ink-0); text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  right: -120px; top: -80px;
  width: 460px; height: 460px;
  border: 1px solid rgba(198, 161, 91, 0.12);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: -40px; top: 0;
  width: 320px; height: 320px;
  border: 1px solid rgba(198, 161, 91, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 56px; align-items: center; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.eyebrow a { color: var(--gold); }
.hero h1 { margin-bottom: 20px; }
.hero h1 span {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 600;
}
.lede { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 4px; font-weight: 600; font-size: 0.88rem;
  border: 1px solid transparent; cursor: pointer; letter-spacing: 0.04em;
  font-family: var(--font-body); transition: all 0.18s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--gold); color: var(--ink-0); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--gold-dim); color: var(--gold-bright); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.hero-stats div { margin: 0; }
.hero-stats dt { font-size: 0.72rem; color: var(--faint); font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-stats dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--ivory); }

.hero-panel {
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  position: relative;
}
.hero-panel::before {
  content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-panel-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--muted); margin-bottom: 20px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.live-dot { color: var(--emerald); display: inline-flex; align-items: center; gap: 6px; }
.live-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(70, 177, 131, 0.15); }
.hero-bars { display: grid; gap: 14px; }
.hero-bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; font-size: 0.82rem; }
.hb-label { color: var(--muted); font-family: var(--font-mono); font-size: 0.72rem; }
.hb-track { height: 6px; background: var(--ink-0); border-radius: 999px; overflow: hidden; }
.hb-track span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-dim), var(--gold)); }
.hero-bar:nth-child(2) .hb-track span { background: linear-gradient(90deg, #4a5568, #94a3b8); }
.hero-bar:nth-child(3) .hb-track span { background: linear-gradient(90deg, var(--emerald-dim), var(--emerald)); }
.hb-val { font-family: var(--font-mono); color: var(--ivory); text-align: right; font-size: 0.78rem; }
.hero-meter { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 0.84rem; color: var(--muted); }
.hero-meter strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold-bright); }
.hero-note { margin: 10px 0 0; font-size: 0.72rem; color: var(--faint); font-family: var(--font-mono); }

/* ---------- sections ---------- */
.section { padding: 52px 0; }
.section-tight { padding: 28px 0; }
.section-alt { background: linear-gradient(180deg, var(--ink-2), var(--ink-1)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.section-head h2 { margin: 0; font-family: var(--font-display); position: relative; }
.section-head h2::before {
  content: ''; position: absolute; left: 0; bottom: -13px; width: 48px; height: 2px;
  background: var(--gold);
}
.link-more { font-size: 0.82rem; font-weight: 600; color: var(--gold); font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.link-more:hover { color: var(--gold-bright); text-decoration: none; }

/* ---------- match cards grid (new) ---------- */
.match-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .match-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .match-grid { grid-template-columns: 1fr; } }

.match-card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(242,237,227,0.04);
}
.match-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 22px 46px rgba(0,0,0,0.5), 0 0 0 1px rgba(198,161,91,0.35), inset 0 1px 0 rgba(230,206,147,0.12);
}
/* gold corner brackets */
.match-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,161,91,0.6), transparent);
}
.match-card::after {
  content: ''; position: absolute; top: 8px; right: 8px; width: 14px; height: 14px;
  border-top: 1px solid var(--gold-dim); border-right: 1px solid var(--gold-dim);
  opacity: 0.6;
  transition: opacity 0.22s;
}
.match-card:hover::after { opacity: 1; }
.mc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mc-league { color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.mc-league:hover { color: var(--gold-bright); text-decoration: none; }
.mc-time { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; color: var(--gold-bright); }
.mc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 3px; border: 1px solid; white-space: nowrap;
}
.chip-gold { color: var(--gold-bright); border-color: rgba(198,161,91,0.5); background: rgba(198,161,91,0.1); }
.chip-emerald { color: var(--emerald); border-color: rgba(70,177,131,0.4); background: rgba(70,177,131,0.08); }
.chip-sky { color: var(--sky); border-color: rgba(110,164,212,0.4); background: rgba(110,164,212,0.08); }
.chip-rose { color: var(--rose); border-color: rgba(200,107,107,0.4); background: rgba(200,107,107,0.08); }
.chip-slate { color: var(--muted); border-color: var(--line); background: rgba(163,169,179,0.06); }
.mc-body {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  padding: 8px 0;
}
.mc-side {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  color: var(--ivory); text-decoration: none;
}
.mc-side span { font-size: 0.86rem; font-weight: 600; line-height: 1.2; }
.mc-side small { font-size: 0.66rem; color: var(--faint); font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.mc-side .badge-team { width: 34px; height: 34px; font-size: 0.62rem; }
.mc-side.is-fav span { color: var(--gold-bright); }
.mc-vs { font-family: var(--font-display); font-style: italic; color: var(--faint); font-size: 0.9rem; }
.mc-score { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; color: var(--gold-bright); display: flex; align-items: center; gap: 6px; }
.mc-score i { font-style: normal; color: var(--faint); font-size: 0.8rem; }
.mc-prob { display: grid; gap: 4px; }
.mc-prob.is-ft { padding: 6px 0; }
.mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.mc-risk { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.mc-risk b { color: var(--gold-bright); font-weight: 600; }
.mc-link { font-size: 0.8rem; font-weight: 600; color: var(--gold); font-family: var(--font-mono); letter-spacing: 0.04em; }
.mc-link:hover { color: var(--gold-bright); text-decoration: none; }
.mc-link span { display: inline-block; transition: transform 0.15s; }
.mc-link:hover span { transform: translateX(3px); }

/* ---------- match table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-2); }
.match-table { width: 100%; border-collapse: collapse; min-width: 790px; }
.match-table th {
  text-align: left; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint); padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--ink-3);
  font-family: var(--font-mono);
}
.match-table td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.match-table tr:last-child td { border-bottom: 0; }
.match-table tbody tr { transition: background 0.15s; }
.match-table tbody tr:hover { background: rgba(198, 161, 91, 0.04); }

.c-time { font-family: var(--font-mono); font-weight: 600; white-space: nowrap; color: var(--ivory); }
.c-date { display: block; font-family: var(--font-body); font-size: 0.66rem; color: var(--faint); font-weight: 400; margin-top: 2px; }
.c-league a { color: var(--muted); font-size: 0.82rem; }
.c-league a:hover { color: var(--gold-bright); text-decoration: none; }
.c-teams { min-width: 270px; }
.c-teams .team { display: flex; align-items: center; gap: 9px; color: var(--ivory); font-size: 0.9rem; font-weight: 500; padding: 3px 0; text-decoration: none; }
.c-teams .team:hover { color: var(--gold-bright); text-decoration: none; }
.c-teams .vs { display: block; font-size: 0.66rem; color: var(--faint); margin: 2px 0 2px 40px; font-family: var(--font-mono); }
.score { font-family: var(--font-mono); color: var(--gold-bright); font-size: 0.9rem; font-weight: 600; }

.badge-team {
  width: 28px; height: 28px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; font-family: var(--font-mono); font-size: 0.58rem; font-weight: 600;
  background: hsl(var(--h, 140) 30% 12%); color: hsl(var(--h, 140) 60% 72%);
  border: 1px solid hsl(var(--h, 140) 30% 26%);
}

.miniprob { display: flex; height: 5px; border-radius: 999px; overflow: hidden; min-width: 120px; background: var(--ink-0); }
.miniprob span { display: block; height: 100%; }
.mp-home { background: var(--gold); }
.mp-draw { background: #5a6370; }
.mp-away { background: var(--sky); }
.miniprob-label { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.62rem; color: var(--faint); margin-top: 4px; min-width: 120px; }

.pill {
  display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  padding: 3px 9px; border-radius: 3px; border: 1px solid; letter-spacing: 0.04em;
}
.pill.low { color: var(--emerald); border-color: rgba(70, 177, 131, 0.4); background: rgba(70, 177, 131, 0.08); }
.pill.mid { color: var(--amber); border-color: rgba(217, 163, 74, 0.4); background: rgba(217, 163, 74, 0.08); }
.pill.high { color: var(--rose); border-color: rgba(200, 107, 107, 0.4); background: rgba(200, 107, 107, 0.08); }

.row-link { font-size: 0.8rem; font-weight: 600; color: var(--gold); font-family: var(--font-mono); letter-spacing: 0.04em; }
.row-link:hover { color: var(--gold-bright); text-decoration: none; }
.row-link span { transition: transform 0.15s; display: inline-block; }
.row-link:hover span { transform: translateX(3px); }

.muted { color: var(--faint); font-size: 0.85rem; }
.note { color: var(--faint); font-size: 0.8rem; line-height: 1.65; margin-top: 14px; font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ---------- insight & article cards ---------- */
.insight-grid, .article-grid, .trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.insight-list { display: grid; gap: 12px; }

.insight-card, .article-card, .trust-card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; display: flex; flex-direction: column;
  transition: border-color 0.18s, transform 0.18s;
}
.insight-card:hover, .article-card:hover, .trust-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.insight-card h3, .article-card h3, .trust-card h3 { margin-bottom: 8px; font-family: var(--font-display); }
.insight-card p, .article-card p, .trust-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.insight-match { font-size: 0.74rem !important; font-family: var(--font-mono); letter-spacing: 0.02em; color: var(--gold) !important; margin-bottom: 8px !important; text-transform: uppercase; }
.insight-match a { color: var(--gold); }
.card-link { font-size: 0.8rem; font-weight: 600; margin-top: auto; color: var(--gold); font-family: var(--font-mono); letter-spacing: 0.04em; }
.card-link:hover { color: var(--gold-bright); text-decoration: none; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.72rem; color: var(--faint); margin-bottom: 10px; font-family: var(--font-mono); }
.tag { font-size: 0.64rem; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); border: 1px solid rgba(110, 164, 212, 0.35); background: rgba(110, 164, 212, 0.08); padding: 2px 8px; border-radius: 3px; }
.article-card h3 a { color: var(--ivory); font-family: var(--font-display); font-size: 1.15rem; }
.article-card h3 a:hover { color: var(--gold-bright); text-decoration: none; }
.article-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; font-size: 0.76rem; color: var(--faint); font-family: var(--font-mono); }
.trust-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold); letter-spacing: 0.14em; margin-bottom: 10px; }

/* ---------- page ---------- */
.page { padding-top: 36px; padding-bottom: 64px; }
.page-head { margin-bottom: 32px; max-width: 76ch; }
.page-head .lede { margin-bottom: 0; }

.breadcrumbs { margin-bottom: 20px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; font-size: 0.76rem; color: var(--faint); font-family: var(--font-mono); }
.breadcrumbs li { display: flex; align-items: center; gap: 7px; }
.breadcrumbs li + li::before { content: '/'; color: var(--gold-dim); }
.breadcrumbs a { color: var(--faint); }
.breadcrumbs a:hover { color: var(--gold-bright); }
.breadcrumbs [aria-current] { color: var(--muted); }

.date-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.date-now { font-size: 0.8rem; color: var(--gold); padding: 0 6px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.next-dates { margin-top: 28px; }
.next-dates ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.next-dates a { display: flex; justify-content: space-between; background: var(--ink-2); border: 1px solid var(--line); padding: 13px 18px; border-radius: var(--radius); color: var(--ivory); font-size: 0.9rem; }
.next-dates a span { color: var(--faint); font-family: var(--font-mono); }
.next-dates a:hover { border-color: var(--gold-dim); text-decoration: none; }

/* ---------- probability panel ---------- */
.prob-panel, .panel {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; margin: 18px 0;
}
.prob-head, .risk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.prob-head h2, .risk-head h2 { font-size: 1.05rem; margin: 0; font-family: var(--font-display); }
.confidence { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); }
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prob-cell { background: var(--ink-4); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px; }
.prob-value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.prob-cell.home .prob-value { color: var(--gold-bright); }
.prob-cell.draw .prob-value { color: var(--ivory-dim); }
.prob-cell.away .prob-value { color: var(--sky); }
.prob-name { font-size: 0.8rem; color: var(--muted); margin: 4px 0 12px; min-height: 2.2em; }
.prob-track { height: 6px; background: var(--ink-0); border-radius: 999px; overflow: hidden; }
.prob-track span { display: block; height: 100%; border-radius: 999px; }
.prob-cell.home .prob-track span { background: var(--gold); }
.prob-cell.draw .prob-track span { background: #6b7280; }
.prob-cell.away .prob-track span { background: var(--sky); }

/* ---------- risk meter ---------- */
.meter-track { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--emerald-dim), var(--amber), var(--rose)); opacity: 0.85; }
.meter-marker { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--ink-0); transform: translate(-50%, -50%); box-shadow: 0 0 0 1px var(--gold); }
.meter-scale { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--faint); margin-top: 8px; font-family: var(--font-mono); }
.risk-head .pill { font-size: 0.78rem; }

/* ---------- stats ---------- */
.score-box {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; margin: 18px 0; text-align: center;
}
.score-box strong { font-family: var(--font-mono); font-size: 2.4rem; color: var(--gold-bright); }
.score-box span { color: var(--muted); font-size: 0.95rem; }

.match-head h1 { margin-bottom: 10px; font-family: var(--font-display); }
.vs-h1 { color: var(--faint); font-weight: 400; font-size: 0.7em; padding: 0 8px; font-style: italic; }

.stat-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.stat-table th, .stat-table td { padding: 11px 13px; border-bottom: 1px solid var(--line-soft); text-align: right; font-family: var(--font-mono); font-size: 0.88rem; }
.stat-table thead th { font-family: var(--font-body); font-size: 0.78rem; color: var(--muted); font-weight: 500; text-align: right; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-table thead th:first-child { text-align: left; }
.stat-table tbody th { text-align: left; font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.stat-table tbody tr:last-child th, .stat-table tbody tr:last-child td { border-bottom: 0; }
.stat-table thead .badge-team { margin-right: 6px; }
.stat-table th:first-child { width: 42%; }

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.stat { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat span { display: block; font-size: 0.75rem; color: var(--faint); margin-bottom: 6px; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.stat strong { font-family: var(--font-mono); font-size: 1.45rem; font-weight: 600; color: var(--ivory); }

/* ---------- forms / h2h ---------- */
.form-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-dots { display: inline-flex; gap: 4px; }
.dot { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; }
.dot.W { background: rgba(70, 177, 131, 0.14); color: var(--emerald); border: 1px solid rgba(70, 177, 131, 0.35); }
.dot.D { background: rgba(163, 169, 179, 0.12); color: var(--ivory-dim); border: 1px solid rgba(163, 169, 179, 0.3); }
.dot.L { background: rgba(200, 107, 107, 0.12); color: var(--rose); border: 1px solid rgba(200, 107, 107, 0.35); }

.h2h-summary { font-family: var(--font-mono); font-size: 0.86rem; color: var(--ivory); }
.h2h-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.h2h-list li { display: grid; grid-template-columns: 74px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.85rem; }
.h2h-list li:last-child { border-bottom: 0; }
.h2h-date { color: var(--faint); font-family: var(--font-mono); font-size: 0.72rem; }
.h2h-teams strong { font-family: var(--font-mono); color: var(--ivory); padding: 0 4px; }
.h2h-list a { font-size: 0.78rem; color: var(--gold); }

.team-head { margin-bottom: 22px; }
.team-title { display: flex; align-items: center; gap: 18px; }
.team-title .badge-team { width: 62px; height: 62px; font-size: 0.9rem; }
.team-title h1 { margin-bottom: 6px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.match-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.match-list a {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center;
  padding: 11px 14px; border-radius: var(--radius); color: var(--ivory); background: var(--ink-2);
  border: 1px solid transparent; font-size: 0.86rem;
}
.match-list a:hover { border-color: var(--gold-dim); text-decoration: none; }
.ml-date { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); }
.ml-teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.ml-teams > span:first-child { text-align: right; }
.ml-teams > span:last-child { text-align: left; }
.ml-score, .ml-time { font-family: var(--font-mono); font-weight: 600; color: var(--gold-bright); flex: none; }
.ml-meta { font-size: 0.7rem; color: var(--faint); white-space: nowrap; font-family: var(--font-mono); }

/* ---------- standings ---------- */
.standings-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.standings-table th { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); text-align: right; padding: 11px 9px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); }
.standings-table th:nth-child(2) { text-align: left; }
.standings-table td { padding: 10px 9px; border-bottom: 1px solid var(--line-soft); text-align: right; font-family: var(--font-mono); font-size: 0.82rem; }
.standings-table tbody tr:last-child td { border-bottom: 0; }
.standings-table .pos { color: var(--faint); }
.standings-table .tname { text-align: left; }
.standings-table .tname a { display: flex; align-items: center; gap: 8px; color: var(--ivory); font-family: var(--font-body); font-size: 0.88rem; }
.standings-table .tname a:hover { color: var(--gold-bright); text-decoration: none; }
.standings-table .pts { color: var(--gold-bright); font-weight: 600; }
.form-cell { text-align: left !important; }

/* ---------- article ---------- */
.article { max-width: 780px; }
.article-byline { font-size: 0.78rem; color: var(--faint); font-family: var(--font-mono); }
.toc { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 28px; max-width: 780px; }
.toc h2 { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; font-family: var(--font-mono); }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 0.88rem; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--gold); }

.prose { max-width: 780px; color: var(--ivory-dim); }
.prose h2 { margin-top: 1.7em; color: var(--ivory); font-family: var(--font-display); }
.prose h3 { margin-top: 1.4em; color: var(--ivory); font-family: var(--font-display); }
.prose ul { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 6px; color: var(--muted); }
.prose li strong { color: var(--ivory); }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 2px solid var(--gold); background: var(--ink-2); border-radius: 0 8px 8px 0; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---------- poll ---------- */
.poll-panel { margin-top: 0; }
.poll-form fieldset { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.poll-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; cursor: pointer; background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); }
.poll-option:hover { border-color: var(--gold-dim); }
.poll-option:has(input:checked) { border-color: var(--gold); background: rgba(198, 161, 91, 0.06); }
.poll-option input { margin-top: 5px; accent-color: var(--gold); }
.poll-body { display: flex; flex-direction: column; gap: 4px; }
.poll-teams { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.92rem; }
.poll-meta { font-size: 0.74rem; color: var(--faint); font-family: var(--font-mono); }

.poll-results { display: grid; gap: 14px; margin-bottom: 10px; }
.poll-row-head { display: flex; justify-content: space-between; gap: 12px; font-size: 0.88rem; margin-bottom: 6px; }
.poll-row-head strong { font-family: var(--font-mono); color: var(--gold-bright); }
.poll-bar { height: 8px; border-radius: 999px; background: var(--ink-0); overflow: hidden; }
.poll-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-dim), var(--gold)); }

.rules h2 { font-size: 1.1rem; }
.rules ul { color: var(--muted); padding-left: 20px; font-size: 0.9rem; }
.rules li { margin-bottom: 6px; }

/* ---------- empty / footer ---------- */
.empty { text-align: center; padding: 52px 22px; background: var(--ink-2); border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.empty h2 { font-size: 1.2rem; }
.empty p { color: var(--muted); }
.empty .btn { margin-top: 12px; }

.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--ink-0); }
.site-footer::before {
  content: ''; display: block; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-top: 46px; padding-bottom: 34px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.86rem; max-width: 38ch; }
.footer-note { color: var(--faint) !important; font-size: 0.74rem !important; font-family: var(--font-mono); }
.footer-col h2 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 12px; font-family: var(--font-mono); font-weight: 600; }
.footer-col a { display: block; color: var(--muted); font-size: 0.86rem; padding: 4px 0; }
.footer-col a:hover { color: var(--gold-bright); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 28px; border-top: 1px solid var(--line-soft);
  font-size: 0.72rem; color: var(--faint); font-family: var(--font-mono); letter-spacing: 0.04em;
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-panel { max-width: 480px; }
  .insight-grid, .article-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .nav { order: 3; width: 100%; margin-left: 0; }
  .nav-cta { margin-left: auto; }
  .section { padding: 36px 0; }
  .prob-grid { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .prob-cell { padding: 10px; }
  .prob-value { font-size: 1.4rem; }
  .prob-name { font-size: 0.72rem; min-height: 2.8em; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; }
  .insight-grid, .article-grid, .trust-grid { grid-template-columns: 1fr; }
  .score-box strong { font-size: 1.8rem; }
  .score-box { padding: 18px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .h2h-list li { grid-template-columns: 60px 1fr auto; }
  .match-list a { grid-template-columns: 48px 1fr; }
  .ml-meta { display: none; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .hero-stats { gap: 18px; }
  .hero-stats dd { font-size: 1.25rem; }
  .prob-grid { grid-template-columns: 1fr; }
  .prob-name { min-height: 0; }
  .team-title { gap: 12px; }
  .team-title .badge-team { width: 48px; height: 48px; font-size: 0.72rem; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
