/* OddLynx — dark-first design system. No build step. */

:root {
  color-scheme: dark;
  --bg: #0b0e14;
  --bg-elev: #10141c;
  --surface: #151a24;
  --surface-2: #1b2130;
  --surface-3: #222a3b;
  --border: #252d3d;
  --border-strong: #334057;
  --text: #e9edf4;
  --text-2: #b4bccb;
  --muted: #7f8a9d;
  --accent: #f2b544;
  --accent-2: #ffd27a;
  --accent-ink: #1a1200;
  --home: #4f8dff;
  --draw: #8e98ad;
  --away: #ff7b5c;
  --pos: #38c98f;
  --pos-soft: rgba(56, 201, 143, 0.14);
  --neg: #ff5c6c;
  --neg-soft: rgba(255, 92, 108, 0.14);
  --warn: #f2b544;
  --warn-soft: rgba(242, 181, 68, 0.14);
  --info: #5ab0ff;
  --info-soft: rgba(90, 176, 255, 0.14);
  --pro: #b49cff;
  --pro-soft: rgba(180, 156, 255, 0.16);
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.35em; line-height: 1.2; font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 0.9em; }
small, .small { font-size: 0.82rem; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
.flat { color: var(--text-2); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 0.9em; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.lede { color: var(--text-2); font-size: 1.05rem; max-width: 64ch; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 20, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 760; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #e0812f); position: relative; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; top: 9px; width: 6px; height: 9px; border-radius: 50%; background: var(--accent-ink); }
.brand-mark::before { left: 7px; }
.brand-mark::after { right: 7px; }
.brand span b { color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: 6px; }
.nav a { padding: 7px 11px; border-radius: 8px; color: var(--text-2); font-weight: 520; font-size: 0.93rem; }
.nav a:hover, .nav a.active { background: var(--surface-2); color: var(--text); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 6px 9px; cursor: pointer; }

/* Plan switch */
.plan-switch { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 3px; gap: 2px; }
.plan-switch button { border: 0; background: transparent; color: var(--muted); padding: 5px 12px; border-radius: 999px; font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.plan-switch button.active { background: var(--surface-3); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset; }
.plan-switch button.active.is-pro { background: var(--pro-soft); color: var(--pro); }
.plan-switch button:hover:not(.active) { color: var(--text-2); }

/* Main / footer */
main { padding: 28px 0 56px; }
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 0.84rem; }
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--accent-2); }
.footer-links { display: flex; flex-direction: column; gap: 6px; }

/* Cards & grids */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.card-head h2, .card-head h3 { margin: 0; }
.card-body { padding: 16px; }
.card-body.tight { padding: 0; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 76px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { padding: 10px 0 24px; }
.hero-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 22ch; letter-spacing: -0.02em; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.stats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.info-strip .notice { display: flex; flex-direction: column; gap: 8px; }
.info-strip .notice .spread { margin: 0; }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; min-width: 0; }
.stat-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.stat-value { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; line-height: 1.15; }
.stat-sub { font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.stat.big .stat-value { font-size: 1.9rem; }

/* Badges, pills, buttons */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid transparent; vertical-align: middle; }
.badge-pro { background: var(--pro-soft); color: var(--pro); border-color: rgba(180,156,255,0.3); }
.badge-free { background: var(--surface-3); color: var(--text-2); border-color: var(--border-strong); }
.badge-backtest { background: var(--warn-soft); color: var(--warn); border-color: rgba(242,181,68,0.3); }
.badge-live { background: var(--pos-soft); color: var(--pos); border-color: rgba(56,201,143,0.3); }
.badge-info { background: var(--info-soft); color: var(--info); border-color: rgba(90,176,255,0.3); }
.pill { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; padding: 3px 9px; border-radius: 6px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.pill-won { background: var(--pos-soft); color: var(--pos); }
.pill-lost { background: var(--surface-3); color: var(--text-2); }
.pill-void { background: var(--surface-3); color: var(--muted); }
.pill-pending { background: var(--surface-3); color: var(--text-2); }
.pill-live { background: var(--neg-soft); color: var(--neg); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); font: inherit; font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.btn:hover { background: var(--surface-3); color: var(--text); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn-primary:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 5px 10px; font-size: 0.82rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Tabs & day nav */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 14px; overflow-x: auto; }
.tab { padding: 9px 12px; color: var(--muted); font-weight: 600; font-size: 0.9rem; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--accent); }
.daynav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.daynav a { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; min-width: 84px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 0.82rem; font-weight: 600; }
.daynav a small { color: var(--muted); font-weight: 500; }
.daynav a:hover { border-color: var(--border-strong); color: var(--text); }
.daynav a.active { border-color: var(--accent); color: var(--text); background: var(--surface-2); }
.daynav a.active small { color: var(--accent); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); font-size: 0.8rem; font-weight: 600; background: var(--surface); }
.chip.active { border-color: var(--accent); color: var(--text); }

/* League blocks and fixture rows */
.league-block { margin-bottom: 16px; }
.league-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--surface-2); border: 1px solid var(--border); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; font-weight: 650; font-size: 0.9rem; }
.league-head img { width: 18px; height: 18px; object-fit: contain; border-radius: 3px; }
.league-head .flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.league-head .country { color: var(--muted); font-weight: 500; }
.league-head .more { margin-left: auto; color: var(--muted); font-size: 0.8rem; font-weight: 500; }
.fx-list { border: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); background: var(--surface); overflow: hidden; }
.fx { display: grid; grid-template-columns: 72px minmax(0, 2fr) 150px minmax(150px, 1.1fr) 60px 96px; gap: 12px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--border); }
.fx:first-child { border-top: 0; }
.fx:hover { background: var(--surface-2); }
.fx-when { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; line-height: 1.2; }
.fx-time { font-size: 0.95rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.fx-date { font-size: 0.7rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.fx-state { display: inline-block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); background: var(--surface-3); border-radius: 5px; padding: 2px 6px; margin-top: 2px; width: max-content; }
.fx-state.live { color: var(--neg); background: var(--neg-soft); animation: pulse 1.6s ease-in-out infinite; }
.fx-teams { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: inherit; }
.fx-teams:hover { color: inherit; }
.fx-teams:hover .n { color: var(--accent-2); }
.fx-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.fx-team img { width: 20px; height: 20px; object-fit: contain; flex: 0 0 20px; }
.fx-team .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-team .s { margin-left: auto; font-weight: 800; color: var(--text); min-width: 18px; text-align: right; }
.fx-team.winner .n { color: var(--text); }
.fx-team.loser .n { color: var(--text-2); }
.fx-aet { font-size: 0.7rem; color: var(--muted); font-weight: 600; }
.fx-odds-cells { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.oc { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 5px 4px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; min-width: 0; }
.oc::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--border-strong); }
.oc::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: var(--accent); }
.oc b { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.06em; font-weight: 700; }
.oc span { font-size: 0.9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.oc.picked { border-color: var(--accent); background: rgba(242,181,68,0.08); }
.oc.picked b { color: var(--accent); }
.fx-pick { min-width: 0; }
.fx-odds { text-align: center; line-height: 1.15; }
.fx-odds .o { display: block; font-weight: 800; font-size: 1.05rem; }
.fx-odds small { display: block; color: var(--muted); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1px; }
.fx-status { text-align: right; }
.fx-empty { padding: 22px 16px; color: var(--muted); text-align: center; }
.trust { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; margin-right: 4px; vertical-align: -1px; }
.trust i { display: block; width: 3px; border-radius: 1px; background: var(--border-strong); }
.trust i:nth-child(1) { height: 5px; } .trust i:nth-child(2) { height: 8px; } .trust i:nth-child(3) { height: 11px; }
.trust.t1 i:nth-child(-n+1) { background: var(--muted); }
.trust.t2 i:nth-child(-n+2) { background: var(--accent); }
.trust.t3 i { background: var(--pos); }

/* Probability bar */
.pbar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--surface-3); }
.pbar span { display: block; height: 100%; }
.pbar .h { background: var(--home); }
.pbar .d { background: var(--draw); }
.pbar .a { background: var(--away); }
.pbar .y { background: var(--pos); }
.pbar .n { background: var(--surface-3); }
.pbar-labels { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--muted); margin-top: 4px; font-weight: 600; }
.pbar-labels .c-h { color: var(--home); }
.pbar-labels .c-d { color: var(--draw); }
.pbar-labels .c-a { color: var(--away); }
.pbar-wrap.lg .pbar { height: 14px; }
.pbar-wrap.lg .pbar-labels { font-size: 0.9rem; }

/* Pick chip */
.pick { display: inline-flex; flex-direction: column; gap: 2px; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); border-left-width: 3px; min-width: 0; max-width: 100%; }
.pick-strong { border-left-color: var(--pos); }
.pick-lean { border-left-color: var(--accent); }
.pick-tossup { border-left-color: var(--muted); }
.pick-label { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.best-star { color: var(--accent); font-size: 0.85em; }
.pick-prob, .pick-meta { display: inline-flex; align-items: center; font-size: 0.72rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.pick-sm { padding: 3px 8px; }
.pick-sm .pick-label { font-size: 0.78rem; }
.pick-none { color: var(--muted); font-size: 0.82rem; }

/* Lock (Pro preview) */
.lock { position: relative; display: block; min-width: 0; }
.lock-blur { filter: blur(6px); opacity: 0.55; pointer-events: none; user-select: none; }
.lock-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lock-badge button, .lock-badge a { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-3); border: 1px solid rgba(180,156,255,0.35); color: var(--pro); border-radius: 999px; padding: 3px 10px; font: inherit; font-size: 0.74rem; font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: 0.04em; }
.lock-badge svg { width: 11px; height: 11px; }
.lock-ph { display: block; padding: 34px 16px; text-align: center; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }
.lock.block { min-height: 120px; }
.lock.block .lock-badge button { padding: 8px 14px; font-size: 0.82rem; }

/* Form dots */
.form { display: inline-flex; gap: 3px; }
.form i { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 5px; font-style: normal; font-size: 0.68rem; font-weight: 800; }
.form .w { background: var(--pos-soft); color: var(--pos); }
.form .d { background: var(--surface-3); color: var(--text-2); }
.form .l { background: var(--neg-soft); color: var(--neg); }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.table th, .table td { padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; white-space: nowrap; background: var(--surface-2); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-2); }
.table .num { text-align: right; }
.table td.strong { font-weight: 650; }
.table .team-cell { display: flex; align-items: center; gap: 8px; font-weight: 560; }
.table .team-cell img { width: 18px; height: 18px; object-fit: contain; }
.table.compact th, .table.compact td { padding: 6px 10px; }
.standings .pos { color: var(--muted); font-weight: 600; width: 28px; }
.standings tr.hl td { background: rgba(242,181,68,0.08); }

/* Chart */
.chart { width: 100%; height: auto; display: block; }
.chart .axis { stroke: var(--border-strong); stroke-width: 1; }
.chart .zero { stroke: var(--muted); stroke-dasharray: 3 4; stroke-width: 1; }
.chart .line { fill: none; stroke-width: 2; }
.chart .line.pos { stroke: var(--pos); }
.chart .line.neg { stroke: var(--neg); }
.chart .area.pos { fill: url(#gpos); }
.chart .area.neg { fill: url(#gneg); }
.chart text { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .lbl { font-weight: 700; font-size: 12px; }
.chart .lbl.pos { fill: var(--pos); }
.chart .lbl.neg { fill: var(--neg); }

.chart.wl .won { fill: var(--pos); }
.chart.wl .lost { fill: var(--border-strong); }
.legend { display: flex; gap: 16px; margin-top: 8px; }
.legend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.legend .sw.won { background: var(--pos); }
.legend .sw.lost { background: var(--border-strong); }

/* Scoreline grid */
.sgrid { border-collapse: collapse; font-size: 0.78rem; width: 100%; }
.sgrid th, .sgrid td { padding: 0; text-align: center; height: 32px; border: 1px solid var(--bg); }
.sgrid th { color: var(--muted); font-weight: 600; background: var(--surface-2); width: 32px; }
.sgrid td { color: var(--text); font-weight: 600; }
.sgrid td.top { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Match page */
.match-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 22px 16px; }
.mh-team { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.mh-team img { width: 64px; height: 64px; object-fit: contain; }
.mh-team .n { font-weight: 700; font-size: 1.15rem; }
.mh-team .sub { color: var(--muted); font-size: 0.82rem; }
.mh-center { text-align: center; min-width: 140px; }
.mh-score { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.mh-score small { font-size: 0.8rem; color: var(--muted); font-weight: 600; display: block; }
.mh-time { font-size: 1.3rem; font-weight: 700; }
.mh-meta { color: var(--muted); font-size: 0.84rem; }
.pred-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.pred-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.pred-card .market { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.pred-card .pick-big { font-size: 1.18rem; font-weight: 750; letter-spacing: -0.01em; }
.pred-card .prob { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.pred-card .meta { font-size: 0.8rem; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.pred-card .meta b { color: var(--text-2); font-weight: 600; }
.pred-card .result { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.88rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.list { margin: 0; padding: 0 0 0 1.1em; }
.list li { margin-bottom: 6px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini { font-size: 0.84rem; }
.mini-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.mini-row:last-child { border-bottom: 0; }
.mini-row .dt { color: var(--muted); min-width: 52px; font-size: 0.76rem; }
.mini-row .dt.wide { min-width: 80px; }
.mini-row.extra.hide { display: none; }
.chips button.chip { font: inherit; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.mini-row .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-row .sc { font-weight: 700; min-width: 36px; text-align: center; }
.mini-row .r { width: 20px; height: 20px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 800; }
.mini-row .r.w { background: var(--pos-soft); color: var(--pos); }
.mini-row .r.d { background: var(--surface-3); color: var(--text-2); }
.mini-row .r.l { background: var(--neg-soft); color: var(--neg); }

/* Notices */
.notice { padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-2); font-size: 0.9rem; color: var(--text-2); }
.notice-warn { border-color: rgba(242,181,68,0.35); background: var(--warn-soft); color: var(--text); }
.notice-pro { border-color: rgba(180,156,255,0.35); background: var(--pro-soft); color: var(--text); }
.notice-pos { border-color: rgba(56,201,143,0.35); background: var(--pos-soft); color: var(--text); }
.notice b { font-weight: 700; }

/* Prose */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose table { margin: 0.5em 0 1em; }
.prose code { font-family: var(--mono); font-size: 0.86em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }

/* League index */
.league-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.league-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; }
.league-card img { width: 26px; height: 26px; object-fit: contain; }
.league-card small { display: block; color: var(--muted); font-weight: 500; }
.league-card:hover { border-color: var(--border-strong); color: var(--text); }
.country-list { columns: 3; column-gap: 24px; }
.country-list section { break-inside: avoid; margin-bottom: 14px; }
.country-list h3 { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; margin-bottom: 4px; }
.country-list h3 img { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; }
.country-list a { display: block; padding: 3px 0; color: var(--text-2); font-size: 0.88rem; }
.country-list a:hover { color: var(--accent-2); }
details.other summary { cursor: pointer; color: var(--text-2); font-weight: 600; }
details.card > summary { list-style: none; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary h2::before { content: "▸ "; color: var(--muted); font-size: 0.8em; }
details.card[open] > summary h2::before { content: "▾ "; }
details.card:not([open]) > summary { border-bottom: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .two-col { grid-template-columns: 1fr; }
  .aside { position: static; }
  .hero-grid { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .country-list { columns: 2; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; background: var(--bg-elev); border-bottom: 1px solid var(--border); padding: 8px 16px 12px; }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .grid-2, .grid-3, .compare, .info-strip { grid-template-columns: 1fr; }
  .fx { grid-template-columns: 60px minmax(0, 1fr) 88px; grid-template-areas: "when teams status" "cells cells cells" "pick pick odds"; gap: 8px 10px; padding: 10px 12px; }
  .fx-when { grid-area: when; }
  .fx-teams { grid-area: teams; }
  .fx-status { grid-area: status; }
  .fx-odds-cells { grid-area: cells; }
  .fx-pick { grid-area: pick; }
  .fx-odds { grid-area: odds; }
  .match-head { grid-template-columns: 1fr; }
  .mh-team { flex-direction: row; justify-content: center; }
  .mh-team img { width: 40px; height: 40px; }
  .country-list { columns: 1; }
  h1 { font-size: 1.5rem; }
}
