body {
}

.seasonal-animation {
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
    overflow: hidden;
}
.seasonal-bat {
    position: absolute;
    left: 50%;
    top: 50%;
    color: #24182f;
    filter: drop-shadow(0 2px 2px rgba(255, 151, 50, .6));
    animation: seasonal-bat-flight 2.4s linear both;
}
.seasonal-bat svg {
    display: block;
    width: 100%;
    animation: seasonal-bat-flap var(--bat-flap-speed) ease-in-out infinite alternate;
}
@keyframes seasonal-bat-flight {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.15);
    }
    8% { opacity: 1; }
    25% {
        transform: translate(calc(-50% + var(--bat-branch-x)), calc(-50% + var(--bat-branch-y))) rotate(var(--bat-tilt)) scale(.7);
    }
    80% { opacity: 1; }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--bat-end-x)), calc(-50% + var(--bat-end-y))) rotate(var(--bat-tilt)) scale(1.15);
    }
}
@keyframes seasonal-bat-flap {
    from { transform: scaleY(.55); }
    to { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
    .seasonal-animation { display: none; }
}
