:root {
  --bg: #060606;
  --panel: #0e0e0e;
  --line: #1f1f1f;
  --ink: #ece6dc;
  --muted: #8d877e;
  --red: #c0150f;
  --red-hi: #e0241c;
  --paper: #efe9dd;
  --paper-ink: #151312;
  --bebas: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --type: 'Special Elite', 'Courier New', monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--serif); font-size: 18px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(ellipse 80% 50% at 50% 0%, #1c0605 0%, transparent 70%);
  background-repeat: no-repeat;
}
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { max-width: 100%; display: block; }
#app { max-width: 1180px; margin: 0 auto; padding: 0 16px 64px; }

/* ---------- En-tête ---------- */
.hd { display: flex; flex-direction: column; align-items: center; padding: 28px 16px 8px; }
.hd-logo img { width: min(220px, 55vw); height: auto; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 14px; }
.nav a { font-family: var(--bebas); font-size: 1rem; letter-spacing: .2em; text-decoration: none; color: #bdb6ab; padding: 4px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.nav a:hover { color: #fff; border-bottom-color: var(--red); }

/* ---------- Remise t-shirt ---------- */
.promo {
  display: flex; align-items: center; gap: 16px; text-align: left;
  max-width: 40rem; margin: 26px auto 0; padding: 14px 18px;
  border: 1px dashed var(--red); background: rgba(192,21,15,.08); transform: rotate(-.6deg);
}
.promo p { margin: 0; font-size: 1.15rem; color: #d6cfc4; }
.promo strong { color: #fff; }
.promo-pct { font-family: var(--bebas); font-size: 2.6rem; line-height: 1; color: #fff; background: var(--red); padding: 6px 10px 2px; transform: rotate(-4deg); flex: none; }
.alb-promo { margin: 10px 0 0; display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: #fff; background: var(--red); padding: 4px 8px; }
.mail { margin: 0 0 30px; padding: 20px; border: 1px dashed var(--red); background: rgba(192,21,15,.07); }
.mail-t { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--bebas); font-size: 1.6rem; letter-spacing: .03em; line-height: 1; }
.mail-t .promo-pct { font-size: 1.8rem; }
.mail-s { margin: 10px 0 14px; color: #d6cfc4; font-size: 1rem; }
.mail-row { display: flex; gap: 8px; flex-wrap: wrap; }
.mail-row input { flex: 1 1 220px; min-width: 0; background: #111; border: 1px solid #333; color: var(--ink); font: 500 1rem var(--mono); padding: 12px 14px; border-radius: 2px; }
.mail-row input:focus { outline: none; border-color: var(--red); }
.mail-row .btn { flex: none; }
.mail-c { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-family: var(--mono); font-size: .72rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.mail-c input { accent-color: var(--red); margin-top: 2px; flex: none; }
.mail-err { font-family: var(--mono); font-size: .8rem; color: #ff7a6e; margin: 8px 0 0; min-height: 1em; }
.mail.done p { margin: 0; color: #d6cfc4; }
.mail.done strong { color: #fff; }

/* ---------- Accueil ---------- */
.hero { text-align: center; padding: 28px 0 8px; }
.hero-title {
  font-family: var(--bebas); font-weight: 400; margin: 0;
  font-size: clamp(3rem, 11vw, 7.5rem); line-height: .88; letter-spacing: .01em;
}
.hero-title em { font-style: normal; color: var(--red); }
.hero-lead { max-width: 40rem; margin: 22px auto 0; font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: #d6cfc4; }
.hero-lead strong { color: #fff; }
.closed { font-family: var(--mono); color: var(--red-hi); margin-top: 18px; }

.who { margin: 24px auto 0; max-width: 40rem; }
.who-q { font-family: var(--bebas); letter-spacing: .2em; font-size: 1.1rem; color: var(--muted); margin: 0 0 10px; }
.who-opts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  font-family: var(--bebas); font-size: 1.2rem; letter-spacing: .08em;
  padding: 10px 18px; border: 1px solid #333; border-radius: 999px; background: #0d0d0d;
  transition: border-color .15s, background .15s, transform .15s;
}
.chip:hover { border-color: var(--muted); }
.chip[aria-checked="true"] { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-1.5deg); }
.chip[aria-checked="true"]::before { content: '✓ '; }
.who-name { display: block; margin-top: 18px; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.who-name span { text-transform: none; letter-spacing: 0; }
.who-name input {
  display: block; margin: 8px auto 0; width: min(300px, 100%);
  background: #111; border: 1px solid #2a2a2a; color: var(--ink); border-radius: 2px;
  font: 500 1rem var(--mono); padding: 12px 14px; text-align: center;
}
.who-name input:focus { outline: none; border-color: var(--red); }

.progress { margin: 30px 0 6px; font-family: var(--mono); font-size: .8rem; color: var(--muted); letter-spacing: .06em; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.progress-n { font-family: var(--bebas); font-size: 1.6rem; color: var(--ink); letter-spacing: .04em; }
.stamps { display: inline-flex; gap: 6px; }
.stamp { width: 14px; height: 14px; border: 1.5px solid #444; transform: rotate(45deg); }
.stamp.on { background: var(--red); border-color: var(--red); }

.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 26px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.card-img { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .3s; filter: grayscale(.35) contrast(1.05); }
.card:hover .card-img img { transform: scale(1.06) rotate(-1deg); filter: none; }
.card.voted .card-img img { filter: grayscale(.8) brightness(.55); }
.card-stamp {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-14deg);
  font-family: var(--bebas); font-size: 2.2rem; letter-spacing: .12em; color: var(--red-hi);
  border: 3px solid var(--red-hi); padding: 2px 14px 0; border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(0,0,0,.4); mix-blend-mode: screen;
}
.card-year { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-top: 8px; }
.card-title { font-family: var(--bebas); font-size: 1.5rem; line-height: 1; letter-spacing: .03em; }
.card-cta { font-family: var(--mono); font-size: .72rem; color: var(--red-hi); letter-spacing: .04em; }
.final-cta { text-align: center; margin-top: 36px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  background: var(--red); color: #fff; font-family: var(--bebas); font-size: 1.35rem; letter-spacing: .1em;
  padding: 13px 24px 11px; border-radius: 2px; transition: background .15s, transform .1s;
}
.btn:hover { background: var(--red-hi); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #2a2a2a; color: #777; cursor: not-allowed; }
.btn.ghost { background: none; border: 1px solid #3a3a3a; color: var(--ink); }
.btn.ghost:hover { border-color: var(--muted); }

/* ---------- Liens d'écoute ---------- */
.listen { display: inline-flex; gap: 6px; flex: none; padding: 0 4px; }
.ls {
  display: inline-flex; align-items: center; gap: 5px; text-decoration: none;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; color: #bdb6ab;
  border: 1px solid #2c2c2c; border-radius: 999px; padding: 5px 9px; transition: color .15s, border-color .15s, background .15s;
}
.ls-i { font-size: .55rem; }
.ls-spotify { color: #1ed760; border-color: #1f4a2e; }
.ls-deezer { color: #b36bff; border-color: #3d2459; }
.ls-bandcamp { color: #1da0c3; border-color: #1b4552; }
.ls-spotify:hover { border-color: #1ed760; background: rgba(30,215,96,.08); }
.ls-deezer:hover { border-color: #b36bff; background: rgba(179,107,255,.08); }
.ls-bandcamp:hover { border-color: #1da0c3; background: rgba(29,160,195,.08); }
.alb-listen { margin: 10px 0 0; font-family: var(--mono); font-size: .72rem; color: #cfc6b8; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.alb-listen .listen { padding: 0; }
.alb-listen .ls { background: rgba(0,0,0,.35); }

/* ---------- Étape bonus ---------- */
.stamp.bonus { border-style: dashed; }
.bonus-card {
  display: flex; align-items: center; gap: 26px; margin-top: 26px; padding: 20px; text-decoration: none;
  border: 1px dashed #5a4a2a; background: linear-gradient(100deg, #140d05, #0a0a0a 70%); transition: border-color .15s;
}
.bonus-card:hover { border-color: #c8a96e; }
.bonus-covers { position: relative; display: flex; flex: none; }
.bonus-covers img { width: 120px; height: 120px; object-fit: cover; border: 1px solid #222; box-shadow: 0 10px 24px rgba(0,0,0,.6); }
.bonus-covers img:first-child { transform: rotate(-5deg); }
.bonus-covers img + img { margin-left: -34px; transform: rotate(4deg) translateY(8px); }
.bonus-card.voted .bonus-covers img { filter: grayscale(.8) brightness(.55); }
.bonus-txt { display: flex; flex-direction: column; gap: 4px; }
.bonus-k { font-family: var(--bebas); letter-spacing: .25em; color: #c8a96e; font-size: 1rem; }
.bonus-d { color: #cfc6b8; font-size: 1rem; }
.bonus-covers.head img { width: 130px; height: 130px; }
.bonus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 26px; }
.bonus-col-h { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.bonus-col-h img { width: 84px; height: 84px; object-fit: cover; border: 1px solid #222; }
.bonus-col-h h2 { font-family: var(--bebas); font-weight: 400; font-size: 2rem; line-height: 1; margin: 2px 0 0; }
.bonus-col-h .alb-listen { margin-top: 6px; }
.bonus-grid .track-badge { font-size: 1.1rem; }
.bonus-send { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 28px; }
.verdict-alb { font-family: var(--bebas); font-weight: 400; font-size: 1.8rem; margin: 26px 0 0; letter-spacing: .03em; }
.verdict-alb span { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .04em; margin-left: 8px; }

/* ---------- Pseudo et effacement ---------- */
.hello { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.hello span { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.6rem; text-transform: none; letter-spacing: 0; color: var(--red-hi); margin-left: 4px; }
.steps-who { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.3rem; letter-spacing: 0; color: var(--red-hi); margin-right: 12px; }
.reset-wrap { margin: 10px 0 0; }
.reset:not(.btn) { font-family: var(--mono); font-size: .75rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.reset:not(.btn):hover { color: var(--ink); }
.reset.armed { color: #fff !important; background: #7a0d09 !important; border-color: #7a0d09 !important; text-decoration: none; padding: 6px 10px; }
.btn.reset.armed { padding: 13px 24px 11px; }

/* ---------- Étapes ---------- */
.start { text-align: center; margin: 22px 0 0; }
.btn.big { font-size: 1.6rem; padding: 15px 28px 13px; }
.steps { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.steps-home { font-family: var(--mono); font-size: .8rem; color: var(--muted); text-decoration: none; letter-spacing: .06em; }
.steps-home:hover { color: var(--ink); }
.steps ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; counter-reset: none; }
.steps li a { position: relative; display: block; width: 46px; height: 46px; border: 2px solid #2a2a2a; overflow: hidden; }
.steps li img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.45); }
.steps li span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--bebas); font-size: 1.4rem; color: #fff; text-shadow: 0 1px 4px #000; }
.steps li.done a { border-color: var(--red); }
.steps li.done img { filter: grayscale(.6) brightness(.4); }
.steps li.done span { color: var(--red-hi); }
.steps li.cur a { border-color: #fff; transform: scale(1.12); }
.steps li.cur img { filter: none; }
.steps-n { font-family: var(--bebas); font-size: 1.3rem; letter-spacing: .12em; color: var(--ink); margin-left: auto; }
.next { margin: 0 0 26px; padding: 18px 20px; background: #150605; border-left: 4px solid var(--red); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.next-t { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.5rem; line-height: 1.3; color: var(--paper); }
.next-t span { display: block; font-family: var(--mono); font-size: .8rem; color: #cfc6b8; margin-top: 6px; }

/* ---------- Page album ---------- */
.back { display: inline-block; margin: 18px 0 0; font-family: var(--mono); font-size: .8rem; color: var(--muted); text-decoration: none; letter-spacing: .06em; }
.back:hover { color: var(--ink); }
.alb { position: relative; display: flex; align-items: center; gap: 26px; padding: 26px; margin-top: 14px; overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.alb-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) brightness(.35) saturate(1.3); z-index: -1; }
.alb-cover { width: 170px; height: 170px; object-fit: cover; box-shadow: 0 18px 40px rgba(0,0,0,.6); transform: rotate(-2deg); flex: none; }
.alb-year { font-family: var(--mono); font-size: .8rem; color: #cfc6b8; }
.alb-title { font-family: var(--bebas); font-weight: 400; font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: .9; margin: 4px 0 8px; }
.alb-sub { margin: 0; font-style: italic; color: #d6cfc4; }

.pick { display: grid; grid-template-columns: 1fr 360px; gap: 36px; margin-top: 26px; align-items: start; }
.pick-help { font-family: var(--mono); font-size: .75rem; color: var(--muted); margin: 0 0 10px; }
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track {
  display: grid; grid-template-columns: 40px 1fr 36px; align-items: center; gap: 10px;
  flex: 1; min-width: 0; text-align: left; padding: 14px 10px;
  transition: background .12s, padding .15s;
}
.tracks .tr { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.track:hover { background: #111; }
.track-n { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.track-t { font-family: var(--bebas); font-size: 1.55rem; line-height: 1.05; letter-spacing: .03em; }
.track-badge {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px dashed #333;
  display: grid; place-items: center; font-family: var(--bebas); font-size: 1.3rem; color: #fff;
  transition: background .15s, border-color .15s, transform .2s cubic-bezier(.3,1.6,.5,1);
}
.track.on { background: #150605; padding-left: 16px; }
.track.on .track-t { color: #fff; }
.track.on .track-n { color: var(--red-hi); }
.track.on .track-badge { background: var(--red); border: 0; transform: rotate(-8deg) scale(1.05); }

/* La feuille de setlist scotchée au sol de la scène */
.paper-wrap { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 12px; }
.paper {
  position: relative; background: var(--paper); color: var(--paper-ink);
  padding: 34px 26px 22px; transform: rotate(1.4deg);
  box-shadow: 0 20px 40px rgba(0,0,0,.55), inset 0 0 60px rgba(120,100,70,.18);
  clip-path: polygon(0 1%, 6% 0, 14% 1.5%, 25% .3%, 38% 1.2%, 52% 0, 66% 1.4%, 79% .2%, 91% 1.3%, 100% 0, 99.5% 99%, 90% 100%, 77% 98.8%, 63% 100%, 49% 98.9%, 34% 100%, 21% 99%, 9% 100%, .5% 98.7%);
}
.tape { position: absolute; top: -6px; left: 50%; width: 110px; height: 30px; margin-left: -55px; background: rgba(40,40,40,.82); transform: rotate(-3deg); }
.tape.r { left: auto; right: 16px; margin: 0; width: 80px; transform: rotate(8deg); }
.paper-head { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; color: #5d554b; }
.paper-head span { font-family: var(--type); font-size: 1.35rem; letter-spacing: 0; text-transform: none; color: var(--paper-ink); }
.paper-slots { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.paper-slots li {
  counter-increment: s; position: relative; min-height: 52px; padding: 10px 0 6px 44px;
  border-bottom: 2px solid rgba(21,19,18,.18); font-family: var(--type); font-size: 1.22rem; line-height: 1.2;
}
.paper-slots li::before { content: counter(s); position: absolute; left: 4px; top: 8px; font-family: var(--type); font-size: 1.6rem; color: var(--red); }
.paper-slots li:first-child::after { content: 'x3'; position: absolute; right: 0; top: 12px; font-family: var(--mono); font-size: .7rem; color: var(--red); }
.paper-slots li span { display: inline-block; }
.paper-slots li.filled span { animation: ink .35s ease-out; }
.paper-sign { font-family: var(--type); font-size: 1.05rem; text-align: right; margin: 12px 0 0; min-height: 1.3em; color: #3b352f; }
.paper-err { font-family: var(--mono); font-size: .8rem; color: #ff7a6e; margin: 0; min-height: 1.2em; }
.paper-err .chip { font-size: 1rem; padding: 6px 12px; margin: 6px 4px 0 0; }
.send { width: 100%; }
@keyframes ink { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.shake { animation: shake .35s; }
@keyframes shake { 0%,100% { transform: rotate(1.4deg); } 25% { transform: rotate(-1deg) translateX(-6px); } 75% { transform: rotate(3deg) translateX(6px); } }

/* ---------- Verdict ---------- */
.verdict { max-width: 760px; margin: 28px auto 0; }
.thanks { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.5rem; color: var(--paper); background: #150605; border-left: 4px solid var(--red); padding: 12px 16px; margin: 0 0 22px; }
.verdict-title { font-family: var(--bebas); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 0; line-height: 1; }
.verdict-sub { font-family: var(--mono); font-size: .75rem; color: var(--muted); margin: 6px 0 18px; }
.verdict-list { list-style: none; margin: 0; padding: 0; }
.v { display: grid; grid-template-columns: 34px 1fr 52px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.v-rank { font-family: var(--bebas); font-size: 1.5rem; color: var(--muted); text-align: center; }
.v.podium .v-rank { color: var(--red-hi); font-size: 1.9rem; }
.v-t { font-family: var(--bebas); font-size: 1.35rem; letter-spacing: .03em; line-height: 1.1; }
.v-me { font-family: var(--mono); font-style: normal; font-size: .68rem; color: #fff; background: var(--red); padding: 2px 6px; border-radius: 2px; vertical-align: middle; letter-spacing: .04em; }
.v-bar { display: block; height: 8px; background: #151515; margin-top: 6px; overflow: hidden; }
.v-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #6d0c08, var(--red-hi)); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.verdict-list.go .v-bar span { width: var(--w); }
.v.me .v-bar span { background: linear-gradient(90deg, #a8120c, #ff4a3a); }
.v-pct { font-family: var(--mono); font-size: .85rem; text-align: right; color: #cfc6b8; }
.verdict-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Setlist finale ---------- */
.final { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 44px; align-items: start; margin-top: 26px; }
.paper.big { transform: rotate(-1.2deg); padding: 40px 28px 24px; }
.fs { list-style: none; margin: 0; padding: 0; }
.fs li { padding: 8px 0 10px; border-bottom: 2px solid rgba(21,19,18,.15); }
.fs-alb { display: block; font-family: var(--mono); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: #7a6f62; }
.fs-t { display: block; font-family: var(--type); font-size: 1.02rem; line-height: 1.25; }
.fs-t b { font-weight: 400; color: var(--red); margin-right: 4px; }
.paper-foot { font-family: var(--mono); font-size: .7rem; text-align: right; margin: 14px 0 0; color: #5d554b; letter-spacing: .1em; }
.final-side h2 { font-family: var(--bebas); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: .95; margin: 10px 0 14px; }
.final-side p { margin: 0 0 14px; color: #d6cfc4; }
.final-side a { color: var(--red-hi); }
.muted { color: var(--muted) !important; font-style: italic; }

.sign { margin: 0 0 22px; padding: 16px 18px; border: 1px solid #2a2a2a; background: #0e0e0e; }
.sign-l { display: block; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.6rem; color: var(--paper); margin-bottom: 10px; }
.sign-ok { font-family: var(--mono); font-size: .8rem; color: #8fd19e; margin: 8px 0 0; min-height: 1em; }

.next-stop { margin: 0; font-family: var(--serif); font-size: 1.1rem; color: #cfc6b8; font-style: italic; }
.next-stop a { color: var(--red-hi); font-style: normal; white-space: nowrap; }
.mail-mini { margin: 0 0 26px; }
.mail-open { display: flex; align-items: center; gap: 10px; text-align: left; font-family: var(--mono); font-size: .78rem; color: #cfc6b8; padding: 8px 12px 8px 8px; border: 1px dashed #4a1a17; width: 100%; }
.mail-open .promo-pct { font-size: 1.2rem; padding: 3px 6px 0; }
.mail-open:hover { color: #fff; border-color: var(--red); }

.mail.done.wait { border-style: solid; border-color: var(--red); }
.mail.done.wait p { margin: 0 0 10px; }
.mail.done.wait .mail-s { margin: 0; font-size: .95rem; }

/* ---------- Page « remise validée » ---------- */
.valid { max-width: 700px; margin: 40px auto 0; text-align: center; }
.valid-check { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--red); color: #fff; font-size: 3.2rem; line-height: 1; margin-bottom: 18px; }
.valid-k { font-family: var(--mono); font-size: .8rem; letter-spacing: .35em; color: var(--red-hi); margin: 0 0 10px; text-transform: uppercase; }
.valid-title { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.05; margin: 0 0 18px; }
.valid-title em { font-style: normal; font-family: var(--bebas); font-weight: 400; color: var(--red-hi); letter-spacing: .02em; }
.valid-txt { font-size: 1.2rem; color: #d6cfc4; margin: 0 0 14px; }
.valid-tip { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin: 0 0 28px; }
.valid-tip strong { color: var(--ink); }

.follow { margin: 34px auto 0; padding: 26px 16px 24px; border: 1px solid #2a2a2a; background: rgba(255,255,255,.02); max-width: 680px; }
.follow-k { font-family: var(--bebas); font-size: 1.9rem; letter-spacing: .04em; margin: 0 0 14px; }
.follow-g { font-family: var(--mono); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--red-hi); margin: 14px 0 10px; }
.follow-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fl { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border: 1px solid #333; color: var(--ink); text-decoration: none;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; transition: border-color .15s, color .15s, background .15s; }
.fl svg { flex: none; }
.fl:hover { border-color: currentColor; background: rgba(255,255,255,.03); }
.fl-instagram:hover { color: #e1306c; } .fl-tiktok:hover { color: #25f4ee; } .fl-facebook:hover { color: #1877f2; }
.fl-youtube:hover { color: #ff0033; } .fl-spotify:hover { color: #1ed760; } .fl-deezer:hover { color: #a238ff; }
.valid-back { margin: 22px 0 0; font-family: var(--mono); font-size: .78rem; }
.valid-back a { color: var(--muted); }
@media (max-width: 520px) { .fl { flex: 1 1 calc(50% - 10px); justify-content: center; padding: 12px 8px; } }

/* ---------- Pied ---------- */
.ft { border-top: 1px solid var(--line); padding: 26px 16px 40px; text-align: center; font-family: var(--mono); font-size: .72rem; color: #6c665e; }
.ft p { margin: 0 0 8px; }
.ft a { color: #9b948a; }
.nojs { text-align: center; font-family: var(--mono); padding: 40px 0; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid .card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; justify-self: center; width: 100%; }
  .pick { grid-template-columns: 1fr; gap: 0; }
  /* La feuille devient une barre fixe en bas d'écran */
  .pick-list { padding-bottom: 230px; }
  .paper-wrap {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 20; gap: 8px;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, var(--bg) 70%, rgba(6,6,6,0));
  }
  .paper { transform: none; padding: 16px 16px 8px; }
  .paper-head, .tape, .paper-sign { display: none; }
  .paper-slots li { min-height: 34px; padding: 5px 0 3px 30px; font-size: 1.05rem; }
  .paper-slots li::before { top: 3px; font-size: 1.15rem; }
  .paper-slots li:first-child::after { top: 7px; }
  .shake { animation: none; }
  .final { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 900px) {
  .bonus-grid { grid-template-columns: 1fr; gap: 28px; }
  .bonus-grid { padding-bottom: 90px; }
  .bonus-send {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; margin: 0;
    padding: 18px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, var(--bg) 65%, rgba(6,6,6,0));
  }
  .bonus-send .btn { width: 100%; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .ls-t { display: none; }
  .ls { width: 30px; height: 30px; padding: 0; justify-content: center; }
  .ls-i { font-size: .7rem; }
  .bonus-card { flex-direction: column; text-align: center; }
  .bonus-covers.head img { width: 96px; height: 96px; }
  .nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .promo { flex-direction: column; text-align: center; gap: 10px; }
  .mail-row .btn { width: 100%; }
  .steps { gap: 10px; }
  .steps ol { gap: 6px; }
  .steps li a { width: 40px; height: 40px; }
  .steps-n { margin-left: 0; width: 100%; order: -1; }
  .next .btn, .start .btn { width: 100%; }
  .btn.big { font-size: 1.35rem; padding: 14px 16px 12px; }
  .alb { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px; }
  .alb-cover { width: 120px; height: 120px; }
  .track-t { font-size: 1.35rem; }
  .card-title { font-size: 1.25rem; }
  .verdict-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
