/* INDEX — index4g.com. Source commentée : src/, hors ligne. */
html[data-season="neige"] {
  --season: #8fd8ff;
  --gold:   #8fd8ff;
  --line:      rgba(170, 215, 255, .14);
  --line-soft: rgba(170, 215, 255, .08);
  --surface:   rgba(170, 215, 255, .05);
}

html[data-season="neige"] :focus-visible,
html.pad[data-season="neige"] :focus,
html[data-season="neige"] .padhint { --gold: #e5c469; }
html[data-season="neige"] ::selection { background: var(--season); color: #06121c; }
html[data-season="neige"] mark { background-image: linear-gradient(var(--season), var(--season)); }

html[data-season="neige"] body::after {
  content: ""; position: fixed; inset: 0; z-index: 29; pointer-events: none;
  --f: calc(.07 + .07 * var(--sn-p, .5));
  background:
    radial-gradient(42% 38% at 0 0,       rgba(205, 228, 255, calc(var(--f) * 1.2)), transparent 70%),
    radial-gradient(42% 38% at 100% 0,    rgba(205, 228, 255, var(--f)), transparent 70%),
    radial-gradient(40% 36% at 0 100%,    rgba(205, 228, 255, calc(var(--f) * .85)), transparent 70%),
    radial-gradient(40% 36% at 100% 100%, rgba(205, 228, 255, calc(var(--f) * .85)), transparent 70%);
}

html[data-season="neige"] :is(.hero__bg, .game__bg, .figure > img, .op img) {
  filter: url(#sn-cold) brightness(.9);
}
html[data-season="neige"] .op:hover img { filter: url(#sn-cold) brightness(1.02); }

html[data-season="neige"] .game__veil::after,
html[data-season="neige"] .hero__veil-x::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 40, 90, .34) 0%, transparent 46%, rgba(150, 190, 255, .05) 100%);
}

.sn-snow { position: fixed; inset: 0; z-index: 29; width: 100%; height: 100%; pointer-events: none; }

html[data-season="neige"] .hero__word { position: relative; width: fit-content; }
html[data-season="neige"] .gp-name { position: relative; }
.sn-cap { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }

html[data-season="neige"] .proof { overflow: visible; }
html[data-season="neige"] :is(.hero__body, .proof) { z-index: 1; }

.sn-bank { position: absolute; left: 0; bottom: 100%; overflow: visible; pointer-events: none; }
