/* RAPZODY V11.21 — ANIMATIONS (avatars, sélection, premières certifications, concerts)
   Tout est en transform / opacity (accéléré par le GPU). prefers-reduced-motion respecté. */

/* =========================
   RIG D'AVATAR
========================= */

.rzav {
    --amp: 1;
    position: relative;
    width: 100%;
    aspect-ratio: 300 / 352;
    overflow: hidden;
    line-height: 0;
    isolation: isolate;
    background: #0b0b0d var(--card) center / 100% 100% no-repeat;
}
.rzav > div, .rzav-actor > div, .rzav-body > div { position: absolute; inset: 0; }
.rzav-plate { background: var(--plate) center / 100% 100% no-repeat; }
.rzav-glow {
    background: radial-gradient(55% 42% at 50% 42%, rgba(255, 45, 60, .30), transparent 72%);
    mix-blend-mode: screen; opacity: 0; pointer-events: none;
    animation: rzGlow calc(var(--br) * 2) ease-in-out infinite;
}
.rzav-actor { transform-origin: 50% 100%; }
.rzav-body {
    background: var(--cut) center / 100% 100% no-repeat;
    transform-origin: 50% 100%;
    animation: rzBreath var(--br) ease-in-out infinite;
    will-change: transform;
}
.rzav-head {
    background: var(--cut) center / 100% 100% no-repeat;
    -webkit-mask-image: radial-gradient(var(--hrx) var(--hry) at var(--hcx) var(--hcy), #000 70%, transparent 100%);
    mask-image: radial-gradient(var(--hrx) var(--hry) at var(--hcx) var(--hcy), #000 70%, transparent 100%);
    transform-origin: var(--px) var(--py);
    animation: rzHead var(--sd) ease-in-out infinite;
    will-change: transform;
}
/* Clignement : la peau de la paupière (prise sur la carte) descend sur l'œil 0,15 s */
.rzav-lid {
    position: absolute; border-radius: 50%; overflow: hidden; transform: rotate(var(--r)); pointer-events: none;
    -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
}
.rzav-lid b {
    position: absolute; inset: 0;
    background-image: var(--card); background-repeat: no-repeat;
    transform-origin: 50% 0; transform: scaleY(0);
    animation: rzBlink var(--bl) linear infinite; animation-delay: var(--bd);
}
.rzav-lid b::after {
    content: ""; position: absolute; left: 10%; right: 6%; bottom: 9%; height: 22%;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    background: linear-gradient(to bottom, rgba(40, 18, 12, 0), rgba(28, 12, 8, .9));
}

/* Fichiers manquants : carte d'origine, sans rig */
.rzav.rz-nocut > div { display: none; }

/* Intensité selon le contexte */
.rzav.ctx-menu { --amp: .55; }
.rzav.ctx-career { --amp: .8; }
.rzav.ctx-select { --amp: 1; }
.rzav.ctx-success { --amp: 1.5; }
.rzav.ctx-cert { --amp: 1.4; }
.rzav.ctx-concert { --amp: 2; }
.rzav.ctx-concert .rzav-glow, .rzav.rz-stage .rzav-glow, .rzav.rz-stage .rzav-plate { display: none; }
.rzav.rz-stage { background: none; overflow: visible; }

@keyframes rzBreath {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1, 1); }
    45% { transform: translate3d(0, calc(var(--amp) * -.22%), 0) scale(calc(1 + var(--amp) * .0035), calc(1 + var(--amp) * .0085)); }
}
@keyframes rzHead {
    0%, 100% { transform: rotate(calc(var(--sw) * var(--amp) * -1deg)) translate3d(calc(var(--hx) * var(--amp) * -1%), 0, 0); }
    50% { transform: rotate(calc(var(--sw) * var(--amp) * 1deg)) translate3d(calc(var(--hx) * var(--amp) * 1%), calc(var(--hy) * var(--amp) * 1%), 0); }
}
@keyframes rzBlink {
    0%, 93% { transform: scaleY(0); }
    95%, 96% { transform: scaleY(1); }
    98.6%, 100% { transform: scaleY(0); }
}
@keyframes rzGlow { 0%, 100% { opacity: 0; } 50% { opacity: calc(.35 + var(--amp) * .2); } }

/* Mouvement sur scène, propre à chaque modèle (90 BPM) */
.rzav.ctx-concert .rzav-actor { animation: rzLiveNod .667s ease-in-out infinite; }
.rzav.ctx-concert.live-hop .rzav-actor { animation-name: rzLiveHop; }
.rzav.ctx-concert.live-sway .rzav-actor { animation-name: rzLiveSway; animation-duration: 1.333s; }
.rzav.ctx-concert.live-lean .rzav-actor { animation-name: rzLiveLean; animation-duration: 1.333s; }
@keyframes rzLiveNod { 0%, 100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(1.2%) rotate(.6deg); } }
@keyframes rzLiveHop { 0%, 100% { transform: translateY(0) scale(1); } 35% { transform: translateY(-2.4%) scale(1.01); } 60% { transform: translateY(.4%) scale(.995, 1.005); } }
@keyframes rzLiveSway { 0%, 100% { transform: translateX(-1.2%) rotate(-1.2deg); } 50% { transform: translateX(1.2%) rotate(1.2deg); } }
@keyframes rzLiveLean { 0%, 100% { transform: rotate(-.8deg) translateY(0); } 25% { transform: rotate(1.6deg) translateY(.8%); } 50% { transform: rotate(-.8deg) translateY(0); } 75% { transform: rotate(.6deg) translateY(.6%); } }

/* Réactions ponctuelles : chaque modèle a la sienne */
.rzav-actor[class*="rz-react-"] { animation-duration: .9s; animation-timing-function: cubic-bezier(.3, .7, .3, 1); animation-iteration-count: 1; }
.rzav-actor.rz-react-nod { animation-name: rzReNod; }
.rzav-actor.rz-react-firm { animation-name: rzReFirm; animation-duration: .75s; }
.rzav-actor.rz-react-chinup { animation-name: rzReChinup; }
.rzav-actor.rz-react-tilt { animation-name: rzReTilt; animation-duration: 1s; }
.rzav-actor.rz-react-hop { animation-name: rzReHop; animation-duration: .8s; }
.rzav-actor.rz-react-sway { animation-name: rzReSway; animation-duration: 1.2s; }
.rzav-actor.rz-react-lean { animation-name: rzReLean; animation-duration: 1s; }
.rzav-actor.rz-react-turn { animation-name: rzReTurn; animation-duration: 1s; }
.rzav-actor.rz-react-celebrate { animation-name: rzReCelebrate; animation-duration: 1.1s; }
.rzav-actor.rz-react-bigcelebrate { animation-name: rzReBig; animation-duration: 1.5s; }
@keyframes rzReNod { 0%, 100% { transform: none; } 30% { transform: translateY(1.6%) rotate(.6deg); } 60% { transform: translateY(-.5%); } }
@keyframes rzReFirm { 0%, 100% { transform: none; } 22% { transform: translateY(1.8%); } 44% { transform: translateY(-.4%); } 66% { transform: translateY(1.1%); } }
@keyframes rzReChinup { 0%, 100% { transform: none; } 35% { transform: translateY(-1.6%) rotate(-1.8deg) scale(1.015); } 70% { transform: translateY(-.4%) rotate(-.4deg); } }
@keyframes rzReTilt { 0%, 100% { transform: none; } 30% { transform: rotate(2.6deg) translateX(1%); } 62% { transform: rotate(-1.2deg); } }
@keyframes rzReHop { 0%, 100% { transform: none; } 30% { transform: translateY(-4%) scale(1.02); } 55% { transform: translateY(.8%) scale(1.01, .99); } 75% { transform: translateY(-1%); } }
@keyframes rzReSway { 0%, 100% { transform: none; } 30% { transform: translateX(-1.6%) rotate(-1.6deg); } 65% { transform: translateX(1.2%) rotate(1.2deg); } }
@keyframes rzReLean { 0%, 100% { transform: none; } 35% { transform: translateX(2.2%) rotate(2deg); } 70% { transform: translateX(.6%) rotate(.5deg); } }
@keyframes rzReTurn { 0%, 100% { transform: none; } 35% { transform: translateX(-1.8%) scaleX(.975) rotate(-.6deg); } 70% { transform: translateX(.4%) scaleX(1.005); } }
@keyframes rzReCelebrate { 0%, 100% { transform: none; } 20% { transform: translateY(-4.5%) scale(1.03); } 40% { transform: translateY(.6%) scale(1.01, .99); } 58% { transform: translateY(-3%) rotate(-1.2deg) scale(1.02); } 78% { transform: translateY(0) rotate(.6deg); } }
@keyframes rzReBig { 0%, 100% { transform: none; } 14% { transform: translateY(-6%) scale(1.05); } 28% { transform: translateY(1%) scale(1.02, .98); } 42% { transform: translateY(-5%) rotate(2deg) scale(1.04); } 56% { transform: translateY(.5%) rotate(-1deg); } 72% { transform: translateY(-2.5%) rotate(-1.6deg) scale(1.02); } 88% { transform: translateY(0) rotate(.4deg); } }

.rzav.rz-flashglow::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 50% at 50% 45%, rgba(255, 220, 140, .55), transparent 70%);
    mix-blend-mode: screen; animation: rzFlashGlow 1s ease-out both;
}
@keyframes rzFlashGlow { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

/* Hors écran / derrière une scène plein écran : en pause */
.rzav.rz-paused, .rzav.rz-paused * { animation-play-state: paused !important; }
body.rz-overlay-on #app .rzav, body.rz-overlay-on #app .rzav * { animation-play-state: paused !important; }

/* Portrait rond (accueil, fenêtres) : même cadrage que l'avatar rond d'origine */
.rzav-round { position: relative; display: block; overflow: hidden; border-radius: 50%; background: #0b0b0d; flex-shrink: 0; }
.rzav-round > .rzav { position: absolute; width: 139.535%; left: -19.535%; top: -17.209%; }

/* « Mon artiste » */
.avatar-card.rz-card { background: #0b0b0d; }
.avatar-card.rz-card .rzav { height: 100%; }

/* =========================
   SÉLECTION DU PERSONNAGE
========================= */

.rz-grid .model-card { transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s; }
.rz-grid .model-card .rzav { aspect-ratio: 300 / 351; }
.rz-grid .model-card.on { transform: scale(1.035); z-index: 1; }
.rz-grid .model-card.rz-pop { animation: rzCardPop .6s cubic-bezier(.2, .8, .2, 1) both; }
.rz-grid .model-card.rz-pop .model-check { animation: rzCheckPop .45s .1s cubic-bezier(.3, 1.6, .5, 1) both; }
.rz-grid .model-card.rz-pop::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
    transform: translateX(-120%); animation: rzSheen .7s .05s ease-out both;
}
@keyframes rzCardPop { 0% { transform: scale(.97); } 45% { transform: scale(1.075); box-shadow: 0 0 0 1px var(--red, #ff202b), 0 0 34px rgba(255, 32, 43, .8); } 100% { transform: scale(1.035); } }
@keyframes rzCheckPop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes rzSheen { to { transform: translateX(120%); } }

/* Fiche d'artiste de la création : sortie → transition → entrée */
.crea-card-img { position: relative; }
.crea-card-img.rz-has-rig img[data-crea="img"] { visibility: hidden; }
/* V12 : le visage de chaque modèle est centré (yeux à 46 % de la hauteur), sans jamais montrer de vide */
.crea-card-img > .rzav { position: absolute; left: 0; width: 100%; top: clamp(-25.71%, calc(46% - var(--ey, .5) * 125.71%), 0%); }
@media (min-width: 980px) { .crea-card-img > .rzav { top: clamp(-35.38%, calc(46% - var(--ey, .5) * 135.38%), 0%); } }
.crea-card-img > .rzav.rz-exit { animation: rzExitFade .42s ease-in both; z-index: 0; }
.crea-card-img > .rzav.rz-exit .rzav-actor { animation: rzExitActor .32s ease-in both; }
.crea-card-img > .rzav.rz-enter { z-index: 1; animation: rzEnterFade .3s ease-out both; }
.rzav.rz-enter .rzav-actor:not([class*="rz-react-"]) { animation: rzEnterActor .55s cubic-bezier(.2, .8, .2, 1) both; }
.rzav.rz-enter::before {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 60, 70, .45) 48%, rgba(255, 255, 255, .5) 50%, transparent 66%);
    transform: translateX(-110%); animation: rzSheen .6s .05s ease-out both;
}
.avatar-card .rzav.rz-enter { animation: rzEnterFade .35s ease-out both; }
@keyframes rzExitFade { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rzExitActor { to { transform: translateX(-9%) scale(.96); filter: blur(2px); } }
@keyframes rzEnterFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rzEnterActor { from { transform: translateX(9%) scale(1.04); } to { transform: none; } }

/* Petit avatar qui réagit dans la fenêtre de certification classique */
.rz-cert-actor { position: absolute; top: 12px; right: 12px; z-index: 3; }
.rz-cert-actor .rzav-round { box-shadow: 0 0 0 2px var(--fx-glow, #ffc857), 0 6px 18px rgba(0, 0, 0, .5); }

/* =========================
   CINÉMATIQUES (premières certifications)
========================= */

#rzCine {
    --t1: #f3c64f; --t2: #fff1c2; --tg: rgba(243, 198, 79, .55); --bg1: #2a1a02; --bg2: #050403;
    position: fixed; inset: 0; z-index: 9600; overflow: hidden;
    color: #fff; font-family: Inter, system-ui, sans-serif;
    background: #000; opacity: 0; transition: opacity .3s;
    padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
    -webkit-tap-highlight-color: transparent;
}
#rzCine.go { opacity: 1; }
#rzCine.out { opacity: 0; transition-duration: .3s; }
#rzCine.rzc-platinum { --t1: #e9eef6; --t2: #ffffff; --tg: rgba(200, 220, 255, .55); --bg1: #121a26; --bg2: #030407; }
#rzCine.rzc-diamond { --t1: #9ff0ff; --t2: #ffffff; --tg: rgba(150, 230, 255, .6); --bg1: #0d1530; --bg2: #02030a; }
#rzCine.rzc-red { --t1: #ff5a72; --t2: #ffd0d8; --tg: rgba(255, 60, 90, .55); --bg1: #2a0509; --bg2: #050203; }

.rzc-bg { position: absolute; inset: 0; background: radial-gradient(70% 55% at 50% 42%, var(--bg1), var(--bg2) 75%); opacity: 0; }
.go .rzc-bg { animation: rzcFadeIn .5s .05s ease-out both; }
.rzc-rays {
    position: absolute; left: 50%; top: 34%; width: 170vmax; height: 170vmax; margin: -85vmax 0 0 -85vmax;
    background: repeating-conic-gradient(from 0deg, var(--tg) 0deg 5deg, transparent 5deg 20deg);
    -webkit-mask-image: radial-gradient(closest-side, #000 8%, transparent 62%); mask-image: radial-gradient(closest-side, #000 8%, transparent 62%);
    opacity: 0; mix-blend-mode: screen;
}
.go .rzc-rays { animation: rzcFadeIn .8s 1.2s ease-out both, rzcSpin 28s linear infinite; }
.rzc-cam { position: absolute; inset: 0; }
.rzc-stage { position: absolute; inset: 0; }

/* Disque : le disque de la plaque officielle tourne, puis le cadre apparaît */
.rzc-disc {
    --ds: min(68vw, 36vh, 330px);
    position: absolute; left: 50%; top: var(--dtop, max(17%, 104px)); width: var(--ds); height: calc(var(--ds) * var(--ar, 1.07));
    transform: translateX(-50%); opacity: 0;
}
.rzc-plaque { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)); }
.rzc-vinyl { position: absolute; aspect-ratio: 1; background-repeat: no-repeat; border-radius: 50%; box-shadow: 0 0 40px var(--tg); }
.rzc-shine {
    position: absolute; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
    background: conic-gradient(from 0deg, transparent 0 40deg, rgba(255, 255, 255, .55) 55deg, transparent 75deg 220deg, rgba(255, 255, 255, .35) 235deg, transparent 255deg);
    mix-blend-mode: overlay; opacity: 0;
}
.rzc-halo { position: absolute; left: 50%; top: var(--cy); width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, var(--tg), transparent 70%); opacity: 0; }
.go .rzc-disc { animation: rzcDiscIn .75s .6s cubic-bezier(.2, .9, .25, 1.15) both; }
.go .rzc-vinyl { animation: rzcFlip .75s .6s cubic-bezier(.2, .8, .2, 1) both, rzcSpin 9s 1.35s linear infinite; }
.go .rzc-shine { animation: rzcFadeIn .6s 1.3s both; }
.go .rzc-halo { animation: rzcFadeIn .6s 1.25s both, rzcPulse 2.4s 1.9s ease-in-out infinite; }
.go .rzc-plaque { animation: rzcFadeIn .7s 1.55s ease-out both; }

/* Le personnage arrive par le bas et célèbre */
.rzc-actor {
    --h: min(48vh, calc(92vw * 352 / 300), 520px);
    position: absolute; left: 50%; bottom: 0; height: var(--h); width: calc(var(--h) * 300 / 352);
    transform: translate(-50%, 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
.rzc-actor .rzav { position: relative; height: 100%; }
.rzc-actor::before { content: ""; position: absolute; left: -12%; right: -12%; top: 4%; bottom: -10%; background: radial-gradient(50% 48% at 50% 45%, var(--tg), transparent 72%); opacity: .8; }
.go .rzc-actor { animation: rzcActorIn .7s .2s cubic-bezier(.2, .85, .25, 1.08) both; }

.rzc-ring { position: absolute; left: 50%; top: calc(var(--dtop, max(17%, 104px)) + min(68vw, 36vh, 330px) * .52); width: 10px; height: 10px; margin: -5px; border-radius: 50%; border: 3px solid var(--t2); opacity: 0; }
.rzc-burst { position: absolute; left: 50%; top: calc(var(--dtop, max(17%, 104px)) + min(68vw, 36vh, 330px) * .52); width: 0; height: 0; }
.rzc-burst i { position: absolute; left: 0; top: 0; width: calc(9px * var(--s)); height: calc(9px * var(--s)); margin: calc(-4.5px * var(--s)); background: var(--c); border-radius: 50%; opacity: 0; box-shadow: 0 0 10px var(--c); }
.rzc-burst i.p-spark { border-radius: 1px; width: calc(3px * var(--s)); height: calc(16px * var(--s)); }
.rzc-burst i.p-shard { border-radius: 0; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); width: calc(14px * var(--s)); height: calc(18px * var(--s)); box-shadow: none; }
.go .rzc-burst i { animation: rzcPart var(--t) var(--d) cubic-bezier(.1, .7, .3, 1) forwards; }

.rzc-flash { position: absolute; inset: 0; z-index: 4; background: #fff; opacity: 0; pointer-events: none; }
.t1.go .rzc-flash { animation: rzcFlash .55s 1.25s ease-out forwards; }
.t2.go .rzc-flash { animation: rzcFlash .5s 1.5s ease-out forwards, rzcFlash2 .45s 1.95s ease-out forwards; }
.t3.go .rzc-flash { animation: rzcFlash .7s 2.5s ease-out forwards, rzcFlash2 .5s 3.3s ease-out forwards; }

/* Texte */
.rzc-text { position: absolute; left: 0; right: 0; top: max(4%, 18px); text-align: center; padding: 0 16px; z-index: 3; }
.rzc-text::before { content: ""; position: absolute; left: 50%; top: -40%; width: min(110%, 900px); height: 190%; transform: translateX(-50%); z-index: -1; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); pointer-events: none; }
.rzc-kicker { margin: 0 0 4px; font: 700 clamp(11px, 2.8vw, 14px) / 1 Inter, sans-serif; letter-spacing: .32em; color: var(--t1); opacity: 0; }
.rzc-title { margin: 0; font: 400 clamp(30px, 8.6vw, 64px) / .95 "Bebas Neue", Oswald, Impact, sans-serif; letter-spacing: .02em; text-shadow: 0 0 24px var(--tg), 0 4px 0 rgba(0, 0, 0, .35); }
.rzc-title span { display: inline-block; opacity: 0; background: linear-gradient(180deg, var(--t2), var(--t1) 60%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rzc-sub { margin: 8px 0 0; font: 600 clamp(13px, 3.4vw, 17px) / 1.2 Inter, sans-serif; color: rgba(255, 255, 255, .85); opacity: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t1.go .rzc-kicker { animation: rzcUp .45s .95s both; }
.t1.go .rzc-title span { animation: rzcWord .5s calc(1.1s + var(--i) * .1s) cubic-bezier(.2, .9, .3, 1.3) both; }
.t1.go .rzc-sub { animation: rzcUp .45s 1.75s both; }
.t2.go .rzc-kicker { animation: rzcUp .45s 1.25s both; }
.t2.go .rzc-title span { animation: rzcWord .55s calc(1.4s + var(--i) * .11s) cubic-bezier(.2, .9, .3, 1.3) both; }
.t2.go .rzc-sub { animation: rzcUp .45s 2.2s both; }
.t3.go .rzc-kicker { animation: rzcUp .5s 2.75s both; }
.t3.go .rzc-title span { animation: rzcWordBig .7s calc(2.65s + var(--i) * .13s) cubic-bezier(.2, .9, .3, 1.2) both; }
.t3.go .rzc-sub { animation: rzcUp .5s 3.7s both; }
.rzc-diamond .rzc-title span { background: linear-gradient(90deg, #fff, #9ff0ff, #ffd6f6, #c9a7ff, #a8ffcf, #fff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; }
.rzc-diamond.done .rzc-title span { animation: rzcPrism 3s linear infinite !important; opacity: 1; }

.rzc-ui { position: absolute; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 5; display: flex; gap: 8px; align-items: center; }
.rzc-skip, .rzs-skip {
    min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .45); color: #fff;
    font: 800 13px / 1 Inter, sans-serif; letter-spacing: .12em; background: rgba(0, 0, 0, .62);
}
.done .rzc-skip { background: var(--t1); color: #111; border-color: transparent; box-shadow: 0 0 24px var(--tg); animation: rzcUp .3s both; }
.rzc-sound, .rzs-sound { width: 44px; height: 44px; border-radius: 50%; cursor: pointer; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .4); color: #fff; font-size: 17px; line-height: 1; }
.rzc-skip:focus-visible, .rzs-skip:focus-visible, .rzc-sound:focus-visible, .rzs-sound:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Platine : transition premium (barres de lumière) + poussée de caméra */
.rzc-wipe { position: absolute; inset: 0; pointer-events: none; display: none; }
.t2 .rzc-wipe, .t3 .rzc-wipe { display: block; }
.rzc-wipe i { position: absolute; top: -20%; bottom: -20%; width: 18vmax; left: -30vmax; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-18deg); opacity: .9; }
.t2.go .rzc-wipe i { animation: rzcWipe .7s cubic-bezier(.5, 0, .3, 1) both; }
.t2.go .rzc-wipe i:nth-child(2) { animation-delay: .12s; width: 8vmax; }
.t2.go .rzc-wipe i:nth-child(3) { animation-delay: .24s; width: 4vmax; }
.t2.go .rzc-cam { animation: rzcPush 3.6s .3s ease-out both; }
.t2.go .rzc-disc { animation: rzcDiscSide .85s .8s cubic-bezier(.2, .9, .25, 1.1) both; }

/* Diamant : iris en losange, caméra qui bascule, impact, secousse, prisme */
.rzc-iris { position: absolute; inset: 0; display: none; pointer-events: none; z-index: 1; }
.t3 .rzc-iris { display: block; background: conic-gradient(from 0deg at 50% 45%, #9ff0ff, #c9a7ff, #ffd6f6, #a8ffcf, #9ff0ff); mix-blend-mode: screen; clip-path: polygon(50% 45%, 50% 45%, 50% 45%, 50% 45%); opacity: .0; }
.t3.go .rzc-iris { animation: rzcIris 1.1s .25s cubic-bezier(.6, 0, .2, 1) both; }
.t3.go .rzc-bg { animation: rzcFadeIn .4s .9s both; }
.t3.go .rzc-rays { animation: rzcFadeIn .8s 2.5s ease-out both, rzcSpin 20s linear infinite; }
.t3 .rzc-rays { background: repeating-conic-gradient(from 0deg, rgba(159, 240, 255, .5) 0deg 5deg, transparent 5deg 20deg, rgba(201, 167, 255, .45) 20deg 25deg, transparent 25deg 40deg, rgba(255, 214, 246, .45) 40deg 45deg, transparent 45deg 60deg); }
.t3.go .rzc-actor { animation: rzcActorIn .8s 1s cubic-bezier(.2, .85, .25, 1.08) both; }
.t3.go .rzc-disc { animation: rzcDiscDrop 1s 1.55s cubic-bezier(.3, 0, .2, 1) both; }
.t3.go .rzc-vinyl { animation: rzcFastSpin 1s 1.55s cubic-bezier(.1, .6, .3, 1) both, rzcSpin 7s 2.55s linear infinite; }
.t3.go .rzc-halo { animation: rzcFadeIn .5s 2.5s both, rzcPulse 2s 3s ease-in-out infinite; }
.t3.go .rzc-shine { animation: rzcFadeIn .6s 2.55s both; }
.t3.go .rzc-plaque { animation: rzcFadeIn .8s 2.9s ease-out both; }
.t3.go .rzc-cam { animation: rzcCamTilt 5.4s .9s cubic-bezier(.3, 0, .2, 1) both; }
.t3.go .rzc-stage { animation: rzcShake .5s 2.55s linear both; }
.t3.go .rzc-ring { animation: rzcRing .9s 2.55s ease-out forwards; }
.t3 .rzc-ring { border-color: #bff6ff; box-shadow: 0 0 30px #9ff0ff, inset 0 0 20px #c9a7ff; }
.t2.go .rzc-ring { animation: rzcRing .8s 1.55s ease-out forwards; }
.t3.go .rzc-wipe i { animation: rzcWipe .8s 3.2s cubic-bezier(.5, 0, .3, 1) both; background: linear-gradient(90deg, transparent, rgba(190, 245, 255, .8), transparent); }
.t3.go .rzc-wipe i:nth-child(2) { animation-delay: 3.3s; width: 6vmax; }
.t3.go .rzc-wipe i:nth-child(3) { display: none; }

@keyframes rzcFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rzcSpin { to { transform: rotate(360deg); } }
@keyframes rzcPulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .8; } 50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } }
@keyframes rzcDiscIn { 0% { opacity: 0; transform: translateX(-50%) scale(.25); } 100% { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes rzcDiscSide { 0% { opacity: 0; transform: translateX(-160%) scale(.6) rotate(-25deg); filter: blur(6px); } 100% { opacity: 1; transform: translateX(-50%) scale(1); filter: blur(0); } }
@keyframes rzcDiscDrop { 0% { opacity: 0; transform: translate(-50%, -70vh) scale(.5); } 70% { opacity: 1; transform: translate(-50%, 2%) scale(1.06); } 100% { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes rzcFlip { 0% { transform: rotateY(540deg) scale(.6); } 100% { transform: rotateY(0) scale(1); } }
@keyframes rzcFastSpin { 0% { transform: rotate(-1080deg); } 100% { transform: rotate(0); } }
@keyframes rzcActorIn { 0% { transform: translate(-50%, 100%); } 100% { transform: translate(-50%, 0); } }
@keyframes rzcPart { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 8vmin)) rotate(var(--r)) scale(.4); } }
@keyframes rzcFlash { 0% { opacity: .9; } 100% { opacity: 0; } }
@keyframes rzcFlash2 { 0% { opacity: .55; } 100% { opacity: 0; } }
@keyframes rzcUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rzcWord { 0% { opacity: 0; transform: translateY(18px) scale(.7); } 100% { opacity: 1; transform: none; } }
@keyframes rzcWordBig { 0% { opacity: 0; transform: scale(2.2); filter: blur(8px); } 100% { opacity: 1; transform: none; filter: blur(0); } }
@keyframes rzcPrism { to { background-position: 300% 0; } }
@keyframes rzcWipe { 0% { left: -30vmax; } 100% { left: 130vw; } }
@keyframes rzcPush { from { transform: scale(1); } to { transform: scale(1.045); } }
@keyframes rzcIris { 0% { opacity: 1; clip-path: polygon(50% 45%, 50% 45%, 50% 45%, 50% 45%); } 70% { opacity: 1; clip-path: polygon(50% -60%, 160% 45%, 50% 150%, -60% 45%); } 100% { opacity: 0; clip-path: polygon(50% -60%, 160% 45%, 50% 150%, -60% 45%); } }
@keyframes rzcCamTilt { 0% { transform: scale(1.12) rotate(-2deg); } 30% { transform: scale(1.06) rotate(1.2deg); } 55% { transform: scale(1.04) rotate(0); } 100% { transform: scale(1) rotate(0); } }
@keyframes rzcShake { 0%, 100% { transform: none; } 15% { transform: translate(-8px, 5px); } 30% { transform: translate(7px, -6px); } 45% { transform: translate(-5px, -3px); } 60% { transform: translate(4px, 4px); } 80% { transform: translate(-2px, 1px); } }
@keyframes rzcRing { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(90); border-width: .2px; } }
@keyframes rzcHue { to { filter: hue-rotate(360deg); } }

/* Mouvements réduits : simple fondu, image finale fixe */
.rzc-reduced *, .rzc-reduced *::before { animation: none !important; transition: none !important; }
.rzc-reduced.go .rzc-bg, .rzc-reduced.go .rzc-disc, .rzc-reduced.go .rzc-plaque, .rzc-reduced.go .rzc-kicker, .rzc-reduced.go .rzc-title span, .rzc-reduced.go .rzc-sub, .rzc-reduced.go .rzc-halo { opacity: 1; }
.rzc-reduced.go .rzc-disc { transform: translateX(-50%); }
.rzc-reduced.go .rzc-actor { transform: translate(-50%, 0); }
.rzc-reduced .rzc-vinyl, .rzc-reduced .rzc-burst, .rzc-reduced .rzc-rays { display: none; }

/* Écrans larges : disque à gauche, artiste à droite */
@media (min-aspect-ratio: 5/4) and (min-height: 420px) {
    .rzc-disc { --ds: min(30vw, 46vh, 400px); left: 31%; top: 24%; }
    .rzc-ring, .rzc-burst { left: 31%; top: calc(24% + min(30vw, 46vh, 400px) * .52); }
    .rzc-actor { --h: min(70vh, 640px); left: 68%; }
    .rzc-text { top: 6%; }
}
@media (max-height: 520px) and (orientation: landscape) {
    .rzc-disc { --ds: min(40vh, 34vw); left: 30%; top: 26%; }
    .rzc-ring, .rzc-burst { left: 30%; top: calc(26% + min(40vh, 34vw) * .52); }
    .rzc-actor { --h: 70vh; left: 70%; }
    .rzc-title { font-size: clamp(24px, 7vh, 44px); }
}

/* =========================
   SCÈNES DE CONCERT
========================= */

#rzStage {
    position: fixed; inset: 0; z-index: 9500; overflow: hidden; background: #000; color: #fff;
    font-family: Inter, system-ui, sans-serif; -webkit-tap-highlight-color: transparent;
    transition: opacity .25s;
}
#rzStage.out { opacity: 0; }
.rzs-cam {
    --ah: 360px; --aw: 307px; --stage: 70vh; --fy: 40%;
    position: absolute; inset: -9%; transform-origin: 50% var(--fy);
    transition: transform 1.1s cubic-bezier(.45, .05, .25, 1), filter .6s;
}
.rzs-back { position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 35%, #1a0d1c, #020203 75%); background: radial-gradient(80% 60% at 50% 35%, color-mix(in srgb, var(--c1) 22%, #0a0610), #020203 75%); opacity: .25; transition: opacity .8s; }
.rzs-sky { position: absolute; inset: 0 0 38% 0; background: linear-gradient(#0b0820 0%, #2a0f3c 45%, #6a1e46 75%, #c2492f 100%); opacity: .35; transition: opacity .8s; }
.rzs-stadium .rzs-sky { background: radial-gradient(120% 70% at 50% 110%, #1b2240, #05060d 60%); }
.lights .rzs-back, .lights .rzs-sky { opacity: 1; }

/* Petit concert : mur de briques + néon */
.rzs-small .rzs-back {
    background:
        radial-gradient(60% 50% at 50% 38%, rgba(255, 120, 60, .22), transparent 70%),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .55) 0 2px, transparent 2px 22px),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, .45) 0 2px, transparent 2px 46px),
        linear-gradient(#2a1210, #120706);
}
.rzs-neon { position: absolute; left: 50%; top: 15.3%; transform: translateX(-50%); font: 400 clamp(26px, 7vw, 54px) / 1 "Bebas Neue", Impact, sans-serif; letter-spacing: .15em; color: #ffd0d4; opacity: .15; text-shadow: 0 0 6px #ff2b4a, 0 0 18px #ff2b4a, 0 0 40px #ff2b4a; }
.lights .rzs-neon { animation: rzsNeon 2.4s .2s steps(1) both, rzsFlicker 4s 2.6s infinite; opacity: 1; }
.rzs-banner { position: absolute; left: 50%; top: 11.9%; transform: translateX(-50%); padding: 6px 16px; border: 2px solid #ffb347; color: #ffe2b8; font: 400 clamp(20px, 5vw, 38px) / 1 "Bebas Neue", Impact, sans-serif; letter-spacing: .2em; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .8s; white-space: nowrap; }
.lights .rzs-banner { opacity: 1; }

/* Grandes salles : rideaux / mur LED */
.rzs-hall .rzs-back, .rzs-zenith .rzs-back { background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .55) 0 6px, rgba(255, 255, 255, .02) 6px 26px), radial-gradient(80% 60% at 50% 35%, #3a0b2a, #050208 75%); }
.rzs-arena .rzs-back, .rzs-tour .rzs-back { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .5) 0 3px, transparent 3px 9px), linear-gradient(#0c1030, #030308); background: radial-gradient(60% 40% at 50% 30%, color-mix(in srgb, var(--c1) 35%, transparent), transparent 70%), repeating-linear-gradient(0deg, rgba(0, 0, 0, .5) 0 3px, transparent 3px 9px), linear-gradient(#0c1030, #030308); }
.rzs-truss { position: absolute; left: 11%; right: 11%; top: 10.2%; height: 10px; background: repeating-linear-gradient(45deg, #2a2a33 0 4px, #0d0d12 4px 8px); box-shadow: 0 0 0 1px #000; opacity: 0; transition: opacity .6s; }
.rzs-small .rzs-truss { left: 24.6%; right: 24.6%; }
.lights .rzs-truss { opacity: .9; }

/* Écrans géants : l'artiste en direct */
.rzs-screens { position: absolute; inset: 0; pointer-events: none; }
.rzs-screen { position: absolute; top: 15.3%; width: min(28vw, 30vh); aspect-ratio: 16 / 10; border: 3px solid #15151c; background: #05050a; overflow: hidden; opacity: 0; transition: opacity .7s .2s; box-shadow: 0 0 40px rgba(255, 255, 255, .15); box-shadow: 0 0 40px color-mix(in srgb, var(--c1) 45%, transparent); }
.rzs-screen.l { left: 10.2%; } .rzs-screen.r { right: 10.2%; }
.rzs-screen.big { left: 50%; top: 10.2%; width: min(40vw, 30vh); transform: translateX(-50%); }
@media (min-aspect-ratio: 1/1) { .rzs-screen.big { width: min(30vw, 34vh); top: 9.3%; } .rzs-screen { width: min(22vw, 30vh); } }
.rzs-screen-in { position: absolute; inset: 0; background: var(--cut) 50% 22% / 120% auto no-repeat, linear-gradient(135deg, var(--c1), var(--c2)); }
.rzs-screen-in::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 2px, transparent 2px 4px); mix-blend-mode: multiply; }
.reveal .rzs-screen { opacity: 1; }
.rzs-screen::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .14); opacity: 0; }
.reveal .rzs-screen::after { animation: rzsScreen .667s ease-in-out infinite; }

/* Faisceaux et lasers */
.rzs-beams { position: absolute; inset: 0; pointer-events: none; }
.rzs-beams i {
    position: absolute; top: 10.2%; left: var(--x); width: 26vmin; height: 92vh; margin-left: -13vmin;
    background: linear-gradient(to bottom, var(--c), transparent 92%);
    background: linear-gradient(to bottom, color-mix(in srgb, var(--c) 85%, white), transparent 92%);
    clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
    transform-origin: 50% 0; transform: rotate(var(--a)); opacity: 0; mix-blend-mode: screen;
    transition: opacity .5s;
}
.lights .rzs-beams i { opacity: .45; animation: rzsBeam 3.2s var(--d) ease-in-out infinite alternate; }
.rz-low .rzs-beams i { mix-blend-mode: normal; }
.rzs-lasers { position: absolute; left: 50%; top: 11%; width: 0; height: 0; }
.rzs-lasers i { position: absolute; left: 0; top: 0; width: 140vmax; height: 2px; transform-origin: 0 50%; transform: rotate(calc(90deg + var(--a))); background: linear-gradient(90deg, #7dff9b, transparent 80%); opacity: 0; box-shadow: 0 0 8px #7dff9b; }
.rzs-lasers i:nth-child(even) { background: linear-gradient(90deg, #ff3b6b, transparent 80%); box-shadow: 0 0 8px #ff3b6b; }
.perform .rzs-lasers i { animation: rzsLaser 2.666s var(--d) ease-in-out infinite; }

/* L'artiste sur scène */
.rzs-artist { position: absolute; left: 50%; top: calc(var(--stage) - var(--ah) * .94); width: var(--aw); height: var(--ah); transform: translate(-50%, 18%); opacity: 0; transition: opacity .6s, transform .9s cubic-bezier(.2, .85, .25, 1.05); }
.rzs-artist .rzav { height: 100%; }
/* V13.5 : visuel de scène en pied (assets/stage/avatarN.webp) — remplace le buste et le micro dessiné */
.rzs-artist { top: var(--atop, calc(var(--stage) - var(--ah) * .94)); }
.rzs-legacy { position: absolute; inset: 0; display: none; }
.rzs-nofig .rzs-legacy { display: block; }
.rzs-nofig .rzs-move, .rzs-nofig .rzs-shadow { display: none; }
.rzs-move, .rzs-sway { position: absolute; inset: 0; transform-origin: 50% 100%; }
.rzs-fig { position: absolute; left: 50%; bottom: 0; height: var(--fh, 100%); width: auto; max-width: none; transform: translateX(-50%); transform-origin: 50% 100%; pointer-events: none; user-select: none; -webkit-user-drag: none;
    filter: drop-shadow(0 0 14px rgba(0, 0, 0, .55)) drop-shadow(0 0 2px var(--rim, rgba(255, 255, 255, .3))); }
.rzs-cutfig .rzs-fig { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); }
.rzs-shadow { position: absolute; left: 50%; bottom: calc(var(--fh, 0px) * -.01); width: 70%; height: 6%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .65), transparent); }
.rzs-cutfig .rzs-shadow { display: none; }
/* respiration avant le show, puis rebond sur le temps (~90 BPM) et balancement */
.reveal .rzs-fig { animation: rzFigBreath 2.6s ease-in-out infinite; }
.perform .rzs-fig { animation: rzFigBounce .667s cubic-bezier(.35, 0, .4, 1) infinite; }
.perform .rzs-sway { animation: rzFigSway 2.667s ease-in-out infinite; }
.perform .rzs-shadow { animation: rzFigShadow .667s cubic-bezier(.35, 0, .4, 1) infinite; }
.rzs-move.mv-jump { animation: rzFigJump .82s cubic-bezier(.3, .6, .35, 1) 1; }
.rzs-move.mv-stepl { animation: rzFigStepL 1.3s ease-in-out 1; }
.rzs-move.mv-stepr { animation: rzFigStepR 1.3s ease-in-out 1; }
.rzs-move.mv-lean { animation: rzFigLean 1.3s ease-in-out 1; }
.rzs-move.mv-cele { animation: rzFigCele 1.5s cubic-bezier(.3, .6, .35, 1) 1; }
@keyframes rzFigBreath { 0%, 100% { transform: translateX(-50%) scale(1, 1); } 50% { transform: translateX(-50%) scale(1.004, 1.012); } }
@keyframes rzFigBounce { 0%, 100% { transform: translateX(-50%) translateY(0) scale(1.012, .985); } 45% { transform: translateX(-50%) translateY(-2.4%) scale(.995, 1.01); } }
@keyframes rzFigShadow { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; } 45% { transform: translateX(-50%) scale(.88); opacity: .75; } }
@keyframes rzFigSway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes rzFigJump { 0% { transform: translateY(0) scale(1, 1); } 14% { transform: translateY(2%) scale(1.04, .93); } 46% { transform: translateY(-15%) scale(.97, 1.04); } 78% { transform: translateY(1.5%) scale(1.05, .93); } 100% { transform: none; } }
@keyframes rzFigStepL { 0%, 100% { transform: none; } 40%, 60% { transform: translateX(-22%) rotate(-3deg); } }
@keyframes rzFigStepR { 0%, 100% { transform: none; } 40%, 60% { transform: translateX(22%) rotate(3deg); } }
@keyframes rzFigLean { 0%, 100% { transform: none; } 35%, 65% { transform: rotate(-5deg) translateX(-4%) scale(1.03); } }
@keyframes rzFigCele { 0% { transform: none; } 10% { transform: translateY(2%) scale(1.05, .92); } 30% { transform: translateY(-17%) scale(.97, 1.05); } 48% { transform: translateY(1%) scale(1.05, .93); } 66% { transform: translateY(-12%); } 84% { transform: translateY(1%) scale(1.03, .95); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .rzs-fig, .rzs-sway, .rzs-shadow, .rzs-move { animation: none !important; } }
.rzs-artist .rzav { -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 99%); mask-image: linear-gradient(to bottom, #000 86%, transparent 99%); }
.reveal .rzs-artist { opacity: 1; transform: translate(-50%, 0); }
.rzs-spot { position: absolute; left: 50%; top: -55%; width: 160%; height: 170%; transform: translateX(-50%); background: radial-gradient(42% 52% at 50% 62%, rgba(255, 240, 220, .35), transparent 70%); opacity: 0; transition: opacity .6s; }
.reveal .rzs-spot { opacity: 1; }

/* Avant-scène : cache le bas du buste et éclaire la foule par derrière (silhouettes en contre-jour) */
.rzs-floor {
    position: absolute; left: -5%; right: -5%; top: calc(var(--stage) - 6px); bottom: 0;
    background:
        radial-gradient(70% 55% at 50% 0%, rgba(var(--rim), .42), transparent 75%),
        linear-gradient(#2a2a33 0, #121218 22px, #08080b 23px, #050507 100%);
    border-top: 2px solid rgba(var(--rim), .6); box-shadow: 0 -10px 30px rgba(var(--rim), .22);
}
.rzs-floor::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 0%, rgba(var(--rim), .3), transparent 75%); opacity: 0; }
.lights .rzs-floor::after { animation: rzsSpill 1.333s ease-in-out infinite; }
@keyframes rzsSpill { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.rzs-crowd { position: absolute; left: 0; right: 0; top: calc(var(--stage) - 1.5vh); width: 100%; height: calc(92.37% - var(--stage) + 1.5vh); transition: transform 1.1s cubic-bezier(.45, .05, .25, 1), opacity .6s; transform-origin: 50% 100%; }

/* Pyrotechnie (stade) */
.rzs-pyro i { position: absolute; left: var(--x); top: calc(var(--stage) - 34vh); width: 7vmin; height: 34vh; margin-left: -3.5vmin; transform-origin: 50% 100%; transform: scaleY(0); opacity: 0; background: radial-gradient(50% 30% at 50% 22%, #fff7c9, #ffb347 40%, #ff4d1a 65%, transparent 72%), linear-gradient(to top, rgba(255, 120, 30, .9), rgba(255, 60, 20, 0)); border-radius: 50% 50% 20% 20%; mix-blend-mode: screen; }
.rzs-pyro.go i { animation: rzsPyro 1.1s ease-out both; }
.rzs-pyro.go i:nth-child(2), .rzs-pyro.go i:nth-child(3) { animation-delay: .18s; }

/* Confettis de fin */
.rzs-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rzs-confetti i { position: absolute; left: var(--x); top: -4%; width: 7px; height: 12px; background: var(--c); opacity: 0; }
.ending .rzs-confetti i { animation: rzsConfetti var(--t) var(--d) linear both; }

/* Flashs */
.rzs-strobe { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
#rzStage[data-shot="flash"] .rzs-strobe { animation: rzsStrobe .667s ease-out 2; }
#rzStage[data-shot="hype"] .rzs-strobe { animation: rzsStrobe .8s .3s ease-out 1; }

/* Plans de caméra (variantes) */
#rzStage[data-shot="front"] .rzs-cam { transform: scale(1.04); }
#rzStage[data-shot="close"] .rzs-cam { transform: scale(1.75); }
#rzStage[data-shot="close"] .rzs-crowd { opacity: .55; }
@media (max-aspect-ratio: 3/4) { #rzStage[data-shot="close"] .rzs-cam { transform: scale(1.42); } }
#rzStage[data-shot="wide"] .rzs-cam { transform: scale(.86); }
#rzStage[data-shot="hype"] .rzs-cam { transform: scale(1.12) rotate(-.6deg); }
#rzStage[data-shot="screens"] .rzs-cam { transform: scale(1.18) translateY(9%); transform-origin: 50% 10%; }
#rzStage[data-shot="audience"] .rzs-crowd { transform: scale(1.55) translateY(4%); }
#rzStage[data-shot="audience"] .rzs-artist { opacity: .92; }
#rzStage[data-shot="audience"] .rzs-cam { transform: scale(1.06) translateY(-3%); }
#rzStage[data-shot="flash"] .rzs-cam { transform: scale(1.1); }
#rzStage[data-shot="end"] .rzs-cam { transform: scale(1.02); }
#rzStage[data-shot="flash"] .rzs-beams i { animation-duration: .6s; opacity: .7; }

/* Habillage */
.rzs-hud { position: absolute; left: 14px; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 4; display: grid; gap: 2px; opacity: 0; transition: opacity .5s; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); max-width: calc(100% - 28px); }
.lights .rzs-hud { opacity: 1; }
.rzs-live { font: 800 11px / 1 Inter, sans-serif; letter-spacing: .18em; color: #ff3b4b; animation: rzsLive 1s steps(1) infinite; }
.rzs-hud b { font: 400 clamp(20px, 5vw, 30px) / 1 "Bebas Neue", Oswald, sans-serif; letter-spacing: .05em; }
.rzs-hud small { font: 600 12px / 1.2 Inter, sans-serif; color: rgba(255, 255, 255, .8); }
.rzs-ticker { position: absolute; left: 0; right: 0; top: calc(var(--stage, 70vh) - 2px); z-index: 2; overflow: hidden; white-space: nowrap; font: 400 16px / 22px "Bebas Neue", Oswald, sans-serif; letter-spacing: .2em; color: #ffc857; background: rgba(0, 0, 0, .55); border-block: 1px solid rgba(255, 200, 87, .4); opacity: 0; transition: opacity .6s; top: auto; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.lights .rzs-ticker { opacity: 1; }
.rzs-ticker span { display: inline-block; padding-right: 2em; animation: rzsTicker 12s linear infinite; }
.rzs-lower { position: absolute; left: 14px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 4; max-width: calc(100% - 28px); padding: 8px 14px; border-left: 3px solid var(--red, #ff202b); background: rgba(0, 0, 0, .62); font: 700 clamp(13px, 3.4vw, 16px) / 1.2 Inter, sans-serif; opacity: 0; transform: translateX(-16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rzs-tour .rzs-lower { bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }
.rzs-lower:empty { display: none; }
.rzs-lower.on { animation: rzsLower 1.45s ease-out both; }
.rzs-end { position: absolute; left: 0; right: 0; top: 16%; z-index: 4; text-align: center; opacity: 0; transform: scale(.9); transition: opacity .4s, transform .5s cubic-bezier(.2, .9, .3, 1.3); pointer-events: none; padding: 0 12px; }
.ending .rzs-end { opacity: 1; transform: none; }
.rzs-end p { margin: 0; font: 800 clamp(12px, 3vw, 15px) / 1 Inter, sans-serif; letter-spacing: .3em; color: #ffc857; }
.rzs-end h2 { margin: 4px 0; font: 400 clamp(40px, 12vw, 92px) / .9 "Bebas Neue", Impact, sans-serif; text-shadow: 0 0 30px rgba(var(--rim, 255, 80, 80), .6), 0 4px 0 rgba(0, 0, 0, .4); overflow-wrap: anywhere; }
.rzs-end small { font: 600 14px / 1.2 Inter, sans-serif; color: rgba(255, 255, 255, .85); }
.rzs-black { position: absolute; inset: 0; z-index: 6; background: #000; opacity: 0; pointer-events: none; transition: opacity .5s; }
.rzs-black.on { opacity: 1; }
.rzs-black.blink { opacity: 1; transition: none; }
.rzs-ui { position: absolute; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 7; display: flex; gap: 8px; }

@keyframes rzsNeon { 0% { opacity: .2; } 10% { opacity: 1; } 14% { opacity: .3; } 18% { opacity: 1; } 100% { opacity: 1; } }
@keyframes rzsFlicker { 0%, 92%, 100% { opacity: 1; } 94% { opacity: .55; } 96% { opacity: 1; } 97% { opacity: .7; } }
@keyframes rzsBeam { from { transform: rotate(var(--a)); } to { transform: rotate(calc(var(--a) * -1)); } }
@keyframes rzsLaser { 0%, 100% { opacity: 0; } 20%, 60% { opacity: .85; } 40% { transform: rotate(calc(90deg + var(--a) * .4)); } }
@keyframes rzsScreen { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes rzsPyro { 0% { transform: scaleY(0); opacity: 0; } 15% { transform: scaleY(1.05); opacity: 1; } 60% { transform: scaleY(.9); opacity: .9; } 100% { transform: scaleY(.3); opacity: 0; } }
@keyframes rzsConfetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 1; transform: translate(var(--w), 110vh) rotate(var(--r)); } }
@keyframes rzsStrobe { 0% { opacity: .38; } 35%, 100% { opacity: 0; } }
@keyframes rzsLive { 50% { opacity: .3; } }
@keyframes rzsTicker { to { transform: translateX(-100%); } }
@keyframes rzsLower { 0% { opacity: 0; transform: translateX(-16px); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(8px); } }

/* Mouvements réduits : fondus seulement */
.rzs-reduced *, .rzs-reduced *::before, .rzs-reduced .rzs-cam { animation: none !important; }
.rzs-reduced .rzs-beams, .rzs-reduced .rzs-lasers, .rzs-reduced .rzs-confetti, .rzs-reduced .rzs-strobe { display: none; }

/* =========================
   ACCESSIBILITÉ : mouvements réduits
========================= */
@media (prefers-reduced-motion: reduce) {
    .rzav, .rzav *, .rzav::before, .rzav::after { animation: none !important; }
    .rz-grid .model-card, .rz-grid .model-card.rz-pop, .rz-grid .model-card.rz-pop::after { animation: none !important; transition: none !important; }
}

/* =========================
   V13.1 : DÉCORS DE CONCERT (decors.js)
   Plan d'ensemble du lieu au début du show + arrière-plan propre à chaque salle.
========================= */
.rzd-venue { position: absolute; left: 0; top: 0; width: 100%; height: var(--stage, 70%); opacity: .22; transition: opacity .8s; pointer-events: none; }
.lights .rzd-venue { opacity: 1; }
.rzs-hall .rzs-back, .rzs-zenith .rzs-back, .rzs-arena .rzs-back, .rzs-tour .rzs-back, .rzs-stadium .rzs-back, .rzs-festival .rzs-back { opacity: 0 !important; }
.rzs-stadium .rzs-sky, .rzs-festival .rzs-sky { display: none; }
.rzs-hall .rzs-truss, .rzs-stadium .rzs-truss { display: none; }

.rzd-pano { position: absolute; inset: 0; z-index: 3; opacity: 0; transition: opacity .45s; pointer-events: none; overflow: hidden; background: #000; }
.rzd-pano svg { position: absolute; left: -4%; top: -4%; width: 108%; height: 108%; transform: scale(1.16); transform-origin: 50% 52%; transition: transform 3.4s cubic-bezier(.2, .6, .3, 1); }
.pano-on .rzd-pano { opacity: 1; }
.pano-on .rzd-pano svg { transform: scale(1); }
.pano-end .rzd-pano svg { transform: scale(1.04); transition-duration: 2.4s; }
.pano-end .rzd-pano-cap { opacity: 0 !important; }
.pano-end .rzs-end { z-index: 5; }
.rzd-pano-cap { position: absolute; left: 16px; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 2px; text-shadow: 0 2px 12px rgba(0, 0, 0, .9); opacity: 0; transform: translateY(12px); transition: opacity .5s .5s, transform .6s .5s; }
.pano-on .rzd-pano-cap { opacity: 1; transform: none; }
.rzd-pano-cap small { font: 800 12px / 1 Inter, sans-serif; letter-spacing: .3em; color: #ffc857; }
.rzd-pano-cap b { font: 400 clamp(34px, 10vw, 64px) / .95 "Bebas Neue", Impact, sans-serif; letter-spacing: .03em; }
.rzd-pano-cap span { font: 700 14px / 1.2 Inter, sans-serif; color: rgba(255, 255, 255, .9); }

.rzd-tw { animation: rzdTw var(--t, 2s) var(--d, 0s) ease-in-out infinite alternate; }
.rzd-beam { transform-box: fill-box; transform-origin: 50% 0; animation: rzdSway 3.2s var(--d, 0s) ease-in-out infinite alternate; }
.rzd-flood { animation: rzdFlood 2.666s var(--d, 0s) ease-in-out infinite; }
.rzd-arm { transform-box: fill-box; transform-origin: 50% 100%; animation: rzdArm .666s var(--d, 0s) ease-in-out infinite alternate; }
.rzd-pit { animation: rzdJump .666s ease-in-out infinite alternate; }
.rzd-fw { transform-box: fill-box; animation: rzdFw 2.1s var(--d, 0s) ease-out infinite; opacity: 0; }
.rzd-flag { transform-box: fill-box; animation: rzdFlag 1.4s var(--d, 0s) ease-in-out infinite alternate; }
.rzd-mini { transform-box: fill-box; transform-origin: 50% 100%; animation: rzdMini .666s ease-in-out infinite alternate; }
@keyframes rzdTw { from { opacity: .25; } to { opacity: 1; } }
@keyframes rzdSway { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes rzdFlood { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes rzdArm { from { transform: rotate(-8deg); } to { transform: rotate(10deg); } }
@keyframes rzdJump { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes rzdFw { 0% { opacity: 0; transform: scale(.1); } 12% { opacity: 1; } 70% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
@keyframes rzdFlag { from { transform: skewY(-4deg); } to { transform: skewY(5deg); } }
@keyframes rzdMini { from { transform: translateY(0); } to { transform: translateY(-2px); } }
.rz-low .rzd-tw, .rz-low .rzd-pit, .rz-low .rzd-arm { animation: none; }
@media (min-aspect-ratio: 1/1) { .rzd-pano svg { top: -10%; height: 150%; } }
