:root {
  color-scheme: dark;
  --bg: #070d13;
  --bg-soft: #0a121b;
  --panel: #0e1a25;
  --panel-2: #122231;
  --panel-3: #162a3b;
  --line: rgba(160, 200, 220, .13);
  --line-strong: rgba(160, 200, 220, .24);
  --text: #e9f2f8;
  --muted: #8ea4b6;
  --faint: #6b8296;
  --accent: #2bd9b4;
  --accent-soft: rgba(43, 217, 180, .12);
  --lime: #cdf25a;
  --lime-soft: rgba(205, 242, 90, .13);
  --danger: #ff7a7a;
  --danger-soft: rgba(255, 122, 122, .12);
  --warn: #ffc46b;
  --shadow: 0 18px 44px rgba(0, 0, 0, .28);
  --radius: 16px;
  --radius-sm: 11px;
  --sidebar: 264px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef4f3;
  --bg-soft: #e6eeed;
  --panel: #ffffff;
  --panel-2: #f3f8f7;
  --panel-3: #e8f1ef;
  --line: rgba(14, 45, 55, .12);
  --line-strong: rgba(14, 45, 55, .24);
  --text: #0d2028;
  --muted: #536b78;
  --faint: #738995;
  --accent: #0a9478;
  --accent-soft: rgba(10, 148, 120, .12);
  --lime: #63820a;
  --lime-soft: rgba(99, 130, 10, .12);
  --danger: #c53a3a;
  --danger-soft: rgba(197, 58, 58, .1);
  --warn: #a86a09;
  --shadow: 0 16px 38px rgba(15, 50, 55, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(43, 217, 180, .10), transparent 62%),
    radial-gradient(760px 440px at 8% 110%, rgba(205, 242, 90, .06), transparent 65%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
html[data-theme="light"] body {
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(10, 148, 120, .10), transparent 62%),
    radial-gradient(760px 440px at 8% 110%, rgba(99, 130, 10, .06), transparent 65%),
    var(--bg);
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--lime); }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(28px, 4vw, 46px); }
h2 { font-size: clamp(21px, 2.4vw, 28px); }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }
small { font-size: 12px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #04110d;
  padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- sidebar */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar); z-index: 60;
  display: flex; flex-direction: column; gap: 18px;
  padding: 22px 16px 16px;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-right: 1px solid var(--line);
  overflow-y: auto; overscroll-behavior: contain;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); padding: 2px 6px 12px; }
.brand:hover { color: var(--text); }
.brand__mark {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 13px; color: var(--accent);
  background: linear-gradient(145deg, rgba(43, 217, 180, .18), rgba(205, 242, 90, .07));
  border: 1px solid rgba(43, 217, 180, .28);
  box-shadow: 0 8px 22px rgba(43, 217, 180, .12);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-weight: 800; font-size: 17px; letter-spacing: .01em; }
.brand__slash { color: var(--accent); }
.brand__sub { color: var(--faint); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.side-nav { display: flex; flex-direction: column; gap: 3px; }
.side-nav__group {
  margin: 15px 8px 5px; color: var(--faint); font-size: 10px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
}
.side-nav__group:first-child { margin-top: 0; }
.side-nav__link {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px;
  border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 500;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.side-nav__link:hover { background: var(--panel); color: var(--text); }
.side-nav__link.is-active {
  background: var(--accent-soft); color: var(--text); border-color: rgba(43, 217, 180, .22);
}
.side-nav__link.is-active .side-nav__icon { color: var(--accent); }
.side-nav__icon { width: 18px; text-align: center; color: var(--faint); font-size: 14px; }
.side-nav__badge {
  margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--lime); color: #16210a;
  font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.side-nav__link--eco { font-size: 13px; padding: 7px 10px; }
.eco {
  display: inline-grid; place-items: center; min-width: 30px; height: 20px;
  padding: 0 4px; border-radius: 6px; background: var(--panel-2);
  color: var(--faint); font-size: 9px; font-weight: 800; letter-spacing: .04em;
  border: 1px solid var(--line);
}
.side-nav__link--eco.is-current .eco { color: var(--accent); border-color: rgba(43, 217, 180, .3); }

.sidebar__footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.sidebar__controls { display: flex; align-items: center; gap: 8px; }
.lang {
  display: flex; padding: 3px; border-radius: 10px; background: var(--panel);
  border: 1px solid var(--line);
}
.lang__link {
  padding: 5px 10px; border-radius: 7px; color: var(--faint);
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.lang__link:hover { color: var(--text); }
.lang__link.is-active { background: var(--panel-3); color: var(--text); }
.theme-toggle {
  margin-left: auto; width: 42px; height: 34px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); cursor: pointer;
  display: grid; place-items: center; position: relative; font-size: 15px;
}
.theme-toggle:hover { border-color: var(--line-strong); }
.theme-toggle .icon-sun, .theme-toggle .icon-moon { position: absolute; transition: opacity .2s, transform .2s; }
html[data-theme="dark"] .icon-sun { opacity: 1; transform: scale(1); }
html[data-theme="dark"] .icon-moon { opacity: 0; transform: scale(.6); }
html[data-theme="light"] .icon-sun { opacity: 0; transform: scale(.6); }
html[data-theme="light"] .icon-moon { opacity: 1; transform: scale(1); }
.sidebar__note { margin: 12px 4px 0; color: var(--faint); font-size: 11px; line-height: 1.45; }

/* ---------------------------------------------------------------- shell */
.content { margin-left: var(--sidebar); min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px; padding: 14px 26px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.burger {
  display: none; width: 40px; height: 38px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--panel); cursor: pointer; font-size: 18px;
}
.topbar__title { display: flex; flex-direction: column; line-height: 1.2; }
.topbar__page { font-weight: 800; font-size: 15px; }
.topbar__sub { color: var(--faint); font-size: 11px; letter-spacing: .04em; }
.topbar__cta {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 11px; border: 1px solid rgba(43, 217, 180, .28);
  background: var(--accent-soft); color: var(--text); font-weight: 600; font-size: 13px;
}
.topbar__cta:hover { border-color: var(--accent); color: var(--text); }
.topbar__count {
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: #04110d; font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
}
main { flex: 1; width: 100%; max-width: 1280px; padding: 28px 26px 40px; margin: 0 auto; }
.container { max-width: 1180px; margin: 0 auto; }
.backdrop {
  display: none; position: fixed; inset: 0; z-index: 55; border: 0;
  background: rgba(2, 8, 12, .62); backdrop-filter: blur(3px);
}

.footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg-soft) 70%, transparent); }
.footer__inner {
  max-width: 1280px; margin: 0 auto; padding: 24px 26px 30px;
  display: flex; gap: 24px; justify-content: space-between; align-items: flex-start;
}
.footer__inner p { margin: 6px 0 0; color: var(--faint); font-size: 12px; max-width: 620px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 34px 0 10px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr); gap: 28px; align-items: center; }
.eyebrow {
  color: var(--accent); font-size: 11px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px;
}
.hero h1 { margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { color: var(--muted); font-size: 16px; max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 11px; border: 1px solid var(--line-strong);
  background: var(--panel); color: var(--text); font-weight: 650; font-size: 14px;
  cursor: pointer; transition: transform .15s, border-color .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--text); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #04120d; }
.btn--primary:hover { background: var(--lime); border-color: var(--lime); color: #131c07; }
.btn--ghost { background: transparent; }
.btn--sm { padding: 6px 11px; border-radius: 9px; font-size: 12px; }
.btn--lime { background: var(--lime); border-color: var(--lime); color: #141d08; }
.btn--lime:hover { background: var(--accent); border-color: var(--accent); }

.trust {
  padding: 18px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--panel), var(--bg-soft)); box-shadow: var(--shadow);
}
.trust__label { color: var(--faint); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 10px; }
.trust__grid b { display: block; font-size: 24px; letter-spacing: -.03em; }
.trust__grid small { color: var(--faint); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.trust__link { font-size: 12px; color: var(--accent); }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0 8px; }
.stat {
  padding: 15px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--panel);
}
.stat b {
  display: block; font-size: 22px; letter-spacing: -.02em;
  /* A long value (`elo-v3-logit-v1-...`, `unavailable`) must wrap instead of
     being clipped at the narrow widths. */
  overflow-wrap: anywhere; hyphens: auto;
}
.stat small { color: var(--faint); font-size: 11px; }

/* ---------------------------------------------------------------- sections */
.section { margin-top: 34px; }
.section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px;
  margin-bottom: 16px;
}
.section__head > :first-child { flex: 1 1 16rem; min-width: 0; }
.section__head h2 { margin-bottom: 4px; }
.section__head p { margin: 0; color: var(--muted); font-size: 13px; }
.section-link { font-size: 13px; color: var(--accent); white-space: nowrap; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.chip {
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: var(--muted); font-size: 12px; font-weight: 650;
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.is-active { background: var(--accent-soft); border-color: rgba(43, 217, 180, .35); color: var(--text); }

.daygroup { margin-bottom: 22px; }
.daygroup__head {
  display: flex; align-items: baseline; gap: 10px; padding: 0 2px 8px;
  border-bottom: 1px solid var(--line); margin-bottom: 10px;
}
.daygroup__label { font-weight: 800; font-size: 14px; }
.daygroup__date { color: var(--faint); font-size: 12px; }
.daygroup__count {
  margin-left: auto; color: var(--faint); font-size: 11px; border: 1px solid var(--line);
  padding: 1px 8px; border-radius: 999px;
}
.matchlist { display: flex; flex-direction: column; gap: 10px; }

/* ---------------------------------------------------------------- match card */
.match {
  display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 16px;
  align-items: center; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  transition: border-color .18s, transform .18s, background .18s;
}
.match:hover { border-color: var(--line-strong); background: var(--panel-2); color: var(--text); transform: translateY(-1px); }
.match__when { display: flex; flex-direction: column; gap: 2px; }
.match__when b { font-size: 13px; }
.match__when span { color: var(--faint); font-size: 11px; }
.match__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 7px; }
.badge {
  display: inline-block; padding: 2px 7px; border-radius: 5px; font-size: 10px;
  font-weight: 800; letter-spacing: .05em; background: var(--panel-3); color: var(--accent);
}
.badge--wta { color: var(--lime); }
.match__tournament { color: var(--muted); font-size: 12px; }
.match__round { color: var(--faint); font-size: 11px; }
.match__side { display: flex; flex-direction: column; gap: 5px; }
.player { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.player__name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player--winner .player__name { color: var(--accent); }
.player__pct { font-variant-numeric: tabular-nums; font-size: 12px; color: var(--muted); }
.player__pct--low { color: var(--faint); }
.pbar { height: 3px; border-radius: 3px; background: var(--panel-3); overflow: hidden; margin-top: 4px; }
.pbar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--lime)); }
.nopred { margin: 6px 0 0; color: var(--warn); font-size: 11px; }
.match__result { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.score { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; }
.state { color: var(--faint); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.win { color: var(--accent); }
.lose { color: var(--danger); }
.state--live { color: var(--danger); }
.state--done { color: var(--accent); }
.match__arrow { color: var(--faint); font-size: 13px; }
.match__odds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.odds-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px;
  border-radius: 6px; border: 1px solid var(--line); background: var(--bg-soft);
  color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums;
}
.odds-pill b { color: var(--text); font-size: 11px; }
.odds-pill span { color: var(--faint); font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }

/* ---------------------------------------------------------------- panels & tables */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 18px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card {
  min-width: 0;
  padding: 18px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel);
}
.card h3 { margin-bottom: 10px; }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { min-width: 0; overflow-wrap: anywhere; text-align: right; font-weight: 650; }
.hint { color: var(--faint); font-size: 11px; line-height: 1.45; }
.empty {
  padding: 26px; text-align: center; color: var(--faint); border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm); background: var(--panel);
}
.alert {
  padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 196, 107, .3);
  background: rgba(255, 196, 107, .08); color: var(--warn); font-size: 12px;
}
.alert--error { border-color: rgba(255, 122, 122, .3); background: var(--danger-soft); color: var(--danger); }

.scoreboard { display: grid; gap: 16px; }
.scoreboard__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; }
.scoreboard__players { display: grid; gap: 10px; }
.bigplayer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bigplayer:last-child { border-bottom: 0; }
.bigplayer--winner .bigplayer__name { color: var(--accent); }
.bigplayer__name { font-size: 20px; font-weight: 750; letter-spacing: -.02em; }
.bigplayer__id { color: var(--faint); font-size: 10px; }
.bigplayer__pct { font-size: 30px; font-weight: 850; letter-spacing: -.04em; color: var(--accent); }
.bigplayer__body { flex: 1; min-width: 0; }
.player-photo { width: 84px; height: 84px; border-radius: 18px; overflow: hidden; flex: 0 0 auto; background: var(--panel-3); display: grid; place-items: center; color: var(--accent); font-size: 28px; font-weight: 800; border: 1px solid var(--line); }
.player-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.player-photo--sm { width: 52px; height: 52px; border-radius: 14px; font-size: 20px; }
.player-card { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: var(--panel-2); }
.player-card__head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.player-card__name { font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.rank { color: var(--accent); font-size: 11px; font-weight: 800; margin-left: 6px; white-space: nowrap; }
.form-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.form-list li { display: flex; gap: 8px; align-items: baseline; min-width: 0; font-size: 13px; }
.form-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; border-radius: 7px; font-size: 10px; font-weight: 800; background: var(--panel-3); }
.result.win { color: var(--accent); background: var(--accent-soft); }
.result.lose { color: var(--danger); background: var(--danger-soft); }
.h2h { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .player-photo { width: 64px; height: 64px; } .player-photo--sm { width: 44px; height: 44px; } }
.bigscore { font-size: 22px; font-weight: 800; letter-spacing: .02em; }

.odds-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.provider {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px;
  background: var(--panel-2); border: 1px solid var(--line); font-size: 11px; font-weight: 700;
}
.provider::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.provider--betboom::before { background: var(--lime); }
.provider--muted::before { background: var(--faint); }
.odds-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.odds-table th, .odds-table td { padding: 7px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.odds-table th { color: var(--faint); font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.odds-table tr:last-child td { border-bottom: 0; }
.odds-table td.num, .odds-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.odds-table .market { color: var(--muted); }
.odds-table .scope { color: var(--faint); font-size: 10px; display: block; }
.price-cell { white-space: nowrap; }
.add-slip {
  padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--muted); font-size: 11px; cursor: pointer;
}
.add-slip:hover { border-color: var(--accent); color: var(--text); }
.add-slip.is-added { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
details.market-block { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
details.market-block > summary {
  cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 650;
  list-style: none; padding: 2px 0;
}
details.market-block > summary::-webkit-details-marker { display: none; }
details.market-block > summary::before { content: "＋"; color: var(--accent); margin-right: 8px; }
details.market-block[open] > summary::before { content: "−"; }

/* ---------------------------------------------------------------- ROI */
.roi-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .9fr); gap: 18px; align-items: start; }
.slip { display: flex; flex-direction: column; gap: 10px; }
.slip-item {
  display: grid; grid-template-columns: minmax(0, 1fr) 90px 90px 34px; gap: 10px;
  align-items: center; padding: 11px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--panel-2);
}
.slip-item__match { color: var(--faint); font-size: 10px; display: block; }
.slip-item__title { font-weight: 650; font-size: 13px; }
.slip-item__market { color: var(--muted); font-size: 11px; }
.slip-item input {
  width: 100%; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg-soft); font-variant-numeric: tabular-nums; text-align: right;
}
.slip-item__price { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.slip-item__remove {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line);
  background: transparent; color: var(--faint); cursor: pointer;
}
.slip-item__remove:hover { color: var(--danger); border-color: var(--danger); }
.slip-summary { display: grid; gap: 8px; }
.slip-summary__row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.slip-summary__row b { font-variant-numeric: tabular-nums; }
.slip-summary__row--total { border-top: 1px solid var(--line); padding-top: 8px; font-size: 15px; }
.slip-result { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.slip-result:last-child { border-bottom: 0; }
.slip-result .win { color: var(--accent); }
.slip-result .lose { color: var(--danger); }
.slip-result .wait { color: var(--warn); }
.roi-note { color: var(--faint); font-size: 11px; }

/* ---------------------------------------------------------------- forms / misc */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.pager { display: flex; gap: 10px; margin-top: 20px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.table-scroll { overflow-x: auto; }
.seo-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.seo-table th, .seo-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.seo-table th { color: var(--faint); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .grid-2, .roi-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --sidebar: 280px; }
  .sidebar { transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow); }
  body.menu-open .sidebar { transform: translateX(0); }
  body.menu-open .backdrop { display: block; }
  .content { margin-left: 0; }
  .burger { display: grid; place-items: center; }
  .topbar { padding: 12px 16px; }
  main { padding: 20px 16px 32px; }
  .footer__inner { flex-direction: column; padding: 20px 16px 26px; }
}
@media (max-width: 640px) {
  .match { grid-template-columns: 1fr; gap: 10px; }
  .match__when { flex-direction: row; align-items: center; gap: 8px; }
  .match__result { flex-direction: row; align-items: center; justify-content: space-between; }
  .stats-row, .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .slip-item { grid-template-columns: minmax(0, 1fr) 70px 34px; }
  .slip-item__price { grid-column: 2; grid-row: 1; }
  .bigplayer__name { font-size: 16px; }
  .topbar__sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
