:root{color-scheme:dark;--paper:#ede8dc;--muted:#a5b0a8;--green:#9ac2af;--red:#c36455;--gold:#d1bd97;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#111615}body{overscroll-behavior:none}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:3px}button,a{border-radius:2px}button{border:1px solid #677b6d;background:#1c2722}button:hover{border-color:#aec4b6}button[hidden],[hidden]{display:none!important}#game{position:relative;width:100%;height:100%;height:100dvh;overflow:hidden;isolation:isolate;user-select:none;color:var(--paper)}#view{width:100%;height:100%;display:block;outline:0;touch-action:none}#vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 150px 30px #0007;z-index:1}
#topbar{position:absolute;inset:20px 22px auto;display:flex;justify-content:space-between;align-items:center;gap:12px;z-index:4}.sector{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:1.2px;text-shadow:0 1px 6px #000}.sector b{font-size:12px;letter-spacing:.7px}.sector>span:not(.status-light){color:#b8c5bb}.status-light{width:3px;height:18px;background:#b05747}.top-actions{display:flex;gap:6px}.top-actions button{height:34px;min-width:34px;background:#121a19dc;border:1px solid #63736788;color:#d2dcd3;font-size:18px}.top-actions #sound{font-size:10px;letter-spacing:.6px;padding:0 10px}.top-actions #buyButton{font-size:11px;padding:0 11px;letter-spacing:.8px}.top-actions #buyButton b{color:#cbb992;margin-left:6px}.top-actions kbd{font-family:inherit;font-size:10px;color:#8aa291;margin-right:4px}.buy-action{position:relative}#cashGain{position:absolute;top:40px;right:0;white-space:nowrap;font-size:12px;color:#e1c58c;opacity:0;pointer-events:none;transition:opacity .2s}
#mission{position:absolute;top:68px;left:22px;display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.7px;text-shadow:0 2px 5px #000;z-index:3}.mission-mark{font-size:20px;color:#bd8070}#mission b{color:var(--gold);font-size:12px}#safeStatus{position:absolute;top:104px;left:22px;color:var(--green);background:#11231dcb;border-left:2px solid var(--green);padding:8px 10px;font-size:10px;letter-spacing:1px;z-index:4}#message{position:absolute;top:23%;left:10%;right:10%;text-align:center;z-index:4;opacity:0;color:#ead2ab;letter-spacing:1px;font-size:14px;line-height:1.5;text-shadow:0 2px 3px #000,0 0 10px #000;pointer-events:none;transition:opacity .15s}#crosshair{position:absolute;left:50%;top:50%;width:17px;height:17px;transform:translate(-50%,-50%);z-index:2;pointer-events:none;filter:drop-shadow(1px 1px #000)}#crosshair i{position:absolute;background:#f3f1dacc}#crosshair i:nth-child(1){width:1px;height:4px;top:0;left:8px}#crosshair i:nth-child(2){width:1px;height:4px;bottom:0;left:8px}#crosshair i:nth-child(3){height:1px;width:4px;left:0;top:8px}#crosshair i:nth-child(4){height:1px;width:4px;right:0;top:8px}#hitmarker{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:26px;color:#ffd394;opacity:0;z-index:3;pointer-events:none}
#hud{position:absolute;left:max(22px,env(safe-area-inset-left));right:max(22px,env(safe-area-inset-right));bottom:max(34px,env(safe-area-inset-bottom));display:flex;justify-content:space-between;align-items:flex-end;gap:14px;z-index:3;pointer-events:none}.hud-group{display:flex;gap:8px;align-items:flex-end}.hud-cell{display:flex;flex-direction:column;gap:5px;padding:10px 12px;min-width:90px;border:1px solid #82948755;background:#111a18dc;text-shadow:0 1px 2px #000}.hud-label{font-size:9px;letter-spacing:1.4px;color:#abbdb0}.hud-value{display:flex;align-items:baseline;gap:7px}.hud-value b{font-weight:400;font-size:28px;line-height:1}.hud-value small{font-size:12px;color:#bac6b9}.hud-cell>i{display:block;height:3px;background:#344039;margin-top:2px}.hud-cell i em{display:block;height:100%;background:#9ab6a3;transition:width .12s}.hud-cell.armor i em{background:#88a7b2}.hud-cell.ammo{min-width:182px}.ammo-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;font-size:11px;letter-spacing:.6px}.ammo-heading small{font-size:9px;color:#a5b3a4}.ammo .hud-value b{font-size:37px}.hud-cell.health{min-width:172px}.vitals-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.vitals-heading b{font-size:9px;letter-spacing:1px;color:#a3cbb6}.health .hud-value{display:none}#ecg{width:148px;height:28px;display:block;color:#8ebca7;margin:2px 0}#ecg path{stroke:currentColor;stroke-width:1.4;fill:none;stroke-dasharray:170 170;animation:heartbeat 2.6s linear infinite;filter:drop-shadow(0 0 2px currentColor)}@keyframes heartbeat{from{stroke-dashoffset:340}to{stroke-dashoffset:0}}#hostilesHud{position:absolute;right:22px;top:78px;min-width:84px;z-index:3;text-align:right;padding:8px 10px}.kills .hud-value{justify-content:flex-end}.kills .hud-value b{font-size:24px}#timer{font-size:10px;color:#b2c0b5}#bottomHint{position:absolute;bottom:9px;left:0;right:0;text-align:center;font-size:9px;color:#c1cbbb;z-index:3;text-shadow:0 1px 5px #000}#bottomHint span{color:#909f92}#bossHud{position:absolute;top:105px;left:50%;transform:translateX(-50%);width:min(360px,45vw);background:#21110fe0;border:1px solid #a8605560;padding:8px 12px;z-index:3;text-align:center;font-size:11px;letter-spacing:2px}#bossHud i{height:5px;background:#412421;display:block;margin-top:7px}#bossHud em{height:100%;display:block;background:#b15447}
#doorAction{position:absolute;left:50%;top:58%;transform:translateX(-50%);z-index:4;background:#17201deb;color:#d0dcd3;border:1px solid #9cbaaa77;padding:10px 16px;font-size:12px;letter-spacing:1px;white-space:nowrap}#extractionHud{position:absolute;left:50%;top:100px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:10px 14px;background:#13271eda;border:1px solid #92bc9f80;z-index:4;font-size:11px;letter-spacing:1px}#extractionArrow{width:28px;height:28px;fill:#aac9ab}#extractionHud small{display:block;color:#b6c8b8;font-size:9px;margin-top:4px}
.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:flex-start;padding:clamp(20px,4vw,64px);z-index:5;background:linear-gradient(90deg,#0c1111f2 0%,#101515dc 42%,#13171433 100%)}.menu-panel{width:min(620px,85vw);display:flex;flex-direction:column;align-items:flex-start;max-height:100%;text-align:left}.eyebrow{display:flex;align-items:center;gap:16px;margin-bottom:26px}.publisher-logo{width:112px;height:auto;opacity:1;filter:brightness(0) invert(1)}.eyebrow span{color:#b5b7aa;letter-spacing:2.5px;font-size:10px}h1{font-family:Georgia,'Times New Roman',serif;font-weight:normal;font-size:clamp(44px,6.5vw,84px);line-height:1;letter-spacing:-2px;margin:0 0 22px;color:#e9e3d5;text-shadow:0 3px 20px #0007}h1 .series-title{display:block;font-size:clamp(26px,4.6vw,60px);line-height:1.05;letter-spacing:-.02em;white-space:nowrap}h1 strong,h1 .game-subtitle{display:block;font-family:Arial,Helvetica,sans-serif;color:#bb5b4d;font-weight:700;font-size:.40em;letter-spacing:.35em;margin:12px 0 0;line-height:1.2}.menu-subtitle{font-size:10px;letter-spacing:1.8px;color:#adb9ae;margin:0 0 12px;border-left:2px solid #a65343;padding-left:10px}#menuText{font-size:16px;line-height:1.6;color:#bfc3bb;margin:0 0 26px}.menu-actions{display:flex;gap:12px;align-items:stretch;width:100%;max-width:570px}.start-action{flex:1;min-width:0;position:relative}.primary{display:inline-flex;align-items:center;justify-content:space-between;text-decoration:none;padding:0 20px;font-size:13px;font-weight:600;letter-spacing:1px;min-height:52px;border:1px solid #a3b9a5;background:#91ab98;color:#111b17;line-height:1.25}.primary:hover{background:#aec3b5;border-color:#c9dad0}.primary:disabled{background:#3a4b40;color:#bcc7bb;border-color:#617366}.start-action .primary{width:100%;height:100%;gap:8px}#moreGamesButton{background:#1b2322a6;border-color:#626e65;color:#c6d0c8;justify-content:center;min-width:175px}#moreGamesButton:hover{background:#293330}#loadTrack{position:absolute;bottom:-2px;left:0;right:0;height:3px;background:#283b30}#loadProgress{height:100%;display:block;width:0;background:#b9d5b7;transition:width .15s}#controls{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:22px;width:100%;margin-top:26px;border-top:1px solid #69706750;padding-top:20px}#controls>div{display:flex;gap:8px;align-items:center}#controls kbd{font-family:Arial,Helvetica,sans-serif;font-size:11px;color:#d7dccf}#controls span{font-size:9px;color:#89968f;letter-spacing:.8px}.extra-controls{font-size:9px;letter-spacing:.4px;text-align:left;color:#8d9991;margin-top:14px;line-height:1.7}.menu-utility{display:flex;align-items:center;gap:9px;margin-top:15px;color:#5a6a5d;font-size:11px}.menu-utility button{border:0;background:none;color:#b1c1b6;font-size:11px;padding:4px 0}.menu-utility button:hover{color:#e7efe4}.paused h1,.endgame h1{font-size:clamp(34px,5.5vw,68px);letter-spacing:0;line-height:1.05}.paused h1 strong,.endgame h1 strong{font-size:.55em;color:#9ab6a3;letter-spacing:.20em;margin-top:5px}.menu-active #topbar,.menu-active #mission,.menu-active #hud,.menu-active #crosshair,.menu-active #hitmarker,.menu-active #hostilesHud,.menu-active #bottomHint,.menu-active #bossHud,.menu-active #extractionHud,.menu-active #doorAction,.menu-active #safeStatus{visibility:hidden}.map-open #hud,.map-open #crosshair,.map-open #hostilesHud,.map-open #doorAction,.map-open #mission,.map-open #safeStatus{visibility:hidden}
#buyOverlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:22px;z-index:8;background:#0d1414ef}.buy-panel{width:min(960px,100%);height:min(660px,100%);min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:12px;padding:22px;background:#141e1b;border:1px solid #5e746655;box-shadow:0 18px 100px #0008}.buy-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.buy-header h2{font-family:Georgia,serif;font-size:28px;color:#d5dece;font-weight:normal;line-height:1.2;margin:4px 0 0}.buy-eyebrow,.buy-balance span{font-size:9px;letter-spacing:1.8px;color:#9bb4a0}.buy-balance{text-align:right;display:flex;flex-direction:column;gap:4px}.buy-balance b{font-size:28px;color:#cbb992;font-weight:normal}#buyHelp{font-size:12px;color:#aab8ac;margin:0;line-height:1.4}.buy-grid{display:grid;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px}.buy-card{display:grid;min-width:0;min-height:0;grid-template-rows:auto minmax(0,1fr) auto;padding:12px;background:#1b2722;border:1px solid #687b6750}.buy-card[data-equipped=true]{border-color:#acc6ad;background:#23382b}.buy-card h3{font-size:13px;line-height:1.15;letter-spacing:.6px;font-weight:600;margin:0;color:#d8e0d1}.buy-card-heading p{font-size:11px;line-height:1.2;margin:5px 0 0;color:#aab7aa}.buy-card canvas{width:100%;height:100%;min-height:0;object-fit:contain}.buy-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.buy-price{font-size:12px;color:#cbb992}.buy-weapon{padding:8px 12px;background:#96b19f;color:#142019;border:1px solid #aec4b6;font-size:11px;letter-spacing:.8px}.buy-weapon:disabled{background:#35463b;color:#9cad9c;border-color:#546858}.buy-footer{display:flex;align-items:center;justify-content:space-between;gap:15px}.buy-footer p{font-size:11px;line-height:1.4;color:#bcc7b9;margin:0}.buy-footer .primary{min-height:42px;font-size:12px;white-space:nowrap;flex-shrink:0;justify-content:center}
#touchControls{display:none;position:absolute;inset:0;z-index:2;pointer-events:none}#touchControls button{position:absolute;pointer-events:auto;touch-action:none;height:42px;min-width:48px;background:#16221dde;border:1px solid #9cb49f80;color:#d7e0d2;font-size:11px}#joystick{position:absolute;left:26px;bottom:110px;width:108px;height:108px;border-radius:50%;border:1px solid #91a69266;background:#14201966;pointer-events:auto;touch-action:none}#stick{position:absolute;left:33px;top:33px;width:42px;height:42px;border-radius:50%;background:#91a68c60;border:1px solid #bac8b777;pointer-events:none}#lookZone{position:absolute;left:38%;right:0;top:68px;bottom:100px;pointer-events:auto;touch-action:none}#touchFire{right:22px;bottom:118px;width:74px;height:74px!important;border-radius:50%;border:1px solid #b8987b!important;background:#5e493aaa!important}#touchSwitch{right:109px;bottom:172px}#touchReload{right:109px;bottom:118px}#touchKnife{right:22px;bottom:205px;width:74px}#touchMap{left:26px;bottom:232px;width:72px}.menu-active #touchControls{display:none!important}
@media(pointer:coarse){#touchControls{display:block}#bottomHint{display:none}#hud{bottom:max(14px,env(safe-area-inset-bottom))}.extra-controls{font-size:0}.extra-controls:after{content:'LEFT STICK — MOVE · SWIPE — AIM · TAP FIRE · E / TAP — INTERACT';font-size:9px}}
@media(max-width:760px){.overlay{padding:24px}.menu-panel{width:min(570px,100%)}h1{font-size:clamp(39px,9vw,64px);letter-spacing:-1px;margin-bottom:18px}h1 .series-title{font-size:clamp(24px,6.8vw,48px)}.eyebrow{margin-bottom:22px}#menuText{font-size:14px;margin-bottom:20px}.menu-subtitle{font-size:9px}#controls{gap:18px;margin-top:20px;padding-top:16px}.primary{font-size:12px;min-height:48px}#moreGamesButton{min-width:150px}#topbar{inset:12px 12px auto}.sector{gap:6px}.sector b{font-size:10px}.sector>span:not(.status-light){display:none}.top-actions{gap:4px}.top-actions #sound{font-size:0;padding:0;min-width:34px}.top-actions #sound:after{content:'SND';font-size:9px}.top-actions #sound[aria-pressed=false]:after{content:'OFF'}#mission{left:12px;top:60px;font-size:9px}#mission b{font-size:10px}#safeStatus{left:12px;top:91px;font-size:9px}#hostilesHud{right:12px;top:91px;min-width:60px;padding:6px 8px}#hostilesHud b{font-size:20px}#message{font-size:12px;top:28%}#hud{left:12px;right:12px;gap:10px}.hud-cell{padding:8px 9px;min-width:66px}.hud-cell.health{min-width:130px}.hud-cell.ammo{min-width:146px}.ammo-heading{font-size:9px;gap:6px}.ammo-heading small{display:none}#ecg{width:110px;height:25px}.hud-label,.vitals-heading b{font-size:8px;letter-spacing:1px}.hud-value b{font-size:24px}.ammo .hud-value b{font-size:30px}.hud-group{gap:6px}#bossHud{top:64px;font-size:9px;width:40vw}#extractionHud{top:94px;font-size:10px;max-width:60vw;padding:6px 10px}#buyOverlay{padding:14px}.buy-panel{padding:14px;gap:10px}.buy-header h2{font-size:23px}.buy-balance b{font-size:25px}.buy-card{padding:9px}.buy-card h3{font-size:11px}.buy-card-heading p{display:none}.buy-price{font-size:11px}.buy-weapon{font-size:10px;padding:7px 9px}.buy-footer p{font-size:10px}.buy-footer .primary{font-size:11px;min-height:38px}}
@media(max-width:520px){.menu-actions{flex-direction:column;gap:9px}.start-action,#moreGamesButton{width:100%}.primary{width:100%;min-height:48px}#moreGamesButton{justify-content:center}.menu-panel{width:100%}.top-actions{margin-left:auto}.sector{display:none}#hud{gap:6px}.hud-cell.health{min-width:122px}.hud-cell.ammo{min-width:124px}.hud-cell.armor{min-width:56px;padding:8px}.hud-value small{font-size:10px}#ecg{width:102px}.ammo-heading{font-size:8px;letter-spacing:.3px}.buy-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}.buy-panel{height:min(760px,100%)}.buy-header h2{font-size:21px}.buy-footer{flex-direction:column;align-items:stretch;gap:7px}.buy-footer .primary{min-height:38px}.buy-card-bottom{gap:4px}.buy-card h3{font-size:11px}.buy-price{font-size:10px}#buyHelp{font-size:11px}#doorAction{font-size:10px;padding:10px 12px;top:57%}}
@media(max-height:560px){.overlay{padding:14px 28px}.menu-panel{width:min(540px,86vw)}.eyebrow{margin-bottom:10px}.publisher-logo{width:86px}.eyebrow span{font-size:9px}h1{font-size:40px;letter-spacing:-1px;margin-bottom:10px}h1 .series-title{font-size:clamp(24px,4.6vw,38px)}h1 .game-subtitle{margin-top:6px;font-size:16px}.menu-subtitle{font-size:9px;margin-bottom:7px}#menuText{font-size:12px;line-height:1.4;margin-bottom:12px}.primary{min-height:40px;font-size:11px}#controls{margin-top:12px;padding-top:10px;gap:18px}#controls kbd{font-size:10px}#controls span{font-size:8px}.extra-controls{margin-top:7px;font-size:8px}.menu-utility{margin-top:8px}.paused h1,.endgame h1{font-size:32px}.paused #controls,.endgame #controls{display:none}#topbar{inset:8px 12px auto}#mission{top:47px;left:12px;font-size:9px}#safeStatus{top:72px;left:12px;font-size:8px;padding:5px}#hostilesHud{top:51px;right:12px;padding:6px 8px}#hostilesHud b{font-size:20px}#hud{bottom:12px}.hud-cell{padding:6px 9px;gap:3px}.hud-cell.health{min-width:125px}#ecg{width:105px;height:22px}.hud-label,.vitals-heading b{font-size:8px}#bottomHint{display:none}#bossHud{top:50px;padding:5px 8px;font-size:9px}#extractionHud{top:77px;padding:6px 8px;font-size:9px}#doorAction{top:55%;font-size:10px;padding:8px 12px}#joystick{bottom:89px;width:84px;height:84px}#stick{left:25px;top:25px;width:34px;height:34px}#touchFire{bottom:90px;width:64px;height:64px!important}#touchSwitch{bottom:142px;right:99px}#touchReload{bottom:90px;right:99px}#touchKnife{bottom:168px;width:64px}#touchMap{bottom:185px;height:32px!important}#touchControls button{height:36px}#buyOverlay{padding:8px 14px}.buy-panel{padding:10px;gap:7px}.buy-header h2{font-size:21px;margin:0}.buy-balance b{font-size:22px}.buy-card{padding:7px}.buy-card-heading p{display:none}.buy-card h3{font-size:11px}#buyHelp{font-size:10px}.buy-footer .primary{min-height:34px;font-size:10px}.buy-footer p{font-size:9px}.buy-weapon{padding:6px 10px;font-size:10px}.buy-grid{gap:7px}}
@media(max-width:520px) and (max-height:560px){.menu-actions{flex-direction:row;gap:8px}.start-action{flex:1}#moreGamesButton{width:auto;min-width:125px}.menu-panel{width:100%}.overlay{padding:12px 20px}h1{font-size:36px}.eyebrow{margin-bottom:8px}.extra-controls{margin-top:5px}#controls{gap:10px;flex-wrap:nowrap}#controls>div{gap:4px}#controls span{font-size:7px}.buy-panel{padding:8px}.buy-card{grid-template-columns:1fr 38%;grid-template-rows:auto 1fr;gap:4px}.buy-card canvas{grid-column:2;grid-row:1/3}.buy-card-bottom{grid-column:1;grid-row:2;flex-direction:column;align-items:stretch}.buy-card h3{font-size:10px}#buyHelp{display:none}.buy-panel{grid-template-rows:auto minmax(0,1fr) auto}.buy-header h2{font-size:18px}.buy-footer{gap:4px}.buy-footer p{display:none}.buy-balance b{font-size:20px}}
@media(prefers-reduced-motion:reduce){#ecg path{animation:none;stroke-dasharray:none}}

/* Preserve crisp scene pixels and weapon icons at every display density. */
#view,.buy-card canvas{image-rendering:crisp-edges;image-rendering:pixelated}
