

html.cz-scene {
  --nuit: #2E1153; --nuit-fond: #1A0A30; --magenta: #C2106C; --cyan: #0F91A6; --jaune: #F5C518; --creme: #F6EFE2;
  --texte: #241536; --gris: #6A6178; --trait: rgba(36, 21, 54, .1); --encre-douce: rgba(246, 239, 226, .72);
  --bandes: linear-gradient(to right, var(--magenta) 0 33.3%, var(--cyan) 33.3% 66.6%, var(--jaune) 66.6% 100%);
  --barre-h: 58px;
  background: var(--nuit-fond);
}
html.cz-scene body { background: var(--nuit-fond) !important; margin: 0 !important; padding: 0 !important; overflow-x: hidden; }


.cz-scene-fond {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 50% 110%, hsla(338, 70%, 45%, .36), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% -10%, #3B1868 0%, var(--nuit-fond) 62%);
}
.cz-scene-fond .projo {
  position: absolute; top: -20vh; width: 46vw; height: 140vh; transform-origin: 50% 0; mix-blend-mode: screen;
  background: conic-gradient(from 180deg at 50% 0%, transparent 168deg, hsla(338, 85%, 70%, .09) 180deg, transparent 192deg);
  animation: cz-balayer 14s ease-in-out infinite alternate;
}
.cz-scene-fond .p1 { left: -8vw; } .cz-scene-fond .p2 { left: 27vw; animation-duration: 18s; animation-delay: -6s; }
.cz-scene-fond .p3 { left: 62vw; animation-duration: 16s; animation-delay: -3s; }
@keyframes cz-balayer { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
.cz-scene-fond .note { position: absolute; bottom: -10vh; font-weight: 800; font-size: 34px; color: hsla(338, 80%, 75%, .16); animation: cz-monter 24s linear infinite; }
.cz-scene-fond .n1 { left: 6%; } .cz-scene-fond .n2 { left: 22%; animation-delay: -8s; font-size: 26px; }
.cz-scene-fond .n3 { left: 78%; animation-delay: -15s; } .cz-scene-fond .n4 { left: 92%; animation-delay: -4s; font-size: 40px; }
@keyframes cz-monter { from { transform: translateY(0) rotate(-10deg); opacity: 0; } 10% { opacity: 1; } to { transform: translateY(-125vh) rotate(16deg); opacity: 0; } }



.cz-barre {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600; height: var(--barre-h); box-sizing: border-box;
  display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: 100%; align-items: center; gap: 10px; padding: 0 16px;
  background: rgba(26, 10, 48, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(246, 239, 226, .1);
  font-family: var(--cz-police, 'Manrope', system-ui, sans-serif);
  view-transition-name: cz-barre;
}
.cz-barre a, .cz-barre button { font: inherit; text-decoration: none; cursor: pointer; }
.cz-barre-g, .cz-barre-d { display: flex; align-items: center; gap: 8px; min-width: 0; max-height: 100%; }
.cz-barre-d { justify-content: flex-end; }
.cz-bouton {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  background: rgba(246, 239, 226, .1); color: var(--creme); border: 1px solid rgba(246, 239, 226, .22);
  font-size: 14px; font-weight: 800; transition: background .15s;
}
.cz-bouton:hover { background: rgba(246, 239, 226, .2); }
.cz-marque { position: relative; padding-bottom: 6px; font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--creme) !important; }
.cz-marque::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 2px; background: var(--bandes); }
.cz-filtres i { display: grid; gap: 3px; }
.cz-filtres i b { display: block; width: 16px; height: 2.5px; border-radius: 2px; }
.cz-filtres i b:nth-child(1) { background: var(--magenta); } .cz-filtres i b:nth-child(2) { background: var(--cyan); } .cz-filtres i b:nth-child(3) { background: var(--jaune); }
.cz-filtres-n { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--jaune); color: var(--nuit); font-size: 12px; text-align: center; }
.cz-filtres-n[hidden] { display: none; }

.cz-barre .utb-top-slot {
  display: flex; align-items: center; gap: 8px; max-height: 100%; margin: 0; padding: 0;
  background: none; border: 0; border-radius: 0; color: var(--creme);
}
.cz-barre .utb-top-slot a, .cz-barre .utb-top-slot button { color: var(--creme); }
.cz-barre .utb-skel-block { background: rgba(246, 239, 226, .12); animation: none; }
.cz-barre .utb-skel-ring { width: 46px; height: 36px; } .cz-barre .utb-skel-name, .cz-barre .utb-skel-sep { display: none; }
.cz-barre .utb-skel-gear { width: 36px; height: 36px; margin: 0; }
.cz-barre .utb-id-group { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; }
.cz-barre .utb-avatar-btn { display: flex; align-items: center; height: 38px; padding: 0; gap: 0; background: none !important; border: 0; }
.cz-barre .utb-ring-wrap { position: relative; display: block; width: 46px; height: 36px; flex-shrink: 0; }
.cz-barre .utb-ring { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cz-barre .utb-ring rect:first-child { fill: rgba(246, 239, 226, .1); stroke: rgba(246, 239, 226, .22); }
.cz-barre .utb-ring rect:last-child { stroke: var(--jaune); }
.cz-barre .utb-avatar-btn .utb-avatar-emoji { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; }
.cz-barre .utb-ring-car { display: none; }
.cz-barre .utb-ring-lvl {
  position: absolute; bottom: -4px; right: -6px; padding: 1px 5px; border-radius: 6px; border: 2px solid var(--nuit-fond);
  background: var(--jaune); color: var(--nuit); font-size: 10px; font-weight: 900; line-height: 1.2; pointer-events: none;
}
.cz-barre .utb-av-badge { top: -5px; right: -5px; }
.cz-barre .utb-prenom-link { display: inline-flex; align-items: center; height: 36px; padding: 0 4px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.cz-barre .utb-prenom { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.cz-barre .utb-stats-btn, .cz-barre .utb-gear-btn {
  width: 36px; height: 36px; margin: 0; border-radius: 50%; font-size: 15px; transform: none !important;
  background: rgba(246, 239, 226, .1); border: 1px solid rgba(246, 239, 226, .22);
}
.cz-barre .utb-stats-btn:hover, .cz-barre .utb-gear-btn:hover { background: rgba(246, 239, 226, .2); }

.cz-barre .utb-btn-login { background: transparent !important; border: 1.5px solid rgba(246, 239, 226, .3) !important; color: var(--creme) !important; }
.cz-barre .utb-btn-login:hover { border-color: var(--creme) !important; }
.cz-barre .utb-guest-msg { display: none !important; }


html.cz-scene .site-header, html.cz-scene .bottom-nav, html.cz-scene .chanzons-mascot { display: none !important; }


html.cz-scene body .unified-sidebar {
  display: block !important; position: fixed !important; top: 0 !important; bottom: 0 !important; left: -340px !important;
  width: 290px !important; max-height: none !important; margin: 0 !important; border-radius: 0 !important; z-index: 700 !important;
  overflow-y: auto; transition: left .28s cubic-bezier(.2, .9, .3, 1); box-shadow: none !important;
}
html.cz-scene body .unified-sidebar.mobile-open { left: 0 !important; box-shadow: 6px 0 40px rgba(0, 0, 0, .4) !important; }
html.cz-scene body .unified-sidebar .us-mob-hdr { display: flex !important; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #eee; }
html.cz-scene body .us-mob-backdrop { display: none; position: fixed; inset: 0; background: rgba(10, 4, 20, .5); z-index: 690; }
html.cz-scene body .us-mob-backdrop.show { display: block !important; }
html.cz-scene body.has-sidebar { padding-left: 0 !important; padding-right: 0 !important; }


@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

html.cz-scene:not(.cz-pret) .container, html.cz-scene:not(.cz-pret) #site-footer {
  visibility: hidden; animation: cz-secours 0s 2.5s forwards;
}
@keyframes cz-secours { to { visibility: visible; } }
html.cz-pret .container { animation: cz-arrivee .25s ease-out; }
@keyframes cz-arrivee { from { opacity: 0; } to { opacity: 1; } }


@media (max-width: 1024px) {
  html.cz-scene { --barre-h: 54px; }
  .cz-barre { padding: 0 8px; gap: 6px; grid-template-columns: auto minmax(0, 1fr) auto; }
  .cz-marque { justify-self: center; }
  .cz-marque { font-size: 19px; }
  .cz-bouton { padding: 7px 10px; font-size: 13px; }
  .cz-bouton .cz-txt-long { display: none; }
  
  .cz-barre .utb-btn-register { display: none !important; }
  .cz-barre .utb-btn-login { padding: 6px 12px; font-size: 13px; }
  
  .cz-barre .utb-prenom-link, .cz-barre .utb-stats-btn { display: none !important; }
  .cz-barre .utb-ring-wrap { width: 40px; height: 32px; }
  .cz-barre .utb-gear-btn { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .cz-scene-fond .projo, .cz-scene-fond .note { animation: none; }
  .cz-scene-fond .note { display: none; }
  html.cz-pret .container, html.cz-pret #ecran { animation: none; }
}
