/* Premium Halloween: photographic materials, quiet charcoal and candlelight. */
.season-decor{display:none;position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden}
[data-season=halloween][data-decorations=true] .season-decor{display:block}
.season-decor img{position:absolute;height:auto;object-fit:contain;pointer-events:none;user-select:none}
.season-branch{filter:saturate(.58) brightness(.66);opacity:.74}.branch-left{left:-76px;top:67px;width:210px;transform:rotate(-7deg)}.branch-right{right:-99px;top:103px;width:205px;transform:scaleX(-1) rotate(-8deg);opacity:.6}
.season-stilllife{left:-7px;bottom:-11px;width:132px;filter:saturate(.64) brightness(.76) drop-shadow(0 5px 7px #0008)}
.lite-tv[data-season=halloween]{--ice:#e1c9a7;--muted:#aaa59e;--line:#eddec912;--soft:#e7c89a05;--surface:#13171b;background:radial-gradient(ellipse at 0 90%,#684d2910,transparent 48%),radial-gradient(ellipse at 95% 4%,#384a571a,transparent 60%),#13171b;color:#f1eee9}
[data-season=halloween] .home-view .hero{inset:0 0 auto 0;height:900px;border:0;border-radius:0;background:transparent;box-shadow:none}
[data-season=halloween] .hero-art{inset:0;isolation:isolate}
[data-season=halloween] .hero-art>img{opacity:.9;filter:blur(1.1px) saturate(.7) brightness(.89) contrast(.97);object-position:50% 50%;transform:scale(1.018)}
[data-season=halloween] .hero-art-shade{background:linear-gradient(90deg,#13171bfa 0%,#13171be9 24%,#13171b89 42%,#13171b14 70%,#13171b1c 100%),linear-gradient(0deg,#13171b 0%,#13171bfc 20%,#13171be0 35%,#13171b85 46%,transparent 65%),linear-gradient(180deg,#13171b77 0%,transparent 30%)}
[data-season=halloween] .hero-copy{left:144px}
[data-season=halloween] .hero h1>span{color:#dfc9aa}
[data-season=halloween] .hero-copy>p{color:#bab9b4}
[data-season=halloween] .primary{background:#deccb0;color:#28231d;border-color:#dfceb5;box-shadow:0 3px 23px #be865414}
[data-season=halloween] .sync-label{color:#ddc39e;border-color:#dab68d26;background:#d8b38708}
[data-season=halloween] .nav-item.active{color:#e0ccb1;background:linear-gradient(145deg,#38332d,#282724);border-color:#dfbd8a36;box-shadow:0 3px 17px #0004}
[data-season=halloween] .nav-item:hover{background:#4e463525;color:#ede3d5}
[data-season=halloween] .app-row .app-card .app-logo,[data-season=halloween] .apps-view .app-logo{background:linear-gradient(145deg,color-mix(in srgb,var(--app-bg) 24%,#202429),color-mix(in srgb,var(--app-bg) 12%,#181c21));border-color:#e6d5bd25;box-shadow:0 9px 20px #0003,inset 0 1px 0 #fff8ed08}
[data-season=halloween] .app-card:hover .app-logo,[data-season=halloween] .app-card:focus-visible .app-logo{border-color:#ccb694;box-shadow:0 9px 24px #0004,0 0 0 2px #dcc3a064}
[data-season=halloween] .app-card strong,[data-season=halloween] .page-intro h1{color:#f1eee9}
[data-season=halloween][data-decorations=true] .page-intro h1::after{content:"";display:inline-block;width:62px;height:43px;margin-left:17px;vertical-align:middle;background:url(assets/halloween-stilllife.png) center/contain no-repeat;filter:saturate(.64) brightness(.85);pointer-events:none}
[data-season=halloween] .lite-settings-panel,[data-season=halloween] .browser-start{background:linear-gradient(125deg,#3d35261a,#26303b17);border-color:#d8c6a91c}
[data-season=halloween] .toggle.on{background:#c7aa7535;border-color:#ccb78e44}[data-season=halloween] .toggle.on i{background:#e0c9a4}
[data-season=halloween] .access-trigger,[data-season=halloween] .access-options{background:#232729;border-color:#c6b29728}[data-season=halloween] .access-options button[aria-selected=true]{color:#e0c9a4;background:#d3b68a13}
[data-season=halloween] .kosmi-feature{background:linear-gradient(125deg,#282d30,#1d2329);border-color:#cab49725}
[data-season=halloween] .youtube-app-warning{background:linear-gradient(135deg,#292b2d,#151b22);border-color:#d5c09f33}
[data-season=halloween] .lite-tv.youtube-native .season-decor,[data-season=halloween] .lite-tv.kosmi-watching .season-decor{display:none}
html[data-season=halloween] #lite-boot{background:radial-gradient(ellipse at 50% 55%,#68533d23,transparent 50%),#13171b}
.season-frame-decor{display:none;position:fixed;inset:0;z-index:8;pointer-events:none;overflow:hidden}
html[data-season=halloween][data-decorations=true] .season-frame-decor{display:block}
.season-frame-decor img{position:absolute;height:auto;pointer-events:none;object-fit:contain;filter:saturate(.6) brightness(.7)}.frame-season-branch{left:-74px;top:88px;width:136px;opacity:.58;transform:rotate(-9deg)}.frame-season-stilllife{left:-22px;bottom:-11px;width:104px;opacity:.9}
html:has(.youtube-os-screen.is-watching) .season-frame-decor{display:none!important}
html:has(.music-os-page) .frame-season-branch{left:-43px;top:-10px;width:66px;opacity:.65}html:has(.music-os-page) .frame-season-stilllife{display:none}
html[data-season=halloween][data-decorations=true] .music-list-heading h1::after{content:"";display:inline-block;width:51px;height:35px;background:url(assets/halloween-stilllife.png) center/contain no-repeat;margin-left:13px;vertical-align:middle;filter:saturate(.65) brightness(.82);pointer-events:none}
html[data-season=halloween] .youtube-os-screen{background:radial-gradient(ellipse at 100% 0,#8b62341a,transparent 57%),#13171b!important}
html[data-season=halloween] .youtube-topbar{background:#24292ee6!important;border-color:#c6b69d28!important}
html[data-season=halloween] .youtube-browser{background:#1b2025b3!important;border-color:#c6b69d20!important}
html[data-season=halloween] .youtube-discovery button.is-active,html[data-season=halloween] .youtube-topbar form>button{background:#dec9a7!important;color:#272622!important;border-color:#dec9a7!important}
html[data-season=halloween] .youtube-section-heading>span{color:#bca688!important}
html[data-season=halloween] .youtube-message{background:#11171bcc!important;border-color:#b4a28620!important}
html[data-season=halloween] .music-track-panel{background:#20252bcc!important;border-color:#c6b49a24!important}
.tv-rail [data-icon=settings]{display:grid;place-items:center}.tv-rail [data-icon=settings]>svg{width:26px;height:26px;display:block;stroke-linejoin:round;stroke-linecap:round}
/* Atmosphere is a visual layer only. Motion uses CSS; it makes no requests. */
.season-decor>span,.season-frame-decor>span{position:absolute;display:block;pointer-events:none;user-select:none}
.season-eyes{width:83px;aspect-ratio:2.4;opacity:.75;filter:brightness(1.25) drop-shadow(0 0 5px #e4a95355);animation:eyes-breathe 11s ease-in-out infinite}
.season-eyes>img{inset:0;width:100%;height:100%;object-fit:contain!important;animation:eyes-blink 19s ease-in-out infinite;transform-origin:50% 50%;filter:none!important}
.eyes-forest{left:1130px;top:443px;animation-delay:-4s}.eyes-rail{left:79px;top:591px;width:52px;opacity:.65;animation-delay:-7s}.eyes-apps{left:781px;top:659px;width:64px;animation-delay:-1s}.eyes-rail img{animation-delay:-8s}.eyes-apps img{animation-delay:-13s}
.lite-tv:not([data-season-view=home]) .eyes-forest,.lite-tv:not([data-season-view=home]):not([data-season-view=apps]) .eyes-apps{display:none}
.lite-tv[data-season-view=apps] .eyes-apps{top:641px}
.season-bat{width:92px;height:48px;opacity:.62;filter:brightness(.6) saturate(.35);animation:bat-glide 28s ease-in-out infinite}
.season-bat>img{inset:0;width:100%;height:100%;object-fit:contain!important;filter:none!important}
.bat-one{left:980px;top:150px;animation-delay:-7s}.bat-two{left:1270px;top:205px;width:57px;height:30px;opacity:.44;animation:bat-glide-small 34s ease-in-out infinite;animation-delay:-14s}
.season-mist{position:absolute;left:-15%;width:130%;height:230px;pointer-events:none;opacity:.18;background:radial-gradient(ellipse at 12% 55%,#b4c8d333 0%,transparent 45%),radial-gradient(ellipse at 60% 64%,#bfced431 0%,transparent 38%),radial-gradient(ellipse at 90% 18%,#a7bccc25 0%,transparent 42%);filter:blur(17px);animation:mist-drift 47s ease-in-out infinite alternate;will-change:transform}
.mist-back{top:384px}.mist-front{bottom:35px;opacity:.11;animation-duration:61s;animation-delay:-23s;transform:scaleX(-1)}
.season-candle-glow{position:absolute;left:-48px;bottom:-50px;width:240px;height:210px;pointer-events:none;opacity:.5;background:radial-gradient(ellipse at 46% 50%,#ffb95821 0%,#f8a4510b 35%,transparent 68%);animation:candle-light 5.4s ease-in-out infinite}
[data-detail=full] .season-stilllife{left:-16px;bottom:-15px;width:185px;animation:candle-photo 5.4s ease-in-out infinite}
.app-card{position:relative}.season-app-foliage{display:none;position:absolute;left:3px;top:-12px;width:71px;height:53px;background:url(assets/halloween-branch.png) center/contain no-repeat;transform:rotate(-20deg);filter:saturate(.45) brightness(.75);opacity:.72;pointer-events:none;z-index:1}
[data-season=halloween][data-decorations=true][data-foliage=true][data-detail=full] .season-app-foliage{display:block}
[data-detail=full] .branch-left{width:230px;left:-78px}[data-detail=full] .branch-right{width:240px;right:-108px}
[data-detail=subtle] .eyes-rail,[data-detail=subtle] .eyes-apps,[data-detail=subtle] .bat-two{display:none}[data-detail=subtle] .season-mist{opacity:.08}[data-detail=subtle] .season-candle-glow{opacity:.25}
[data-eyes=false] .season-eyes,[data-mist=false] .season-mist,[data-bats=false] .season-bat,[data-foliage=false] .season-branch,[data-foliage=false] .frame-season-branch,[data-foliage=false] .season-app-foliage,[data-pumpkins=false] .season-stilllife,[data-pumpkins=false] .frame-season-stilllife,[data-candles=false] .season-candle-glow{display:none!important}
[data-pumpkins=false] .page-intro h1::after,html[data-pumpkins=false] .music-list-heading h1::after{display:none!important}
[data-candles=false] .season-stilllife{animation:none;filter:saturate(.64) brightness(.76) drop-shadow(0 5px 7px #0008)}
.eyes-frame{width:62px;right:34px;bottom:26px;opacity:.45}.bat-frame{width:66px;height:35px;right:62px;top:104px;opacity:.4;animation-delay:-8s}
.season-frame-decor .season-mist{bottom:-130px;top:auto;opacity:.07}
html:has(.music-os-page) .bat-frame,html:has(.music-os-page) .eyes-frame,html:has(.music-os-page) .season-mist{display:none}
[data-season=halloween] .lite-tv:has(#standby:not([hidden])) .season-decor{display:none}
[data-animation=false] .season-decor *,[data-animation=false] .season-frame-decor *{animation:none!important}
[data-active=false] .season-decor *,[data-active=false] .season-frame-decor *{animation-play-state:paused!important}
.lite-tv.youtube-native .season-decor *,.lite-tv.kosmi-watching .season-decor *,html:has(.youtube-os-screen.is-watching) .season-frame-decor *{animation-play-state:paused!important}
@keyframes eyes-breathe{0%,100%{filter:brightness(1.04) drop-shadow(0 0 3px #e4a95322)}50%{filter:brightness(1.7) drop-shadow(0 0 7px #e4a95366)}}
@keyframes eyes-blink{0%,43%,46%,100%{transform:scaleY(1)}44.4%{transform:scaleY(.08)}}
@keyframes candle-light{0%,100%{opacity:.42;transform:scale(1)}26%{opacity:.53;transform:scale(1.035)}58%{opacity:.45;transform:scale(.98)}78%{opacity:.55;transform:scale(1.04)}}
@keyframes candle-photo{0%,100%{filter:saturate(.64) brightness(.76) drop-shadow(0 5px 7px #0008)}45%{filter:saturate(.7) brightness(.87) drop-shadow(0 5px 7px #0008)}74%{filter:saturate(.66) brightness(.8) drop-shadow(0 5px 7px #0008)}}
@keyframes mist-drift{from{transform:translateX(-5%) scaleX(1)}to{transform:translateX(5%) scaleX(1.08)}}
@keyframes bat-glide{0%,100%{transform:translate(0,0) rotate(-9deg) scale(.9);opacity:.48}40%{transform:translate(85px,-24px) rotate(5deg) scale(1);opacity:.65}72%{transform:translate(160px,17px) rotate(-4deg) scale(.86);opacity:.4}}
@keyframes bat-glide-small{0%,100%{transform:translate(0,0) rotate(8deg)}50%{transform:translate(-125px,-32px) rotate(-5deg)}}
@media(prefers-reduced-motion:reduce){html:not([data-preview-motion=true]):not([data-season-motion=true]) .season-decor *,html:not([data-preview-motion=true]):not([data-season-motion=true]) .season-frame-decor *,html:not([data-preview-motion=true]):not([data-season-motion=true]) .season-app-charm{animation:none!important;will-change:auto!important}}
/* A fuller Plus-style Halloween frame, with the Lite layout preserved. */
.lite-tv[data-season=halloween]{--ice:#ffd4a6;background:radial-gradient(ellipse at 1% 97%,#b561292b,transparent 31%),radial-gradient(ellipse at 100% 8%,#8652ab23,transparent 41%),#13171b}
[data-season=halloween] .hero h1>span{color:#f0c295}[data-season=halloween] .primary{background:#edc297;border-color:#eecda9;box-shadow:0 0 25px #ee9a3720}
[data-season=halloween] .app-row .app-card:nth-child(even) .app-logo,[data-season=halloween] .apps-view .app-card:nth-child(even) .app-logo{border-color:#bfa0dc37;box-shadow:0 7px 23px #0004,inset 0 0 26px #a77de610}
[data-season=halloween] .app-row .app-card:nth-child(odd) .app-logo,[data-season=halloween] .apps-view .app-card:nth-child(odd) .app-logo{border-color:#deb07f40;box-shadow:0 7px 23px #0004,inset 0 0 26px #ec9b3910}
.season-haze{position:absolute;inset:0;pointer-events:none;border:1px solid #e7a2632b;box-shadow:inset 0 0 45px #ce722720;background:radial-gradient(ellipse at 0 94%,#e68c3926,transparent 25%),radial-gradient(ellipse at 100% 3%,#a672c71c,transparent 26%);animation:festival-haze 6s ease-in-out infinite alternate}
.season-garland{position:absolute;left:5%;top:0;width:90%;height:38px;pointer-events:none}.season-garland>svg{position:absolute;width:100%;height:30px}
.season-bulb{position:absolute;width:8px;height:13px;background:#ffb05f;border-radius:40% 40% 50% 50%;box-shadow:0 0 12px #ff9c4ebd,0 0 26px #ff993966;transform-origin:50% 0;animation:festival-lights 2.8s ease-in-out infinite alternate;animation-delay:calc(var(--light)*-.37s)}
.season-bulb::before{content:"";position:absolute;top:-3px;left:20%;width:60%;height:4px;border-radius:2px;background:#796655}.season-bulb>i{position:absolute;left:27%;top:2px;width:2px;height:7px;border-radius:50%;background:#ffeac7;opacity:.85}.season-bulb.is-violet{background:#d0a4f1;box-shadow:0 0 12px #cc9af5ae,0 0 26px #bb86f766}
.season-web{color:#ead4b9;pointer-events:none}.season-decor>.season-web,.season-frame-decor>.season-web{position:absolute;top:0;width:145px;opacity:.54;filter:drop-shadow(0 0 3px #e5c09844)}.web-left{left:0}.web-right{right:0;transform:scaleX(-1)}
.season-spider{position:absolute;right:16px;top:0;width:28px;height:220px;display:flex;flex-direction:column;align-items:center;color:#3c3340;filter:drop-shadow(0 1px 2px #e1c6ea66);transform-origin:50% 0;animation:festival-spider 5s ease-in-out infinite alternate}.season-spider>i{flex:1;width:1px;background:linear-gradient(#e4d4c444,#e5d6ccbb)}.season-spider>svg{width:28px;height:28px;flex:none}
.season-decor>.season-ghost,.season-frame-decor>.season-ghost{position:absolute;width:72px;height:108px;display:block;opacity:.8;filter:drop-shadow(0 0 14px #a686c733);animation:festival-ghost 4s ease-in-out infinite alternate}.season-ghost>img{inset:0;width:100%;height:100%;object-fit:contain!important;filter:none!important}.ghost-rail{left:9px;top:502px}.ghost-corner{right:-7px;top:690px;width:61px!important;height:96px!important;animation-delay:-2s!important}
.season-embers{position:absolute;inset:0;overflow:hidden;pointer-events:none}.season-embers>i{position:absolute;left:calc(3% + var(--ember)*11%);bottom:-8px;width:3px;height:3px;border-radius:50%;background:#f9b36e;box-shadow:0 0 9px #ffa958;opacity:0;animation:festival-ember 12s linear infinite;animation-delay:calc(var(--ember)*-1.4s)}
.season-app-charm{display:none;position:absolute;pointer-events:none;z-index:2;user-select:none;width:40px;height:40px;right:1px;bottom:24px;filter:drop-shadow(0 2px 3px #0009)}.season-app-charm img{width:100%;height:100%;object-fit:contain;pointer-events:none}.charm-ghost{width:37px;height:57px;right:-5px;bottom:24px;animation:festival-app-ghost 3.4s ease-in-out infinite alternate;transform-origin:50% 100%}.charm-web{left:0;top:0;right:auto;bottom:auto;width:55px;height:55px;opacity:.68;filter:none}.charm-web svg{width:100%;height:100%}.charm-bat{width:58px;height:30px;right:-6px;top:-8px;bottom:auto;filter:drop-shadow(0 0 2px #d6b9ec55);animation:festival-app-bat 3s ease-in-out infinite alternate}.charm-pumpkin{width:43px;height:45px;right:-4px;bottom:23px;filter:drop-shadow(0 0 6px #efb34544);animation:festival-pumpkin 4.5s ease-in-out infinite alternate}
[data-season=halloween][data-decorations=true][data-detail=full] .season-app-charm{display:block}
.apps-view .season-app-charm{width:49px;height:53px;right:14px;bottom:25px}.apps-view .charm-ghost{height:69px;width:47px;right:9px}.apps-view .charm-bat{width:72px;height:38px;right:8px;bottom:auto}.apps-view .charm-web{width:70px;height:70px;right:auto;bottom:auto}
.season-eyes{width:118px;opacity:.95;animation-duration:3.8s}.eyes-forest{left:1106px;top:417px}.eyes-rail{left:74px;top:614px;width:67px}.eyes-apps{left:778px;top:650px;width:76px}.lite-tv[data-season-view=apps] .eyes-apps{top:636px}.season-eyes>img{animation-duration:7s}
.season-bat{width:126px;height:67px;filter:brightness(.95) saturate(.55);animation-duration:8s}.bat-one{left:930px;top:151px}.bat-two{width:76px;height:40px;animation-duration:10s}.season-bat>img{animation:festival-wings .85s ease-in-out infinite alternate}
.season-mist{opacity:.45;animation-duration:16s}.mist-front{opacity:.26;animation-duration:24s}.season-candle-glow{opacity:.8;animation-duration:2.8s}[data-detail=full] .season-stilllife{filter:saturate(.8) brightness(.95) drop-shadow(0 4px 8px #0008);animation-duration:2.8s}
[data-detail=subtle] .ghost-corner,[data-detail=subtle] .season-embers{display:none}[data-detail=subtle] .season-web{width:100px;opacity:.34}
[data-lights=false] .season-garland,[data-ghosts=false] .season-ghost,[data-ghosts=false] .charm-ghost,[data-spiders=false] .season-spider,[data-foliage=false] .season-web,[data-foliage=false] .charm-web,[data-bats=false] .charm-bat,[data-pumpkins=false] .charm-pumpkin,[data-candles=false] .season-embers{display:none!important}
.season-frame-decor .season-garland{height:25px}.season-frame-decor .season-bulb{width:5px;height:8px}.season-frame-decor .season-bulb>i{height:4px;width:1px}.season-frame-decor>.season-web{width:90px;opacity:.35}.season-frame-decor .season-spider{height:166px;width:21px;right:7px}.season-frame-decor .season-spider>svg{width:21px;height:21px}.season-frame-decor .ghost-rail{left:1px;top:auto;bottom:92px;width:43px;height:65px}.season-frame-decor .ghost-corner{display:none}.season-frame-decor .season-embers{opacity:.6}.season-frame-decor .eyes-frame{width:74px;opacity:.75}.season-frame-decor .bat-frame{width:81px;height:42px;opacity:.65}
html:has(.music-os-page) .season-garland,html:has(.music-os-page) .season-spider,html:has(.music-os-page) .season-ghost{display:none}
[data-animation=false] .season-app-charm,[data-animation=false] .season-app-charm *,[data-animation=false] .season-decor *::before,[data-animation=false] .season-frame-decor *::before{animation:none!important}
[data-active=false] .season-app-charm,[data-active=false] .season-app-charm *,.view[hidden] .season-app-charm,.view[hidden] .season-app-charm *{animation-play-state:paused!important}
@keyframes festival-haze{to{opacity:.6}}
@keyframes festival-lights{from{opacity:.55;transform:rotate(-6deg)}to{opacity:1;transform:rotate(6deg)}}
@keyframes festival-spider{from{transform:rotate(-5deg) translateY(-4px)}to{transform:rotate(5deg) translateY(11px)}}
@keyframes festival-ghost{from{transform:translateY(0) rotate(-5deg)}to{transform:translateY(-17px) rotate(6deg)}}
@keyframes festival-app-ghost{from{transform:translateY(0) rotate(-7deg)}to{transform:translateY(-8px) rotate(5deg)}}
@keyframes festival-app-bat{from{transform:translateY(0) rotate(-10deg)}to{transform:translateY(-5px) rotate(9deg)}}
@keyframes festival-pumpkin{to{filter:drop-shadow(0 0 9px #ffba6577) brightness(1.2)}}
@keyframes festival-ember{0%{opacity:0;transform:translate(0,0)}12%{opacity:.55}80%{opacity:.23}100%{opacity:0;transform:translate(45px,-235px)}}
@keyframes festival-wings{from{transform:scaleY(1)}to{transform:scaleY(.68)}}
@keyframes eyes-breathe{0%,100%{filter:brightness(1.25) drop-shadow(0 0 4px #e4a95344)}50%{filter:brightness(2.7) drop-shadow(0 0 12px #ffb765b3)}}
@keyframes bat-glide{0%,100%{transform:translate(0,0) rotate(-9deg) scale(.9);opacity:.6}40%{transform:translate(170px,-43px) rotate(9deg) scale(1);opacity:.85}72%{transform:translate(280px,28px) rotate(-8deg) scale(.86);opacity:.62}}
@keyframes mist-drift{from{transform:translateX(-8%) translateY(0) scaleX(1)}to{transform:translateX(8%) translateY(-20px) scaleX(1.1)}}
@media(prefers-reduced-motion:reduce){html:not([data-preview-motion=true]):not([data-season-motion=true]) .season-app-charm,html:not([data-preview-motion=true]):not([data-season-motion=true]) .season-app-charm *,html:not([data-preview-motion=true]):not([data-season-motion=true]) .season-decor *,html:not([data-preview-motion=true]):not([data-season-motion=true]) .season-frame-decor *{animation:none!important;will-change:auto!important}}
