*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#080d21;color:#e9fbff;font-family:Arial,Helvetica,sans-serif}button{font:inherit;cursor:pointer;color:inherit;border:1px solid #8acedd40;background:#13243cdd;min-height:46px;min-width:46px;border-radius:4px;letter-spacing:1.5px;font-size:11px;font-weight:700;padding:0 16px;transition:background .15s,border-color .15s}button:hover{background:#214761;border-color:#7fe6ed}button:focus-visible{outline:3px solid #ffc86a;outline-offset:3px}button:disabled{opacity:.35;cursor:default}button[aria-pressed=true]{background:#92f3f0;color:#082333;border-color:#cbffff}[hidden]{display:none!important}#game{position:relative;width:100%;height:100%;height:100dvh;isolation:isolate;background:radial-gradient(ellipse at 50% 40%,#143254,#080d21 70%)}#scene{display:block;width:100%;height:100%;touch-action:none;outline:none}#hud{position:absolute;left:max(22px,env(safe-area-inset-left));right:max(22px,env(safe-area-inset-right));top:max(20px,env(safe-area-inset-top));display:flex;justify-content:space-between;align-items:center;pointer-events:none;text-shadow:0 2px 12px #000} .brand{font-size:22px;font-weight:900;letter-spacing:-1px}.brand span{display:block;font-size:8px;letter-spacing:3px;margin-top:3px;color:#70abbc}.readout{text-align:center}.readout span{display:block;font-size:10px;letter-spacing:2px;color:#a1c4d0}.readout strong{font-size:27px;font-weight:400;letter-spacing:4px;display:block;margin-top:3px;font-variant-numeric:tabular-nums}.health{text-align:right;color:#fac782;letter-spacing:4px;font-size:16px}.health small{display:block;font-size:9px;color:#92bcca;letter-spacing:1px;margin-top:7px}#menu{position:absolute;left:6%;top:16%;width:310px;max-height:calc(100% - 145px);padding:0 5px 12px;text-shadow:0 3px 15px #000}#menu:before{content:"";position:absolute;inset:-50px -90px -30px -90px;background:radial-gradient(ellipse,#080d21ed 25%,#080d2180 65%,transparent 75%);z-index:-1;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:3px;color:#b6dde0;font-weight:700}h1{font-size:66px;letter-spacing:-4px;line-height:.91;margin:24px 0 15px;font-weight:900}h1 em{font-style:normal;color:#96f5e9} .intro{font-size:20px;line-height:1.4;color:#c0d4da;margin:0 0 28px}.selection{border-left:2px solid #e8b568;padding-left:15px}.selection span{font-size:9px;letter-spacing:2px;color:#d8b784}h2{margin:8px 0;font-size:26px;letter-spacing:-.5px}.selection p{font-size:12px;line-height:1.6;color:#a6c1ce;min-height:38px;margin:7px 0 13px}#stages{display:flex;gap:5px;margin:18px 0}#stages button{padding:0;min-width:0;flex:1;font-size:12px;letter-spacing:0}.primary{background:#b9fff0;color:#0e2a36;border:1px solid #d3fffa;min-height:52px;width:100%;font-size:12px;display:flex;align-items:center;justify-content:space-between}.primary:hover{background:#e4fff9}.primary span{font-size:22px}.instructions{font-size:11px;line-height:1.9;color:#a9c0ce;margin:14px 0}.legend{display:flex;gap:15px;font-size:9px;letter-spacing:1px;color:#ffdb92}#storageNote{display:block;font-size:10px;color:#ffc978;margin-top:8px}#controls{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));display:flex;align-items:center;gap:8px}#effectLabel{flex:1;font-size:9px;color:#90b6c6;letter-spacing:2px}#launch{background:#b9fff0;color:#0b2530;min-width:116px}#pause,#fullscreen{font-size:21px;padding:0 12px}#toast{position:absolute;top:96px;left:50%;transform:translateX(-50%);pointer-events:none;background:#102b43cf;padding:9px 18px;border-left:2px solid #ffd290;color:#fff1c3;font-size:11px;letter-spacing:2px;opacity:0;transition:opacity .2s;max-width:90%;text-align:center}#toast.visible{opacity:1}#aimHint{position:absolute;left:50%;bottom:88px;transform:translateX(-50%);font-size:10px;letter-spacing:2px;white-space:nowrap;color:#b9f4f0;text-shadow:0 2px 10px #000;pointer-events:none}.veil{position:absolute;inset:0;display:grid;place-items:center;background:#040b1dc9;backdrop-filter:blur(9px);padding:25px}.dialogInner{width:370px;max-width:100%;text-align:center}.dialogInner h2{font-size:48px;line-height:1;margin:20px 0;color:#b9fff0}.dialogInner p{font-size:15px;line-height:1.7;color:#abc7d4;white-space:pre-line}.dialogInner .primary{display:block;margin:22px 0 12px}#dialogHome{width:100%}
@media(min-width:1000px){body.playing .brand{font-size:18px}body.playing #hud{left:8%;right:8%}}
body:not(.playing) #home{display:none}
@media(max-width:700px){#hud{left:15px;right:15px;top:max(14px,env(safe-area-inset-top))}.brand{font-size:18px}.brand span{font-size:7px;letter-spacing:1.5px}.readout span{font-size:8px;letter-spacing:1px}.readout strong{font-size:23px}.health{font-size:12px;letter-spacing:2px}.health small{font-size:8px}#menu{left:22px;top:auto;bottom:85px;width:calc(100% - 44px);max-height:none;background:linear-gradient(0deg,#080e22f7,#080e22eb 78%,#080e22b0);padding:18px 20px 16px;border-left:2px solid #8edcd8}#menu:before{display:none}h1{font-size:48px;line-height:.91;letter-spacing:-3px;margin:12px 0}.intro{font-size:14px;margin:0 0 15px;line-height:1.35}.intro br{display:none}.eyebrow{font-size:8px;letter-spacing:2px}.selection h2{font-size:21px;margin:5px 0}.selection p{margin:4px 0;min-height:0;font-size:11px}.selection span{font-size:8px}#stages{margin:13px 0;gap:4px}.instructions{font-size:10px;margin:9px 0;line-height:1.6}.legend{font-size:8px}#controls{left:12px;right:12px;bottom:max(14px,env(safe-area-inset-bottom));gap:6px}#controls button{padding:0 11px;font-size:10px}#controls #pause,#controls #fullscreen{font-size:21px}#effectLabel{letter-spacing:.5px;font-size:8px}body.playing #effectLabel{position:absolute;bottom:59px;left:0;right:0;text-align:center;pointer-events:none}#launch{margin-left:auto;min-width:96px}#aimHint{font-size:9px;letter-spacing:1px;bottom:112px}#toast{top:79px;font-size:9px}.dialogInner h2{font-size:40px}}
@media(max-height:500px) and (min-width:701px){#hud{top:12px;left:18px;right:18px}.readout strong{font-size:20px}.brand span{display:none}#menu{left:4%;top:68px;width:245px;max-height:none}h1{font-size:38px;letter-spacing:-2px;margin:8px 0}.intro{font-size:12px;margin:6px 0 12px}.intro br{display:none}.selection h2{font-size:19px;margin:5px 0}.selection p{font-size:10px;min-height:0;margin:3px 0}.eyebrow{font-size:7px}#stages{margin:9px 0;gap:4px}#stages button{min-height:44px}.primary{min-height:44px}.instructions,.legend{display:none}#controls{bottom:10px;left:14px;right:14px}#effectLabel{font-size:8px;letter-spacing:.5px}#aimHint{bottom:64px;font-size:9px}.dialogInner h2{font-size:34px;margin:12px 0}.dialogInner p{font-size:12px;margin:8px}.dialogInner .primary{margin:12px 0 8px}#toast{top:58px}}
@media(max-height:500px) and (min-width:701px){#menu{top:62px}#menu h1{font-size:32px;margin:7px 0}#menu .intro{display:none}}
/* Game lettering remains readable over the chamber without a status panel. */
button{font-family:"Arial Black",Arial,sans-serif;font-size:15px;letter-spacing:0;font-weight:900;border-radius:8px;border-width:2px;box-shadow:0 3px 0 #030a18}
body:not(.playing) #hud{display:none}
body.playing #hud{left:50%;right:auto;width:min(500px,calc(100% - 28px));transform:translateX(-50%);gap:24px;justify-content:center;text-shadow:-1px -1px 0 #061526,1px -1px 0 #061526,-1px 1px 0 #061526,2px 3px 0 #061526}
body.playing .brand{display:none}
.readout span{font-size:17px;font-weight:900;letter-spacing:0;color:#c3fff0}
.readout strong{font-family:"Arial Black",Arial,sans-serif;font-size:38px;font-weight:900;letter-spacing:0;line-height:1.05}
.health{font-size:22px;letter-spacing:2px}.health small{font-size:15px;font-weight:900;letter-spacing:0;color:#fff}
#menu{width:330px}#menu:before{background:radial-gradient(ellipse,#080d21b0 20%,transparent 75%)}
#menu h1{transform:rotate(-3deg);text-shadow:2px 3px 0 #052536,4px 6px 0 #020a17;-webkit-text-stroke:1px #042435}
.selection{border:0;padding-left:0}.selection span{font-size:15px;letter-spacing:0;font-weight:900;color:#ffc977}.selection h2{font-family:"Arial Black",Arial,sans-serif;font-size:29px}.selection p{font-size:15px;line-height:1.4;min-height:0;color:#d0ecf0}
#stages button{font-size:18px}.primary{font-size:19px;letter-spacing:0}.instructions{font-size:15px;line-height:1.4;color:#e8ffff;font-weight:700}
#effectLabel{font-size:15px;font-weight:900;letter-spacing:0;color:#ffe3a0}
#aimHint{font-size:18px;font-weight:900;letter-spacing:0;text-shadow:2px 3px 0 #071528}
#toast{background:none;border:0;font-size:17px;letter-spacing:0;font-weight:900;text-shadow:2px 2px 0 #071528}
.veil{background:#030b1b80;backdrop-filter:blur(3px)}
.dialogInner{width:410px}.dialogInner h2{font-family:"Arial Black",Arial,sans-serif;font-size:54px;text-shadow:3px 4px 0 #07303e;letter-spacing:-1px}.dialogInner p{font-size:20px;font-weight:700;color:#fff}.dialogInner .eyebrow{font-size:18px;letter-spacing:0;color:#ffc977}
.dialogInner #retry{width:100%;margin-bottom:12px}
@media(max-width:700px){#menu{left:22px;width:calc(100% - 44px);bottom:99px;padding:12px 8px;background:linear-gradient(0deg,#080e22c9,transparent);border:0}.selection h2{font-size:24px}.selection p{font-size:14px}.selection span{font-size:14px}#menu h1{font-size:49px;margin-bottom:22px}.instructions{font-size:14px}body.playing #hud{gap:20px}.readout span{font-size:14px}.readout strong{font-size:32px}.health{font-size:19px}.health small{font-size:13px}#controls button{font-size:13px;padding:0 10px}#controls #launch{font-size:15px}body.playing #effectLabel{font-size:13px}#aimHint{font-size:16px}#toast{font-size:15px}.dialogInner h2{font-size:43px}.dialogInner p{font-size:17px}.dialogInner .primary{font-size:18px}}
@media(max-height:500px) and (min-width:701px){#menu{width:285px;top:48px}#menu h1{font-size:35px;margin-bottom:16px}.selection h2{font-size:22px}.selection span{font-size:12px}.selection p{font-size:12px}.readout span{font-size:14px}.readout strong{font-size:28px}.health{font-size:18px}.health small{font-size:13px}#aimHint{font-size:15px}.dialogInner h2{font-size:35px;margin:8px 0}.dialogInner p{font-size:15px}.dialogInner .primary{margin:12px 0 8px;min-height:44px}.dialogInner #retry{min-height:44px;margin-bottom:8px}}
.veil{grid-template-columns:minmax(0,1fr)}.dialogInner{min-width:0;width:min(410px,100%)}
@media(max-height:500px){.dialogInner h2{margin:6px 0}.dialogInner p{font-size:14px;line-height:1.4;margin:10px 0}.dialogInner .eyebrow{font-size:15px}}
