:root{--season-tint:transparent;--season-particle:#a4b6c8}
:root[data-season="winter"],:root[data-season="christmas"],:root[data-season="newyear"]{--season-tint:#7295bd;--season-particle:#96adc1}
:root[data-season="valentine"]{--season-tint:#bd7c91;--season-particle:#c98a9f}
:root[data-season="march8"],:root[data-season="spring"]{--season-tint:#8ba590;--season-particle:#d39eb5}
:root[data-season="summer"]{--season-tint:#b4a06b;--season-particle:#d3b46d}
:root[data-season="autumn"],:root[data-season="halloween"]{--season-tint:#ac8d70;--season-particle:#c59b74}
:root[data-season="confetti"]{--season-tint:#9b8fb8;--season-particle:#a692c4}
:root[data-theme="dark"]{--season-particle:#c4d7e6}
:root[data-season]:not([data-season=""]) .textured-auth:not(.auth-card){border-top:2px solid color-mix(in srgb,var(--season-tint) 65%,var(--line,#8885))!important}
:root[data-season]:not([data-season=""]) .top,:root[data-season]:not([data-season=""]) .s-top{border-bottom-color:color-mix(in srgb,var(--season-tint) 35%,var(--line,#8885))}
.season-decoration{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0;contain:strict;opacity:.48}
.season-decoration span{position:absolute;top:-5%;width:4px;height:4px;border-radius:50%;background:var(--season-particle);animation:season-fall 21s linear infinite;will-change:transform}
[data-season="christmas"] .season-decoration span:nth-child(3n),[data-season="newyear"] .season-decoration span:nth-child(3n){width:6px;height:6px;background:#c4aa74;box-shadow:0 0 5px #c4aa7444}
[data-season="valentine"] .season-decoration span{width:9px;height:8px;border-radius:0;background:#bd7c9166;clip-path:polygon(50% 22%,70% 0,100% 20%,100% 50%,50% 100%,0 50%,0 20%,30% 0)}
[data-season="march8"] .season-decoration span,[data-season="spring"] .season-decoration span{width:9px;height:5px;background:#c99caf77;border-radius:80% 0 80% 0}
[data-season="summer"] .season-decoration span{width:3px;height:3px;background:#bba65b;box-shadow:0 0 4px #c3b17744}
[data-season="autumn"] .season-decoration span{width:8px;height:12px;border-radius:75% 0 75% 0;background:#c4977566}
[data-season="halloween"] .season-decoration span{width:20px;height:8px;border-radius:0;background:#8b7b9a66;clip-path:polygon(0 0,30% 25%,40% 10%,50% 25%,60% 10%,70% 25%,100% 0,80% 100%,60% 70%,50% 100%,40% 70%,20% 100%)}
[data-season="confetti"] .season-decoration span{width:5px;height:9px;border-radius:1px;background:#a692c4aa}
[data-season="confetti"] .season-decoration span:nth-child(2n){background:#81a79daa}
[data-season-effects="soft"] .season-decoration span:nth-child(n+9){display:none}
[data-season-effects="off"] .season-decoration{display:none}
@keyframes season-fall{from{transform:translate3d(0,-5vh,0) rotate(0)}to{transform:translate3d(28px,110vh,0) rotate(140deg)}}
@media(max-width:700px){.season-decoration span:nth-child(n+7){display:none}}
@media(prefers-reduced-motion:reduce){.season-decoration{display:none}.season-decoration span{animation:none;will-change:auto}}
@media print{.season-decoration{display:none}}
.season-decoration span:nth-child(1){left:67%;animation-delay:-1.9s;animation-duration:26s;opacity:0.44999999999999996}
.season-decoration span:nth-child(2){left:34%;animation-delay:-3.8s;animation-duration:33s;opacity:0.6}
.season-decoration span:nth-child(3){left:1%;animation-delay:-5.699999999999999s;animation-duration:22s;opacity:0.75}
.season-decoration span:nth-child(4){left:68%;animation-delay:-7.6s;animation-duration:29s;opacity:0.3}
.season-decoration span:nth-child(5){left:35%;animation-delay:-9.5s;animation-duration:36s;opacity:0.44999999999999996}
.season-decoration span:nth-child(6){left:2%;animation-delay:-11.399999999999999s;animation-duration:25s;opacity:0.6}
.season-decoration span:nth-child(7){left:69%;animation-delay:-13.299999999999999s;animation-duration:32s;opacity:0.75}
.season-decoration span:nth-child(8){left:36%;animation-delay:-15.2s;animation-duration:21s;opacity:0.3}
.season-decoration span:nth-child(9){left:3%;animation-delay:-17.099999999999998s;animation-duration:28s;opacity:0.44999999999999996}
.season-decoration span:nth-child(10){left:70%;animation-delay:-19s;animation-duration:35s;opacity:0.6}
.season-decoration span:nth-child(11){left:37%;animation-delay:-20.9s;animation-duration:24s;opacity:0.75}
.season-decoration span:nth-child(12){left:4%;animation-delay:-22.799999999999997s;animation-duration:31s;opacity:0.3}
.season-decoration span:nth-child(13){left:71%;animation-delay:-24.7s;animation-duration:20s;opacity:0.44999999999999996}
.season-decoration span:nth-child(14){left:38%;animation-delay:-26.599999999999998s;animation-duration:27s;opacity:0.6}
.season-decoration span:nth-child(15){left:5%;animation-delay:-28.5s;animation-duration:34s;opacity:0.75}
.season-decoration span:nth-child(16){left:72%;animation-delay:-30.4s;animation-duration:23s;opacity:0.3}

html.site body{isolation:isolate}
html.site .cabinet-backdrop{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;--layer-opacity:.19;--layer-brightness:1}
html.site .cabinet-backdrop img{position:absolute;object-fit:cover;width:100%;height:100%;opacity:.14}
html.site .backdrop-layered .backdrop-landscape{inset:0;object-fit:cover;opacity:.12}
html.site .backdrop-layered .backdrop-building{bottom:4vh;width:42vw;height:auto;max-height:85vh;object-fit:contain;opacity:var(--layer-opacity)}
html.site .building-left{left:-6vw}html.site .building-right{right:-6vw}
html.site .backdrop-layered .backdrop-character{bottom:-5vh;width:31vw;height:103vh;max-width:1450px;object-fit:contain;object-position:bottom;opacity:var(--layer-opacity)}html.site .character-left{left:-4vw}html.site .character-right{right:-4vw}
html.site[data-season]:not([data-season=""]) .s-top{box-shadow:0 1px 0 color-mix(in srgb,var(--season-tint) 55%,transparent)}
html.site[data-season]:not([data-season=""]) :is(.s-card,.s-panel,.world-panel){border-top-color:color-mix(in srgb,var(--season-tint) 55%,var(--s-line))}
html.site[data-season]:not([data-season=""]) .s-section-title::after{background:linear-gradient(90deg,transparent,var(--season-tint),transparent)}
html.site[data-theme="dark"] .cabinet-backdrop{--layer-opacity:.18;--layer-brightness:.65}html.site[data-theme="dark"] .cabinet-backdrop img{filter:brightness(var(--layer-brightness)) saturate(.65)}
html.site [hidden]{display:none!important}
@media(max-width:900px){html.site .backdrop-layered .backdrop-character{display:none}html.site .building-left{display:none}html.site .backdrop-layered .building-right{width:100vw;right:-25vw}}
@media(prefers-color-scheme:dark){html.site[data-theme="auto"] .cabinet-backdrop{--layer-opacity:.18;--layer-brightness:.65}html.site[data-theme="auto"] .cabinet-backdrop img{filter:brightness(var(--layer-brightness)) saturate(.65)}}

/* Seasonal decoration must sit above opaque public sections, below navigation. */
html.site .season-decoration{z-index:20;opacity:.66}
html.site[data-season]:not([data-season=""]) .s-hero{background-color:color-mix(in srgb,var(--season-tint) 9%,var(--s-bg));background-image:radial-gradient(ellipse at 80% 15%,color-mix(in srgb,var(--season-tint) 24%,transparent),transparent 65%)}
html.site[data-season]:not([data-season=""]) :is(.s-strip,.s-footer,.s-section){border-color:color-mix(in srgb,var(--season-tint) 35%,var(--s-line));box-shadow:inset 0 1px 0 color-mix(in srgb,var(--season-tint) 22%,transparent)}
html.site[data-season]:not([data-season=""]) :is(.s-h1,.s-h2){text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--season-tint) 65%,transparent);text-underline-offset:.3em;text-decoration-thickness:2px}
