/* laproba — interface outil, 3 colonnes, une couleur de marque. */
:root {
  --brand: #0f7a52; --brand-ink: #0a5a3c; --brand-soft: #e3f2ea;
  --bg: #eef0f2; --panel: #ffffff; --row: #ffffff; --row-alt: #f7f8f9; --cell: #f1f3f5; --cell-hi: #e3f2ea;
  --line: #dfe2e6; --fg: #15191e; --muted: #5f6873; --dim: #8b939d;
  --good: #0f7a52; --bad: #c2362b; --legal: #fff3c4; --legal-fg: #4a3b00;
  --r: 4px; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #23a26f; --brand-ink: #0d3d2a; --brand-soft: #143528;
    --bg: #111417; --panel: #191d21; --row: #191d21; --row-alt: #1d2226; --cell: #23292e; --cell-hi: #16382a;
    --line: #2a3036; --fg: #e8eaed; --muted: #a2aab3; --dim: #737c86; --good: #3cc489; --bad: #ef6b60;
    --legal: #2e2a12; --legal-fg: #e6d68a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #23a26f; --brand-ink: #0d3d2a; --brand-soft: #143528;
  --bg: #111417; --panel: #191d21; --row: #191d21; --row-alt: #1d2226; --cell: #23292e; --cell-hi: #16382a;
  --line: #2a3036; --fg: #e8eaed; --muted: #a2aab3; --dim: #737c86; --good: #3cc489; --bad: #ef6b60;
  --legal: #2e2a12; --legal-fg: #e6d68a; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 14.5px/1.45 "Barlow", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
.num, .t, h1, h2, h3 { font-family: "Barlow Condensed", "Barlow", sans-serif; font-variant-numeric: tabular-nums; }
svg.i { width: 16px; height: 16px; flex: none; vertical-align: -3px; }

/* bandeau légal (obligatoire en France) */
.legal { background: var(--legal); color: var(--legal-fg); font-size: 12.5px; padding: 6px 16px; text-align: center; }
.legal b { font-weight: 700; }

/* barre de marque */
.top { background: var(--brand); color: #fff; }
.top .in { max-width: 1320px; margin: 0 auto; padding: 0 16px; height: 52px; display: flex; align-items: center; gap: 24px; }
.logo { font: 700 24px/1 "Barlow Condensed", sans-serif; letter-spacing: .2px; display: flex; align-items: baseline; }
.logo small { font: 600 11px "Barlow", sans-serif; margin-left: 8px; padding: 2px 6px; border: 1px solid rgba(255,255,255,.5); border-radius: 3px; text-transform: uppercase; letter-spacing: .5px; }
.top nav { display: flex; height: 100%; overflow-x: auto; scrollbar-width: none; }
.top nav a { display: flex; align-items: center; padding: 0 14px; font-weight: 600; font-size: 15px; color: rgba(255,255,255,.85); border-bottom: 3px solid transparent; white-space: nowrap; }
.top nav a:hover { color: #fff; }
.top nav a.on { color: #fff; border-bottom-color: #fff; }

/* mise en page 3 colonnes */
.layout { max-width: 1320px; margin: 0 auto; padding: 14px 16px 40px; display: grid; gap: 14px; grid-template-columns: 220px minmax(0, 1fr) 300px; align-items: start; }
.side { position: sticky; top: 12px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.box h3 { margin: 0; padding: 10px 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .4px; border-bottom: 1px solid var(--line); color: var(--muted); }
.menu a { display: flex; align-items: center; gap: 9px; padding: 8px 12px; font-weight: 500; border-left: 3px solid transparent; cursor: pointer; }
.menu a:hover { background: var(--row-alt); }
.menu a.on { border-left-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.menu a .c { margin-left: auto; color: var(--dim); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.menu .sub a { padding-left: 37px; font-size: 13.5px; color: var(--muted); }
.box + .box { margin-top: 12px; }
@media (max-width: 1100px) { .layout { grid-template-columns: 200px minmax(0, 1fr); } .right { grid-column: 1 / -1; position: static; } }
@media (max-width: 760px) {
  .layout { grid-template-columns: minmax(0, 1fr); padding-top: 10px; }
  .left { position: static; } .left .box { display: none; } .left .box.sports { display: block; }
  .left .sports .menu { display: flex; overflow-x: auto; } .left .sports .menu a { border-left: 0; border-bottom: 3px solid transparent; white-space: nowrap; }
  .left .sports .menu a.on { border-bottom-color: var(--brand); } .left .sports h3 { display: none; }
}

/* liste des matchs */
.head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.head h1 { margin: 0; font-size: 22px; }
.head .tabs { margin-left: auto; display: flex; gap: 2px; background: var(--cell); padding: 2px; border-radius: var(--r); }
.head .tabs button { border: 0; background: none; color: var(--muted); font: 600 13px "Barlow"; padding: 5px 10px; border-radius: 3px; cursor: pointer; }
.head .tabs button.on { background: var(--panel); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.day { padding: 7px 12px; background: var(--cell); font: 700 13px "Barlow Condensed"; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.comp { display: flex; align-items: center; gap: 8px; padding: 8px 12px 6px; font-weight: 600; font-size: 13px; color: var(--muted); }
.comp .cols { margin-left: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 4px; font-size: 11.5px; text-align: center; color: var(--dim); font-weight: 500; }
.ev { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 12px; border-top: 1px solid var(--line); background: var(--row); cursor: pointer; }
.ev:hover { background: var(--row-alt); }
.ev .t { font-size: 15px; font-weight: 600; color: var(--muted); }
.ev .t.sc { display: flex; flex-direction: column; line-height: 1.1; color: var(--fg); }
.ev .t.sc small { font-size: 11px; font-weight: 600; color: var(--muted); }
.ev .t.sc.live small { color: #d4351c; }
.ev .t.sc.live small::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #d4351c; margin-right: 3px; vertical-align: 1px; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .ev .t.sc.live small::before { animation: none; } }
.ev .names { min-width: 0; }
.ev .names div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.ev .names .fav { font-weight: 700; }
.ev .ps { display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 4px; }
.cell { height: 44px; border-radius: var(--r); background: var(--cell); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; font: 700 17px "Barlow Condensed"; border: 1px solid transparent; position: relative; overflow: hidden; }
.cell::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w, 0%); background: var(--brand); opacity: .55; transition: width .5s ease-out; }
.ev .names .red { color: #d4351c; font-size: 11px; letter-spacing: 1px; }
.pitch { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--brand-soft); font-size: 13px; color: var(--muted); }
.pitch b { color: var(--brand); font-weight: 700; }
.ev .names .mk { font-size: 11.5px; color: var(--dim); margin-top: 2px; }
.ev .names .mk.warn { color: #b45309; font-weight: 600; }
.cmp { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 8px 0; }
.cmp th { text-align: right; font-weight: 600; color: var(--muted); font-size: 12px; padding: 2px 0 4px; }
.cmp td { padding: 3px 0; border-top: 1px solid var(--line); }
.cmp td + td, .cmp th + th { text-align: right; font: 700 15px "Barlow Condensed"; width: 30%; }
.cmp th + th { font: 600 12px "Barlow"; }
.verdict.warn { margin-top: 6px; background: color-mix(in srgb, #f59e0b 16%, transparent); color: #92400e; }
@media (prefers-color-scheme: dark) { .ev .names .mk.warn { color: #fbbf24; } .cmp { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 8px 0; }
.cmp th { text-align: right; font-weight: 600; color: var(--muted); font-size: 12px; padding: 2px 0 4px; }
.cmp td { padding: 3px 0; border-top: 1px solid var(--line); }
.cmp td + td, .cmp th + th { text-align: right; font: 700 15px "Barlow Condensed"; width: 30%; }
.cmp th + th { font: 600 12px "Barlow"; }
.verdict.warn { color: #fcd34d; } }
.ev.locked { cursor: default; }
.ev.locked .ps { display: flex; justify-content: flex-end; }
.cell.lock { width: 200px; max-width: 100%; color: var(--muted); text-decoration: none; flex-direction: row; gap: 6px; font: 600 13px "Barlow"; }
.cell.lock small { font-size: 13px; }
.cell.lock:hover { color: var(--brand); border-color: var(--brand); }
.cell small { font: 500 11px "Barlow"; color: var(--muted); }
.cell.top { background: var(--cell-hi); color: var(--brand); }
.cell.sel { border-color: var(--brand); }
.cell:hover { border-color: var(--line); }
.cell.ok { background: color-mix(in srgb, var(--good) 18%, var(--cell)); }
.cell.ko { opacity: .55; }
@media (max-width: 520px) { .cell.lock { width: 100%; } .ev { grid-template-columns: 40px minmax(0, 1fr); } .ev .ps { grid-column: 1 / -1; grid-auto-columns: 1fr; } .comp .cols { display: none; } .head .tabs { margin-left: 0; width: 100%; } .head .tabs button { flex: 1; padding: 6px 4px; } }
.none { padding: 28px 12px; text-align: center; color: var(--muted); }
.more { display: block; text-align: center; padding: 10px; color: var(--brand); font-weight: 600; border-top: 1px solid var(--line); }

/* panneau droit : vérifier une cote */
.calc { padding: 12px; display: grid; gap: 10px; }
.calc .pick { padding: 10px; background: var(--cell); border-radius: var(--r); font-size: 13.5px; }
.calc .pick b { display: block; font-size: 14.5px; }
.calc label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.calc input { width: 100%; font: 700 20px "Barlow Condensed"; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--fg); }
.calc input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 13.5px; }
.kv span:nth-child(odd) { color: var(--muted); }
.kv b { font: 700 16px "Barlow Condensed"; text-align: right; }
.verdict { padding: 9px 10px; border-radius: var(--r); font-weight: 600; font-size: 13.5px; }
.verdict.neg { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.verdict.pos { background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); }
.note { font-size: 12px; color: var(--dim); }

/* pages de contenu */
.page { max-width: 1320px; margin: 0 auto; padding: 14px 16px 40px; }
.doc { max-width: 860px; }
.doc .box { padding: 16px 18px; }
.doc h1 { font-size: 30px; margin: 4px 0 6px; }
.doc h2 { font-size: 20px; margin: 22px 0 8px; }
.doc p { margin: 8px 0; color: var(--muted); }
.doc p b, .doc li b { color: var(--fg); }
table.tb { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tb th, .tb td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.tb th { background: var(--cell); color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.tb td.n, .tb th.n { text-align: right; font-variant-numeric: tabular-nums; }
.wide { overflow-x: auto; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 3px; }
.pill.g { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }
.pill.b { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.hash { font: 12px ui-monospace, monospace; word-break: break-all; color: var(--muted); background: var(--cell); padding: 8px 10px; border-radius: var(--r); }
pre { background: var(--cell); padding: 12px; border-radius: var(--r); overflow-x: auto; font-size: 13px; }
.alert { padding: 10px 12px; border-left: 4px solid #d29a00; background: var(--legal); color: var(--legal-fg); font-size: 13px; border-radius: 0 var(--r) var(--r) 0; }
.crumb { font-size: 13px; color: var(--muted); margin: 0 0 8px; } .crumb a { color: var(--brand); font-weight: 600; }
footer { border-top: 1px solid var(--line); background: var(--panel); color: var(--dim); font-size: 12.5px; }
footer .in { max-width: 1320px; margin: 0 auto; padding: 16px; display: grid; gap: 6px; }
footer b { color: var(--muted); }
.skel { height: 54px; border-top: 1px solid var(--line); background: linear-gradient(90deg, var(--row) 30%, var(--row-alt) 50%, var(--row) 70%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* simulations de saison */
.sub { margin: 0; padding: 8px 12px; color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
.tb.sim td.p { position: relative; min-width: 64px; }
.tb.sim td.p::before { content: ""; position: absolute; inset: 4px 4px 4px auto; width: calc(var(--x) * 0.9); border-radius: 3px; opacity: .22; }
.tb.sim td.p.g::before { background: var(--brand); } .tb.sim td.p.r::before { background: #d4351c; } .tb.sim td.p.o::before { background: #f59e0b; }
.tb.sim td.p span { position: relative; }
.tb.sim tr.rz td { background: color-mix(in srgb, #d4351c 5%, transparent); }

/* jeu « Le plus probable ? » */
.duel .score { margin-left: auto; display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.duel .score b { color: var(--fg); font: 700 18px "Barlow Condensed"; }
.duel .cards { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; padding: 16px 12px; }
.duel .vs { align-self: center; color: var(--dim); font: 600 13px "Barlow"; text-transform: uppercase; }
.duel .card { display: flex; flex-direction: column; gap: 10px; text-align: left; min-height: 150px; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--cell); color: var(--fg); cursor: pointer; font: 500 17px "Barlow"; transition: border-color .15s, background .15s; }
.duel .card:hover:not(:disabled) { border-color: var(--brand); }
.duel .card .cat { font: 600 11px "Barlow"; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.duel .card .q { flex: 1; line-height: 1.3; }
.duel .card .pv b { display: block; font: 700 26px "Barlow Condensed"; }
.duel .card .pv small { color: var(--muted); font-size: 12px; }
.duel .card.hi { border-color: var(--brand); background: var(--brand-soft); }
.duel .card.lo.picked { border-color: #d4351c; }
.duel .card:disabled { cursor: default; }
.duel .after { padding: 0 12px 14px; display: grid; gap: 10px; }
.duel .btns { display: flex; gap: 8px; }
.duel .btns .cell { height: auto; padding: 9px 18px; font: 600 14px "Barlow"; cursor: pointer; }
.duel .btns .go { background: var(--brand); color: #fff; }
@media (max-width: 640px) { .duel .cards { grid-template-columns: 1fr; } .duel .vs { justify-self: center; } }
@media (prefers-reduced-motion: reduce) { .duel .card { transition: none; } }

.cell.buy { width: 100%; height: auto; padding: 10px; font: 600 14px "Barlow"; cursor: pointer; background: var(--brand); color: #fff; border-color: var(--brand); }
.cell.buy:disabled { opacity: .7; cursor: wait; }

/* accueil et calculateurs */
.hero-line { padding: 4px 2px 14px; } .hero-line h1 { margin: 0; font-size: 30px; } .hero-line p { margin: 4px 0 0; color: var(--muted); }
.hubgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.hubgrid .box + .box { margin-top: 0; }
.hub .links a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-top: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.hub .links a:hover { background: var(--row-alt); } .hub .links a span { color: var(--muted); font-size: 13px; }
.hub .fact { padding: 14px 12px; } .hub .fact b { display: block; font: 700 34px "Barlow Condensed"; color: var(--brand); }
.hub .fact p { margin: 4px 0; font-size: 17px; } .hub .fact small { color: var(--muted); }
.calcs .calc label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.calcs .calc input, .calcs .calc select { display: block; width: 100%; margin-top: 4px; }
.calcs .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calcs .cmp th { text-align: left; } .calcs .cmp td + td, .calcs .cmp th + th { text-align: right; }
.calcs .calc select { font: 600 15px "Barlow"; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--fg); }

/* articles */
.links.arts a { flex-direction: row; align-items: baseline; gap: 14px; }
.links.arts .big { flex: 0 0 150px; font: 700 20px "Barlow Condensed"; color: var(--brand); }
.article .kicker { margin: 4px 0 0; font: 700 36px "Barlow Condensed"; color: var(--brand); }
.article h1 { margin-top: 2px; }
.article p { font-size: 16.5px; line-height: 1.6; }
.article .more { color: var(--brand); font-weight: 700; }
@media (max-width: 520px) { .links.arts a { flex-direction: column; gap: 2px; } .links.arts .big { flex: none; } }
.links.arts a span { color: var(--fg); font-size: 15px; } .links.arts .big { flex-basis: 190px; }

/* aperçu du jeu sur l'accueil */
.duel.teaser { margin-bottom: 12px; border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.duel.teaser .head h2 { margin: 0; font-size: 24px; }
.duel.teaser .tag { font: 600 12px "Barlow"; color: var(--brand); background: var(--brand-soft); padding: 3px 8px; border-radius: 999px; }
.duel.teaser .play { margin-left: auto; height: auto; padding: 8px 22px; font: 700 15px "Barlow"; text-decoration: none; background: var(--brand); color: #fff; border-color: var(--brand); }
.duel .btns a.cell { height: auto; padding: 9px 18px; font: 600 14px "Barlow"; text-decoration: none; }
.duel .btns .go, .duel.teaser .play { background: var(--brand); color: #fff; }
.duel.teaser .card { min-height: 120px; }

.tb.sim .scen { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.sub.pro a { color: var(--brand); font-weight: 600; }
.box.curve { margin-top: 12px; }
.tb .buy { min-width: 120px; }
.sub.pro:empty { display: none; }

/* compte */
.account .calc label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.account .calc input[type=email], .account .calc input[type=password] { display: block; width: 100%; margin-top: 4px; font: 500 16px "Barlow"; }
.account .chk { display: flex !important; align-items: center; gap: 8px; color: var(--fg) !important; }
.account .chk input { width: auto; } .account .chk a, .account a { color: var(--brand); font-weight: 600; }
.account .buy { width: 100%; margin-top: 6px; }
.account .cmp td + td { text-align: right; font: 600 15px "Barlow"; }
.account .google-signin { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #747775; border-radius: 4px; background: #fff; color: #1f1f1f; font: 500 14px/20px Arial, sans-serif; text-decoration: none; cursor: pointer; }
.account .google-signin:hover { background: #f8fafd; border-color: #5f6368; color: #1f1f1f; }
.account .google-signin:focus-visible { outline: 2px solid #4285f4; outline-offset: 2px; }
.account .google-g { display: block; flex: none; width: 20px; height: 20px; background: url('/static/google-g-2x.png') center / 40px 40px no-repeat; }
.account .google-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font: 500 12px "Barlow", sans-serif; }
.account .google-divider::before, .account .google-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.account #google-msg { margin: 0; color: var(--bad); }
.account #google-msg:empty { display: none; }
.cell.lock.unlock { cursor: pointer; color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.pill.current { display: inline-block; padding: 8px 12px; font-size: 13px; }

/* calculateurs, une question à la fois */
.calcs .ctabs { margin-left: 0; flex-wrap: wrap; }
.calcs .cpane { padding: 18px 16px 16px; }
.calcs .q { font-size: 18px; line-height: 2; }
.calcs .q.small { font-size: 14px; }
.calcs .q input, .calcs .q select { display: inline-block; width: 90px; margin: 0 4px; padding: 4px 8px; font: 700 18px "Barlow Condensed";
  border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--fg); vertical-align: middle; }
.calcs .q select { width: auto; font: 600 16px "Barlow"; }
.calcs .q input.wide { width: 220px; }
.calcs .ans { margin: 14px 0 12px; padding: 14px 16px; border-radius: var(--r); background: var(--brand-soft); }
.calcs .ans b { display: block; font: 700 40px "Barlow Condensed"; color: var(--brand); line-height: 1.1; }
.calcs .ans span { font-size: 16px; } .calcs .ans small { color: var(--muted); }
.calcs details summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: 14px; }
.calcs details[open] summary { margin-bottom: 8px; }
.calcs details .cmp { max-width: 520px; }

/* accueil : bandeau de présentation */
.hero { margin: 4px 0 14px; padding: 34px 28px 22px; border-radius: 8px; background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: "%"; position: absolute; right: -10px; top: -60px; font: 700 300px/1 "Barlow Condensed"; color: rgba(255,255,255,.07); pointer-events: none; }
.hero h1 { margin: 0; font: 700 clamp(34px, 6vw, 58px)/1.02 "Barlow Condensed"; letter-spacing: -.01em; }
.hero h1 span { color: #b8f0d4; }
.hero p { max-width: 640px; margin: 12px 0 18px; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.88); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .cta .cell { height: auto; padding: 11px 20px; font: 700 15px "Barlow"; text-decoration: none; border: 0; }
.hero .cta .go { background: #fff; color: var(--brand); }
.hero .cta .cell:not(.go) { background: rgba(255,255,255,.14); color: #fff; }
.hero .cta .cell:hover { filter: brightness(1.05); }
.hero .ticker { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); min-height: 28px; font-size: 15px; }
.hero .ticker .lbl { flex: none; font: 600 11px "Barlow"; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.65); }
.hero .ticker b { font: 700 20px "Barlow Condensed"; color: #fff; margin-right: 4px; }
.hero #tick.in { animation: tickin .45s ease-out; }
@keyframes tickin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero #tick.in { animation: none; } }
@media (max-width: 520px) { .hero { padding: 26px 18px 18px; } .hero .ticker { flex-direction: column; gap: 2px; } .hero .cta .cell { flex: 1; text-align: center; justify-content: center; } }
@media (prefers-color-scheme: dark) { .hero { background: #0d5c3f; } }
/* bandeau de consentement */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; display: flex; gap: 14px; align-items: center;
  padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.18); font-size: 14px; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1; } .consent a { color: var(--brand); font-weight: 600; }
.consent div { display: flex; gap: 8px; } .consent .cell { height: auto; padding: 8px 16px; font: 600 14px "Barlow"; cursor: pointer; }
@media (max-width: 560px) { .consent { flex-direction: column; align-items: stretch; } .consent div .cell { flex: 1; } }

/* ===================== refonte : identité « probabilités » ===================== */
/* recherche « Quelle est la probabilité de… ? » */
.hero .ask { position: relative; max-width: 640px; margin: 4px 0 18px; }
.hero .ask label { display: block; font: 600 13px "Barlow"; color: rgba(255,255,255,.8); margin-bottom: 6px; }
.hero .ask input { width: 100%; padding: 14px 16px; font: 500 18px "Barlow"; border: 0; border-radius: 6px; color: #111827; background: #fff; }
.hero .ask input:focus { outline: 3px solid #b8f0d4; }
.hero .sugg { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: #fff; border-radius: 0 0 6px 6px; box-shadow: 0 10px 24px rgba(0,0,0,.18); overflow: hidden; }
.hero .sugg a, .hero .sugg .none { display: block; padding: 10px 16px; color: #111827; text-decoration: none; border-top: 1px solid #eef0ef; font-size: 15px; }
.hero .sugg a:hover, .hero .sugg a:first-child { background: #e3f2ea; }
.hero .sugg .none a { display: inline; padding: 0; color: #0f7a52; border: 0; background: none; font-weight: 600; }
/* flux de probabilités : le chiffre est l'élément graphique principal */
.flux { margin: 0 0 14px; }
.flux-h { font: 600 11px "Barlow"; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 2px 6px; }
.flux-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.fx { display: flex; flex-direction: column; gap: 6px; padding: 16px 14px; background: var(--panel); color: var(--fg); text-decoration: none; min-height: 118px; animation: tickin .45s ease-out; }
.fx b { font: 700 30px/1 "Barlow Condensed"; color: var(--brand); } .fx span { font-size: 14px; color: var(--muted); line-height: 1.35; }
.fx:hover { background: var(--row-alt); }
@media (max-width: 860px) { .flux-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* chemins de la page d'accueil : une liste éditoriale plutôt que des cartes identiques */
.paths { margin: 14px 0 6px; border-top: 2px solid var(--fg); }
.paths a { display: grid; grid-template-columns: 200px 1fr auto; gap: 16px; align-items: baseline; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.paths a b { font: 700 24px "Barlow Condensed"; } .paths a span { color: var(--muted); } .paths a i { font-style: normal; font: 600 13px "Barlow"; color: var(--brand); }
.paths a:hover b { color: var(--brand); }
@media (max-width: 640px) { .paths a { grid-template-columns: 1fr; gap: 2px; } }
/* pages probabilité */
.lead { font-size: 20px; font-weight: 600; line-height: 1.4; }
.answer { margin: 6px 0 16px; padding: 14px 16px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 6px 6px 0; }
.answer b { display: block; font: 700 46px/1.05 "Barlow Condensed"; color: var(--brand); } .answer span { font-size: 17px; }
.faq { border-bottom: 1px solid var(--line); padding: 10px 0; } .faq summary { cursor: pointer; font-weight: 600; } .faq p { margin: 8px 0 0; }
.proba .box + .box, .proba section + section { margin-top: 12px; }
.mcalc .cpane { padding: 16px; } .formule { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.links.rel a { flex-direction: row; align-items: baseline; gap: 14px; } .links.rel a b { flex: 0 0 190px; font: 700 18px "Barlow Condensed"; color: var(--brand); }
@media (max-width: 520px) { .links.rel a { flex-direction: column; gap: 2px; } .links.rel a b { flex: none; } }
.dwidget { margin-top: 12px; } .dwidget .dw, .dwidget .after { padding: 0 12px; } .dwidget .after { padding-bottom: 12px; }
/* La Proba du Jour */
.jour #jour { padding: 12px; }
.jhead { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 10px; font: 600 14px "Barlow"; color: var(--muted); }
.jhead .dots { display: flex; gap: 6px; } .jhead .dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); }
.jhead .dots i.w { background: var(--brand); } .jhead .dots i.l { background: #d4351c; } .jhead .dots i.c { outline: 2px solid var(--brand); outline-offset: 2px; }
.jend { text-align: center; padding: 8px 4px 4px; } .jend .big { font: 700 84px/1 "Barlow Condensed"; color: var(--brand); }
.jend .grid { font-size: 30px; letter-spacing: 4px; margin: 6px 0 4px; } .jend .cmp { max-width: 360px; margin: 10px auto; }
.jend .btns { justify-content: center; flex-wrap: wrap; } .jend h3 { margin-top: 18px; }
.jend .recap { text-align: left; font-size: 14px; display: grid; gap: 8px; } .jend .recap b { color: var(--brand); white-space: nowrap; }
/* football */
.mlist .mrow { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; padding: 9px 12px; border-top: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.mlist .mrow:hover { background: var(--row-alt); } .mlist .d { color: var(--muted); font-variant-numeric: tabular-nums; } .mlist .v { font: 700 16px "Barlow Condensed"; color: var(--brand); }
.mlist .lockt { font: 500 13px "Barlow"; color: var(--muted); }
.links.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
/* calibration */
.calib { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 12px 0 6px; }
.calib figure { margin: 0; } .calib svg { width: 100%; height: auto; font: 11px "Barlow"; fill: var(--muted); }
.calib figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; } .calib figcaption b { color: var(--fg); }

/* ===================== phase 2 : ProbabilityDisplay, match, équipe, comparaisons ===================== */
.pd { min-width: 0; }
.pd-l { font: 600 13px "Barlow"; color: var(--muted); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-v { font: 700 44px/1 "Barlow Condensed"; color: var(--fg); font-variant-numeric: tabular-nums; }
.pd.fav .pd-v { color: var(--brand); }
.pd-s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.pd-bar { position: relative; display: block; height: 4px; margin: 10px 0 4px; border-radius: 2px; background: linear-gradient(90deg, var(--line), var(--line)); }
.pd-bar i { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--panel); }
.pd-bar.mini { height: 3px; margin: 6px 0; } .pd-bar.mini i { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
.pd-ends { display: flex; justify-content: space-between; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--dim); }
.pd.inline .pd-v { font-size: 46px; color: var(--brand); } .pd.inline { margin-bottom: 6px; }
.calcs .ans .pd-ends, .calcs .ans .pd-bar { max-width: 520px; }
.pd3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 18px 0 10px; }
.pd3.small .pd-v { font-size: 32px; } .pd3.small { gap: 14px; }
@media (max-width: 520px) { .pd3 { gap: 12px; } .pd-v { font-size: 34px; } .pd3.small .pd-v { font-size: 26px; } .pd-ends { display: none; } .pd-s { font-size: 12px; } }
/* barre 1 / N / 2 */
.stack { display: flex; height: 26px; border-radius: 5px; overflow: hidden; margin: 6px 0 4px; font: 600 12px "Barlow"; }
.stack span { display: flex; align-items: center; justify-content: center; color: #fff; white-space: nowrap; overflow: hidden; }
.stack .h { background: var(--brand); } .stack .d { background: #9aa5a0; } .stack .a { background: #2f4858; }
/* pages match et équipe */
.mainbox { padding: 22px 24px; }
.mainbox h1 { margin: 0; font-size: clamp(28px, 5vw, 40px); line-height: 1.1; } .mainbox h1 a { color: inherit; text-decoration: none; } .mainbox h1 a:hover { color: var(--brand); }
.mainbox h1 .sep { color: var(--dim); font-weight: 400; }
.meta { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.res { margin: 10px 0 0; font-weight: 700; color: var(--brand); }
.sec { margin-top: 26px; } .sec h2 { font-size: 20px; margin: 0 0 8px; }
.sec p { line-height: 1.55; }
.why { margin: 0; padding-left: 18px; line-height: 1.7; }
.adv { border-top: 1px solid var(--line); padding: 10px 0; } .adv summary { cursor: pointer; font-weight: 600; } .adv[open] summary { margin-bottom: 8px; }
.adv table { max-width: 520px; }
.locked-box { margin: 18px 0 6px; padding: 18px; border: 1px dashed var(--line); border-radius: 8px; text-align: center; }
.locked-box .buy { display: inline-flex; width: auto; padding: 10px 22px; text-decoration: none; }
.tb.vs td, .tb.vs th { white-space: nowrap; }
.next { margin-top: 12px; } .next h2 { font-size: 18px; padding: 12px 12px 0; margin: 0; }
.box.next, .sec.next { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.mtitle { font: 700 22px "Barlow Condensed"; margin: 0; } .mtitle .meta { font: 400 14px "Barlow"; }
.delta { font-weight: 600; color: var(--brand); margin: 6px 0; }
.spark { width: 100%; max-width: 320px; height: auto; display: block; margin: 6px 0; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.tgrid a { background: var(--panel); padding: 10px 12px; color: var(--fg); text-decoration: none; font-weight: 600; } .tgrid a:hover { color: var(--brand); }
/* « Pour se faire une idée » */
.cmpx { margin-top: 18px; } .cmpx h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 6px; }
.cx { display: grid; grid-template-columns: 210px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.cx:hover .cx-q { color: var(--brand); } .cx-t { font-size: 13px; color: var(--muted); } .cx b { font: 700 18px "Barlow Condensed"; color: var(--brand); white-space: nowrap; }
@media (max-width: 560px) { .cx { grid-template-columns: 1fr auto; } .cx-t { grid-column: 1 / -1; } }
/* jeu : explication courte */
.expl { margin: 8px 0 4px; font-size: 15px; line-height: 1.5; } .expl a { color: var(--brand); font-weight: 700; white-space: nowrap; }
.sec.next { padding: 14px 4px 4px; overflow: hidden; } .sec.next h2 { padding: 0 12px; }
.sec.next .links a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-top: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.sec.next .links a:hover { background: var(--row-alt); } .sec.next .links a span { color: var(--muted); font-size: 14px; }
.sec.next .links.rel a { flex-direction: row; } @media (max-width: 520px) { .sec.next .links.rel a { flex-direction: column; } }
.adminst .box { padding: 14px 16px; } .adminst h2 { margin-top: 0; }
.funnel { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.fstep b { font: 700 26px "Barlow Condensed"; } .fstep em { font-style: normal; color: var(--brand); font-weight: 700; margin-left: 6px; }
.fstep small { display: block; color: var(--muted); } .farrow { color: var(--muted); padding-left: 8px; }
.sharetxt { width: 100%; margin-top: 8px; font: 14px/1.4 ui-monospace, monospace; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--fg); }
.pd3.noscale .pd-bar, .pd3.noscale .pd-ends { display: none; } .pd3.noscale { margin-bottom: 10px; }
/* boutons d'action principaux hors du jeu (page équipe…) : toujours visibles comme tels */
a.cell.go, button.cell.go { background: var(--brand); color: #fff; }
/* tableau des formules : les 3 formules visibles sans défilement sur téléphone */
@media (max-width: 520px) {
  .tb.plans { font-size: 13px; table-layout: fixed; width: 100%; }
  .tb.plans td, .tb.plans th { padding: 8px 4px; white-space: normal; overflow-wrap: anywhere; }
  .tb.plans td:first-child, .tb.plans th:first-child { width: 34%; }
}
/* onglets des calculateurs : chaque onglet sur une seule ligne */
.ctabs button { white-space: nowrap; }
/* page Abonnement : chiffres vérifiables, bouton secondaire (formule annuelle) */
.facts { margin: 6px 0 14px; padding-left: 20px; line-height: 1.55; } .facts li { margin: 4px 0; }
.cell.buy.alt { background: var(--panel); color: var(--brand); border: 1px solid var(--brand); }
.locked-box .incl { text-align: left; margin: 10px auto; max-width: 440px; line-height: 1.5; padding-left: 20px; }
.locked-box .price { color: var(--muted); font-size: 14px; margin: 6px 0 10px; }
.pd3.ghost { filter: blur(5px); opacity: .55; pointer-events: none; user-select: none; }
.jsave { margin: 14px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.jsave p { margin: 0 0 8px; }
.plans th .pill { display: block; width: max-content; margin: 4px auto 0; font-size: 10px; white-space: nowrap; }
/* page Abonnement : cartes de formules, paiement en 2 étapes, FAQ repliable */
.abo .lead { color: var(--muted); margin: 4px 0 16px; line-height: 1.5; }
.plans2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .plans2 { grid-template-columns: 1fr 1fr; } .plans2 .free { grid-column: 1 / -1; } }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--panel); display: flex; flex-direction: column; }
.plan.main { border: 2px solid var(--brand); }
.plan .ph { display: flex; align-items: center; gap: 10px; } .plan h2 { margin: 0; font-size: 22px; }
.plan .pp { margin: 6px 0 10px; font-size: 17px; }
.plan ul { margin: 0 0 14px; padding-left: 20px; line-height: 1.6; flex: 1; }
.plan .cell.buy { width: 100%; justify-content: center; }
.plan.free { padding: 12px 16px; } .plan.free p { margin: 0; line-height: 1.5; }
.linkbtn { background: none; border: 0; color: var(--brand); font: 600 15px Barlow, sans-serif; margin-top: 10px; cursor: pointer; text-decoration: underline; }
.plan.chosen { box-shadow: 0 0 0 3px rgba(15, 122, 82, .15); }
.step { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.step .chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.step .chk input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--brand); }
.step #renonce-err { color: #dc2626; font-weight: 600; margin: 8px 0 0; }
.step .cell.buy { margin-top: 12px; }
.reassure { text-align: center; margin: 14px 0 4px; }
.abo .facts { color: var(--fg); }
.cmpall { margin: 16px 0; } .cmpall summary, .faq summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.faq { border-top: 1px solid var(--line); } .faq:last-of-type { border-bottom: 1px solid var(--line); } .faq p { margin: 0 0 12px; line-height: 1.55; }
.abo .legal { margin-top: 18px; font-size: 13px; }
.abo .lead { font: 400 16px/1.5 Barlow, sans-serif; color: var(--muted); }
.abo .facts a { color: var(--brand); font-weight: 600; }
.plan.free a { color: var(--brand); font-weight: 600; }
.vers { margin-top: 4px; font-size: 13px; color: var(--muted); } .vers summary { cursor: pointer; } .vers div { margin: 2px 0 0 14px; }
/* match du jour (probabilités en accès libre) */
.motd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 10px 12px; padding: 12px 14px; border: 2px solid var(--brand);
  border-radius: 10px; text-decoration: none; color: var(--fg); background: var(--panel); }
.motd b { font: 700 20px "Barlow Condensed"; } .motd span:last-child { color: var(--muted); font-size: 14px; flex-basis: 100%; }
.motdpill { display: inline-block; margin-top: 4px; font-size: 11px; } .motdline { margin: 4px 0 10px; color: var(--muted); font-size: 14px; }
/* accueil : match en accès libre */
.motdh { padding: 14px 16px; margin-bottom: 18px; border: 2px solid var(--brand); }
.motdh .mh { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .motdh .when { color: var(--muted); font-size: 14px; }
.motdh .mt { display: block; font: 700 28px "Barlow Condensed"; color: var(--fg); text-decoration: none; margin: 8px 0 10px; }
.motdh .mp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.motdh .mp div { background: var(--row-alt); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; }
.motdh .mp span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.motdh .mp b { font: 700 30px "Barlow Condensed"; color: var(--brand); }
.motdh .note { margin: 10px 0 0; } .motdh .note a { color: var(--brand); font-weight: 600; }
/* proposition d'installer le site comme une application (app.js) : même boîte que le bandeau cookies */
.appli img { border-radius: 9px; flex: none; }
.appli .go { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width: 560px) { .appli { flex-direction: row; flex-wrap: wrap; } .appli p { flex: 1 1 200px; } .appli div { flex: 1 1 100%; } }
