/* Fixed app shell: document never pans; only explicit dialogs can scroll. */
html,body{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;background:#0b1013}
body{position:fixed;inset:0;height:100dvh;max-height:100%;}
.home{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:none}
.modal{overscroll-behavior:contain;touch-action:pan-y pinch-zoom;max-height:calc(100dvh - 24px)}
.launch-intro{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 43%,#15292a 0,#0a1018 48%,#060a0f 100%);color:#ecf8f1;text-align:center;padding:22px;touch-action:manipulation}
.launch-grid{position:absolute;inset:0;opacity:.22;background-image:linear-gradient(#5fa19315 1px,transparent 1px),linear-gradient(90deg,#5fa19315 1px,transparent 1px);background-size:54px 54px;transform:perspective(500px) rotateX(18deg) scale(1.2);pointer-events:none}
.launch-intro:after{content:'';position:absolute;width:30%;height:200%;top:-50%;left:-50%;background:linear-gradient(90deg,transparent,#96ffe00b,transparent);transform:rotate(25deg);animation:launch-sweep 5.5s ease-in-out 1;pointer-events:none}
.launch-content{position:relative;z-index:1;width:min(420px,100%)}
.launch-kicker,.launch-tagline,.launch-status,.launch-footer{font-family:Consolas,monospace;font-size:10px;letter-spacing:2px;color:#76948d}
.launch-kicker{color:#b8ff65;font-size:9px;letter-spacing:2.5px}
.launch-emblem{position:relative;width:174px;height:174px;margin:26px auto 22px;display:grid;place-items:center}
.launch-emblem svg{width:112px;height:112px;overflow:visible;fill:none;transform:translateY(-7px)}
.launch-snake-shadow{stroke:#91ff9e22;stroke-width:22;stroke-linecap:round}.launch-snake{stroke:#b8ff65;stroke-width:10;stroke-linecap:round;stroke-dasharray:240;animation:launch-trace 2.5s ease-out both}.launch-head{fill:#b8ff65}.launch-emblem circle{fill:#102821}
.launch-ring{position:absolute;inset:0;border:1px solid #92f1c626;border-top-color:#91ffab;border-right-color:#5be9ec88;border-radius:50%;animation:launch-spin 7s linear infinite;box-shadow:0 0 30px #66ffca08,inset 0 0 25px #66ffca05}
.launch-ring-inner{inset:11px;border-style:dashed;border-color:#689c7c35;animation-duration:18s;animation-direction:reverse}
.launch-title{font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(32px,6vw,52px);font-weight:400;letter-spacing:4px;line-height:1.05;margin:0}.launch-title span{color:#b8ff65}
.launch-tagline{font-size:8px;letter-spacing:3px;margin:16px 0 27px}
.launch-track{height:3px;overflow:hidden;border-radius:3px;background:#b8ff6517;width:220px;max-width:80%;margin:auto}.launch-track i{display:block;width:45%;height:100%;background:linear-gradient(90deg,transparent,#b8ff65,#57e9e8);animation:launch-load 1.8s ease-in-out infinite}
.launch-status{font-size:9px;letter-spacing:.3px;line-height:1.8;min-height:16px;margin:12px 0;color:#9ebbb2}
.launch-fullscreen,.launch-retry{min-height:44px;padding:10px 18px;border:1px solid #74c99a36;border-radius:7px;background:#132521;color:#c2e4d2;font-size:11px;margin:7px auto 0}.launch-fullscreen{display:none}
.launch-retry{background:#b8ff65;color:#122216;font-weight:700}.launch-footer{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));font-size:8px;letter-spacing:2px}
.launch-intro[data-phase=error] .launch-track{display:none}.launch-intro[data-phase=error] .launch-ring{animation:none}
.orientation-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;border:0;padding:30px 24px;background:radial-gradient(ellipse at center,#172a25,#0a1014 72%);color:#e4f2e7;text-align:center;overflow:hidden;outline:none}
.orientation-dialog[open]{display:flex;flex-direction:column;align-items:center;justify-content:center}.orientation-dialog::backdrop{background:#0a1014}
.orientation-phone{position:relative;width:120px;height:100px;color:#b8ff65;font:84px Arial,sans-serif;margin:0 0 23px}.orientation-phone i{position:absolute;width:53px;height:29px;top:37px;left:34px;border:2px solid #b8ff65;border-radius:6px;transform:rotate(-25deg)}
.orientation-dialog h2{font:36px Impact,'Arial Narrow',sans-serif;font-weight:400;letter-spacing:1px;margin:0 0 12px}.orientation-dialog p{font-size:13px;color:#94b1a2;margin:0 0 23px}.orientation-dialog button{background:#b8ff65;color:#132419;border-radius:7px;min-height:48px;padding:12px 22px;font-weight:700}.orientation-dialog small{font-size:10px;line-height:1.6;color:#819b8f;max-width:260px;margin-top:17px}
@keyframes launch-spin{to{transform:rotate(360deg)}}@keyframes launch-trace{from{stroke-dashoffset:240}to{stroke-dashoffset:0}}@keyframes launch-load{0%{transform:translateX(-110%)}100%{transform:translateX(330%)}}@keyframes launch-sweep{to{left:130%}}
@media(pointer:coarse){
 .launch-fullscreen{display:block}.home{overflow:hidden;padding:0 max(18px,env(safe-area-inset-right)) 0 max(18px,env(safe-area-inset-left))}
 .topbar{height:52px;gap:16px}.brand{font-size:12px;gap:7px}.brand-mark{width:30px;height:30px}.brand-sub{font-size:16px}.topbar nav{margin-left:auto;gap:20px}.nav-link{font-size:11px}.nav-link.active,.tiny-new,.solo-label,.header-right>.status-dot{display:none}.header-right .icon-button{width:38px;height:38px;margin:0}
 .hero{min-height:0;min-width:0;padding:10px 0 12px;align-items:center}.hero-copy{width:100%;max-width:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,43%);column-gap:24px;align-items:center}
 .hero-copy>.eyebrow{grid-column:1;grid-row:1;font-size:8px;max-width:none;letter-spacing:.6px;align-self:end}
 .hero-copy h1{grid-column:1;grid-row:2;font-size:clamp(38px,12vh,68px);margin:15px 0 75px;letter-spacing:-.5px}.hero-copy h1 i{font-size:20px}.hero-description,.hero-art,.bottom-bar,.home footer,.play-note,.hunt-note{display:none}
 .play-form{grid-column:2;grid-row:1/4;width:100%;max-width:none}.play-form>label{font-size:8px;margin-bottom:6px}.name-field{height:42px}.name-field input{font-size:16px}.mode-row{margin:7px 0 8px}.mode{min-height:32px;padding:5px 10px}.rivals-label{font-size:8px}.play-form .play-button{min-height:44px;padding:10px 14px;font-size:11px}
 .lava-test-button{min-height:40px;margin-top:8px;padding:8px 10px;font-size:10px}.lava-test-button small{font-size:6px}
 .skin-preview{left:0;right:auto;top:auto;bottom:20px;width:35%;min-width:0;max-width:270px;padding:10px;gap:8px;flex-wrap:nowrap;backdrop-filter:none}.skin-preview .skin-icon{width:30px;height:30px}.skin-preview small{font-size:7px;max-width:150px}.skin-preview strong{font-size:11px;max-width:170px}.skin-preview .swatches{display:none}.skin-preview .skin-arrow{display:block;margin-left:auto}
}
@media(max-height:500px){.launch-emblem{width:108px;height:108px;margin:13px auto}.launch-emblem svg{width:80px;height:80px}.launch-title{font-size:34px}.launch-tagline{margin:10px 0 15px;font-size:7px}.launch-kicker{font-size:7px}.launch-footer{display:none}.launch-status{margin:8px 0}.launch-fullscreen{margin-top:0;min-height:40px}}
@media(pointer:coarse) and (max-height:340px){.topbar{height:44px}.hero{padding-top:5px}.hero-copy{column-gap:18px}.hero-copy h1{font-size:38px;margin:10px 0 62px}.hero-copy>.eyebrow{font-size:7px}.name-field{height:37px}.play-form>label{font-size:7px;margin-bottom:4px}.mode-row{margin:4px 0}.lava-test-button{margin-top:5px;min-height:34px;padding:5px 8px}.skin-preview{bottom:12px;padding:8px}.launch-intro{padding:10px}.launch-emblem{width:76px;height:76px;margin:9px auto}.launch-emblem svg{width:62px;height:62px}.launch-tagline{margin:8px 0 10px}.launch-title{font-size:29px}}
@media(prefers-reduced-motion:reduce){.launch-intro *,.launch-intro:after{animation:none!important}.launch-track i{width:100%;opacity:.6}}
@media(display-mode:fullscreen){.launch-fullscreen{display:none}}
/* The current gold crown theme and five-second reveal live in crown-theme.css. */
