.christmas-decoration {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.christmas-decoration--home {
    position: fixed;
    z-index: 20;
}

.christmas-lights {
    position: absolute;
    inset: 0 0 auto;
    height: 30px;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 0, transparent 65%, #856535 69% 74%, transparent 78%) 0 0 / 80px 15px repeat-x,
        radial-gradient(ellipse 4px 5px at 20px 11px, #fff2bd 55%, transparent 90%) 0 0 / 80px 30px repeat-x,
        radial-gradient(ellipse 4px 6px at 53px 15px, #ffd078 55%, transparent 90%) 0 0 / 80px 30px repeat-x,
        radial-gradient(circle 12px at 20px 11px, #ffd47a70, transparent) 0 0 / 80px 30px repeat-x,
        radial-gradient(circle 14px at 53px 15px, #ffb94565, transparent) 0 0 / 80px 30px repeat-x;
}

.christmas-decoration--login {
    background: radial-gradient(ellipse min(390px, 62vw) min(360px, 55vh) at center, #ffca5e4a, #ffb63120 62%, transparent 100%);
}

.christmas-snow {
    position: absolute;
    inset: 0;
}

.christmas-snow span {
    position: absolute;
    top: -8px;
    left: var(--left);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: #fff6e5;
    opacity: 0.56;
    animation: christmas-fall var(--duration) linear var(--delay) infinite;
}

.christmas-snow span:nth-child(even) {
    --drift: -20px;
    opacity: 0.37;
}

@keyframes christmas-fall {
    to { transform: translate(var(--drift, 22px), max(620px, 103vh)); }
}

@media (max-width: 767px), (prefers-reduced-motion: reduce) {
    .christmas-snow { display: none; }
}
