/* =====================================================================
   VERDIVO · système de design « Plateau »
   Affiche de combat et habillage télé : aplats francs, titres géants en capitales étroites,
   obliques reprises du logo, point jaune du verdict. Pas de dégradés flous ni de verre dépoli.
   ===================================================================== */

/* ---------- Polices (hébergées sur le site) ---------- */
@font-face { font-family: "Verdivo Display"; src: url(fonts/display.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Verdivo Text"; src: url(fonts/text.woff2) format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Verdivo Mono"; src: url(fonts/mono.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-400.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-800.ttf) format("truetype"); font-weight: 600 900; font-display: swap; }

/* ---------- Jetons ---------- */
:root {
  --ink: #0a0918; --ink-2: #121029; --ink-3: #1b1838; --ink-4: #26224a;
  --line: #2c2952; --line-2: #413c78;
  --text: #f6f4ff; --muted: #a5a1c8; --dim: #6f6b96;
  --paper: #f2ede2; --paper-2: #e6dfd0; --paper-ink: #0a0918;
  --a: #ff3d6e; --a-deep: #b8163f;
  --b: #3f8cff; --b-deep: #1a4fcf;
  --y: #ffd23f; --y-ink: #191400;
  --up: #2fe08f; --down: #ff6b8b;
  --f-display: "Verdivo Display", "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", Impact, sans-serif;
  --f-text: "Verdivo Text", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Verdivo Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --k: 10px;                      /* biais des éléments obliques */
  --cut: 16px;                    /* coin coupé des cartes */
  --pad: clamp(16px, 4vw, 40px);  /* marge latérale */
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --snap: cubic-bezier(.3, 1.5, .5, 1);
  --top-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 130px; }
body { margin: 0; min-height: 100vh; background: var(--ink); color: var(--text); font: 400 17px/1.5 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--y); text-underline-offset: 3px; }
p { margin: 0 0 .9em; }
h1, h2, h3, h4 { margin: 0; }
h1, h2, .display { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .88; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 10vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
::selection { background: var(--y); color: var(--y-ink); }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--y); color: var(--y-ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.wrap.narrow { --wrap: 760px; }
.wrap.slim { --wrap: 480px; }
main { display: block; padding-bottom: 80px; }
.stack { display: grid; gap: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row > input, .row > select { flex: 1 1 180px; width: auto; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.num { font-family: var(--f-display); font-weight: 800; font-variant-numeric: tabular-nums; line-height: .9; }
.ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.2em; }

/* Sections pleine largeur */
.band { padding: clamp(48px, 8vw, 96px) 0; position: relative; }
.band.tight { padding: clamp(28px, 5vw, 52px) 0; }
.band.paper { background: var(--paper); color: var(--paper-ink); }
.band.paper .muted { color: #5a5673; }
.band.paper a:not(.btn) { color: var(--a-deep); }
.band.dark { background: var(--ink-2); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 12px; margin-bottom: clamp(22px, 4vw, 40px); max-width: 780px; }
.sec-head p:not(.kicker) { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 56ch; }
.band.paper .sec-head p:not(.kicker) { color: #4c4866; }
.sec-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 700px) { .sec-head.split { grid-template-columns: 1fr; } }

/* ---------- Atomes ---------- */
.kicker { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--y); display: flex; align-items: center; gap: 10px; margin: 0; }
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.band.paper .kicker { color: var(--a-deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 800 1.2rem/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase;
  padding: 13px 28px 12px; background: var(--y); color: var(--y-ink);
  clip-path: polygon(var(--k) 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%);
  transition: transform .18s var(--snap), background .18s, color .18s;
}
.btn:hover { transform: translate(3px, -3px); background: #ffe074; }
.btn:active { transform: scale(.96); }
.btn:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px #fff; }
.btn.alt { background: var(--ink-4); color: var(--text); }
.btn.alt:hover { background: var(--line-2); }
.btn.coral { background: var(--a); color: #fff; } .btn.coral:hover { background: #ff5c85; }
.btn.blue { background: var(--b); color: #fff; } .btn.blue:hover { background: #62a2ff; }
.btn.ink { background: var(--ink); color: var(--text); } .btn.ink:hover { background: var(--ink-3); }
.btn.sm { font-size: 1rem; padding: 9px 18px 8px; --k: 7px; }
.btn.lg { font-size: 1.55rem; padding: 18px 40px 16px; --k: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--text); }
.more { display: inline-flex; align-items: center; gap: 8px; font: 800 1.15rem/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--y); }
.more .ico { transition: transform .2s var(--snap); } .more:hover .ico { transform: translateX(5px); }

.tag { display: inline-flex; align-items: center; gap: 6px; font: 500 .68rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px 4px; background: var(--ink-4); color: var(--text); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); white-space: nowrap; }
.tag.y { background: var(--y); color: var(--y-ink); } .tag.a { background: var(--a); color: #fff; } .tag.b { background: var(--b); color: #fff; }
.tag.ok { background: var(--up); color: #032414; } .tag.off { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); clip-path: none; }
.live { display: inline-flex; align-items: center; gap: 7px; font: 500 .68rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px 4px; background: var(--a); color: #fff; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); white-space: nowrap; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.1s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }

.avatar { width: 46px; height: 46px; object-fit: cover; object-position: 50% 22%; flex: none; background: var(--ink-3); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.avatar.lg { width: 72px; height: 72px; } .avatar.xs { width: 30px; height: 30px; clip-path: none; border-radius: 50%; }

.bar { display: block; height: 10px; background: var(--ink-4); overflow: hidden; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.bar > span { display: block; height: 100%; width: 0; background: var(--y); transition: width .5s var(--ease); }
.bar > span.full { background: var(--up); }

/* Formulaires */
label { display: grid; gap: 6px; font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; padding: 13px 14px; border: 0; background: var(--ink); color: var(--text); font: 400 1rem/1.3 var(--f-text); letter-spacing: 0; text-transform: none;
  box-shadow: inset 0 0 0 1.5px var(--line-2); border-radius: 0; transition: box-shadow .15s; color-scheme: dark;
}
input:focus, select:focus, textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--y); }
input::placeholder, textarea::placeholder { color: var(--dim); }
textarea { resize: vertical; min-height: 96px; }
label.check { display: flex; align-items: flex-start; gap: 10px; font: 400 1rem/1.4 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--text); cursor: pointer; }
input[type=checkbox], input[type=radio] { accent-color: var(--y); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.err { margin: 0 0 12px; padding: 11px 14px; background: rgba(255, 61, 110, .14); box-shadow: inset 3px 0 0 var(--a); }
.note { margin: 0 0 12px; padding: 11px 14px; background: rgba(255, 210, 63, .1); box-shadow: inset 3px 0 0 var(--y); color: #efe6c4; }

/* Carte : aplat sombre, filet, coin coupé */
.card { position: relative; background: var(--ink-2); padding: clamp(18px, 3vw, 28px); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.card > h2 { font-size: clamp(1.7rem, 4.5vw, 2.3rem); margin-bottom: 14px; }
.card.line-a { box-shadow: inset 0 4px 0 var(--a), inset 0 0 0 1px var(--line); } .card.line-b { box-shadow: inset 0 4px 0 var(--b), inset 0 0 0 1px var(--line); } .card.line-y { box-shadow: inset 0 4px 0 var(--y), inset 0 0 0 1px var(--line); }
.band.paper .card { background: #fff; box-shadow: inset 0 0 0 1px rgba(10, 9, 24, .14); color: var(--paper-ink); }
details.fold > summary { cursor: pointer; list-style: none; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: "+"; font: 400 1.6rem/1 var(--f-mono); color: var(--y); transition: rotate .2s; }
details.fold[open] > summary::after { rotate: 45deg; }
details.fold ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 7px; color: #d5d1ee; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; justify-content: space-between; }
.list li:last-child { border: 0; }
.empty { padding: 28px; text-align: center; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 9px); }

/* ---------- Fond : trame de points animée (canevas), trame fixe en secours ---------- */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: var(--ink) radial-gradient(#1c1a38 1.3px, transparent 1.7px) 0 0 / 14px 14px; }

/* ---------- Bandeau d'actualité ---------- */
.ticker { background: var(--y); color: var(--y-ink); overflow: hidden; height: 34px; display: flex; align-items: center; position: relative; z-index: 31; }
.ticker .track { display: flex; width: max-content; animation: ticker var(--dur, 40s) linear infinite; }
.ticker:hover .track, .ticker:focus-within .track { animation-play-state: paused; }
.ticker a { display: inline-flex; align-items: center; gap: 10px; padding: 0 0 0 22px; color: inherit; text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.ticker a::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--y-ink); margin-left: 12px; opacity: .45; }
.ticker b { font: 500 .66rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; background: var(--y-ink); color: var(--y); padding: 5px 8px 4px; }
.ticker b.is-live { background: var(--a); color: #fff; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 30; height: var(--top-h); display: flex; align-items: center; gap: 22px; padding: 0 var(--pad); background: var(--ink); border-bottom: 1px solid var(--line); } /* opaque : rien ne transparaît derrière le menu ni les barres collées dessous */
.logo { flex: none; line-height: 0; } .logo img { height: 27px; width: auto; } /* logo-site.svg : cadré au plus près, sans marge */
@media (max-width: 720px) { .logo img { height: 23px; } }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: 1; min-width: 0; }
.menu { display: flex; height: var(--top-h); }
.menu a { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 13px; color: #cfcbea; text-decoration: none; font: 700 1.12rem/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; transition: color .15s; }
.menu a .ico { width: 17px; height: 17px; color: var(--dim); transition: color .15s; }
.menu a:hover, .menu a.on { color: #fff; } .menu a:hover .ico, .menu a.on .ico { color: var(--y); }
.menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 4px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.menu a.on::after, .menu a:hover::after { transform: scaleX(1); }
.acct { display: flex; align-items: center; gap: 16px; flex: none; }
.acct > a:not(.btn):not(.me) { color: var(--text); text-decoration: none; font-weight: 600; }
.me { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; background: var(--ink-3); color: var(--text); text-decoration: none; font-weight: 700; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.me .lv { font: 500 .62rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--y); color: var(--y-ink); padding: 6px 9px 5px; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.me .fl { display: inline-flex; align-items: center; gap: 3px; color: var(--y); font: 800 1.05rem/1 var(--f-display); }
.me .pt { font: 500 .66rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.me .ps { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* un long pseudo ne pousse pas le menu hors de l'écran */
@media (min-width: 1281px) and (max-width: 1500px) { /* écrans de portable : le menu se resserre pour tenir sur une ligne */
  .menu a { padding: 0 10px; } .menu a .ico { display: none; }
  .menu a::after { left: 9px; right: 9px; }
}
@media (min-width: 1281px) and (max-width: 1400px) { .me .pt { display: none; } }
/* Pastille rouge : ce qui reste à jouer aujourd'hui (duel du jour, pronostics), à côté de la rubrique et sur le bouton du menu */
.nb { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 1px 5px 0; border-radius: 10px; background: var(--a); color: #fff; font: 700 .7rem/1 var(--f-text); letter-spacing: 0; font-variant-numeric: tabular-nums; flex: none; }
.menu a .nb { margin: -16px 0 0 -4px; }
/* Cloche des gains : à droite de l'en-tête sur grand écran, à côté du bouton de menu sur téléphone */
.bell { order: 3; position: relative; flex: none; display: grid; place-items: center; width: 42px; height: 42px; background: var(--ink-3); color: var(--text); }
.bell .ico { width: 20px; height: 20px; }
.bell:hover, .bell.on { background: var(--ink-4); color: var(--y); }
.bell .nb { position: absolute; top: -7px; right: -7px; box-shadow: 0 0 0 2px var(--ink); }
.bell.ring .ico { color: var(--y); transform-origin: 50% 10%; animation: bell-ring 1.4s var(--ease) .6s 2; }
@keyframes bell-ring { 0%, 100% { rotate: 0deg; } 15% { rotate: 16deg; } 30% { rotate: -13deg; } 45% { rotate: 9deg; } 60% { rotate: -6deg; } 75% { rotate: 3deg; } }
@media (prefers-reduced-motion: reduce) { .bell.ring .ico { animation: none; } }
.me .pt.tick { animation: pt-tick .7s var(--ease); }
@keyframes pt-tick { 0% { color: var(--y); scale: 1.18; } 100% { color: var(--muted); scale: 1; } }
.burger { display: none; position: relative; margin-left: auto; width: 46px; height: 46px; border: 0; background: var(--ink-3); color: #fff; cursor: pointer; padding: 0; }
.burger .nb { position: absolute; top: -7px; right: -7px; box-shadow: 0 0 0 2px var(--ink); }
.burger span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.top.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top.open .burger span:nth-child(2) { opacity: 0; }
.top.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1280px) {
  .burger { display: block; }
  .bell { order: 0; margin-left: auto; width: 46px; height: 46px; } .bell + .burger { margin-left: -10px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 22px; background: var(--ink); border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; max-height: calc(100vh - var(--top-h)); overflow: auto; }
  .top.open .nav { visibility: visible; opacity: 1; transform: none; }
  .menu { flex-direction: column; height: auto; }
  .menu a { padding: 16px 4px; font-size: 1.9rem; border-bottom: 1px solid var(--line); }
  .menu a .ico { width: 22px; height: 22px; }
  .menu a .nb { margin: 0 0 0 6px; min-width: 26px; height: 26px; border-radius: 13px; font-size: .9rem; }
  .menu a::after { display: none; }
  .acct { padding-top: 18px; justify-content: space-between; }
}

/* ---------- Pied de page ---------- */
.foot { background: var(--ink-2); border-top: 1px solid var(--line); padding: 56px 0 30px; font-size: .95rem; }
.foot .big { font: 800 clamp(4rem, 17vw, 13rem)/.8 var(--f-display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); margin: 0 0 34px; user-select: none; white-space: nowrap; overflow: hidden; }
.foot .cols { display: grid; gap: 30px; grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > :first-child { grid-column: 1 / -1; } }
.foot nav { display: grid; gap: 9px; align-content: start; }
.foot nav b { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--y); margin-bottom: 6px; }
.foot nav a { color: #cfcbea; text-decoration: none; } .foot nav a:hover { color: #fff; text-decoration: underline; }
.foot .fine { margin: 38px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: .82rem; display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; }
.foot .fine p { margin: 0; }
.foot .fine .made a { color: var(--muted); font-weight: 600; } .foot .fine .made a:hover { color: var(--y); }
/* Tableau de la politique de confidentialité ; sur téléphone, une fiche par donnée */
.tbl-wrap { overflow-x: auto; }
.tbl.priv { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 6px 0 16px; }
.tbl.priv th { text-align: left; padding: 8px 10px; font: 500 .64rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.tbl.priv td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: #d7d3ef; }
.tbl.priv td:first-child { color: var(--text); font-weight: 600; }
@media (max-width: 720px) {
  .tbl.priv thead { display: none; } .tbl.priv tr { display: grid; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); } .tbl.priv td { display: block; padding: 0; border: 0; }
  .tbl.priv td:not(:first-child)::before { display: block; font: 500 .6rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .tbl.priv td:nth-child(2)::before { content: "À quoi elle sert"; } .tbl.priv td:nth-child(3)::before { content: "Base légale"; } .tbl.priv td:nth-child(4)::before { content: "Conservée"; }
}

/* ---------- Messages éphémères ---------- */
#toasts { position: fixed; z-index: 90; left: 50%; bottom: 22px; translate: -50% 0; display: grid; gap: 8px; width: min(520px, calc(100vw - 24px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--paper); color: var(--paper-ink); font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, .5), inset 5px 0 0 var(--up); animation: toast-in .35s var(--snap) both; }
/* Message d'arrivée : un résultat tombé pendant l'absence, ou un niveau atteint. Tout le bandeau est un lien. */
.toast.news { text-decoration: none; align-items: center; gap: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5), inset 5px 0 0 var(--y); }
.toast.news > b { flex: none; min-width: 1.5em; text-align: center; font: 800 2.1rem/.85 var(--f-display); color: var(--a-deep); }
.toast.news > b.nil { color: #8f8a78; }
.toast.news > .lvb { flex: none; }
.toast.news span { font-weight: 500; line-height: 1.35; } .toast.news strong { display: block; font-weight: 700; }
.toast.news u { font-weight: 700; text-underline-offset: 2px; white-space: nowrap; }
.toast.bad { box-shadow: 0 16px 40px rgba(0, 0, 0, .5), inset 5px 0 0 var(--a); }
.toast.out { animation: toast-out .25s ease forwards; }
@keyframes toast-in { from { transform: translateY(30px); opacity: 0; } }
@keyframes toast-out { to { transform: translateY(20px); opacity: 0; } }

/* =====================================================================
   LA SCÈNE DE DUEL : deux cartes bien distinctes, une par camp, la pastille VS entre les deux
   ===================================================================== */
.stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 3vw, 40px); max-width: max(320px, calc((100vh - 330px) * 1.6)); margin-inline: auto; }
.stage .side {
  --c: var(--a); --d: var(--a-deep);
  position: relative; aspect-ratio: 4 / 5; padding: 0; border: 0; margin: 0; overflow: hidden; cursor: pointer;
  color: #fff; font: inherit; text-align: left; background: var(--d); -webkit-tap-highlight-color: transparent;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  transition: transform .24s var(--snap), filter .3s, opacity .3s;
}
.stage .side.b { --c: var(--b); --d: var(--b-deep); clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px); }
.stage .pic { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 18%; transition: transform .6s var(--ease); }
.stage .side.photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 9, 24, .82), transparent 46%); pointer-events: none; }
/* Cadre à la couleur du camp : il s'épaissit au survol et passe au jaune pour le gagnant */
.stage .side::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 0 5px var(--c); transition: box-shadow .2s; }
.stage .who { position: absolute; z-index: 2; left: clamp(10px, 2vw, 22px); right: clamp(10px, 2vw, 22px); bottom: clamp(12px, 2.4vw, 24px); display: grid; gap: 8px; justify-items: start; }
.stage .side.b .who { justify-items: end; text-align: right; }
.stage .name { font: 800 clamp(1.7rem, 4.4vw, 4rem)/.92 var(--f-display); text-transform: uppercase; letter-spacing: .005em; overflow-wrap: anywhere; text-wrap: balance; }
.stage .name span { background: var(--c); padding: .06em .2em 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.stage .sub { font: 500 clamp(.58rem, 1.2vw, .74rem)/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--ink); padding: 6px 9px 5px; }
.stage .pct { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; padding-bottom: 24%; font: 800 clamp(3.4rem, 11vw, 8.5rem)/.8 var(--f-display); color: var(--y); text-shadow: 0 6px 30px rgba(0, 0, 0, .6); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .32s var(--snap); pointer-events: none; }
.stage .vs { position: absolute; z-index: 5; left: 50%; top: 50%; width: clamp(48px, 6.4vw, 84px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--y); color: var(--y-ink); display: grid; place-items: center; font: 800 clamp(1.3rem, 2.8vw, 2.3rem)/1 var(--f-display); letter-spacing: .02em; pointer-events: none; transition: scale .3s var(--snap); box-shadow: 0 0 0 6px var(--ink); }
@media (hover: hover) {
  .stage:not([data-win]):not(.static) .side:hover { transform: translateY(-10px) rotate(-1.3deg); }
  .stage:not([data-win]):not(.static) .side.b:hover { transform: translateY(-10px) rotate(1.3deg); }
  .stage:not([data-win]):not(.static) .side:hover::after { box-shadow: inset 0 0 0 10px var(--c); }
  .stage:not([data-win]):not(.static) .side:hover .pic { transform: scale(1.06); }
}
.stage .side:active { transform: scale(.97); }
.stage .side:focus-visible { outline: 0; } .stage .side:focus-visible::after { box-shadow: inset 0 0 0 6px #fff; }
/* Verdict : la carte choisie s'encadre de jaune, l'autre s'efface, chacune affiche sa part des votes */
.stage[data-win] .side, .stage.static .side { pointer-events: none; }
.stage.static .side { cursor: default; }
.stage[data-win] .vs { scale: 0; }
.stage[data-win] .pct { opacity: 1; transform: none; }
.stage[data-win="a"] .side.a, .stage[data-win="b"] .side.b { transform: scale(1.03); z-index: 2; }
.stage[data-win="a"] .side.a::after, .stage[data-win="b"] .side.b::after { box-shadow: inset 0 0 0 10px var(--y); }
.stage[data-win="a"] .side.b, .stage[data-win="b"] .side.a { transform: scale(.94); filter: grayscale(1) brightness(.5); }
.stage[data-win="a"] .side.b .pct, .stage[data-win="b"] .side.a .pct { color: #fff; font-size: clamp(2.2rem, 7vw, 5rem); }
.stage.is-in .side.a { animation: in-a .42s var(--ease) both; } .stage.is-in .side.b { animation: in-b .42s var(--ease) both; }
.stage.is-in .vs { animation: vs-in .4s var(--snap) .12s both; }
.stage.is-out .side { opacity: 0; transition: transform .16s ease-in, opacity .16s; }
.stage.is-out .side.a { transform: translateX(-30%) rotate(-6deg); } .stage.is-out .side.b { transform: translateX(30%) rotate(6deg); }
@keyframes in-a { from { transform: translateX(-45%) rotate(-7deg); opacity: 0; } } @keyframes in-b { from { transform: translateX(45%) rotate(7deg); opacity: 0; } }
@keyframes vs-in { from { scale: 0; rotate: -90deg; } }
@media (max-width: 720px) {
  .stage { max-width: none; gap: 10px; }
  .stage .side { aspect-ratio: 3 / 5.6; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
  .stage .side.b { clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px); }
  .stage .side::after { box-shadow: inset 0 0 0 4px var(--c); }
  .stage .name { font-size: clamp(1.3rem, 7.4vw, 2.4rem); }
  .stage .sub { padding: 5px 7px 4px; }
  .stage .who { gap: 6px; }
}/* Sous la scène : verdict, compteur, progression */
.hud { display: grid; gap: 12px; padding: 16px 0 0; }
.hud .verdict { min-height: 1.2em; margin: 0; font: 800 1.6rem/1.1 var(--f-display); letter-spacing: .03em; text-transform: uppercase; text-align: center; }
.hud .meter { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; }
/* Le mode de jeu, affiché juste à côté de la barre : rapide (duels évidents déduits) ou complet (tous les duels) */
.modes { display: inline-flex; align-items: stretch; background: var(--ink-4); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.modes > span { display: grid; place-items: center; padding: 0 4px 0 14px; font: 500 .62rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.modes button { border: 0; margin: 0; background: none; color: var(--muted); font: 800 1.05rem/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; padding: 9px 14px 8px; cursor: pointer; transition: color .15s, background .15s; }
.modes button:hover { color: var(--text); }
.modes button.on { background: var(--y); color: var(--y-ink); cursor: default; }
.modes button:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px #fff; }
.hud .counter i { font-style: normal; }
/* Sur la page de duel, le verdict est un bandeau posé à cheval sur le bas des cartes : la barre de progression reste à l'écran */
#duel .hud { position: relative; }
#duel .hud .verdict { position: absolute; z-index: 6; left: 50%; top: 0; translate: -50% -60%; min-height: 0; padding: 9px 22px 7px; background: var(--y); color: var(--y-ink); font-size: 1.35rem; white-space: nowrap; clip-path: polygon(var(--k) 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%); }
#duel .hud .verdict:empty { display: none; }
/* Annuler son dernier vote : à la place du bandeau de verdict, une fois celui-ci parti */
#duel .hud .undo { position: absolute; z-index: 5; left: 50%; top: 0; translate: -50% -55%; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 9px 18px 8px; background: var(--ink-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
#duel .hud .undo[hidden] { display: none; }
#duel .hud .undo .ico { width: 14px; height: 14px; color: var(--y); }
#duel .hud .undo:hover, #duel .hud .undo:focus-visible { background: var(--ink-4); box-shadow: inset 0 0 0 1px var(--y); outline: 0; }
#duel .hud .verdict:not(:empty) ~ .undo { visibility: hidden; }
#duel.is-done .hud .undo { position: static; translate: none; justify-self: center; }
#duel .hud .verdict a { color: inherit; }
#duel.is-done .hud .verdict { position: static; translate: none; justify-self: center; white-space: normal; text-align: center; }
@media (max-width: 720px) {
  .hud .meter { grid-template-columns: 1fr auto; grid-template-areas: "modes counter" "bar cta"; gap: 8px 10px; }
  .hud .modes { grid-area: modes; justify-self: start; } .hud .modes > span, .hud .counter i { display: none; }
  .hud .counter { grid-area: counter; letter-spacing: .06em; } .hud .meter .bar { grid-area: bar; } .hud #progress-cta { grid-area: cta; }
  .hud .modes button { padding: 8px 11px 7px; font-size: 1rem; }
  #duel .hud .verdict { translate: -50% -35%; font-size: 1.15rem; padding: 7px 16px 5px; }
  #duel .hud .undo { translate: -50% -40%; padding: 8px 13px 7px; font-size: .64rem; }
  #duel.can-undo:not(.is-done) .hud { padding-top: 26px; }
}
.hud .counter { margin: 0; font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--y); white-space: nowrap; }
.hud .hint { margin: 0; text-align: center; color: var(--muted); font-size: .92rem; }
.hud kbd { font: 500 .72rem var(--f-mono); background: var(--ink-4); padding: 3px 7px; }
@media (max-width: 720px) { .hud .meter { grid-template-columns: 1fr auto; } .hud .meter .bar { grid-column: 1 / -1; grid-row: 2; } .hud .keys { display: none; } }
.burst { position: fixed; z-index: 60; width: 12px; height: 12px; pointer-events: none; animation: burst .8s cubic-bezier(.1, .7, .3, 1) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(.4); opacity: 0; } }

/* =====================================================================
   ACCUEIL
   ===================================================================== */
.hero { padding: clamp(26px, 5vw, 60px) 0 0; overflow: hidden; }
.mega { font-size: clamp(3.6rem, 13vw, 10rem); line-height: .8; margin: 14px 0 0; }
/* Accueil avec un duel à montrer : le titre à gauche, le duel jouable à droite, le tout sur le premier écran */
@media (min-width: 1000px) {
  .hero.duo > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
  .hero.duo .mega { font-size: clamp(4.4rem, 8.4vw, 7.8rem); }
  .hero.duo .hero-row { grid-template-columns: 1fr; margin-bottom: 0; }
  .hero.duo .hero-duel .stage { max-width: none; gap: 18px; }
  .hero.duo .hero-duel .daily-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
  .hero.duo .hero-duel .daily-foot { font-size: .88rem; }
}
.hero-duel { min-width: 0; }
.mega .l { display: block; overflow: hidden; padding-top: .07em; }
.mega .l > i { display: block; font-style: normal; }
.js .mega .l > i { transform: translateY(108%); animation: line-in .8s var(--ease) forwards; } .js .mega .l:nth-child(2) > i { animation-delay: .1s; } .js .mega .l:nth-child(3) > i { animation-delay: .2s; }
@keyframes line-in { to { transform: none; } }
.mega .hl { color: var(--y); } .mega .out { color: transparent; -webkit-text-stroke: clamp(1.5px, .25vw, 3px) var(--text); }
.hero-row { display: grid; gap: 18px 40px; grid-template-columns: 1fr auto; align-items: end; margin: clamp(16px, 3vw, 30px) 0 clamp(20px, 3vw, 34px); }
.hero-row .lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #dcd8f4; max-width: 44ch; margin: 0; }
@media (max-width: 760px) { .hero-row { grid-template-columns: 1fr; } }
.daily-head > div { display: grid; gap: 8px; }
.daily-head { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: end; justify-content: space-between; padding: 0 0 12px; }
.daily-head h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
.daily-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; padding: 14px 0 0; color: var(--muted); font-size: .95rem; }
.daily-foot b { color: var(--y); font-variant-numeric: tabular-nums; }
.yesterday { margin: 12px 0 0; padding: 12px 16px; background: var(--ink-2); box-shadow: inset 4px 0 0 var(--y); }

/* Tableau d'affichage des chiffres : pictogramme et couleur par chiffre, et une ligne sur ce qui se passe maintenant */
.score { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin-top: clamp(30px, 5vw, 60px); }
.sc { --c: var(--y); --ci: var(--y-ink); position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic lab" "num num" "sub sub"; align-items: center; align-content: start; gap: 14px 12px; padding: clamp(20px, 2.8vw, 32px) clamp(16px, 2.8vw, 34px) clamp(18px, 2.4vw, 28px); background-color: var(--ink-2); background-image: radial-gradient(rgba(246, 244, 255, .05) 1.3px, transparent 1.6px); background-size: 14px 14px; color: var(--text); text-decoration: none; overflow: hidden; transition: background-color .2s; }
.sc::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.sc-a { --c: var(--a); --ci: #fff; } .sc-b { --c: var(--b); --ci: #fff; } .sc-p { --c: var(--paper); --ci: var(--paper-ink); }
.sc-ic { grid-area: ic; width: 40px; height: 40px; display: grid; place-items: center; background: var(--c); color: var(--ci); clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.sc-ic .ico { width: 21px; height: 21px; }
.sc-lab { grid-area: lab; font: 500 .74rem/1.25 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sc > b { grid-area: num; font: 800 clamp(3rem, 6.6vw, 5.6rem)/.8 var(--f-display); font-variant-numeric: tabular-nums; color: var(--c); }
.sc small { grid-area: sub; display: flex; align-items: center; gap: 8px; min-height: 1.4em; font-size: .9rem; color: var(--muted); }
.sc small .ico { width: 16px; height: 16px; margin-left: auto; color: var(--c); transition: transform .2s var(--snap); }
.sc-hot { color: var(--text); font-weight: 800; }
.sc-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--up); animation: sc-pulse 1.8s ease-out infinite; }
.sc-dot.live { background: var(--a); }
@keyframes sc-pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.sc-dot { color: rgba(47, 224, 143, .55); } .sc-dot.live { color: rgba(255, 61, 110, .55); }
a.sc:hover { background-color: var(--ink-3); } a.sc:hover small { color: var(--text); } a.sc:hover small .ico { transform: translateX(4px); }
a.sc:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--c); }
@media (max-width: 900px) { .score { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .sc { gap: 10px; padding: 18px 14px 16px; } .sc-ic { width: 34px; height: 34px; } .sc-lab { font-size: .64rem; letter-spacing: .1em; } .sc small { font-size: .8rem; } }
@media (prefers-reduced-motion: reduce) { .sc-dot { animation: none; } }

/* Ta journée : trois rendez-vous */
.tasks { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .tasks { grid-template-columns: 1fr; } }
.task { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; transition: transform .2s var(--snap), background .2s; }
.task:hover { transform: translate(3px, -3px); background: var(--ink-3); }
.task .st { width: 46px; height: 46px; display: grid; place-items: center; background: var(--ink-4); color: var(--dim); clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.task .st .ico { width: 22px; height: 22px; }
.task.done .st { background: var(--up); color: #032414; } .task.todo .st { background: var(--y); color: var(--y-ink); }
.task b { display: block; font: 800 1.5rem/1 var(--f-display); letter-spacing: .03em; text-transform: uppercase; }
.task span { color: var(--muted); font-size: .9rem; }
.task > .ico { color: var(--dim); }

/* Affiches d'émissions */
.posters { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.poster { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--ink-2); color: var(--text); text-decoration: none; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); transition: transform .25s var(--snap); }
.poster:hover { transform: translate(4px, -4px); }
.poster .art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.poster .art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.poster:hover .art > img { transform: scale(1.06); }
.poster .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink-2), transparent 55%); }
.poster .flags { position: absolute; z-index: 2; left: 14px; top: 14px; display: flex; gap: 6px; }
.poster .trio { position: absolute; z-index: 2; right: 14px; bottom: 10px; display: flex; }
.poster .trio img { width: 46px; height: 46px; object-fit: cover; object-position: 50% 22%; border-radius: 50%; box-shadow: 0 0 0 3px var(--ink-2); margin-left: -12px; }
/* Cartes équilibrées : même hauteur sur une ligne, titre sur deux lignes au plus, bouton toujours tout en bas */
.poster .body { padding: 6px 20px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.poster h3 { font: 800 clamp(2rem, 4.6vw, 2.7rem)/.9 var(--f-display); text-transform: uppercase; letter-spacing: .005em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding-top: .06em; }
.poster .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font: 500 .68rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.poster .body > .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster .go { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font: 800 1.2rem/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; color: var(--y); }
.poster .go .ico { transition: transform .2s var(--snap); } .poster:hover .go .ico { transform: translateX(6px); }
.poster.ended { opacity: .72; }
.poster .prog { display: grid; gap: 6px; } .poster .prog .bar { height: 6px; }
.poster .prog small { font: 500 .64rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 860px) {
  .posters.solo { grid-template-columns: 1fr; }
  .posters.solo .poster { grid-template-rows: none; grid-template-columns: 1.35fr 1fr; }
  .posters.solo .poster .art { aspect-ratio: auto; min-height: 340px; }
  .posters.solo .poster .art::after { background: linear-gradient(to right, transparent 55%, var(--ink-2)); }
  .posters.solo .poster .body { padding: 34px 34px 30px 10px; justify-content: center; gap: 16px; }
  .posters.solo .poster .go { margin-top: 4px; }
  .posters.solo .poster h3 { font-size: clamp(3rem, 6vw, 5.4rem); }
  .posters.duo { grid-template-columns: 1fr 1fr; }
}

/* ---------- Toutes les arènes : recherche et filtres, puis une même liste en lignes compactes ou en affiches ---------- */
.finder { display: none; gap: 12px; padding: 14px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.js .finder { display: grid; position: sticky; top: var(--top-h); z-index: 15; }
/* Collée sous le menu : un bandeau de la couleur du fond, sur toute la largeur et un peu en dessous, masque la liste qui défile */
.finder.stuck { box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax -14px); }
@media (max-width: 720px) { .finder.stuck .finder-bottom, .finder.stuck #arena-view, .finder.stuck #arena-cat, .finder.stuck #arena-state { display: none; } .finder.stuck { padding: 10px; } } /* téléphone : en défilant, seules la recherche et le tri restent */
.finder-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.finder .search { position: relative; display: block; flex: 1 1 260px; letter-spacing: 0; text-transform: none; }
.finder .search .ico { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.finder .search input { padding-left: 44px; height: 100%; }
.finder select { width: auto; min-width: 0; }
.finder-bottom { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.finder-bottom .mono { margin: 0; color: var(--y); }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchips button { border: 0; margin: 0; cursor: pointer; display: inline-flex; align-items: baseline; gap: 7px; padding: 9px 14px 8px; background: var(--ink-4); color: var(--muted); font: 800 1.05rem/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); transition: color .15s, background .15s; }
.fchips button b { font: 500 .62rem/1 var(--f-mono); letter-spacing: .06em; opacity: .85; }
.fchips button:hover { color: var(--text); }
.fchips button.on { background: var(--y); color: var(--y-ink); }
.fchips button:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px #fff; }
@media (max-width: 860px) {
  .finder .search { flex-basis: 100%; } .finder .search input { height: auto; }
  .finder select { flex: 1 1 150px; }
}
@media (max-width: 720px) { /* téléphone : les états tiennent sur une seule ligne, qu'on fait glisser du doigt */
  .finder-bottom { display: grid; gap: 10px; min-width: 0; }
  .fchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; } .fchips::-webkit-scrollbar { display: none; }
  .fchips button { flex: none; }
}

.arenas { display: grid; gap: 8px; }
.arena { display: grid; grid-template-columns: 116px minmax(0, 1fr) minmax(170px, 240px) auto; gap: 16px; align-items: center; padding: 7px 18px 7px 7px; background: var(--ink-2); color: var(--text); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, transform .2s var(--snap); }
.arena[hidden] { display: none; }
.arena:hover { background: var(--ink-3); transform: translateX(4px); }
.arena:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--y); }
.arena .art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.arena .art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.arena .txt { min-width: 0; display: grid; gap: 6px; }
.arena .t { font: 800 1.6rem/.95 var(--f-display); letter-spacing: .005em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: .06em; }
.arena .meta { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: center; font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.arena .prog { min-width: 0; display: grid; gap: 6px; } .arena .prog .bar { height: 6px; }
.arena .prog small { font: 500 .62rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arena .go { display: flex; align-items: center; gap: 8px; color: var(--y); font: 800 1.15rem/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; }
.arena .go > span { display: none; }
.arena .go .ico { transition: transform .2s var(--snap); } .arena:hover .go .ico { transform: translateX(5px); }
.arena.ended { opacity: .72; }
@media (max-width: 720px) {
  .arenas[data-view="rows"] .arena { grid-template-columns: 104px minmax(0, 1fr); grid-template-areas: "art txt" "art prog"; gap: 6px 12px; padding: 8px 12px 8px 8px; align-items: start; }
  .arenas[data-view="rows"] .arena .art { grid-area: art; } .arenas[data-view="rows"] .arena .txt { grid-area: txt; } .arenas[data-view="rows"] .arena .prog { grid-area: prog; }
  .arenas[data-view="rows"] .arena .go, .arenas[data-view="rows"] .arena .meta .c { display: none; }
  .arenas[data-view="rows"] .arena .t { font-size: 1.35rem; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}
/* Le titre est un lien étiré sur toute la ligne ; l'étoile de favori se pose par-dessus */
.arena { position: relative; }
.arena .t { color: inherit; text-decoration: none; }
.arena .t::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.arena .t:focus-visible { outline: 0; } .arena:has(.t:focus-visible) { box-shadow: inset 0 0 0 2px var(--y); }
.fav { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; margin: 0; cursor: pointer; background: rgba(10, 9, 24, .82); color: #fff; transition: transform .2s var(--snap), background .15s, color .15s; }
.fav .ico { width: 16px; height: 16px; }
.fav:hover { transform: scale(1.12); color: var(--y); }
.fav[aria-pressed="true"] { background: var(--y); color: var(--y-ink); } .fav[aria-pressed="true"] .ico { fill: currentColor; }
.fav[aria-pressed="true"]:hover { color: var(--y-ink); }
.fav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.arena .fav { position: absolute; z-index: 2; left: 11px; top: 11px; }
/* En liste : l'étoile a sa place en bout de ligne, juste avant la flèche, pour qu'on la voie sans la chercher */
@media (min-width: 721px) { .arenas[data-view="rows"] .arena { grid-template-columns: 116px minmax(0, 1fr) minmax(170px, 240px) auto auto; } }
.arenas[data-view="rows"] .arena .fav { position: relative; left: auto; top: auto; order: 3; width: 42px; height: 42px; background: var(--ink-4); color: var(--y); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.arenas[data-view="rows"] .arena .fav .ico { width: 20px; height: 20px; }
.arenas[data-view="rows"] .arena .fav:hover { background: var(--line-2); }
.arenas[data-view="rows"] .arena .go { order: 4; }
/* En affiches : sur le coin de l'image, en plus contrasté */
.arenas[data-view="cards"] .arena .fav { width: 38px; height: 38px; background: var(--ink); color: var(--y); }
.arenas[data-view="cards"] .arena .fav .ico { width: 19px; height: 19px; }
.arenas .arena .fav[aria-pressed="true"], .arenas .arena .fav[aria-pressed="true"]:hover { background: var(--y); color: var(--y-ink); }
@media (max-width: 720px) { /* téléphone : en haut à droite de la ligne, le titre lui laisse la place */
  .arenas[data-view="rows"] .arena .fav { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; }
  .arenas[data-view="rows"] .arena .t { padding-right: 40px; }
}
.fav-hint { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: .92rem; }
.fav-hint[hidden] { display: none; }
.fav-hint .ico { width: 16px; height: 16px; flex: none; color: var(--y); }
.show-hero .fav { position: absolute; z-index: 2; right: max(var(--pad), calc((100% - var(--wrap)) / 2)); top: 14px; display: inline-flex; align-items: center; gap: 7px; width: auto; height: 34px; padding: 0 15px 0 11px; font: 800 1.05rem/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.show-hero .fav:hover { transform: none; }
@media (max-width: 720px) { .show-hero .fav { top: 7px; padding: 0 10px; } .show-hero .fav span { display: none; } .show-hero h1 { padding-right: 46px; } } /* le titre ne passe pas sous l'étoile */
.fchips button .ico { width: 13px; height: 13px; align-self: center; }
/* Date et lieu d'une arène, dans la ligne */
.arena .meta .w { display: inline-flex; align-items: center; gap: 5px; color: #cfcbea; }
.arena .meta .w .ico, .tag .ico { width: 12px; height: 12px; flex: none; }
.arena .meta .dist { font-style: normal; color: var(--y); }
a.tag.link { text-decoration: none; } a.tag.link:hover { background: var(--y); color: var(--y-ink); }
/* « Près de moi » : où suis-je, et jusqu'à quelle distance */
.near { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.near[hidden] { display: none; }
.near p { margin: 0; } .near-status { font-weight: 600; }
.near-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.near-row .search { flex: 1 1 220px; } .near-row select { width: auto; flex: 0 1 auto; }
.near-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.near-results[hidden] { display: none; }
.near-results button { width: 100%; text-align: left; border: 0; cursor: pointer; padding: 10px 12px; background: var(--ink); color: var(--text); font: inherit; box-shadow: inset 0 0 0 1px var(--line-2); }
.near-results button:hover, .near-results button:focus-visible { box-shadow: inset 0 0 0 2px var(--y); outline: 0; }
.near-results small { display: block; color: var(--muted); font-size: .8rem; }
/* La même liste, en affiches */
.arenas[data-view="cards"] { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.arenas[data-view="cards"] .arena { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; gap: 12px; align-items: start; padding: 0 0 18px; box-shadow: none; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.arenas[data-view="cards"] .arena:hover { transform: translate(4px, -4px); background: var(--ink-2); }
.arenas[data-view="cards"] .arena .art { clip-path: none; }
.arenas[data-view="cards"] .arena .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink-2), transparent 55%); }
.arenas[data-view="cards"] .arena .txt, .arenas[data-view="cards"] .arena .prog { padding-inline: 18px; }
.arenas[data-view="cards"] .arena .t { font-size: 2.2rem; line-height: .92; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.arenas[data-view="cards"] .arena .go { justify-content: space-between; margin-inline: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.arenas[data-view="cards"] .arena .go > span { display: inline; }

/* ---------- Calendrier des arènes : un mois en grille, puis la liste des rendez-vous ---------- */
.cal-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cal-nav h2 { flex: 1 1 auto; text-align: center; font-size: clamp(1.8rem, 4.6vw, 2.6rem); }
.cal-nav .more { order: 3; flex: none; }
.cal-nav .btn:last-of-type { order: 4; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-h { padding: 4px 8px; font: 500 .66rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cal-d { min-height: clamp(54px, calc((100vh - 380px) / 6), 96px); padding: 5px 7px; display: grid; gap: 3px; align-content: start; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.cal-d.off { background: none; box-shadow: none; }
.cal-d .n { font: 800 1.25rem/1 var(--f-display); color: var(--dim); }
.cal-d.has .n { color: var(--text); }
.cal-d.today { box-shadow: inset 0 0 0 2px var(--y); } .cal-d.today .n { color: var(--y); }
.ev { --c: var(--ink-4); --t: var(--text); display: block; padding: 4px 7px 3px; background: var(--c); color: var(--t); text-decoration: none; font-size: .78rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev b { margin-right: 6px; font: 500 .58rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.ev small { margin-left: 8px; opacity: .8; font-size: .78rem; }
.ev-day { --c: var(--y); --t: var(--y-ink); } .ev-start, .ev-end { --c: var(--b-deep); --t: #fff; } .ev-open { --c: var(--up); --t: #032414; }
.ev-live { --c: var(--a); --t: #fff; } .ev-prono { --c: var(--paper); --t: var(--paper-ink); }
a.ev:hover { box-shadow: inset 0 0 0 2px #fff; }
.cal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cal-list li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px 0; border-top: 1px solid var(--line); }
.cal-list li:first-child { border-top: 0; }
.cal-list .d { display: grid; justify-items: center; font: 500 .62rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cal-list .d b { font: 800 2.2rem/.9 var(--f-display); color: var(--text); letter-spacing: 0; }
.cal-list li.today .d b { color: var(--y); } .cal-list li.past { opacity: .6; }
.cal-list .evs { display: grid; gap: 4px; min-width: 0; }
.cal-list .ev { font-size: .95rem; padding: 7px 10px 6px; white-space: normal; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; }
.cal-legend .ev { font-size: .78rem; }
.cal .ev { padding: 3px 6px 2px; font-size: .74rem; }
.cal-month { display: grid; gap: inherit; transition: opacity .2s; }
.cal-month.is-loading { opacity: .45; pointer-events: none; }
.page-head.slim { padding: clamp(18px, 3vw, 34px) 0 clamp(10px, 1.6vw, 18px); gap: 8px; }
.page-head.slim h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: .86; margin: 0; }
.page-head.slim .lead { font-size: clamp(.98rem, 1.6vw, 1.12rem); max-width: 80ch; }
@media (max-width: 820px) { .cal { display: none; } .cal-nav h2 { order: -1; flex-basis: 100%; text-align: left; } .cal-nav .more { order: 5; flex-basis: 100%; } } /* téléphone : la grille laisse place à la liste des rendez-vous */

/* Comment ça marche : trois temps numérotés */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid currentColor; }
.steps > li { padding: 22px clamp(14px, 2.4vw, 30px) 6px; border-left: 2px solid currentColor; display: grid; gap: 10px; align-content: start; }
.steps > li:first-child { border-left: 0; padding-left: 0; }
.steps .n { font: 800 clamp(4.5rem, 11vw, 9rem)/.78 var(--f-display); color: var(--a); }
.steps > li:nth-child(2) .n { color: var(--b-deep); } .steps > li:nth-child(3) .n { color: #b98f00; }
.steps h3 { font: 800 clamp(1.7rem, 3.4vw, 2.4rem)/.9 var(--f-display); text-transform: uppercase; }
.steps p { margin: 0; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; border-top: 0; } .steps > li { border-left: 0; border-top: 2px solid currentColor; padding-left: 0; grid-template-columns: auto 1fr; column-gap: 18px; } .steps .n { grid-row: span 2; } }

/* La cote expliquée */
.explain { display: grid; gap: clamp(20px, 4vw, 48px); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 820px) { .explain { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.ticks .ico { color: var(--y); width: 22px; height: 22px; margin-top: 1px; }
.formula { background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.formula div { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.formula div:last-child { border: 0; }
.formula b { font: 800 2.4rem/.8 var(--f-display); color: var(--up); } .formula b.m { color: var(--down); font-size: 1.5rem; }

/* Questions fréquentes */
.faq { display: grid; border-top: 2px solid currentColor; }
.faq details { border-bottom: 2px solid currentColor; }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 0; font: 800 clamp(1.5rem, 3.4vw, 2.1rem)/.95 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 2rem/1 var(--f-mono); transition: rotate .25s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq p { margin: 0; padding: 0 0 22px; max-width: 70ch; font-size: 1.05rem; }

/* Appel final : deux camps face à face */
.final { position: relative; overflow: hidden; text-align: center; padding: clamp(60px, 11vw, 130px) 0; background: linear-gradient(100deg, var(--a) 0 50%, var(--b-deep) 50% 100%); color: #fff; }
.final::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .1) 0 1px, transparent 1px 11px); }
.final > * { position: relative; }
.final h2 { font-size: clamp(2.8rem, 8.5vw, 6.2rem); line-height: .84; }
.final p { font-size: 1.15rem; margin: 18px 0 26px; }

/* =====================================================================
   PAGES D'UNE ÉMISSION
   ===================================================================== */
.show-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: clamp(260px, 44vh, 460px); padding: 26px 0 22px; background: var(--ink-3); }
.show-hero .art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.show-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--ink) 2%, rgba(10, 9, 24, .72) 42%, rgba(10, 9, 24, .3)); }
.show-hero.compact { min-height: clamp(150px, 22vh, 230px); }
.show-hero h1 { font-size: clamp(3rem, 11vw, 8rem); line-height: .82; margin: 10px 0 0; }
.show-hero.compact h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
.show-hero .desc { margin: 14px 0 0; max-width: 60ch; color: #dedaf5; font-size: 1.05rem; }
.show-hero.compact .desc, .show-hero.compact .figs { display: none; }
.show-hero .tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.figs { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.figs li { display: grid; gap: 4px; }
.figs b { font: 800 2.1rem/.85 var(--f-display); font-variant-numeric: tabular-nums; }
.figs span { font: 500 .66rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.strip { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 11px var(--pad); background: var(--ink-2); border-bottom: 1px solid var(--line); }
.strip.y { background: var(--y); color: var(--y-ink); font-weight: 700; border: 0; }
.strip .ico { width: 20px; height: 20px; }
.strip b.t { color: var(--y); font-variant-numeric: tabular-nums; }
.strip .push { margin-left: auto; }
.tabs { position: sticky; top: var(--top-h); z-index: 20; background: var(--ink); border-bottom: 1px solid var(--line); }
.tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.tabs a { flex: 1; min-width: max-content; text-align: center; padding: 11px 20px 10px; color: var(--muted); text-decoration: none; font: 800 1.2rem/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%); transition: background .15s, color .15s; }
.tabs a:hover { background: var(--ink-3); color: #fff; }
.tabs a.on { background: var(--y); color: var(--y-ink); }
.tabs a small { margin-left: 7px; padding: 2px 6px 1px; background: var(--ink-4); color: var(--text); font: 500 .68rem/1 var(--f-mono); letter-spacing: 0; vertical-align: 2px; }
.tabs a.on small { background: var(--y-ink); color: var(--y); }
.tabs a .nb { margin-left: 7px; vertical-align: 2px; }
.tabs.inline { position: static; border: 0; background: none; } .tabs.inline .wrap { width: auto; padding: 0 0 14px; } .tabs.inline a { flex: none; }
.page { padding-top: clamp(18px, 3vw, 32px); display: grid; gap: 18px; }
.cols-2 { display: grid; gap: 18px; grid-template-columns: 1.5fr 1fr; align-items: start; }
@media (max-width: 900px) { .cols-2 { grid-template-columns: 1fr; } }
.question { text-align: center; font-size: clamp(2rem, 6vw, 3.4rem); margin: 0 0 14px; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); counter-reset: s; }
.steps3 li { counter-increment: s; padding: 14px 14px 14px 56px; position: relative; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-size: .93rem; color: #d7d3ef; }
.steps3 li::before { content: counter(s); position: absolute; left: 14px; top: 10px; font: 800 2.6rem/1 var(--f-display); color: var(--y); }
.steps3 b { display: block; color: #fff; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; } }
.lineup { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.lineup figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
.lineup img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.lineup figcaption { position: absolute; left: 8px; bottom: 8px; right: 8px; font: 800 1.35rem/1 var(--f-display); text-transform: uppercase; }
.lineup figcaption span { background: var(--ink); padding: .08em .22em 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.countdown { display: flex; gap: clamp(8px, 2vw, 18px); justify-content: center; }
.countdown div { display: grid; gap: 6px; justify-items: center; min-width: clamp(62px, 14vw, 120px); padding: 16px 8px 12px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.countdown b { font: 800 clamp(2.8rem, 9vw, 5.6rem)/.8 var(--f-display); font-variant-numeric: tabular-nums; color: var(--y); }
.countdown span { font: 500 .64rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Classement : podium et tableau ---------- */
.pulse { margin: 0; color: var(--muted); } .pulse b { color: var(--text); font: 800 1.5rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.podium { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 12px; align-items: end; }
.podium figure { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
.podium img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.podium figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 9, 24, .92), transparent 55%); }
.podium .rk { position: absolute; z-index: 2; left: 0; top: 0; font: 800 clamp(2.6rem, 8vw, 5.4rem)/.78 var(--f-display); padding: .16em .22em .06em; background: var(--ink); }
.podium figure:nth-child(2) .rk { background: var(--y); color: var(--y-ink); }
.podium figure:nth-child(1) .rk { color: var(--b); } .podium figure:nth-child(3) .rk { color: var(--a); }
.podium figcaption { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 6px; }
.podium figcaption b { font: 800 clamp(1.3rem, 4.4vw, 2.6rem)/.9 var(--f-display); text-transform: uppercase; }
.podium figcaption span { font: 500 .66rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--y); }
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.board li { --w: 0%; display: grid; grid-template-columns: 2.6em 3.2em auto 1fr auto auto; gap: 12px; align-items: center; padding: 8px 14px 8px 6px; background: linear-gradient(90deg, var(--ink-4) var(--w), var(--ink-3) var(--w)); }
.board.compact li { grid-template-columns: 2.6em auto 1fr auto auto; }
.board.plain li { grid-template-columns: 2.6em 1fr auto auto; padding-block: 12px; }
.board .pos { font: 800 2rem/.8 var(--f-display); text-align: center; font-variant-numeric: tabular-nums; }
.board li:nth-child(1) .pos { color: var(--y); }
.board .move { font: 500 .68rem/1 var(--f-mono); color: var(--dim); white-space: nowrap; }
.board .move.up { color: var(--up); } .board .move.down { color: var(--down); }
.board .who { min-width: 0; display: grid; gap: 2px; }
.board .who b { font: 800 1.5rem/1 var(--f-display); letter-spacing: .01em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .who small { font: 500 .64rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .wr { font: 500 .72rem/1 var(--f-mono); color: var(--muted); white-space: nowrap; }
.board .pts { font: 800 1.9rem/.8 var(--f-display); font-variant-numeric: tabular-nums; min-width: 2.4em; text-align: right; white-space: nowrap; }
.board .pts small { font: 500 .6rem var(--f-mono); letter-spacing: .1em; color: var(--muted); margin-left: 3px; }
.board li.out { opacity: .45; } .board li.mine { box-shadow: inset 0 0 0 2px var(--y); }
@media (max-width: 560px) {
  .board li { grid-template-columns: 2.2em auto 1fr auto; } .board li .move, .board li .wr { display: none; }
  .board.compact li { grid-template-columns: 2.2em auto 1fr auto; } .board.plain li { grid-template-columns: 2.2em 1fr auto; }
}
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li, .chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 7px; background: var(--ink-4); color: var(--text); text-decoration: none; font-weight: 600; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.chips a.on { background: var(--y); color: var(--y-ink); } .chips b { color: var(--y); font: 800 1.2rem/1 var(--f-display); } .chips small { color: var(--muted); } .chips a.on small { color: inherit; }
.chart svg { width: 100%; height: auto; } .chart text { fill: var(--muted); font: 500 10px var(--f-mono); }
.chart .line { stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: draw 1.6s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: .88rem; }
.legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }

/* ---------- Crédits photo : un bloc discret, replié, en bas de chaque page d'émission ---------- */
/* ---------- Mes gains ---------- */
.gp { font: 800 2rem/.85 var(--f-display); font-variant-numeric: tabular-nums; color: var(--y); white-space: nowrap; }
.gain-news { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gain-news li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 16px 14px 18px; background: var(--ink-3); box-shadow: inset 4px 0 0 var(--line-2); }
.gain-news li.gn-win { box-shadow: inset 4px 0 0 var(--up); }
.gain-news li > .gp { font-size: 2.6rem; text-align: right; } .gain-news li:not(.gn-win) > .gp { color: var(--dim); }
.gain-news li > span { display: grid; gap: 7px; justify-items: start; min-width: 0; }
.gain-news .gt { color: #dcd8f4; }
.gain-news a { display: inline-flex; align-items: center; gap: 6px; color: var(--y); text-decoration: none; } .gain-news a .ico { width: 14px; height: 14px; }
.gain-score { margin-top: 4px; }
.gain-chart { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; height: 200px; }
.gain-chart .gc { display: grid; grid-template-rows: 18px minmax(0, 1fr) auto; gap: 6px; min-width: 0; text-align: center; }
.gain-chart .gc-v { font: 800 1rem/18px var(--f-display); color: var(--muted); font-variant-numeric: tabular-nums; }
.gain-chart .gc-b { align-self: end; height: var(--h); min-height: 3px; background: var(--ink-4); }
.gain-chart .gc-has .gc-b { background: var(--b); } .gain-chart .gc-today .gc-b { background: var(--y); }
.gain-chart .gc-today .gc-v { color: var(--y); }
.gain-chart .gc-d { display: grid; font: 500 .62rem/1.25 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.gain-chart .gc-d small { font-size: inherit; color: var(--dim); } .gain-chart .gc-today .gc-d, .gain-chart .gc-today .gc-d small { color: var(--y); }
.gain-src { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gain-src li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: end; }
.gain-src li > span:first-child { display: grid; gap: 2px; } .gain-src small { color: var(--muted); font-size: .84rem; }
.gain-src .gp { font-size: 1.7rem; color: var(--text); }
.gs-bar { grid-column: 1 / -1; height: 7px; background: var(--ink-4); } .gs-bar span { display: block; height: 100%; width: var(--w); background: var(--b); }
.gj { display: grid; gap: 18px; }
.gj-day { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); } .gj-day:first-child { padding-top: 0; border-top: 0; }
.gj-day > header { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; justify-content: space-between; margin-bottom: 2px; }
.gj-day > header b { font: 800 1.55rem/1 var(--f-display); text-transform: uppercase; }
.gj-day > header span { font: 500 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--y); }
.gj-ln { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: baseline; margin: 0; color: #dcd8f4; }
.gj-ln .gp { font-size: 1.45rem; text-align: right; } .gj-ln.gj-lost .gp, .gj-ln.gj-tie .gp { color: var(--dim); } .gj-ln.gj-win .gp { color: var(--up); }
.gj-ln.gj-plus { color: var(--muted); } .gj-ln.gj-plus .gp { color: var(--text); }
.gj-ln.gj-level { align-items: center; color: var(--text); font-weight: 600; } .gj-ln.gj-level .gp { display: grid; justify-items: end; }
.gj-ln a { color: var(--y); } .gj-ln a .ico { width: 13px; height: 13px; vertical-align: -1px; }
@media (max-width: 560px) {
  .gain-news li { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding-inline: 14px 12px; } .gain-news li > .gp { font-size: 2rem; }
  .gain-chart { gap: 3px; height: 170px; } .gain-chart .gc-v { font-size: .82rem; } .gain-chart .gc-d { font-size: .54rem; }
  .gj-ln { grid-template-columns: 46px minmax(0, 1fr); gap: 10px; } .gj-ln .gp { font-size: 1.25rem; }
}

/* ---------- Fiche d'un candidat ---------- */
/* Dans les classements, le nom mène à la fiche */
.board .who b a, .podium figcaption b a { color: inherit; text-decoration: none; }
.board .who b a:hover, .podium figcaption b a:hover { color: var(--y); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fiche-hint { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; color: var(--muted); font-size: .92rem; }
.fiche-hint .ico { width: 16px; height: 16px; flex: none; color: var(--y); }

.fiche-head { padding-bottom: clamp(8px, 2vw, 20px); }
.fiche-off { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 0 0 24px; color: var(--muted); font-size: .95rem; }
.fiche-off a { color: var(--y); }
.fiche-id { display: grid; grid-template-columns: minmax(170px, 300px) minmax(0, 1fr); gap: clamp(22px, 5vw, 60px); align-items: end; }
.fiche-photo { position: relative; margin: 0 14px 14px 0; }
.fiche-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: linear-gradient(115deg, var(--a) 0 50%, var(--b) 50% 100%); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.fiche-pic { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: var(--ink-3); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.fiche-photo .rk { position: absolute; z-index: 2; left: -8px; bottom: 18px; display: grid; gap: 3px; max-width: calc(100% + 4px); padding: 9px 18px 7px 14px; background: var(--y); color: var(--y-ink); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.fiche-photo .rk b { font: 800 2.3rem/.8 var(--f-display); }
.fiche-photo .rk span { font: 500 .58rem/1.1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fiche-txt { display: grid; gap: 16px; min-width: 0; padding-bottom: 14px; }
.fiche-head h1 { font-size: clamp(3rem, 8.6vw, 6.8rem); line-height: .84; overflow-wrap: anywhere; }
.fiche-head .lead { max-width: 58ch; }
.fiche-head .btn.lg { font-size: 1.3rem; padding: 15px 30px 13px; }
.fiche-score { margin-top: clamp(22px, 4vw, 44px); }

.fiche-arena { display: grid; gap: 18px; }
.fiche-arena-head { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: end; justify-content: space-between; }
.fiche-arena-head h2 { font-size: clamp(1.9rem, 5vw, 2.7rem); margin: 10px 0 0; }
.fiche-arena-head h2 a { color: inherit; text-decoration: none; } .fiche-arena-head h2 a:hover { color: var(--y); }
.fiche-arena-head .tags { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fiche-grid { display: grid; grid-template-columns: minmax(150px, auto) minmax(0, 1.25fr) minmax(0, 1fr); gap: 1px; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.fiche-grid > * { background: var(--ink); padding: clamp(14px, 2.4vw, 24px); margin: 0; }
.fiche-rank { display: grid; gap: 8px; align-content: center; }
.fiche-rank b { font: 800 clamp(3.6rem, 9vw, 6.2rem)/.8 var(--f-display); color: var(--y); }
.fiche-rank b sup { font-size: .42em; vertical-align: top; position: relative; top: .08em; margin-left: 2px; }
.fiche-rank span, .fiche-nums span, .fiche-curve span { font: 500 .68rem/1.25 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fiche-nums { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; align-content: center; }
.fiche-nums li { display: grid; gap: 6px; align-content: start; }
.fiche-nums b { font: 800 clamp(1.9rem, 4.4vw, 2.8rem)/.85 var(--f-display); font-variant-numeric: tabular-nums; }
.fiche-nums li:nth-child(2) b { color: var(--up); } .fiche-nums li:nth-child(3) b { color: var(--down); }
.fiche-curve { display: grid; gap: 10px; align-content: center; }
.spark { display: block; width: 100%; height: 70px; overflow: visible; color: var(--up); } .spark.down { color: var(--down); }
.fiche-rivals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.fiche-rivals li { display: grid; gap: 10px; align-content: start; padding: 14px 16px 15px 18px; background: var(--ink-3); box-shadow: inset 4px 0 0 var(--y); min-width: 0; }
.fiche-rivals li.r-best { box-shadow: inset 4px 0 0 var(--up); } .fiche-rivals li.r-worst { box-shadow: inset 4px 0 0 var(--a); }
.fiche-rivals .mono { color: var(--muted); font-size: .66rem; letter-spacing: .1em; }
.fiche-rivals .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fiche-rivals .who b { font: 800 1.5rem/1 var(--f-display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fiche-rivals a { color: inherit; text-decoration: none; } .fiche-rivals a:hover { color: var(--y); }
.fiche-rivals .small { color: #d7d3ef; }
.fiche-facts, .plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: #dcd8f4; }
.fiche-facts li, .plain-list li { position: relative; padding-left: 20px; }
.fiche-facts li::before, .plain-list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 9px; height: 9px; background: var(--y); clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
.fiche-facts li.fact-me { color: var(--text); } .fiche-facts li.fact-me::before { background: var(--a); }
.fiche-facts b, .plain-list b { color: var(--text); }
@media (max-width: 860px) {
  .fiche-grid { grid-template-columns: minmax(120px, auto) minmax(0, 1fr); } .fiche-curve { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .fiche-id { grid-template-columns: 1fr; gap: 26px; } .fiche-photo { width: min(62vw, 250px); }
  .fiche-head .btn.lg { font-size: 1.15rem; padding: 14px 22px 12px; }
}
@media (max-width: 440px) { .fiche-grid { grid-template-columns: 1fr; } .fiche-nums { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px; } .fiche-nums b { font-size: 1.7rem; } .fiche-nums span { font-size: .56rem; } }

/* ---------- Commentaires ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.c-form { display: grid; gap: 10px; margin-bottom: 18px; }
.c-form textarea { width: 100%; min-height: 84px; resize: vertical; }
.c-login { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 0 0 18px; }
.c-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.c-list li { padding: 14px 16px; background: var(--ink-3); box-shadow: inset 3px 0 0 var(--line-2); display: grid; gap: 8px; }
.c-list li.c-wait { opacity: .78; box-shadow: inset 3px 0 0 var(--y); }
.c-list header { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.c-list header .pl { font: 800 1.15rem/1 var(--f-display); text-transform: uppercase; }
.c-list li > p { margin: 0; color: #e4e0f7; overflow-wrap: anywhere; }
.c-list footer { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 18px; }
.c-list footer:empty { display: none; }
.c-list footer .link, .c-report summary { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--dim); }
.c-list footer .ico { width: 14px; height: 14px; }
.c-report summary { cursor: pointer; list-style: none; } .c-report summary::-webkit-details-marker { display: none; }
.c-report summary:hover, .c-report[open] summary { color: var(--a); }
.c-report form { display: grid; gap: 6px; margin-top: 10px; padding: 12px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; }
.c-report label { display: flex; gap: 8px; align-items: center; }
.c-report .btn { justify-self: start; margin-top: 6px; }

/* Bandeau de choix pour la mesure d'audience : « Refuser » et « Accepter » pèsent autant l'un que l'autre */
.consent { position: fixed; z-index: 60; left: 50%; bottom: 16px; translate: -50% 0; width: min(780px, calc(100% - 24px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 22px; align-items: center; padding: 16px 18px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -12px rgba(0, 0, 0, .75); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: .9rem; line-height: 1.45; color: #dcd8f4; }
.consent p b { color: var(--text); }
.consent-acts { display: flex; gap: 8px; }
@media (max-width: 640px) { .consent { grid-template-columns: 1fr; bottom: 10px; padding: 14px; } .consent-acts .btn { flex: 1; justify-content: center; } }

/* Mon compte : photo de profil */
.me-title { display: flex; align-items: center; gap: 16px; }
.me-av { width: clamp(52px, 9vw, 76px); height: clamp(52px, 9vw, 76px); border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--y); }
.me-photo { display: flex; gap: 18px; align-items: flex-start; }
.me-pic { width: 84px; height: 84px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--ink-4); font: 800 2.2rem/1 var(--f-display); }
.me-pic img { width: 100%; height: 100%; object-fit: cover; }
.me-photo input[type=file] { max-width: 100%; font-size: .85rem; }
@media (max-width: 520px) { .me-photo { flex-direction: column; } }

/* Auteur d'un commentaire : illustration, pseudo et niveau en toutes lettres */
.c-author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.c-av { width: 42px; height: 42px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--ink-4); color: var(--text); font: 800 1.35rem/1 var(--f-display); text-transform: uppercase; }
.c-av img { width: 100%; height: 100%; object-fit: cover; }
.c-av.l2 { background: var(--b); color: #fff; } .c-av.l3 { background: var(--a); color: #fff; }
.c-av.l4, .c-av.l5 { box-shadow: 0 0 0 2px var(--ink-3), 0 0 0 4px var(--y); } .c-av.l6 { box-shadow: 0 0 0 2px var(--ink-3), 0 0 0 4px var(--y), 0 0 14px rgba(255, 210, 63, .45); }
.c-id { display: grid; gap: 5px; min-width: 0; }
.c-id b { font: 800 1.2rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-id b.gold { color: var(--y); }
.c-lvl { justify-self: start; padding: 3px 7px 2px; background: var(--ink-4); color: var(--muted); font: 500 .62rem/1.1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.c-lvl:hover { color: #fff; }
.c-lvl.l2 { background: var(--b); color: #fff; } .c-lvl.l3 { background: var(--a); color: #fff; } .c-lvl.l4 { background: var(--y); color: var(--y-ink); }
.c-lvl.l5 { background: var(--paper); color: var(--paper-ink); } .c-lvl.l6 { background: var(--y-ink); color: var(--y); box-shadow: inset 0 0 0 1px var(--y); }
.c-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 10px; }
.c-list li > .c-body { margin: 0; color: #e4e0f7; overflow-wrap: anywhere; }

/* Réponses : un seul niveau, en retrait sous le commentaire */
.c-replies { list-style: none; margin: 2px 0 0; padding: 0 0 0 clamp(12px, 3vw, 26px); display: grid; gap: 8px; border-left: 2px solid var(--line-2); }
.c-replies:empty { display: none; }
.c-list .c-replies li { padding: 12px 14px; background: var(--ink-2); box-shadow: none; }
.c-replies .c-av { width: 32px; height: 32px; font-size: 1.05rem; }
.c-replies .c-id b { font-size: 1.05rem; }
.c-list .c-reply-form { margin: 2px 0 0; }
.c-reply-form[hidden] { display: none; }
.c-reply-acts { justify-content: flex-end; gap: 8px; }
.c-list li.c-new { box-shadow: inset 3px 0 0 var(--a); }
.c-list .c-replies li.c-new { box-shadow: inset 3px 0 0 var(--a); }
.c-list li.c-gone { background: transparent; box-shadow: inset 3px 0 0 var(--line); }
.c-removed { margin: 0; color: var(--dim); font-size: .9rem; font-style: italic; }
@keyframes c-in { from { opacity: 0; transform: translateY(-8px); } }
.c-list li.c-in { animation: c-in .45s var(--ease); }
@media (max-width: 560px) { .c-meta { justify-content: flex-start; width: 100%; padding-left: 52px; } .c-replies .c-meta { padding-left: 42px; } }

/* ---------- Crédit posé sur une photo ---------- */
.pcred { position: absolute; z-index: 4; top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 3px 6px 2px; background: rgba(10, 9, 24, .68); color: rgba(255, 255, 255, .9);
  font: 500 .56rem/1.3 var(--f-mono); letter-spacing: .02em; text-transform: none; text-align: left; pointer-events: none;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.stage .side .pcred-side { top: 11px; left: 11px; max-width: calc(100% - 50px); }
.stage .side.b .pcred-side { left: auto; right: 11px; }      /* le coin haut gauche de la carte B est coupé */
.podium .pcred { left: auto; right: 6px; top: 6px; max-width: 58%; } /* le rang occupe le coin haut gauche */
.fiche-photo .pcred { left: auto; right: 8px; top: 8px; }
.pcred-hero { top: auto; bottom: 8px; left: auto; right: 10px; z-index: 1; max-width: min(46%, 380px); }
.poster .art .pcred-art, .bet .art .pcred-art { left: auto; right: 8px; top: 8px; max-width: 46%; }
.arena .art .pcred-art { top: auto; left: auto; right: 6px; bottom: 6px; max-width: calc(100% - 12px); }
.arenas[data-view="rows"] .arena .art .pcred-art { display: none; } /* vignette trop petite : le crédit est en info-bulle */
@media (max-width: 720px) { .pcred { font-size: .5rem; padding: 2px 5px 1px; } .podium .pcred { max-width: 64%; } }

details.credits { padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
details.credits > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
details.credits > summary::-webkit-details-marker { display: none; }
details.credits > summary::after { content: "+"; font-size: 1.05rem; color: var(--y); transition: rotate .2s; }
details.credits[open] > summary::after { rotate: 45deg; }
details.credits > summary:hover, details.credits[open] > summary { color: var(--text); }
details.credits > summary .ico { width: 14px; height: 14px; }
details.credits ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; max-width: 90ch; }
details.credits b { color: var(--text); font-weight: 600; }
details.credits a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Pronostics ouverts : un billet par question, avec son talon détachable ---------- */
.bets { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); } /* trois par ligne sur ordinateur, deux sur tablette, un sur téléphone */
.bet { container-type: inline-size; display: block; color: var(--text); text-decoration: none; transition: transform .25s var(--snap); }
.bet:hover { transform: translate(4px, -4px); }
.bet-in {
  --stub: 92px; --hole: 11px; --dash: rgba(25, 20, 0, .45);
  display: grid; grid-template-rows: auto 1fr var(--stub); height: 100%; background: var(--ink-2);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  /* les deux encoches du talon : deux calques qui couvrent chacun une moitié du billet */
  -webkit-mask: radial-gradient(circle var(--hole) at 0 calc(100% - var(--stub)), #0000 calc(var(--hole) - .5px), #000 var(--hole)) left / 51% 100% no-repeat, radial-gradient(circle var(--hole) at 100% calc(100% - var(--stub)), #0000 calc(var(--hole) - .5px), #000 var(--hole)) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--hole) at 0 calc(100% - var(--stub)), #0000 calc(var(--hole) - .5px), #000 var(--hole)) left / 51% 100% no-repeat, radial-gradient(circle var(--hole) at 100% calc(100% - var(--stub)), #0000 calc(var(--hole) - .5px), #000 var(--hole)) right / 51% 100% no-repeat;
}
.bet .art { position: relative; height: 150px; overflow: hidden; background: var(--ink-3); }
.bet .art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.bet:hover .art img { transform: scale(1.06); }
.bet .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink-2), rgba(18, 16, 41, .1) 70%); }
.bet .flags { position: absolute; z-index: 1; left: 18px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.bet .body { display: grid; gap: 12px; align-content: start; padding: 4px 22px 20px; }
.bet .src { font: 500 .68rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--y); }
.bet .q { font: 800 2.4rem/.9 var(--f-display); font-size: clamp(2rem, 9cqw, 3rem); text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.bet .faces { display: flex; align-items: center; }
.bet .faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; box-shadow: 0 0 0 3px var(--ink-2); margin-right: -10px; background: var(--ink-3); }
.bet .faces span { margin-left: 22px; color: var(--muted); font-size: .92rem; }
.bet .meta { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.bet .meta span { font: 500 .66rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px 5px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); }
.bet .stub { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 22px; background: var(--y); color: var(--y-ink); }
.bet .stub::before { content: ""; position: absolute; left: calc(var(--hole) + 6px); right: calc(var(--hole) + 6px); top: -1px; border-top: 2px dashed var(--dash); }
.bet .when { display: grid; gap: 5px; }
.bet .when small { font: 500 .64rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.bet .when b { font: 800 2rem/.9 var(--f-display); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.bet .go { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px 10px; background: var(--y-ink); color: var(--y); font: 800 1.25rem/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; clip-path: polygon(var(--k) 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%); }
.bet .go .ico { width: 18px; height: 18px; transition: transform .2s var(--snap); } .bet:hover .go .ico { transform: translateX(5px); }
.bet.hot .bet-in { --dash: rgba(255, 255, 255, .55); } .bet.hot .stub { background: var(--a); color: #fff; } .bet.hot .go { background: #fff; color: var(--a-deep); }
.bet.done .bet-in { --dash: var(--line-2); } .bet.done .stub { background: var(--ink-4); color: var(--text); } .bet.done .go { background: var(--up); color: #032414; }
@container (max-width: 400px) {
  .bet .body, .bet .stub { padding-inline: 16px; }
  .bet .when b { font-size: 1.65rem; } .bet .go { padding: 11px 15px 9px; font-size: 1.1rem; }
}

/* ---------- Pronostics : des tickets ---------- */
.tickets { display: grid; gap: 18px; }
.ticket { position: relative; background: var(--paper); color: var(--paper-ink); }
.ticket > header { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 14px 22px; background: var(--ink-3); color: var(--text); }
.ticket > header .when { font: 500 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--y); }
.ticket .cut { height: 22px; background: radial-gradient(circle at 0 50%, var(--ink) 10px, transparent 11px), radial-gradient(circle at 100% 50%, var(--ink) 10px, transparent 11px), repeating-linear-gradient(90deg, rgba(10, 9, 24, .35) 0 8px, transparent 8px 16px) 22px 50% / calc(100% - 44px) 2px no-repeat; }
.ticket .in { padding: 4px 22px 22px; }
.ticket h3 { font: 800 clamp(2rem, 5.4vw, 3rem)/.9 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.ticket .rule { color: #4c4866; font-size: .95rem; margin-bottom: 16px; }
.picks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.pick { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(10, 9, 24, .16); cursor: pointer; font: 700 1rem/1.1 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--paper-ink); transition: transform .15s var(--snap), box-shadow .15s, background .15s; }
.pick:hover { transform: translate(2px, -2px); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick img { width: 42px; height: 42px; object-fit: cover; object-position: 50% 22%; flex: none; }
.pick:has(input:checked) { background: var(--y); box-shadow: inset 0 0 0 2.5px var(--ink); }
.pick:has(input:focus-visible) { outline: 3px solid var(--b); outline-offset: 2px; }
.pick:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.ticket footer { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 18px; }
.ticket footer .sel { font: 500 .78rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.ticket.closed { background: var(--ink-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.ticket.closed .cut { background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px) 0 50% / 100% 2px no-repeat; }
.ticket.closed .rule { color: var(--muted); }
.split { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.split li { display: grid; grid-template-columns: minmax(90px, 30%) 1fr 3.4em; gap: 10px; align-items: center; }
.split li.right > span:first-child { color: var(--up); font-weight: 700; } .split li.right .bar > span { background: var(--up); }
.split li.me > span:first-child::after { content: " · toi"; color: var(--y); font: 500 .66rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.split b { text-align: right; font: 800 1.3rem/1 var(--f-display); }
.gain { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px 8px; background: var(--y); color: var(--y-ink); font-weight: 700; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.gain b { font: 800 2rem/.8 var(--f-display); }
.gain.zero { background: var(--ink-4); color: var(--muted); }

/* ---------- En-tête de page simple ---------- */
.page-head { padding: clamp(34px, 7vw, 80px) 0 clamp(18px, 3vw, 34px); display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(3.6rem, 14vw, 10rem); line-height: .8; }
.page-head h1 em { font-style: normal; color: var(--y); }
.page-head .lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #dcd8f4; max-width: 52ch; margin: 0; }

/* ---------- Votants, compte ---------- */
.member { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); background: var(--y); color: var(--y-ink); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.member .lvl { font: 800 clamp(3.4rem, 12vw, 7rem)/.8 var(--f-display); text-transform: uppercase; }
.member .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 14px 22px; }
.member .grid b { display: block; font: 800 2.6rem/.82 var(--f-display); font-variant-numeric: tabular-nums; }
.member .grid span { font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.member .bar { background: rgba(25, 20, 0, .18); } .member .bar > span { background: var(--y-ink); }
.member p { margin: 0; } .member a { color: inherit; font-weight: 700; }
.member p.small { font-size: .88rem; opacity: .85; }
.levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 18px; border-top: 2px solid var(--line-2); }
.levels li { padding: 16px 0 14px; display: grid; gap: 5px; align-content: start; }
.levels .lvb { justify-self: start; margin-bottom: 4px; font: 800 1.3rem/1 var(--f-display); letter-spacing: 0; }
.levels p { margin: 4px 0 0; font-size: .9rem; line-height: 1.35; color: var(--muted); } .levels li.reached p, .levels li.current p { color: #e4e1f7; }
.levels li.current { box-shadow: inset 0 3px 0 var(--y); }

/* ---------- Joueurs : insigne de niveau, blason personnel, pseudo en or ---------- */
.lvb { display: inline-grid; place-items: center; min-width: 1.55em; height: 1.45em; padding: .08em .35em 0; font: 800 1rem/1 var(--f-display); letter-spacing: 0; background: var(--ink-4); color: var(--muted); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); flex: none; }
.lvb.l2 { background: var(--b); color: #fff; } .lvb.l3 { background: var(--a); color: #fff; } .lvb.l4 { background: var(--y); color: var(--y-ink); }
.lvb.l5 { background: var(--paper); color: var(--paper-ink); } .lvb.l6 { background: var(--y-ink); color: var(--y); box-shadow: inset 0 0 0 2px var(--y); }
.board .who b.pl { display: flex; align-items: center; gap: 8px; } .pl > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.pl .avatar.xs { width: 26px; height: 26px; }
.pl.gold > span:last-child { color: var(--y); }

/* ---------- Barème des points ---------- */
.scale { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.scale li { display: grid; gap: 8px; align-content: start; padding: 16px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.scale li b { font: 800 2.6rem/.82 var(--f-display); color: var(--y); white-space: nowrap; }
.scale li span { font-size: .93rem; color: #d7d3ef; } .scale strong { display: block; color: #fff; }

/* ---------- Choix du style de l'image de partage, et avantage pas encore débloqué ---------- */
.styles { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-width: 0; }
.styles legend { padding: 0; margin-bottom: 8px; font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
label.style { position: relative; display: grid; gap: 5px; align-content: start; padding: 8px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; letter-spacing: 0; text-transform: none; }
label.style input { position: absolute; opacity: 0; pointer-events: none; }
label.style .sw { position: relative; display: block; aspect-ratio: 9 / 11; background: linear-gradient(to bottom, var(--bg) 0 80%, transparent 80%), linear-gradient(100deg, var(--a) 0 54%, var(--b) 54%); }
label.style .sw::before { content: ""; position: absolute; left: 12%; top: 14%; width: 56%; height: 10%; background: var(--ac); }
label.style .sw::after { content: ""; position: absolute; left: 12%; top: 32%; width: 76%; height: 34%; box-shadow: inset 0 0 0 2px var(--tx); opacity: .5; }
label.style b { font: 800 1.25rem/1 var(--f-display); text-transform: uppercase; color: var(--text); }
label.style small { display: flex; align-items: center; gap: 4px; font: 500 .58rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
label.style small .ico { width: 11px; height: 11px; flex: none; }
label.style:has(input:checked) { box-shadow: inset 0 0 0 3px var(--y); }
label.style:has(input:focus-visible) { box-shadow: inset 0 0 0 3px #fff; }
label.style.locked { cursor: not-allowed; } label.style.locked .sw, label.style.locked b { opacity: .45; }
.lockmsg { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: .93rem; }
.lockmsg .ico { width: 18px; height: 18px; flex: none; color: var(--y); margin-top: 2px; } .lockmsg b { color: var(--text); }
.levels b { font: 800 1.9rem/.9 var(--f-display); text-transform: uppercase; color: var(--dim); } .levels span { font: 500 .66rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.levels li.reached b { color: var(--text); } .levels li.current b { color: var(--y); }
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--top-h) - 34px); margin-bottom: -80px; }
.auth .side-art { position: relative; overflow: hidden; background: var(--a); display: grid; align-content: end; padding: clamp(24px, 4vw, 54px); }
.auth .side-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth .side-art p { position: relative; font: 800 clamp(3rem, 6vw, 5.6rem)/.92 var(--f-display); text-transform: uppercase; margin: 0; }
.auth .side-art p span { background: var(--ink); padding: .06em .18em 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.auth .form { padding: clamp(28px, 6vw, 80px) var(--pad); display: grid; align-content: center; justify-items: center; background: var(--ink); }
.auth .form > div { width: min(430px, 100%); display: grid; gap: 16px; }
.auth h1 { font-size: clamp(3rem, 8vw, 5rem); }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth .side-art { display: none; } }

/* ---------- Partage et comparaison ---------- */
.share-grid { display: grid; gap: 18px; grid-template-columns: minmax(260px, 360px) 1fr; align-items: start; }
@media (max-width: 820px) { .share-grid { grid-template-columns: 1fr; } }
.story { width: 100%; height: auto; box-shadow: 0 30px 70px -20px #000; }
.match { --p: 50; width: min(230px, 60vw); aspect-ratio: 1; margin: 6px auto 18px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--ink-2) 76%, transparent 77%), conic-gradient(var(--y) calc(var(--p) * 1%), var(--ink-4) 0); }
.match b { font: 800 6rem/.78 var(--f-display); } .match span { font: 500 .68rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.clash { padding: 14px 16px; background: rgba(255, 61, 110, .13); box-shadow: inset 4px 0 0 var(--a); margin: 0; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.versus > div { padding: 16px; background: var(--ink); box-shadow: inset 0 4px 0 var(--a); } .versus > div:last-child { box-shadow: inset 0 4px 0 var(--b); }
.versus ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 4px; font: 800 1.4rem/1 var(--f-display); text-transform: uppercase; }

/* ---------- Mentions, texte courant, erreurs ---------- */
.prose h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 1.4em 0 .5em; } .prose h2:first-child { margin-top: 0; }
.prose p { color: #d7d3ef; max-width: 72ch; }
mark { background: var(--y); color: var(--y-ink); padding: 1px 6px; }
.err-page { min-height: 70vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 16px; padding: 40px var(--pad); }
.err-page .code { font: 800 clamp(9rem, 38vw, 24rem)/.72 var(--f-display); color: transparent; -webkit-text-stroke: 3px var(--y); margin: 0; }

/* ---------- Mouvement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .5s ease, transform .6s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .16s ease both vt-out; } ::view-transition-new(root) { animation: .28s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } } @keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker .track { animation: none; } .js [data-reveal] { opacity: 1; transform: none; } .js .mega .l > i { transform: none; animation: none; }
}
@media print { #bg, .ticker, .top, .foot, .tabs, #toasts { display: none !important; } body { background: #fff; color: #000; } }

/* ---------- Page de duel : les deux cartes doivent tenir à l'écran sans défiler ---------- */
.page-duel .strip:not(.y):not(.keep) { display: none; }   /* le prochain rendez-vous est rappelé sous les cartes */
.page-duel .show-hero.compact { min-height: 0; padding: 12px 0 10px; }
.page-duel .stage { max-width: max(420px, calc((100vh - 340px) * 1.6)); }
@media (min-width: 721px) { /* titre et étiquettes sur une seule ligne : toute la hauteur gagnée va aux cartes */
  .page-duel .show-hero.compact .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
  .page-duel .show-hero.compact h1 { order: 1; margin: 0; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: .9; }
  .page-duel .show-hero.compact .tags { order: 2; }
  .page-duel .page { padding-top: 16px; }
}
@media (max-width: 720px) {
  .page-duel .ticker { display: none; }
  .page-duel .stage { margin-inline: -8px; gap: 8px; }
  .page-duel .show-hero.compact { min-height: 0; padding: 12px 0 10px; }
  .page-duel .show-hero.compact h1 { font-size: 1.7rem; line-height: .95; margin: 0; }
  .page-duel .show-hero.compact .tags { display: none; }
  .page-duel .strip.keep .more { display: none; } .page-duel .strip.keep { font-size: .86rem; padding-block: 8px; }
  .page-duel .tabs .wrap { padding: 6px 0; } .page-duel .tabs a { padding: 9px 14px 8px; font-size: 1.05rem; }
  .page-duel .page { padding-top: 10px; gap: 14px; }
  .page-duel .question { font-size: 1.5rem; margin-bottom: 8px; }
  .page-duel .stage .side { aspect-ratio: auto; height: clamp(250px, min(calc(100svh - 286px), 96vw), 560px); }
  .page-duel .hud { padding-top: 10px; gap: 8px; } .page-duel .hud .verdict { font-size: 1.25rem; }
}
/* ---------- Bilan de fin du mode rapide ou complet : podium personnel et suites en cartes ---------- */
#duel.is-done .question, #duel.is-done .keys { display: none; }
.finish { display: grid; gap: 22px; padding: clamp(22px, 4vw, 40px) clamp(16px, 3.5vw, 40px); background-color: var(--ink-2); background-image: radial-gradient(rgba(246, 244, 255, .05) 1.4px, transparent 1.7px); background-size: 16px 16px; box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.finish[hidden] { display: none; }
.finish-head { display: grid; justify-items: center; gap: 10px; text-align: center; }
.finish-head h3 { margin: 0; font: 800 clamp(2.1rem, 6.5vw, 4rem)/.86 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.finish-stats { margin: 0; color: var(--muted); font-size: 1rem; }
.finish-stats b { color: var(--y); font-weight: 800; }

.finish-podium { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: clamp(8px, 1.6vw, 16px); align-items: end; width: min(100%, 680px); margin-inline: auto; }
.finish-podium.few { grid-template-columns: repeat(2, minmax(0, 230px)); justify-content: center; }
.finish-podium figure { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
.finish-podium img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.finish-podium figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 9, 24, .94), transparent 58%); pointer-events: none; }
.finish-podium .r1 { box-shadow: 0 0 0 3px var(--y); }
.finish-podium .rk { position: absolute; z-index: 2; left: 0; top: 0; padding: .16em .22em .06em; background: var(--ink); color: var(--text); font: 800 clamp(2rem, 6vw, 3.8rem)/.78 var(--f-display); }
.finish-podium .r1 .rk { background: var(--y); color: var(--y-ink); } .finish-podium .r2 .rk { color: var(--b); } .finish-podium .r3 .rk { color: var(--a); }
.finish-podium figcaption { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 6px; }
.finish-podium figcaption b { font: 800 clamp(1.05rem, 3.4vw, 1.9rem)/.92 var(--f-display); text-transform: uppercase; overflow-wrap: anywhere; hyphens: auto; }
.finish-podium figcaption span { font: 500 .62rem/1.25 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--y); }
.finish-podium .pcred { left: auto; right: 6px; top: 6px; max-width: 58%; } /* le rang occupe le coin haut gauche */

.finish-label { margin: 6px 0 -8px; text-align: center; font: 500 .74rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.finish-next { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.fcard { --c: var(--ink-4); --t: var(--text); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 18px; border: 0; background: var(--c); color: var(--t); font: inherit; text-align: left; text-decoration: none; cursor: pointer; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); transition: transform .2s var(--snap), filter .2s; }
.fcard:hover { transform: translate(3px, -3px); filter: brightness(1.06); }
.fcard:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px #fff; }
.fcard.f-top { --c: var(--a); --t: #fff; } .fcard.f-full { --c: var(--b); --t: #fff; }
.fcard.f-pub { --c: var(--y); --t: var(--y-ink); } .fcard.f-next { --c: var(--paper); --t: var(--paper-ink); }
.fcard .fic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--t) 16%, transparent); color: var(--t); clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.fcard .fic .ico { width: 24px; height: 24px; }
.fcard .ftx { display: grid; gap: 6px; }
.fcard .ftx b { font: 800 1.6rem/.95 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.fcard .ftx span { font-size: .95rem; line-height: 1.4; }
.fcard .fgo { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 8px; background: var(--t); color: var(--c); font: 800 1.05rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.fcard .fgo .ico { width: 16px; height: 16px; }
.fcard .fart { position: relative; display: block; margin: -20px -20px 2px; aspect-ratio: 16 / 7; overflow: hidden; background: var(--ink-3); }
.fcard .fart img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fcard .fart .pcred-art { left: auto; right: 6px; top: 6px; max-width: 70%; }

/* Arrivée en scène, juste après le dernier duel (jamais quand les animations sont réduites) */
@keyframes fin-up { from { opacity: 0; transform: translateY(28px) scale(.96); } }
@keyframes fin-pop { 0% { opacity: 0; transform: translateY(40px) scale(.8); } 70% { opacity: 1; transform: translateY(-6px) scale(1.04); } }
.finish.is-new .finish-head { animation: fin-up .5s var(--ease) backwards; }
.finish.is-new .finish-podium .r2 { animation: fin-up .55s var(--ease) .18s backwards; }
.finish.is-new .finish-podium .r3 { animation: fin-up .55s var(--ease) .3s backwards; }
.finish.is-new .finish-podium .r1 { animation: fin-pop .7s var(--ease) .42s backwards; }
.finish.is-new .finish-label { animation: fin-up .5s var(--ease) .7s backwards; }
.finish.is-new .fcard { animation: fin-up .5s var(--ease) .8s backwards; }
.finish.is-new .fcard:nth-child(2) { animation-delay: .88s; } .finish.is-new .fcard:nth-child(3) { animation-delay: .96s; } .finish.is-new .fcard:nth-child(4) { animation-delay: 1.04s; }

@media (max-width: 720px) {
  .finish { gap: 18px; }
  .finish-podium .rk { font-size: 2rem; }
  .finish-next { grid-template-columns: 1fr; gap: 10px; }
  .fcard { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; }
  .fcard .ftx b { font-size: 1.3rem; }
  .fcard .ftx span { font-size: .86rem; }
  .fcard .fgo { margin: 0; padding: 10px; } .fcard .fgo > span { display: none; }
  .fcard.f-next { grid-template-columns: 1fr auto; }
  .fcard.f-next.f-plain { grid-template-columns: auto 1fr auto; }
  .fcard .fart { grid-column: 1 / -1; margin: -14px -16px 0; aspect-ratio: 16 / 5; }
}
