/* Seasonal layer; the player's saved light/dark preference stays untouched. */
.halloween-face{display:none}
:root[data-season=halloween]{color-scheme:dark;background:#17121d;color:#f6ede2;--green:#ffb467;--ink:#b39a84;--muted:#beb0c7;--line:#423549}
[data-season=halloween] body{background:#17121d}
[data-season=halloween] :is(.app,.bottom-nav,dialog){background:#211b29;color:#f6ede2;border-color:var(--line)}
[data-season=halloween] :is(.score-block h1,.paper-hint,.icon-button,.game-tabs button,.bottom-nav button){color:#c5b5cb}
[data-season=halloween] :is(.game-tabs [aria-selected=true],.bottom-nav [aria-current],.passive,.gift,.text-button,.paper-float){color:#ffb467}
[data-season=halloween] .scroll-rate{color:#c6a7e9}
[data-season=halloween] .score-line{color:#fff4e3}
[data-season=halloween] .score-line img{filter:sepia(1) saturate(3) hue-rotate(345deg) brightness(1.4)}
[data-season=halloween] .gift-icon{background:#ab4d20;color:#fff4e3}
[data-season=halloween] .menu-tile.orange{background:#a6481b}
[data-season=halloween] .menu-tile.green{background:#466643}
[data-season=halloween] .menu-tile.purple{background:#724a86}
[data-season=halloween] .menu-tile.blue{background:#494f89}
[data-season=halloween] :is(.primary,.daily-day.done){background:#a6481b;color:#fff4e3}
[data-season=halloween] .primary:disabled{background:#503b35;color:#cebab0}
[data-season=halloween] :is(.secondary-button,.buy-button,.item-icon){background:#3d2c32;color:#ffd09c}
[data-season=halloween] :is(.secondary-button:hover,.rating-tabs [aria-selected=true]){background:#50343c;color:#ffe0ba}
[data-season=halloween] :is(.field input,.field select){background:#2d2435;border-color:#66536e;color:#f6ede2}
[data-season=halloween] :is(.field input,.field select)::placeholder{color:#c2b1c8}
[data-season=halloween] :is(button,a,input,select):focus-visible{outline-color:#ffc786}
[data-season=halloween] .paper{--ink:#aa8565}
[data-season=halloween] .paper :is(.roll-back,.sheet,.paper-scrap){fill:#f4e6cf}
[data-season=halloween] .paper .roll-face{fill:#dbc5a8}
[data-season=halloween] .paper .roll-shadow{fill:#ac8c70}
[data-season=halloween] .paper .roll-hole{fill:#50403b}
[data-season=halloween] .paper.rolling .sheet{fill:#fff2da}
[data-season=halloween] .paper.rolling .roll-sheet-perforations{stroke:#aa8565}
[data-season=halloween] .halloween-face{display:block;fill:#50403b;stroke:none;pointer-events:none}
[data-season=halloween] .paper[data-skin=dollars] .halloween-face{display:none}
[data-season=halloween] .paper::after{content:"";position:absolute;right:-15px;top:-20px;width:76px;height:76px;background:url("bosses/pumpkin.webp") center/contain no-repeat;pointer-events:none}
[data-season=halloween] .score-block::before{content:"";position:absolute;top:0;left:0;width:66px;height:66px;pointer-events:none;opacity:.4;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none' stroke='%23b9a3c6' stroke-width='1'%3E%3Cpath d='M0 0L78 5M0 0L69 40M0 0L40 69M0 0L5 78M0 18Q10 10 18 0M0 38Q20 20 38 0M0 60Q30 30 60 0M0 78Q40 40 78 0M18 0Q17 9 16 10Q8 17 0 18M38 2Q32 14 32 19Q18 18 19 32Q12 34 2 38M60 4Q48 18 51 29Q29 29 29 51Q19 48 4 60'/%3E%3C/svg%3E") center/contain no-repeat}
[data-season=halloween] .seasonal-theme-note{color:#ffd09c;font-size:13px;line-height:1.6;margin:0;padding-bottom:14px;border-bottom:1px solid var(--line)}
[data-season=halloween] #profile-settings{--settings-surface:#302537;--settings-secondary:#c9b8ce;--settings-action:#ffc786;--settings-divider:#57425e}
/* Blood Moon keeps its battle palette and targets while the seasonal roll remains. */
[data-season=halloween].blood-moon :is(.app,.bottom-nav){background:#291517}
[data-season=halloween].blood-moon .paper::after{display:none}
@media(max-width:360px){[data-season=halloween] .paper::after{width:60px;height:60px;right:-9px;top:-14px}[data-season=halloween] .score-block::before{width:48px;height:48px}}
