.seasonal-snowfall {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1036;
    pointer-events: none;
}

.seasonal-lights {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1037;
    display: flex;
    height: 34px;
    overflow: hidden;
    pointer-events: none;
}

.seasonal-light {
    --bulb-color: #ffe4a0;
    --bulb-glow: rgba(255, 214, 115, .55);
    --twinkle-duration: 4.8s;
    --twinkle-delay: -1.2s;
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.seasonal-light:nth-child(4n + 2) {
    --twinkle-duration: 5.7s;
    --twinkle-delay: -3.4s;
}

.seasonal-light:nth-child(4n + 3) {
    --twinkle-duration: 4.3s;
    --twinkle-delay: -2.6s;
}

.seasonal-light:nth-child(4n) {
    --twinkle-duration: 6.2s;
    --twinkle-delay: -.5s;
}

.seasonal-light:nth-child(3n + 2) {
    --bulb-color: #ef9688;
    --bulb-glow: rgba(239, 113, 96, .45);
}

.seasonal-light:nth-child(3n) {
    --bulb-color: #a7dfb9;
    --bulb-glow: rgba(113, 201, 144, .45);
}

.seasonal-light::before {
    content: '';
    position: absolute;
    inset: -6px -1px auto;
    height: 14px;
    border-bottom: 2px solid #456653;
    border-radius: 0 0 50% 50%;
}

.seasonal-light::after {
    content: '';
    position: absolute;
    top: 11px;
    left: 50%;
    width: 9px;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 4px 4px 50% 50%;
    background: var(--bulb-color);
    box-shadow: 0 -4px 0 -1px #456653, 0 2px 9px 2px var(--bulb-glow);
    transform: translateX(-50%);
    animation: seasonal-light-twinkle var(--twinkle-duration) var(--twinkle-delay) ease-in-out infinite;
}

@keyframes seasonal-light-twinkle {
    0%, 100% {
        opacity: .8;
        filter: brightness(.95);
        box-shadow: 0 -4px 0 -1px #456653, 0 2px 7px 1px var(--bulb-glow);
    }
    45%, 60% {
        opacity: 1;
        filter: brightness(1.2);
        box-shadow: 0 -4px 0 -1px #456653, 0 2px 12px 3px var(--bulb-glow);
    }
}

@media print {
    .seasonal-snowfall,
    .seasonal-lights {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seasonal-light::after {
        animation: none;
    }

    .seasonal-snowfall {
        display: none;
    }
}
