/* Older VPS browsers: no :is(), :has(), inset, aspect-ratio or color-mix required.
   Modern browsers keep the existing theme exactly as authored. */
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site{
 position:relative;z-index:1;background:transparent!important;color:var(--ui-text)!important;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .halloween-world-background{
 display:block!important;position:fixed!important;top:0;left:0;width:100vw;height:100vh;z-index:0;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .halloween-world-background>img{
 top:0;left:0;width:100%!important;height:100%!important;object-fit:cover!important;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site>.hero.hero-slider{
 display:block!important;position:relative!important;height:auto!important;min-height:0!important;padding:0!important;
 overflow:hidden;border:1px solid #ad88be!important;border-radius:16px!important;background:#171020!important;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .cursed-cinematic-hero,
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .cursed-hero-art{
 display:block!important;position:relative!important;top:auto;right:auto;bottom:auto;left:auto;width:100%;height:auto!important;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .cursed-hero-art>img{
 display:block!important;position:relative;top:auto;left:auto;width:100%!important;height:auto!important;object-fit:contain!important;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .cursed-hero-fx{
 position:absolute;top:0;left:0;width:100%;height:100%;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site>.home-player-actions{
 display:grid!important;grid-template-columns:minmax(200px,.9fr) minmax(0,2.1fr)!important;gap:12px!important;
 background:var(--ui-panel)!important;border:1px solid var(--ui-border)!important;padding:12px!important;border-radius:14px!important;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site>.home-player-actions .action-shortcuts{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;min-width:0;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site>.home-player-actions .action-shortcuts.signed-in{
 grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site>.home-player-actions .action-shortcuts>button{
 display:flex!important;align-items:center!important;gap:10px;min-width:0;min-height:94px!important;padding:14px!important;
 background:var(--ui-panel)!important;color:var(--ui-text)!important;border:1px solid var(--ui-border)!important;border-radius:10px!important;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site>.home-player-actions .action-shortcuts>button>span{
 display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%!important;
 background:var(--ui-soft)!important;color:var(--ui-highlight)!important;border:1px solid var(--ui-border)!important;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site>.home-player-actions .action-shortcuts>button b{color:var(--ui-text)!important;font-size:13px!important}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site>.home-player-actions .action-shortcuts>button small{color:var(--ui-muted)!important;font-size:10px!important}
@media(max-width:1100px){
 html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site>.home-player-actions .action-shortcuts.signed-in{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:600px){
 html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site>.home-player-actions{grid-template-columns:minmax(0,1fr)!important}
 html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site>.home-player-actions .action-shortcuts.signed-in{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .site>.home-player-actions .action-shortcuts>button{min-height:80px!important;padding:10px!important}
}
/* Opaque heading panels keep the illustrated world readable on older Chrome. */
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .home-activity-head,
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"] .connect-head{
 background:#f1ecf4!important;border:1px solid #a78ab6;border-radius:10px;padding:14px!important;color:#292031!important;
}
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"][data-color-mode="dark"] .home-activity-head,
html:root[data-bnw-legacy-css="true"][data-site-theme="halloween"][data-color-mode="dark"] .connect-head{
 background:#231b30!important;color:#fff1e1!important;
}
