:root{--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px)}html,body{overscroll-behavior:none;touch-action:none}#shell{position:relative}#stage{isolation:isolate}button{touch-action:manipulation}.menuUtility{position:absolute;right:4%;bottom:10%;display:flex;flex-direction:column;gap:8px;align-items:flex-end}.menuUtility>span{font:10px Station,sans-serif;letter-spacing:2px;color:#e4d8b7;text-shadow:0 2px 3px #000}.menuUtility button{background:#0b131dcc;border:1px solid #826e4f;color:#d8cfb4;font:10px Station,sans-serif;padding:9px 15px;text-align:center}.menuUtility button:hover,.menuUtility button:focus-visible{background:#3b3626;color:#fff2cc;outline:0}.coverTag{top:6%;bottom:auto}.rewardOffer{display:flex;flex-direction:column;gap:4px;align-items:center;max-width:95%}.rewardOffer small{font:9px/1.4 Terminal,monospace;color:#b9d9be}.rewardOffer button{color:#c5e7b9}.rewardOffer button:disabled{opacity:.5}#saveStatus{font:7px Terminal,monospace;color:#e3b678;margin-left:auto;white-space:nowrap}#screenStatus{margin-left:0}.transitioning #shell button{pointer-events:none}#adBlock{position:absolute;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;background:#080f17e8;color:#e4d8b7;font:14px Station,sans-serif;letter-spacing:2px}#adBlock span{font:10px Terminal,monospace;color:#91a1ac}#ending{padding:0;background:#050b10;display:block;overflow:hidden}#endingArt{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.endingShade{position:absolute;inset:0;background:linear-gradient(transparent 30%,#050b1070 53%,#050b10f5 100%)}.endingCopy{position:absolute;left:6%;right:6%;bottom:15%;max-width:850px}.endingCopy small{font:9px Station,sans-serif;letter-spacing:3px;color:#dcbd83}.endingCopy h2{font:700 clamp(16px,2.5vw,30px)/1.15 Station,sans-serif;letter-spacing:.5px;color:#f1eadb;margin:9px 0 12px}.endingCopy p{font:clamp(10px,1.4vw,16px)/1.6 Terminal,monospace;color:#d2d9d6;max-width:790px;margin:0;white-space:pre-line;text-shadow:0 2px 2px #000}.endingNav{position:absolute;left:6%;right:6%;bottom:4%;display:flex;gap:12px;justify-content:flex-end}.endingNav button{background:#111d22dd;border:1px solid #8f835f;color:#e8ddb8;font:9px Station,sans-serif;padding:10px 15px;min-width:80px;text-align:center}.endingNav button:hover,.endingNav button:focus-visible{background:#454334;outline:0}.endingNav button:first-child{margin-right:auto}.endingTrack{position:absolute;bottom:0;left:0;right:0;height:2px;background:#263638}.endingTrack i{display:block;height:100%;background:#d5b77c;width:0}#leaderboard{gap:8px}.boardTable{width:min(650px,95%);max-height:45%;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;border-block:1px solid #596457}table{border-collapse:collapse;width:100%;font:12px Terminal,monospace;text-align:left}th{color:#d2bb86;font-size:9px;background:#132226;position:sticky;top:0}td,th{padding:10px 12px;border-bottom:1px solid #354449}td:last-child,th:last-child{text-align:right}td:nth-child(2){max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scoreRules{font:9px/1.5 Terminal,monospace;color:#98aab0;max-width:600px}.panel{touch-action:pan-y}#settings{gap:7px}#settings .controls{font-size:10px}.touchActions{gap:5px}.touchActions button{min-height:34px}#stick{width:var(--touch-size,100px);height:var(--touch-size,100px);left:3%;bottom:8%}#stick i{left:32%;top:32%;width:36%;height:36%}#lookZone{top:15%;height:60%}
@media(max-width:760px),(max-height:520px){.menuUtility{gap:5px;bottom:9%}.menuUtility>span{font-size:7px;letter-spacing:1px}.menuUtility button{font-size:7px;padding:6px 9px}.rewardOffer{gap:2px}.rewardOffer small{font-size:6px}.panel{gap:4px;justify-content:flex-start;padding-top:9px}.panel>button,.rewardOffer button{flex-shrink:0;min-height:28px}.panel h2{font-size:18px}.panel .eyebrow{font-size:7px}.panel p{margin-bottom:4px;font-size:9px}#saveStatus{font-size:5px}.endingCopy{bottom:19%}.endingCopy small{font-size:6px;letter-spacing:1px}.endingCopy h2{font-size:15px;margin:4px 0 6px}.endingCopy p{font-size:9px;line-height:1.45}.endingNav{gap:6px}.endingNav button{min-width:55px;font-size:6px;padding:6px 8px}.scoreRules{font-size:6px}td,th{padding:5px 8px}table{font-size:9px}th{font-size:7px}#leaderboard h2{font-size:16px}.boardTable{max-height:40%}#settings .controls{font-size:7px!important}.touchActions{right:3%;bottom:8%;max-width:48%;flex-wrap:wrap;justify-content:flex-end}.touchActions button{font-size:8px;padding:8px}#touchFire{min-width:50px}}
@media(max-width:460px){.menuUtility{bottom:9%;gap:4px}.menuUtility button{font-size:6px;padding:5px 7px}.coverTag{font-size:5px}.endingCopy{left:5%;right:5%;bottom:19%}.endingCopy h2{font-size:11px}.endingCopy p{font-size:7px;line-height:1.35}.endingCopy small{font-size:5px}.endingNav{left:5%;right:5%}.endingNav button{font-size:5px;min-width:44px;padding:4px 6px}.endingTrack{height:1px}.panel h2{font-size:14px}.panel p{font-size:8px}.panel label{font-size:8px}#settings input[type=range]{width:105px}#settings{gap:4px}.panel>button,.rewardOffer button{min-height:24px}.touchActions button{min-height:30px;font-size:7px;padding:6px}#gameTop{font-size:5px}#objective{max-width:38%}#bossHUD{left:15%;right:15%;font-size:6px;padding:4px 6px}#bossHUD small{font-size:5px}#bossPhase{font-size:5px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
body{padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left)}
@media(max-width:760px),(max-height:520px){.panel button{font-size:9px;letter-spacing:.5px}.rewardOffer button{white-space:nowrap}.panel label{gap:10px}#settings{gap:3px}#settings input[type=range]{height:14px}}
@media(max-width:460px){.panel{padding:6px 8px;gap:3px}.panel button{font-size:7px;letter-spacing:.25px;width:210px;min-width:0;min-height:24px;padding:4px 8px}.panel h2{font-size:13px;margin:3px 0}.panel p{font-size:7px;line-height:1.4;margin:2px 0 3px}.panel .eyebrow{font-size:5px}.rewardOffer small{font-size:5px}.rewardOffer{gap:2px}#settings{gap:2px}#settings label{font-size:7px;min-height:13px}#settings input[type=range]{height:10px}#settings input[type=checkbox]{width:10px;height:10px;margin:0}#settings .controls{font-size:6px!important;line-height:1.3!important}}

.panel{inset:0 auto auto 0;width:calc(100% * var(--panel-inverse,1));height:calc(100% * var(--panel-inverse,1));transform:scale(var(--panel-scale,1));transform-origin:0 0}

