/* Holiday dressing. The script adds .gw-holiday only when one holiday is on. */
.gw-holiday {
    position: fixed;
    inset: 0;
    z-index: 12;
    pointer-events: none;
    overflow: hidden;
}

.gw-holiday__fx {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.gw-holiday__prop {
    position: fixed;
    bottom: 0;
    z-index: 13;
    pointer-events: none;
    isolation: isolate;
    aspect-ratio: var(--a, 1);
    user-select: none;
}

.gw-holiday__prop img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.38));
}

.gw-holiday__eye {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--s, 16%);
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 214, 96, 0.98) 0%, rgba(255, 122, 0, 0.82) 30%, rgba(255, 60, 0, 0.28) 54%, rgba(255, 40, 0, 0) 72%);
    mix-blend-mode: screen;
    animation: gw-eye-flicker var(--flick, 0.52s) linear infinite;
}

.gw-holiday__eye--b { --flick: 0.74s; }

@keyframes gw-eye-flicker {
    0% { opacity: 0.28; }
    11% { opacity: 1; }
    23% { opacity: 0.38; }
    39% { opacity: 0.95; }
    54% { opacity: 0.32; }
    71% { opacity: 0.88; }
    86% { opacity: 0.42; }
    100% { opacity: 0.28; }
}

@media (prefers-reduced-motion: reduce) {
    .gw-holiday__eye { animation: none; opacity: 0.8; }
}

@media print {
    .gw-holiday, .gw-holiday__prop { display: none !important; }
}
