/* One navigation shell. Page styles must not change its controls or geometry. */
html body header.unified-header,.site-workspace-tools{--head-bg:#101722;--head-panel:#182232;--head-hover:#243247;--head-line:#354359;--head-text:#edf2fa;--head-muted:#9dafc5;--head-gold:#ddbf83;--head-control-top:#202d40;--head-control-bottom:#172233}
html[data-theme=light] body header.unified-header,html[data-theme=light] .site-workspace-tools{--head-bg:#f9fafc;--head-panel:#fff;--head-hover:#eef2f7;--head-line:#ccd5e2;--head-text:#253349;--head-muted:#65748b;--head-gold:#8f6a29;--head-control-top:#fff;--head-control-bottom:#f3f6fa}
html body header.unified-header[data-site-header]{display:block;position:sticky;top:0;left:auto;z-index:90;flex:none;isolation:isolate;width:100%;max-width:none;min-height:0;height:auto;margin:0;padding:0;border:0;border-bottom:1px solid var(--head-line);border-radius:0;background:var(--head-bg);color:var(--head-text);box-shadow:0 3px 14px #00000012;backdrop-filter:none;font:13px/1.4 var(--site-font,Arial,sans-serif);text-align:left}
html body header.unified-header *{box-sizing:border-box}
html body header.unified-header span{margin:0}
html body header.unified-header button{filter:none}
html body header.unified-header [hidden]{display:none!important}
html body header.unified-header .site-header-row{display:flex;align-items:center;gap:16px;min-height:68px;width:100%;margin:0;padding:12px 24px}
html body header.unified-header .site-header-brand{display:flex;align-items:center;gap:10px;flex:0 0 210px;min-width:0;margin:0;color:var(--head-text);text-decoration:none}
html body header.unified-header .site-header-brand img{display:block;flex:none;width:34px;height:34px;padding:3px;border:1px solid var(--head-line);border-radius:9px;object-fit:contain;background:var(--head-panel)}
html body header.unified-header .site-header-brand-text{display:grid;gap:3px;min-width:0}
html body header.unified-header .site-header-brand strong{font:700 18px/1 Georgia,serif;letter-spacing:1px;color:var(--head-text);text-shadow:none}
html body header.unified-header .site-header-section{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 11px/1.3 var(--site-font,Arial,sans-serif);letter-spacing:0;color:var(--head-muted)}
html body header.unified-header .site-header-actions{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:0}
html body header.unified-header :is(.site-header-account,.site-header-utilities,[data-site-navigation]){position:relative;flex:none;min-width:0;margin:0;padding:0;border:0}
html body header.unified-header[data-site-header] :is(.sections-trigger,.account-menu-trigger,.site-utilities-trigger,#site-chat-toggle,#siteTicketsLink,.site-header-button,#headerAuthArea>.btn){display:inline-flex;align-items:center;justify-content:center;gap:7px;height:40px;min-height:40px;max-height:40px;min-width:0;max-width:none;margin:0;padding:0 13px;border:1px solid var(--head-line);border-radius:9px;background:var(--head-panel);color:var(--head-text);font:600 12px/1 var(--site-font,Arial,sans-serif);letter-spacing:0;text-decoration:none;white-space:nowrap;box-shadow:none;list-style:none;cursor:pointer;animation:none;transform:none;transition:background-color .15s,border-color .15s}
html body header.unified-header[data-site-header] :is(.sections-trigger,.account-menu-trigger,.site-utilities-trigger,#site-chat-toggle,#siteTicketsLink,.site-header-button):hover{background:var(--head-hover);border-color:var(--head-gold)}
html body header.unified-header[data-site-header] :is(details[open]>.sections-trigger,details[open]>.account-menu-trigger,details[open]>.site-utilities-trigger,#site-chat-toggle[aria-expanded=true]){border-color:var(--head-gold);background:var(--head-hover);outline:none}
html body header.unified-header :is(summary,button,a){touch-action:manipulation}
html body header.unified-header :is(summary,button,a):focus-visible{outline:2px solid var(--head-gold);outline-offset:3px}
html body header.unified-header summary::-webkit-details-marker{display:none}
html body header.unified-header .menu-caret{display:inline-block;position:static;margin:0;color:var(--head-muted);font:13px/1 var(--site-font,Arial,sans-serif);transform:none}
html body header.unified-header details[open]>summary .menu-caret{transform:rotate(180deg)}
html body header.unified-header .account-menu{position:relative;margin:0}
html body header.unified-header[data-site-header] .account-menu-trigger{justify-content:flex-start;padding-left:6px;gap:8px;max-width:180px}
html body header.unified-header .user-avatar{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;margin:0;border-radius:7px;background:#396f7d;color:#fff;font:700 12px/1 var(--site-font,Arial,sans-serif)}
html body header.unified-header .user-name{display:block;max-width:110px;min-width:0;margin:0;padding:0;overflow:hidden;text-overflow:ellipsis;color:var(--head-text)!important;font:600 12px/1 var(--site-font,Arial,sans-serif);white-space:nowrap}
html body header.unified-header[data-site-header] .site-online{display:flex;align-items:center;gap:6px;flex:none;height:26px;min-height:26px;max-width:none;margin:0;padding:0;color:var(--head-muted);background:transparent;border:0;font:500 11px/1 var(--site-font,Arial,sans-serif);white-space:nowrap}
html body header.unified-header .site-online::before{width:5px;height:5px;flex:0 0 5px}
html body header.unified-header .site-online-label{transform:none}
html body header.unified-header :is(.site-utilities-panel,.account-menu-panel){position:absolute;z-index:100;top:calc(100% + 10px);right:0;left:auto;width:264px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 150px);overflow:auto;margin:0;padding:8px;border:1px solid var(--head-line);border-radius:13px;background:var(--head-panel);color:var(--head-text);box-shadow:0 16px 40px #0004;font:13px/1.4 var(--site-font,Arial,sans-serif);text-align:left}
html body header.unified-header .site-utilities-panel{display:grid;gap:4px}
html body header.unified-header details:not([open])>.header-menu-panel{display:none}
html body header.unified-header .account-menu-name{padding:8px 10px 12px;margin-bottom:5px;border-bottom:1px solid var(--head-line);color:var(--head-muted);overflow-wrap:anywhere;font:12px/1.4 var(--site-font,Arial,sans-serif)}
html body header.unified-header .account-menu-action,html body header.unified-header .site-utilities-panel>:is(button,a){display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;height:auto;min-height:42px;max-height:none;min-width:0;margin:0;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--head-text);font:500 13px/1.4 var(--site-font,Arial,sans-serif);text-decoration:none;white-space:normal;text-align:left;box-shadow:none;cursor:pointer;animation:none}
html body header.unified-header .account-menu-action:hover,html body header.unified-header .site-utilities-panel>:is(button,a):hover{background:var(--head-hover)}
html body header.unified-header .account-menu-logout{color:#e99494}
html[data-theme=light] body header.unified-header .account-menu-logout{color:#aa3945}
html body header.unified-header .site-utilities-panel #gameClock{display:flex;align-items:center;justify-content:space-between;gap:12px;order:0;width:100%;height:42px;min-height:42px;max-height:42px;padding:4px 12px;margin:0 0 4px;border:0;border-bottom:1px solid var(--head-line);border-radius:0;background:transparent;color:var(--head-muted);font:12px/1.4 var(--site-font,Arial,sans-serif);white-space:nowrap}
html body header.unified-header #gameClockTime{display:block;color:var(--head-gold);font:600 17px/1 var(--site-font,Arial,sans-serif);font-variant-numeric:tabular-nums;letter-spacing:.5px}
html body header.unified-header :is(#gameClockIcon,.ge-clock,#notifIcon){display:none}
html body header.unified-header :is(.game-clock-label,#notifLabel){position:static;display:inline;clip-path:none;width:auto;height:auto;margin:0;padding:0;overflow:visible;font:inherit}
html body header.unified-header #newsToggle::before{display:none;content:none}
html body header.unified-header #newsToggle.has-unread-news::after{content:'';display:block;width:6px;height:6px;margin-left:auto;flex:none;border-radius:50%;background:var(--head-gold);box-shadow:none;animation:none;position:static}
html body header.unified-header #notifToggle.is-active{color:var(--head-gold)}
html body header.unified-header #site-chat-toggle>.site-chat-symbol{display:none}
html body header.unified-header :is(.site-chat-badge,.support-badge){display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 4px;margin:0;border:0;border-radius:5px;background:var(--head-gold);color:#171b25;font:700 10px/1 var(--site-font,Arial,sans-serif)}
html body header.unified-header .sections-panel{background:var(--head-panel);border-color:var(--head-line);border-radius:13px;box-shadow:0 16px 40px #0004}
html body header.unified-header .section-link[aria-current=page]{background:var(--head-hover);box-shadow:inset 3px 0 var(--head-gold);border-color:transparent}
html body.site-crafts header.unified-header{zoom:calc(1 / var(--calculator-scale,1))}
.site-workspace-tools{display:flex;align-items:center;gap:14px;margin:0;padding:12px 24px;border-bottom:1px solid var(--head-line);background:var(--head-bg);color:var(--head-text);font:12px/1.4 var(--site-font,Arial,sans-serif)}
.site-workspace-tools .searchbox{flex:1 1 340px;order:0;min-width:180px;max-width:640px;width:auto;margin:0}
.site-workspace-tools .searchbox input{width:100%;height:36px;padding:0 11px;border:1px solid var(--head-line);border-radius:8px;background:var(--head-panel);color:var(--head-text);font:13px/1.4 var(--site-font,Arial,sans-serif)}
.site-workspace-tools .accountbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;width:auto;margin-left:auto}
.site-workspace-tools .btn{height:34px;padding:0 10px;border:1px solid var(--head-line);border-radius:8px;background:var(--head-panel);color:var(--head-text);font:500 12px/1 var(--site-font,Arial,sans-serif);white-space:nowrap}
@media(max-width:1050px){html body header.unified-header .site-header-row{padding-inline:16px;gap:12px}html body header.unified-header .site-header-brand{flex-basis:190px}html body header.unified-header .user-name{max-width:70px}}
@media(min-width:701px) and (max-width:900px){html body header.unified-header .site-header-brand{flex-basis:165px}html body header.unified-header .site-header-section{max-width:130px}html body header.unified-header .site-online{display:none}html body header.unified-header .site-header-row{gap:10px}html body header.unified-header .site-header-actions{gap:6px}html body header.unified-header .account-menu-trigger :is(.user-name,.menu-caret){display:none}html body header.unified-header[data-site-header] .account-menu-trigger{padding:5px;width:40px}}
@media(max-width:700px){
 html body header.unified-header[data-site-header] .site-header-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px 6px;min-height:108px;padding:10px 12px}
 html body header.unified-header .site-header-brand{grid-column:1/3;grid-row:1;gap:8px;flex-basis:auto}
 html body header.unified-header .site-header-brand strong{font-size:16px}
 html body header.unified-header .site-header-section{font-size:10px;max-width:165px}
 html body header.unified-header .site-header-brand img{width:30px;height:30px}
 html body header.unified-header .site-header-actions{display:contents}
 html body header.unified-header[data-site-header] .site-online{grid-column:3;grid-row:1;justify-self:end;font-size:10px}
 html body header.unified-header .site-header-account{grid-column:4;grid-row:1;justify-self:end}
 html body header.unified-header .account-menu-trigger :is(.user-name,.menu-caret){display:none}
 html body header.unified-header[data-site-header] .account-menu-trigger{padding:4px;width:38px;height:38px;min-height:38px}
 html body header.unified-header [data-site-navigation]{grid-column:1;grid-row:2;justify-self:start}
 html body header.unified-header #site-chat-toggle{grid-column:2;grid-row:2}
 html body header.unified-header #siteTicketsLink{grid-column:3;grid-row:2}
 html body header.unified-header .site-header-utilities{grid-column:4;grid-row:2}
 html body header.unified-header[data-site-header] :is(.sections-trigger,#site-chat-toggle,#siteTicketsLink,.site-utilities-trigger){padding-inline:9px;gap:5px}
 html body header.unified-header .site-utilities-trigger .menu-caret,html body header.unified-header .sections-trigger .menu-caret{display:none}
 .site-workspace-tools{flex-wrap:wrap;gap:9px;padding:12px}.site-workspace-tools .searchbox{flex-basis:100%;max-width:none}.site-workspace-tools .accountbar{margin:0}
}
@media(prefers-reduced-motion:reduce){html body header.unified-header :is(button,a,summary){transition:none}}

/* A small glass landscape: the original theme button and its handler stay intact. */
html body header.unified-header .theme-landscape-toggle:is(#themeToggle,.site-theme-toggle) {
 position:relative;display:inline-flex;align-items:center;justify-content:center;
 width:118px;min-width:118px;height:42px;min-height:42px;max-height:none;padding:3px;border:0;
 background:transparent;border-radius:24px;box-shadow:none;flex-shrink:0;overflow:visible;
}
html body header.unified-header .theme-landscape-toggle:is(#themeToggle,.site-theme-toggle):hover {background:transparent;transform:none;translate:none;}
html body header.unified-header .theme-landscape-toggle:focus-visible {outline:2px solid var(--head-gold);outline-offset:3px;}
html body header.unified-header .theme-landscape-toggle:is(#themeToggle,.site-theme-toggle) .site-theme-symbol {display:none;}
html body header.unified-header .theme-switch-scene {
 position:relative;display:block;isolation:isolate;flex:0 0 112px;width:112px;height:36px;
 overflow:hidden;border-radius:22px;background:linear-gradient(130deg,#bae9f2,#6aafda 65%,#5591cc);
 box-shadow:inset 0 1px 1px #ffffffb0,inset 0 -1px 2px #15305b88,0 3px 8px #0003;
 pointer-events:none;
}
html body header.unified-header .theme-switch-scene>span {position:absolute;display:block;pointer-events:none;}
html body header.unified-header .theme-switch-night {inset:0;background:radial-gradient(ellipse at 65% 100%,#353667,#0b1234 75%);opacity:0;}
html body header.unified-header .theme-switch-stars {
 inset:0;opacity:0;transform:translateY(-8px);
 background:none;
}
html body header.unified-header .theme-switch-star {position:absolute;left:var(--star-x);top:var(--star-y);width:var(--star-size);height:var(--star-size);border-radius:50%;background:#f4faff;box-shadow:0 0 2px #b6d9ff;opacity:.8;}
html body header.unified-header .theme-switch-stars::before {content:'';position:absolute;left:10px;top:2px;width:23px;height:1.2px;border-radius:50%;background:linear-gradient(90deg,transparent,#d2edff 78%,#fff);box-shadow:0 0 2px #c7e8ff;opacity:0;transform:translate(-30px,-5px) rotate(22deg);}
html body header.unified-header .theme-switch-stars::after {content:'';position:absolute;left:57%;top:30%;width:3px;height:3px;background:#f7fbff;clip-path:polygon(50% 0,62% 37%,100% 50%,62% 63%,50% 100%,38% 63%,0 50%,38% 37%);}
html body header.unified-header .theme-switch-sun {width:13px;height:13px;right:14px;top:10px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#fff6a6,#ffdf54 60%,#f6be37);box-shadow:0 0 4px #fff4a5,0 0 13px #ffe96b90;}
html body header.unified-header .theme-switch-moon {width:15px;height:15px;left:13px;top:8px;border-radius:50%;background:linear-gradient(135deg,#fffab0,#ffcd37);clip-path:path('M 12 0 A 7.5 7.5 0 1 0 15 12 A 7.4 7.4 0 0 1 12 0 Z');filter:drop-shadow(0 0 2px #ffd861);opacity:0;transform:translateY(8px) rotate(-35deg);}
html body header.unified-header .theme-switch-ridge,
html body header.unified-header .theme-switch-snow {inset:0;background:url('/img/theme-mountains.svg?v=1') center bottom/100% 100% no-repeat;}
html body header.unified-header .theme-switch-ridge {opacity:.4;transform:translate(8px,-4px) scale(1.12);filter:blur(.25px);}
html body header.unified-header .theme-switch-snow {transform:translateX(0);filter:brightness(1.15);}
html body header.unified-header .theme-switch-haze {left:0;right:0;top:10px;height:20px;opacity:.82;color:#eaf8ff;}
html body header.unified-header .theme-switch-glass {inset:0;z-index:2;border-radius:inherit;box-shadow:inset 0 1px 1px #ffffff70,inset 0 -1px 2px #14224a60;background:linear-gradient(150deg,#ffffff23,transparent 45%,#ffffff0a);}
html body header.unified-header .theme-switch-knob {z-index:3;top:4px;left:4px;width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 36% 28%,#fff 30%,#f5ffff 75%,#dce9fa);box-shadow:0 0 3px 1px #fff,0 0 9px 3px #e5ffe3b0,0 1px 3px #45638355,inset 0 -1px 2px #d8e8f5;transform:translateX(0);}
html body header.unified-header .theme-landscape-toggle[data-theme-state=dark] .theme-switch-night {opacity:1;}
html body header.unified-header .theme-landscape-toggle[data-theme-state=dark] .theme-switch-stars {opacity:1;transform:translateY(0);}
html body header.unified-header .theme-landscape-toggle[data-theme-state=dark] .theme-switch-sun {opacity:0;transform:translateY(7px) scale(.65);}
html body header.unified-header .theme-landscape-toggle[data-theme-state=dark] .theme-switch-moon {opacity:1;transform:translateY(0) rotate(0);}
html body header.unified-header .theme-landscape-toggle[data-theme-state=dark] .theme-switch-ridge {transform:translate(-5px,-3px) scale(1.12);opacity:.5;}
html body header.unified-header .theme-landscape-toggle[data-theme-state=dark] .theme-switch-snow {transform:translateX(-2px);filter:brightness(.86) saturate(.85);}
html body header.unified-header .theme-landscape-toggle[data-theme-state=dark] .theme-switch-haze {opacity:.62;color:#b6cce7;}
html body header.unified-header .theme-landscape-toggle[data-theme-state=dark] .theme-switch-knob {transform:translateX(76px);box-shadow:0 0 4px 1px #fff,0 0 10px 3px #d0d8ffb0,0 1px 4px #090d3560,inset 0 -1px 2px #d8e8f5;}
/* Visible at the native 112x36 size; no animation changes the switch's position. */
html body header.unified-header .theme-switch-night::before {
 content:'';position:absolute;left:9px;top:-4px;width:89px;height:30px;
 background:linear-gradient(112deg,transparent 8%,#61efce75 28%,#7ba6faaa 45%,#ba9fff80 58%,transparent 79%);
 filter:blur(1.2px);opacity:.7;transform:translateX(-8px) rotate(-12deg);
}
html body header.unified-header .theme-switch-night::after {
 content:'';position:absolute;left:3px;top:-3px;width:36px;height:36px;border-radius:50%;
 background:radial-gradient(circle,#ffe49938,transparent 66%);opacity:.35;
}
html body header.unified-header .theme-switch-haze::before,
html body header.unified-header .theme-switch-haze::after {
 content:'';position:absolute;left:0;top:1px;width:58px;height:14px;
 background:radial-gradient(ellipse at 28% 62%,currentColor 0 26%,transparent 28%),radial-gradient(ellipse at 51% 46%,currentColor 0 31%,transparent 33%),radial-gradient(ellipse at 75% 63%,currentColor 0 23%,transparent 25%);
 filter:blur(.4px);opacity:.85;transform:translateX(20px);
}
html body header.unified-header .theme-switch-haze::after {top:10px;width:48px;height:11px;opacity:.65;transform:translateX(60px);}
html body header.unified-header .theme-switch-knob::after {
 content:'';position:absolute;inset:-7px;border-radius:50%;
 background:radial-gradient(circle,transparent 43%,#e7f1ff4d 54%,transparent 72%);opacity:.35;
}
@keyframes theme-idle-stars {0%,100%{opacity:.3;transform:scale(.72)}42%{opacity:1;transform:scale(1.3)}74%{opacity:.6;transform:scale(.94)}}
@keyframes theme-idle-spark {0%,100%{opacity:.4;transform:scale(.7) rotate(0)}45%{opacity:1;transform:scale(1.3) rotate(18deg)}75%{opacity:.6;transform:scale(.9) rotate(4deg)}}
@keyframes theme-idle-sky {0%,100%{opacity:.55;transform:translateX(-14px) rotate(-14deg) scaleY(.8)}50%{opacity:1;transform:translateX(12px) rotate(4deg) scaleY(1.12)}}
@keyframes theme-idle-mist {from{transform:translateX(-62px)}to{transform:translateX(116px)}}
@keyframes theme-idle-comet {0%,66%,100%{opacity:0;transform:translate(-30px,-5px) rotate(22deg)}69%{opacity:.95}83%{opacity:0;transform:translate(76px,27px) rotate(22deg)}}
@keyframes theme-idle-glow {0%,100%{opacity:.25;transform:scale(.93)}50%{opacity:.72;transform:scale(1.08)}}
@media(prefers-reduced-motion:no-preference) {
 /* Override only the landscape, not the tracker's repaint guard for page colours. */
 html body header.unified-header .theme-switch-scene>span {transition:transform .8s cubic-bezier(.22,.75,.2,1),opacity .65s ease,filter .65s ease,box-shadow .65s ease!important;}
 html body header.unified-header .theme-switch-star {animation:theme-idle-stars var(--star-duration) ease-in-out var(--star-delay) infinite!important;}
 html body header.unified-header .theme-switch-stars::before {animation:theme-idle-comet 9s linear -4.5s infinite!important;}
 html body header.unified-header .theme-switch-stars::after {animation:theme-idle-spark 3.7s ease-in-out -.8s infinite!important;}
 html body header.unified-header .theme-switch-night::before {animation:theme-idle-sky 8s ease-in-out -2s infinite!important;}
 html body header.unified-header .theme-switch-night::after {animation:theme-idle-glow 6.6s ease-in-out -2s infinite!important;}
 html body header.unified-header .theme-switch-haze::before {animation:theme-idle-mist 10s linear -4s infinite!important;}
 html body header.unified-header .theme-switch-haze::after {animation:theme-idle-mist 14s linear -9s infinite reverse!important;}
 html body header.unified-header .theme-switch-knob::after {animation:theme-idle-glow 7.5s ease-in-out -1.2s infinite!important;}
}
@media(max-width:1200px) {
 html body header.unified-header .site-utilities-panel .theme-landscape-toggle:is(#themeToggle,.site-theme-toggle) {width:100%;min-width:0;height:46px;min-height:46px;padding:4px 6px;justify-content:flex-start;gap:12px;}
 html body header.unified-header .site-utilities-panel .theme-landscape-toggle .site-theme-label {position:static;clip-path:none;width:auto;height:auto;margin:0;overflow:visible;}
}
@media(prefers-reduced-motion:reduce) {
 html body header.unified-header .theme-switch-scene>span,
 html body header.unified-header .theme-switch-star,
 html body header.unified-header .theme-switch-scene>span::before,
 html body header.unified-header .theme-switch-scene>span::after {transition:none!important;animation:none!important;}
}


dialog#siteThanksDialog {
 --thanks-bg:#121b29;--thanks-field:#192536;--thanks-text:#eef2f8;--thanks-muted:#a5b5ca;--thanks-line:#314257;--thanks-gold:#edc784;
 position:fixed;inset:0;width:min(460px,calc(100% - 32px));max-width:460px;max-height:calc(100dvh - 32px);margin:auto;padding:24px;
 border:1px solid var(--thanks-line);border-radius:20px;background:var(--thanks-bg);color:var(--thanks-text);
 box-shadow:0 24px 80px #0007;overflow:auto;box-sizing:border-box;text-align:center;font:14px/1.55 var(--site-font,Arial,sans-serif);color-scheme:dark;
}
dialog#siteThanksDialog:not([open]) {display:none;}
dialog#siteThanksDialog::backdrop {background:#030916b8;backdrop-filter:blur(6px);}
html[data-theme=light] dialog#siteThanksDialog {--thanks-bg:#fffdf8;--thanks-field:#f6f1e7;--thanks-text:#233045;--thanks-muted:#5b6a7d;--thanks-line:#e0d6c4;--thanks-gold:#91621c;color-scheme:light;}
#siteThanksDialog * {box-sizing:border-box;}
#siteThanksDialog .site-thanks-top {display:flex;align-items:center;justify-content:space-between;gap:12px;}
#siteThanksDialog .site-thanks-eyebrow {color:var(--thanks-muted);font:600 10px/1.4 var(--site-font,Arial,sans-serif);letter-spacing:2px;}
#siteThanksDialog .site-thanks-close {display:grid;place-items:center;flex:none;width:34px;height:34px;min-height:34px;margin:-8px -8px 0 0;padding:0;border:0;border-radius:9px;background:transparent;color:var(--thanks-muted);font:26px/1 var(--site-font,Arial,sans-serif);cursor:pointer;box-shadow:none;}
#siteThanksDialog .site-thanks-close:hover {background:var(--thanks-field);color:var(--thanks-text);}
#siteThanksDialog .site-thanks-emblem {display:grid;place-items:center;width:56px;height:56px;margin:16px auto 14px;border:1px solid var(--thanks-line);border-radius:18px;background:var(--thanks-field);color:var(--thanks-gold);font:32px/1 Georgia,serif;}
#siteThanksDialog h2 {margin:0;color:var(--thanks-text);font:600 clamp(24px,5vw,29px)/1.2 Georgia,serif;letter-spacing:0;text-transform:none;}
#siteThanksDialog .site-thanks-intro {margin:13px 0 24px;color:var(--thanks-muted);font:14px/1.6 var(--site-font,Arial,sans-serif);}
#siteThanksDialog .site-thanks-people {display:grid;gap:10px;}
#siteThanksDialog .site-thanks-person {display:flex;align-items:center;gap:12px;min-width:0;margin:0;padding:14px;border:1px solid var(--thanks-line);border-radius:12px;background:var(--thanks-field);color:var(--thanks-text);text-decoration:none;text-align:left;}
#siteThanksDialog .site-thanks-person:hover {border-color:var(--thanks-gold);}
#siteThanksDialog .site-thanks-avatar {display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid var(--thanks-line);border-radius:50%;color:var(--thanks-gold);background:var(--thanks-bg);font:600 19px/1 Georgia,serif;}
#siteThanksDialog .site-thanks-person-text {display:grid;gap:4px;min-width:0;}
#siteThanksDialog .site-thanks-person-text strong {color:var(--thanks-text);font:600 14px/1.4 var(--site-font,Arial,sans-serif);overflow-wrap:anywhere;}
#siteThanksDialog .site-thanks-person-text>span {color:var(--thanks-muted);font:12px/1.4 var(--site-font,Arial,sans-serif);}
#siteThanksDialog .site-thanks-arrow {margin-left:auto;flex:none;color:var(--thanks-gold);font:20px/1 var(--site-font,Arial,sans-serif);}
#siteThanksDialog .site-thanks-note {margin:23px 4px 0;color:var(--thanks-muted);font:13px/1.6 var(--site-font,Arial,sans-serif);}
#siteThanksDialog :is(button,a):focus-visible {outline:2px solid var(--thanks-gold);outline-offset:3px;}
@media(max-width:380px) {
 dialog#siteThanksDialog {padding:18px;}
 #siteThanksDialog .site-thanks-person {padding:12px 10px;gap:9px;}
 #siteThanksDialog .site-thanks-avatar {width:30px;height:30px;flex-basis:30px;font-size:17px;}
 #siteThanksDialog .site-thanks-person-text strong {font-size:13px;}
}

/* The same scene lives in the menu on every screen width. */
html body header.unified-header .site-utilities-panel .theme-landscape-toggle:is(#themeToggle,.site-theme-toggle){display:flex;justify-content:space-between;gap:12px;width:100%;min-width:0;height:46px;min-height:46px;max-height:none;padding:4px 10px;border:0;border-radius:8px;background:transparent;box-shadow:none}
html body header.unified-header .site-utilities-panel .theme-landscape-toggle:hover{background:var(--head-hover)}
html body header.unified-header .site-utilities-panel .site-theme-label{display:block;position:static;clip-path:none;width:auto;height:auto;margin:0;padding:0;overflow:visible;color:var(--head-text);font:500 13px/1.4 var(--site-font,Arial,sans-serif);white-space:normal}
html body header.unified-header .site-utilities-panel .site-theme-symbol{display:none}
html body header.unified-header[data-site-header] .site-utilities-panel #newsToggle{height:42px;min-height:42px;max-height:42px;justify-content:flex-start;border:0;background:transparent;box-shadow:none;animation:none;color:var(--head-text);font-weight:500}
html body header.unified-header .site-utilities-panel #newsToggle:hover{background:var(--head-hover)}
html body header.unified-header .account-menu-panel{width:292px;max-height:calc(100dvh - 90px);padding:8px}
html body header.unified-header .account-menu-utilities{position:static;display:flex;flex-direction:column;gap:2px;width:100%;max-width:none;max-height:none;overflow:visible;padding:5px 0;margin:5px 0;border:0;border-top:1px solid var(--head-line);border-bottom:1px solid var(--head-line);border-radius:0;background:transparent;box-shadow:none}
html body header.unified-header .account-menu-utilities>*{flex:none;order:0}
html body header.unified-header[data-site-header] .account-menu-utilities #siteTicketsLink{display:flex;justify-content:space-between;width:100%;min-height:42px;height:42px;padding:10px 12px;border:0;background:transparent;border-radius:8px;font:500 13px/1.4 var(--site-font,Arial,sans-serif)}
html body header.unified-header[data-site-header] .account-menu-utilities #siteTicketsLink:hover{background:var(--head-hover)}
html body header.unified-header .account-menu-utilities #gameClock{margin:4px 0;padding:9px 12px;border-top:1px solid var(--head-line);border-bottom:0;min-height:44px;height:44px}
html body header.unified-header .site-account-updates{display:block;width:6px;height:6px;border-radius:50%;background:var(--head-gold);flex:none;box-shadow:0 0 0 2px var(--head-panel)}
@media(max-width:700px){
 html body header.unified-header[data-site-header] .site-header-row{grid-template-columns:minmax(0,1fr) auto auto;min-height:108px}
 html body header.unified-header .site-header-brand{grid-column:1;grid-row:1}
 html body header.unified-header[data-site-header] .site-online{grid-column:2;grid-row:1}
 html body header.unified-header .site-header-account{grid-column:3;grid-row:1}
 html body header.unified-header #site-chat-toggle{grid-column:2/4;grid-row:2;justify-self:end;min-width:82px}
 html body header.unified-header .site-account-updates{position:absolute;top:3px;right:3px}
 html body header.unified-header .account-menu-trigger{position:relative}
}

/* Time, theme and donations stay visible; only the requested four utilities are in the account. */
html body header.unified-header .site-header-quick{display:flex;align-items:center;gap:10px;flex:none}
html body header.unified-header .site-header-quick #gameClock{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;width:auto;min-width:91px;height:40px;min-height:40px;max-height:40px;margin:0;padding:4px 12px;border:1px solid var(--head-line);border-radius:9px;background:var(--head-panel);color:var(--head-muted);font:10px/1 var(--site-font,Arial,sans-serif);white-space:nowrap}
html body header.unified-header .site-header-quick #gameClockTime{color:var(--head-gold);font:600 16px/1 var(--site-font,Arial,sans-serif);letter-spacing:.5px}
html body header.unified-header .site-header-quick .theme-landscape-toggle:is(#themeToggle,.site-theme-toggle){width:118px;min-width:118px;height:40px;min-height:40px;padding:2px;justify-content:center}
html body header.unified-header .site-header-quick .site-theme-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
html body header.unified-header .site-header-quick .site-header-support{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;height:40px;margin:0;padding:0 12px;border:1px solid var(--head-gold);border-radius:9px;background:var(--head-panel);color:var(--head-gold);font:600 12px/1 var(--site-font,Arial,sans-serif);text-decoration:none;white-space:nowrap;box-shadow:none}
html body header.unified-header .site-header-quick .site-header-support:hover{background:var(--head-hover)}
@media(max-width:900px){html body header.unified-header .account-menu-trigger{position:relative}html body header.unified-header .site-account-updates{position:absolute;top:3px;right:3px}}
@media(min-width:701px) and (max-width:1160px){
 html body header.unified-header[data-site-header] .site-header-row{display:grid;grid-template-columns:minmax(165px,1fr) auto auto auto auto;gap:8px 12px;padding:10px 16px;min-height:108px}
 html body header.unified-header .site-header-brand{grid-column:1;grid-row:1}
 html body header.unified-header [data-site-navigation]{grid-column:2;grid-row:1}
 html body header.unified-header[data-site-header] .site-online{grid-column:3;grid-row:1;display:flex}
 html body header.unified-header .site-header-actions{display:contents}
 html body header.unified-header #site-chat-toggle{grid-column:4;grid-row:1}
 html body header.unified-header .site-header-account{grid-column:5;grid-row:1}
 html body header.unified-header .site-header-quick{grid-column:1/-1;grid-row:2;justify-content:flex-end}
}
@media(max-width:700px){
 html body header.unified-header[data-site-header] .site-header-row{min-height:156px}
 html body header.unified-header .site-header-quick{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:minmax(68px,1fr) 102px minmax(90px,1fr);gap:6px;width:100%;padding-top:2px}
 html body header.unified-header .site-header-quick #gameClock{min-width:0;width:100%;padding-inline:8px}
 html body header.unified-header .site-header-quick .theme-landscape-toggle:is(#themeToggle,.site-theme-toggle){width:102px;min-width:102px}
 html body header.unified-header .site-header-quick .theme-switch-scene{transform:scale(.84)}
 html body header.unified-header .site-header-quick .site-header-support{width:100%;padding-inline:6px;font-size:11px}
 html body header.unified-header .site-support-long{display:none}
}

html body header.unified-header .site-header-quick #gameClock.ge-clock-host{display:grid;grid-template-columns:70px auto;grid-template-rows:12px 17px;column-gap:9px;row-gap:0;align-content:center;justify-content:start;height:40px;min-height:40px;max-height:40px;margin:0;padding:4px 10px 4px 4px;border:1px solid var(--head-clock-line);border-radius:11px;background:var(--head-clock-bg);box-shadow:inset 0 1px 0 #ffffff08;white-space:nowrap}
html body header.unified-header .site-header-quick #gameClock.ge-clock-host .ge-clock{grid-column:1;grid-row:1 / 3;width:70px;min-width:70px;height:29px;align-self:center}
html body header.unified-header .site-header-quick #gameClock.ge-clock-host .game-clock-label{display:block;grid-column:2;grid-row:1;font:500 9px/12px var(--site-font,Arial,sans-serif);color:var(--head-muted);letter-spacing:.2px}
html body header.unified-header .site-header-quick #gameClock.ge-clock-host #gameClockTime{grid-column:2;grid-row:2;font:700 15px/17px var(--site-font,Arial,sans-serif);letter-spacing:.7px;color:var(--head-clock-text);font-variant-numeric:tabular-nums}

/* Restore the original scenery clock, including its original palette and geometry. */
html body header.unified-header .site-header-quick #gameClock{--head-clock-bg:#122c3b;--head-clock-line:#335667;--head-clock-text:#abe5ef}
html[data-theme=light] body header.unified-header .site-header-quick #gameClock{--head-clock-bg:#e9f4f8;--head-clock-line:#aecbd7;--head-clock-text:#246278}
html body header.unified-header .site-header-quick #gameClock.ge-clock-host{width:auto;min-width:144px;align-items:center;flex-direction:initial}
html body header.unified-header .site-header-quick #gameClock.ge-clock-host .ge-clock{display:inline-block}
@media(max-width:700px){html body header.unified-header .site-header-quick{grid-template-columns:minmax(144px,1fr) 102px minmax(90px,1fr)}}
@media(max-width:380px){
 html body header.unified-header .site-header-quick{grid-template-columns:minmax(144px,1fr) 102px;row-gap:6px}
 html body header.unified-header .site-header-quick .site-header-support{grid-column:1/-1}
 html body header.unified-header .site-header-quick #gameClock{width:100%}
}

/* Decorative SVG icons share one size and stroke weight. */
html body header.unified-header .account-icon-security{--menu-icon-color:#a0bfdc;--menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%207%203v5c0%204.6-3%207.8-7%2010-4-2.2-7-5.4-7-10V6l7-3Z%22%2F%3E%3Cpath%20d%3D%22m9%2012%202%202%204-4%22%2F%3E%3C%2Fsvg%3E")}
html[data-theme=light] body header.unified-header .account-icon-security{--menu-icon-color:#416a91}
html body header.unified-header .account-icon-backup{--menu-icon-color:#8fc7a6;--menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v12m0%200-4-4m4%204%204-4M4%2017v3h16v-3%22%2F%3E%3C%2Fsvg%3E")}
html[data-theme=light] body header.unified-header .account-icon-backup{--menu-icon-color:#2f7a52}
html body header.unified-header .account-icon-admin{--menu-icon-color:#dbbf83;--menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%207%204%204%204-7%204%207%204-4-2%2012H6L4%207Z%22%2F%3E%3Cpath%20d%3D%22M7%2015h10%22%2F%3E%3C%2Fsvg%3E")}
html[data-theme=light] body header.unified-header .account-icon-admin{--menu-icon-color:#8a661f}
html body header.unified-header .account-icon-support{--menu-icon-color:#8ec4d8;--menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2011a8%208%200%200%201-8%208H6l-3%202%201.1-5A8%208%200%201%201%2020%2011Z%22%2F%3E%3Cpath%20d%3D%22M8%209h7M8%2013h5%22%2F%3E%3C%2Fsvg%3E")}
html[data-theme=light] body header.unified-header .account-icon-support{--menu-icon-color:#326b83}
html body header.unified-header .account-icon-news{--menu-icon-color:#b3bfe6;--menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%208h8M8%2012h3M8%2016h3M15%2012h1M15%2016h1%22%2F%3E%3C%2Fsvg%3E")}
html[data-theme=light] body header.unified-header .account-icon-news{--menu-icon-color:#58679b}
html body header.unified-header .account-icon-reminders{--menu-icon-color:#dfbf80;--menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%208a6%206%200%200%200-12%200c0%207-3%207-3%209h18c0-2-3-2-3-9M10%2021h4M12%202v1%22%2F%3E%3C%2Fsvg%3E")}
html[data-theme=light] body header.unified-header .account-icon-reminders{--menu-icon-color:#8c692a}
html body header.unified-header .account-icon-thanks{--menu-icon-color:#9ed0bb;--menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.3%205.7a4.4%204.4%200%200%200-6.2%200L12%207.8l-2.1-2.1a4.4%204.4%200%200%200-6.2%206.2L12%2020l8.3-8.1a4.4%204.4%200%200%200%200-6.2Z%22%2F%3E%3C%2Fsvg%3E")}
html[data-theme=light] body header.unified-header .account-icon-thanks{--menu-icon-color:#397762}
html body header.unified-header .account-icon-logout{--menu-icon-color:#e5a2a2;--menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%204H5a1%201%200%200%200-1%201v14a1%201%200%200%200%201%201h5M10%2012h11m-4-4%204%204-4%204%22%2F%3E%3C%2Fsvg%3E")}
html[data-theme=light] body header.unified-header .account-icon-logout{--menu-icon-color:#a04c56}

html body header.unified-header[data-site-header] .account-menu-panel :is(.account-menu-action,#siteTicketsLink,#newsToggle,#notifToggle,#siteThanksToggle){display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:44px;height:auto;max-height:none;padding:7px 10px;font:500 13px/1.4 var(--site-font,Arial,sans-serif)}
html body header.unified-header .account-action-icon{display:inline-grid;place-items:center;flex:0 0 28px;width:28px;height:28px;margin:0;border:1px solid color-mix(in srgb,var(--menu-icon-color) 16%,transparent);border-radius:8px;background:color-mix(in srgb,var(--menu-icon-color) 8%,transparent);color:var(--menu-icon-color);pointer-events:none}
html body header.unified-header .account-action-icon::before{content:'';display:block;width:18px;height:18px;background:currentColor;mask:var(--menu-icon) center/contain no-repeat;-webkit-mask:var(--menu-icon) center/contain no-repeat}
html body header.unified-header .account-menu-utilities .support-badge{margin-left:auto}
html body header.unified-header:has(.account-menu-panel a[href="/admin/"]) #sa-admin-open{display:none}

/* The announcements module adds this owner-only shortcut after header mount. */
html body header.unified-header #sa-admin-open {
 --admin-surface-top:#28303c;--admin-surface-bottom:#1b2533;--admin-border:#66583d;--admin-ink:#efd19a;
 appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;
 flex:none;min-width:0;max-width:none;height:40px;min-height:40px;max-height:40px;margin:0;padding:0 12px;
 border:1px solid var(--admin-border);border-radius:10px;background:linear-gradient(180deg,var(--admin-surface-top),var(--admin-surface-bottom));
 color:var(--admin-ink);font:600 12px/1 var(--site-font,Arial,sans-serif);letter-spacing:0;white-space:nowrap;text-decoration:none;
 box-shadow:inset 0 1px 0 #ffffff0b;cursor:pointer;filter:none;transform:none;
 transition:background-color .15s,border-color .15s,box-shadow .15s;
}
html body header.unified-header #sa-admin-open::before {
 content:'';display:block;flex:0 0 16px;width:16px;height:16px;background:currentColor;
 --admin-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4v6m0 4v6M12 4v10m0 4v2M19 4v2m0 4v10M2 10h6M9 14h6M16 6h6'/%3E%3C/svg%3E");
 -webkit-mask:var(--admin-icon) center/contain no-repeat;mask:var(--admin-icon) center/contain no-repeat;
}
html[data-theme=light] body header.unified-header #sa-admin-open {--admin-surface-top:#fffdf7;--admin-surface-bottom:#f5eddd;--admin-border:#d5bf96;--admin-ink:#805c21;box-shadow:inset 0 1px 0 #fff;}
html body header.unified-header #sa-admin-open:hover {border-color:var(--head-gold);background:var(--head-hover);box-shadow:0 0 0 3px color-mix(in srgb,var(--head-gold) 12%,transparent);}
html body header.unified-header #sa-admin-open:active {box-shadow:inset 0 1px 3px #0002;}
@media(min-width:701px) and (max-width:1160px) {
 html body header.unified-header #sa-admin-open {grid-column:1;grid-row:2;justify-self:start;}
 html body header.unified-header:has(#sa-admin-open):not(:has(.account-menu-panel a[href="/admin/"])) .site-header-quick {grid-column:2/-1;}
}
@media(max-width:700px) {
 html body header.unified-header #sa-admin-open {grid-column:2;grid-row:2;justify-self:end;padding-inline:9px;gap:6px;font-size:11px;}
 html body header.unified-header #sa-admin-open::before {flex-basis:14px;width:14px;height:14px;}
 html body header.unified-header:has(#sa-admin-open):not(:has(.account-menu-panel a[href="/admin/"])) #site-chat-toggle {grid-column:3;grid-row:2;min-width:0;padding-inline:10px;}
}
@media(prefers-reduced-motion:reduce){html body header.unified-header #sa-admin-open{transition:none}}

/* Clock scenery is part of the header first paint; no deferred stylesheet. */
.ge-clock{position:relative;display:inline-block;flex:0 0 76px;width:76px;height:30px;border-radius:18px;overflow:hidden;background:linear-gradient(#64aed2,#edc77d);isolation:isolate;box-shadow:inset 0 1px 1px #ffffff70}.ge-night{position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,#fff 0 .6px,transparent 1px),radial-gradient(circle at 68% 26%,#fff 0 .6px,transparent 1px),linear-gradient(#111b41,#485070);opacity:0;transition:opacity 2s}.ge-sun,.ge-moon{position:absolute;left:0;top:0;width:12px;height:12px;border-radius:50%;transform:translate(var(--orbit-x),var(--orbit-y));transition:transform 1s linear,opacity 2s}.ge-sun{background:#ffed9b;box-shadow:0 0 9px #ffec88}.ge-moon{box-shadow:3px 1px 0 #e8f0ff;opacity:0}.ge-mountains{position:absolute;inset:15px -3px -5px;background:#34495b;clip-path:polygon(0 70%,18% 0,36% 66%,50% 25%,70% 74%,86% 4%,100% 65%,100% 100%,0 100%)}.ge-nighttime .ge-night,.ge-nighttime .ge-moon{opacity:1}.ge-nighttime .ge-sun{opacity:0}
@media(prefers-reduced-motion:reduce){.ge-night,.ge-sun,.ge-moon{transition:none!important}}

/* Compact giveaway shortcut stays beside the online indicator. */
html body header.unified-header .site-header-status{display:flex;align-items:center;gap:10px;flex:none;min-width:0}
html body header.unified-header .site-freebies-banner{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;height:28px;padding:0 9px;overflow:hidden;border:1px solid #b38b4c;border-radius:7px;background:linear-gradient(120deg,#253143,#3f3426);color:#ffe0a1;font:700 11px/1 var(--site-font,Arial,sans-serif);text-decoration:none;white-space:nowrap;box-shadow:0 0 0 #eec87600;animation:freebiesGlow 3s ease-in-out infinite}
html body header.unified-header .site-freebies-banner::before{content:'';position:absolute;inset:-8px auto -8px -55%;width:38%;background:linear-gradient(90deg,transparent,#fff5d980,transparent);transform:skewX(-20deg);animation:freebiesShine 3.8s ease-in-out infinite;pointer-events:none;z-index:-1}
html body header.unified-header .site-freebies-spark{font-size:13px;color:#ffe5af}
html body header.unified-header .site-freebies-banner:hover{border-color:#ffe2a5;filter:brightness(1.12)}
html[data-theme=light] body header.unified-header .site-freebies-banner{background:linear-gradient(120deg,#fff4d9,#eed4a3);border-color:#bb8b3f;color:#674714}
html[data-theme=light] body header.unified-header .site-freebies-spark{color:#976a22}
@keyframes freebiesGlow{0%,100%{box-shadow:0 0 0 0 #eec87600}50%{box-shadow:0 0 12px 1px #eec87640}}
@keyframes freebiesShine{0%,20%{left:-55%}65%,100%{left:135%}}
@media(min-width:1161px) and (max-width:1320px){html body header.unified-header .site-header-brand{flex-basis:160px}html body header.unified-header .site-header-row{gap:12px;padding-inline:16px}html body header.unified-header .user-name{max-width:85px}html body header.unified-header .site-support-long{display:none}}
@media(min-width:701px) and (max-width:1160px){html body header.unified-header .site-header-status{grid-column:3;grid-row:1}}
@media(max-width:700px){
 html body header.unified-header[data-site-header] .site-header-row{grid-template-columns:minmax(96px,1fr) auto auto auto}
 html body header.unified-header .site-header-brand{grid-column:1/3;grid-row:1}
 html body header.unified-header #site-chat-toggle{grid-column:3;grid-row:1;min-width:0}
 html body header.unified-header .site-header-account{grid-column:4;grid-row:1}
 html body header.unified-header .site-header-status{grid-column:2/-1;grid-row:2;justify-self:end;gap:8px}
 html body header.unified-header .site-freebies-banner{height:28px;padding-inline:8px;font-size:10px}
 html body header.unified-header:has(#sa-admin-open):not(:has(.account-menu-panel a[href="/admin/"])) .site-header-status{grid-row:4;grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){html body header.unified-header .site-freebies-banner,html body header.unified-header .site-freebies-banner::before{animation:none}}

/* Miniature coastal observatory: same clock, orbit and compact footprint. */
html body header.unified-header .site-header-quick #gameClock.ge-clock-host{border-color:#698287;border-radius:10px;background:linear-gradient(115deg,#223f48,#142c3a 63%,#142536);box-shadow:inset 0 1px 0 #f4e1a72b,inset 0 -1px 0 #0003,0 2px 8px #0002;column-gap:9px}
html body header.unified-header .site-header-quick #gameClock.ge-clock-host .ge-clock{height:30px;border-radius:7px;box-shadow:inset 0 0 0 1px #e8d9aa70,0 0 9px #79ccd528;background:linear-gradient(#589fb9 0%,#a7d1d0 55%,#edcb8f 100%)}
html body header.unified-header .site-header-quick #gameClock.ge-clock-host .game-clock-label{color:#adcccd;font-size:8px;letter-spacing:.65px}
html body header.unified-header .site-header-quick #gameClock.ge-clock-host #gameClockTime{color:#f5e5b5;font-size:16px;letter-spacing:.9px;text-shadow:0 0 12px #edc67640}
html body header.unified-header .site-header-quick #gameClock:has(.ge-nighttime){background:linear-gradient(115deg,#24334b,#172638 65%,#162536);border-color:#596c88}
html body header.unified-header .site-header-quick #gameClock:has(.ge-nighttime) #gameClockTime{color:#cbeaff;text-shadow:0 0 10px #78c9f95c}
html[data-theme=light] body header.unified-header .site-header-quick #gameClock.ge-clock-host{background:linear-gradient(115deg,#d9e8e9,#f3f5e9);border-color:#9bb1b9;box-shadow:inset 0 1px 0 #fff,0 2px 6px #27455812}
html[data-theme=light] body header.unified-header .site-header-quick #gameClock.ge-clock-host .game-clock-label{color:#527078}
html[data-theme=light] body header.unified-header .site-header-quick #gameClock.ge-clock-host #gameClockTime{color:#244e68;text-shadow:none}
html body header.unified-header .ge-clock .ge-night{background:radial-gradient(circle at 16% 22%,#def5ff 0 .65px,transparent 1px),radial-gradient(circle at 44% 12%,#f6ddb3 0 .7px,transparent 1px),radial-gradient(circle at 73% 37%,#dcf0ff 0 .5px,transparent .9px),radial-gradient(ellipse at 55% 80%,#6572a44d,transparent 70%),linear-gradient(#111d3e,#43567a)}
html body header.unified-header .ge-clock .ge-night::after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 29% 38%,#fff 0 .6px,transparent 1px),radial-gradient(circle at 84% 19%,#fff 0 .6px,transparent 1px);animation:clock-stars 4s ease-in-out infinite}
html body header.unified-header .ge-clock .ge-sun{z-index:1;width:10px;height:10px;background:radial-gradient(circle at 35% 30%,#fffde3,#ffe8a0 50%,#eeb666);box-shadow:0 0 5px #fff7c5,0 0 15px #ffd99b8a}
html body header.unified-header .ge-clock .ge-moon{z-index:1;width:10px;height:10px;box-shadow:3px 1px 0 #edf7ff;filter:drop-shadow(0 0 3px #b9d6f6)}
html body header.unified-header .ge-clock .ge-mountains{z-index:3;inset:17px -2px 2px;background:linear-gradient(#426581,#284f60);clip-path:polygon(0 100%,0 70%,13% 32%,20% 53%,36% 0,46% 50%,54% 24%,72% 68%,83% 15%,100% 78%,100% 100%)}
.ge-ridge{position:absolute;z-index:2;inset:14px -1px 4px;background:#849bac;clip-path:polygon(0 75%,15% 30%,26% 60%,38% 0,48% 58%,58% 15%,73% 52%,84% 6%,100% 78%,100% 100%,0 100%)}
.ge-nighttime .ge-ridge{background:#617396}.ge-nighttime .ge-mountains{filter:brightness(.8)}
.ge-lake{position:absolute;z-index:4;left:0;right:0;bottom:0;height:7px;background:linear-gradient(#427c8b99,#244a69);border-top:1px solid #c1e0d52e;overflow:hidden}.ge-lake::after{content:'';position:absolute;inset:1px 13px;background:repeating-linear-gradient(0deg,transparent 0 2px,#dcdfb259 2px 3px);clip-path:polygon(38% 0,62% 0,90% 100%,10% 100%);animation:clock-water 4s ease-in-out infinite alternate}.ge-nighttime .ge-lake{background:linear-gradient(#253c60,#142b46)}.ge-nighttime .ge-lake::after{background:repeating-linear-gradient(0deg,transparent 0 2px,#a9d6ff45 2px 3px)}
.ge-citadel{position:absolute;z-index:5;left:12px;bottom:5px;width:18px;height:16px;background:linear-gradient(#19364d,#112e42);clip-path:polygon(0 100%,0 55%,11% 55%,11% 39%,20% 39%,20% 55%,33% 55%,33% 25%,44% 25%,50% 0,56% 25%,67% 25%,67% 58%,78% 58%,78% 45%,89% 45%,89% 58%,100% 58%,100% 100%)}.ge-citadel::after{content:'';position:absolute;left:8px;top:8px;width:2px;height:3px;background:#f6daa4;box-shadow:-5px 4px 0 #edc67a,5px 4px 0 #e9c285,0 6px 0 #e9c285;opacity:.5}.ge-nighttime .ge-citadel::after{opacity:1;filter:drop-shadow(0 0 2px #eecd88)}
.ge-clouds{position:absolute;z-index:2;top:10px;left:-14px;width:80px;height:3px;background:linear-gradient(90deg,transparent,#f6ecd787,transparent 50%,#f6ecd755,transparent);filter:blur(.7px);animation:clock-clouds 18s ease-in-out infinite alternate}.ge-nighttime .ge-clouds{opacity:.3}
@keyframes clock-stars{0%,100%{opacity:.35}50%{opacity:1}}@keyframes clock-water{from{transform:translateX(-3px);opacity:.45}to{transform:translateX(3px);opacity:.9}}@keyframes clock-clouds{from{transform:translateX(-6px)}to{transform:translateX(16px)}}
@media(prefers-reduced-motion:reduce){html body header.unified-header .ge-clock *,html body header.unified-header .ge-clock *::after{animation:none!important;transition:none!important}}
/* Site-wide disclaimer: inside .site-footer on the home page, a thin bottom strip elsewhere. */
.site-disclaimer{margin:0;padding:8px 16px 10px;font-family:var(--site-font,inherit);font-size:11px;font-weight:400;line-height:1.5;color:var(--site-muted,var(--text-dim,#8b9bb0));text-align:center;letter-spacing:0;text-wrap:pretty}
.site-disclaimer-page{flex:none;border-top:1px solid var(--site-line,rgba(148,163,184,.18));background:var(--site-header,transparent)}
footer.site-footer .site-disclaimer{max-width:880px;margin:0 auto;padding:10px 16px 0}
@media(max-width:520px){.site-disclaimer{font-size:10px;padding:7px 12px 9px}}
