@font-face{font-family:Oxanium;src:url('assets/oxanium.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{font-family:Oxanium,sans-serif;color:#fff1d7;background:#120f12;font-synthesis:none;--red:#ef4926;--cream:#fff1d7;--green:#a4cf65;--blue:#68cad2}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;touch-action:none}body{position:fixed;inset:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #ffe5ad;outline-offset:5px}button{touch-action:manipulation}canvas{position:absolute;inset:0;width:100%;height:100%;outline:0}a{text-decoration:none;color:inherit}.hidden{display:none!important}.screen{position:absolute;inset:0}.menu{display:flex;flex-direction:column;justify-content:space-between;padding:clamp(20px,4vh,48px) clamp(24px,5vw,82px);isolation:isolate}.menu-vignette{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,10,12,.93) 0%,rgba(15,10,12,.65) 37%,rgba(15,10,12,.05) 75%),linear-gradient(0deg,#100e12 0%,transparent 28%,transparent 80%,#100e1280)}.menu-header{display:flex;align-items:center;justify-content:space-between}.publisher-lockup{display:flex;align-items:center;gap:9px;white-space:nowrap;letter-spacing:.08em;color:#fff1d7;line-height:1}.publisher-lockup strong{font-size:clamp(18px,1.65vw,25px);font-weight:800;letter-spacing:-.035em}.publisher-lockup span{font-size:17px;color:#6d6259;font-weight:400}.publisher-lockup em{font-style:normal;font-size:clamp(9px,.75vw,11px);font-weight:700;letter-spacing:.16em;color:#b9b0a9}.utilities{display:flex;gap:28px}.text-btn{background:none;border:0;letter-spacing:.09em;font-size:12px;font-weight:700;padding:8px 0;color:#b9b0a9}.text-btn:hover{color:#fff1d7}.menu-content{width:47%;max-width:640px;position:relative;padding:1vh 0 3vh}.eyebrow{font-size:13px;letter-spacing:.2em;font-weight:700;color:#e86b45;display:flex;align-items:center;gap:12px}.eyebrow span{height:3px;width:28px;background:var(--red)}h1{font-size:clamp(75px,10.6vw,155px);font-weight:800;letter-spacing:-.09em;line-height:.82;margin:25px 0 0;text-shadow:4px 5px 0 #7a241c;color:#fff1d7;transform:scaleX(1.04);transform-origin:left}.eternal{display:block;font-size:.277em;letter-spacing:.54em;line-height:1.1;padding-left:.14em;margin-top:.35em;font-weight:700;text-shadow:none}.subtitle{font-size:clamp(17px,2.2vw,31px);color:var(--red);font-weight:800;letter-spacing:.33em;margin:15px 0 31px}.menu-actions{width:min(310px,100%);display:flex;flex-direction:column;gap:10px}.btn{display:flex;align-items:center;justify-content:space-between;border:0;min-height:58px;width:100%;padding:16px 25px;font-size:17px;font-weight:800;letter-spacing:.07em;text-align:left;transition:background .16s,transform .16s;clip-path:polygon(0 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%)}.btn span{font-size:24px;line-height:20px}.primary{background:var(--red);color:#fff4df;box-shadow:inset 4px 0 #ff9b57}.primary:hover{background:#ff6336;transform:translateX(4px)}.primary:disabled{cursor:default;transform:none}.preload-action{position:relative;overflow:hidden;background:#36231f;color:#fff4df;box-shadow:inset 4px 0 #8e3a28}.preload-action:hover{background:#36231f;transform:none}.preload-action .preload-label,.preload-action .preload-percent{position:relative;z-index:1;font-size:14px;line-height:1;letter-spacing:.11em}.preload-action .preload-percent{font-size:15px}.preload-fill{position:absolute;z-index:0;left:0;bottom:0;height:5px;width:0;background:var(--red);transition:width .14s ease}.preload-action.load-error{background:#4a1d1b;box-shadow:inset 4px 0 #bf3d2b;cursor:pointer}.preload-action.load-error:hover{background:#5d2521}.secondary{background:#1d1b1de8;border:1px solid #59504a;color:#d7cec0;min-height:48px;font-size:14px}.secondary:hover{background:#39302b}.continue{padding:4px 0 8px;text-align:left;color:#e1be8c}.menu-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-top:20px}.controls-summary{display:flex;flex-wrap:wrap;gap:13px 20px;max-width:780px;font-size:10px;font-weight:700;letter-spacing:.04em;color:#bcb6ad}.controls-summary span{display:flex;align-items:center;gap:4px}kbd{font:inherit;font-size:10px;min-width:22px;height:23px;display:inline-flex;align-items:center;justify-content:center;padding:3px 6px;border:1px solid #665851;border-bottom-width:3px;border-radius:2px;color:#e8d8c2}.menu-note{color:#887b70;font-size:11px;letter-spacing:.09em;white-space:nowrap}.menu-note b{color:#ed4d23;padding:0 12px}.mobile-summary{display:none}
#hud{position:absolute;inset:0;pointer-events:none}.hud-top{display:flex;justify-content:space-between;align-items:flex-start;padding:24px 30px;background:linear-gradient(#0b0b0ce6,transparent)}.vitals{display:flex;gap:22px}.vital{width:120px;display:grid;grid-template-columns:1fr auto;gap:6px}.vital-label{font-size:10px;align-self:end;letter-spacing:.13em;font-weight:800;color:#cfc1b2}.vital strong{font-size:29px;line-height:1;font-weight:800}.meter{height:5px;background:#fff1d724;overflow:hidden}.meter i{display:block;height:100%;width:100%;background:var(--red)}.vital .meter{grid-column:1/3}.armor strong{color:#76d1da}.armor .meter i{background:#76d1da}.health strong{color:#b2db7b}.health .meter i{background:#a4cf65}.mission{position:absolute;left:50%;transform:translateX(-50%);text-align:center;display:flex;flex-direction:column;gap:6px}.mission>span{font-size:11px;color:#cfb4a0;letter-spacing:.13em}.mission strong{font-size:13px;letter-spacing:.05em}.mission>div{font-size:14px;color:#ef7542;font-weight:800}.pause-btn{pointer-events:auto;background:#0c0c0de0;border:1px solid #726150;color:#fff1d7;width:39px;height:39px;font-size:21px}.hud-bottom{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;align-items:flex-end;padding:18px 30px 25px;background:linear-gradient(transparent,#0b0b0ce6)}.weapon>span,.power>span,.score>span{font-size:11px;letter-spacing:.09em;font-weight:800}.weapon>div{margin:5px 0;line-height:1}.weapon strong{font-size:40px;font-weight:800}.weapon>div>span{font-size:11px;color:#e4a76c}.weapon small,.power small,.score small{font-size:10px;color:#9c938b}.power{width:118px;text-align:center;position:absolute;left:50%;transform:translateX(-50%)}.power .meter{height:4px;margin:8px 0;background:#fff2}.power .meter i{background:#ecaf54}.power>span{color:#ecc481}.score{text-align:right;display:flex;flex-direction:column;gap:5px}.score>span{color:#eec477}.score strong{font-size:27px}#notice{position:absolute;top:115px;left:50%;transform:translateX(-50%);text-align:center;font-size:16px;font-weight:800;color:#ffd58c;letter-spacing:.08em;text-shadow:2px 2px #1a1110;transition:opacity .2s;white-space:nowrap}#level-intro{position:absolute;left:0;right:0;top:27%;text-align:center;pointer-events:none;transition:opacity .5s;display:flex;flex-direction:column;gap:10px;text-shadow:3px 4px 0 #1a0e0b}#level-intro small{color:#ed7146;font-size:13px;letter-spacing:.3em;font-weight:800}#level-intro strong{font-size:clamp(28px,4vw,52px);font-weight:800;letter-spacing:.02em}#boss-hud{position:absolute;top:90px;left:25%;width:50%;text-align:center;font-size:11px;letter-spacing:.15em;color:#ff8660}#boss-hud .meter{margin-top:8px}.overlay{background:#07090cd9;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:4}.dialog{width:min(450px,90vw);display:flex;flex-direction:column;text-align:center;gap:14px}.dialog>.eyebrow{justify-content:center}h2{font-size:clamp(36px,6vw,62px);line-height:1;letter-spacing:-.04em;margin:5px 0;color:#fff0d6}.dialog p{color:#b8ac9b;font-size:14px;line-height:1.5;margin:0 0 5px}.dialog-links{display:flex;justify-content:center;gap:24px}#pause-help{font-size:11px;color:#8f8173;line-height:1.8}#result-stats{display:flex;justify-content:space-around;gap:10px;padding:8px 0 15px}#result-stats strong{font-size:26px;display:block;color:#efb767}#result-stats span{font-size:11px;color:#b6a794}#touch-controls{display:none;position:absolute;inset:auto 0 18px;align-items:flex-end;justify-content:space-between;padding:0 18px;gap:8px;pointer-events:none}#touch-controls button{pointer-events:auto;touch-action:none;user-select:none;background:#151517b8;border:2px solid #a69375a6;width:56px;height:56px;border-radius:50%;color:#ffedcd;font-weight:800;font-size:12px;backdrop-filter:blur(4px)}#touch-controls button.pressed{background:#ba401ecc;border-color:#f88d47}#touch-controls .touch-fire{width:75px;height:75px;background:#cf3c21bd;border-color:#ee8761}#touch-controls .touch-mini{width:43px;height:43px;font-size:9px}.touch-move,.touch-actions{display:flex;gap:10px;align-items:flex-end}
@media(pointer:coarse){#touch-controls{display:flex}.hud-bottom{bottom:96px;padding:10px 20px;background:none}.weapon small,.power small{display:none}.controls-summary{display:none}.mobile-summary{display:block;font-size:10px;letter-spacing:.06em;color:#bcb6ad}.menu-note{display:none}.utilities{gap:16px}.hud-top{padding:18px 20px}.power{width:90px}.weapon>div{margin:3px 0}.weapon strong{font-size:29px}.score strong{font-size:23px}}
@media(max-width:700px){.menu{padding:25px}.menu-content{width:85%;margin-top:9vh}h1{font-size:clamp(80px,23vw,145px)}.subtitle{font-size:22px;margin-bottom:22px}.menu-vignette{background:linear-gradient(90deg,#0b0c0dee,#0b0c0d33),linear-gradient(0deg,#0b0c0d,transparent 25%,transparent 75%,#0b0c0d99)}.menu-actions{width:260px}.eyebrow{font-size:11px}.menu-note{display:none}.menu-footer{padding-top:10px}.controls-summary{gap:9px;font-size:9px}.menu-header .utilities{gap:16px}.utilities .text-btn{font-size:10px}.mission{top:82px;width:100%}.vital{width:104px}.vitals{gap:18px}#notice{top:160px;font-size:12px;white-space:normal;width:90%}.hud-bottom{padding:20px}.power{width:85px}.power>span{font-size:9px}.weapon>span,.score>span{font-size:10px}.weapon small{max-width:145px;display:block;line-height:1.6}#boss-hud{top:143px;left:15%;width:70%}.touch-move,.touch-actions{gap:6px}#touch-controls{padding:0 10px;bottom:max(18px,env(safe-area-inset-bottom))}#touch-controls button{width:47px;height:47px;font-size:10px}#touch-controls .touch-fire{width:61px;height:61px}#touch-controls .touch-mini{width:36px;height:36px;font-size:8px}.dialog{gap:12px}.dialog .btn{min-height:50px}.weapon small{font-size:9px}}
@media(max-height:520px) and (min-width:600px){.menu{padding:18px 32px}.menu-content{width:50%;padding:0;margin:5px 0 0}.eyebrow{font-size:10px}h1{font-size:76px;margin-top:14px}.subtitle{font-size:17px;margin:10px 0 16px}.menu-actions{width:260px;gap:6px}.btn{min-height:44px;padding:10px 18px;font-size:14px}.secondary{min-height:37px;font-size:12px}.menu-footer{padding-top:8px}.publisher-lockup strong{font-size:18px}.publisher-lockup em{font-size:8px}.publisher-lockup{gap:7px}.menu-note,.controls-summary span:last-child{display:none}.hud-top{padding:10px 18px}.vital{width:85px}.vital strong{font-size:23px}.vitals{gap:15px}.mission{top:12px;width:auto}.mission strong{font-size:11px}.mission>span{font-size:9px}.hud-bottom{padding:12px 18px}.weapon strong{font-size:28px}.score strong{font-size:23px}#notice{top:72px;font-size:13px}#level-intro{top:25%}.overlay{padding:12px}.dialog{gap:8px;max-width:400px}h2{font-size:37px}.dialog>.btn{min-height:41px}#pause-help{font-size:10px;line-height:1.5}.dialog p{font-size:12px;margin:0}#result-stats{padding:0 0 5px}#boss-hud{top:64px}.menu .continue{padding:1px 0;font-size:10px}}
@media(pointer:coarse) and (max-height:520px){.hud-bottom{bottom:72px;left:100px;right:100px;padding:5px 18px}.hud-bottom .power{bottom:5px}.weapon>span,.score>span{font-size:9px}.weapon strong{font-size:23px}.score strong{font-size:21px}.weapon small{display:none}#touch-controls button{width:46px;height:46px}#touch-controls .touch-fire{width:61px;height:61px}#touch-controls .touch-mini{width:35px;height:35px}.touch-move,.touch-actions{gap:8px}#touch-controls{bottom:12px}.mobile-summary{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(pointer:coarse){.weapon small{display:none}}
@media(pointer:coarse) and (max-width:400px){#touch-controls button{width:40px;height:40px;font-size:9px}#touch-controls .touch-fire{width:54px;height:54px}#touch-controls .touch-mini{width:31px;height:31px;font-size:7px}.touch-move,.touch-actions{gap:5px}}
