:root {
  --fond: #0d0820;
  --fond2: #1b1140;
  --texte: #f6f1ff;
  --doux: #a99cd6;
  --rose: #ff3d8b;
  --jaune: #ffd23f;
  --cyan: #2de2e6;
  --vert: #3ddc84;
  --rouge: #ff5252;
  --c0: #ff3d8b;
  --c1: #2de2e6;
  --c2: #ffd23f;
  --c3: #9d6bff;
  --rayon: 18px;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  color: var(--texte);
  background: radial-gradient(ellipse at 20% 0%, #3a1670 0%, var(--fond) 55%) fixed, var(--fond);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100dvh; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; border: 0; cursor: pointer; }
button:disabled { opacity: .4; cursor: default; }
input, select { font: inherit; color: var(--texte); background: #ffffff14; border: 2px solid #ffffff22; border-radius: 12px; padding: .7em .9em; width: 100%; }
input:focus, select:focus { outline: none; border-color: var(--cyan); }
select option { background: var(--fond2); }
h1, h2, h3 { margin: 0; }
.doux { color: var(--doux); }
.titre-neon { font-weight: 900; letter-spacing: -.02em; background: linear-gradient(90deg, var(--rose), var(--jaune), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.carte { background: #ffffff0d; border: 1px solid #ffffff1a; border-radius: var(--rayon); padding: 1rem; }
.pastille { display: inline-flex; align-items: center; gap: .4em; padding: .25em .8em; border-radius: 99px; background: #ffffff18; font-weight: 600; }
.pastille.chef::before { content: '👑'; }
.pastille.hors { opacity: .4; }
.badge { display: inline-block; padding: .2em .7em; border-radius: 99px; font-weight: 800; font-size: .8em; text-transform: uppercase; letter-spacing: .06em; background: var(--rose); color: #fff; }
.chrono { height: 10px; border-radius: 99px; background: #ffffff1a; overflow: hidden; }
.chrono > div { height: 100%; width: 100%; background: linear-gradient(90deg, var(--cyan), var(--rose)); transform-origin: left; }
.chrono.pause > div { background: var(--jaune); }
.btn { padding: .9em 1.2em; border-radius: 14px; font-weight: 800; background: #ffffff18; }
.btn.principal { background: linear-gradient(135deg, var(--rose), #b23cff); box-shadow: 0 6px 24px #ff3d8b55; }
.btn.plein { width: 100%; }
.erreur { color: var(--rouge); font-weight: 600; }
.choix-0 { --c: var(--c0); } .choix-1 { --c: var(--c1); } .choix-2 { --c: var(--c2); } .choix-3 { --c: var(--c3); }
.lettre { display: inline-grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 8px; background: var(--c); color: var(--fond); font-weight: 900; flex: none; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pulse { 50% { transform: scale(1.05); } }
.pop { animation: pop .35s cubic-bezier(.2, 1.6, .4, 1); }

/* ─── égaliseur (manches à l'oreille) ─── */
.egaliseur { display: flex; gap: .6vw; align-items: flex-end; height: 22vh; }
.egaliseur span { width: 2.2vw; border-radius: 1vw; background: linear-gradient(var(--rose), var(--cyan)); animation: eq 1s ease-in-out infinite; }
.egaliseur.pause span { animation-play-state: paused; opacity: .4; }
@keyframes eq { 0%, 100% { height: 15%; } 50% { height: 100%; } }
