/* V434 — LE CHOIX DE LA JAQUETTE (biome et taille) EN VERSUS, LA JAQUETTE FINALE, LA TRANSITION DU BIOME
   (src/ui/selection-biomes.js). Racine : #jaquettesV434 (.modal .jaquettes-v434). Liée après
   univers-champions.css, avant paysage-mobile.css. Les boutons passent par #jaquettesV434 : l'habillage
   arcade (« body[data-ui-skin="arcade"] .shop-layer button ») est plus fort qu'une classe. */

.jaquettes-v434 { z-index: 46; padding: 12px; }
.sbj-ecran {
  --sbj-osd: #7ee04a;
  position: relative; width: min(1440px, 100%); height: min(900px, calc(100vh - 24px));
  display: grid; grid-template-rows: 54px minmax(0, 1fr) 54px;
  border-radius: 14px; overflow: hidden; color: #f1f0ff; font-family: Barlow, system-ui, sans-serif;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px),
    radial-gradient(55% 80% at 14% 55%, color-mix(in srgb, var(--sbj-g, #59ecff) 30%, transparent), transparent 64%),
    radial-gradient(55% 80% at 86% 55%, color-mix(in srgb, var(--sbj-d, #ff4fa3) 30%, transparent), transparent 64%),
    linear-gradient(100deg, #0d0818 0 49.6%, #05040a 49.6% 50.4%, #0a0716 50.4%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
/* Les bandes de cinéma (comme le versus). */
.sbj-bande { position: relative; z-index: 3; display: grid; align-items: center; gap: 14px; padding: 0 18px; background: #000; }
.sbj-haut { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); border-bottom: 1px solid #16121f; }
.sbj-rubrique { font: 8px/1.4 "Press Start 2P", monospace; letter-spacing: 0.12em; color: #8f89b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbj-haut h2 { margin: 0; font: 16px/1.2 "Press Start 2P", monospace; color: var(--sbj-actif); text-shadow: 0 0 14px color-mix(in srgb, var(--sbj-actif) 55%, transparent), 3px 3px 0 #2a0a2a; white-space: nowrap; }
.sbj-osd { justify-self: end; font: 11px/1 "Press Start 2P", monospace; color: var(--sbj-osd); text-shadow: 0 0 6px var(--sbj-osd); }
.sbj-bas { grid-template-columns: auto minmax(0, 1fr) auto auto; border-top: 1px solid #16121f; }
.sbj-message { margin: 0; font: 13px/1.3 Barlow, sans-serif; color: #a9a3c9; text-align: center; }
#jaquettesV434 .sbj-bouton { padding: 9px 12px; border-radius: 6px; border: 1px solid #2d2840; background: #0c0a14; box-shadow: none; color: #d9d4ee; font: 9px/1.2 "Press Start 2P", monospace; letter-spacing: normal; text-transform: none; cursor: pointer; }
#jaquettesV434 .sbj-bouton:is(:hover, :focus-visible) { border-color: var(--sbj-actif); background: #0c0a14; color: #fff; outline: none; }

/* ------------------------------------------------------------------ l'arène du choix */
.sbj-arene { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 540px) minmax(0, 1fr); gap: 14px; padding: 12px 18px 10px; min-height: 0; }
.sbj-cote { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 6px; min-height: 0; min-width: 0; justify-items: center; }
.sbj-etiquette { justify-self: start; display: flex; align-items: center; gap: 8px; }
.sbj-droite .sbj-etiquette { justify-self: end; flex-direction: row-reverse; }
.sbj-etiquette b { padding: 5px 7px; border-radius: 4px; background: var(--sbj-joueur); color: #05040a; font: 12px/1 "Press Start 2P", monospace; box-shadow: 0 0 14px color-mix(in srgb, var(--sbj-joueur) 70%, transparent); }
.sbj-etiquette span { font: 8px/1 "Press Start 2P", monospace; letter-spacing: 0.08em; color: var(--sbj-joueur); }
.sbj-cote.actif .sbj-etiquette span { animation: sbj-clignote 1s steps(1) infinite; }
@keyframes sbj-clignote { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.35; } }

/* LE BOÎTIER : au fond le disque qui tourne, devant la jaquette en transparence, devant le champion. */
.sbj-boitier {
  position: relative; height: 100%; max-height: 100%; aspect-ratio: 2 / 3; max-width: 100%; border-radius: 8px 12px 12px 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0.07)), #07060c;
  border: 5px solid rgba(24, 28, 38, 0.95); outline: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), inset 0 0 0 2px rgba(255, 255, 255, 0.05), 0 0 34px color-mix(in srgb, var(--sbj-couleur) 30%, transparent);
  overflow: hidden; isolation: isolate;
}
.sbj-charniere { position: absolute; left: 0; top: 0; bottom: 0; width: 7%; z-index: 4; background: linear-gradient(90deg, rgba(0, 0, 0, 0.75), rgba(40, 44, 56, 0.6) 60%, rgba(255, 255, 255, 0.1)); }
.sbj-disque { position: absolute; left: 11%; top: 13%; width: 84%; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, transparent 0 9%, #c7d2dc 9.5% 12%, transparent 12.5% 30%, rgba(255, 255, 255, 0.25) 30.5% 31.5%, transparent 32%), conic-gradient(from 10deg, #b9f2ff, #ffd1f3 60deg, #fff3b0 120deg, #b8ffd4 180deg, #a9c9ff 240deg, #ffd1f3 300deg, #b9f2ff);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.4), 0 0 40px color-mix(in srgb, var(--sbj-couleur) 60%, transparent);
  animation: sbj-tourne 5s linear infinite; }
.sbj-disque-label { position: absolute; inset: 31%; border-radius: 50%; overflow: hidden; background: color-mix(in srgb, var(--sbj-couleur) 60%, #000); -webkit-mask: radial-gradient(circle, transparent 0 22%, #000 23%); mask: radial-gradient(circle, transparent 0 22%, #000 23%); }
.sbj-disque-label img { position: absolute; left: -18%; top: -6%; width: 136%; image-rendering: pixelated; }
@keyframes sbj-tourne { to { transform: rotate(360deg); } }
.sbj-jaquette { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; image-rendering: pixelated;
  -webkit-mask: radial-gradient(circle at 53% 38%, rgba(0, 0, 0, 0.35) 0 30%, #000 56%); mask: radial-gradient(circle at 53% 38%, rgba(0, 0, 0, 0.35) 0 30%, #000 56%); transition: opacity 0.25s ease; }
.sbj-jaquette-vide { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 10px, transparent 10px 20px); }
#jaquettesV434 .sbj-idle.scj-idle { left: 4%; right: 4%; top: auto; bottom: 2%; height: 74%; z-index: 2; }
#jaquettesV434 .sbj-idle .scj-video { object-position: 50% 100%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.8)); }
.sbj-droite .sbj-idle { scale: -1 1; }
.sbj-tampon { position: absolute; top: 9%; left: 50%; translate: -50% 0; rotate: -10deg; z-index: 5; padding: 6px 12px; border: 3px solid var(--sbj-joueur); border-radius: 6px; color: var(--sbj-joueur); background: rgba(0, 0, 0, 0.6); font: 16px/1 "Press Start 2P", monospace; text-shadow: 0 0 10px var(--sbj-joueur); animation: sbj-tampon 0.35s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes sbj-tampon { from { scale: 2.2; opacity: 0; } to { scale: 1; opacity: 1; } }
.sbj-nom { font: 700 clamp(26px, 3vw, 44px)/1 Barlow, sans-serif; color: var(--sbj-joueur); text-shadow: 3px 3px 0 #000; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.sbj-biome { margin: 0; font: 8px/1.5 "Press Start 2P", monospace; letter-spacing: 0.08em; color: #d8d4f0; }
.sbj-biome i { font-style: normal; color: var(--sbj-actif); margin-left: 4px; }

/* --- le centre : les jaquettes, le format, le VS */
.sbj-centre { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 0; overflow: auto; scrollbar-width: thin; padding: 4px; }
.sbj-rayon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; }
#jaquettesV434 .sbj-vignette { position: relative; aspect-ratio: 2 / 3; padding: 0; margin: 0; border: 2px solid #2f2750; border-radius: 4px; background: #100c1e; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6); color: #fff; font: inherit; letter-spacing: normal; text-transform: none; overflow: hidden; cursor: pointer; transition: translate 0.12s ease, border-color 0.12s ease; }
#jaquettesV434 .sbj-vignette img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.sbj-vignette-nom { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 3px 4px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.88)); font: 7px/1.3 "Press Start 2P", monospace; text-align: center; }
#jaquettesV434 .sbj-vignette:is(:hover, :focus-visible, .survol) { border-color: var(--sbj-actif); translate: 0 -4px; background: #100c1e; box-shadow: 0 0 0 2px var(--sbj-actif), 0 0 22px color-mix(in srgb, var(--sbj-actif) 60%, transparent); outline: none; }
#jaquettesV434 .sbj-vignette.verrouille img { filter: grayscale(0.9) brightness(0.4); }
.sbj-cadenas { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; color: #ffd24a; text-align: center; }
.sbj-cadenas small { font: 6px/1.4 "Press Start 2P", monospace; }
.sbj-badges { position: absolute; right: 2px; top: 2px; display: flex; gap: 2px; }
.sbj-badges i { padding: 3px; border-radius: 3px; background: var(--sbj-joueur); color: #05040a; font: normal 7px/1 "Press Start 2P", monospace; }
.sbj-detail { margin: 0; min-height: 2.6em; max-width: 100%; font: 13px/1.3 Barlow, sans-serif; color: #c9c4e6; text-align: center; }
.sbj-tailles { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.sbj-tailles-titre { width: 100%; text-align: center; font: 7px "Press Start 2P", monospace; letter-spacing: 0.12em; color: #8f89b8; }
#jaquettesV434 .sbj-taille { display: grid; gap: 3px; min-width: 104px; padding: 8px 10px; border-radius: 999px; border: 1px solid #2d2840; background: #0c0a14; box-shadow: none; color: #d9d4ee; font: inherit; letter-spacing: normal; text-transform: none; cursor: pointer; }
#jaquettesV434 .sbj-taille b { font: 8px "Press Start 2P", monospace; }
#jaquettesV434 .sbj-taille small { font: 600 11px Barlow, sans-serif; color: #8f89b8; }
#jaquettesV434 .sbj-taille.choisie { border-color: var(--sbj-actif); box-shadow: 0 0 0 1px var(--sbj-actif), 0 0 14px color-mix(in srgb, var(--sbj-actif) 45%, transparent); }
#jaquettesV434 .sbj-taille:is(:hover, :focus-visible) { border-color: var(--sbj-actif); background: #0c0a14; outline: none; }
#jaquettesV434 .sbj-taille:disabled { opacity: 0.35; cursor: default; }
.sbj-vs { display: flex; user-select: none; }
.sbj-vs span { font: 700 64px/0.85 Barlow, sans-serif; color: #fff; transform: skewX(-10deg); text-shadow: 4px 3px 0 var(--sbj-d, #ff4fa3), -4px -3px 0 var(--sbj-g, #59ecff); }
.sbj-autres { display: flex; gap: 8px; }
.sbj-autre { display: grid; padding: 4px 8px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--sbj-joueur) 50%, transparent); background: rgba(0, 0, 0, 0.5); }
.sbj-autre b { font: 9px "Press Start 2P", monospace; color: var(--sbj-joueur); }
.sbj-autre small { font: 600 10px Barlow, sans-serif; }

/* ------------------------------------------------------------------ la jaquette finale (gros plan) */
.sbj-finale { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 50%, rgba(20, 16, 34, 0.9), rgba(0, 0, 0, 0.97)); animation: sbj-f-fond 0.4s ease both; }
@keyframes sbj-f-fond { from { opacity: 0; } to { opacity: 1; } }
.sbj-f-boitier {
  position: relative; width: min(94vw, calc(84vh * 1.6)); aspect-ratio: 16 / 10; border-radius: 10px 16px 16px 10px; overflow: hidden;
  border: 8px solid rgba(20, 24, 32, 0.96); outline: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  animation: sbj-f-arrivee 0.7s cubic-bezier(0.2, 1.3, 0.35, 1) both;
}
@keyframes sbj-f-arrivee { from { transform: scale(0.55) rotate(-4deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
.sbj-f-jaquette { position: absolute; inset: 0; }
.sbj-f-art, .sbj-f-tirage { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; image-rendering: pixelated; }
.sbj-finale.tirage .sbj-f-art { opacity: 0; animation: sbj-f-pose 0.3s ease 1.45s forwards; }
.sbj-f-tirage { opacity: 0; animation: sbj-f-alterne calc(0.16s * var(--n)) steps(1) infinite; animation-delay: calc(0.16s * var(--i)); }
.sbj-finale.tirage .sbj-f-tirage { animation-iteration-count: 4; }
@keyframes sbj-f-alterne { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sbj-f-pose { from { opacity: 0; filter: brightness(2.2); } to { opacity: 1; filter: none; } }
.sbj-f-voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 28%, transparent 60%, rgba(0, 0, 0, 0.8)); }
.sbj-f-titre { position: absolute; left: 0; right: 0; top: 4%; z-index: 3; margin: 0; display: flex; justify-content: center; align-items: baseline; gap: 3%; font-size: clamp(30px, 4.6vw, 70px); line-height: 1; text-shadow: 4px 4px 0 #000, 0 0 30px rgba(0, 0, 0, 0.6); animation: sbj-f-titre 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) 0.35s both; }
.sbj-f-nom { white-space: nowrap; }
.sbj-f-vs { font: 700 0.7em/1 Barlow, sans-serif; color: #fff; transform: skewX(-10deg); text-shadow: 4px 3px 0 #ff4fa3, -4px -3px 0 #59ecff; }
@keyframes sbj-f-titre { from { transform: translateY(-30px) scale(1.2); opacity: 0; } to { transform: none; opacity: 1; } }
.sbj-f-champion { position: absolute; bottom: 9%; width: 42%; height: 72%; z-index: 2; }
.sbj-f-gauche { left: 3%; animation: sbj-f-gauche 0.6s cubic-bezier(0.2, 1.2, 0.35, 1) 0.25s both; }
.sbj-f-droite { right: 3%; animation: sbj-f-droite 0.6s cubic-bezier(0.2, 1.2, 0.35, 1) 0.25s both; }
.sbj-f-droite .sbj-f-idle { scale: -1 1; }
#jaquettesV434 .sbj-f-idle.scj-idle { inset: 0; }
#jaquettesV434 .sbj-f-idle .scj-video { object-position: 50% 100%; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 26px color-mix(in srgb, var(--sbj-couleur) 45%, transparent)); }
@keyframes sbj-f-gauche { from { transform: translateX(-60%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sbj-f-droite { from { transform: translateX(60%); opacity: 0; } to { transform: none; opacity: 1; } }
.sbj-f-accroche { position: absolute; left: 0; right: 0; bottom: 8.5%; z-index: 3; margin: 0; text-align: center; font: 12px/1 "Press Start 2P", monospace; letter-spacing: 0.2em; color: #ffd24a; text-shadow: 2px 2px 0 #000; }
.sbj-f-generique { position: absolute; left: 6%; right: 6%; bottom: 2.4%; z-index: 3; margin: 0; text-align: center; font: 600 10px/1.25 Barlow, sans-serif; letter-spacing: 0.08em; transform: scaleY(1.6); transform-origin: 50% 100%; color: rgba(235, 232, 250, 0.78); }
.sbj-f-generique b { color: #fff; }
.sbj-f-tirage-texte { position: absolute; top: 46%; left: 50%; translate: -50% -50%; z-index: 4; padding: 8px 14px; border-radius: 6px; background: rgba(0, 0, 0, 0.75); font: 12px "Press Start 2P", monospace; color: #7ee04a; animation: sbj-clignote 0.5s steps(1) 3, sbj-f-efface 0.2s ease 1.5s forwards; }
@keyframes sbj-f-efface { to { opacity: 0; } }

/* ------------------------------------------------------------------ les transitions des biomes */
/* Posée à côté de la racine (pas dedans) : elle recouvre encore l'écran quand le match démarre dessous. */
.sbj-transition { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; }
.sbj-transition i, .sbj-transition b { position: absolute; inset: 0; }
.sbj-t-signe { display: grid; place-items: center; font: 64px "Press Start 2P", monospace; color: #fff; text-shadow: 0 0 20px rgba(255, 255, 255, 0.8); opacity: 0; }
/* Classique : l'écran cathodique s'allume (une ligne blanche qui s'ouvre). */
[data-biome="classic"] .sbj-t1 { background: #000; animation: sbj-t-noir 1.5s ease both; }
[data-biome="classic"] .sbj-t2 { background: #fff; transform-origin: 50% 50%; animation: sbj-t-crt 1.5s cubic-bezier(0.6, 0, 0.3, 1) both; }
@keyframes sbj-t-noir { 0% { opacity: 0; } 25%, 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sbj-t-crt { 0%, 35% { transform: scale(0, 0.003); opacity: 0; } 45% { transform: scale(1, 0.003); opacity: 1; } 62% { transform: scale(1, 1); opacity: 1; } 100% { transform: scale(1, 1); opacity: 0; } }
/* Forêt : les feuilles montent et recouvrent tout. */
[data-biome="forest"] .sbj-t1 { background: radial-gradient(circle at 20% 110%, #1f7a2a 0 30%, transparent 31%), radial-gradient(circle at 70% 115%, #2a9a3a 0 38%, transparent 39%), radial-gradient(circle at 45% 120%, #0f4a1a 0 50%, transparent 51%); animation: sbj-t-pousse 1.5s cubic-bezier(0.3, 0.8, 0.3, 1) both; }
[data-biome="forest"] .sbj-t2 { background: #0f3a1a; animation: sbj-t-recouvre 1.5s ease both; }
@keyframes sbj-t-pousse { 0% { transform: translateY(100%) scale(1); } 60% { transform: translateY(0) scale(1.8); } 100% { transform: translateY(0) scale(2.6); opacity: 0; } }
@keyframes sbj-t-recouvre { 0%, 45% { opacity: 0; } 65% { opacity: 1; } 100% { opacity: 0; } }
/* Bande morte : la bande se rembobine (pistes qui défilent, gris délavé). */
[data-biome="dead_tape"] .sbj-t1 { background: repeating-linear-gradient(0deg, rgba(220, 220, 220, 0.6) 0 3px, rgba(30, 30, 34, 0.9) 3px 18px); animation: sbj-t-defile 1.5s linear both; }
[data-biome="dead_tape"] .sbj-t-signe::before { content: "◀◀"; }
[data-biome="dead_tape"] .sbj-t-signe { animation: sbj-t-signe 1.5s steps(1) both; }
@keyframes sbj-t-defile { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 80% { opacity: 1; transform: translateY(-400px); } 100% { opacity: 0; transform: translateY(-500px); } }
@keyframes sbj-t-signe { 0%, 15% { opacity: 0; } 16%, 30% { opacity: 1; } 31%, 40% { opacity: 0; } 41%, 75% { opacity: 1; } 76%, 100% { opacity: 0; } }
/* Arrêt sur image : pause, puis le givre gagne depuis les quatre coins. */
[data-biome="freeze_frame"] .sbj-t-signe::before { content: "❚❚"; }
[data-biome="freeze_frame"] .sbj-t-signe { animation: sbj-t-signe 1.5s steps(1) both; }
[data-biome="freeze_frame"] .sbj-t1 { background: radial-gradient(circle at 0 0, #e8f8ff 0 20%, transparent 21%), radial-gradient(circle at 100% 0, #e8f8ff 0 20%, transparent 21%), radial-gradient(circle at 0 100%, #e8f8ff 0 20%, transparent 21%), radial-gradient(circle at 100% 100%, #e8f8ff 0 20%, transparent 21%); animation: sbj-t-givre 1.5s cubic-bezier(0.5, 0, 0.3, 1) both; }
@keyframes sbj-t-givre { 0%, 25% { transform: scale(0.2); opacity: 0; } 70% { transform: scale(4.2); opacity: 1; } 100% { transform: scale(4.2); opacity: 0; } }
/* Signal perdu : mire, neige, coupure. */
[data-biome="lost_signal"] .sbj-t1 { background: linear-gradient(90deg, #c0c0c0 0 14.3%, #c0c000 14.3% 28.6%, #00c0c0 28.6% 42.9%, #00c000 42.9% 57.2%, #c000c0 57.2% 71.5%, #c00000 71.5% 85.8%, #0000c0 85.8%); animation: sbj-t-mire 1.5s steps(1) both; }
[data-biome="lost_signal"] .sbj-t2 { background: 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='1.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: sbj-t-neige 1.5s steps(1) both; }
@keyframes sbj-t-mire { 0%, 20% { opacity: 0; } 21%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes sbj-t-neige { 0%, 45% { opacity: 0; } 46%, 80% { opacity: 1; } 81%, 100% { opacity: 0; } }
/* Volcan : la roche craque, la lave monte, éclat orange. */
[data-biome="volcano"] .sbj-t1 { background: linear-gradient(0deg, #ff6a1a, #ff2a0a 35%, rgba(60, 8, 4, 0.9) 70%, transparent); transform-origin: 50% 100%; animation: sbj-t-lave 1.5s cubic-bezier(0.4, 0, 0.3, 1) both; }
[data-biome="volcano"] .sbj-t2 { background: radial-gradient(circle at 50% 100%, #ffd24a, transparent 60%); animation: sbj-t-recouvre 1.5s ease both; }
@keyframes sbj-t-lave { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
/* Tempête : éclairs et pluie oblique. */
[data-biome="storm"] .sbj-t1 { background: repeating-linear-gradient(110deg, transparent 0 22px, rgba(200, 200, 255, 0.35) 22px 24px); animation: sbj-t-pluie 1.5s linear both; }
[data-biome="storm"] .sbj-t2 { background: #fff; animation: sbj-t-eclair 1.5s steps(1) both; }
@keyframes sbj-t-pluie { 0% { opacity: 0; transform: translate(0, 0); } 20%, 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-80px, 240px); } }
@keyframes sbj-t-eclair { 0%, 30% { opacity: 0; } 31% { opacity: 0.9; } 33% { opacity: 0; } 50% { opacity: 1; } 53% { opacity: 0.2; } 56% { opacity: 1; } 70%, 100% { opacity: 0; } }
/* Océan : une vague monte et submerge l'écran. */
[data-biome="water"] .sbj-t1 { background: linear-gradient(180deg, #2ad8d0, #1a7ad8 30%, #06284a); clip-path: polygon(0 30%, 10% 26%, 20% 31%, 30% 25%, 40% 30%, 50% 24%, 60% 30%, 70% 25%, 80% 31%, 90% 26%, 100% 30%, 100% 100%, 0 100%); animation: sbj-t-vague 1.5s cubic-bezier(0.4, 0, 0.3, 1) both; }
@keyframes sbj-t-vague { 0% { transform: translateY(100%); } 60% { transform: translateY(-30%); opacity: 1; } 100% { transform: translateY(-30%); opacity: 0; } }
/* L'écume : la même crête, un peu plus haut, blanche, qui précède la vague. */
[data-biome="water"] .sbj-t2 { background: linear-gradient(180deg, #f2fffe, rgba(200, 250, 255, 0.6) 6%, transparent 12%); clip-path: polygon(0 27%, 10% 23%, 20% 28%, 30% 22%, 40% 27%, 50% 21%, 60% 27%, 70% 22%, 80% 28%, 90% 23%, 100% 27%, 100% 100%, 0 100%); animation: sbj-t-vague 1.5s cubic-bezier(0.4, 0, 0.3, 1) both; animation-delay: -0.04s; }

/* ================================================================== V435 — LE MÊME CHOIX EN VIDÉOCLUB
   Même ossature et mêmes classes que l'écran « Jaquette » des champions (selection-jaquette.css, .scj-*) ;
   ici les règles que la V429 posait sous #selectionChampionsV279, reprises sous #jaquettesV434, et les
   ajouts : la jaquette du biome en transparence (le disque tourne derrière), « avec <champion> »,
   les formats de l'arène dans les spécifications du dos. */
#jaquettesV434 .sbj-jaq .scj-scene { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(220px, 1fr) auto; align-items: start; gap: 12px; padding: 2px; }
#jaquettesV434 .sbj-j-face { grid-row: 2; align-self: stretch; height: 100%; min-height: 0; }
#jaquettesV434 .sbj-j-face::before { z-index: 0; }
.sbj-j-art { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0.74; image-rendering: pixelated;
  -webkit-mask: radial-gradient(circle at 50% 56%, rgba(0, 0, 0, 0.38) 0 30%, #000 58%); mask: radial-gradient(circle at 50% 56%, rgba(0, 0, 0, 0.38) 0 30%, #000 58%); }
#jaquettesV434 .sbj-j-idle.scj-idle { z-index: 2; }
/* V443 — Un Node (champion 00) sur la jaquette : son image fixe, posée au sol, à la taille d'un node (plus petit
   qu'un champion), nette (pixel art) et ourlée de sa couleur. */
#jaquettesV434 .sbj-fixe-v443 { display: grid; place-items: end center; }
#jaquettesV434 .sbj-fixe-v443 img { width: auto; height: 46%; max-width: 62%; margin-bottom: 9%; object-fit: contain; image-rendering: pixelated;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 16px color-mix(in srgb, var(--sbj-couleur, var(--scj-couleur, #59ecff)) 55%, transparent));
  animation: sbj-fixe-v443 2.6s ease-in-out infinite alternate; }
#jaquettesV434 .sbj-f-idle.sbj-fixe-v443 img { height: 40%; }
/* Sur l'étiquette du disque : le node entier, centré (le cadrage des portraits de champion le rognait). */
.sbj-disque-label.sbj-label-fixe-v443 img { left: 16%; top: 16%; width: 68%; height: 68%; object-fit: contain; }
@keyframes sbj-fixe-v443 { from { translate: 0 0; } to { translate: 0 -3%; } }
@media (prefers-reduced-motion: reduce) { #jaquettesV434 .sbj-fixe-v443 img { animation: none; } }
#jaquettesV434 .sbj-j-face .scj-accroche, #jaquettesV434 .sbj-j-face .scj-face-nom { z-index: 4; }
/* « avec <champion> » : en haut, sous l'accroche, comme le nom de la vedette sur une affiche. */
.sbj-j-vedette { position: absolute; left: 0; right: 0; top: 30px; z-index: 4; text-align: center; font-size: clamp(14px, 1.4vw, 20px); text-shadow: 2px 2px 0 #000, 0 0 10px #000; }
.sbj-jaq .scj-cadenas small { display: none; }
.sbj-jaq .sbj-j-vedettes b { display: inline; margin-right: 4px; font: 7px "Press Start 2P", monospace; }
#jaquettesV434 .sbj-j-face .scj-face-nom { font: 700 clamp(26px, 3vw, 44px)/1 Barlow, sans-serif; }
.sbj-j-formats-titre { margin: 10px 0 0; font: 7px/1.4 "Press Start 2P", monospace; letter-spacing: 0.1em; color: #5a4a66; }
.sbj-jaq .sbj-j-formats { margin-top: 4px; }
#jaquettesV434 .sbj-j-taille { display: grid; gap: 2px; padding: 5px 2px; border: 2px solid #1c1424; border-radius: 0; background: transparent; box-shadow: none; color: #1c1424; font: 7px/1.2 "Press Start 2P", monospace; letter-spacing: normal; text-transform: none; cursor: pointer; }
#jaquettesV434 .sbj-j-taille small { font: 600 10px Barlow, sans-serif; }
#jaquettesV434 .sbj-j-taille.choisie { background: #1c1424; color: #f4ead8; }
#jaquettesV434 .sbj-j-taille:is(:hover, :focus-visible) { outline: 2px solid var(--scj-actif, #8e1570); outline-offset: 1px; }
#jaquettesV434 .sbj-j-taille:disabled { opacity: 0.35; cursor: default; }
.sbj-j-vedettes b { color: var(--scj-joueur); }
.sbj-jaq .scj-location small { font: 7px "Press Start 2P", monospace; color: var(--scj-joueur); }
#jaquettesV434 .sbj-j-reglages { align-self: stretch; margin-top: auto; padding: 7px 8px; border-radius: 6px; border: 1px solid #3a3150; background: rgba(0, 0, 0, 0.35); box-shadow: none; color: #cfc8ea; font: 8px "Press Start 2P", monospace; letter-spacing: normal; text-transform: none; cursor: pointer; }
#jaquettesV434 .sbj-j-reglages:is(:hover, :focus-visible) { border-color: var(--scj-actif); outline: none; }
#jaquettesV434 .scj-louer { min-width: 0; }
body #jaquettesV434 .scj-louer:not(:disabled) { border-color: #ffd24a !important; background: linear-gradient(180deg, #ffd24a, #e0a516) !important; color: #1a1205 !important; }
#jaquettesV434 .scj-louer:disabled { filter: grayscale(0.8) brightness(0.6); cursor: default; }

/* ------------------------------------------------------------------ petits écrans */
@media (max-height: 560px) {
  #jaquettesV434 .sbj-jaq .scj-corps { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); grid-template-rows: minmax(0, 1fr) auto; gap: 8px; }
  #jaquettesV434 .sbj-jaq .scj-rayon { grid-column: 1; grid-row: 1; }
  #jaquettesV434 .sbj-jaq .scj-etagere { height: calc(100vh - 168px); min-height: 150px; padding-top: 22px; }
  #jaquettesV434 .sbj-jaq .scj-comptoir { grid-column: 1; grid-row: 2; flex-direction: row; align-items: center; gap: 6px; padding: 5px 6px; overflow: visible; }
  #jaquettesV434 .sbj-jaq .scj-comptoir > .scj-sous-titre, #jaquettesV434 .sbj-jaq .scj-message, #jaquettesV434 .sbj-j-reglages { display: none; }
  #jaquettesV434 .sbj-jaq .scj-locations { display: flex; gap: 4px; }
  #jaquettesV434 .sbj-jaq .scj-location { grid-template-columns: auto 26px; gap: 4px; padding: 3px 4px; }
  #jaquettesV434 .sbj-jaq .scj-location span:not(.scj-vide) { display: none; }
  #jaquettesV434 .sbj-jaq .scj-location img, #jaquettesV434 .sbj-jaq .scj-location .scj-vide { width: 26px; height: 26px; font-size: 9px; }
  #jaquettesV434 .sbj-jaq .scj-louer { flex: 1; padding: 8px 6px; font-size: 7px; }
  #jaquettesV434 .sbj-jaq .scj-scene { grid-column: 2; grid-row: 1 / span 2; grid-template-rows: auto auto; overflow: auto; }
  #jaquettesV434 .sbj-jaq .scj-boitier { height: calc(100vh - 96px); max-height: none; }
  .sbj-j-vedette { display: none; }
  .jaquettes-v434 { padding: 6px; }
  .sbj-ecran { height: calc(100vh - 12px); grid-template-rows: 34px minmax(0, 1fr) 38px; border-radius: 10px; }
  .sbj-haut h2 { font-size: 10px; }
  .sbj-rubrique, .sbj-osd { font-size: 6px; }
  #jaquettesV434 .sbj-bouton { padding: 6px 8px; font-size: 7px; }
  .sbj-message { font-size: 10px; }
  .sbj-arene { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px) minmax(0, 1fr); gap: 8px; padding: 6px 8px; }
  .sbj-nom { font-size: 20px; }
  .sbj-biome, .sbj-etiquette span { font-size: 6px; }
  .sbj-rayon { gap: 6px; }
  .sbj-vignette-nom { font-size: 5px; padding-top: 8px; }
  .sbj-detail { font-size: 10px; min-height: 0; }
  #jaquettesV434 .sbj-taille { min-width: 0; padding: 5px 8px; }
  .sbj-vs span { font-size: 36px; }
  /* Le centre déborde : centré, il rognait la première rangée de jaquettes. */
  .sbj-centre { justify-content: flex-start; gap: 6px; }
  .sbj-rayon { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
  .sbj-vignette-nom { display: none; }
  .sbj-cadenas small { display: none; }
  .sbj-vs { display: none; }
  .sbj-f-titre { font-size: 26px; }
  .sbj-f-accroche { font-size: 8px; bottom: 15%; }
  .sbj-f-generique { font-size: 6px; }
}
@media (max-width: 720px) {
  .sbj-ecran { height: auto; max-height: calc(100vh - 12px); overflow: auto; grid-template-rows: 54px auto 54px; }
  .sbj-arene { grid-template-columns: 1fr 1fr; }
  .sbj-centre { grid-column: 1 / -1; order: -1; }
  .sbj-cote { grid-template-rows: auto 300px auto auto; }
}
@media (prefers-reduced-motion: reduce) {
  .jaquettes-v434 *, .jaquettes-v434 *::before, .jaquettes-v434 *::after { animation-duration: 0.01s !important; animation-iteration-count: 1 !important; transition: none !important; }
}
