/* A reversible December layer: all artwork is decorative and pointer-transparent. */
.seasonal-snowfall{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:8}.seasonal-snowfall[hidden]{display:none}.seasonal-snowfall i{position:absolute;left:var(--x);top:-12px;width:var(--size);height:var(--size);border-radius:50%;background:#b9cde4;opacity:.55;animation:saku-snow var(--duration) var(--delay) linear infinite}
html[data-theme=dark] .seasonal-snowfall i{background:#fff;opacity:.4}
@keyframes saku-snow{to{transform:translate(35px,105vh)}}
.seasonal-greeting,.seasonal-snowman,.seasonal-reward-ideas{display:none}
html[data-season=holiday] .seasonal-greeting{display:block;font-size:12px;color:#8050db;font-weight:650;letter-spacing:.02em}html[data-theme=dark][data-season=holiday] .seasonal-greeting{color:#c7acf5}
html[data-season=holiday] .seasonal-reward-ideas{display:block}
html[data-season=holiday] .child-progress::after{content:"";position:absolute;pointer-events:none;top:0;left:6%;right:6%;height:5px;border-radius:0 0 50% 35%;background:linear-gradient(90deg,transparent,#f4fbff 12%,#fff 75%,transparent);opacity:.9}
html[data-season=holiday] .gold-coin{background:transparent url('holiday-candy.svg') center/contain no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important}html[data-season=holiday] .gold-coin::before,html[data-season=holiday] .gold-coin::after{display:none!important}
html[data-season=holiday] .streak-icon{font-size:0!important;display:inline-block;width:1em;min-width:16px;height:20px;background:url('holiday-candle.svg') center/contain no-repeat;vertical-align:middle}
html[data-season=holiday] #app>.day-timeline::before{width:28px;transform:translateX(-14px);background:url("holiday-lights.svg") center top/28px 144px repeat-y}
html[data-season=holiday] .seasonal-snowman{display:block;position:absolute;width:70px;height:86px;left:calc(80% - 100px);bottom:calc(100% - 3px);pointer-events:none} .seasonal-snowman svg{display:block;width:100%;height:100%}
.seasonal-snowman.is-awake .snowman-arm{transform-origin:63px 68px;animation:snowman-wave 1.5s ease-in-out 3}
@keyframes snowman-wave{50%{transform:rotate(-20deg)}}
.seasonal-celebration{position:absolute;left:45%;top:0;color:#8050db;pointer-events:none;animation:snow-sparkle 1.8s ease-out both;font-size:22px}
@keyframes snow-sparkle{0%{opacity:0;transform:translateY(12px) scale(.6)}25%{opacity:1}100%{opacity:0;transform:translateY(-25px) scale(1.2)}}
.seasonal-toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);max-width:80vw;width:max-content;border:1px solid #b8d7c0;border-radius:99px;background:#edf8ef;color:#31573b;padding:12px 20px;box-shadow:0 4px 20px #23153415;z-index:20;pointer-events:none;font-size:14px}
.seasonal-snow-option{display:flex!important;align-items:center;gap:12px;margin-top:20px}.seasonal-snow-option input{width:20px;height:20px;accent-color:#8050db}
html:not([data-season=holiday]) .seasonal-celebration,html:not([data-season=holiday]) .seasonal-toast{display:none}
@media(max-width:700px){html[data-season=holiday] .seasonal-snowman{width:54px;height:68px;left:calc(80% - 76px)}.seasonal-greeting{font-size:10px!important}.seasonal-snowfall i:nth-child(even){display:none}}
@media(prefers-reduced-motion:reduce){.seasonal-snowfall{display:none!important}.seasonal-celebration{display:none}.seasonal-snowman.is-awake .snowman-arm{animation:none}}
html[data-season=holiday] #app .bonus-block::after,html[data-season=holiday] .lp-access::after{content:"";position:absolute;top:-15px;left:3px;right:3px;height:30px;pointer-events:none;background:url("holiday-snow.svg") center/100% 100% no-repeat;z-index:1}
.seasonal-snowfall i:nth-child(3n + 1){background:none!important;border-radius:0;width:10px;height:10px;font:12px/1 sans-serif;color:#94aac3}html[data-theme=dark] .seasonal-snowfall i:nth-child(3n + 1){color:#fff}
html[data-season=holiday] .day-fire.streak-icon{width:48px;height:64px}
html[data-season=holiday] .is-fire-day .calendar-day-icon{font-size:0;width:16px;height:20px;background:url('holiday-candle.svg') center/contain no-repeat}

@media(prefers-reduced-motion:reduce){html[data-season=holiday] #app>.day-timeline::before{background-image:url("holiday-lights-still.svg")}}
html[data-season=holiday] body:not(.family-landing) #app>.day-progress-header .child-progress{overflow:visible}
html[data-season=holiday] .child-progress::before{border-radius:999px}
html[data-season=holiday] .freeze-slot,html[data-season=holiday] .is-freeze-day .calendar-day-icon{display:inline-block;font-size:0!important;width:20px;height:20px;background:url('holiday-snowflake.svg') center/contain no-repeat;vertical-align:middle}
html[data-season=holiday] .stats-ice .freeze-slot{width:30px;height:30px}
html[data-season=holiday] #app .routine-sticky .hero[style] :is(.routine-heading h1,.routine-header-icon,.routine-start-time){color:#245c43}
html[data-season=holiday][data-theme=dark] #app .routine-sticky .hero[style] :is(.routine-heading h1,.routine-header-icon,.routine-start-time){color:#83ba98}
html[data-season=holiday] #app .countdown-divider :is(.countdown-divider-icon,.countdown-divider-before,.countdown-divider-after){color:#245c43}
html[data-season=holiday][data-theme=dark] #app .countdown-divider :is(.countdown-divider-icon,.countdown-divider-before,.countdown-divider-after){color:#a5dfb2}
/* Start the panel beneath the snow: no colored rim can peek through the drifts. */
html[data-season=holiday] #app .bonus-block{isolation:isolate;background:transparent;border-color:transparent;box-shadow:none;--holiday-panel:#e0eee4;--holiday-edge:#a5c6b1}
html[data-season=holiday][data-theme=dark] #app .bonus-block{--holiday-panel:#213e34;--holiday-edge:#426453}
html[data-season=holiday] #app .bonus-block::before{content:"";position:absolute;inset:12px -1px -1px;border-radius:inherit;background:var(--holiday-panel);border:1px solid var(--holiday-edge);border-top:0;box-shadow:0 5px 0 var(--holiday-edge);z-index:-1}
html[data-season=holiday] #app .bonus-block::after{top:-8px;left:-2px;right:-2px}
html[data-season=holiday] #app .bonus-heading :is(h1,p,.bonus-sparkle){color:#9b384b}
html[data-season=holiday][data-theme=dark] #app .bonus-heading :is(h1,p,.bonus-sparkle){color:#f0a8b1}
html[data-season=holiday] #app .bonus-block .mission-row{box-shadow:0 3px 0 #18362a22}
html[data-season=holiday] .seasonal-snowman{left:12%;bottom:calc(100% - 3px)}
html[data-season=holiday] .seasonal-snowman svg{transform-origin:50% 95%;animation:snowman-bob 4s ease-in-out infinite}
html[data-season=holiday] .snowman-arm{transform-origin:63px 68px;animation:snowman-wave 3.4s ease-in-out infinite}
@keyframes snowman-bob{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg) translateY(-2px)}}
/* Wrapped gifts: the labels and buying controls remain ordinary accessible buttons. */
html[data-season=holiday] dialog.rewards-page{background:#f4f8f1;border:1px solid #bdd1c0}
html[data-season=holiday][data-theme=dark] dialog.rewards-page{background:#192d27;border-color:#426453}
html[data-season=holiday] .shop-gift-icon{color:#c14e60}
html[data-season=holiday] .reward-grid{gap:48px 20px;margin-top:50px}
html[data-season=holiday] .reward-card{--wrap:#326953;--wrap-edge:#224d3d;position:relative;isolation:isolate;border:1px solid var(--wrap-edge);border-radius:8px 8px 14px 14px;padding-top:36px;background:linear-gradient(90deg,transparent calc(50% - 10px),#fbe1a420 calc(50% - 10px) calc(50% + 10px),transparent calc(50% + 10px)),var(--wrap);color:#fff9ee;box-shadow:0 5px 0 var(--wrap-edge)}
html[data-season=holiday] .reward-card:nth-child(even){--wrap:#984858;--wrap-edge:#713240}
html[data-season=holiday] .reward-card:not(:disabled):hover{background-color:var(--wrap);filter:brightness(1.08)}
html[data-season=holiday] .reward-card::before{content:"";position:absolute;width:64px;height:32px;top:-30px;left:calc(50% - 32px);background:url('holiday-bow.svg') center/contain no-repeat;pointer-events:none}
html[data-season=holiday] .reward-card::after{content:"";position:absolute;left:-5px;right:-5px;top:-2px;height:20px;border:1px solid var(--wrap-edge);border-radius:5px;background:linear-gradient(90deg,transparent calc(50% - 10px),#fbe1a4 calc(50% - 10px) calc(50% + 10px),transparent calc(50% + 10px)),var(--wrap);box-shadow:0 3px 0 #0002;pointer-events:none}
html[data-season=holiday] .reward-card .reward-art{display:grid;place-items:center;width:72px;height:72px;font-size:44px;background:#fff8ec;border-radius:50%;box-shadow:0 3px 0 #0002}
html[data-season=holiday] .reward-card small{color:#fff2da}
html[data-season=holiday] .reward-price{background:#fff1d4;color:#714824}
html[data-season=holiday] .shop-wallet-total{background:#e5eddc;color:#325a45}
html[data-season=holiday][data-theme=dark] .shop-wallet-total{background:#304c3f;color:#d6eddf}
@media(max-width:700px){html[data-season=holiday] .freeze-slot{width:16px;height:18px}html[data-season=holiday] .reward-grid{gap:42px 14px}html[data-season=holiday] .reward-card{padding:30px 10px 18px}html[data-season=holiday] .reward-card strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){html[data-season=holiday] .seasonal-snowman svg,html[data-season=holiday] .snowman-arm{animation:none!important}}
html[data-season=holiday] body:not(.family-landing) #app>.day-progress-header{padding-top:max(22px,env(safe-area-inset-top))}
html[data-season=holiday] #app .bonus-block>.growing-sprout{bottom:calc(100% - 22px)}
html[data-season=holiday] #app .bonus-block>.seasonal-snowman{bottom:calc(100% - 18px)}
@media(max-width:700px){html[data-season=holiday] body:not(.family-landing) #app>.day-progress-header{padding-top:max(18px,env(safe-area-inset-top))}}

html[data-season=holiday] #app .bonus-heading :is(h1,p,.bonus-sparkle){color:#285b42}
html[data-season=holiday][data-theme=dark] #app .bonus-heading :is(h1,p,.bonus-sparkle){color:#c5e2cb}
html[data-season=holiday][data-theme=dark] #app .routine-sticky .hero[style] :is(.routine-heading h1,.routine-header-icon,.routine-start-time){color:#83ba98}
html[data-season=holiday] #app .countdown-divider :is(.countdown-divider-icon,.countdown-divider-before,.countdown-divider-after){color:#9e3e4b}
html[data-season=holiday][data-theme=dark] #app .countdown-divider :is(.countdown-divider-icon,.countdown-divider-before,.countdown-divider-after){color:#e9a0a6}

html[data-season=holiday] .child-progress::after{top:-8px;left:0;right:0;height:32px;border-radius:0;background:url("holiday-status-snow.svg") center/100% 100% no-repeat;opacity:1}
html[data-season=holiday] .child-progress:nth-child(even)::after{transform:scaleX(-1)}

/* Keep full bulbs outside heading masks, including while headings stick on scroll. */
html[data-season=holiday] #app>.day-timeline::before{background-image:url("holiday-cord.svg")}
.holiday-bulbs{display:none;position:absolute;top:28px;bottom:var(--timeline-end,28px);left:calc(var(--rail-x) - 14px);width:28px;pointer-events:none}
html[data-season=holiday] .holiday-bulbs{display:block}
.holiday-bulbs>svg{position:absolute;left:0;width:28px;height:28px;overflow:visible}
.holiday-bulb-glass{animation:holiday-bulb-twinkle 2.6s var(--delay) ease-in-out infinite}
@keyframes holiday-bulb-twinkle{0%,100%{opacity:.35}20%,45%{opacity:1}70%{opacity:.6}}
@media(prefers-reduced-motion:reduce){.holiday-bulb-glass{animation:none}}

/* Leave breathing room below the snow cap on narrow screens. */
@media(max-width:700px){
 html[data-season=holiday] #app .bonus-block{padding-top:40px}
 html[data-season=holiday] #app .bonus-heading{align-items:flex-start}
 html[data-season=holiday] #app .bonus-heading h1{margin-bottom:8px}
 html[data-season=holiday] #app .bonus-heading p{line-height:1.5}
}

/* Snow drapes over the rounded panel shoulders rather than ending in points. */
html[data-season=holiday] #app .bonus-block::after{top:-8px;left:-1px;right:-1px;height:48px;background-image:url("holiday-bonus-snow.svg")}

/* Icy edges keep the snow visible against the light canvas. */
html[data-season=holiday]:not([data-theme=dark]) .child-progress::after{background-image:url("holiday-status-snow-light.svg");filter:drop-shadow(0 1px 1px #638aa633)}
html[data-season=holiday]:not([data-theme=dark]) #app .bonus-block::after{background-image:url("holiday-bonus-snow-light.svg");filter:drop-shadow(0 1px 1px #638aa633)}

/* Playful, accessible theme cards; snow belongs to the holiday theme. */
.seasonal-settings .seasonal-theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.seasonal-settings .seasonal-theme-options>label{position:relative;display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:0;min-height:124px;padding:20px 12px;border-radius:18px;text-align:center;cursor:pointer}
.seasonal-settings .seasonal-theme-options input{position:absolute;top:12px;right:12px;margin:0;accent-color:#8050db}
.seasonal-choice-art{font-size:38px;line-height:1.2}
.seasonal-choice-name{font-weight:750;overflow-wrap:anywhere}
.seasonal-settings .seasonal-theme-options>label:has(input:checked){border-color:#8050db;box-shadow:0 0 0 1px #8050db}
.seasonal-settings .seasonal-theme-options>label:focus-within{outline:3px solid #bd9af2;outline-offset:3px}

/* Parents keeps its everyday layout; only reward symbols follow the theme. */
body:has(dialog.parents-page[open]) :is(.seasonal-snowfall,.seasonal-toast,.seasonal-celebration){display:none!important}
html[data-season=holiday] .freeze-icon{display:inline-block;flex-shrink:0;width:20px;height:20px;font-size:0!important;vertical-align:middle;background:url("holiday-snowflake.svg") center/contain no-repeat}
html[data-season=holiday] .redemption-icon.freeze-icon{width:32px;height:32px}
