/* A title screen over the same live HQ the player enters. */
#landing{display:none;position:absolute;inset:0;z-index:10;padding:34px max(6vw,env(safe-area-inset-left));background:linear-gradient(90deg,#081423f2 0%,#081423cc 28%,#08142340 60%,#08142300 100%),linear-gradient(0deg,#081423f5,transparent 38%);overflow:auto;touch-action:pan-y}
.landing-active #landing{display:block}.landing-active :is(#topbar,#main-menu,#menu-world-caption,#controller-bar,#rotate-hint){visibility:hidden}.landing-active .screen-shade{background:transparent}.landing-active #loading{background:#0b192b}.landing-active #landing-play:focus-visible{outline-offset:8px}
.landing-top{display:flex;gap:16px;align-items:center;font:10px/1.6 monospace;letter-spacing:1.5px;color:#afc6cf}.landing-top b{font-weight:400;color:#eff6e6}.landing-emblem{position:relative;display:grid;place-items:center;width:48px;height:48px;background:#c0f665;color:#0d2535;transform:rotate(-7deg);border-radius:12px;font:bold 23px Arial;letter-spacing:-2px}.landing-emblem>span{position:absolute;right:-6px;top:-12px;color:#ffae70;font-size:29px}.landing-edition{margin-left:auto;font-size:9px;color:#dbefd8}
.landing-copy{position:relative;margin-top:clamp(32px,7vh,85px);max-width:620px}.landing-eyebrow{font:10px monospace;letter-spacing:2.5px;color:#c0f665;display:flex;align-items:center;gap:9px}.landing-eyebrow i{width:7px;height:7px;background:currentColor;border-radius:50%;box-shadow:0 0 18px #b2fc69}
#landing h1{font:1000 clamp(70px,9.5vw,145px)/.78 'Arial Black',Arial,sans-serif;letter-spacing:-.075em;margin:27px 0 22px;transform:skew(-7deg);transform-origin:left;text-shadow:0 8px 0 #08142366}#landing h1>span{position:relative;color:#c0f665;font-size:.8em;letter-spacing:-.065em}.landing-star{display:inline-block;color:#ffb279;font-size:.38em;vertical-align:top;margin-left:12px;transform:rotate(13deg);text-shadow:none}
.landing-credit{font-size:clamp(14px,1.4vw,19px);color:#dbe5e5;letter-spacing:.1px;margin:27px 0 21px}.landing-credit strong{color:#fff6df;font-weight:800;border-bottom:2px solid #ffb279;padding-bottom:5px}.landing-description{font-size:16px;line-height:1.65;color:#b7cad5;margin:0 0 24px}#landing-play{width:286px;display:flex;align-items:center;justify-content:space-between;background:#c0f665;color:#142535;padding:19px 24px;font-size:17px;font-weight:900;letter-spacing:1px;border-radius:8px;box-shadow:0 6px 0 #6d993b,0 14px 42px #b0ee651f;transition:transform .18s,background .18s}#landing-play:hover{background:#d8ff96;transform:translateY(-2px)}#landing-play:active{transform:translateY(3px)}#landing-play>span:last-child{font-size:26px;line-height:1}#landing-status{font-size:11px;color:#96b0c4;margin-top:19px;max-width:300px;line-height:1.5}
.landing-world-label{position:absolute;right:9%;bottom:24%;display:flex;align-items:center;gap:13px;transform:rotate(-3deg);padding:15px 19px;border-left:3px solid #c0f665;background:#102132b8;backdrop-filter:blur(8px);color:#f4f4e9;font:bold 12px monospace;letter-spacing:1px}.landing-world-label>span{font-size:29px;color:#c0f665}.landing-world-label small{display:block;color:#b3c8cc;font:8px monospace;margin-top:6px;letter-spacing:1px}.landing-bottom{display:flex;justify-content:space-between;gap:30px;max-width:1080px;margin:38px 0 0;padding:22px 0 8px;border-top:1px solid #d3e7d52b}.landing-bottom div{display:grid;gap:8px}.landing-bottom b{font:10px monospace;letter-spacing:1.5px;color:#c7e7a5}.landing-bottom span{font-size:12px;color:#a7becb}
#panel[data-type="access"]{width:min(400px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:26px;background:#132338f5;border:1px solid #61788b66;border-radius:20px;box-shadow:0 30px 120px #0009;overflow:auto;touch-action:pan-y}#panel[data-type="access"]::backdrop{background:#07101e99;backdrop-filter:blur(8px)}#panel[data-type="access"] .panel-heading{margin-bottom:20px;gap:10px}#panel[data-type="access"] .panel-heading h2{font:700 19px/1.3 Arial;letter-spacing:-.4px;color:#f3f5ed}#panel[data-type="access"] .close{width:36px;height:36px;flex-shrink:0}#panel[data-type="access"] #panel-foot{display:none}.access-progress{display:flex;align-items:center;gap:12px;font:11px monospace;color:#839aab;margin:0 0 26px}.access-progress i{height:1px;flex:1;background:#61798a55}.access-progress .current{color:#c0f665}.access-progress .complete{color:#b5c9cb}.access-compact label{display:block;font-size:14px;margin:0 0 12px;color:#d9e6e8}#access-code{display:block;width:100%;height:68px;border:1px solid #60798a;border-radius:10px;background:#09182a;color:#edf5de;text-align:center;font:30px monospace;letter-spacing:17px;text-indent:17px;caret-color:#c0f665;user-select:text;-webkit-user-select:text}#access-code::placeholder{color:#71899a}#access-code:focus{outline:2px solid #bdf073;outline-offset:3px}.access-keys{margin:0 0 12px}.access-keys summary{font-size:11px;color:#9db5c5;cursor:pointer;padding:10px 0}.access-keys .access-keypad{margin:8px 0}.access-keys .access-keypad button{min-height:42px}.access-keys .access-keypad.letters{grid-template-columns:repeat(6,1fr);gap:5px}.access-edit{background:transparent;color:#c3d9dd;font-size:12px;padding:8px 0}.access-compact .access-tip{font:11px Arial;color:#8ea6b7;margin:16px 0 0}.access-compact #access-error{margin:12px 0 0;min-height:20px;font-size:12px;line-height:1.5}
@media(min-width:900px) and (min-height:850px){.landing-bottom{position:absolute;bottom:30px;left:6vw;right:6vw;margin:0}.landing-copy{margin-top:8vh}}
@media(max-width:700px){#landing{padding:25px 25px 20px;background:linear-gradient(90deg,#081423e8,#08142388 70%,#08142333),linear-gradient(0deg,#081423fa,transparent 90%)}.landing-edition{display:none}.landing-copy{margin-top:58px}#landing h1{font-size:clamp(78px,19vw,130px)}.landing-credit{font-size:15px;margin-top:27px}.landing-description{font-size:14px}.landing-eyebrow{font-size:8px;letter-spacing:1.7px}#landing-play{width:min(100%,286px)}.landing-world-label{display:none}.landing-bottom{margin-top:35px;gap:15px;flex-wrap:wrap;padding-top:20px}.landing-bottom div{flex:1;min-width:125px}.landing-bottom b{font-size:8px;letter-spacing:1px}.landing-bottom span{font-size:11px;line-height:1.5}.landing-top{font-size:9px}.landing-emblem{width:40px;height:40px}}
@media(max-height:600px) and (min-width:701px){#landing{padding:18px 5vw}.landing-top{font-size:8px}.landing-emblem{width:32px;height:32px;font-size:18px}.landing-edition{font-size:8px}.landing-copy{margin-top:20px;max-width:500px}.landing-eyebrow{font-size:8px;margin:0}#landing h1{font-size:clamp(65px,11vh,94px);margin:16px 0}.landing-credit{font-size:13px;margin:18px 0 12px}.landing-description{font-size:12px;line-height:1.5;margin-bottom:15px}.landing-description br{display:none}#landing-play{width:235px;padding:12px 18px;font-size:13px}#landing-status{font-size:9px;margin-top:12px}.landing-bottom{margin-top:18px;padding-top:14px;gap:20px}.landing-bottom b{font-size:8px}.landing-bottom span{font-size:10px}.landing-world-label{bottom:28%;right:7%;font-size:10px}#panel[data-type="access"]{padding:18px 24px}#panel[data-type="access"] .panel-heading{margin-bottom:12px}.access-progress{margin-bottom:14px}#access-code{height:53px}.access-keys .access-keypad button{min-height:36px}}
@media(prefers-reduced-motion:reduce){#landing-play{transition:none}}

@media(max-height:420px) and (min-width:701px){.landing-bottom{display:none}.landing-copy{margin-top:15px}#landing h1{margin:14px 0}.landing-credit{margin-top:15px}.landing-description{margin-bottom:13px}}
/* Keep the default keypad usable on short, landscape screens. */
.access-keys{margin-top:14px}.access-keys .access-keypad{margin:0}.access-compact #access-error:empty{min-height:0;margin:0}
@media(min-width:701px) and (max-height:600px){#panel[data-type="access"]{width:min(690px,94vw)}.access-compact{display:grid;grid-template-columns:minmax(190px,.85fr) minmax(270px,1.15fr);column-gap:28px;align-items:start}.access-compact>*{grid-column:1}.access-compact .access-keys{grid-column:2;grid-row:1 / span 6;margin:0}.access-compact .access-progress{margin:0 0 14px}.access-compact .access-edit{justify-self:start}.access-keys .access-keypad button{min-height:40px}.access-keys .access-keypad.letters{grid-template-columns:repeat(6,1fr)}}
