/* WowRadar — mini-sites de release (gabarits immersive / minimal / 3d).
   Palette injectée sur <html> : --wr-bg, --wr-primary, --wr-secondary, --wr-text, --wr-on-primary.
   Tout le reste en dérive (color-mix) → fonctionne aussi sur fond clair. */
@font-face { font-family: "Roboto"; src: url("../fonts/roboto.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --wr-bg: #0b0b0d; --wr-primary: #f7a61e; --wr-secondary: #6b3a12; --wr-text: #fff; --wr-on-primary: #0b0b0d;
  --ink: var(--wr-text);
  --dim: color-mix(in srgb, var(--wr-text) 68%, var(--wr-bg));
  --faint: color-mix(in srgb, var(--wr-text) 42%, var(--wr-bg));
  --line: color-mix(in srgb, var(--wr-text) 14%, transparent);
  --line-2: color-mix(in srgb, var(--wr-text) 24%, transparent);
  --surface: color-mix(in srgb, var(--wr-text) 6%, transparent);
  --surface-2: color-mix(in srgb, var(--wr-text) 11%, transparent);
  --accent: var(--wr-primary);
  --fd: "Roboto", "Arial", system-ui, "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", "Yu Gothic", sans-serif;
  --fb: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", "Yu Gothic", sans-serif;
  --gut: clamp(16px, 5vw, 56px);
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--wr-bg);
  color-scheme: dark;
}
:root:has(body.is-light) { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body.wr-rel {
  margin: 0; min-height: 100vh; min-height: 100svh;
  background: var(--wr-bg); color: var(--ink);
  font: 400 16px/1.6 var(--fb);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip;
  position: relative; isolation: isolate;
}
:where(.wr-rel) img { max-width: 100%; display: block; }
:where(.wr-rel) a { color: inherit; }
:where(.wr-rel) button { font: inherit; color: inherit; }
:where(.wr-rel) :where(h1, h2, h3) { margin: 0; font-weight: 700; }
:where(.wr-rel) :where(p) { margin: 0; }
.wr-rel main { position: relative; z-index: 1; }
.wr-icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wr-rel :focus-visible { outline: 2px solid var(--wr-primary); outline-offset: 3px; border-radius: 6px; }
.wr-rel ::selection { background: var(--wr-primary); color: var(--wr-on-primary); }

.sec-title {
  font: 700 .74rem/1 var(--fb) !important; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); margin: 0 0 1.4rem !important; display: flex; align-items: center; gap: .8em;
}
.sec-title::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--wr-primary); }

.cover-ph { display: grid; place-items: center; aspect-ratio: 1; width: 100%; background: linear-gradient(135deg, var(--wr-secondary), var(--wr-bg)); color: var(--dim); }
.cover-ph .wr-icon { width: 30%; height: 30%; opacity: .5; }

/* ───────────── Bandeau preview (UI système, indépendant de la palette) ───────────── */
.pv-bar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 14, 17, .92); color: #f4f2ee;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
}
.pv-inner { max-width: var(--maxw); margin: 0 auto; padding: 10px var(--gut); display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; justify-content: space-between; }
.pv-msg { display: flex; align-items: center; gap: .5em; flex-wrap: wrap; min-width: 0; }
.pv-sub { color: #a3a09a; }
.pv-dot { width: 8px; height: 8px; border-radius: 50%; background: #f7a61e; box-shadow: 0 0 0 4px rgba(247, 166, 30, .2); flex: none; }
.pv-dot.is-live { background: #3ddc97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .2); }
.pv-actions { display: flex; align-items: center; gap: 10px; }
.pv-form { margin: 0; }
.pv-btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 40px; padding: 0 1.1em; border: 0; border-radius: 999px;
  background: #f7a61e; color: #1a1103 !important; font: 700 .9rem/1 var(--fb); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s;
}
.pv-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(247, 166, 30, .7); }
.pv-link { display: inline-flex; align-items: center; gap: .4em; color: #d9d6d0; text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 999px; }
.pv-link:hover { background: rgba(255, 255, 255, .08); }
.pv-tpl { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut) 10px; display: flex; gap: 6px; align-items: center; font-size: .78rem; color: #a3a09a; flex-wrap: wrap; }
.pv-tpl span { margin-right: 4px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; font-size: .68rem; }
.pv-tpl a { text-decoration: none; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: #d9d6d0; }
.pv-tpl a[aria-current] { background: #f4f2ee; color: #111; border-color: #f4f2ee; }
@media (max-width: 560px) { .pv-sub { display: none; } .pv-inner { padding-block: 8px; } }

/* ───────────── Barre haute ───────────── */
.rel-top { position: relative; z-index: 5; max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gut); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rel-back, .rel-share {
  display: inline-flex; align-items: center; gap: .55em; min-height: 40px; padding: 0 1em 0 .8em; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--dim);
  background: var(--surface); border: 1px solid var(--line); cursor: pointer; max-width: 70%;
  transition: color .2s, background .2s, border-color .2s;
}
.rel-back span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-back.is-static { padding-left: 1em; }
.rel-back:hover, .rel-share:hover { color: var(--ink); background: var(--surface-2); border-color: var(--line-2); }
.rel-share { padding: 0 1em; }

/* ───────────── Titres de release ───────────── */
.rel-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.1rem; }
.rel-title { font-family: var(--fd); letter-spacing: -.03em; line-height: 1; overflow-wrap: anywhere; text-wrap: balance; }
.rel-by { margin-top: .9rem; font-size: 1.12rem; color: var(--dim); }
.rel-by a { color: var(--ink); font-weight: 700; text-decoration: none; background: linear-gradient(var(--wr-primary), var(--wr-primary)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; }
.rel-by a:hover { color: var(--wr-primary); }
.rel-desc { margin-top: 1.2rem; color: var(--dim); max-width: 36em; font-size: 1rem; }

/* ───────────── Lecteur ───────────── */
.wr-player {
  --p: 0%;
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ctrl now" "seek seek" "links links" "err err";
  align-items: center; gap: 14px 18px; margin-top: 2rem;
}
.pl-now { grid-area: now; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pl-label { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.pl-title { font-size: 1.06rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-badge, .tr-badge {
  align-self: flex-start; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--wr-primary) 70%, transparent); color: var(--wr-primary); line-height: 1.2;
}
.pl-badge[hidden] { display: none; }
.pl-controls { grid-area: ctrl; display: flex; align-items: center; gap: 8px; }
.pl-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: transparent; color: var(--dim); transition: color .2s, background .2s;
}
.pl-btn:hover { color: var(--ink); background: var(--surface-2); }
.pl-btn .wr-icon { width: 20px; height: 20px; }
.pl-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.pl-play { width: 64px; height: 64px; background: var(--wr-primary); color: var(--wr-on-primary); box-shadow: 0 14px 40px -14px color-mix(in srgb, var(--wr-primary) 80%, transparent); }
.pl-play { position: relative; transition: background .2s, box-shadow .2s; }
/* Bouton lecture immobile : aucune transformation (ni survol, ni clic, ni chargement), icône en pixels entiers.
   Lecture et pause occupent la même case de grille de 36 px (tailles de bouton paires → centrage au pixel près). */
.pl-play:hover, .pl-play:active { background: color-mix(in srgb, var(--wr-primary) 86%, #fff); color: var(--wr-on-primary); box-shadow: 0 0 0 6px color-mix(in srgb, var(--wr-primary) 22%, transparent), 0 14px 40px -12px var(--wr-primary); }
.pl-play > span { grid-area: 1 / 1; display: grid; place-items: center; width: 36px; height: 36px; }
.pl-play .wr-icon { width: 36px; height: 36px; }
.pl-play .i-play .wr-icon { margin-left: -2px; } /* centrage optique du triangle, intégré à la mise en page (pas de transform) */
.pl-play .i-pause, .is-playing .pl-play .i-play { visibility: hidden; }
.is-playing .pl-play .i-pause { visibility: visible; }
/* Chargement / reprise : halo qui pulse autour du bouton, le bouton lui-même ne bouge pas */
.pl-play::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--wr-primary); opacity: 0; pointer-events: none; }
.is-loading .pl-play::after, .is-resume .pl-play::after { animation: wr-breathe 1.1s ease-in-out infinite; }
@keyframes wr-breathe { 50% { opacity: .55; } }

.pl-seek { grid-area: seek; display: grid; grid-template-columns: 3.2em minmax(0, 1fr) 3.2em; align-items: center; gap: 10px; }
.pl-time { font-size: .78rem; font-variant-numeric: tabular-nums; color: var(--faint); }
.pl-time[data-dur] { text-align: right; }
.pl-wave { position: relative; height: 48px; cursor: pointer; touch-action: none; border-radius: 4px; }
.pl-wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pl-wave-played { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.pl-head { position: absolute; top: 4px; bottom: 4px; left: var(--p); width: 2px; margin-left: -1px; border-radius: 2px; background: var(--ink); opacity: 0; transition: opacity .2s; }
.pl-wave:hover .pl-head, .pl-wave:focus-visible .pl-head, .is-playing .pl-head { opacity: .9; }
.pl-wave.no-peaks::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--line-2); }
.pl-wave.no-peaks .pl-wave-played::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--wr-primary); }
.pl-track-links { grid-area: links; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .8rem; color: var(--faint); }
.pl-track-links[hidden] { display: none; }
.pl-track-links a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--dim); background: var(--surface); transition: color .2s, background .2s; }
.pl-track-links a:hover { color: var(--ink); background: var(--surface-2); }
.pl-track-links .wr-icon { width: 17px; height: 17px; }
.pl-error { grid-area: err; font-size: .85rem; color: var(--wr-primary); }
.pl-error[hidden] { display: none; }

/* Sans audio : appel vers les plateformes */
.wr-listen-cta { margin-top: 2rem; }
.cta-label { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: .9rem; }
.cta-links { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-link {
  display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: 0 1.2em; border-radius: 999px; text-decoration: none; font-weight: 700;
  background: var(--surface-2); border: 1px solid var(--line); transition: background .2s, color .2s, transform .2s var(--ease);
}
.cta-link:first-child { background: var(--wr-primary); color: var(--wr-on-primary); border-color: transparent; }
.cta-link:hover { transform: translateY(-2px); }
.cta-soon { color: var(--dim); }

/* ───────────── Liste des titres ───────────── */
.wr-tracks { list-style: none; margin: 0; padding: 0; counter-reset: tr; }
.tr { border-top: 1px solid var(--line); }
.tr:last-child { border-bottom: 1px solid var(--line); }
.tr-main {
  width: 100%; display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto auto auto; align-items: center; gap: 12px;
  padding: 15px 10px; margin: 0; background: none; border: 0; text-align: left; border-radius: 10px; color: var(--ink);
  transition: background .2s;
}
button.tr-main { cursor: pointer; }
button.tr-main:hover { background: var(--surface); }
.tr-n { position: relative; font: 500 .82rem/1 var(--fd); color: var(--faint); font-variant-numeric: tabular-nums; }
.tr-title { font-weight: 600; font-size: 1.02rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-dur { font-size: .82rem; color: var(--faint); font-variant-numeric: tabular-nums; min-width: 2.6em; text-align: right; }
.tr-ly { color: var(--faint); display: inline-flex; }
.tr-ly .wr-icon { width: 16px; height: 16px; }
.tr-badge { align-self: center; }
.tr.is-silent .tr-title { color: var(--dim); }
.tr.is-current .tr-title, .tr.is-current .tr-n { color: var(--wr-primary); }
.tr.is-viewing:not(.is-current) .tr-main { background: var(--surface); }
.tr-eq { display: none; position: absolute; left: 0; bottom: -2px; height: 14px; gap: 2px; align-items: flex-end; }
.tr-eq i { width: 3px; height: 100%; background: var(--wr-primary); border-radius: 1px; transform-origin: bottom; animation: wr-eq 1s ease-in-out infinite; }
.tr-eq i:nth-child(2) { animation-duration: .8s; animation-delay: -.3s; }
.tr-eq i:nth-child(3) { animation-duration: 1.2s; animation-delay: -.6s; }
@keyframes wr-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.tr.is-playing .tr-num { visibility: hidden; }
.tr.is-playing .tr-eq { display: flex; }
.tr-links { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 10px 14px calc(2.4em + 22px); margin-top: -6px; }
.tr-links a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--dim); transition: color .2s, background .2s; }
.tr-links a:hover { color: var(--ink); background: var(--surface-2); }
.tr-links .wr-icon { width: 17px; height: 17px; }

/* ───────────── Paroles ───────────── */
.wr-lyrics { min-width: 0; }
.ly-head { display: flex; flex-direction: column; gap: 0; }
.ly-head .sec-title { margin-bottom: .6rem !important; }
.ly-track { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 1rem; min-width: 0; }
.ly-track [data-ly-title] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ly-sync { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--wr-on-primary); background: var(--wr-primary); padding: 3px 8px; border-radius: 999px; flex: none; }
.ly-sync[hidden] { display: none; }
.ly-body {
  position: relative; max-height: min(62vh, 560px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent; padding: 28px 6px 28px 0;
  -webkit-mask-image: linear-gradient(transparent, #000 36px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(transparent, #000 36px, #000 calc(100% - 48px), transparent);
}
.ly-body:focus-visible { outline-offset: -2px; }
.ly-plain { white-space: normal; color: var(--dim); font-size: 1.05rem; line-height: 1.8; }
.ly-plain.is-pre { white-space: pre-line; }
.ly-line {
  display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: .28em .4em; margin: 0 0 0 -.4em; border-radius: 8px;
  font-size: 1.14rem; line-height: 1.45; font-weight: 600; color: var(--faint);
  transition: color .35s var(--ease), opacity .35s;
}
.ly-line:hover { color: var(--dim); background: var(--surface); }
.ly-line.is-past { color: var(--dim); }
.ly-line.is-active { color: var(--ink); }
.ly-gap { display: block; height: 1em; }
.ly-empty { color: var(--faint); font-style: italic; }

/* ───────────── Écouter partout ───────────── */
.wr-listen { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gut) 0; }
.ls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.ls-link {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; text-decoration: none; font-weight: 700;
  background: var(--surface); border: 1px solid var(--line); transition: background .2s, border-color .2s, transform .25s var(--ease);
}
.ls-link:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--wr-primary) 60%, transparent); transform: translateY(-2px); }
.ls-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--wr-primary); color: var(--wr-on-primary); flex: none; }
.ls-ico .wr-icon { width: 21px; height: 21px; }
.ls-name { flex: 1; min-width: 0; }
.ls-go { color: var(--faint); }

/* ───────────── Bloc artiste ───────────── */
.wr-artist { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gut) 0; }
.ar-card { display: flex; gap: clamp(18px, 3vw, 32px); align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.ar-photo { width: clamp(76px, 12vw, 120px); height: clamp(76px, 12vw, 120px); border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-2); }
.ar-mono { display: grid; place-items: center; font: 800 2rem/1 var(--fd); color: var(--wr-primary); }
.ar-txt { min-width: 0; }
.ar-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.ar-name { font-family: var(--fd); font-size: clamp(1.4rem, 3.4vw, 2.1rem); letter-spacing: -.02em; line-height: 1.1; margin: .3rem 0 .5rem !important; overflow-wrap: anywhere; }
.ar-bio { color: var(--dim); font-size: .96rem; max-width: 44em; }
.ar-actions { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 1rem; }
.ar-more { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; color: var(--ink); }
.ar-more:hover { color: var(--wr-primary); }
.ar-more .wr-icon { transition: transform .2s var(--ease); }
.ar-more:hover .wr-icon { transform: translateX(3px); }
.ar-socials { display: inline-flex; gap: 4px; }
.ar-socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--dim); transition: color .2s, background .2s; }
.ar-socials a:hover { color: var(--ink); background: var(--surface-2); }
.ar-releases { margin-top: 36px; }
.ar-sub { font-size: .74rem !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem !important; }
.ar-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); gap: 18px; }
.ar-rel { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.ar-rel img, .ar-rel-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 8px; transition: transform .35s var(--ease); background: var(--surface-2); }
.ar-rel-ph { display: grid; place-items: center; color: var(--faint); }
.ar-rel:hover img { transform: translateY(-3px); }
.ar-rel-t { font-weight: 700; line-height: 1.3; }
.ar-rel-m { font-size: .82rem; color: var(--faint); }

/* ───────────── Pied de page ───────────── */
.rel-foot { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 9vw, 110px) var(--gut) 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; font-size: .84rem; color: var(--faint); }
.made { display: inline-flex; align-items: baseline; gap: .7em; /* bas des lettres du logo calé sur la ligne de base de « Made with » */ text-decoration: none; color: var(--dim); padding: 10px 16px 10px 14px; border-radius: 999px; border: 1px solid var(--line); transition: color .2s, border-color .2s; }
.made:hover { color: var(--ink); border-color: var(--line-2); }
.made-logo { --brand: currentColor; height: 13px; width: auto; display: block; }
.foot-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-report { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--faint); text-decoration: underline; text-underline-offset: 3px; font-size: .84rem; }
.foot-report:hover { color: var(--dim); }

/* ───────────── Fenêtre de signalement + toast (UI neutre) ───────────── */
.wr-dialog { width: min(92vw, 480px); padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; background: #141417; color: #f4f2ee; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.wr-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.rp-form { position: relative; padding: 28px 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.rp-form h2 { font: 700 1.2rem/1.2 var(--fd); letter-spacing: -.01em; padding-right: 36px; }
.rp-intro { color: #a3a09a; font-size: .9rem; margin-top: -6px !important; }
.rp-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: rgba(255, 255, 255, .06); border-radius: 50%; cursor: pointer; }
.rp-field { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; font-weight: 600; }
.rp-field em { font-style: normal; font-weight: 400; color: #8b8882; }
.rp-field select, .rp-field textarea, .rp-field input {
  width: 100%; font: 400 .95rem/1.4 var(--fb); color: #f4f2ee; background: #1d1d22; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; padding: 10px 12px;
}
.rp-field textarea { resize: vertical; min-height: 90px; }
.rp-field :focus { outline: 2px solid #f7a61e; outline-offset: 1px; }
.rp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rp-msg { font-size: .88rem; min-height: 1.2em; color: #a3a09a; }
.rp-msg.is-error { color: #ff7a7a; }
.rp-msg.is-ok { color: #3ddc97; }
.rp-actions { display: flex; justify-content: flex-end; gap: 10px; }
.rp-cancel, .rp-send { min-height: 44px; padding: 0 1.2em; border-radius: 999px; border: 0; cursor: pointer; font-weight: 700; }
.rp-cancel { background: rgba(255, 255, 255, .08); }
.rp-send { background: #f4f2ee; color: #111 !important; }
.rp-send:disabled { opacity: .5; }
.wr-toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #f4f2ee; color: #111; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: 0 12px 40px -10px rgba(0, 0, 0, .5);
  transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px);
}
.wr-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Visualiseur (commun) */
.wr-viz { display: block; pointer-events: none; }

/* Grain partagé (SVG turbulence, une seule couche fixe) */
.amb-grain {
  position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.is-light .amb-grain { filter: invert(1); opacity: .06; }

/* ═════════════════════════ IMMERSIVE ═════════════════════════ */
:is(.tpl-immersive, .tpl-3d) .amb { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
:is(.tpl-immersive, .tpl-3d) .amb-cover {
  position: absolute; inset: -20%; background-size: cover; background-position: center;
  filter: blur(64px) saturate(1.5); opacity: .62; transform: translateZ(0) scale(1.05);
}
:is(.tpl-immersive, .tpl-3d).is-light .amb-cover { opacity: .45; }
:is(.tpl-immersive, .tpl-3d) .amb-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 25% 30%, transparent 0%, color-mix(in srgb, var(--wr-bg) 55%, transparent) 55%, color-mix(in srgb, var(--wr-bg) 92%, transparent) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--wr-bg) 20%, transparent), color-mix(in srgb, var(--wr-bg) 70%, transparent));
}
.im-hero {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(12px, 3vw, 40px) var(--gut) clamp(48px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  min-height: calc(100svh - 76px);
}
.im-art { position: relative; width: min(100%, 540px); aspect-ratio: 1; justify-self: center; --kick: 0; }
.im-art .wr-viz { position: absolute; left: 50%; top: 50%; width: 170%; height: 170%; transform: translate(-50%, -50%); z-index: 0; }
.im-cover {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 8px;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .06);
  transform: scale(calc(1 + var(--kick) * .018)); will-change: transform;
  animation: im-in 1.2s var(--ease) backwards;
}
@keyframes im-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.im-info { min-width: 0; animation: im-fade 1s .15s var(--ease) both; }
@keyframes im-fade { from { opacity: 0; transform: translateY(16px); } }
.tpl-immersive .rel-title { font-size: clamp(2.5rem, 6.2vw, 5.6rem); font-weight: 800; }
.tpl-immersive .wr-player {
  padding: 18px 20px 16px; border-radius: 22px;
  background: color-mix(in srgb, var(--wr-bg) 58%, transparent); border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .6);
}
.im-body { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.im-body.no-lyrics { grid-template-columns: minmax(0, 760px); }
.tpl-immersive .wr-lyrics { padding: 26px 26px 10px; border-radius: 22px; background: color-mix(in srgb, var(--wr-bg) 50%, transparent); border: 1px solid var(--line); }
.tpl-immersive .ly-line.is-active { color: var(--ink); text-shadow: 0 0 24px color-mix(in srgb, var(--wr-primary) 55%, transparent); }

@media (max-width: 880px) {
  .im-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; text-align: center; gap: 36px; padding-top: 8px; }
  .im-art { width: min(80vw, 440px); }
  .im-info .rel-desc { margin-inline: auto; }
  .tpl-immersive .wr-player { text-align: left; }
  .im-body { grid-template-columns: minmax(0, 1fr); gap: 56px; }
}

/* ═════════════════════════ MINIMAL ═════════════════════════ */
.tpl-minimal .rel-back, .tpl-minimal .rel-share { background: none; border-color: transparent; padding-left: 0; }
.tpl-minimal .rel-share { padding-right: 0; }
.mn-hero {
  max-width: 1180px; margin: 0 auto; padding: clamp(16px, 5vw, 72px) var(--gut) clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: end;
}
.mn-cover img, .mn-cover .cover-ph { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 1px var(--line); animation: mn-in 1s var(--ease) both; }
@keyframes mn-in { from { opacity: 0; } }
.mn-head { min-width: 0; }
.mn-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.mn-facts > div { padding: 12px 28px 0 0; }
.mn-facts dt { font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.mn-facts dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; }
.tpl-minimal .rel-title { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.tpl-minimal .rel-by { font-size: 1.2rem; }
.tpl-minimal .rel-by a { background: none; font-weight: 600; color: var(--dim); }
.tpl-minimal .rel-by a:hover { color: var(--ink); }
.mn-play { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
.tpl-minimal .wr-player { margin: 0; padding: 22px 0 14px; border-top: 1px solid var(--ink); }
.tpl-minimal .pl-play { width: 56px; height: 56px; box-shadow: none; }
.tpl-minimal .pl-wave { height: 40px; }
.mn-viz { height: 64px; position: relative; margin-bottom: 8px; }
.mn-viz .wr-viz { position: absolute; inset: 0; width: 100%; height: 100%; }
.no-audio .mn-viz { height: 48px; opacity: .8; }
.mn-body { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gut) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.mn-body.no-lyrics { grid-template-columns: minmax(0, 720px); }
.tpl-minimal .tr-main { padding: 18px 0; border-radius: 0; }
.tpl-minimal button.tr-main:hover { background: none; }
.tpl-minimal button.tr-main:hover .tr-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tpl-minimal .tr-title { font-size: 1.12rem; font-weight: 500; }
.tpl-minimal .tr.is-viewing:not(.is-current) .tr-main { background: none; }
.tpl-minimal .tr.is-viewing .tr-title { text-decoration: underline; text-underline-offset: 4px; }
.tpl-minimal .tr-links { padding-left: calc(2.4em + 12px); }
.tpl-minimal .ly-line { font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; }
.tpl-minimal .ly-plain { font-size: 1.12rem; }
.tpl-minimal .ls-link, .tpl-minimal .ar-card { border-radius: 0; background: none; }
.tpl-minimal .ls-ico { border-radius: 50%; }
.tpl-minimal .ar-card { border-width: 1px 0; padding-inline: 0; }
.tpl-minimal .wr-listen, .tpl-minimal .wr-artist, .tpl-minimal .rel-foot { max-width: 1180px; }
@media (max-width: 760px) {
  .mn-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mn-body { grid-template-columns: minmax(0, 1fr); }
  .mn-viz { height: 52px; }
}

/* ═════════════════════════ 3D ═════════════════════════ */
/* Ambiance = celle d'Immersive (.amb). Sphère WebGL (release-3d.js) : canvas transparent absolu en haut de page, hauteur ajustée au hero par release.js */
.x3-stage { position: absolute; top: 0; left: 0; z-index: 0; width: 100%; height: 100vh; height: 100svh; pointer-events: none; }
.x3-stage[hidden] { display: none; }
.x3-hero {
  position: relative; max-width: 1100px; margin: 0 auto; padding: clamp(4px, 1.5vw, 20px) var(--gut) clamp(40px, 6vw, 72px);
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.x3-hero .rel-kicker { color: color-mix(in srgb, var(--wr-primary) 75%, var(--wr-text)); margin-bottom: clamp(1.6rem, 4vw, 3rem); text-shadow: 0 1px 12px var(--wr-bg); }
.x3-cover { position: relative; z-index: 2; width: min(46vw, 300px); --kick: 0; --tilt-x: 0deg; --tilt-y: 0deg; perspective: 900px; }
.x3-cover img, .x3-cover .cover-ph {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 60px -10px color-mix(in srgb, var(--wr-primary) 60%, transparent), 0 40px 70px -30px #000;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(calc(1 + var(--kick) * .03)); animation: im-in 1.1s var(--ease) backwards;
}
.x3-fallback { position: relative; z-index: 1; width: 100vw; max-width: 1240px; height: clamp(120px, 20vw, 230px); margin-top: calc(clamp(120px, 20vw, 230px) * -.5); }
.x3-fallback[hidden] { display: none; }
.x3-fallback .wr-viz { position: absolute; inset: 0; width: 100%; height: 100%; }
.has-gl .x3-hero .rel-title { margin-top: clamp(2.4rem, 7vw, 4.6rem); }
.tpl-3d .rel-title {
  font-size: clamp(2.2rem, 7vw, 5.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; margin-top: .2rem;
  text-shadow: 0 0 40px color-mix(in srgb, var(--wr-primary) 45%, transparent), 0 2px 24px var(--wr-bg);
}
.tpl-3d .rel-by { font-size: 1rem; letter-spacing: .24em; text-transform: uppercase; text-shadow: 0 1px 14px var(--wr-bg); }
.tpl-3d .rel-by a { background: none; }
/* Lecteur sur verre fumé : lisible au-dessus des crêtes lumineuses */
.x3-player { width: min(100%, 560px); }
.has-gl .x3-player .wr-player, .has-gl .x3-player .wr-listen-cta {
  padding: 18px clamp(14px, 3vw, 26px) 16px; border-radius: 22px;
  background: color-mix(in srgb, var(--wr-bg) 58%, transparent); border: 1px solid color-mix(in srgb, var(--wr-text) 10%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.tpl-3d .wr-player { grid-template-columns: minmax(0, 1fr); grid-template-areas: "now" "seek" "ctrl" "links" "err"; justify-items: center; text-align: center; }
.tpl-3d .pl-now { align-items: center; max-width: 100%; }
.tpl-3d .pl-badge { align-self: center; }
.tpl-3d .pl-seek { width: 100%; }
.tpl-3d .pl-controls { gap: 18px; }
.tpl-3d .pl-play { width: 72px; height: 72px; box-shadow: 0 0 0 8px color-mix(in srgb, var(--wr-primary) 16%, transparent), 0 0 50px -6px var(--wr-primary); }
.tpl-3d .pl-track-links { justify-content: center; }
.tpl-3d .wr-listen-cta { text-align: center; }
.tpl-3d .cta-links { justify-content: center; }
.x3-desc { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 0 var(--gut); text-align: center; color: var(--dim); font-size: 1.05rem; }
.x3-body { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gut) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.x3-body.no-lyrics { grid-template-columns: minmax(0, 720px); justify-content: center; }
.tpl-3d .tr-n { color: var(--wr-primary); }
.tpl-3d .tr-title { text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; font-weight: 700; }
.tpl-3d .tr.is-current .tr-title { text-shadow: 0 0 18px color-mix(in srgb, var(--wr-primary) 60%, transparent); }
.tpl-3d .wr-lyrics { text-align: center; }
.tpl-3d .ly-head { align-items: center; }
.tpl-3d .ly-head .sec-title::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--wr-primary); }
.tpl-3d .ly-track { justify-content: center; }
.tpl-3d .ly-line { text-align: center; margin: 0; font-size: 1.28rem; font-weight: 700; }
.tpl-3d .ly-line.is-active { color: var(--ink); text-shadow: 0 0 22px var(--wr-primary); }
.tpl-3d .ls-link { border-radius: 12px; }
@media (max-width: 760px) {
  .x3-body { grid-template-columns: minmax(0, 1fr); }
  .x3-fallback { height: 130px; margin-top: -65px; }
}

/* ───────────── Mobile ───────────── */
@media (max-width: 680px) {
  .rel-top { padding-block: 12px; }
  .rel-share span { display: none; }
  .rel-share { padding: 0; width: 40px; justify-content: center; }
  .wr-player { gap: 12px 12px; }
  .pl-controls { gap: 2px; }
  .pl-btn { width: 40px; height: 40px; }
  .pl-play { width: 58px; height: 58px; }
  .tpl-3d .pl-play { width: 64px; height: 64px; }
  .tr-main { gap: 8px; padding: 14px 4px; }
  .ly-line { font-size: 1.06rem; }
  .tpl-minimal .ly-line { font-size: 1.14rem; }
  .tpl-3d .ly-line { font-size: 1.12rem; }
  .tpl-immersive .wr-lyrics { padding: 20px 16px 6px; }
  .ar-card { flex-direction: column; align-items: flex-start; }
  .rel-foot { flex-direction: column; align-items: flex-start; }
  :is(.tpl-immersive, .tpl-3d) .amb-cover { filter: blur(40px) saturate(1.4); }
}
@media (max-width: 360px) {
  .tr-ly { display: none; }
  .pl-btn.pl-prev, .pl-btn.pl-next { width: 34px; }
}

/* ───────────── Mouvement réduit ───────────── */
@media (prefers-reduced-motion: reduce) {
  .wr-rel *, .wr-rel *::before, .wr-rel *::after { animation: none !important; transition-duration: .01ms !important; }
  .im-cover, .x3-cover img { transform: none !important; }
}

/* Débordements volontaires (halo, visualiseur) : rognés dans leur section pour ne jamais élargir la page sur mobile */
.im-hero, .x3-hero, .mn-play { overflow-x: hidden; overflow-x: clip; }
.x3-fallback { width: calc(100% + 2 * var(--gut)); }
@media (max-width: 880px) { .im-hero { padding-top: 28px; } }
/* Les attributs width/height des <img> fixent une hauteur : on la libère pour que aspect-ratio s'applique */
.mn-cover img, .x3-cover img, .ar-rel img { height: auto; }
@media (max-width: 880px) { .tpl-immersive .wr-listen-cta { text-align: center; } .tpl-immersive .cta-links { justify-content: center; } }

/* Chinois / japonais : polices CJK en tête (japonais : formes de kanji japonaises), pas d'interlettrage ni de capitales */
html:lang(zh) { --fd: "Roboto", "Arial", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", "Hiragino Sans", "Yu Gothic", sans-serif; --fb: "Inter", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", "Hiragino Sans", system-ui, sans-serif; }
html:lang(ja) { --fd: "Roboto", "Arial", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", "Meiryo", "PingFang SC", sans-serif; --fb: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", "Meiryo", system-ui, sans-serif; }
html:lang(zh) .sec-title, html:lang(ja) .sec-title,
html:lang(zh) .pv-tpl span, html:lang(ja) .pv-tpl span,
html:lang(zh) .rel-kicker, html:lang(ja) .rel-kicker,
html:lang(zh) .pl-label, html:lang(ja) .pl-label,
html:lang(zh) .pl-badge, html:lang(ja) .pl-badge,
html:lang(zh) .tr-badge, html:lang(ja) .tr-badge,
html:lang(zh) .cta-label, html:lang(ja) .cta-label,
html:lang(zh) .ly-sync, html:lang(ja) .ly-sync,
html:lang(zh) .ar-kicker, html:lang(ja) .ar-kicker,
html:lang(zh) .ar-sub, html:lang(ja) .ar-sub,
html:lang(zh) .mn-facts dt, html:lang(ja) .mn-facts dt,
html:lang(zh) .tpl-3d .rel-by, html:lang(ja) .tpl-3d .rel-by,
html:lang(zh) .tpl-3d .tr-title, html:lang(ja) .tpl-3d .tr-title { letter-spacing: .02em; }

/* Logo (image très large) dans le rond de l'artiste : entier sur disque neutre, jamais rogné */
.ar-photo.is-logo { object-fit: contain; padding: calc(clamp(76px, 12vw, 120px) * .08); /* % = largeur du parent, pas du rond */ background: radial-gradient(circle at 50% 45%, #34343b 0%, #1c1c21 62%, #141417 100%); filter: drop-shadow(0 0 1px rgba(255, 255, 255, .3)); }

/* ───────────── Immersive : vinyle + cendres (remplace le halo carré) ───────────── */
/* Le canvas des cendres couvre toute la largeur de l'écran : le rognage horizontal passe du hero à la page */
body.wr-rel { overflow-x: clip; }
.tpl-immersive .im-hero { position: relative; overflow: visible; }
.im-ash { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; height: 100%; transform: translateX(-50%); z-index: 0; pointer-events: none; }
.im-art { z-index: 1; width: min(100%, 480px); justify-self: start; --slide: 0; }
.im-info { position: relative; z-index: 1; }
.im-vinyl { position: absolute; inset: 3%; z-index: 0; transform: translateX(calc(var(--slide) * 31%)); will-change: transform; }
.im-disc {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 17%, rgba(255, 255, 255, .06) 17.4% 17.8%, transparent 18.2%),
    repeating-radial-gradient(circle, color-mix(in srgb, var(--wr-primary) 16%, #040404) 0 1.2px, color-mix(in srgb, var(--wr-primary) 34%, #0b0b0b) 1.6px 2.6px, color-mix(in srgb, var(--wr-primary) 20%, #050505) 3px 3.6px),
    #0b0b0b;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .75), inset 0 0 0 2px #050505, inset 0 0 0 7px color-mix(in srgb, var(--wr-primary) 45%, #000), inset 0 0 60px color-mix(in srgb, var(--wr-primary) 25%, transparent);
  will-change: transform;
}
.im-label { position: absolute; inset: 32%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #050505; }
.im-label img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); }
.im-label::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7%; height: 7%; margin: -3.5% 0 0 -3.5%; border-radius: 50%; background: var(--wr-bg); box-shadow: 0 0 0 2px rgba(255, 255, 255, .3); }
.im-vinyl::after { content: ""; position: absolute; inset: -1%; border-radius: 50%; pointer-events: none; box-shadow: 0 0 50px 8px color-mix(in srgb, var(--wr-primary) 70%, transparent); opacity: calc(.1 + var(--kick) * .8); }
.im-sheen { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(255, 255, 255, .14) 12%, transparent 18% 50%, rgba(255, 255, 255, .09) 62%, transparent 68%); }
@media (max-width: 880px) {
  .im-art { width: min(70vw, 400px); justify-self: center; margin-right: 16vw; }
  .im-vinyl { transform: translateX(calc(var(--slide) * 22%)); }
}
/* Place pour la couronne de spectre autour du disque : pochette un peu plus petite, colonne texte décalée */
@media (min-width: 881px) { .tpl-immersive .im-hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); column-gap: clamp(32px, 7vw, 120px); } }
.tpl-immersive .im-art { width: min(100%, 430px); }
.im-ash { top: -90px; height: calc(100% + 90px); } /* la couronne ne doit pas être coupée net en haut du hero */
@media (max-width: 880px) {
  .tpl-immersive .im-art { width: min(62vw, 380px); margin-right: 20vw; }
}
/* Le brasier du canvas se fond dans la suite de la page au lieu de s'arrêter net au bas du hero */
.im-ash { bottom: auto; height: calc(100% + 90px + 160px); -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 220px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 220px), transparent); }
.tpl-immersive .im-body { position: relative; z-index: 1; padding-top: clamp(28px, 4vw, 48px); }

/* Paroles synchronisées : la ligne chantée prend la couleur de la release (éclaircie pour rester lisible),
   avec un fond léger et un trait à gauche ; les lignes passées s'effacent davantage. */
.ly-line { transition: color .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease); }
.ly-line.is-past { color: color-mix(in srgb, var(--dim) 70%, transparent); }
.ly-line.is-active,
.tpl-immersive .ly-line.is-active,
.tpl-3d .ly-line.is-active {
  color: color-mix(in srgb, var(--wr-primary) 72%, #fff);
  background: color-mix(in srgb, var(--wr-primary) 13%, transparent);
  box-shadow: inset 3px 0 0 var(--wr-primary);
  text-shadow: 0 0 22px color-mix(in srgb, var(--wr-primary) 45%, transparent);
}
.tpl-3d .ly-line.is-active { box-shadow: none; }
.is-light .ly-line.is-active { color: color-mix(in srgb, var(--wr-primary) 80%, #000); text-shadow: none; }
