/*
 * live.theslumdogemillionaire.com
 * La charte de la Maison TSM (www.theslumdogemillionaire.com) — Bodoni Moda
 * pour les titres, Hanken Grotesk pour le reste — mais une page de DIRECT :
 * noir profond, crème, le rouge de l'antenne et le violet de Twitch pour ce
 * qui fait suivre la chaîne. L'or n'est plus qu'un filet : l'écusson, une
 * règle, un italique. Le lien de cette feuille est versionné (?v=) sur son
 * contenu, calculé par le serveur au démarrage : rien à monter à la main.
 */
@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-normal.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0c0a;
  --bg-1: #121410;
  --bg-2: #181b16;
  --bg-3: #20241e;
  --line: #f2eddf14;
  --line-2: #f2eddf26;
  --text: #f2eddf;
  --text-2: #cdc6b6;
  --muted: #8f8a7e;
  --cream: #efe8d7;
  --gold: #c9b07a;
  --live: #ff4d5a;
  --live-soft: #ff4d5a24;
  --twitch: #9147ff;
  --twitch-hover: #a970ff;
  --sage: #8fb59b;
  --radius: 18px;
  --radius-sm: 12px;
  --serif: "Bodoni Moda", Didot, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  color-scheme: dark;
  font-family: var(--sans);
  font-synthesis: none;
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("/assets/grain.svg");
  opacity: .045;
  mix-blend-mode: overlay;
  z-index: 60;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--cream); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; border-radius: 6px; }

.wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.skip {
  position: absolute; left: 16px; top: 12px; z-index: 100;
  background: var(--cream); color: var(--bg); padding: 10px 16px; border-radius: 999px;
  transform: translateY(-200%); transition: transform .2s;
}
.skip:focus { transform: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--gold); font-weight: 500; }
.kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.kicker a { text-decoration: none; color: var(--text-2); }
.kicker a:hover { color: var(--text); }
.eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.65; color: var(--text-2); max-width: 36em; }
.muted { color: var(--muted); font-size: .9rem; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-fill { fill: currentColor; stroke: none; }

/* ── Boutons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.35em; border-radius: 999px;
  font: 600 .95rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-twitch { background: var(--twitch); color: #fff; box-shadow: 0 10px 30px -12px #9147ffaa; }
.btn-twitch:hover { background: var(--twitch-hover); box-shadow: 0 16px 40px -12px #9147ffcc; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: #f2eddf08; backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: #f2eddf55; background: #f2eddf12; }
.btn-cream { background: var(--cream); color: #16150f; box-shadow: 0 10px 30px -14px #efe8d788; }
.btn-cream:hover { background: #fff; }
.btn-sm { padding: .62em 1em; font-size: .85rem; }
.btn-lg { padding: 1.05em 1.6em; font-size: 1.02rem; }

/* ── Bandeau ─────────────────────────────────────────── */
.ticker {
  overflow: hidden; border-bottom: 1px solid var(--line);
  background: var(--bg-1); color: var(--text-2);
  font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.is-live .ticker { background: linear-gradient(90deg, #2a0d10, #170b0c 40%, #2a0d10); color: #ffd4d7; border-color: #ff4d5a33; }
.ticker-track { display: flex; gap: 26px; width: max-content; padding: 9px 0; animation: ticker 60s linear infinite; }
.ticker-track span { white-space: nowrap; }
.ticker-track i { font-style: normal; opacity: .4; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── En-tête ─────────────────────────────────────────── */
.top { display: flex; align-items: center; gap: 28px; padding: 18px 0; position: relative; z-index: 5; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: .98rem; line-height: 1.05; }
.brand img { width: 40px; transition: transform .4s ease; }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.nav { display: flex; gap: 6px; margin-left: auto; font-size: .9rem; }
.nav a { text-decoration: none; color: var(--text-2); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { color: var(--text); background: #f2eddf0d; }
.nav a[aria-current="page"] { color: var(--text); background: #f2eddf14; }
.nav-live { display: inline-flex; align-items: center; gap: 8px; color: #ffd4d7; font-weight: 600; }
.nav-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 var(--live); animation: beacon 1.8s infinite; }

/* ── Pastille d'antenne ──────────────────────────────── */
.onair {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start; align-self: start;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  background: var(--live); color: #fff; box-shadow: 0 8px 30px -8px #ff4d5aaa;
}
.onair-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: beacon-white 1.6s infinite; }
.onair-soon { background: #f2eddf; color: var(--bg); box-shadow: 0 8px 30px -10px #efe8d766; }
.onair-soon .onair-dot { background: var(--live); animation: beacon 1.2s infinite; }
.onair-off { background: #f2eddf10; color: var(--text-2); border: 1px solid var(--line-2); box-shadow: none; }
.onair-off .onair-dot { background: var(--muted); animation: none; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 #ff4d5acc; } 70% { box-shadow: 0 0 0 10px #ff4d5a00; } 100% { box-shadow: 0 0 0 0 #ff4d5a00; } }
@keyframes beacon-white { 0% { box-shadow: 0 0 0 0 #ffffffcc; } 70% { box-shadow: 0 0 0 9px #ffffff00; } 100% { box-shadow: 0 0 0 0 #ffffff00; } }

/* ── Le direct ───────────────────────────────────────── */
.live-hero { position: relative; padding: 10px 0 28px; }
.live-hero::before {
  content: ""; position: absolute; inset: -140px 0 auto; height: 620px; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse 50% 60% at 30% 30%, #ff4d5a1c, transparent 70%), radial-gradient(ellipse 50% 60% at 80% 10%, #9147ff18, transparent 70%);
}
.live-head { display: grid; gap: 14px; margin: 14px 0 24px; }
.live-head h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.04; max-width: 22ch; }
.live-sub { color: var(--text-2); font-size: .95rem; }
.live-sub a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 14px; }
.player, .chat {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #000; border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -40px #000, 0 0 0 1px #00000080;
}
.player { aspect-ratio: 16 / 9; }
.player::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px #ff4d5a40; }
.player iframe, .chat iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chat { background: #18181b; }
.live-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chat-link { display: none; }
.live-meta { display: grid; gap: 16px; }

/* ── Bandes de chiffres : des nombres, pas des cases ─ */
.strip { display: flex; flex-wrap: wrap; gap: 20px clamp(28px, 5vw, 64px); padding: 22px 0 0; border-top: 1px solid var(--line); }
.strip div { display: grid; gap: 6px; min-width: 96px; }
.strip dt { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.strip dd { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.strip dd.small { font-size: clamp(1.2rem, 2vw, 1.5rem); padding-top: .3em; }
.strip + .feed, .strip + .games, .strip + .empty-state { margin-top: clamp(32px, 4vw, 48px); }
.counters { margin-top: 8px; position: relative; z-index: 3; }
.counters .strip { border-top: 0; padding-top: 0; }

/* ── Héros hors antenne ──────────────────────────────── */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: center; isolation: isolate; overflow: hidden; margin-top: -78px; padding: 120px 0 90px; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: drift 30s ease-in-out infinite alternate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, #0b0c0af5 0%, #0b0c0ae0 34%, #0b0c0a70 62%, #0b0c0a30 100%),
    linear-gradient(0deg, var(--bg) 0%, #0b0c0a00 30%),
    linear-gradient(180deg, #0b0c0acc 0%, #0b0c0a00 22%);
}
@keyframes drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.1) translateX(-1.5%); } }
.hero-grid { display: grid; }
.hero-copy { display: grid; gap: 22px; max-width: 640px; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: .98; }
.hero .lead { color: #ddd6c6; }

.next {
  display: grid; gap: 12px; margin-top: 10px; padding: 26px 28px;
  border-radius: 22px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, #1d201bcc, #0f110ecc); backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -40px #000;
}
.next-when { color: var(--text-2); font-size: .95rem; }
.next-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; }
.next-text { color: var(--text-2); line-height: 1.55; }
.next-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.next-soon { border-color: #ff4d5a40; background: linear-gradient(160deg, #2a1416d9, #120d0dd9); }

/* ── Compte à rebours ────────────────────────────────── */
.countdown { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.cd-unit {
  display: grid; justify-items: center; gap: 6px; min-width: 76px; padding: 14px 10px 10px;
  border-radius: 14px; background: #0b0c0acc; border: 1px solid var(--line-2);
}
.cd-unit b { font-family: var(--serif); font-weight: 500; font-size: 2.4rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.cd-unit span { font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.countdown.no-days .cd-unit:first-child { display: none; }
.cd-zero { display: none; font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
.countdown.is-zero .cd-unit { display: none; }
.countdown.is-zero .cd-zero { display: block; animation: breathe 1.6s ease-in-out infinite; }
.cd-xl .cd-unit { min-width: 0; flex: 1; padding: 18px 8px 12px; background: #0b0c0ae6; }
.cd-xl .cd-unit b { font-size: clamp(2.8rem, 7vw, 4.8rem); }
.cd-xl .cd-unit:nth-last-of-type(1) b { color: #ffb3b9; }
.cd-unit b.tick { animation: tick .45s ease; }
@keyframes tick { 0% { transform: translateY(-14%); opacity: .2; } 100% { transform: none; opacity: 1; } }
@keyframes breathe { 50% { opacity: .55; } }
.page-countdown { display: grid; gap: 10px; margin-top: 8px; }

/* ── Bandes ──────────────────────────────────────────── */
.band { padding: clamp(64px, 9vw, 120px) 0 0; }
.band-head { display: flex; align-items: end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: clamp(26px, 3.5vw, 40px); }
.band-head .kicker { flex-basis: 100%; }
.band-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.02; }
.band-note { color: var(--muted); font-size: .88rem; margin-left: auto; max-width: 34em; }
.more { margin-left: auto; text-decoration: none; color: var(--text); font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: .45em; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.more:hover .ico { transform: translateX(3px); }
.more .ico { transition: transform .2s; }
.notice { color: var(--text-2); font-size: 1rem; line-height: 1.6; }
.notice a { color: var(--text); }
.empty-state { padding: 40px 24px; border-radius: 24px; background: radial-gradient(ellipse 60% 80% at 50% 0%, #f2eddf0a, transparent 70%); display: grid; gap: 12px; color: var(--text-2); text-align: center; justify-items: center; }
.empty-state p { max-width: 34em; line-height: 1.6; }
.empty-games img { filter: saturate(.45); }

/* ── Fil de l'écran : la vignette fait la carte ─────── */
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 34px 22px; }
.card { min-width: 0; }
.card > a, .card > div { display: grid; gap: 12px; align-content: start; text-decoration: none; }
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--bg-2); box-shadow: 0 18px 40px -24px #000; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card > a:hover .thumb img { transform: scale(1.05); }
.card > a:hover .card-title { color: #fff; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.thumb-play {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: #0b0c0ab3; backdrop-filter: blur(6px); color: #fff;
}
.thumb-fallback {
  position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 6px; min-width: 0;
  background: radial-gradient(ellipse 80% 90% at 30% 20%, #2a2f28, #121410 70%);
}
.thumb-fallback b { font-family: var(--serif); font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--text); }
.thumb-fallback span { max-width: 100%; padding: 0 12px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-body { display: grid; gap: 6px; padding: 0 2px; }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-title { font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.card-sub { font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.pill-video { color: #ff9aa2; }
.more-feed { margin-top: 30px; }
.more-feed summary, .questions summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: #f2eddf0d; font-weight: 600; font-size: .9rem; color: var(--text-2); transition: background .2s;
}
.more-feed summary:hover, .questions summary:hover { background: #f2eddf18; color: var(--text); }
.more-feed summary::-webkit-details-marker, .questions summary::-webkit-details-marker { display: none; }
.more-feed summary::after, .questions summary::after { content: "+"; font-size: 1.1em; }
.more-feed[open] summary::after, .questions[open] summary::after { content: "–"; }
.more-feed[open] > .feed, .more-feed[open] > .tierlists { margin-top: 30px; }

/* ── Jeux ────────────────────────────────────────────── */
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 22px; }
.game {
  display: grid; gap: 24px; align-content: start; padding: 28px; border-radius: 26px;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, #f2eddf0c, transparent 70%), linear-gradient(180deg, #161814, #10120f);
}
.game-head { display: flex; gap: 16px; align-items: center; }
.game-head h3 { font-size: 1.5rem; line-height: 1.15; margin: 4px 0; }
.emblem { width: 60px; height: 60px; flex: none; filter: saturate(.45) brightness(1.05) drop-shadow(0 8px 18px #0008); }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 8px; }
.step { display: grid; gap: 6px; justify-items: center; text-align: center; min-width: 0; }
.step-name { font-weight: 700; font-size: .95rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step-points { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.step-block {
  width: 100%; display: grid; place-items: center; border-radius: 14px 14px 4px 4px;
  font-family: var(--serif); font-size: 1.8rem; color: var(--text-2);
  background: linear-gradient(180deg, #262a23, #171a15);
}
.step-1 .step-block { height: 108px; background: linear-gradient(180deg, #3a3426, #1b1913); color: var(--cream); box-shadow: inset 0 1px 0 #c9b07a55; }
.step-1 .step-name { font-size: 1.05rem; }
.step-2 .step-block { height: 78px; }
.step-3 .step-block { height: 58px; }
.step-empty { opacity: .3; }
.ranks { display: grid; }
.ranks li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; padding: 9px 4px; font-size: .92rem; border-top: 1px solid var(--line); }
.rank { color: var(--muted); font-variant-numeric: tabular-nums; }
.rank-points { font-variant-numeric: tabular-nums; color: var(--text-2); }
.questions ol { display: grid; margin-top: 16px; counter-reset: q; }
.questions ol > li { counter-increment: q; padding: 16px 2px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.q-prompt { font-weight: 600; line-height: 1.4; }
.q-prompt::before { content: counter(q) ". "; color: var(--muted); }
.q-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: .88rem; color: var(--text-2); }
.q-choices .right { color: var(--sage); font-weight: 700; }
.q-answer { font-size: .95rem; }
.q-answer span { font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin-right: 6px; }
.q-anecdote { font-size: .88rem; color: var(--text-2); font-style: italic; line-height: 1.5; }
.q-found { font-size: .78rem; color: var(--muted); }
.game-link { margin-left: 0; justify-self: start; }

/* Le tableau d'honneur : trois marches, puis un classement à filets fins. */
.champions { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: clamp(10px, 2vw, 22px); margin-bottom: 36px; }
.champ {
  display: grid; justify-items: center; text-align: center; gap: 8px; padding: 28px 16px 26px; border-radius: 26px 26px 10px 10px;
  background: linear-gradient(180deg, #1b1e18, #10120f);
}
.champ-1 { padding-top: 40px; padding-bottom: 46px; background: radial-gradient(ellipse 80% 60% at 50% 0%, #c9b07a26, transparent 70%), linear-gradient(180deg, #24211a, #12110d); }
.champ-medal { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; background: #f2eddf12; color: var(--text); }
.champ-1 .champ-medal { width: 56px; height: 56px; background: #c9b07a22; color: var(--gold); font-size: 1.6rem; }
.champ-name { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.champ-1 .champ-name { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.champ-points { font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.champ-points small { color: var(--muted); font-weight: 500; }
.champ-detail { font-size: .8rem; color: var(--muted); }
.champ-empty { opacity: .35; }
.who { text-decoration: none; color: inherit; }
.who:hover { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.ranking { display: grid; }
.ranking li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 110px repeat(4, 86px); gap: 12px; align-items: center; padding: 14px 6px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ranking .ranking-head { border-top: 0; padding-bottom: 8px; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ranking-head span:nth-child(n + 3), .r-points, .r-num { text-align: right; }
.r-rank { color: var(--muted); font-family: var(--serif); font-size: 1.15rem; }
.r-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-points { font-family: var(--serif); font-size: 1.25rem; }
.r-num { color: var(--text-2); }
.records { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.record { display: grid; gap: 6px; padding-top: 18px; border-top: 2px solid #f2eddf1f; }
.record-value { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.record-detail { color: var(--muted); font-size: .88rem; }
.record-holder { font-weight: 700; font-size: 1.05rem; margin-top: 6px; }
.split-rankings { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); }
.split-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.split-head h3 { font-size: 1.4rem; }
.mini-ranking li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--line); }
.mini-ranking .r-points { font-size: 1.1rem; }
.mini-ranking small { font-family: var(--sans); font-size: .7rem; color: var(--muted); }
.game-list { display: grid; margin-top: 36px; }
.game-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 28px; gap: 16px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--line); }
.game-list .emblem { width: 36px; height: 36px; }
.gl-title { display: grid; gap: 2px; font-weight: 600; }
.gl-winner { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.gl-winner .ico { color: var(--gold); }
.gl-winner small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.gl-go { color: var(--muted); text-decoration: none; }
.gl-go:hover { color: var(--text); }

/* ── Revue de presse ─────────────────────────────────── */
/* Un sommaire de journal : un numéro, la rubrique, le sujet, ses articles. Pas de boîte. */
.presses { display: grid; gap: 48px; }
.press { display: grid; gap: 18px; }
.press-subjects { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); }
.press-subject { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.press-num { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }
.press-rubric { color: var(--text-2); margin-bottom: 6px; }
.press-subject h3 { font-size: 1.35rem; line-height: 1.2; }
.press-articles { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.press-articles a { text-decoration: none; display: grid; gap: 2px; }
.press-articles a:hover .press-title { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.press-title { font-size: .92rem; line-height: 1.4; color: var(--text-2); }
.press-host { font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 760px) {
  .press-subjects { grid-template-columns: minmax(0, 1fr); }
}

/* ── Tier lists ──────────────────────────────────────── */
.tierlists { display: grid; gap: 48px; }
.games + .tierlists { margin-top: 48px; }
.tierlist { display: grid; gap: 18px; }
.tierlist h3 { font-size: 1.6rem; margin-top: 4px; }
.tier-board { display: grid; gap: 3px; border-radius: 18px; overflow: hidden; }
.tier-row { display: grid; grid-template-columns: 150px 1fr; background: #141612; min-height: 96px; }
.tier-key { display: grid; align-content: center; justify-items: center; gap: 4px; padding: 10px; text-align: center; color: #15130f; }
.tier-key b { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.tier-key span { font-size: .72rem; line-height: 1.25; font-weight: 600; }
.tier-S .tier-key { background: #e7a3a0; }
.tier-A .tier-key { background: #e9bf91; }
.tier-B .tier-key { background: #e6d796; }
.tier-C .tier-key { background: #b2cf9e; }
.tier-D .tier-key { background: #9fbcd6; }
.tier-items { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; align-content: center; }
.tile { position: relative; width: 82px; height: 82px; border-radius: 10px; overflow: hidden; background: #f4f1ea; display: grid; place-items: center; }
.tile img { width: 100%; height: 100%; }
.tile img.fit-contain { object-fit: contain; padding: 8px; }
.tile img.fit-cover { object-fit: cover; }
.tile span { position: absolute; inset: auto 0 0; padding: 3px 4px; font-size: .62rem; font-weight: 700; line-height: 1.15; text-align: center; background: #0b0c0acc; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-text { background: var(--bg-3); }
.tile-text span { position: static; background: none; white-space: normal; font-size: .72rem; padding: 6px; color: var(--text); }
.tile-none { color: var(--muted); padding: 0 8px; }

.title-link { text-decoration: none; }
.title-link:hover { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.tierlists-home .more { justify-self: start; margin-left: 0; }
.tier-solo { margin-top: 24px; }
.tier-solo .tierlist > header { display: none; }
.tier-solo .tier-row { min-height: 112px; }
.tier-solo .tile { width: 96px; height: 96px; }
.tier-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 34px 22px; }
.tier-card { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.tier-card:hover .card-title { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.tier-card:hover .tier-mosaic { transform: translateY(-3px); }
.tier-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: #141612; aspect-ratio: 3 / 2; transition: transform .3s ease; box-shadow: 0 18px 40px -24px #000; }
.mosaic-tile { position: relative; border-radius: 10px; overflow: hidden; background: #f4f1ea; display: grid; place-items: center; }
.mosaic-tile img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mosaic-tile img.fit-contain { object-fit: contain; padding: 10%; }
.mosaic-tile img.fit-cover { object-fit: cover; }
.mosaic-tile b { position: absolute; left: 6px; top: 6px; z-index: 1; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-family: var(--serif); font-size: .8rem; color: #15130f; }
.mosaic-S b { background: #e7a3a0; } .mosaic-A b { background: #e9bf91; } .mosaic-B b { background: #e6d796; } .mosaic-C b { background: #b2cf9e; } .mosaic-D b { background: #9fbcd6; }
.mosaic-tile i { display: none; }
.mosaic-text { background: var(--bg-3); }
.mosaic-text i { display: block; font-style: normal; font-size: .72rem; font-weight: 700; text-align: center; padding: 22px 6px 6px; color: var(--text); }

/* ── Concept et semaine ───────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px); }
.feature { display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto 1fr auto; }
.feature img { width: 60px; height: 60px; filter: saturate(.45) brightness(1.05) drop-shadow(0 8px 18px #0008); }
.feature h3 { font-size: 1.4rem; }
.feature p { color: var(--text-2); line-height: 1.65; font-size: .95rem; }
.feature-link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--text); }
.feature-link .eyebrow { flex-basis: 100%; }
.feature-link .ico { color: var(--muted); transition: transform .2s, color .2s; }
.feature-link:hover .ico { transform: translateX(3px); color: var(--text); }
.week { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.week a {
  display: grid; gap: 6px; height: 100%; padding: 24px 22px; border-radius: 22px; text-decoration: none;
  background: linear-gradient(180deg, #171a15, #10120f); transition: transform .25s ease, background .25s;
}
.week a:hover { transform: translateY(-3px); background: linear-gradient(180deg, #1d211b, #121410); }
.week-day { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.week-time { font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.week-title { font-weight: 600; line-height: 1.4; margin-top: 6px; }
.week-next { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: .8rem; color: var(--muted); }

/* ── Appel final ─────────────────────────────────────── */
.cta { position: relative; margin-top: clamp(64px, 9vw, 120px); padding: clamp(70px, 10vw, 130px) 0; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.cta-art { position: absolute; inset: 0; z-index: -2; }
.cta-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; filter: saturate(.7); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b0c0af2 10%, #0b0c0ab0 60%, #0b0c0a66), radial-gradient(ellipse 40% 60% at 20% 50%, #9147ff22, transparent 70%); }
.cta-inner { display: grid; gap: 18px; max-width: 760px; margin-left: max(32px, calc((100% - 1280px) / 2)); }
.cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; }

/* ── Programme et archives ───────────────────────────── */
.page-head { display: grid; gap: 22px; padding: clamp(40px, 6vw, 88px) 0 clamp(8px, 2vw, 24px); }
.page-head h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1; }
.page-head + .wrap { margin-top: 32px; }
.slots { display: grid; }
.slot { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 22px 6px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.slot:target { background: radial-gradient(ellipse 60% 100% at 0% 50%, #ff4d5a14, transparent 70%); }
.chip { display: grid; justify-items: center; min-width: 58px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chip b { font-family: var(--serif); font-weight: 500; font-size: 2.3rem; line-height: 1; letter-spacing: 0; color: var(--text); }
.slot-body { display: grid; gap: 5px; min-width: 0; }
.slot-when { font-size: .85rem; color: var(--text-2); }
.slot-title { font-size: 1.2rem; font-weight: 700; }
.slot-text { color: var(--muted); line-height: 1.5; font-size: .93rem; }
.slot.canceled .slot-title, .slot.canceled .slot-when { text-decoration: line-through; text-decoration-color: var(--live); opacity: .55; }
.weekly { color: var(--muted); }
.tag { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: #f2eddf0d; color: var(--text-2); white-space: nowrap; }
.stamp { font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--live); border: 1.5px solid var(--live); padding: 5px 10px; border-radius: 6px; transform: rotate(-4deg); }

.pasts { display: grid; }
.past a { display: grid; grid-template-columns: 150px 130px 1fr 24px; gap: 18px; align-items: center; padding: 18px 6px; border-top: 1px solid var(--line); text-decoration: none; transition: background .25s; }
.past a:hover { background: linear-gradient(90deg, #f2eddf08, transparent); }
.past a:hover .past-go { transform: translateX(3px); color: var(--text); }
.past-date { font-family: var(--serif); font-size: 1.2rem; }
.past-meta { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.past-title { color: var(--text-2); line-height: 1.4; }
.past-go { color: var(--muted); transition: transform .2s, color .2s; }
.none { color: var(--muted); font-style: italic; font-size: .9rem; }
.live-dot { color: var(--live); font-weight: 700; }
.live-dot::before { content: "● "; animation: breathe 1.6s ease-in-out infinite; }
.month { margin-top: 56px; }
.month h2 { font-size: 1.6rem; margin-bottom: 14px; }

/* ── Pied ────────────────────────────────────────────── */
.foot { margin-top: clamp(64px, 9vw, 110px); border-top: 1px solid var(--line); background: var(--bg-1); }
.cta + .foot { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 28px 48px; align-items: center; padding: 44px 0 34px; }
.foot-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--serif); font-size: 1.05rem; line-height: 1.05; }
.foot p { max-width: 36em; line-height: 1.6; color: var(--text-2); font-size: .93rem; }
.foot ul { display: grid; gap: 8px; text-align: right; font-size: .9rem; }
.foot ul a { color: var(--text-2); text-decoration: none; }
.foot ul a:hover { color: var(--text); }
.foot small { grid-column: 1 / -1; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: .66rem; padding-top: 18px; border-top: 1px solid var(--line); }

/* ── Écrans étroits ──────────────────────────────────── */
@media (max-width: 1080px) {
  .stage { grid-template-columns: 1fr; }
  .chat { height: 420px; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .top { gap: 12px; flex-wrap: wrap; padding: 14px 0; }
  .brand span { display: none; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 2px; }
  .nav a { padding: 8px 10px; font-size: .86rem; }
  .top .btn-sm { margin-left: auto; }
  .hero { margin-top: -120px; padding: 150px 0 70px; min-height: auto; }
  .hero-art img { object-position: 72% 50%; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 4%, #0b0c0ad9 48%, #0b0c0a99 100%); }
  .next { padding: 20px; }
  .cd-unit { min-width: 0; flex: 1; padding: 12px 4px 8px; }
  .cd-unit b { font-size: 1.9rem; }
  .cd-xl .cd-unit b { font-size: 2.6rem; }
  .counters { margin-top: 0; }
  .strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .feed { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .card-sub { display: none; }
  .champions { grid-template-columns: 1fr; }
  .champ-1 { order: -1; }
  .champ { border-radius: 22px; padding: 20px 16px; }
  .ranking .ranking-head { display: none; }
  .ranking li { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 10px; }
  .ranking .r-num { display: none; }
  .ranking .r-num:nth-of-type(4) { display: block; grid-column: 2 / -1; text-align: left; font-size: .8rem; color: var(--muted); }
  .ranking .r-num:nth-of-type(4)::after { content: " " attr(data-label); }
  .game-list li { grid-template-columns: 36px minmax(0, 1fr) 20px; }
  .gl-winner { grid-column: 2; grid-row: 2; font-size: .9rem; }
  .gl-go { grid-row: 1; grid-column: 3; }
  .chat { display: none; }
  .chat-link { display: inline-flex; }
  .live-actions .btn { flex: 1; justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .games { grid-template-columns: 1fr; }
  .tier-row { grid-template-columns: 76px 1fr; }
  .tier-key span { display: none; }
  .tile { width: 64px; height: 64px; }
  .slot { grid-template-columns: auto 1fr; gap: 14px; padding: 18px 2px; }
  .slot .tag, .slot .stamp { grid-column: 2; justify-self: start; }
  .past a { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .past-meta { grid-column: 1; }
  .past-title { grid-column: 1 / -1; }
  .past-go { grid-row: 1; grid-column: 2; }
  .band-note, .more { margin-left: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot ul { text-align: left; }
  .cta-inner { margin-left: 16px; margin-right: 16px; }
  .q-choices { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Coulisses : le portrait à droite, son reflet flouté derrière ── */
.hero-blur img { filter: blur(40px) saturate(.8) brightness(.55); transform: scale(1.2); animation: none; }
.hero-soon::before { background: linear-gradient(90deg, #0b0c0af0 0%, #0b0c0ab8 55%, #0b0c0a80 100%), linear-gradient(0deg, var(--bg) 0%, #0b0c0a00 30%); }
.hero-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.backstage {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 76vh; justify-self: end;
  border: 1px solid var(--line-2); box-shadow: 0 60px 120px -50px #000, 0 0 120px -40px #ffcf8a55;
  transform: rotate(1.2deg); transition: transform .6s ease;
}
.backstage:hover { transform: rotate(0deg) scale(1.01); }
.backstage img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; animation: drift 24s ease-in-out infinite alternate; }
.backstage figcaption {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: #0b0c0acc; backdrop-filter: blur(8px);
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--line-2);
}
.backstage .onair-dot { background: var(--live); animation: beacon 1.2s infinite; }
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; }
  .backstage { order: -1; justify-self: stretch; aspect-ratio: 16 / 11; max-height: none; transform: none; }
  .backstage img { object-position: 30% 30%; }
  .hero-soon { margin-top: 0; padding-top: 20px; }
}

/* ── Pages de jeu ────────────────────────────────────── */
.game-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.game-card { display: grid; gap: 14px; text-decoration: none; }
.game-card .thumb { aspect-ratio: 16 / 9; }
.game-card:hover .thumb img { transform: scale(1.04); }
.game-card-body { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.game-card-body .emblem { width: 48px; height: 48px; }
.game-card-body > span { display: grid; gap: 2px; }
.game-card-title { font-family: var(--serif); font-size: 1.6rem; }
.game-card .ico { color: var(--muted); transition: transform .2s; }
.game-card:hover .ico { transform: translateX(4px); color: var(--text); }
.captures { display: grid; gap: 16px; margin-top: 36px; }
.capture { position: relative; border-radius: 22px; overflow: hidden; background: var(--bg-2); box-shadow: 0 50px 100px -50px #000; }
.capture img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.capture figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 14px; border-radius: 999px; background: #0b0c0acc; backdrop-filter: blur(8px); font-size: .78rem; color: var(--text-2); }
.capture-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px 32px; counter-reset: none; }
.rules li { display: grid; gap: 10px; align-content: start; }
.rule-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; background: #f2eddf10; }
.rules h3 { font-size: 1.3rem; }
.rules p { color: var(--text-2); line-height: 1.6; font-size: .95rem; }
.tier-people { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 4px; font-weight: 600; font-size: .95rem; }
.tier-people .eyebrow { margin-right: 8px; }

/* ── Joueurs ─────────────────────────────────────────── */
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px 28px; margin-top: 12px; }
.player-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 4px; border-top: 1px solid var(--line); text-decoration: none; }
.player-card:hover .player-card-name { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.player-card .ico { color: var(--muted); transition: transform .2s; }
.player-card:hover .ico { transform: translateX(3px); color: var(--text); }
.monogram { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; background: radial-gradient(circle at 30% 25%, #2d322a, #141612); box-shadow: inset 0 0 0 1px var(--line-2); }
.monogram-xl { width: 88px; height: 88px; font-size: 2.6rem; }
.monogram.has-photo { overflow: hidden; background: #141612; }
.monogram.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Les visages des classements : la taille vient de l'attribut de l'image, l'initiale de la place. */
.face-s { width: 28px; height: 28px; font-size: .8rem; flex: none; }
.ranking .face-s { width: 32px; height: 32px; font-size: .9rem; }
.face-step { width: 40px; height: 40px; font-size: 1.05rem; }
.step-1 .face-step { width: 52px; height: 52px; font-size: 1.35rem; box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 2px #c9b07a55; }
.face-champ { width: 68px; height: 68px; font-size: 1.8rem; }
.champ-1 .face-champ { width: 84px; height: 84px; font-size: 2.2rem; box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 2px #c9b07a66; }
.with-face { display: flex; align-items: center; gap: 10px; min-width: 0; }
.with-face .who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-card-body { display: grid; gap: 3px; min-width: 0; }
.player-card-name { font-weight: 700; font-size: 1.1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-card-rank { font-size: .85rem; color: var(--text-2); }
.player-card-stats { font-size: .8rem; color: var(--muted); }
.player-title { display: flex; align-items: center; gap: 22px; }
.strip dd small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.place { font-family: var(--serif); font-size: 1.25rem; }
.place-1 { color: var(--gold); }
.player-games .gl-winner { gap: 10px; }
.songs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 30px 20px; }
.song { display: grid; gap: 6px; align-content: start; }
.song-cover { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; color: var(--muted); box-shadow: 0 18px 40px -24px #000; }
.song-cover img { width: 100%; height: 100%; object-fit: cover; }
.song-title { font-weight: 600; margin-top: 6px; }
.song-sub { font-size: .8rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Les achievements : des médailles gravées sur le noir de la page, le métal
   du palier atteint en anneau. Bronze, argent, or ; éteint avant le bronze. */
.medal { --m1: #3a3b36; --m2: #24251f; --glow: transparent; position: relative; display: grid; place-items: center; flex: none; border-radius: 50%; background: conic-gradient(from 210deg, var(--m1), var(--m2) 30%, var(--m1) 52%, var(--m2) 76%, var(--m1)); box-shadow: 0 0 0 1px #0b0c0a, 0 10px 26px -14px var(--glow); }
.medal-core { display: grid; place-items: center; width: calc(100% - 7px); height: calc(100% - 7px); border-radius: 50%; background: radial-gradient(circle at 35% 28%, var(--bg-3), var(--bg-1) 70%); box-shadow: inset 0 0 0 1px #f2eddf10; color: var(--m1); }
.medal-core .ico { width: 46%; height: 46%; stroke-width: 1.6; }
.medal-core .dot { fill: currentColor; stroke: none; }
.medal-lg { width: 60px; height: 60px; }
.medal-sm { width: 38px; height: 38px; }
.medal-sm .medal-core { width: calc(100% - 4px); height: calc(100% - 4px); }
.medal-bronze { --m1: #d59a68; --m2: #7d4f2c; --glow: #d59a6866; }
.medal-argent { --m1: #ecebe6; --m2: #85837c; --glow: #ecebe655; }
.medal-or { --m1: #ecd39a; --m2: #9a7a3c; --glow: #c9b07a88; }
.medal-locked .medal-core { color: var(--muted); opacity: .55; }
.medal:not(.medal-locked)::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 38%, #fff6 50%, transparent 62%) -120% 0 / 250% 100% no-repeat; mix-blend-mode: overlay; pointer-events: none; transition: background-position .9s ease; }
.ach:hover .medal::after, .shelf-item:hover .medal::after { background-position: 120% 0; }

.medal-shelf { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; text-decoration: none; width: fit-content; }
.shelf-item { display: inline-grid; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.shelf-item:hover { transform: translateY(-3px); }

.ach-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ach { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px 22px 20px; background: var(--bg); transition: background .25s; animation: ach-in .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms); }
.ach:hover { background: var(--bg-1); }
.ach-body { display: grid; gap: 8px; min-width: 0; }
.ach-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ach-name { font-family: var(--serif); font-size: 1.22rem; line-height: 1.15; }
.ach.is-locked .ach-name { color: var(--text-2); }
.ach-tier { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.tier-bronze { color: #d59a68; }
.tier-argent { color: #e4e2dc; }
.tier-or { color: var(--gold); }
.tier-locked { color: var(--muted); }
.ach-pips { display: flex; gap: 4px; }
.ach-pip { height: 3px; flex: 1; border-radius: 2px; background: var(--line-2); }
.ach-pip.is-on.pip-bronze { background: #d59a68; }
.ach-pip.is-on.pip-argent { background: #e4e2dc; }
.ach-pip.is-on.pip-or { background: var(--gold); }
.ach-next { display: flex; align-items: center; gap: 10px; }
.ach-bar { flex: 1; height: 1px; background: var(--line-2); position: relative; }
.ach-bar i { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--text-2); }
.ach-count { font-size: .76rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.ach-goal { font-size: .82rem; color: var(--muted); line-height: 1.4; }
/* Les badges d'événement : seulement ceux qu'on a, et ce sont des bijoux
   (19/10/2026, « un peu plus blingbling »). Un cabochon serti dans un anneau
   de métal qui tourne lentement, un reflet qui passe, une lueur dessous.
   Founders ouvre la rangée : le premier, le plus rare, en or champagne et
   plus grand ; Halloween en ambre. L'or reste réservé à ces badges et aux
   médailles : ailleurs, il n'est qu'un accent. */
.badge-row { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.ev-badge { --b1: #f6e3b0; --b2: #a8843f; --b3: #fff4d6; --glow: #e7c77a; position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; border-radius: 999px;
  border: 1px solid transparent; background: linear-gradient(var(--bg-1), var(--bg-1)) padding-box, linear-gradient(120deg, var(--b2), var(--b1) 30%, var(--b3) 50%, var(--b1) 70%, var(--b2)) border-box;
  box-shadow: 0 14px 34px -20px var(--glow), inset 0 0 26px -16px var(--glow); animation: ach-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.ev-badge::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 40%, color-mix(in srgb, var(--b3) 22%, transparent) 50%, transparent 60%) -150% 0 / 250% 100% no-repeat; animation: badge-sheen 6s ease-in-out infinite; pointer-events: none; }
.ev-badge-mark { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: conic-gradient(from 0deg, var(--b2), var(--b1), var(--b3), var(--b1), var(--b2), var(--b1), var(--b3), var(--b1), var(--b2)); box-shadow: 0 0 0 1px #0b0c0a, 0 0 18px -4px var(--glow); animation: badge-spin 14s linear infinite; }
.ev-badge-core, .shelf-badge .ev-badge-core { display: grid; place-items: center; width: calc(100% - 6px); height: calc(100% - 6px); border-radius: 50%; background: radial-gradient(circle at 34% 26%, color-mix(in srgb, var(--b1) 26%, var(--bg-3)), var(--bg-1) 72%); box-shadow: inset 0 0 0 1px #f2eddf14, inset 0 -6px 12px -8px var(--glow); color: var(--b1); animation: badge-spin 14s linear infinite reverse; }
.ev-badge-core .ico { width: 52%; height: 52%; stroke-width: 1.6; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--glow) 70%, transparent)); }
.ev-badge-body { display: grid; gap: 3px; }
.ev-badge-name { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 1.08rem; line-height: 1.1; color: var(--text); }
.ev-badge-desc { font-size: .76rem; color: var(--text-2); }
.ev-badge-no { font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: linear-gradient(120deg, var(--b2), var(--b3) 45%, var(--b1) 60%, var(--b2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ev-badge-no small { font-size: 1em; font-weight: 500; }
.ev-founders { --b1: #f3dfa8; --b2: #9c7a36; --b3: #fffaf0; --glow: #e9c97f; padding: 12px 26px 12px 12px; }
.ev-founders .ev-badge-mark { width: 54px; height: 54px; }
.ev-founders .ev-badge-name { font-size: 1.24rem; }
.ev-founders::before { content: ""; position: absolute; inset: -40% auto -40% -10%; width: 45%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 28%, transparent), transparent); pointer-events: none; }
.ev-halloween-2026 { --b1: #f0a65a; --b2: #8a3f12; --b3: #ffd9a8; --glow: #e8813a; }
.shelf-badge { position: relative; width: 38px; height: 38px; place-items: center; border-radius: 50%; --b1: #f3dfa8; --b2: #9c7a36; --b3: #fffaf0; --glow: #e9c97f; background: conic-gradient(from 0deg, var(--b2), var(--b1), var(--b3), var(--b1), var(--b2), var(--b1), var(--b3), var(--b1), var(--b2)); box-shadow: 0 0 0 1px #0b0c0a, 0 0 14px -4px var(--glow); }
.shelf-badge.shelf-halloween-2026 { --b1: #f0a65a; --b2: #8a3f12; --b3: #ffd9a8; --glow: #e8813a; }
.shelf-badge .ev-badge-core { width: calc(100% - 4px); height: calc(100% - 4px); animation: none; }
.shelf-badge .ev-badge-core .ico { width: 54%; height: 54%; }
/* Le haut d'une fiche viewer est un héros (19/10/2026) : sa photo Twitch
   floutée en fond, le portrait en grand dans un anneau, les chiffres en pied.
   Un Founder a l'anneau d'or qui tourne et son sceau numéroté : c'est le
   badge le plus rare, il se voit avant tout le reste. */
.viewer-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 8px; padding: clamp(48px, 7vw, 100px) 0 clamp(28px, 4vw, 44px); }
.viewer-hero-art { position: absolute; inset: -80px; z-index: -2; }
.viewer-hero-art img { width: 100%; height: 100%; object-fit: cover; filter: blur(70px) saturate(1.15) brightness(.5); transform: scale(1.1); }
.viewer-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse 34% 62% at 14% 46%, #f2eddf10, transparent 70%),
  linear-gradient(0deg, var(--bg) 0%, #0b0c0a00 42%),
  linear-gradient(180deg, var(--bg) 0%, #0b0c0a00 26%),
  linear-gradient(90deg, #0b0c0a66, #0b0c0acc); }
.viewer-hero.is-founder::before { background:
  radial-gradient(ellipse 34% 62% at 14% 46%, #e9c97f26, transparent 70%),
  linear-gradient(0deg, var(--bg) 0%, #0b0c0a00 42%),
  linear-gradient(180deg, var(--bg) 0%, #0b0c0a00 26%),
  linear-gradient(90deg, #0b0c0a55, #0b0c0acc); }
.viewer-hero-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.viewer-hero-copy { display: grid; gap: 18px; min-width: 0; }
.viewer-hero-copy > * { max-width: 640px; }
.viewer-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .98; overflow-wrap: anywhere; }
.viewer-hero .lead { color: #ddd6c6; }
.viewer-hero .medal-shelf { margin: 2px 0 0; }
.viewer-portrait { position: relative; display: grid; justify-items: center; }
.portrait-ring { position: relative; isolation: isolate; display: grid; padding: 6px; border-radius: 50%; }
.portrait-ring::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: conic-gradient(#f2eddf30, #f2eddf0a, #f2eddf30, #f2eddf0a, #f2eddf30); }
.monogram-hero { width: clamp(136px, 16vw, 200px); height: clamp(136px, 16vw, 200px); font-size: clamp(3.4rem, 6vw, 5.2rem); box-shadow: 0 0 0 1px #0b0c0a, 0 40px 80px -36px #000; }
.is-founder .portrait-ring::before { background: conic-gradient(from 0deg, #9c7a36, #f3dfa8, #fffaf0, #f3dfa8, #9c7a36, #f3dfa8, #fffaf0, #f3dfa8, #9c7a36); box-shadow: 0 0 70px -12px #e9c97faa; animation: badge-spin 16s linear infinite; }
.portrait-seal { position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 7px 15px; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #20180a; background: linear-gradient(120deg, #9c7a36, #f3dfa8 38%, #fffaf0 52%, #d9bc78 72%, #9c7a36); box-shadow: 0 0 0 1px #0b0c0a, 0 10px 24px -10px #e9c97f; }
.portrait-seal b { font-weight: 800; margin-left: 4px; }
.viewer-hero-stats { margin-top: clamp(36px, 5vw, 60px); }
@media (max-width: 760px) {
  .viewer-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .viewer-portrait { justify-self: start; }
  .monogram-hero { width: 116px; height: 116px; font-size: 3rem; }
}
@keyframes badge-spin { to { transform: rotate(1turn); } }
@keyframes badge-sheen { 0%, 55% { background-position: -150% 0; } 85%, 100% { background-position: 150% 0; } }
@keyframes ach-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 760px) {
  .ach { padding: 18px 16px; gap: 14px; }
  .medal-lg { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .ach, .ev-badge, .ev-badge::after, .ev-badge-mark, .ev-badge-core { animation: none; }
  .medal::after { display: none; }
  .shelf-item { transition: none; }
}
@media (max-width: 760px) {
  .nav { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .player-title { gap: 14px; }
  .monogram-xl { width: 60px; height: 60px; font-size: 1.8rem; }
  .songs { grid-template-columns: 1fr 1fr; }
}
.aka { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--text-2); margin-top: 4px; }
.aka em { color: var(--gold); }
.aka-inline { font-weight: 500; font-size: .85rem; color: var(--muted); font-style: italic; }

/* ── Fil d'Ariane ────────────────────────────────────── */
.crumbs { padding-top: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: .82rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "›"; margin: 0 10px; color: #f2eddf40; }
.crumbs a { text-decoration: none; color: var(--text-2); transition: color .2s; }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.crumbs [aria-current] span { max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs + .page-head { padding-top: clamp(22px, 4vw, 52px); }
@media (max-width: 760px) { .crumbs [aria-current] span { max-width: 18ch; } }

/* ── Soirées voisines ────────────────────────────────── */
.pager-mini { display: flex; gap: 18px; font-size: .88rem; }
.pager-mini a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.pager-mini a:hover { color: var(--text); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(56px, 8vw, 96px); }
.pager a { display: grid; gap: 6px; padding: 22px 24px; border-radius: 20px; text-decoration: none; background: linear-gradient(180deg, #171a15, #10120f); transition: transform .25s ease, background .25s; }
.pager a:hover { transform: translateY(-2px); background: linear-gradient(180deg, #1d211b, #121410); }
.pager-next { text-align: right; justify-items: end; }
.pager-day { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.pager-title { color: var(--muted); font-size: .9rem; }
.ico-back { transform: rotate(180deg); }
@media (max-width: 760px) { .pager { grid-template-columns: 1fr; } .pager-next { text-align: left; justify-items: start; } .pager > span { display: none; } }

/* ── En-tête d'un jeu et captures ────────────────────── */
.game-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(78vh, 680px); margin-top: 12px; padding: 64px 0; }
.game-hero-art { position: absolute; inset: 0; z-index: -2; }
.game-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; }
.game-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b0c0af7 0%, #0b0c0ae0 36%, #0b0c0a55 64%, #0b0c0a10 100%), linear-gradient(0deg, var(--bg) 0%, #0b0c0a00 28%), linear-gradient(180deg, var(--bg) 0%, #0b0c0a00 14%); }
.game-hero-copy { display: grid; gap: 20px; }
.game-hero-copy > * { max-width: 600px; }
.game-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
.shot { display: grid; gap: 10px; }
.shot a { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -28px #000; }
.shot img { width: 100%; height: auto; transition: transform .5s ease; }
.shot a:hover img { transform: scale(1.03); }
.shot figcaption { font-size: .88rem; color: var(--text-2); }
@media (max-width: 760px) {
  .game-hero { min-height: auto; padding: 260px 0 40px; }
  .game-hero-art img { object-position: 70% 0; height: 340px; }
  .game-hero::before { background: linear-gradient(0deg, var(--bg) 40%, #0b0c0acc 62%, #0b0c0a00 85%); }
  .shots { grid-template-columns: 1fr; }
}

/* ── Direct terminé ──────────────────────────────────── */
.onair-ended { background: #f2eddf0d; color: var(--cream); border: 1px solid #c9b07a59; box-shadow: none; }
.onair-ended .onair-dot { background: var(--gold); animation: none; }
.hero-ended .hero-art img { object-position: 64% 50%; }
.hero-ended .strip { border-top-color: var(--line-2); }
.btn-cream { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.btn-cream:hover { background: #fff; }
@media (max-width: 760px) { .hero-ended .hero-art img { object-position: 78% 50%; } }

/* ── Compte Twitch ───────────────────────────────────── */
.account { position: relative; display: flex; align-items: center; }
/* Pas encore connecté : la même place que l'avatar, vide, qui attend quelqu'un. */
.account-seat { color: var(--gold); background: #c9b07a12; box-shadow: inset 0 0 0 1px #c9b07a55; transition: box-shadow .25s, background .25s; }
.account-seat .ico { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.is-guest summary:hover .account-seat, .is-guest[open] .account-seat { background: #c9b07a24; box-shadow: inset 0 0 0 1px var(--gold); }
.is-guest summary:hover .account-seat .ico { transform: translateY(-1px) scale(1.08); }
.is-guest .account-name { color: var(--text-2); }
.is-guest summary:hover .account-name, .is-guest[open] .account-name { color: var(--text); }
.account-pitch { font-family: var(--serif); font-size: 1.15rem; }
.is-guest .account-panel { width: 280px; gap: 12px; }
.is-guest .account-panel .btn { justify-self: start; margin-left: 0; }
.account-menu[open] .account-panel { animation: prompt-in .3s cubic-bezier(.2, .9, .3, 1.2) both; transform-origin: 90% 0; }
.account-menu { position: relative; }
.account-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 9px; padding: 4px 12px 4px 4px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line-2); background: #f2eddf08; font-size: .88rem; font-weight: 600; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary:hover, .account-menu[open] summary { border-color: #c9b07a66; }
.account-menu summary img, .account-initial { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.account-initial { display: grid; place-items: center; font-family: var(--serif); background: radial-gradient(circle at 30% 25%, #2d322a, #141612); }
.account-name { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; display: grid; gap: 10px; padding: 16px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -20px #000c; z-index: 20; }
.account-panel a { color: var(--text); font-weight: 600; }
.account-panel button { justify-self: start; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .88rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.account-panel button:hover { color: var(--text); }
@media (max-width: 760px) {
  .account { margin-left: auto; }
  .account + .btn-sm { margin-left: 0; }
  .account-name { display: none; }
  .account-menu summary { padding: 3px; }
  /* Sur téléphone, le panneau du compte prend la largeur de l'écran sous l'en-tête :
     accroché à la pastille, il sortait par la gauche. */
  .account-panel, .is-guest .account-panel { position: fixed; left: 12px; right: 12px; top: 96px; width: auto; }
}

/* Sa propre fiche, partout où elle est citée. */
li.is-me, .champ.is-me, .record.is-me { background: linear-gradient(90deg, #c9b07a1f, #c9b07a05 70%); box-shadow: inset 2px 0 0 var(--gold); }
a.is-me { color: var(--cream); }
.account-panel a.is-me::after { display: none; }
a.is-me::after { content: "vous"; margin-left: .5em; padding: .1em .45em; border-radius: 999px; font-family: var(--sans); font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; vertical-align: .25em; color: var(--bg); background: var(--gold); }

/* ── Le morceau en cours : bandeau au bas de l'écran ─── */
.np {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40;
  width: min(760px, calc(100% - 24px)); transform: translateX(-50%);
  border-radius: 20px; background: #15171399; border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 24px 60px -18px #000d, inset 0 1px 0 #f2eddf0f;
  animation: np-in .7s cubic-bezier(.2, .9, .25, 1.15) both;
}
body:has(.np) .foot { padding-bottom: 120px; }
@keyframes np-in { from { opacity: 0; transform: translate(-50%, 130%); } to { opacity: 1; transform: translate(-50%, 0); } }
.np.is-leaving { animation: np-out .45s ease-in forwards; }
@keyframes np-out { to { opacity: 0; transform: translate(-50%, 130%); } }
.dock { width: min(1040px, calc(100% - 24px)); }
.dock-inner { display: flex; align-items: center; gap: 12px; padding: 9px 10px; min-height: 72px; }
/* Le témoin du direct, à gauche : un lien vers le direct, qui dit son titre
   quand il n'a rien d'autre à montrer. */
.dock-live { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 10px; border-radius: 14px; text-decoration: none; color: var(--text); background: #ff4d5a14; border: 1px solid #ff4d5a33; transition: background .2s; }
.dock-live:hover { background: #ff4d5a24; }
.dock-live .onair-dot { background: var(--live); animation: beacon 1.6s infinite; }
.dock-live-text { display: grid; gap: 1px; min-width: 0; }
.dock-live-text b { font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #ffd4d7; }
.dock-live-text span { display: none; font-family: var(--serif); font-size: 1.02rem; max-width: 34ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock:not(:has(.dock-context, .dock-music)) .dock-live-text span { display: block; }
.dock:not(:has(.dock-context, .dock-music)) .dock-live { flex: 1; min-width: 0; background: none; border-color: transparent; }
/* Ce que l'écran montre : une carte cliquable, et son appel à l'action. */
.dock-context { flex: 1 1 auto; min-width: 0; }
.dock-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 4px 4px 4px 4px; border-radius: 14px; text-decoration: none; color: inherit; transition: background .2s; }
.dock-card:hover { background: #f2eddf0a; }
.dock-art { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--bg-3); flex: none; }
.dock-art img { width: 100%; height: 100%; object-fit: cover; }
.is-video .dock-art { width: 96px; height: 54px; }
.is-video .dock-art .ico { position: absolute; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 2px 6px #000a); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.dock-card:hover .dock-art .ico { transform: scale(1.18); }
.is-game .dock-art { background: none; overflow: visible; }
.is-game .dock-art img { object-fit: contain; animation: dock-bob 3.2s ease-in-out infinite; }
@keyframes dock-bob { 50% { transform: translateY(-3px) rotate(-3deg); } }
.dock-tile { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); }
.dock-text { display: grid; gap: 1px; min-width: 0; }
.dock-kicker { font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-title { font-family: var(--serif); font-size: 1.08rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-sub { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-cta { display: inline-flex; align-items: center; gap: 7px; padding: .6em 1em; border-radius: 999px; font-size: .86rem; font-weight: 700; white-space: nowrap; border: 1px solid var(--line-2); color: var(--text); transition: border-color .2s, background .2s, transform .18s; }
.dock-card:hover .dock-cta { border-color: #f2eddf55; transform: translateX(2px); }
.is-game .dock-cta { background: var(--twitch); border-color: var(--twitch); color: #fff; box-shadow: 0 8px 22px -10px #9147ffaa; }
.is-game .dock-card:hover .dock-cta { background: var(--twitch-hover); border-color: var(--twitch-hover); }
/* La musique : pleine largeur seule, en petit à côté d'une carte. */
.dock-music { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; }
.dock-music.is-compact { flex: 0 1 auto; padding-left: 12px; border-left: 1px solid var(--line); }
.dock-music.is-compact .np-kicker, .dock-music.is-compact .np-meta { display: none; }
.dock-music.is-compact .np-title { font-size: .95rem; max-width: 16ch; }
.dock-music.is-compact .vote { padding: .5em .7em; font-size: .85rem; }
.dock-watch { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: .7em 1.05em; border-radius: 999px; border: 1px solid var(--line-2); background: #f2eddf0a; color: var(--text); font: 700 .88rem/1 var(--sans); cursor: pointer; transition: background .2s, border-color .2s, transform .18s; }
.dock-watch:hover { background: #f2eddf16; border-color: #f2eddf55; transform: translateY(-1px); }
.dock-watch[aria-pressed="true"] { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.dock-watch .watch-open, .dock-watch .watch-close { display: inline-grid; }
.dock-watch .watch-close, .dock-watch[aria-pressed="true"] .watch-open { display: none; }
.dock-watch[aria-pressed="true"] .watch-close { display: inline-grid; animation: vote-pop .4s cubic-bezier(.3, 1.8, .5, 1); }
/* Sur l'accueil en direct, le grand lecteur est déjà là. */
body.is-live .dock-watch { display: none; }
.dock.is-new .dock-text > *, .dock.is-new .np-text > * { animation: np-text .6s ease both; }
.np-progress { position: absolute; left: 18px; right: 18px; top: 0; height: 2px; border-radius: 2px; overflow: hidden; background: #f2eddf12; }
.np-progress i { display: block; height: 100%; width: var(--np-progress, 0%); background: linear-gradient(90deg, #c9b07a55, var(--gold)); transition: width 1s linear; }
.np:not([data-duration]) .np-progress { display: none; }
/* Le disque : sillons, la pochette en étiquette, le trou au centre. Il tourne
   à 33 tours ; le reflet, lui, reste immobile, comme sur une vraie platine. */
.np-disc { position: relative; width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 8px 20px -8px #000, 0 0 0 1px #f2eddf14; }
.np-record {
  position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center;
  background:
    radial-gradient(circle, #0000 0 30%, #2a2925 30.5% 31.5%, #0000 32%),
    repeating-radial-gradient(circle, #0b0b0a 0 1px, #262522 1px 1.6px, #121211 1.6px 2.4px),
    #111;
  animation: np-spin 1.8s linear infinite;
}
.np-label { width: 42%; height: 42%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #c9b07a66, 0 0 0 3px #0a0a09; }
.np-label-blank { display: block; background: radial-gradient(circle at 35% 30%, #e3c98f, var(--gold) 55%, #8d7647); }
.np-record::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #0b0c0a; box-shadow: 0 0 0 1px #f2eddf22; }
.np-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: conic-gradient(from 30deg, #ffffff00 0deg, #ffffff2e 25deg, #ffffff00 60deg, #ffffff00 180deg, #ffffff22 205deg, #ffffff00 240deg); mix-blend-mode: screen; }
@keyframes np-spin { to { transform: rotate(360deg); } }
.np.is-new .np-record { animation: np-spin-up 1.2s cubic-bezier(.4, 0, .2, 1), np-spin 1.8s linear 1.2s infinite; }
@keyframes np-spin-up { from { transform: rotate(-200deg) scale(.6); opacity: 0; } to { transform: rotate(0deg) scale(1); opacity: 1; } }
.np-text { display: grid; gap: 2px; min-width: 0; }
.np-kicker { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.np-title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-meta { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np.is-new .np-text > * { animation: np-text .6s ease both; }
.np.is-new .np-meta { animation-delay: .08s; }
@keyframes np-text { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } }
.np-votes { display: flex; gap: 6px; }

.vote { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: .6em .95em; border-radius: 999px; border: 1px solid var(--line-2); background: #f2eddf0a; color: var(--text-2); font: 700 .92rem/1 var(--sans); cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color .2s, background .25s, color .2s, transform .18s cubic-bezier(.3, 1.6, .5, 1); }
.vote:hover { border-color: #f2eddf55; color: var(--text); transform: translateY(-2px); }
.vote:active { transform: scale(.9); transition-duration: .06s; }
.vote:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.vote-ico { display: inline-grid; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.vote-up:hover .vote-ico { transform: rotate(-10deg) translateY(-1px); }
.vote-down:hover .vote-ico { transform: rotate(10deg) translateY(1px); }
.vote-up[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--bg); box-shadow: 0 8px 22px -10px #efe8d7aa; }
.vote-down[aria-pressed="true"] { background: #f2eddf24; border-color: #f2eddf70; color: var(--text); }
.vote [data-count] { display: inline-block; min-width: 1ch; }
.vote .count-bump { animation: count-bump .45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes count-bump { from { transform: translateY(-70%); opacity: 0; } }
.vote.is-pop .vote-ico { animation: vote-pop .55s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes vote-pop { 30% { transform: scale(1.45) rotate(-14deg); } 60% { transform: scale(.92) rotate(4deg); } }
.vote-down.is-pop .vote-ico { animation-name: vote-sink; }
@keyframes vote-sink { 30% { transform: scale(1.3) rotate(12deg) translateY(2px); } 60% { transform: scale(.95) rotate(-4deg); } }
.vote.is-shake { animation: vote-shake .4s ease; }
@keyframes vote-shake { 25% { transform: translateX(-3px); } 50% { transform: translateX(3px); } 75% { transform: translateX(-2px); } }
.vote-spark { position: absolute; left: 24px; top: 50%; width: 6px; height: 6px; margin: -3px; box-shadow: 0 0 6px #c9b07aaa; border-radius: 50%; background: var(--gold); pointer-events: none; animation: vote-spark .65s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes vote-spark { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.vote-ring { position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--gold); pointer-events: none; animation: vote-ring .6s ease-out forwards; }
@keyframes vote-ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.35, 1.6); } }
.np.is-busy .vote { opacity: .7; pointer-events: none; }

/* L'invitation à se connecter, posée au-dessus du bandeau. */
.np-prompt { position: absolute; right: 8px; bottom: calc(100% + 12px); width: min(330px, calc(100vw - 40px)); display: grid; gap: 8px; padding: 16px 16px 14px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 26px 60px -20px #000e; transform-origin: 85% 100%; }
.np-prompt[hidden] { display: none; }
.np-prompt.is-open { animation: prompt-in .38s cubic-bezier(.2, .9, .3, 1.25) both; }
.np-prompt.is-closing { animation: prompt-out .2s ease-in forwards; }
@keyframes prompt-in { from { opacity: 0; transform: translateY(10px) scale(.92); } }
@keyframes prompt-out { to { opacity: 0; transform: translateY(6px) scale(.96); } }
.np-prompt::after { content: ""; position: absolute; right: 52px; bottom: -7px; width: 12px; height: 12px; background: var(--bg-2); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transform: rotate(45deg); }
.np-prompt-title { font-family: var(--serif); font-size: 1.15rem; }
.np-prompt-text { font-size: .86rem; line-height: 1.5; color: var(--text-2); }
.np-prompt-actions { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.np-later { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .85rem; cursor: pointer; }
.np-later:hover { color: var(--text); }
.np-error { position: absolute; right: 14px; bottom: calc(100% + 8px); padding: 6px 12px; border-radius: 999px; font-size: .78rem; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text-2); animation: prompt-in .3s ease both; }

@media (max-width: 760px) {
  .np { bottom: max(8px, env(safe-area-inset-bottom)); width: calc(100% - 16px); border-radius: 16px; }
  .dock-inner { flex-wrap: wrap; gap: 8px 10px; padding: 8px; min-height: 0; }
  .dock-live { padding: 10px; }
  .dock-live-text { display: none; }
  .dock:not(:has(.dock-context, .dock-music)) .dock-live-text { display: grid; }
  .dock-context, .dock-music { flex: 1 1 0; }
  .dock-card { gap: 10px; grid-template-columns: auto minmax(0, 1fr); }
  .dock-cta { display: none; }
  .is-video .dock-art { width: 72px; height: 40px; }
  .dock-music.is-compact { order: 5; flex-basis: 100%; padding: 8px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .dock-music.is-compact .np-title { max-width: none; }
  .dock-watch .dock-watch-label { display: none; }
  .dock-watch { padding: .8em; }
  .np-title { font-size: 1rem; }
  .np-meta { display: none; }
  .np-wide { display: none; }
  .vote { padding: .62em .75em; gap: 5px; }
  .np-prompt { right: 0; }
  .np-prompt::after { right: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .np, .np.is-leaving, .np-prompt.is-open, .np.is-new .np-text > *, .vote .count-bump, .vote.is-pop .vote-ico, .vote.is-shake { animation: none; }
  .np-record, .np.is-new .np-record, .is-game .dock-art img, .dock-live .onair-dot { animation: none; }
  .dock.is-new .dock-text > * { animation: none; }
  .vote-spark, .vote-ring { display: none; }
}

/* ── Navigation sans rechargement ────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
main#contenu.is-entering { animation: page-in .35s ease both; }
main#contenu.is-leaving-page { opacity: .55; transition: opacity .2s ease .08s; }
@keyframes page-in { from { opacity: .4; transform: translateY(6px); } }
main h1:focus { outline: none; }
body.has-dock .foot { padding-bottom: 130px; }

/* ── Le petit lecteur du direct ──────────────────────── */
/* Twitch demande au moins 400 × 300 pour un lecteur intégré : le cadre en
   fait 534 × 300 sur ordinateur, au-dessus du bandeau. */
.mini-player { position: fixed; right: max(16px, calc((100vw - 1040px) / 2)); bottom: calc(var(--dock-h, 90px) + 28px); z-index: 41; width: 534px; border-radius: 16px; background: #000; border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px #000; animation: player-in .4s cubic-bezier(.2, .9, .3, 1.15) both; transform-origin: 80% 100%; }
.mini-player.is-closing { animation: player-out .25s ease-in forwards; }
@keyframes player-in { from { opacity: 0; transform: translateY(16px) scale(.94); } }
@keyframes player-out { to { opacity: 0; transform: translateY(12px) scale(.96); } }
.mini-player-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; background: var(--bg-2); font-size: .8rem; border-radius: 15px 15px 0 0; }
.mini-player-bar .onair-dot { background: var(--live); animation: beacon 1.6s infinite; }
.mini-player-bar b { font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #ffd4d7; }
.mini-player-twitch { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 9px; border-radius: 999px; text-decoration: none; font-size: .78rem; font-weight: 700; color: #e6d9ff; background: #9147ff26; border: 1px solid #9147ff55; transition: background .2s, border-color .2s, color .2s; }
.mini-player-twitch .ico { width: 15px; height: 15px; }
.mini-player-twitch .ico:last-child { width: 13px; height: 13px; opacity: .7; transition: transform .2s; }
.mini-player-twitch:hover { color: #fff; background: var(--twitch); border-color: var(--twitch); }
.mini-player-twitch:hover .ico:last-child { transform: translate(1px, -1px); opacity: 1; }
.mini-player-close { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--text-2); cursor: pointer; transition: color .2s, border-color .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.mini-player-close .ico { width: 14px; height: 14px; }
.mini-player-close:hover { color: var(--text); border-color: #f2eddf55; transform: rotate(90deg); }
.mini-player-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0 0 15px 15px; }
/* Déplacer par la barre, redimensionner par un bord ou un coin. */
.mini-player-bar { cursor: grab; user-select: none; }
.mini-player.is-moving .mini-player-bar { cursor: grabbing; }
.mini-player.is-moving, .mini-player.is-resizing { box-shadow: 0 40px 90px -20px #000, 0 0 0 1px #c9b07a66; transition: none; }
.mini-player.is-moving iframe, .mini-player.is-resizing iframe { pointer-events: none; }
.mp-grip { position: absolute; z-index: 3; }
.mp-n, .mp-s { left: 14px; right: 14px; height: 10px; cursor: ns-resize; }
.mp-n { top: -5px; } .mp-s { bottom: -5px; }
.mp-e, .mp-w { top: 14px; bottom: 14px; width: 10px; cursor: ew-resize; }
.mp-e { right: -5px; } .mp-w { left: -5px; }
.mp-ne, .mp-nw, .mp-se, .mp-sw { width: 18px; height: 18px; }
.mp-nw { top: -6px; left: -6px; cursor: nwse-resize; } .mp-se { bottom: -6px; right: -6px; cursor: nwse-resize; }
.mp-ne { top: -6px; right: -6px; cursor: nesw-resize; } .mp-sw { bottom: -6px; left: -6px; cursor: nesw-resize; }
/* Un coin qui se devine au survol, discret le reste du temps. */
.mp-se::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 9px; height: 9px; border-right: 2px solid #f2eddf55; border-bottom: 2px solid #f2eddf55; border-radius: 0 0 3px 0; opacity: 0; transition: opacity .2s; }
.mini-player:hover .mp-se::after { opacity: 1; }
.mini-player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) {
  .mini-player { left: 8px; right: 8px; width: auto; bottom: calc(var(--dock-h, 140px) + 16px); }
  .mini-player-bar { cursor: default; }
  .mp-grip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  main#contenu.is-entering, .mini-player, .mini-player.is-closing { animation: none; }
}

/* La pochette, et le disque qui en sort en tournant : la pochette se lit en
   entier, le disque garde le mouvement. */
.np-deck { position: relative; flex: none; width: 92px; height: 62px; display: block; }
.np-sleeve { position: absolute; left: 0; top: 1px; z-index: 2; width: 60px; height: 60px; border-radius: 7px; overflow: hidden; display: grid; place-items: center; color: var(--gold); background: linear-gradient(145deg, #2a2620, #14130f); box-shadow: 0 10px 22px -10px #000, inset 0 0 0 1px #f2eddf1a; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.np-sleeve img { width: 100%; height: 100%; object-fit: cover; }
.np-sleeve .ico { width: 24px; height: 24px; }
.np-deck .np-disc { position: absolute; left: 30px; top: 3px; width: 56px; height: 56px; z-index: 1; animation: np-slide-out .9s cubic-bezier(.2, .9, .3, 1.1) both; }
@keyframes np-slide-out { from { transform: translateX(-28px); } }
.dock-music:hover .np-sleeve { transform: rotate(-4deg) translateY(-1px); }
.dock-music.is-compact .np-deck { width: 74px; height: 48px; }
.dock-music.is-compact .np-sleeve { width: 46px; height: 46px; top: 1px; border-radius: 6px; }
.dock-music.is-compact .np-deck .np-disc { left: 26px; top: 3px; width: 42px; height: 42px; }
@media (max-width: 760px) {
  .np-deck { width: 78px; height: 50px; }
  .np-sleeve { width: 48px; height: 48px; }
  .np-deck .np-disc { left: 26px; width: 46px; height: 46px; top: 1px; }
}
@media (prefers-reduced-motion: reduce) { .np-deck .np-disc, .dock-music:hover .np-sleeve { animation: none; transform: none; } }

/* ── Les morceaux ────────────────────────────────────── */
/* L'objet du bandeau du direct — la pochette et le disque qui en sort — en
   grand. La page d'un morceau baigne dans les couleurs de sa pochette : une
   copie floutée, fondue dans le noir. Les paroles sont un livret : du papier
   crème au milieu de la nuit, comme l'encart d'un vinyle. */
.song-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 5vw, 76px) 0 clamp(20px, 4vw, 44px); }
.song-hero-glow { position: absolute; inset: -18%; z-index: -1; background: var(--song-art, radial-gradient(circle at 30% 40%, #3a3020, transparent 60%)) center / cover no-repeat; filter: blur(80px) saturate(1.35); opacity: .42; transform: scale(1.08); }
.song-hero-glow::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 65% 70% at 28% 45%, #0b0c0a00, #0b0c0a 78%), linear-gradient(180deg, #0b0c0a00 55%, var(--bg)); }
.song-hero-grid { display: grid; grid-template-columns: minmax(240px, 470px) minmax(0, 1fr); gap: clamp(36px, 6.5vw, 104px); align-items: center; }
.song-hero-copy { display: grid; gap: 20px; justify-items: start; }
.song-hero-copy h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: .98; text-wrap: balance; text-shadow: 0 10px 40px #0009; }

.song-deck { position: relative; display: block; aspect-ratio: 1.32; width: 100%; }
.song-sleeve { position: absolute; left: 0; top: 0; z-index: 2; width: 75.8%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: grid; place-items: center; color: var(--gold); background: linear-gradient(145deg, #2a2620, #14130f); box-shadow: 0 34px 70px -28px #000, 0 0 0 1px #f2eddf1f; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.song-sleeve img { width: 100%; height: 100%; object-fit: cover; }
.song-sleeve::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, #ffffff1f, #ffffff00 38%, #ffffff00 70%, #ffffff12); }
.song-sleeve-blank .ico { width: 34%; height: auto; }
.song-deck .song-disc { position: absolute; left: 25%; top: 3%; z-index: 1; width: 71%; height: auto; aspect-ratio: 1; animation: song-slide-out 1.4s cubic-bezier(.2, .9, .3, 1.05) .15s both; transition: transform .6s cubic-bezier(.3, 1.3, .5, 1); }
.song-deck .song-disc .np-record { animation-duration: 4.5s; }
.song-deck .np-label { box-shadow: 0 0 0 2px #c9b07a66, 0 0 0 5px #0a0a09; }
@keyframes song-slide-out { from { transform: translateX(-34%) rotate(-40deg); } }
.song-deck-hero:hover .song-disc { transform: translateX(6%); }
.song-deck-hero:hover .song-sleeve { transform: rotate(-2deg) translateY(-3px); }

.song-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.song-tags li { padding: .45em .9em; border-radius: 999px; border: 1px solid var(--line-2); background: #0b0c0a66; backdrop-filter: blur(6px); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.song-tags .is-instru { border-color: #c9b07a66; color: var(--gold); }

.song-credits { display: grid; gap: 12px; margin-top: 4px; }
.credit { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.credit-role { min-width: 11.5em; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.credit-people { display: flex; flex-wrap: wrap; gap: 8px; }
.credit-person { display: inline-flex; align-items: center; gap: 10px; padding: 4px 16px 4px 4px; border-radius: 999px; text-decoration: none; background: #f2eddf0a; border: 1px solid var(--line-2); font-weight: 600; transition: border-color .2s, background .2s, transform .2s; }
.credit-person:hover { border-color: #c9b07a88; background: #c9b07a14; transform: translateY(-1px); }
.credit-house { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--text-2); }
.monogram-sm { width: 34px; height: 34px; font-size: 1rem; }

.song-votes { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.song-votes .np-votes { gap: 10px; }
.song-votes .vote { padding: .75em 1.2em; font-size: 1rem; }
.song-votes .np-prompt { left: 0; right: auto; bottom: calc(100% + 14px); transform-origin: 20% 100%; }
.song-votes .np-prompt::after { left: 40px; right: auto; }
.song-votes .np-error { left: 0; right: auto; }
.song-votes-static { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); }

.livret {
  position: relative; color: #1d1b16;
  background: radial-gradient(ellipse at 20% 0%, #fbf7ec, var(--cream) 55%, #e3dac4);
  border-radius: 6px 22px 22px 6px;
  padding: clamp(34px, 5.5vw, 78px) clamp(26px, 6vw, 92px);
  columns: 2 21em; column-gap: clamp(40px, 6vw, 96px); column-rule: 1px solid #1d1b1618;
  font-family: var(--serif); font-size: clamp(1.05rem, 1.32vw, 1.24rem); line-height: 1.62;
  box-shadow: 0 50px 90px -46px #000, inset 14px 0 22px -16px #0004, inset 0 0 0 1px #ffffff55;
}
.livret::before { content: ""; position: absolute; left: 12px; top: 18px; bottom: 18px; width: 1px; background: #1d1b1614; }
.stanza { break-inside: avoid; margin-bottom: 1.7em; }
.stanza-label { margin-bottom: .55em; font-family: var(--sans); font-size: .66rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #8a6c2e; }
.stanza-label i { font-family: var(--serif); font-size: .9rem; font-weight: 400; font-style: italic; letter-spacing: 0; text-transform: none; color: #7a7262; }
/* Un vers trop long se replie en retrait : la suite ne se lit pas comme un vers de plus. */
.stanza-lines span { display: block; text-wrap: pretty; padding-left: 1.1em; text-indent: -1.1em; }
.stanza-lines .chorus { font-style: italic; color: #6e5a2c; padding-left: 2.4em; }
/* La lettrine flotte sur deux lignes : le retrait suspendu des vers à côté
   d'elle ramènerait leur texte SOUS la lettre. */
.livret .stanza:first-child .stanza-lines span:nth-child(-n + 2) { padding-left: 0; text-indent: 0; }
.livret .stanza:first-child .stanza-lines span:first-child::first-letter { float: left; font-size: 3.4em; line-height: .82; margin: .07em .09em 0 0; color: #8a6c2e; font-weight: 500; }
.livret:lang(zh) .stanza:first-child .stanza-lines span:first-child::first-letter { float: none; font-size: inherit; margin: 0; color: inherit; }

.instru-card { display: grid; gap: 24px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: radial-gradient(ellipse 70% 100% at 50% 100%, #c9b07a14, transparent 70%), var(--bg-1); border: 1px solid var(--line); color: var(--text-2); line-height: 1.6; }
.instru-wave { display: flex; align-items: flex-end; gap: 4px; height: clamp(80px, 12vw, 140px); }
.instru-wave i { flex: 1; height: var(--h); border-radius: 3px; background: linear-gradient(180deg, var(--gold), #c9b07a22); transform-origin: bottom; animation: instru-bar 1.8s ease-in-out infinite alternate; }
.instru-wave i:nth-child(3n) { animation-delay: -.6s; }
.instru-wave i:nth-child(3n + 1) { animation-delay: -1.1s; }
.instru-wave i:nth-child(4n) { animation-duration: 2.3s; }
@keyframes instru-bar { from { transform: scaleY(.55); } to { transform: scaleY(1); } }

.song-listen-card { display: grid; gap: 16px; justify-items: center; text-align: center; padding: clamp(36px, 6vw, 72px) 24px; border-radius: 28px; background: radial-gradient(ellipse 60% 90% at 50% 0%, #c9b07a1c, transparent 70%), var(--bg-1); border: 1px solid var(--line); }
.song-listen-card h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.song-listen-card p:not(.kicker) { color: var(--text-2); max-width: 34em; line-height: 1.6; }
.song-listen-card .next-actions { justify-content: center; }

/* La playlist du live, sur Suno : une carte entière cliquable, pochettes en éventail. */
.playlist-card { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; align-items: center; gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 4vw, 48px); border-radius: 28px; text-decoration: none; color: inherit; background: radial-gradient(ellipse 70% 120% at 0% 50%, #c9b07a1a, transparent 70%), var(--bg-1); border: 1px solid var(--line); transition: border-color .2s; }
.playlist-card:hover, .playlist-card:focus-visible { border-color: var(--line-2); }
.playlist-fan { position: relative; aspect-ratio: 1.15; }
.playlist-fan img { position: absolute; top: 8%; left: calc(var(--i) * 12%); width: 64%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; box-shadow: 0 22px 44px -22px #000, 0 0 0 1px #f2eddf1a; transform: rotate(calc((var(--i) - 1.5) * 5deg)); z-index: calc(4 - var(--i)); transition: transform .35s ease; }
.playlist-card:hover .playlist-fan img { transform: rotate(calc((var(--i) - 1.5) * 8deg)) translateX(calc((var(--i) - 1.5) * 6%)); }
.suno-logo { display: block; height: .82em; width: auto; flex: none; }
.btn .suno-logo { margin-left: -.15em; }
.playlist-brand { display: block; color: var(--text); }
.playlist-brand .suno-logo { height: 22px; }
.playlist-copy { display: grid; gap: 14px; justify-items: start; }
.playlist-title { font: 400 clamp(2rem, 4vw, 3rem)/1.05 var(--serif); }
.playlist-title em { font-style: italic; color: var(--gold); font-weight: 500; }
.playlist-text { color: var(--text-2); max-width: 34em; line-height: 1.6; }
.playlist-copy .btn { margin-top: 6px; }
@media (max-width: 720px) {
  .playlist-card { grid-template-columns: 1fr; }
  .playlist-fan { max-width: 300px; width: 100%; justify-self: center; }
}

.song-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 36px 24px; }
.song-tiles-lg { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.song-tile { display: grid; gap: 14px; text-decoration: none; }
.song-tile .song-deck { aspect-ratio: 1.22; }
.song-tile .song-sleeve { width: 82%; border-radius: 8px; box-shadow: 0 22px 44px -24px #000, 0 0 0 1px #f2eddf1a; }
.song-tile .song-disc { left: 22%; top: 4%; width: 76%; animation: none; transform: translateX(-8%); }
.song-tile .song-disc .np-record { animation-play-state: paused; }
.song-tile:hover .song-disc, .song-tile:focus-visible .song-disc { transform: translateX(4%); }
.song-tile:hover .song-disc .np-record, .song-tile:focus-visible .song-disc .np-record { animation-play-state: running; }
.song-tile:hover .song-sleeve { transform: translateY(-3px) rotate(-1.5deg); }
.song-tile-text { display: grid; gap: 4px; }
.song-tile-title { font-family: var(--serif); font-size: 1.22rem; line-height: 1.2; }
.song-tile-sub { font-size: .84rem; color: var(--text-2); }
.song-tile-meta { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.song-link { display: grid; gap: 6px; text-decoration: none; }
.song-link .song-cover { transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.song-link:hover .song-cover { transform: translateY(-3px) rotate(-1.5deg); }
.song-link:hover .song-title { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.np-title a { color: inherit; text-decoration: none; }
.np-title a:hover { text-decoration: underline; text-decoration-color: #c9b07a99; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .song-hero-grid { grid-template-columns: 1fr; }
  .song-hero .song-deck-hero { width: min(100%, 380px); justify-self: center; }
  .credit-role { min-width: 0; flex-basis: 100%; }
}
@media (max-width: 560px) {
  .song-tiles { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .song-tile-title { font-size: 1.05rem; }
  .livret { border-radius: 4px 14px 14px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .song-deck .song-disc, .song-deck .np-record, .instru-wave i { animation: none; }
  .song-deck-hero:hover .song-disc, .song-tile:hover .song-disc { transform: none; }
}

/* ── L'agenda : ce qui vient, aujourd'hui, ce qui a été ─── */
.agenda-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 44px); }
.agenda-jump > * { display: inline-flex; align-items: baseline; gap: .5em; padding: .7em 1.15em; border-radius: 999px; border: 1px solid var(--line-2); background: #f2eddf06; color: var(--text-2); font-size: .9rem; text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.agenda-jump a:hover { border-color: #c9b07a88; color: var(--text); background: #c9b07a12; }
.agenda-jump b { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--text); }
.agenda { scroll-margin-top: 20px; }
.agenda .slots, .agenda .month { position: relative; }
.agenda .month { margin-top: clamp(28px, 4vw, 44px); }
.agenda .month:first-of-type { margin-top: 0; }
.agenda .month h3 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.agenda .month h3 small { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
/* Le présent : un filet d'or qui coupe la page entre ce qui vient et ce qui a été. */
.agenda-now { display: flex; align-items: center; gap: 18px; margin-top: clamp(56px, 8vw, 96px); color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.agenda-now::before, .agenda-now::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #c9b07a88); }
.agenda-now::after { background: linear-gradient(90deg, #c9b07a88, transparent); }
.agenda-now > * { display: inline-flex; align-items: center; gap: 10px; padding: .7em 1.2em; border-radius: 999px; border: 1px solid #c9b07a55; background: #c9b07a0d; text-decoration: none; color: inherit; }
.agenda-now a { color: #ffd4d7; border-color: #ff4d5a66; background: #ff4d5a14; }
.agenda-now a .onair-dot { background: var(--live); animation: beacon 1.6s infinite; }
.agenda-now + .agenda { padding-top: clamp(40px, 6vw, 72px); }
.agenda-later[open] > .slots { margin-top: 18px; }
.agenda-later summary { margin-top: 26px; }

/* ───────── Ce qu'il pense de vous (l'avis privé, rempli par site.js depuis /moi) ───────── */
.opinion-slot { padding: 8px 0 clamp(36px, 5vw, 64px); }
.opinion { max-width: 46rem; margin: 0 auto; text-align: center; }
.opinion-kicker { margin: 0 0 1.1rem; font: 600 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.opinion-text { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.32rem, 1.05rem + 1.25vw, 2.05rem); line-height: 1.4; color: var(--cream); text-wrap: pretty; }
.opinion-text p { margin: 0; }
figure.opinion .opinion-text p::before { content: "« "; color: var(--gold); }
figure.opinion .opinion-text p::after { content: " »"; color: var(--gold); }
.opinion-empty .opinion-text { font-size: clamp(1.12rem, 1rem + .7vw, 1.45rem); color: var(--text-2); }
.opinion-sign { margin: 1.3rem 0 0; font: 400 .95rem/1.4 var(--sans); color: var(--text-2); }
.opinion-date { color: var(--muted); }
.opinion-note { display: inline-flex; align-items: center; gap: .5em; margin: 1.1rem 0 0; font-size: .9rem; color: var(--muted); }
.opinion-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.4rem; }
.opinion-actions .btn[disabled] { opacity: .55; cursor: progress; }
.opinion-flash { flex-basis: 100%; min-height: 1.3em; font-size: .85rem; color: var(--sage); }
.opinion-before { max-width: 38rem; margin: 1.4rem auto 0; color: var(--text-2); }
.opinion-before summary { cursor: pointer; font-size: .9rem; color: var(--muted); }
.opinion-before blockquote { margin: .9rem 0 .3rem; font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.5; }
.opinion-before blockquote p { margin: 0; }
.opinion-before .opinion-date { margin: 0; font-size: .85rem; }
.opinion-veiled { filter: blur(7px); user-select: none; pointer-events: none; }
.opinion-guest .next-actions { justify-content: center; margin-top: 1.3rem; }
.opinion-empty .next-actions { justify-content: center; margin-top: 1.2rem; }
.opinion-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.2rem; }
.opinion-teaser .opinion-note { margin: 0; }
.opinion-invite .lead { max-width: 44rem; }
.opinion-invite .more { margin-top: 18px; }
.opinion-body { max-width: 34rem; margin: 1rem auto 0; color: var(--text-2); line-height: 1.6; }
.opinion-next { display: inline-flex; align-items: center; gap: .55em; margin: 1.1rem 0 0; color: var(--text); font-size: .95rem; }
.opinion-next em { color: var(--gold); }
.opinion-empty .opinion-veiled { margin-top: .8rem; }
.opinion-empty .more { margin-top: 1.2rem; }
.opinion-face { display: block; width: clamp(150px, 22vw, 220px); height: auto; aspect-ratio: 1; margin: 0 auto .4rem; filter: drop-shadow(0 18px 40px #000a); }
