/* Rebuilt from the approved reference, not an ornate raster repeated on every box. */
body[data-theme-id="halloween"] {
 --skin-hero:url('/themes/halloween/assets/hero-v2.png');--skin-hero-shade:#08070b;
 --skin-panel:#121110;--skin-deep:#0c0c0d;--skin-raised:#211c17;--skin-text:#f8f5f0;--skin-muted:#bac1cb;
 --skin-frame:#9d5b29;--skin-edge:#c8833e;--skin-title:#ff8a23;--skin-display:"Segoe UI",system-ui,sans-serif;
 --skin-ornament:none;--skin-texture:none;--skin-nine-frame:none;--skin-radius:8px;--skin-button-radius:5px;
 --skin-button-top:#24201d;--skin-button-bottom:#11100f;--skin-button-text:#f6f2e9;
 --skin-primary-top:#f69b29;--skin-primary-bottom:#b94008;--skin-primary-text:#fff8ea;
 --skin-bevel:inset 0 1px #f1ab592a,inset 0 -1px #000;--skin-shadow:0 2px 4px #0008;
 background:#090706;font-family:"Segoe UI",system-ui,sans-serif;
}
body[data-theme-id="halloween"] :is(.app-shell,.workspace) {background:transparent !important;}
body[data-theme-id="halloween"] .app-shell {background:linear-gradient(#0007,#0007),url('/themes/halloween/assets/walnut.png') center/650px auto !important;}
body[data-theme-id="halloween"] .titlebar {background:linear-gradient(#0005,#0005),url('/themes/halloween/assets/walnut.png') center/600px auto !important;border-bottom:3px solid #6f3c1a !important;box-shadow:inset 0 2px #af6a32,inset 0 -1px #160c06 !important;}
body[data-theme-id="halloween"] .titlebar::after {display:none !important;content:none !important;}
body[data-theme-id="halloween"] .global-search {border:2px solid #6b3b1e !important;border-radius:3px !important;background:linear-gradient(#070607,#13100d) !important;box-shadow:0 0 0 2px #1e1009,inset 0 1px #000 !important;}
body[data-theme-id="halloween"] :is(.app-sidebar,.channels-panel,.info-panel) {background:linear-gradient(#080808db,#080808e8),url('/themes/halloween/assets/walnut.png') center/520px auto !important;border:1px solid #8e4c20 !important;box-shadow:inset 0 0 0 3px #2d170b,0 0 0 1px #1b0d06 !important;}
body[data-theme-id="halloween"] :is(.app-sidebar,.profile-chip,.channels-panel,.info-panel)::after,
body[data-theme-id="halloween"] #nowView :is(.approved-panel,.approved-metrics > div,.approved-home-hero)::after,
body[data-theme-id="halloween"] #settingsOverlay :is(.settings-card,.settings-nav,.settings-header)::after,
body[data-theme-id="halloween"] :is(.section-page .hub-panel,.section-page > .hub-header,.plugin-market-card,.streaming-browser,.ai-main-card,.ai-preview-panel,.server-modal)::after {display:none !important;content:none !important;}
body[data-theme-id="halloween"] #nowView :is(.approved-panel,.approved-home-hero) {border:1px solid #7f421c !important;box-shadow:inset 0 0 0 3px #25140a,0 1px 3px #000 !important;background-color:#101010 !important;background-image:linear-gradient(#121212ed,#0b0b0bf7),url('/themes/halloween/assets/walnut.png') !important;background-size:auto,420px !important;border-radius:7px !important;}
body[data-theme-id="halloween"] #nowView .approved-home-hero {background-image:linear-gradient(90deg,#08070bc9,transparent 70%),var(--skin-hero) !important;background-size:cover !important;background-position:center !important;}
body[data-theme-id="halloween"].theme-style-active #nowView :is(.approved-panel,.approved-home-hero)::after,
body[data-theme-id="halloween"].theme-style-active .app-sidebar::after {display:block !important;content:"" !important;inset:0;border:5px solid transparent !important;border-image:url('/themes/halloween/assets/copper-rim.svg') 19 / 12px / 0 stretch !important;pointer-events:none;z-index:4;background:none !important;box-shadow:none !important;}
body[data-theme-id="halloween"] #nowView .approved-metrics > div {border:1px solid #995724 !important;border-radius:8px !important;background:linear-gradient(#101010e6,#0b0b0be8),url('/themes/halloween/assets/walnut.png') center/350px !important;box-shadow:inset 0 0 0 3px #2c180c,inset 0 4px #be783e !important;position:relative;}
body[data-theme-id="halloween"] #nowView .approved-metrics > div::before {content:"";position:absolute;right:12px;top:50%;transform:translateY(-50%) rotate(-12deg);width:45px;height:30px;background:url('/themes/halloween/assets/bat.svg') center/contain no-repeat;opacity:.7;pointer-events:none;}
body[data-theme-id="halloween"] #nowView .approved-metrics > div:nth-child(even)::before {transform:translateY(-50%) rotate(15deg);width:34px;}
body[data-theme-id="halloween"] #nowView .approved-panel > header {min-height:39px;height:39px;padding-inline:17px;border-bottom:2px solid #733e1b !important;background:linear-gradient(#24201bbb,#080808ee),url('/themes/halloween/assets/walnut.png') center/450px !important;box-shadow:inset 0 2px #94572855,inset 0 -1px #080502 !important;color:#fff4e7 !important;}
body[data-theme-id="halloween"] #nowView .approved-panel > header h2 {font-family:"Segoe UI",system-ui,sans-serif;font-weight:700;font-size:14px;}
body[data-theme-id="halloween"] #nowView .approved-panel > header button {color:#ffac49 !important;}
body[data-theme-id="halloween"] #nowView .approved-home-copy h1 {font-family:"Segoe UI",system-ui,sans-serif;font-weight:800;letter-spacing:-.04em;line-height:1.03;}
body[data-theme-id="halloween"] #nowView .approved-home-copy > span {font-family:"Segoe UI",system-ui,sans-serif;}
body[data-theme-id="halloween"] .app-sidebar .rail-item {background:transparent !important;color:#f1e8df !important;border:1px solid transparent;border-radius:3px !important;}
body[data-theme-id="halloween"] .app-sidebar .rail-item.active {background:linear-gradient(#753009,#441608) !important;border:1px solid #ff9b33 !important;box-shadow:inset 0 1px #ffd6a0,inset 0 -1px #5d1a00,0 0 10px #ff7a1d77 !important;color:#fff6df !important;}
body[data-theme-id="halloween"] .app-sidebar .rail-item [data-icon] {color:#d78a45;filter:drop-shadow(1px 1px #000) drop-shadow(-1px -1px #59321c);}
body[data-theme-id="halloween"] #nowView .now-actions > button {border:2px solid #9e6939 !important;border-radius:2px !important;clip-path:polygon(7px 0,calc(100% - 7px) 0,100% 7px,100% calc(100% - 7px),calc(100% - 7px) 100%,7px 100%,0 calc(100% - 7px),0 7px);box-shadow:inset 0 1px #ffe7a7,inset 0 -2px #472408 !important;}
body[data-theme-id="halloween"] #nowView .now-actions > button:first-child {background:linear-gradient(#ffbf4e,#ef861a 35%,#c54b09 80%,#f5a134) !important;border:2px solid #ffc25a !important;color:#fff8e7 !important;filter:drop-shadow(0 0 5px #f8872077);text-shadow:0 1px #8f2800;box-shadow:inset 0 1px #fff7ca,inset 0 0 6px #ffef82 !important;}
body[data-theme-id="halloween"] #nowView .now-actions > button:first-child svg {color:#291609;filter:drop-shadow(0 1px #ffd88b);}
body[data-theme-id="halloween"] #nowView :is(.approved-live-card,.approved-server-card,.approved-event-row,.approved-friend-row) {border:1px solid #443529 !important;background:linear-gradient(#202020,#101010) !important;box-shadow:inset 0 1px #ffffff0a !important;}
body[data-theme-id="halloween"] #nowView .approved-server-card {border-radius:5px !important;}
body[data-theme-id="halloween"] #nowView .approved-friend-row {border-width:0 0 1px !important;background:none !important;}
body[data-theme-id="halloween"] #nowView .approved-panel > .approved-panel-body {padding-inline:12px;}
body[data-theme-id="halloween"] .profile-chip {background:#15130f !important;box-shadow:inset 0 1px #805026 !important;border:1px solid #633719 !important;}
body[data-theme-id="halloween"] .app-sidebar .profile-quick-controls > button {border:2px solid #8a5529 !important;border-radius:2px !important;background:linear-gradient(#29221a,#0b0a09) !important;box-shadow:inset 0 1px #ce9252 !important;}
body[data-theme-id="halloween"] .app-sidebar .profile-quick-controls > button.active {color:#ff4d61 !important;border-color:#ae3540 !important;}
body[data-theme-id="halloween"] .home-sponsor-card::after {display:none !important;content:none !important;}
body[data-theme-id="halloween"] .home-sponsor-card {border:1px solid #8c4da4 !important;box-shadow:inset 0 0 0 1px #201022 !important;border-radius:7px !important;overflow:hidden;}
body[data-theme-id="halloween"] .home-sidebar-sponsor .home-sponsor-copy {padding-top:8px;}
body[data-theme-id="halloween"] .home-wide-sponsor .home-sponsor-copy {max-width:85%;padding:13px;}
body[data-theme-id="halloween"] .home-sponsor-copy > strong {font-size:clamp(15px,1.22vw,21px);text-shadow:0 2px 4px #000;}
body[data-theme-id="halloween"] #settingsOverlay :is(.settings-card,.settings-accordion) {background:linear-gradient(#141414f2,#0d0d0df5),url('/themes/halloween/assets/walnut.png') center/450px !important;border:1px solid #6e421f !important;box-shadow:inset 0 1px #b0783829 !important;}
body[data-theme-id="halloween"] #settingsOverlay .settings-header {background:linear-gradient(#0009,#0009),url('/themes/halloween/assets/walnut.png') center/600px !important;}
@media(min-width:768px){
 body[data-theme-id="halloween"] {--shell-top:76px;--shell-rail:236px;--shell-gap:8px;}
 body[data-theme-id="halloween"] .workspace {padding:4px 8px 8px 4px;}
 body[data-theme-id="halloween"] .titlebar {padding-inline:20px;}
 body[data-theme-id="halloween"] .titlebar::before {content:"";position:absolute;left:0;top:0;width:70px;height:70px;background:url('/themes/halloween/assets/cobweb.svg') center/contain no-repeat;pointer-events:none;opacity:.5;}
 body[data-theme-id="halloween"] #nowView .approved-home-copy {width:66%;}
 body[data-theme-id="halloween"] #nowView .now-actions > button {max-width:245px;}
 body[data-theme-id="halloween"] #nowView .approved-online-panel {position:relative;}
 body[data-theme-id="halloween"] #nowView .approved-online-panel::before {content:"";position:absolute;right:18px;bottom:5px;width:43px;height:28px;background:url('/themes/halloween/assets/bat.svg') center/contain no-repeat;transform:rotate(12deg);pointer-events:none;opacity:.65;}
}
@media(max-width:767px){body[data-theme-id="halloween"] #nowView .approved-metrics > div::before {display:none;}body[data-theme-id="halloween"] #nowView .approved-panel > header h2 {font-size:13px;}body[data-theme-id="halloween"] #nowView .approved-home-copy h1 {font-size:30px;}}
