/* Weihnachts-Dekoration (nur im Aktionszeitraum geladen) */

/* Zuckerstangen-Mauszeiger (nur Geraete mit Maus) */
@media (hover: hover) and (pointer: fine) {
    html.venus-xmas,
    html.venus-xmas body,
    html.venus-xmas a,
    html.venus-xmas button,
    html.venus-xmas .btn,
    html.venus-xmas label,
    html.venus-xmas select,
    html.venus-xmas summary {
        cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 5 L20 20 C24 24 30 21 27 14' fill='none' stroke='%237a0f1a' stroke-width='9' stroke-linecap='round'/%3E%3Cpath d='M5 5 L20 20 C24 24 30 21 27 14' fill='none' stroke='%23ffffff' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M5 5 L20 20 C24 24 30 21 27 14' fill='none' stroke='%23d81e2e' stroke-width='6' stroke-dasharray='3.2 3.2'/%3E%3C/svg%3E") 4 4, auto;
    }
}

#venus-snow {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
}

#venus-dancer {
    position: fixed;
    right: 14px;
    bottom: 0;
    width: 150px;
    pointer-events: none;
    z-index: 8999;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

#venus-dancer svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

#venus-dancer .vd-dancer {
    transform-box: view-box;
    transform-origin: 85px 200px;
    animation: vd-sway 2.4s ease-in-out infinite alternate;
}

#venus-dancer .vd-head {
    transform-box: view-box;
    transform-origin: 84px 110px;
    animation: vd-nod 1.2s ease-in-out infinite alternate;
}

#venus-dancer .vd-arm-free {
    transform-box: view-box;
    transform-origin: 62px 126px;
    animation: vd-wave 1.2s ease-in-out infinite alternate;
}

#venus-dancer .vd-star {
    animation: vd-twinkle 1.6s ease-in-out infinite alternate;
}

#venus-dancer .vd-spark {
    animation: vd-twinkle 1s ease-in-out infinite alternate;
}

@keyframes vd-sway {
    0%   { transform: translateX(-12px) rotate(-7deg); }
    100% { transform: translateX(12px) rotate(7deg); }
}

@keyframes vd-nod {
    0%   { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
}

@keyframes vd-wave {
    0%   { transform: rotate(-28deg); }
    100% { transform: rotate(26deg); }
}

@keyframes vd-twinkle {
    0%   { opacity: 0.25; }
    100% { opacity: 1; }
}


/* ---- Strip-Show: 20-Sekunden-Ablauf ---- */
#venus-dancer .vd-all { animation: vd-cycle 20s linear infinite; }
@keyframes vd-cycle { 0% {opacity:0} 2% {opacity:1} 95% {opacity:1} 99% {opacity:0} 100% {opacity:0} }
#venus-dancer .w, #venus-dancer .p { transform-box: view-box; }
#venus-dancer .w-hat { animation: vd-w-hat 20s linear infinite; }
@keyframes vd-w-hat { 0%,12% {opacity:1} 12.01%,100% {opacity:0} }
#venus-dancer .p-hat { transform-origin: 85px 70px; opacity:0; animation: vd-p-hat 20s linear infinite; }
@keyframes vd-p-hat { 0%,12% {opacity:0; transform:translate(0,0) rotate(0deg) scale(1)} 12.01% {opacity:1; transform:translate(0,0) rotate(0deg) scale(1)} 15% {opacity:1; transform:translate(-50px,-70px) rotate(-150deg) scale(1); animation-timing-function:ease-in} 19%,100% {opacity:1; transform:translate(-61px,220px) rotate(70deg) scale(0.85)} }
#venus-dancer .w-coat { animation: vd-w-coat 20s linear infinite; }
@keyframes vd-w-coat { 0%,26% {opacity:1} 26.01%,100% {opacity:0} }
#venus-dancer .p-coat { transform-origin: 83px 150px; opacity:0; animation: vd-p-coat 20s linear infinite; }
@keyframes vd-p-coat { 0%,26% {opacity:0; transform:translate(0,0) rotate(0deg) scale(1)} 26.01% {opacity:1; transform:translate(0,0) rotate(0deg) scale(1)} 30% {opacity:1; transform:translate(75px,-25px) rotate(45deg) scale(0.9); animation-timing-function:ease-in} 35%,100% {opacity:1; transform:translate(-21px,134px) rotate(90deg) scale(0.55)} }
#venus-dancer .w-belt { animation: vd-w-belt 20s linear infinite; }
@keyframes vd-w-belt { 0%,43% {opacity:1} 43.01%,100% {opacity:0} }
#venus-dancer .p-belt { transform-origin: 83px 181px; opacity:0; animation: vd-p-belt 20s linear infinite; }
@keyframes vd-p-belt { 0%,43% {opacity:0; transform:translate(0,0) rotate(0deg) scale(1)} 43.01% {opacity:1; transform:translate(0,0) rotate(0deg) scale(1)} 46% {opacity:1; transform:translate(-70px,10px) rotate(-120deg) scale(1); animation-timing-function:ease-in} 50%,100% {opacity:1; transform:translate(5px,116px) rotate(8deg) scale(0.8)} }
#venus-dancer .w-boots { animation: vd-w-boots 20s linear infinite; }
@keyframes vd-w-boots { 0%,54% {opacity:1} 54.01%,100% {opacity:0} }
#venus-dancer .p-boots { transform-origin: 68px 262px; opacity:0; animation: vd-p-boots 20s linear infinite; }
@keyframes vd-p-boots { 0%,54% {opacity:0; transform:translate(0,0) rotate(0deg) scale(1)} 54.01% {opacity:1; transform:translate(0,0) rotate(0deg) scale(1)} 57% {opacity:1; transform:translate(60px,-60px) rotate(60deg) scale(1); animation-timing-function:ease-in} 62%,100% {opacity:1; transform:translate(48px,20px) rotate(-10deg) scale(0.7)} }
#venus-dancer .w-pants { animation: vd-w-pants 20s linear infinite; }
@keyframes vd-w-pants { 0%,66% {opacity:1} 66.01%,100% {opacity:0} }
#venus-dancer .p-pants { transform-origin: 80px 230px; opacity:0; animation: vd-p-pants 20s linear infinite; }
@keyframes vd-p-pants { 0%,66% {opacity:0; transform:translate(0,0) rotate(0deg) scale(1)} 66.01% {opacity:1; transform:translate(0,0) rotate(0deg) scale(1)} 70% {opacity:1; transform:translate(95px,-20px) rotate(60deg) scale(0.8); animation-timing-function:ease-in} 75%,100% {opacity:1; transform:translate(46px,62px) rotate(80deg) scale(0.5)} }
#venus-dancer .vd-bubble { opacity:0; transform-box: view-box; transform-origin: 62px 60px; animation: vd-bubble 20s linear infinite; }
@keyframes vd-bubble { 0%,77% {opacity:0; transform:scale(.6)} 80%,92% {opacity:1; transform:scale(1)} 95%,100% {opacity:0; transform:scale(1)} }


/* Buehnenlicht + Konfetti */
#venus-dancer .vd-light {
    animation: vd-glow 3.2s ease-in-out infinite alternate;
}

@keyframes vd-glow {
    0%   { opacity: 0.55; }
    100% { opacity: 1; }
}

#venus-dancer .vd-conf {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: vd-fall 20s linear infinite;
}

@keyframes vd-fall {
    0%, 77%  { opacity: 0; transform: translateY(0) rotate(0deg); }
    78%      { opacity: 1; transform: translateY(0) rotate(0deg); }
    94%      { opacity: 1; transform: translateY(330px) rotate(540deg); }
    95%,100% { opacity: 0; transform: translateY(330px) rotate(540deg); }
}

#venus-dancer .vd-conf.c1 { animation-delay: 0.15s; }
#venus-dancer .vd-conf.c2 { animation-delay: 0.3s; }
#venus-dancer .vd-conf.c3 { animation-delay: 0.1s; }
#venus-dancer .vd-conf.c4 { animation-delay: 0.45s; }
#venus-dancer .vd-conf.c5 { animation-delay: 0.25s; }
#venus-dancer .vd-conf.c6 { animation-delay: 0.55s; }
#venus-dancer .vd-conf.c7 { animation-delay: 0.35s; }

@media (max-width: 600px) {
    #venus-snow-toggle {
        padding: 10px 12px;
    }

    #venus-snow-toggle .vst-label {
        display: none;
    }

    #venus-dancer {
        width: 78px;
        right: 6px;
    }
}

#venus-snow-toggle {
    position: fixed;
    left: 16px;
    bottom: 16px;
    right: auto;
    width: auto;
    min-width: 0;
    margin: 0;
    z-index: 9002;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.7);
    background: linear-gradient(135deg, rgba(30, 8, 12, 0.92), rgba(10, 10, 10, 0.92));
    color: #f5f0e6;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#venus-snow-toggle .vst-icon {
    font-size: 17px;
    color: #cfe8ff;
    text-shadow: 0 0 6px rgba(160, 210, 255, 0.8);
}

#venus-snow-toggle:hover,
#venus-snow-toggle:focus-visible {
    transform: translateY(-2px);
    border-color: #d4af37;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 12px rgba(212, 175, 55, 0.35);
}

#venus-snow-toggle.is-off {
    color: #b8b0a2;
    border-color: rgba(212, 175, 55, 0.35);
}

#venus-snow-toggle.is-off .vst-icon {
    color: #8a8f96;
    text-shadow: none;
}

@media (max-width: 600px) {
}

@media (prefers-reduced-motion: reduce) {
    #venus-snow,
    #venus-dancer {
        display: none;
    }
}
