body.halloween-theme{--bg:#100e1e;--panel:#231b32;--line:#433451;--text:#f7eedf;--muted:#b8a7c3;--gold:#f3b46e;background:radial-gradient(ellipse at 12% 12%,#3b204450,transparent 50%),radial-gradient(ellipse at 95% 85%,#54245940,transparent 50%),#100e1e}
.halloween-theme .topbar{background:#171322dd}.halloween-theme .world{border-color:#745079}.halloween-theme .world-shade{opacity:.25}.halloween-theme #town-art{filter:none}.halloween-theme .map-place{background:#241a32da;border-color:#b981675e}.halloween-theme dialog{background:#241a32;border-color:#80516a;color:#fff0dd}.halloween-theme .primary{background:#f3b46e;color:#281923}.halloween-theme .secondary{background:#35243f;border-color:#85617d}.halloween-theme .town-about{background:#241b2b;border-color:#654565}.halloween-theme .map-label{background:#251c32dd}.halloween-theme .apiary-site{background:#302135ee;border-color:#9a7260}.halloween-theme .world .map-place.zombie-gate{background:#3b1723e6}
.pumpkin-garden{position:absolute;left:31%;top:84%;width:13%;height:19%;transform:translate(-50%,-50%);border:0;padding:0;background:transparent;z-index:5;cursor:pointer}.pumpkin-garden span{position:absolute;left:50%;bottom:0;transform:translateX(-50%);font-size:11px;font-weight:700;white-space:nowrap;color:#ffddb1;text-shadow:0 1px 3px #000,1px 0 2px #000,-1px 0 2px #000}.pumpkin-garden:hover{filter:drop-shadow(0 0 8px #f1a956)}.halloween-shortcut{border:1px solid #805361!important;background:#2c1c32!important;padding:12px!important;margin-top:8px;color:#ffce96}.halloween-shortcut small{font-size:11px}
.halloween-tasks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.halloween-tasks article{padding:16px;border:1px solid #765067;border-radius:10px;background:#35203a}.halloween-tasks article>span{font-size:26px}.halloween-tasks h3{font-size:15px!important;margin:10px 0!important}.halloween-tasks strong{color:#ffc782}.halloween-tasks p{font-size:13px!important;line-height:1.6}.halloween-tasks small{font-size:12px;color:#f1cf99}.halloween-actions,.halloween-links{display:flex;flex-wrap:wrap;gap:12px}.halloween-status{border-left:3px solid #ecaa62;padding-left:14px;color:#e8cdae!important}.halloween-note{font-size:13px!important;line-height:1.7!important;color:#c5b3cc!important}.halloween-community{display:flex;gap:15px;align-items:center;border:1px solid #86614d;background:#35242f;padding:16px;border-radius:10px;margin:22px 0}.halloween-community strong{font-size:24px;color:#ffc787}.halloween-community span{font-size:13px}.halloween-ranking{list-style:none;padding:0;max-height:320px;overflow:auto}.halloween-ranking li{display:flex;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid #674560;font-size:14px}.halloween-ranking .halloween-podium{background:#47302b;color:#ffd7a1}.halloween-links{margin-top:20px}.halloween-links button{color:#ffcf9c}.halloween-theme #dialog:has(#halloween-panel){width:min(740px,94vw)}
@media(max-width:800px){.halloween-theme #world .map-place,.halloween-theme #world .apiary-site{background:transparent;border:0;box-shadow:none;backdrop-filter:none}.pumpkin-garden span{font-size:9px}.halloween-tasks{grid-template-columns:1fr;gap:8px}.halloween-tasks article{padding:12px;display:grid;grid-template-columns:28px 1fr auto;column-gap:8px;align-items:center}.halloween-tasks h3{margin:0!important}.halloween-tasks p,.halloween-tasks small{grid-column:2/4;margin:7px 0!important}.halloween-actions .primary{width:100%}.halloween-community{gap:10px}.halloween-shortcut{grid-column:1/-1}}

.halloween-theme .welcome-header{background:#1d1428;border-color:#86546966}.halloween-theme .language select{background:#312136}.halloween-theme footer span{color:#c5b3cc}.halloween-theme #dialog:has(#apiary-panel){background:linear-gradient(145deg,#302035,#201425)}

/* Shared Halloween page backdrop and authentication palette. */
html:has(body.halloween-theme){background:#100c1b}
body.halloween-theme{background:#100c1b;isolation:isolate;min-height:100vh}
body.halloween-theme:before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#130c23aa,#150b20bb),url('/halloween/forest-background.png') center bottom/cover no-repeat}
.halloween-theme .topbar,.halloween-theme .welcome-header{background:#1b1129e8;border-color:#6a4273}
.halloween-theme .hive-auth{background:linear-gradient(115deg,#281631e8,#1d122ce8);border-color:#694074;color:#f4e4f7;box-shadow:inset 0 1px 0 #bd86d512}
.halloween-theme .hive-auth strong{color:#f2d2ff}
.halloween-theme .hive-auth input{background:#160e23;color:#fff0fc;border:1px solid #79518a;border-radius:9px;box-shadow:inset 0 2px 5px #08030e55}
.halloween-theme .hive-auth input::placeholder{color:#ba9bc5;opacity:1}
.halloween-theme .hive-auth input:focus-visible{outline:2px solid #e5b3ff;outline-offset:3px;border-color:#ce97e8}
.halloween-theme .hive-auth button{background:linear-gradient(#543365,#392247);color:#ffe6c8;border:1px solid #ac789a;border-radius:9px;box-shadow:0 3px 10px #08030d33}
.halloween-theme .hive-auth button:first-of-type{background:linear-gradient(#dba65b,#bd7e39);color:#211325;border-color:#efc68b;font-weight:700}
.halloween-theme .hive-auth button:hover:not(:disabled){filter:brightness(1.12)}
.halloween-theme .hive-auth span{color:#d9bedf}.halloween-theme .hive-auth a{color:#ecc08d}
.halloween-theme .welcome-header .hive-auth{background:transparent;border:0;box-shadow:none}
.halloween-theme .demo-label,.halloween-theme .help-button,.halloween-theme .controls-row kbd{background:#30213f;border-color:#866096;color:#f7e4ff}
.halloween-theme .below-map{background:#24152fd9;border-color:#654073}.halloween-theme .sidebar{background:#1b1229bb;border-radius:14px;padding:14px}
.halloween-theme .world-heading h2,.halloween-theme .world-heading .eyebrow{text-shadow:0 2px 5px #09050e}
@media(max-width:800px){body.halloween-theme:before{background-position:left bottom;background-image:linear-gradient(#130c2377,#150b20a6),url('/halloween/forest-background.png')}.halloween-theme .world-heading{background:#1b1128b3;border-radius:10px;padding:12px}.halloween-theme .hive-auth{padding:14px 12px}.halloween-theme .hive-auth button{min-height:42px}}

/* Illustrated header and lantern-framed login panel. */
.halloween-theme .topbar,.halloween-theme .welcome-header{background:linear-gradient(90deg,#1a0b28bb,#190b2344),url('/halloween/header-castle.png') center 46%/cover no-repeat;border-bottom:1px solid #ce813d;box-shadow:0 3px 20px #10051988}
.halloween-theme .topbar .brand,.halloween-theme .welcome-header .brand{color:#ffc778;text-shadow:0 0 12px #e6913555,0 2px 3px #160820}
.halloween-theme .topbar .nav{color:#d7b9e5;text-shadow:0 2px 4px #17091d}.halloween-theme .topbar .nav.active{color:#ffc47d}.halloween-theme .topbar .nav.active:after{background:#ffa943;box-shadow:0 0 8px #ffb751}
.halloween-theme .language-picker select,.halloween-theme .language select{background:#301a38ed;color:#ffe0ae;border-color:#e39b53;box-shadow:0 0 9px #ec984638}
.halloween-theme .hive-auth{background:linear-gradient(90deg,#1c1029eb 0%,#1d1029bb 62%,#210f2444 100%),url('/halloween/login-lantern.png') right 28%/cover no-repeat;border-bottom:1px solid #c7834b;padding-top:18px;padding-bottom:18px}
.halloween-theme .hive-auth input{background:#24122cd9;border-color:#9570a6;color:#fff0f8}
.halloween-theme .hive-auth button,.halloween-theme .hive-auth button:first-of-type{background:linear-gradient(#3a1b3bd9,#2b1532ed);color:#ffdcaa;border:1px solid #f0a851;box-shadow:0 0 8px #f596343d,inset 0 0 7px #ef96301a;text-shadow:0 1px 2px #190a20}
.halloween-theme .hive-auth button:hover:not(:disabled){border-color:#ffd099;box-shadow:0 0 13px #ffad5866;filter:none;background:#492547}
.halloween-theme .hive-auth a{color:#ffd196}.halloween-theme .world-heading h2{font-family:Georgia,serif;color:#ffdfbd}.halloween-theme .world-heading .eyebrow{color:#c5a0d5}.halloween-theme .demo-label{border-color:#c9894f;background:#2b132ce0;color:#ffd09a}
.halloween-theme .welcome-header .hive-auth{border:1px solid #93556c;border-radius:12px;padding:12px;background:linear-gradient(90deg,#1c1029ef,#210f2499),url('/halloween/login-lantern.png') right 28%/cover no-repeat;box-shadow:0 2px 12px #10051944}
@media(min-width:801px){.halloween-theme .topbar{min-height:112px}.halloween-theme>.hive-auth{padding-right:16%;min-height:98px}}
@media(max-width:800px){.halloween-theme .topbar{background-position:64% 46%}.halloween-theme>.hive-auth{padding:16px 12px;background-position:right 28%}.halloween-theme>.hive-auth strong{flex-basis:100%}.halloween-theme .world-heading{border-bottom:1px solid #bc733c;padding-bottom:14px}.halloween-theme .world-heading h2{font-size:22px}}
