/* Easy Snowfall - MIT license. All selectors are module-specific. */
#easysnowfall-layer {
    position: fixed;
    inset: 0;
    z-index: 9990;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    contain: strict;
}

#easysnowfall-layer .esnow-flake {
    position: absolute;
    top: -16px;
    display: block;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 2px rgba(77, 101, 119, 0.3);
    pointer-events: none;
    animation-name: esnow-fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

#easysnowfall-layer.esnow-paused .esnow-flake {
    animation-play-state: paused;
}

#easysnowfall-layer.esnow-dismissed {
    visibility: hidden;
}

#easysnowfall-toggle {
    position: fixed;
    bottom: 12px;
    left: 12px;
    z-index: 9991;
    box-sizing: border-box;
    width: auto;
    min-width: 90px;
    min-height: 36px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    background: #20394d;
    color: #ffffff;
    font: 400 12px/1.4 Arial, sans-serif;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#easysnowfall-toggle:hover {
    background: #102738;
}

#easysnowfall-toggle:focus-visible {
    outline: 3px solid #59a7ed;
    outline-offset: 3px;
}

@keyframes esnow-fall {
    from { transform: translate3d(0, -20px, 0); }
    to { transform: translate3d(var(--esnow-drift, 20px), calc(100vh + 40px), 0); }
}

@media (prefers-reduced-motion: reduce), print {
    #easysnowfall-layer,
    #easysnowfall-toggle {
        display: none !important;
    }
}
