/* Christmas theme for the player panel: loaded after style.css when private/theme.php returns 'christmas' */

.page-panel {
    background-image: url('../../../img/theme/christmas-bg.jpg');
    background-image: image-set(url('../../../img/theme/christmas-bg.webp') type('image/webp'), url('../../../img/theme/christmas-bg.jpg') type('image/jpeg'));
    background-position: center center;
}
@media (max-width: 768px) {
    .page-panel {
        background-image: url('../../../img/theme/christmas-bg-mobile.jpg');
        background-image: image-set(url('../../../img/theme/christmas-bg-mobile.webp') type('image/webp'), url('../../../img/theme/christmas-bg-mobile.jpg') type('image/jpeg'));
        background-position: center top;
    }
}

/* Light snow over the panel background (behind the card) */
.panel-overlay::after {
    content: '';
    position: fixed; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 150px 60px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1.5px 1.5px at 90px 150px, rgba(220,240,255,0.7), transparent),
        radial-gradient(2.5px 2.5px at 190px 190px, rgba(255,255,255,0.6), transparent);
    background-size: 220px 220px;
    animation: xmasPanelSnow 18s linear infinite;
}
@keyframes xmasPanelSnow { from { background-position: 0 0; } to { background-position: 50px 220px; } }
@media (prefers-reduced-motion: reduce) { .panel-overlay::after { animation: none; } }

/* Frosty glow around the panel card and the logos */
.panel-card { box-shadow: 0 0 60px rgba(0,0,0,0.8), 0 0 40px rgba(190,225,255,0.10); }
.panel-sidebar img, .login-logo-mobile { filter: drop-shadow(0 0 10px rgba(190,225,255,0.45)) drop-shadow(0 0 22px rgba(214,40,58,0.25)); }
