/* Thème de Noël : règles actives seulement sous <html data-theme="christmas"> (voir shared/theme.js).
   Les images remplacées viennent de themes/christmas/ ; ici, la neige et les touches de couleur. */
:root[data-theme="christmas"] {
    --theme-glow: rgb(255 236 200 / 0.55);
    --button-round: url("/themes/christmas/themes/fantasy_isle/ui/crystal/button_round.webp");
    --wide-backdrop-square: url("/themes/christmas/game/assets/background_game_square.webp");
    --wide-backdrop-landscape: url("/themes/christmas/game/assets/background_game_landscape.webp");
}
/* Neige : trois couches de flocons de tailles différentes qui descendent à des vitesses différentes */
.theme-snow {
    position: fixed; inset: 0; z-index: 6; pointer-events: none;
    background-image:
        radial-gradient(circle 3px at 12% 18%, #fff 60%, transparent), radial-gradient(circle 3px at 64% 42%, #fff 60%, transparent),
        radial-gradient(circle 3px at 38% 76%, #fff 60%, transparent), radial-gradient(circle 3px at 86% 8%, #fff 60%, transparent),
        radial-gradient(circle 5px at 24% 52%, rgb(255 255 255 / 0.95) 50%, transparent), radial-gradient(circle 5px at 78% 68%, rgb(255 255 255 / 0.95) 50%, transparent),
        radial-gradient(circle 8px at 50% 30%, rgb(255 255 255 / 0.85) 35%, transparent), radial-gradient(circle 8px at 6% 88%, rgb(255 255 255 / 0.85) 35%, transparent);
    background-size: 160px 160px, 190px 190px, 230px 230px, 200px 200px, 320px 320px, 360px 360px, 520px 520px, 580px 580px;
    filter: drop-shadow(0 0 2px rgb(120 140 220 / 0.6));
    animation: theme-snow-fall 18s linear infinite;
    opacity: 0.95;
}
@keyframes theme-snow-fall {
    from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
    to { background-position: 30px 160px, -20px 190px, 40px 230px, -30px 200px, 60px 640px, -50px 720px, 80px 1560px, -70px 1740px; }
}
@media (prefers-reduced-motion: reduce) { .theme-snow { animation: none; opacity: 0.5; } }
