/* Seasonal scenes are separate from the user's original snow and Santa. */
.ce-season-scene .ce-holiday-story-part > svg { filter: drop-shadow(0 2px 1px #102b3c20); }
.ce-season-spring-sun { left: 3%; top: 2px; width: 68px; height: 68px; }
.ce-season-spring-meadow { inset: auto 0 0; height: 47px; }
.ce-season-spring-flower { bottom: 2px; width: 64px; transform: translateX(-50%); }
.ce-season-flower-grow { transform-box: view-box; transform-origin: 50% 95%; }
.ce-season-flower-bloom { transform-box: view-box; transform-origin: 50% 36.36%; }
.ce-season-butterfly { left: 68%; bottom: 69px; width: 54px; height: 49px; }
.ce-season-butterfly-wing { transform-box: view-box; transform-origin: center; }
.ce-season-summer-sun { left: 4%; bottom: 48px; width: 83px; height: 83px; }
.ce-season-sun-rays { transform-box: view-box; transform-origin: center; }
.ce-season-summer-sea { inset: auto 0 0; height: 57px; }
.ce-season-summer-beach { right: 0; bottom: 0; width: 33%; max-width: 380px; height: 86px; }
.ce-season-summer-palm { right: 5%; bottom: 8px; width: 122px; height: 122px; }
.ce-season-palm-leaves { transform-box: view-box; transform-origin: 52% 35%; }
.ce-season-summer-boat { left: 56%; bottom: 28px; width: 108px; height: 90px; }
.ce-season-boat-rock { transform-box: view-box; transform-origin: center 88%; }
.ce-season-autumn-tree { left: 5%; bottom: 0; width: 155px; height: 136px; }
.ce-season-autumn-crown { transform-box: view-box; transform-origin: 52% 50%; }
.ce-season-autumn-cloud { left: 37%; top: -3px; width: 146px; height: 80px; opacity: .7; }
.ce-season-autumn-leaf { bottom: 4px; width: 27px; height: 30px; transform: rotate(var(--ce-leaf-turn)); }
.ce-season-autumn-ground { inset: auto 0 0; height: 39px; z-index: -1; }
.ce-season-rain { position: absolute; top: 12px; width: 1px; height: 11px; background: #b3d2e06b; border-radius: 50%; transform: rotate(15deg); opacity: .55; }
.ce-season-winter-distant { left: 1%; bottom: 0; width: 37%; height: 113px; }
.ce-season-winter-cabin { left: 16%; bottom: 0; width: 131px; height: 119px; }
.ce-season-winter-bank { inset: auto 0 0; height: 39px; }
.ce-season-winter-snowman { right: 12%; bottom: 0; width: 148px; height: 130px; }
.ce-season-snowman-bottom,.ce-season-snowman-middle,.ce-season-snowman-head { transform-box: view-box; transform-origin: 50% 95%; }
.ce-season-winter-flake { position: absolute; bottom: calc(17px + var(--ce-season-i) * .12px); width: var(--ce-flake-size); height: var(--ce-flake-size); border-radius: 50%; background: #eff8fc; box-shadow: 0 0 3px #a4c9dc; opacity: .72; }
body.light-mode .ce-season-winter-flake,.ce-holiday-preview-stage[data-color="light"] .ce-season-winter-flake { background: #d5e8f2; box-shadow: 0 0 2px #8ca9bc; }
@media (min-width:761px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
    @supports (width:1cqw) {
        /* After the last action, hold the completed scene AND greeting for
           ten seconds, then fade gently overfour seconds. Each season has
           its own action length. Opacity keeps the root eligible for replay. */
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"])[data-holiday-preset="season-spring"] { animation: ce-holiday-story-season-spring-fade 120s ease-in-out infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"])[data-holiday-preset="season-summer"] { animation: ce-holiday-story-season-summer-fade 120s ease-in-out infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"])[data-holiday-preset="season-autumn"] { animation: ce-holiday-story-season-autumn-fade 120s ease-in-out infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"])[data-holiday-preset="season-winter"] { animation: ce-holiday-story-season-winter-fade 120s ease-in-out infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:is([data-holiday-preset="season-winter"],[data-holiday-preset="season-autumn"]):not([data-preview-device="mobile"]) > .ce-holiday-scene { overflow: visible; }
        .ce-holiday-art--story.ce-holiday-art--animated:is([data-holiday-preset="season-winter"],[data-holiday-preset="season-autumn"]):not([data-preview-device="mobile"]) .ce-season-scene { --ce-season-drop: calc(-100dvh - 160px); }
        .ce-holiday-preview-stage .ce-season-scene { --ce-season-drop: -145px !important; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-flower-grow { animation: ce-holiday-story-spring-grow 120s cubic-bezier(.2,.7,.3,1) calc(var(--ce-season-i) * .32s) infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-flower-bloom { animation: ce-holiday-story-spring-bloom 120s ease-out calc(var(--ce-season-i) * .32s) infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-butterfly { animation: ce-holiday-story-spring-butterfly 120s ease-in-out infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-butterfly-wing { animation: ce-holiday-story-butterfly-wing .75s ease-in-out infinite alternate; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-summer-boat { animation: ce-holiday-story-summer-sailing 120s linear infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-boat-rock { animation: ce-holiday-story-summer-rock 3.4s ease-in-out infinite alternate; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-wave-back { animation: ce-holiday-story-summer-wave 6s ease-in-out infinite alternate; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-wave-front { animation: ce-holiday-story-summer-wave 4.2s ease-in-out infinite alternate-reverse; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-palm-leaves { animation: ce-holiday-story-palm-sway 4.6s ease-in-out infinite alternate; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-sun-rays { animation: ce-holiday-story-sun-rays 120s linear infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-autumn-leaf { animation: ce-holiday-story-autumn-leaf 120s ease-in-out calc(var(--ce-season-i) * .47s) infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-rain { animation: ce-holiday-story-autumn-rain 120s linear calc(var(--ce-season-i) * .23s) infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-autumn-crown { animation: ce-holiday-story-autumn-tree 4s ease-in-out infinite alternate; }
        /* Capacity can add flakes without extending the winter story. New
           flakes reuse the first48 fall slots; older markup keeps its timing. */
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-winter-flake { animation: ce-holiday-story-winter-flake 120s linear calc(var(--ce-season-fall-i,var(--ce-season-i)) * .14s) infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-winter-bank { animation: ce-holiday-story-winter-bank 120s ease-out infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-snowman-bottom { animation: ce-holiday-story-winter-bottom 120s cubic-bezier(.25,.7,.4,1) infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-snowman-middle { animation: ce-holiday-story-winter-middle 120s cubic-bezier(.25,.7,.4,1) infinite both; }
        .ce-holiday-art--story.ce-holiday-art--animated:not([data-preview-device="mobile"]) .ce-season-snowman-head { animation: ce-holiday-story-winter-head 120s cubic-bezier(.25,.7,.4,1) infinite both; }
    }
}
/* Consent visibility remains inherited from the original overlay. */
body:has(.ce-analytics-consent:not([hidden])) .ce-holiday-art--overlay:not([data-holiday-preview]) .ce-season-scene * { animation-play-state: paused !important; }
body:has(.ce-analytics-consent:not([hidden])) .ce-holiday-art--story.ce-holiday-art--animated:not([data-holiday-preview]):is([data-holiday-preset="season-spring"],[data-holiday-preset="season-summer"],[data-holiday-preset="season-autumn"],[data-holiday-preset="season-winter"]) { animation-play-state: paused !important; }
/* Final action ends: spring16.8s, summer18s, autumn14.51s, winter25.2s. */
@keyframes ce-holiday-story-season-spring-fade { 0%,22.333333333% { opacity: 1; } 25.666666667%,100% { opacity: 0; } }
@keyframes ce-holiday-story-season-summer-fade { 0%,23.333333333% { opacity: 1; } 26.666666667%,100% { opacity: 0; } }
@keyframes ce-holiday-story-season-autumn-fade { 0%,20.425% { opacity: 1; } 23.758333333%,100% { opacity: 0; } }
@keyframes ce-holiday-story-season-winter-fade { 0%,29.333333333% { opacity: 1; } 32.666666667%,100% { opacity: 0; } }
@keyframes ce-holiday-story-spring-grow { 0% { transform: scaleY(.02); opacity: 0; } 1% { opacity: 1; } 5%,100% { transform: none; opacity: 1; } }
@keyframes ce-holiday-story-spring-bloom { 0%,2% { transform: scale(.1); } 6%,100% { transform: none; } }
@keyframes ce-holiday-story-spring-butterfly { 0% { opacity: 0; transform: translate(-65cqw,40px); } 1% { opacity: 1; } 4% { transform: translate(-42cqw,-7px) rotate(-9deg); } 7% { transform: translate(-20cqw,18px) rotate(8deg); } 11% { transform: translate(0,-7px) rotate(-5deg); } 14%,100% { opacity: 1; transform: none; } }
@keyframes ce-holiday-story-butterfly-wing { to { transform: scaleX(.55); } }
@keyframes ce-holiday-story-summer-sailing { 0% { transform: translateX(-65cqw); } 15%,100% { transform: none; } }
@keyframes ce-holiday-story-summer-rock { from { transform: rotate(-3deg) translateY(1px); } to { transform: rotate(3deg) translateY(-2px); } }
@keyframes ce-holiday-story-summer-wave { to { transform: translate(12px,3px); } }
@keyframes ce-holiday-story-palm-sway { to { transform: rotate(4deg); } }
@keyframes ce-holiday-story-sun-rays { 0% { transform: rotate(-30deg); } 15%,100% { transform: rotate(20deg); } }
@keyframes ce-holiday-story-autumn-leaf { 0% { opacity: 0; transform: translate(-35px,var(--ce-season-drop,-134px)) rotate(-60deg); } .5% { opacity: 1; } 3% { transform: translate(17px,calc(var(--ce-season-drop,-140px) * .5)) rotate(50deg); } 7%,100% { opacity: 1; transform: rotate(var(--ce-leaf-turn)); } }
@keyframes ce-holiday-story-autumn-rain { 0% { opacity: 0; transform: translate(15px,var(--ce-season-drop,-35px)) rotate(15deg); } .2%,3.7% { opacity: .65; } 4% { opacity: 0; transform: translate(-13px,107px) rotate(15deg); } 4.01%,100% { opacity: 0; } }
@keyframes ce-holiday-story-autumn-tree { to { transform: rotate(1.8deg); } }
@keyframes ce-holiday-story-winter-flake { 0% { opacity: 0; transform: translate(0,var(--ce-season-drop,-145px)); } .2% { opacity: .85; } 3% { transform: translate(var(--ce-flake-drift),calc(var(--ce-season-drop,-150px) * .5)); } 6%,100% { opacity: .72; transform: none; } }
@keyframes ce-holiday-story-winter-bank { 0% { transform: scaleY(.02); transform-origin: bottom; opacity: .1; } 12%,100% { transform: none; transform-origin: bottom; opacity: 1; } }
@keyframes ce-holiday-story-winter-bottom { 0%,11.8% { opacity: 0; transform: translate(-45cqw,18px) rotate(-100deg) scale(.2); } 12% { opacity: 1; } 15.5%,100% { opacity: 1; transform: none; } }
@keyframes ce-holiday-story-winter-middle { 0%,14.8% { opacity: 0; transform: translate(-20cqw,50px) rotate(-70deg) scale(.3); } 15% { opacity: 1; } 18.2%,100% { opacity: 1; transform: none; } }
@keyframes ce-holiday-story-winter-head { 0%,17.5% { opacity: 0; transform: translate(12cqw,75px) rotate(60deg) scale(.4); } 17.7% { opacity: 1; } 21%,100% { opacity: 1; transform: none; } }
@media (max-width:760px) {
    .ce-season-spring-flower { width: 43px; max-height: 87px; }
    .ce-season-spring-sun { width: 48px; height: 48px; }
    .ce-season-butterfly { width: 38px; height: 35px; bottom: 67px; }
    .ce-season-summer-sun { width: 62px; height: 62px; bottom: 40px; }
    .ce-season-summer-palm { width: 94px; height: 100px; right: 1%; bottom: 2px; }
    .ce-season-summer-beach { width: 37%; height: 65px; }
    .ce-season-summer-boat { width: 87px; height: 73px; left: 37%; bottom: 22px; }
    .ce-season-autumn-tree { width: 117px; height: 104px; left: 1%; }
    .ce-season-autumn-cloud { width: 105px; height: 62px; left: 52%; }
    .ce-season-autumn-leaf { width: 21px; height: 24px; }
    .ce-season-winter-snowman { width: 118px; height: 104px; right: 4%; }
    .ce-season-winter-cabin { width: 110px; height: 100px; left: 8%; }
    .ce-season-winter-distant { width: 49%; height: 94px; }
}
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-spring-flower { width: 43px; max-height: 87px; }
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-spring-sun { width: 48px; height: 48px; }
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-butterfly { width: 38px; height: 35px; bottom: 67px; }
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-summer-sun { width: 62px; height: 62px; bottom: 40px; }
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-summer-palm { width: 94px; height: 100px; right: 1%; bottom: 2px; }
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-summer-beach { width: 37%; height: 65px; }
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-summer-boat { width: 87px; height: 73px; left: 37%; bottom: 22px; }
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-autumn-tree { width: 117px; height: 104px; left: 1%; }
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-autumn-cloud { width: 105px; height: 62px; left: 52%; }
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-autumn-leaf { width: 21px; height: 24px; }
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-winter-snowman { width: 118px; height: 104px; right: 4%; }
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-winter-cabin { width: 110px; height: 100px; left: 8%; }
.ce-holiday-art--story[data-holiday-preview][data-preview-device="mobile"] .ce-season-winter-distant { width: 49%; height: 94px; }
