/* OddTrace (ex-CoteScope) — thème sombre « app », d'après la maquette Redesign v6 (Instrument Sans + IBM Plex Mono, or #e8b931,
   fonds lumineux en couches, une couleur par sport). */
@font-face {
  font-family: "Instrument Sans";
  src: url("/static/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/static/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/static/fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0f11;
  --deep: #08080a;
  --card: #16171a;
  --panel: #131416;
  --line: #222327;
  --line-2: #1f2024;
  --row: #1d1e22;
  --chip: #1f2024;
  --input: #18191c;
  --input-line: #2a2b30;
  --ink: #f1f1f3;
  --ink-2: #d7d7dc;
  --ink-3: #c9c9cf;
  --muted: #a3a3ab;
  --dim: #8e8e98;
  --faint: #6c6c75;
  --cta: #f2f2f0;
  --cta-hi: #ffffff;
  --cta-ink: #0e0f11;
  --gold: #e8b931;
  --gold-hi: #f0c84a;
  --gold-ink: #141005;
  --gold-sub: #5a4710;
  --gold-line: #4a3f1c;
  --gold-soft: #e9d9a6;
  --live: #ff4d5e;
  --live-ink: #ff8089;
  --up: #3ddc84;
  --up-ink: #6ee8a4;
  --down: #ff4d5e;
  --down-ink: #ff8a94;
  --danger: #e5384b;
  --ok-bg: #0f2a1c;
  --ok-line: #1b4a30;
  --ok-ink: #9ff0c2;
  --surface: linear-gradient(180deg, #1a1b20, #131417);
  --surface-hi: inset 0 1px 0 rgba(255, 255, 255, .045);
  --pro-surface: linear-gradient(160deg, rgba(232, 185, 49, .16), rgba(232, 185, 49, .03) 45%, #15161a 75%);
  --pro-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 60px -30px rgba(232, 185, 49, .35);
  --r-sm: 3px;
  --r: 4px;
  --r-lg: 6px;
  --r-xl: 6px;
  --pill: 6px;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sc: var(--gold);
}

/* Une couleur par sport (rail, en-têtes de compétition, panneau). */
.sp-soccer { --sc: #4fbf7f; }
.sp-tennis { --sc: #c5d44a; }
.sp-basketball { --sc: #f08a4b; }
.sp-icehockey { --sc: #4fb3d9; }
.sp-americanfootball { --sc: #d9735b; }
.sp-mma, .sp-boxing { --sc: #e5484d; }
.sp-esports { --sc: #9b87f5; }
.sp-baseball { --sc: #5b8def; }
.sp-volleyball { --sc: #e0b04f; }
.sp-handball { --sc: #3fc1b0; }
.sp-cricket { --sc: #8fcf5a; }
.sp-rugbyunion, .sp-rugbyleague { --sc: #c98a5b; }
.sp-darts, .sp-snooker { --sc: #d96bb0; }
.sp-tabletennis, .sp-badminton { --sc: #6bc7e8; }
.sp-other { --sc: #8e8e98; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--deep); }
body { position: relative; margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: transparent; color: var(--ink); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(232, 185, 49, .08), transparent 65%),
    radial-gradient(800px 520px at 100% 0%, rgba(79, 179, 217, .08), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(155, 135, 245, .05), transparent 70%),
    linear-gradient(180deg, #111215, #0c0d0f); }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: 28px; line-height: 1.15; }
h2 { font-size: 20px; }
h3 { font-size: 16px; letter-spacing: -.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--dim); }
.accent { color: var(--gold); }
.num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- boutons, badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 18px; border: 0; border-radius: var(--r); background: var(--cta); color: var(--cta-ink); font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--cta-hi); text-decoration: none; }
.btn.ghost { background: var(--chip); color: var(--ink); }
.btn.ghost:hover { background: #2a2b30; }
.btn.soft { background: #24262a; color: var(--ink); }
.btn.soft:hover { background: #2e3035; }
.btn.danger { background: var(--danger); color: #fff; }
.btn.danger:hover { background: #f04a5c; }
.btn.big { padding: 15px 22px; font-size: 15px; }
.btn.sm { min-height: 40px; padding: 10px 12px; font-size: 13px; border-radius: var(--r-sm); }
.btn.wide { display: flex; width: 100%; }
.badge { display: inline-block; background: var(--gold); color: var(--gold-ink); font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 2px; letter-spacing: .02em; }
.tag { display: inline-block; align-self: flex-start; background: var(--surface); box-shadow: var(--surface-hi); color: var(--gold); font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: var(--pill); letter-spacing: .02em; vertical-align: middle; }
.pill-live { display: inline-block; background: var(--live); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: var(--pill); white-space: nowrap; }
.dot-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin: 0 0 1px 6px; vertical-align: middle; }
.seg button .dot-live { margin: 0 6px 1px 0; }
.error { color: #ff8a96; background: #2a1014; border: 1px solid #4a1f25; border-radius: var(--r); padding: 12px 16px; font-size: 14px; }
.error:empty { display: none; }
.notice { background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok-ink); border-radius: var(--r); padding: 12px 16px; font-size: 14px; }
.notice.slim { background: rgba(232, 185, 49, .08); border-color: var(--gold-line); color: var(--gold-soft); margin: 0 24px 16px; }
.notice a { color: #fff; font-weight: 600; }

/* ------------------------------------------------------------- en-tête */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 24px; background: rgba(17, 18, 21, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-2); }
.top-left, .top-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.top-left { gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.mark { width: 26px; height: 26px; flex: none; display: block; }  /* symbole OddTrace (static/brand/mark.svg) */
.nav { display: flex; gap: 4px; font-size: 14px; font-weight: 600; }
.nav a { padding: 8px 14px; border-radius: var(--r-sm); color: var(--dim); }
.nav a:hover { color: var(--ink); text-decoration: none; background: #17181b; }
.nav a.on { background: var(--row); color: var(--ink); }
.search { position: relative; display: flex; align-items: center; width: 280px; height: 40px; border-radius: var(--r); background: var(--input); border: 1px solid #232428; color: var(--faint); }
.search svg { position: absolute; left: 12px; pointer-events: none; }
.search input { width: 100%; height: 100%; padding: 0 14px 0 36px; background: transparent; border: 0; color: var(--ink); font: 500 14px var(--font); border-radius: var(--r); }
.search input::placeholder { color: var(--faint); }
.search:focus-within { border-color: var(--gold); }
.search input:focus { outline: none; }
.top-link { color: var(--ink-3); font-size: 14px; font-weight: 600; padding: 0 8px; }
.acct { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); padding: 8px 12px; border-radius: var(--r); background: var(--input); }
.acct:hover { text-decoration: none; background: #1f2024; }
.avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 2px; background: #2a2b30; font-size: 11px; font-weight: 600; color: var(--ink-3); }

/* ------------------------------------------------------------- mise en page */
main { flex: 1; width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 32px 32px 64px; }
.block { padding: 48px 0 0; }
.block > h2 { font-size: 28px; margin-bottom: 24px; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card { background: var(--surface); box-shadow: var(--surface-hi); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.card h2 { font-size: 17px; }
.card p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.card p b { color: var(--ink); }
.card.danger { border-color: #4a1f25; }

/* ------------------------------------------------------------- formulaires */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.field input { height: 46px; padding: 0 14px; border-radius: var(--r); background: var(--input); border: 1px solid var(--input-line); color: var(--ink); font: 500 15px var(--font); }
.field input:focus { outline: none; border: 2px solid var(--gold); padding: 0 13px; }
.field-row { display: flex; justify-content: space-between; }
.hint { font-weight: 500; color: var(--dim); font-size: 12px; }
.fine { font-size: 12px; line-height: 1.55; color: var(--dim); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inline-row { display: flex; gap: 10px; align-items: flex-end; }
.grow { flex: 1; }
.card .field input { background: #101113; height: 44px; }
.card .btn.ghost { align-self: flex-start; }

/* ------------------------------------------------------------- accueil */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; margin: -8px -32px 0; padding: 48px 32px 56px; border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 75% 95% at 35% 45%, transparent 30%, #0f1013 85%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(520px 320px at 78% 50%, rgba(232, 185, 49, .14), transparent 70%); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: 52px; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.hero h1 .accent { color: var(--gold); }
.hero .lead { max-width: 480px; }
.match-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--surface-hi), 0 30px 80px -40px rgba(0, 0, 0, .8); border: 1px solid var(--line); color: var(--ink); }
.match-card:hover { text-decoration: none; border-color: var(--gold-line); }
.mc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--dim); }
.mc-top > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: capitalize; }
.mc-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; text-align: center; }
.team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.team b { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.crest { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: #1c2a52; border: 1px solid #2d3f75; color: #b9c6ee; font-size: 12px; font-weight: 600; }
.team:last-child .crest, .sb-team:not(.home) .crest { background: #4a1c24; border-color: #6e2a35; color: #f1c0c7; }
.mc-center { font-size: 30px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mc-odds { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.mc-odd { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px; border-radius: var(--r); background: var(--chip); }
.mc-odd b { font: 600 17px var(--mono); font-variant-numeric: tabular-nums; }
.mc-odd small { font-size: 10px; color: var(--dim); font-weight: 500; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-odd.best { background: var(--gold); color: var(--gold-ink); }
.mc-odd.best small { color: var(--gold-sub); }
.mc-foot { font-size: 12px; color: var(--dim); text-align: center; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stats div { background: var(--surface); box-shadow: var(--surface-hi); border-radius: var(--r-lg); padding: 20px; }
.stats b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats div:nth-child(1) b { color: var(--gold); }
.stats div:nth-child(2) b { color: #4fbf7f; }
.stats div:nth-child(3) b, .stats b.live-num { color: #ff6b78; }
.stats div:nth-child(4) b { color: #4fb3d9; }
.stats span { display: block; margin-top: 4px; font-size: 13px; color: var(--dim); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.steps p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.step-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--surface-hi); color: var(--gold); font-weight: 600; }
.plans-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plans-mini .plan { gap: 12px; padding: 24px; }
.plans-mini .plan .btn { align-self: flex-start; }
.plans-mini h3 { display: flex; justify-content: space-between; align-items: baseline; }
.plans-mini h3 small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.plan-sum { font-size: 14px; line-height: 1.7; color: var(--muted); }
.plan.pro .plan-sum { color: var(--ink-3); }

/* ------------------------------------------------------------- tarifs */
.page-head { display: flex; flex-direction: column; gap: 14px; padding: 24px 0 32px; }
.page-head.center { align-items: center; text-align: center; margin: -32px -32px 0; padding: 56px 32px 32px; background: radial-gradient(520px 240px at 50% 0%, rgba(232, 185, 49, .13), transparent 70%); }
.page-head h1 { font-size: 44px; letter-spacing: -.02em; }
.page-head .lead { font-size: 17px; max-width: 520px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r); background: var(--input); border: 1px solid #232428; font-size: 13px; font-weight: 600; }
.seg a, .seg button { display: inline-flex; align-items: center; min-height: 36px; padding: 8px 14px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--dim); cursor: pointer; white-space: nowrap; }
.seg a:hover, .seg button:hover { color: var(--ink); text-decoration: none; }
.seg .on { background: #2a2b30; color: var(--ink); }
.seg .tag { margin-left: 6px; font-size: 9px; padding: 2px 6px; }
.save { color: var(--up); margin-left: 4px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--surface-hi); border: 1px solid var(--line); }
.plan.pro { background: var(--pro-surface); box-shadow: var(--pro-shadow); border-color: var(--gold-line); }
.plan h2 { display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.plan .tag { background: var(--gold); color: var(--gold-ink); box-shadow: none; }
.price { font-size: 44px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.plans-mini .price { font-size: 34px; }
.price small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-3); flex: 1; }
.checks li::before { content: "✓"; color: var(--ink-3); font-weight: 600; margin-right: 8px; }
.plan.pro .checks { color: var(--ink-2); }
.plan.pro .checks li::before { color: var(--gold); }
.plan-note { font-size: 14px; color: var(--dim); text-align: center; }
.plan form { margin: 0; }
.faq { max-width: 760px; margin: 56px auto 0; padding-top: 40px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; }
.faq h2 { font-size: 24px; margin-bottom: 8px; }
.qa { background: var(--surface); box-shadow: var(--surface-hi); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.qa h3 { font-size: 15px; }
.qa p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ------------------------------------------------------------- connexion, messages */
.auth { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 56px 20px 72px; }
.auth-card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 22px; padding: 40px; border-radius: var(--r-lg); background: radial-gradient(500px 260px at 0% 0%, rgba(232, 185, 49, .08), transparent 65%), linear-gradient(180deg, #15161a, #101113); box-shadow: var(--surface-hi); border: 1px solid var(--line); }
.auth-card.slim { padding: 20px 40px; }
.auth-head { display: flex; flex-direction: column; gap: 6px; }
.auth-head h1 { font-size: 28px; }
.auth-head p { font-size: 14px; line-height: 1.55; color: var(--dim); }
.auth-card .field { gap: 6px; }
.auth-alt { font-size: 14px; color: var(--dim); text-align: center; }
.auth-card .actions .btn { flex: 1; }

/* ------------------------------------------------------------- compte */
.acct-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.side-menu { display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 600; position: sticky; top: 88px; }
.side-menu a, .menu-btn { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: var(--r-sm); color: var(--muted); background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 14px; }
.side-menu a:hover, .menu-btn:hover { background: #17181b; color: var(--ink); text-decoration: none; }
.side-menu a.on { background: var(--row); color: var(--ink); }
.side-menu form { margin: 0; }
.acct-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.acct-main section, .acct-main form.card { scroll-margin-top: 88px; }
.plan-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--surface-hi); border: 1px solid var(--line); }
.plan-card.pro { background: var(--pro-surface); box-shadow: var(--pro-shadow); border-color: var(--gold-line); }
.plan-card form { margin: 0; }
.plan-line { display: flex; align-items: center; gap: 10px; }
.plan-line b { font-size: 20px; font-weight: 600; }
.status { background: #2a2b30; color: var(--ink-3); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: var(--pill); }
.status.ok { background: var(--up); color: #06240f; }
.plan-meta { font-size: 14px; color: var(--ink-3); margin-top: 6px; }
.plan-mail { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ------------------------------------------------------------- pages légales */
.legal { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.prose { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--surface-hi); border: 1px solid var(--line); }
.prose h1 { font-size: 30px; }
.prose h2 { font-size: 17px; margin-top: 10px; }
.prose p, .prose li { font-size: 14px; line-height: 1.65; color: var(--ink-3); }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose .error { color: #ff8a96; }
.help-list { list-style: none; padding: 0 !important; gap: 8px !important; }
.help-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: #101113; }
.help-list span { color: var(--dim); }

/* ------------------------------------------------------------- puces / onglets */
.chips { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 600; }
.chips a, .chips button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 10px 16px; border-radius: var(--r); border: 0; background: var(--chip); color: var(--ink-3); cursor: pointer; white-space: nowrap; }
.chips a:hover, .chips button:hover { background: #2a2b30; color: var(--ink); text-decoration: none; }
.chips .on, .chips .on:hover { background: var(--ink); color: #101113; }
.chips .n { color: var(--faint); font-weight: 600; }
.chips .on .n { color: var(--faint); }

/* ------------------------------------------------------------- comparateur (3 colonnes) */
body.app { min-height: 100vh; }
.board-app { display: grid; grid-template-columns: 220px minmax(0, 1fr) 440px; align-items: stretch; }
.rail { border-right: 1px solid var(--line-2); padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.rail-title { padding: 6px 12px 0; font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.rail-list { display: flex; flex-direction: column; gap: 2px; }
.rail-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 10px 12px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.rail-item > span:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rail-item:hover { background: #17181b; color: var(--ink); }
.rail-item.on { background: var(--row); color: var(--ink); }
.rail-item .n { font-size: 12px; font-weight: 500; color: var(--faint); font-variant-numeric: tabular-nums; }
.sdot { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--sc); }
.gopro { position: sticky; top: 88px; margin-top: 12px; padding: 16px; border-radius: var(--r); background: var(--pro-surface); box-shadow: var(--pro-shadow); border: 1px solid var(--gold-line); display: flex; flex-direction: column; gap: 10px; }
.gopro b { font-size: 15px; font-weight: 600; }
.gopro p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.list { display: flex; flex-direction: column; min-width: 0; }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px 16px; }
.list-head h1 { font-size: 26px; }
.list-head .sub { font-size: 13px; color: var(--dim); margin-top: 4px; }
.groups { display: flex; flex-direction: column; gap: 16px; padding: 0 24px 24px; }
.group { background: var(--surface); box-shadow: var(--surface-hi); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.g-head, .ev { display: grid; grid-template-columns: minmax(0, 1fr) repeat(var(--cols, 3), 78px); gap: 8px; align-items: center; padding: 12px 16px; }
.g-head { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, color-mix(in srgb, var(--sc) 12%, transparent), transparent 55%); }
.g-head.c2, .ev.c2 { --cols: 2; }
.g-name { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; min-width: 0; }
.g-name > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-icon { flex: none; width: 4px; height: 18px; border-radius: 1px; background: var(--sc); }
.g-sport { flex: none; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 2px; background: color-mix(in srgb, var(--sc) 12%, transparent); color: var(--sc); }
.g-col { text-align: center; font-size: 12px; font-weight: 600; color: var(--faint); }
.ev { width: 100%; border: 0; border-bottom: 1px solid var(--row); background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.ev:last-child { border-bottom: 0; }
.ev.live { background: linear-gradient(90deg, rgba(255, 77, 94, .08), transparent 45%); }
.ev:hover { background: #1a1b1f; text-decoration: none; }
.ev.sel { background: linear-gradient(90deg, rgba(232, 185, 49, .10), rgba(232, 185, 49, .02) 60%); box-shadow: inset 3px 0 var(--gold); }
.ev-main { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; }
.ev-when { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--dim); }
.ev-when b { color: var(--ink); font-weight: 600; }
.ev-when .pill-live { align-self: flex-start; }
.ev-clock { color: var(--live-ink); font-weight: 600; }
.ev-teams { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ev-team { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; }
.ev-team span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-team b { font-weight: 600; font-variant-numeric: tabular-nums; }
.odd { height: 44px; border-radius: var(--r-sm); background: var(--chip); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; transition: background-color .4s; }
.odd b { font: 600 15px var(--mono); font-variant-numeric: tabular-nums; }
.odd small { max-width: 100%; padding: 0 4px; font-size: 10px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odd.none { background: var(--input); }
.odd.none b { color: #55555c; }
.odd .lab { display: none; }
.odd:has(b.up) { background: rgba(61, 220, 132, .13); color: var(--up-ink); }
.odd:has(b.down) { background: rgba(255, 77, 94, .13); color: var(--down-ink); }
.up::after, .down::after { font-size: 8px; margin-left: 3px; vertical-align: 2px; }
.up::after { content: "▲"; color: var(--up); }
.down::after { content: "▼"; color: var(--down); }
.empty { padding: 48px; text-align: center; color: var(--dim); font-size: 14px; background: var(--surface); box-shadow: var(--surface-hi); border: 1px solid var(--line); border-radius: var(--r); }
.pager { display: flex; gap: 16px; align-items: center; justify-content: center; padding: 0 24px 32px; font-size: 14px; color: var(--dim); }
.pager:empty { display: none; }

/* panneau latéral */
.panel { border-left: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(232, 185, 49, .05), transparent 30%), linear-gradient(180deg, #141519, #0f1012); display: flex; flex-direction: column; min-width: 0; }
.panel-in { position: sticky; top: 64px; display: flex; flex-direction: column; max-height: calc(100vh - 64px); overflow-y: auto; }
.p-head { padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 16px; border-bottom: 1px solid var(--line-2); }
.p-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--dim); font-weight: 600; }
.p-meta > span:first-child { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: capitalize; }
.p-meta > span:first-child::before { content: ""; flex: none; width: 4px; height: 14px; border-radius: 1px; background: var(--sc); }
.p-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; text-align: center; }
.p-teams .crest { width: 44px; height: 44px; }
.p-teams .team b { font-size: 15px; }
.p-center { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.p-center b { font-size: 30px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.p-center span { font-size: 12px; font-weight: 600; color: var(--dim); }
.p-center span.is-live { color: #ff6b78; }
.panel .chips { font-size: 13px; }
.panel .chips a, .panel .chips button { min-height: 34px; padding: 7px 12px; border-radius: var(--pill); }
.p-body { padding: 16px 24px 0; }
.p-note { margin: 16px 24px 24px; padding: 14px 16px; border-radius: var(--r); background: #1a1b1e; font-size: 12px; line-height: 1.5; color: var(--dim); }
.p-gate { margin: 20px 24px 0; padding: 20px; border-radius: var(--r); background: var(--pro-surface); box-shadow: var(--pro-shadow); border: 1px solid var(--gold-line); display: flex; flex-direction: column; gap: 10px; }
.p-gate p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.p-empty { padding: 48px 24px; text-align: center; color: var(--dim); font-size: 14px; }
.p-full { display: block; margin: 12px 0 0; font-size: 13px; font-weight: 600; }

/* tableau de cotes (panneau et page match) */
.otable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.otable th { padding: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--faint); text-align: center; white-space: nowrap; }
.otable th:first-child { text-align: left; }
.otable td { height: 46px; border-top: 1px solid var(--line-2); text-align: center; padding: 0 2px; }
.otable td.bk { text-align: left; white-space: nowrap; }
.bk-in { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.ini { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 2px; background: var(--line); color: var(--dim); font-size: 9px; font-weight: 600; }
.px { display: inline-block; min-width: 60px; padding: 8px 4px; border-radius: var(--r-sm); font: 600 14px var(--mono); font-variant-numeric: tabular-nums; color: var(--ink-2); transition: background-color .4s; }
.px.best { background: var(--gold); color: var(--gold-ink); }
.px.up { background: rgba(61, 220, 132, .13); color: var(--up-ink); }
.px.down { background: rgba(255, 77, 94, .13); color: var(--down-ink); }
.px.susp { color: #55555c; font: 600 13px var(--font); text-decoration: line-through; }
.otable tr.off .bk-in { color: var(--faint); }
.otable .delayed { margin-left: 6px; padding: 1px 6px; border: 1px solid var(--gold); border-radius: 4px; color: var(--gold); font-size: 10px; font-weight: 600; }

/* ------------------------------------------------------------- page match */
.crumbs { font-size: 13px; font-weight: 600; color: var(--dim); margin-bottom: 16px; }
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--ink); }
.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding: 28px 32px; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); margin-bottom: 20px;
  background: linear-gradient(90deg, rgba(45, 63, 117, .55), rgba(21, 22, 26, .95) 38%, rgba(21, 22, 26, .95) 62%, rgba(110, 42, 53, .55)); }
.scoreboard.is-live { background: radial-gradient(500px 220px at 50% 0%, rgba(255, 77, 94, .12), transparent 70%), linear-gradient(90deg, rgba(45, 63, 117, .55), rgba(21, 22, 26, .95) 38%, rgba(21, 22, 26, .95) 62%, rgba(110, 42, 53, .55)); }
.sb-team { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sb-team.home { justify-content: flex-end; text-align: right; }
.sb-team b { font-size: 26px; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.sb-team .crest { width: 64px; height: 64px; border-radius: var(--r-lg); font-size: 16px; flex: none; }
.sb-center { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.sb-center .pill-live { font-size: 12px; padding: 3px 10px; }
.sb-score { font-size: 44px; font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.sb-time { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.sb-meta { font-size: 12px; color: var(--dim); }
#tabs { margin-bottom: 20px; }
.markets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.market { background: var(--surface); box-shadow: var(--surface-hi); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px 8px; min-width: 0; }
.m-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.m-head h2 { font-size: 16px; letter-spacing: -.01em; }
.m-head span { font-size: 13px; color: var(--dim); font-weight: 600; white-space: nowrap; }
.m-scroll { overflow-x: auto; }
.market .otable th:not(:first-child), .market .otable td:not(.bk) { width: 84px; }
.market .px { min-width: 64px; }
.more-row { grid-column: 1 / -1; display: flex; justify-content: center; padding: 8px 0 16px; }

/* ------------------------------------------------------------- pied de page, barre mobile */
.foot { border-top: 1px solid var(--line-2); padding: 20px 32px; font-size: 12px; color: var(--dim); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.foot b { color: var(--ink); }
.foot-note { flex-basis: 100%; }
.foot a { color: var(--gold); }
.tabbar { display: none; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
  .board-app { grid-template-columns: 200px minmax(0, 1fr) 380px; }
  .search { width: 220px; }
}
@media (max-width: 1080px) {
  .board-app { grid-template-columns: minmax(0, 1fr); }
  .panel { display: none; }
  .rail { border-right: 0; padding: 12px 16px 0; }
  .rail-title, .gopro { display: none; }
  .rail-list { flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .rail-list::-webkit-scrollbar { display: none; }
  .rail-item { width: auto; flex: none; min-height: 44px; padding: 11px 16px; border-radius: var(--r); background: var(--chip); color: var(--ink-3); white-space: nowrap; }
  .rail-item.on { background: var(--ink); color: #101113; }
  .rail-item.on .n { color: var(--faint); }
  .hero { grid-template-columns: 1fr; }
  .markets { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .top { padding: 0 16px; height: 60px; }
  .nav, .top-link, .top .btn, .acct { display: none; }
  .search { width: 168px; }
  .wrap { padding: 20px 16px 40px; }
  .hero { margin: -4px -16px 0; padding: 32px 16px 40px; }
  .hero h1 { font-size: 38px; }
  .page-head.center { margin: -20px -16px 0; padding: 40px 16px 24px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .plans, .plans-mini, .two { grid-template-columns: minmax(0, 1fr); }
  .page-head h1 { font-size: 34px; }
  .acct-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .side-menu { position: static; flex-direction: row; overflow-x: auto; gap: 6px; }
  .side-menu a, .menu-btn { white-space: nowrap; background: var(--chip); }
  .inline-row { flex-direction: column; align-items: stretch; }
  .auth-card { padding: 28px 22px; }
  .list-head { padding: 16px 16px 12px; }
  .groups { padding: 0 12px 16px; gap: 12px; }
  .group { border-radius: var(--r-lg); }
  .notice.slim { margin: 0 12px 12px; }
  .g-head { grid-template-columns: minmax(0, 1fr); }
  .g-head .g-col { display: none; }
  .ev { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 6px 6px; padding: 12px 14px; }
  .ev-main { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; }
  .ev-when { order: 2; align-items: flex-end; text-align: right; }
  .ev-when .pill-live { align-self: flex-end; }
  .odd { flex-direction: row; justify-content: space-between; padding: 0 12px; }
  .odd .lab { display: inline; font-size: 12px; font-weight: 600; color: var(--faint); }
  .odd small { display: none; }
  .scoreboard { gap: 12px; padding: 20px 16px; }
  .sb-team { flex-direction: column-reverse; gap: 8px; text-align: center; }
  .sb-team.home { flex-direction: column; text-align: center; }
  .sb-team b { font-size: 16px; }
  .sb-team .crest { width: 44px; height: 44px; border-radius: var(--r); font-size: 12px; }
  .sb-score { font-size: 36px; }
  .sb-time { font-size: 20px; }
  .market { padding: 14px 14px 6px; }
  .foot { padding: 20px 16px; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: #131416; padding: 6px 8px calc(10px + env(safe-area-inset-bottom)); font-size: 11px; font-weight: 600; text-align: center; }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 5px; min-height: 44px; padding: 6px 0; color: var(--dim); }
  .tabbar a:hover { text-decoration: none; color: var(--ink); }
  .tabbar .tick { width: 22px; height: 4px; border-radius: 2px; background: transparent; }
  .tabbar a.on { color: var(--gold); }
  .tabbar a.on .tick { background: var(--gold); }
}
@media (max-width: 420px) {
  .search { width: 132px; }
  .brand { font-size: 17px; }
}

/* ------------------------------------------------------------- surebets */
.arbs-page { max-width: 1120px; margin: 0 auto; }
.arbs-head { padding: 0 0 16px; }
.arbs-note { margin: 0 0 16px; font-size: 13px; }
.arbs { display: flex; flex-direction: column; gap: 12px; }
.arb { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: center; padding: 16px 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--surface-hi); border: 1px solid var(--line); }
.arb-profit { display: flex; flex-direction: column; gap: 4px; }
.arb-profit b { font: 600 24px var(--mono); color: var(--up-ink); letter-spacing: -.02em; }
.arb-profit span { font-size: 12px; color: var(--dim); }
.arb-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.arb-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--dim); }
.arb-meta .g-icon { height: 14px; }
.arb-match { color: var(--ink); font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arb-market { font-size: 13px; color: var(--ink-3); }
.arb-legs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.leg { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--chip); min-width: 0; }
.leg-o { font-size: 11px; font-weight: 600; color: var(--faint); }
.leg-p { font: 600 16px var(--mono); color: var(--gold); }
.leg-b { font-size: 12px; font-weight: 600; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leg-net { font-size: 10px; color: var(--dim); }
@media (max-width: 760px) {
  .tabbar { grid-template-columns: repeat(5, 1fr); }
  .arb { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px; }
  .arb-profit { flex-direction: row; align-items: baseline; gap: 10px; }
}

/* surebets : outils, filtres, aperçu, calculateur, disparus */
.arbs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.arbs-tools { display: flex; gap: 8px; }
.arbs-tools .btn.on { background: var(--gold); color: var(--gold-ink); }
.arb-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--surface-hi); border: 1px solid var(--line); }
.arb-filters[hidden] { display: none; }
.arb-filters fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.arb-filters legend { padding: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.arb-filters .wide-f { grid-column: 1 / -1; }
.arb-filters select, .calc input, .calc select { height: 40px; padding: 0 10px; border-radius: var(--r); background: var(--input); border: 1px solid var(--input-line); color: var(--ink); font: 500 14px var(--font); }
.arb-filters .chips button { min-height: 34px; padding: 7px 12px; font-size: 13px; }
.f-acts { display: flex; gap: 6px; }
.f-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 12px; max-height: 240px; overflow-y: auto; font-size: 13px; color: var(--ink-3); }
.f-books label { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.f-books input { accent-color: var(--gold); }
.arbs-preview { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--r-lg); background: var(--pro-surface); box-shadow: var(--pro-shadow); border: 1px solid var(--gold-line); }
.ap-num { font-size: 18px; }
.ap-num b { font: 600 40px var(--mono); color: var(--gold); margin-right: 6px; }
.ap-best b { color: var(--up-ink); font-family: var(--mono); }
.arb { cursor: pointer; }
.arb:hover { border-color: #2c2d33; }
.arb.open { border-color: var(--gold-line); }
.arb.gone { opacity: .45; cursor: default; }
.arb.gone .arb-profit b { color: var(--dim); text-decoration: line-through; }
.calc { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); cursor: default; }
.c-row { display: flex; flex-wrap: wrap; gap: 16px; }
.c-row label, .c-leg { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.c-legs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.c-leg input { font-family: var(--mono); }
.c-sum { font-size: 14px; color: var(--ink-3); }
.c-sum b { font-family: var(--mono); color: var(--ink); }
.c-sum b.pos { color: var(--up-ink); }
.c-sum b.neg { color: var(--down-ink); }
.c-link { font-size: 13px; font-weight: 600; }
@media (max-width: 760px) {
  .arb-filters { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .arbs-preview { padding: 20px; }
}

/* logos des bookmakers (règles par book dans books.css, généré par scripts/fetch_book_logos.py) */
.logo { background-color: #fff; background-size: cover; background-position: center; background-repeat: no-repeat; }
.lg { display: none; flex: none; width: 12px; height: 12px; margin-right: 5px; border-radius: 2px; vertical-align: -2px; background-size: cover; background-position: center; }
.leg-b .lg, .c-leg .lg { width: 14px; height: 14px; }
.odd small .lg { width: 10px; height: 10px; margin-right: 3px; vertical-align: -1px; }

/* compte : encadré API ; documentation de l'API */
.api-box code, .docs code, .docs pre { font-family: var(--mono); }
.key-new code { display: block; padding: 12px 14px; border-radius: var(--r); background: #101113; border: 1px solid var(--gold-line); color: var(--gold); font-size: 14px; overflow-wrap: anywhere; user-select: all; }
.key-line code { padding: 2px 6px; border-radius: var(--r-sm); background: #101113; color: var(--ink-2); }
.usage { display: flex; flex-direction: column; gap: 8px; }
.usage-bar { height: 8px; border-radius: 4px; background: #101113; overflow: hidden; }
.usage-bar span { display: block; height: 100%; background: var(--gold); }
.usage-bar .w0 { width: 0%; }
.usage-bar .w5 { width: 5%; }
.usage-bar .w10 { width: 10%; }
.usage-bar .w15 { width: 15%; }
.usage-bar .w20 { width: 20%; }
.usage-bar .w25 { width: 25%; }
.usage-bar .w30 { width: 30%; }
.usage-bar .w35 { width: 35%; }
.usage-bar .w40 { width: 40%; }
.usage-bar .w45 { width: 45%; }
.usage-bar .w50 { width: 50%; }
.usage-bar .w55 { width: 55%; }
.usage-bar .w60 { width: 60%; }
.usage-bar .w65 { width: 65%; }
.usage-bar .w70 { width: 70%; }
.usage-bar .w75 { width: 75%; }
.usage-bar .w80 { width: 80%; }
.usage-bar .w85 { width: 85%; }
.usage-bar .w90 { width: 90%; }
.usage-bar .w95 { width: 95%; }
.usage-bar .w100 { width: 100%; }
.docs { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.docs section { display: flex; flex-direction: column; gap: 12px; }
.docs h2 { font-size: 22px; padding-top: 8px; }
.docs h3 { font-size: 16px; }
.docs p, .docs li { font-size: 14px; line-height: 1.65; color: var(--ink-3); }
.docs pre { margin: 0; padding: 14px 16px; border-radius: var(--r); background: #101113; border: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--ink-2); overflow-x: auto; }
.docs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.docs th, .docs td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line-2); color: var(--ink-3); vertical-align: top; }
.docs th { color: var(--ink); font-weight: 600; }
.docs .route { font-family: var(--mono); color: var(--gold); }
.plans.four { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1120px; }
.plan .api-line { font-size: 13px; color: var(--muted); }
@media (max-width: 1080px) { .plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .plans.four { grid-template-columns: minmax(0, 1fr); } }
