.admin-holiday-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.55rem;
    border: 1px solid #cbd5e3;
    border-radius: 1rem;
    background: #fff;
    color: #33445a;
    font-size: 0.8rem;
}

.admin-holiday-toggle[aria-checked="true"] {
    border-color: #82ae9d;
    background: #edf7f2;
    color: #145042;
}

.admin-holiday-toggle:focus-visible {
    outline: 2px solid #134ad1;
    outline-offset: 2px;
}

.admin-holiday {
    position: fixed;
    inset: 0;
    z-index: 1030;
    pointer-events: none;
    overflow: hidden;
}

.admin-holiday-garland {
    position: absolute;
    inset: -0.7rem 0 auto;
    display: flex;
}

.admin-holiday-wire {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    flex: 1;
    height: 2rem;
    border-bottom: 2px solid #285846;
    border-radius: 0 0 50% 50%;
}

.admin-holiday-wire:nth-child(even) {
    --wire-phase: -1.8s;
}

.admin-holiday-bulb {
    position: relative;
    width: 0.35rem;
    height: 0.55rem;
    border-radius: 50% 50% 45% 45%;
    background: #fff5ce;
    box-shadow: 0 0 0.45rem 0.12rem var(--light-color);
    translate: 0 0.35rem;
    animation: admin-holiday-twinkle 5s ease-in-out infinite;
    animation-delay: calc(var(--wire-phase, 0s) + var(--bulb-phase, 0s));
    --light-color: #f9c755;
}

.admin-holiday-bulb:nth-child(2n) {
    --bulb-phase: -2.4s;
    animation-duration: 6.2s;
}

.admin-holiday-bulb:nth-child(3) {
    --bulb-phase: -0.7s;
    animation-duration: 4.4s;
}

.admin-holiday-bulb:nth-child(1),
.admin-holiday-bulb:nth-child(5) {
    translate: 0 0.1rem;
}

.admin-holiday-bulb:nth-child(2) {
    --light-color: #f79186;
    background: #ffd5cb;
}

.admin-holiday-bulb:nth-child(4) {
    --light-color: #68c9a0;
    background: #dcffe9;
}

@keyframes admin-holiday-twinkle {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.58;
    }
}

.admin-holiday-flake {
    position: absolute;
    top: -0.8rem;
    left: var(--flake-x);
    width: var(--flake-size);
    height: var(--flake-size);
    border-radius: 50%;
    background: #f5fbff;
    box-shadow: 0 0 0.22rem #9cc7eb;
    opacity: 0.72;
    animation: admin-holiday-fall var(--flake-duration) var(--flake-delay) linear infinite;
}

@keyframes admin-holiday-fall {
    50% {
        transform: translate(0.8rem, 50vh);
    }

    100% {
        transform: translate(-0.4rem, calc(100vh + 1rem));
    }
}

.admin-holiday-trees {
    position: absolute;
    right: 0.75rem;
    bottom: 0.5rem;
    display: flex;
    align-items: flex-end;
    gap: 0.15rem;
}

.admin-holiday-trees span {
    width: 1.35rem;
    height: 1.75rem;
    background: linear-gradient(#5bad91, #26775e 82%, #7c6452 82%);
    clip-path: polygon(50% 0, 75% 34%, 65% 34%, 88% 59%, 77% 59%, 100% 82%, 57% 82%,
        57% 100%, 43% 100%, 43% 82%, 0 82%, 23% 59%, 12% 59%, 35% 34%, 25% 34%);
}

.admin-holiday-trees span:nth-child(2) {
    width: 1.75rem;
    height: 2.3rem;
    background: linear-gradient(#77ba9b, #16634e 82%, #7c6452 82%);
}

.admin-holiday-trees span:nth-child(3) {
    width: 1rem;
    height: 1.35rem;
}

@media (prefers-reduced-motion: reduce) {
    .admin-holiday-bulb {
        animation: none;
    }

    .admin-holiday-snow {
        display: none;
    }
}

@media (max-width: 600px) {
    .admin-holiday-garland {
        top: -1rem;
    }

    .admin-holiday-wire:nth-child(n + 4),
    .admin-holiday-flake:nth-child(n + 9) {
        display: none;
    }

    .admin-holiday-trees {
        transform: scale(0.75);
        transform-origin: bottom right;
    }
}
