/* RoundZero — vitrines.css : le menu des jeux et l'accueil du combattant mystere, en plusieurs versions (2e serie).
   Idees prises chez Gamedle, Loldle, Brawl Stars / Clash Royale et le mode carriere d'EA UFC : rien de copie, tout est dessine ici.
   Polices libres (OFL) : Jersey 10, Silkscreen, Audiowide. Le menu des jeux reste l'ancien (decision d'Elias 28/10) : ces styles vont dans l'accueil des jeux. */

/* ============ le fond : dans <main>, collant au haut de l'ecran pendant qu'on fait defiler ============ */
body.rz-jeux main[data-vitrine] > .rz-scene { display: none; }
body.rz-jeux main[data-vitrine] > .rzx-fond { position: absolute; inset: 0; z-index: 0; overflow: clip; pointer-events: none; }
.rzx-vue { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.rzx-vue > * { position: absolute; }
.rzx-vue > i, .rzx-vue > svg { display: block; }
body.rz-jeux main[data-vitrine] #jeux-root, body.rz-jeux main[data-vitrine] #mystere-root { max-width: 1180px; }
/* les liens du jeu heritent sinon de la couleur du texte (regle commune des jeux) : ceux sur fond clair gardent leur encre */
body.rz-jeux main a.rzc-go { color: #111; }
body.rz-jeux main a.rzg-bouton { color: #3b2a00; }
body.rz-jeux main a.rzg-bouton.petit { color: #1e1b2e; }
body.rz-jeux main .rzg.neon a.rzg-bouton { color: #ffe45c; }
body.rz-jeux main a.rzg-hier { color: #e4dbf5; }
body.rz-jeux main a.rzc-hier { color: #cfd3da; }
body.rz-jeux main .rzo-compte a { color: #ecc87e; }
body.rz-jeux main[data-vitrine] .rz-photos-note { color: rgba(255, 255, 255, .7); }
.rzx-retour { margin-bottom: 18px; }
.rzp-ic { display: block; width: 100%; height: 100%; }
.rzp-ic.mini { width: 22px; height: 22px; flex: none; }

/* -- pixels (nuit) */
.rzx-fond[data-fond="nuit"] { background: #05030b; }
.rzx-pix { inset: 0; background-size: cover; background-position: center bottom; background-repeat: no-repeat; image-rendering: crisp-edges; image-rendering: pixelated; }
.rzx-ombre { inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .12), transparent 25%, transparent 72%, rgba(0, 0, 0, .3)); }

/* -- neon */
.rzx-fond[data-fond="neon"] { background: #07021a; }
.n-ciel { inset: 0; background: linear-gradient(180deg, #07021a 0%, #160532 30%, #3a0a5e 54%, #12031f 56%, #07021a 100%); }
.n-soleil { left: 50%; top: 3%; width: min(40vw, 470px); height: auto; translate: -50% 0; filter: drop-shadow(0 0 46px rgba(255, 90, 168, .65)); }
.n-ville { left: 0; right: 0; top: 44%; height: 12%; width: 100%; }
.n-sol { left: -50%; right: -50%; top: 56%; bottom: 0; overflow: hidden; perspective: 280px; background: linear-gradient(180deg, #1a0533, #07021a 70%); }
.n-sol > i { position: absolute; left: 0; right: 0; top: 0; height: 200%; transform-origin: 50% 0; transform: rotateX(70deg);
    background-image: linear-gradient(rgba(255, 62, 201, .9) 2px, transparent 2px), linear-gradient(90deg, rgba(34, 211, 238, .75) 2px, transparent 2px);
    background-size: 80px 80px; animation: rzx-grille 1.4s linear infinite; }
@keyframes rzx-grille { to { background-position: 0 80px, 0 0; } }
.n-scan { inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); }

/* -- vestiaire */
.rzx-fond[data-fond="vestiaire"] { background: #0b0c0f; }
.v-mur { inset: 0; background: radial-gradient(120% 70% at 50% 0%, #30333a, #17191e 55%, #0b0c0f 100%); }
.v-tube { top: 3%; width: 15%; height: 9px; translate: -50% 0; border-radius: 3px; background: #fff8e8;
    box-shadow: 0 0 18px 5px rgba(255, 244, 220, .55), 0 0 140px 50px rgba(255, 236, 200, .14); }
.v-sacs { inset: 0; }
.v-sacs > i { position: absolute; top: 9%; width: 4.5%; min-width: 42px; height: 34%; border-radius: 24px 24px 30px 30px; opacity: .55; filter: blur(3px);
    background: linear-gradient(90deg, #2e0c0f, #6b1a1f 42%, #250809); }
.v-sacs > i::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 30vh; background: #555a62; }
.v-sacs > i:nth-child(1) { left: 6%; } .v-sacs > i:nth-child(2) { left: 88%; height: 30%; } .v-sacs > i:nth-child(3) { left: 76%; top: 14%; height: 26%; opacity: .35; filter: blur(5px); }
.v-cage { left: 0; right: 0; bottom: 18%; height: 58%; opacity: .2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Cpath d='M0 17 17 0 34 17 17 34Z' fill='none' stroke='%23d6dce5' stroke-width='1.6'/%3E%3C/svg%3E");
    -webkit-mask: linear-gradient(transparent, #000 30%, #000 80%, transparent); mask: linear-gradient(transparent, #000 30%, #000 80%, transparent); }
.v-sol { left: 0; right: 0; bottom: 0; height: 20%; background: linear-gradient(#15161a, #08090b); border-top: 1px solid rgba(255, 255, 255, .06); }
.v-vignette { inset: 0; background: radial-gradient(ellipse at 50% 42%, transparent 48%, rgba(0, 0, 0, .7)); }

/* -- modes : un mur de cartes a deviner, assombri */
.rzx-fond[data-fond^="modes"] { background: #070b14; }
.m-mur { inset: -30% -22%; display: grid; grid-template-columns: repeat(10, 1fr); gap: 20px; rotate: -12deg; opacity: .95; filter: blur(1px); }
.m-carte { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 7; border-radius: 12px;
    background: linear-gradient(160deg, #1f2538, #0d1020); border: 2px solid rgba(130, 150, 200, .25); }
.m-carte b { font: 700 46px var(--font-display); color: rgba(255, 255, 255, .13); }
.m-carte.or { background: linear-gradient(160deg, #4d3c12, #1c1608); border-color: rgba(226, 182, 90, .5); }
.m-carte.or b { color: rgba(226, 182, 90, .4); }
.m-carte.argent { background: linear-gradient(160deg, #3a4150, #161a22); border-color: rgba(203, 213, 225, .35); }
.rzx-fond[data-fond="modes-mystere"] .m-carte { background: linear-gradient(160deg, #2a1846, #110a22); border-color: rgba(168, 85, 247, .35); }
.m-voile { inset: 0; background: radial-gradient(ellipse 44% 34% at 50% 26%, rgba(236, 200, 126, .16), transparent 70%),
    radial-gradient(ellipse 70% 60% at 50% 34%, rgba(7, 11, 20, .42), rgba(7, 11, 20, .86) 76%), linear-gradient(180deg, rgba(7, 11, 20, 0) 40%, rgba(7, 11, 20, .9)); }

/* ============================================================== 1, 2, 3 : PIXEL (d'apres Gamedle) et NEON */
.rzg { --p-fond: rgba(24, 12, 42, .95); --p-bord: #46306b; --p-trait: #0c0617; --onglet: #efe2ff; --onglet-encre: #26143e;
    --tuile: #2563eb; --tuile-haut: #74a6ff; --tuile-bas: #1238a8; --tuile-ombre: #081846; --titre: #ffd84d; --titre-ombre: #5c2400;
    --vedette: #ff4f8b; --vedette-haut: #ffa4c6; --vedette-bas: #b0204f; --vedette-ombre: #45081f; --ic: #fff8ec;
    position: relative; color: #fff; }

.rzg-titre { text-align: center; margin: 4px 0 40px; }
.rzg-logo { margin: 0; display: flex; flex-direction: column; align-items: center; line-height: .92; font-family: "Jersey 10", var(--font-display); text-transform: uppercase; }
.rzg-logo .a { font: 700 clamp(15px, 2.1vw, 22px)/1.2 "Silkscreen", monospace; letter-spacing: .28em; color: #fff; text-shadow: 3px 3px 0 #000; padding-inline-start: .28em; }
.rzg-logo .b { font-size: clamp(72px, 12vw, 148px); font-weight: 400; letter-spacing: .04em; color: #ffd84d;
    text-shadow: 0 -4px 0 #fff3b0, 4px 0 0 #3a1200, -4px 0 0 #3a1200, 0 4px 0 #3a1200, 4px 4px 0 #3a1200, -4px 4px 0 #3a1200, 4px -4px 0 #3a1200, -4px -4px 0 #3a1200,
        0 9px 0 #3a1200, 4px 9px 0 #3a1200, -4px 9px 0 #3a1200, 0 15px 0 rgba(0, 0, 0, .45); }
.rzg-titre p { display: inline-block; margin: 16px 0 0; padding: 2px 16px 4px; background: rgba(8, 4, 18, .72); border: 3px solid rgba(0, 0, 0, .55);
    font: 400 24px "Jersey 10", var(--font-body); letter-spacing: .03em; color: #f3ecff; text-shadow: 2px 2px 0 #000; }

.rzg-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 30px; align-items: start; }
.rzg-col { display: grid; gap: 52px; }
.rzg > .rzg-panneau.hebdo { margin-top: 52px; }
.rzg-panneau { position: relative; padding: 40px 18px 20px; background: var(--p-fond); border: 4px solid var(--p-bord);
    box-shadow: 0 0 0 4px var(--p-trait), 10px 10px 0 4px rgba(0, 0, 0, .45); }
.rzg-panneau:has(.rzg-sous-onglet) { padding-top: 58px; }
.rzg-onglet { position: absolute; top: 0; left: 50%; translate: -50% -62%; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 7px;
    background: var(--onglet); color: var(--onglet-encre); border: 4px solid var(--p-trait); font: 400 34px/1 "Jersey 10", var(--font-display);
    white-space: nowrap; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .14); text-transform: capitalize; }
.rzg-sous-onglet { position: absolute; top: 22px; left: 50%; translate: -50% 0; z-index: 2; padding: 3px 10px; background: var(--onglet); color: var(--onglet-encre);
    border: 3px solid var(--p-trait); font: 400 13px "Silkscreen", monospace; white-space: nowrap; }
.rzg-sous-onglet b { font-weight: 700; font-variant-numeric: tabular-nums; }
.rzg-orne { position: absolute; top: 8px; width: 24px; height: 24px; }
.rzg-orne.g { left: 8px; } .rzg-orne.d { right: 8px; }
.rzg-liste { display: grid; gap: 18px; }

.rzg-ligne { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 58px; gap: 10px; align-items: stretch; }
.rzg-ligne:has(> .verrou) { grid-template-columns: minmax(0, 1fr); }
.rzg-tuile { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 78px; padding: 10px 14px 13px 10px;
    background: var(--tuile); border: 3px solid var(--p-trait); color: #fff; text-decoration: none;
    box-shadow: inset 0 4px 0 var(--tuile-haut), inset 0 -5px 0 var(--tuile-bas), 0 5px 0 var(--tuile-ombre); transition: transform .08s steps(2), filter .1s; }
a.rzg-tuile:hover { transform: translateY(-3px); filter: brightness(1.12); }
a.rzg-tuile:active { transform: translateY(2px); }
.rzg-tuile.verrou { --tuile: #4b5563; --tuile-haut: #8b95a5; --tuile-bas: #2b313b; --tuile-ombre: #11151b; opacity: .85; }
.rzg-ic { width: 58px; height: 58px; padding: 5px; background: var(--ic); border: 3px solid var(--p-trait); box-shadow: inset -3px -3px 0 #d6cbe6; }
.rzg-txt { min-width: 0; }
.rzg-txt b { display: block; font: 400 30px/.95 "Jersey 10", var(--font-display); text-transform: uppercase; color: var(--titre); letter-spacing: .03em;
    text-shadow: 2px 2px 0 var(--titre-ombre), 0 3px 0 var(--titre-ombre); }
.rzg-txt small { display: block; margin-top: 6px; font: 600 13px/1.3 var(--font-body); color: #fff; text-shadow: 1px 1px 0 rgba(0, 0, 0, .45); }
.rzg-ruban { position: absolute; top: -14px; left: -12px; z-index: 2; rotate: -6deg; padding: 3px 8px; font: 400 10px/1.2 "Silkscreen", monospace; text-transform: uppercase;
    color: #0b2a14; background: #3ddc84; border: 2px solid var(--p-trait); box-shadow: 2px 2px 0 rgba(0, 0, 0, .5); white-space: nowrap; }
.rzg-ruban.jaune { background: #ffd84d; color: #3b2a00; } .rzg-ruban.rouge { background: #ff4d5e; color: #fff; }
.rzg-ruban.bleu { background: #7dd3fc; color: #082f49; } .rzg-ruban.orange { background: #ff9f43; color: #3a1600; } .rzg-ruban.gris { background: #cbd5e1; color: #1e293b; }
.rzg-cote { display: grid; place-items: center; align-content: center; gap: 3px; padding: 6px 2px; background: var(--tuile); border: 3px solid var(--p-trait); color: #fff; text-decoration: none;
    box-shadow: inset 0 4px 0 var(--tuile-haut), inset 0 -5px 0 var(--tuile-bas), 0 5px 0 var(--tuile-ombre); transition: transform .08s steps(2), filter .1s; }
.rzg-cote:hover { transform: translateY(-3px); filter: brightness(1.12); }
.rzg-cote svg { width: 30px; height: 30px; }
.rzg-cote small { font: 400 9px/1.1 "Silkscreen", monospace; text-align: center; max-width: 52px; overflow-wrap: anywhere; }
.rzg-cote.st-found small { color: #86efac; } .rzg-cote.st-missed small { color: #fecaca; } .rzg-cote.st-retry small { color: #fde68a; }
.rzg-play { width: 0; height: 0; border-block: 10px solid transparent; border-inline-start: 15px solid #fff; filter: drop-shadow(2px 2px 0 var(--p-trait)); }

.rzg-ligne.vedette { padding-top: 28px; }
.rzg-ligne.vedette > .rzg-tuile, .rzg-ligne.vedette > .rzg-cote { --tuile: var(--vedette); --tuile-haut: var(--vedette-haut); --tuile-bas: var(--vedette-bas); --tuile-ombre: var(--vedette-ombre); }
.rzg-ligne.vedette .rzg-tuile { grid-template-columns: 78px minmax(0, 1fr); min-height: 110px; }
.rzg-ligne.vedette .rzg-ic { width: 78px; height: 78px; }
.rzg-ligne.vedette .rzg-txt b { font-size: 42px; }
.rzg-ligne.vedette .rzg-txt small { font-size: 14px; }
.rzg-chips { position: absolute; top: 0; left: 50%; translate: -50% 0; z-index: 3; display: flex; gap: 6px; white-space: nowrap; }
.rzg-chips span { padding: 3px 8px; font: 400 10px/1.2 "Silkscreen", monospace; background: #2a1840; color: #fff; border: 2px solid var(--p-trait); }
.rzg-chips .vert { background: #22c55e; color: #052e16; }

.rzg-etat { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 12px 16px; align-items: center; padding: 12px 14px; background: rgba(0, 0, 0, .32); border: 3px dashed var(--p-bord); }
.rzg-etat.visiteur { grid-template-columns: minmax(0, 1fr) auto; }
.rzg-etat.visiteur p { margin: 0; font: 600 14px/1.4 var(--font-body); color: #fff; }
.rzg-stat { display: flex; align-items: center; gap: 7px; }
.rzg-stat b { font: 400 32px/1 "Jersey 10", var(--font-display); color: var(--titre); text-shadow: 2px 2px 0 var(--titre-ombre); }
.rzg-stat small { font: 400 10px/1.2 "Silkscreen", monospace; color: #e4dbf5; text-transform: uppercase; }
.rzg-stat.bonus { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; }
.rzg-stat.bonus small { grid-column: 1 / -1; }
.rzg-barre { height: 16px; background: #120a20; border: 3px solid var(--p-trait); }
.rzg-barre i { display: block; height: 100%; background: repeating-linear-gradient(90deg, #ffd84d 0 8px, #ffb020 8px 10px); }
.rzg-hier { display: block; text-align: center; font: 400 12px "Silkscreen", monospace; color: #e4dbf5; text-decoration: none; }
.rzg-hier b { color: #fff; font-weight: 700; }
.rzg-hier:hover b { text-decoration: underline; }
.rzg-panneau.hebdo .rzg-liste { max-width: 640px; margin-inline: auto; }

.rzg-bouton { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px 12px; font: 400 24px/1 "Jersey 10", var(--font-display); text-transform: uppercase;
    color: #3b2a00; background: #ffd84d; border: 3px solid #0c0617; cursor: pointer; text-decoration: none;
    box-shadow: inset 0 4px 0 #fff1a6, inset 0 -5px 0 #d99a00, 0 5px 0 #000; transition: transform .08s steps(2), filter .1s; }
.rzg-bouton:hover { filter: brightness(1.08); transform: translateY(-2px); }
.rzg-bouton:active { transform: translateY(3px); box-shadow: inset 0 4px 0 #fff1a6, inset 0 -3px 0 #d99a00, 0 2px 0 #000; }
.rzg-bouton.grand { font-size: 46px; padding: 10px 46px 16px; }
.rzg-bouton.petit { font-size: 20px; padding: 6px 14px 9px; color: #1e1b2e; background: #e2e8f0; box-shadow: inset 0 3px 0 #fff, inset 0 -4px 0 #94a3b8, 0 4px 0 #000; }

/* -- l'accueil du mystere en pixels */
.rzg-accueil .rzg-titre { margin-bottom: 44px; }
.rzg-accueil > .rzg-panneau { max-width: 920px; margin: 0 auto; padding: 66px 30px 28px; }
.rzg-acc { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center; }
.rzg-acc-carte { position: relative; display: grid; justify-items: center; }
.rzg-acc-halo { position: absolute; inset: -30px -40px 10px; background: radial-gradient(circle, rgba(255, 138, 42, .5), transparent 64%); animation: rzg-pouls 2.2s steps(4) infinite; }
@keyframes rzg-pouls { 50% { opacity: .5; } }
.rzg-acc-carte .rz-carte { position: relative; animation: rzg-flotte 3.2s steps(8) infinite; }
@keyframes rzg-flotte { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.rzg-acc-socle { position: relative; width: 230px; height: 22px; margin-top: 10px; background: #2a1748; border: 4px solid #0c0617; box-shadow: inset 0 4px 0 #4b3775, 0 6px 0 rgba(0, 0, 0, .5); }
.rzg-regles { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.rzg-regles li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: center; font: 600 16px/1.4 var(--font-body); color: #fff; }
.rzg-regles b { display: grid; place-items: center; width: 42px; height: 42px; background: #ffd84d; color: #3b2a00; border: 3px solid #0c0617;
    font: 400 30px "Jersey 10", var(--font-display); box-shadow: inset 0 -4px 0 #d99a00; }
.rzg-acc-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.rzg-acc-stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font: 400 12px "Silkscreen", monospace; color: #e4dbf5; text-transform: uppercase; }
.rzg-acc-stats span { display: inline-flex; align-items: center; gap: 7px; }
.rzg-acc-stats b { font: 400 30px "Jersey 10", var(--font-display); color: #ffd84d; text-shadow: 2px 2px 0 #5c2400; }
.rzg-acc-modes { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.rzm-creer { color: #fff; font: 600 14px var(--font-body); text-decoration: underline; text-underline-offset: 3px; }

/* -- la meme structure en neon (synthwave) */
.rzg.neon { --titre: #fff; }
.rzg.neon .rzg-logo .a { font-family: "Audiowide", var(--font-display); color: #7cf3ff; text-shadow: 0 0 10px #22d3ee, 0 0 24px #22d3ee; }
.rzg.neon .rzg-logo .b { font-family: "Audiowide", var(--font-display); font-weight: 400; color: #fff; letter-spacing: .06em;
    text-shadow: 0 0 6px #ff3ec9, 0 0 18px #ff3ec9, 0 0 40px #ff3ec9, 0 0 80px #b81aa0; }
.rzg.neon .rzg-titre p { display: inline-block; padding: 6px 16px; border-radius: 999px; background: rgba(7, 2, 26, .78); border: 1px solid rgba(255, 228, 92, .5);
    font-family: "Audiowide", var(--font-display); font-size: 14px; letter-spacing: .06em; color: #ffe45c; text-shadow: 0 0 10px rgba(255, 228, 92, .6); }
.rzg.neon .rzg-panneau { background: rgba(12, 4, 32, .74); border: 2px solid #ff3ec9; border-radius: 16px; backdrop-filter: blur(5px);
    box-shadow: 0 0 0 1px rgba(255, 62, 201, .35), 0 0 26px rgba(255, 62, 201, .45), inset 0 0 34px rgba(255, 62, 201, .12); }
.rzg.neon .rzg-col:last-child .rzg-panneau, .rzg.neon > .rzg-panneau.hebdo { border-color: #22d3ee;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, .35), 0 0 26px rgba(34, 211, 238, .4), inset 0 0 34px rgba(34, 211, 238, .1); }
.rzg.neon .rzg-onglet { background: #0b0420; color: #fff; border: 2px solid currentColor; border-radius: 10px; font: 400 19px/1.2 "Audiowide", var(--font-display);
    color: #ffd6f4; text-shadow: 0 0 8px #ff3ec9; box-shadow: 0 0 16px rgba(255, 62, 201, .6); text-transform: uppercase; letter-spacing: .06em; }
.rzg.neon .rzg-col:last-child .rzg-onglet, .rzg.neon > .rzg-panneau.hebdo .rzg-onglet { color: #c8f8ff; text-shadow: 0 0 8px #22d3ee; box-shadow: 0 0 16px rgba(34, 211, 238, .6); }
.rzg.neon .rzg-onglet svg { filter: drop-shadow(0 0 4px currentColor); }
.rzg.neon .rzg-sous-onglet { background: #0b0420; color: #ffe45c; border: 1px solid #ffe45c; border-radius: 6px; font-family: "Audiowide", var(--font-display); font-size: 12px; letter-spacing: .06em;
    box-shadow: 0 0 10px rgba(255, 228, 92, .45); }
.rzg.neon .rzg-orne { display: none; }
.rzg.neon .rzg-tuile, .rzg.neon .rzg-cote { background: linear-gradient(90deg, rgba(34, 211, 238, .14), rgba(255, 62, 201, .08)); border: 1.5px solid rgba(34, 211, 238, .75); border-radius: 12px;
    box-shadow: 0 0 14px rgba(34, 211, 238, .25), inset 0 0 18px rgba(34, 211, 238, .08); transition: transform .15s, box-shadow .15s; }
.rzg.neon a.rzg-tuile:hover, .rzg.neon .rzg-cote:hover { transform: translateY(-2px); filter: none; box-shadow: 0 0 24px rgba(34, 211, 238, .6), inset 0 0 18px rgba(34, 211, 238, .16); }
.rzg.neon .rzg-ligne.vedette > .rzg-tuile, .rzg.neon .rzg-ligne.vedette > .rzg-cote { background: linear-gradient(90deg, rgba(255, 138, 42, .3), rgba(255, 62, 201, .22)); border-color: #ff8a2a;
    box-shadow: 0 0 22px rgba(255, 138, 42, .5), inset 0 0 22px rgba(255, 138, 42, .18); }
.rzg.neon .rzg-tuile.verrou { border-color: rgba(148, 163, 184, .5); box-shadow: none; }
.rzg.neon .rzg-ic { background: #0b0420; border: 1.5px solid #ff3ec9; border-radius: 10px; box-shadow: 0 0 10px rgba(255, 62, 201, .5); }
.rzg.neon .rzg-txt b { font: 400 19px/1.1 "Audiowide", var(--font-display); color: #fff; text-shadow: 0 0 8px rgba(34, 211, 238, .9), 0 0 18px rgba(34, 211, 238, .45); }
.rzg.neon .rzg-ligne.vedette .rzg-txt b { font-size: 26px; text-shadow: 0 0 8px rgba(255, 138, 42, .95), 0 0 22px rgba(255, 62, 201, .6); }
.rzg.neon .rzg-txt small { color: #d7e3ff; text-shadow: none; }
.rzg.neon .rzg-ruban { rotate: 0deg; top: -11px; left: 12px; border: 0; border-radius: 4px; font-family: "Audiowide", var(--font-display); font-size: 9.5px; letter-spacing: .06em;
    box-shadow: 0 0 12px currentColor; }
.rzg.neon .rzg-chips span { border-radius: 4px; border: 1px solid #ff3ec9; background: #160632; font-family: "Audiowide", var(--font-display); }
.rzg.neon .rzg-chips .vert { background: #22c55e; border-color: #22c55e; color: #052e16; }
.rzg.neon .rzg-etat { border: 1px dashed rgba(255, 62, 201, .6); border-radius: 12px; background: rgba(0, 0, 0, .3); }
.rzg.neon .rzg-stat b { font-family: "Audiowide", var(--font-display); font-weight: 400; color: #ffe45c; text-shadow: 0 0 10px rgba(255, 228, 92, .7); }
.rzg.neon .rzg-barre { border: 1px solid #ffe45c; border-radius: 6px; overflow: hidden; }
.rzg.neon .rzg-barre i { background: linear-gradient(90deg, #ff3ec9, #ffe45c); box-shadow: 0 0 12px #ff3ec9; }
.rzg.neon .rzg-bouton { border-radius: 10px; border: 2px solid #ffe45c; background: rgba(255, 228, 92, .12); color: #ffe45c; font-family: "Audiowide", var(--font-display); font-weight: 400;
    box-shadow: 0 0 16px rgba(255, 228, 92, .45); text-shadow: 0 0 8px rgba(255, 228, 92, .7); }
.rzg.neon .rzg-play { border-inline-start-color: #7cf3ff; filter: drop-shadow(0 0 6px #22d3ee); }

/* ============================================================== 5 : VESTIAIRE (d'apres le mode carriere d'EA UFC) */
.rzc { position: relative; color: #f1f3f5; font-family: var(--font-display); }
.rzc-hud { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 22px; align-items: center; margin-bottom: 30px; padding: 12px 16px;
    background: rgba(12, 13, 16, .88); border: 1px solid rgba(255, 255, 255, .08); }
.rzc-jour { display: grid; place-items: center; width: 76px; padding: 6px 0 9px; background: #ececec; color: #111; clip-path: polygon(0 0, 100% 0, 100% 76%, 84% 100%, 0 100%); }
.rzc-jour small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.rzc-jour b { font-size: 38px; line-height: .9; }
.rzc-piste { display: flex; align-items: center; gap: 12px; }
.rzc-piste > small { font-size: 13px; letter-spacing: .14em; color: #cfd3da; text-transform: uppercase; white-space: nowrap; }
.rzc-jours { display: flex; align-items: center; flex: 1; }
.rzc-jours i { position: relative; flex: 1; display: grid; place-items: center; height: 24px; font-style: normal; }
.rzc-jours i::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; translate: 0 -50%; background: #43474f; }
.rzc-jours i.passe::before, .rzc-jours i.auj::before { background: #ececec; }
.rzc-jours em { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #25282e; border: 2px solid #43474f;
    font: 700 11px var(--font-body); font-style: normal; color: #cfd3da; text-transform: uppercase; }
.rzc-jours .auj em { background: #ececec; border-color: #fff; color: #111; box-shadow: 0 0 0 5px rgba(236, 236, 236, .2); }
.rzc-jours .st-trouve em { background: #ff5a0a; border-color: #ffa36a; color: #fff; }
.rzc-jours .st-rate em { background: #3a1416; border-color: #8b2323; color: #fca5a5; }
.rzc-trophee { width: 28px; height: 28px; flex: none; }
.rzc-barres { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.rzc-barres > span { display: grid; gap: 5px; }
.rzc-barres small { font-size: 12px; letter-spacing: .1em; color: #cfd3da; text-transform: uppercase; }
.rzc-barres b { color: #fff; }
.rzc-seg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.rzc-seg i { height: 8px; background: #33363c; }
.rzc-seg i.on:nth-child(-n+2) { background: #e23b3b; } .rzc-seg i.on:nth-child(n+3):nth-child(-n+4) { background: #f08a24; }
.rzc-seg i.on:nth-child(n+5):nth-child(-n+6) { background: #f5c518; } .rzc-seg i.on:nth-child(7) { background: #3ac46b; }
.rzc-hype { position: relative; height: 8px; background: #33363c; }
.rzc-hype i { position: absolute; inset: 0 auto 0 0; width: 0; background: #ececec; transition: width .6s; }
.rzc-stats { display: flex; gap: 22px; }
.rzc-stats span { display: grid; text-align: center; }
.rzc-stats small { font-size: 11px; letter-spacing: .1em; color: #9aa0a8; text-transform: uppercase; white-space: nowrap; }
.rzc-stats b { font-size: 24px; line-height: 1.1; }
.rzc-go { display: grid; padding: 8px 18px 8px 26px; background: #ececec; color: #111; text-decoration: none; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); transition: background .15s; }
.rzc-go:hover { background: #fff; }
.rzc-go small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.rzc-go b { font-size: 24px; font-variant-numeric: tabular-nums; }
.rzc-corps { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.rzc-onglets { display: flex; gap: 20px; margin-bottom: 12px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.rzc-onglets span { color: #9aa0a8; }
.rzc-onglets b { color: #fff; padding-bottom: 3px; border-bottom: 2px solid #e23b3b; font-weight: 500; }
.rzc-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rzc-tuile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 94px; padding: 12px 15px; overflow: hidden; color: #fff; text-decoration: none;
    background: rgba(26, 28, 33, .9); border: 2px solid transparent; transition: border-color .12s, background .12s; }
.rzc-tuile:hover { border-color: #fff; background: rgba(40, 42, 48, .94); }
.rzc-tuile.grande { min-height: 200px; }
.rzc-grille > .rzc-tuile:first-child { border-color: #fff; }
.rzc-art { position: absolute; inset: 0; background: radial-gradient(circle at 72% 42%, rgba(var(--c), .85), rgba(var(--c), .22) 45%, transparent 70%), linear-gradient(135deg, #1b1d22, #0e0f12); }
.rzc-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 15px); }
.rzc-art b { position: absolute; right: 7%; top: 46%; translate: 0 -50%; font: 700 clamp(70px, 9vw, 132px)/1 var(--font-display); color: rgba(255, 255, 255, .2); }
.rzc-t { position: relative; z-index: 1; }
.rzc-t b { display: block; font-size: 22px; font-weight: 600; line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.rzc-t small { display: block; margin-top: 6px; font: 500 13px/1.3 var(--font-body); color: #cfd3da; }
.rzc-tuile.grande .rzc-t b { font-size: 32px; }
.rzc-etat { position: absolute; top: 12px; right: 12px; z-index: 1; padding: 3px 10px; background: #ececec; color: #111; font: 700 12px var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.rzc-etat.st-found { background: #3ac46b; color: #052e16; } .rzc-etat.st-missed { background: #e23b3b; color: #fff; } .rzc-etat.st-retry { background: #f5c518; }
.rzc-bande { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.rzc-bande a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 15px; background: rgba(26, 28, 33, .9); border: 2px solid transparent; color: #fff;
    text-decoration: none; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.rzc-bande a:hover { border-color: #fff; }
.rzc-bande b { display: flex; gap: 4px; font-size: 16px; font-weight: 500; letter-spacing: .04em; }
.rzc-bande i { padding: 0 5px; font-style: normal; }
.rzc-bande .or { color: #f5c518; } .rzc-bande .argent { color: #cbd5e1; } .rzc-bande .bronze { color: #d08a4e; }
.rzc-droite { position: relative; display: grid; min-height: 580px; }
.rzc-perso { position: relative; justify-self: center; width: min(100%, 290px); }
.rzc-sil .bras { fill: #13151a; stroke: rgba(255, 255, 255, .14); stroke-width: 2; }
.rzc-sil { display: block; width: 100%; height: auto; fill: #060709; filter: drop-shadow(-4px 0 0 rgba(226, 59, 59, .6)) drop-shadow(4px 0 0 rgba(70, 140, 255, .5)) drop-shadow(0 0 34px rgba(0, 0, 0, .7)); }
.rzc-q { position: absolute; top: 5.5%; left: 50%; translate: -50% 0; font: 700 62px/1 var(--font-display); color: rgba(255, 255, 255, .9); text-shadow: 0 0 22px rgba(255, 255, 255, .45);
    animation: rzc-q 2.4s ease-in-out infinite; }
@keyframes rzc-q { 50% { opacity: .55; } }
.rzc-plaque { position: absolute; right: 0; bottom: 64px; z-index: 2; display: grid; justify-items: end; text-align: right; }
.rzc-plaque small { padding: 2px 8px; background: #2f6fe0; font: 700 12px var(--font-body); color: #fff; letter-spacing: .06em; text-transform: uppercase; }
.rzc-plaque b { margin-top: 4px; padding: 4px 14px 2px; background: #f1f1f1; color: #111; font-size: 34px; font-weight: 600; line-height: 1; text-transform: uppercase; }
.rzc-plaque-bas { display: flex; justify-content: flex-end; align-items: center; gap: 12px; width: 100%; padding-top: 5px; border-top: 4px solid #e23b3b; font-size: 15px; letter-spacing: .12em; }
.rzc-plaque-bas i { font-style: normal; color: #f5c518; letter-spacing: 2px; }
.rzc-plaque-bas em { color: #4b5058; font-style: normal; }
.rzc-hier { position: absolute; right: 0; bottom: 20px; z-index: 2; font: 600 13px var(--font-body); color: #cfd3da; text-decoration: none; }
.rzc-hier b { color: #fff; }
.rzc-hier:hover b { text-decoration: underline; }

/* ============================================================== 6 : MODES (d'apres Loldle) */
.rzo { position: relative; max-width: 900px; margin: 0 auto; text-align: center; color: #e8edf6; }
.rzo .rzx-retour { display: inline-flex; }
.rzo-mystere { max-width: 620px; }
.rzo-mystere .rzx-retour { float: none; }
.rzo-logo img { display: block; width: 86px; height: auto; margin: 0 auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)); }
.rzo-logo h1 { margin: 6px 0 6px; display: flex; flex-direction: column; align-items: center; line-height: .92; text-transform: uppercase; font-family: var(--font-display); }
.rzo-logo h1 span { font-size: clamp(20px, 3vw, 30px); letter-spacing: .32em; padding-inline-start: .32em; color: #e9d7a8; text-shadow: 0 2px 0 #000; }
.rzo-logo h1 span i { font-style: normal; color: #ff5a0a; }
.rzo-logo h1 b { font-size: clamp(58px, 9.5vw, 104px); letter-spacing: .04em; color: transparent;
    background: linear-gradient(180deg, #fff6da 0%, #ecc87e 42%, #a8742a 72%, #f6dca2 100%); -webkit-background-clip: text; background-clip: text;
    filter: drop-shadow(0 3px 0 #3a2508) drop-shadow(0 12px 20px rgba(0, 0, 0, .65)); }
.rzo-logo p { max-width: 560px; margin: 4px auto 22px; font-size: 16px; color: #c7cfdd; }
.rzo-avis { max-width: 560px; margin: 0 auto 30px; padding: 12px 20px 14px; background: rgba(14, 24, 36, .94); border: 2px solid #1aa6b7;
    box-shadow: 0 0 0 1px rgba(26, 166, 183, .35), 0 12px 30px rgba(0, 0, 0, .5); }
.rzo-avis > b { display: block; font: 600 15px var(--font-display); letter-spacing: .14em; color: #ecc87e; text-transform: uppercase; }
.rzo-avis p { margin: 7px 0 0; font-size: 14px; color: #dbe3ee; }
.rzo-avis p b { font-variant-numeric: tabular-nums; color: #fff; }
.rzo-avis a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.rzo-avis ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; font-size: 14px; color: #dbe3ee; }
.rzo-avis ul li::before { content: "◆ "; color: #1aa6b7; }
.rzo-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; text-align: start; }
.rzo-liste.une { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
.rzo-mode { position: relative; display: flex; align-items: center; gap: 16px; min-height: 78px; margin-inline-start: 26px; padding: 10px 18px 10px 0; width: auto;
    background: linear-gradient(90deg, rgba(13, 21, 33, .97), rgba(20, 33, 47, .95)); border: 2px solid #1aa6b7; color: #fff; text-decoration: none; text-align: start;
    font: inherit; cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; }
.rzo-mode:hover { transform: translateX(5px); border-color: #ecc87e; box-shadow: 0 0 24px rgba(236, 200, 126, .25); }
.rzo-ic { flex: none; display: grid; place-items: center; width: 76px; height: 76px; margin-inline-start: -38px; border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #23324a, #0a111b); border: 4px solid #c9a35a; box-shadow: 0 0 0 2px #3a2a10, inset 0 0 0 3px rgba(0, 0, 0, .6), 0 6px 14px rgba(0, 0, 0, .5); }
.rzo-ic span { font: 700 25px/1 var(--font-display); color: #f2d28c; text-shadow: 0 0 12px rgba(242, 210, 140, .55); }
.rzo-txt { min-width: 0; }
.rzo-txt b { display: block; font: 600 22px/1.1 var(--font-display); letter-spacing: .02em; }
.rzo-txt small { display: block; margin-top: 3px; font-size: 13.5px; color: #b9c4d3; }
.rzo-mode em { position: absolute; top: -10px; right: 12px; padding: 2px 9px; background: #d9262c; color: #fff; border: 1px solid #ff8a8a; font: 800 11px var(--font-body); font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.rzo-mode em.premium { background: linear-gradient(#f6dca2, #c9a35a); color: #3a2508; border-color: #fff3cf; }
.rzo-mode.principal { min-height: 96px; border-color: #ff5a0a; background: linear-gradient(90deg, rgba(64, 22, 4, .97), rgba(30, 18, 30, .95)); }
.rzo-mode.principal:hover { border-color: #ffb27a; box-shadow: 0 0 26px rgba(255, 90, 10, .4); }
.rzo-mode.principal .rzo-ic { width: 88px; height: 88px; margin-inline-start: -44px; border-color: #ff8a3d; box-shadow: 0 0 0 2px #4a1700, inset 0 0 0 3px rgba(0, 0, 0, .6), 0 0 24px rgba(255, 90, 10, .45); }
.rzo-mode.principal .rzo-ic span { font-size: 38px; color: #ffb27a; }
.rzo-mode.principal em { position: static; margin-inline-start: auto; padding: 8px 16px; background: #ff5a0a; border: 0; font-size: 14px; white-space: nowrap; }
.rzo-compte { margin-top: 20px; font-size: 14px; color: #c7cfdd; }
.rzo-compte a { color: #ecc87e; }
.rzo .st-found { color: #4ade80; } .rzo .st-missed { color: #f87171; } .rzo .st-retry { color: #fde047; } .rzo .st-todo, .rzo .st-inprogress { color: #7dd3fc; }

/* ============================================================== ecrans plus etroits */
@media (max-width: 1000px) {
    .rzc-hud { grid-template-columns: auto minmax(0, 1fr); }
    .rzc-stats, .rzc-go { grid-column: 1 / -1; }
    .rzc-stats { justify-content: space-around; }
    .rzc-go { clip-path: none; text-align: center; }
    .rzc-corps { grid-template-columns: minmax(0, 1fr); }
    .rzc-droite { min-height: 460px; order: -1; }
    .rzc-perso { width: 220px; }
}
@media (max-width: 860px) {
    .rzg-grille { grid-template-columns: minmax(0, 1fr); }
    .rzo-liste { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
    .rzg-acc { grid-template-columns: minmax(0, 1fr); justify-items: center; }
    .rzg-acc-cta { justify-content: center; }
}
@media (max-width: 560px) {
    .rzg-panneau { padding-inline: 12px; }
    .rzg-onglet { font-size: 26px; padding: 4px 12px; }
    .rzg-ligne { grid-template-columns: minmax(0, 1fr) 46px; gap: 8px; }
    .rzg-tuile { grid-template-columns: 46px minmax(0, 1fr); gap: 10px; min-height: 70px; }
    .rzg-ic { width: 46px; height: 46px; padding: 3px; }
    .rzg-txt b { font-size: 24px; }
    .rzg-ligne.vedette .rzg-tuile { grid-template-columns: 58px minmax(0, 1fr); }
    .rzg-ligne.vedette .rzg-ic { width: 58px; height: 58px; }
    .rzg-ligne.vedette .rzg-txt b { font-size: 32px; }
    .rzg-cote svg { width: 24px; height: 24px; }
    .rzg-etat { grid-template-columns: auto auto; }
    .rzg-stat.bonus { grid-column: 1 / -1; }
    .rzg-etat.visiteur { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
    .rzg-bouton.grand { font-size: 36px; padding: 8px 30px 13px; }
    .rzg-accueil > .rzg-panneau { padding: 62px 14px 22px; }
    .rzc-hud { padding: 10px; gap: 14px; }
    .rzc-piste > small { display: none; }
    .rzc-barres { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .rzc-stats { gap: 10px; }
    .rzc-stats b { font-size: 20px; }
    .rzc-grille { grid-template-columns: minmax(0, 1fr); }
    .rzc-tuile.grande { min-height: 150px; }
    .rzc-bande { grid-template-columns: minmax(0, 1fr); }
    .rzc-plaque b { font-size: 26px; }
    .rzo-mode { margin-inline-start: 22px; padding-inline-end: 12px; }
    .rzo-ic { width: 62px; height: 62px; margin-inline-start: -31px; }
    .rzo-txt b { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    .n-sol > i, .rzg-acc-halo, .rzg-acc-carte .rz-carte, .rzc-q { animation: none; }
}
