/* Shared winter overlay. Included by the main and iframe page headers. */
#snowfall,
#snowfall::before,
#snowfall::after {
    position: fixed;
    inset: -100vh 0 0;
    z-index: 2147483647;
    pointer-events: none;
    content: '';
    background-image:
        radial-gradient(3px 3px at 20px 30px, rgba(255, 255, 255, .95), transparent 55%),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, .9), transparent 55%),
        radial-gradient(4px 4px at 110px 110px, rgba(255, 255, 255, .85), transparent 55%),
        radial-gradient(2px 2px at 160px 35px, rgba(255, 255, 255, .85), transparent 55%);
    background-size: 190px 190px;
    animation: snowfall 13s linear infinite;
}

#snowfall::before {
    opacity: .65;
    background-size: 260px 260px;
    animation-duration: 18s;
    animation-delay: -7s;
}

#snowfall::after {
    opacity: .45;
    background-size: 340px 340px;
    animation-duration: 25s;
    animation-delay: -15s;
}

@keyframes snowfall {
    from { transform: translate3d(-20px, -100vh, 0); }
    to { transform: translate3d(40px, 100vh, 0); }
}

@media (prefers-reduced-motion: reduce) {
    #snowfall,
    #snowfall::before,
    #snowfall::after {
        animation: none;
        inset: 0;
    }
}
