:root{--charcoal:#1d2023;--charcoal-2:#2a2e32;--cream:#ece4cf;--cream-dim:#b9b19c;--mustard:#d9a520;--teal:#4f8a87;--red:#c2463a;--font:"Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif}*{box-sizing:border-box}html,body{height:100%;color:var(--cream);font-family:var(--font);background:#0b0c0d;margin:0;overflow:hidden}#app{-webkit-user-select:none;user-select:none;position:fixed;inset:0}#view{outline:none;width:100%;height:100%;display:block;position:absolute;inset:0}.hidden{display:none!important}.screen{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:20;background:#08090ab8;justify-content:center;align-items:center;padding:24px;display:flex;position:absolute;inset:0;overflow:auto}#title.screen{background:radial-gradient(at 50% 40%,#282c2e8c,#060708f0)}.panel{background:var(--charcoal);border:1px solid #3a3f44;width:min(720px,100%);padding:28px 34px 22px;position:relative;box-shadow:0 20px 60px #0009}.panel .stripe{background:var(--mustard);height:6px;position:absolute;top:0;left:0;right:0}.panel .stripe.red{background:var(--red)}.panel .stripe.teal{background:var(--teal)}h1{letter-spacing:.06em;margin:6px 0 2px;font-size:54px;font-weight:800}h2{letter-spacing:.04em;margin:6px 0 8px;font-size:28px}h3{letter-spacing:.14em;text-transform:uppercase;color:var(--cream-dim);margin:14px 0 6px;font-size:13px}.subtitle{color:var(--mustard);letter-spacing:.08em;text-transform:uppercase;margin:0 0 14px;font-size:13px}.intro{min-height:1.3em;color:var(--cream);font-size:16px}.fine{color:var(--cream-dim);font-size:12.5px;line-height:1.45}.stats{white-space:pre-line;font-size:15px;line-height:1.6}code{background:#111;padding:0 4px}.actions{flex-wrap:wrap;gap:10px;margin:16px 0 10px;display:flex}button{font:inherit;background:var(--charcoal-2);color:var(--cream);cursor:pointer;letter-spacing:.03em;border:1px solid #555b61;padding:10px 18px;font-size:15px}button:hover:not(:disabled){border-color:var(--cream-dim);background:#353a3f}button.primary{background:var(--mustard);color:#17181a;border-color:var(--mustard);font-weight:700}button.primary:hover:not(:disabled){background:#e8b733}button:disabled{opacity:.45;cursor:default}#load{margin:12px 0 4px}#load .track,#usebar .track{background:#111315;border:1px solid #3a3f44;height:6px}#load .fill,#usebar .fill{background:var(--teal);width:0;height:100%;transition:width .15s linear}#load .label{color:var(--cream-dim);margin-top:6px;font-size:12.5px}.controls-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 22px;margin-top:10px;font-size:13px;display:grid}.controls-grid div{border-bottom:1px dotted #3a3f44;justify-content:space-between;gap:10px;padding:2px 0;display:flex}.controls-grid kbd{font-family:var(--font);color:var(--mustard);font-size:12px}.settings{grid-template-columns:1fr 1fr;gap:8px 22px;margin:6px 0 4px;font-size:13px;display:grid}.settings label{justify-content:space-between;align-items:center;gap:8px;display:flex}.settings input[type=range]{accent-color:var(--mustard);flex:1}.settings output{text-align:right;width:34px;color:var(--cream-dim)}.settings select{background:var(--charcoal-2);color:var(--cream);font:inherit;border:1px solid #555b61;padding:2px 4px}.settings .check{justify-content:flex-start}#error-list{color:var(--cream-dim);font-size:13px}.noscript{justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.inv-panel{width:min(760px,100%)}.slots{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.slots.pack{grid-template-columns:repeat(6,1fr)}.slot{cursor:pointer;height:78px;color:var(--cream-dim);background:#15171a;border:1px solid #3a3f44;flex-direction:column;justify-content:center;align-items:center;padding:4px;font-size:12px;display:flex;position:relative}.slot:hover{border-color:var(--cream-dim)}.slot.selected{border-color:var(--mustard);box-shadow:inset 0 0 0 1px var(--mustard)}.slot.held{background:#1f2a29}.slot .key{color:var(--mustard);font-size:11px;position:absolute;top:3px;left:5px}.slot .count{color:var(--cream);font-size:12px;position:absolute;bottom:3px;right:6px}.slot svg{width:56px;height:34px}.slot .nm{color:var(--cream);text-align:center;margin-top:2px;font-size:11.5px}#inv-detail{border-left:3px solid var(--teal);background:#15171a;min-height:46px;margin-top:12px;padding:8px 10px}#inv-detail .name{font-weight:700}#inv-detail .desc{color:var(--cream-dim);margin-top:2px;font-size:13px}#hud{pointer-events:none;z-index:10;text-shadow:0 1px 2px #000c;font-weight:600;position:absolute;inset:0}#objective{border-left:4px solid var(--mustard);background:#1416189e;padding:8px 14px 8px 12px;position:absolute;top:18px;left:22px}#objective .obj-title{letter-spacing:.16em;text-transform:uppercase;color:var(--mustard);font-size:12px}#obj-count{margin-top:2px;font-size:17px}#area-name{color:var(--cream-dim);margin-top:3px;font-size:12.5px;font-weight:500}#crosshair{--gap:8px;width:0;height:0;transition:opacity .1s;position:absolute;top:50%;left:50%}#crosshair .ch{background:#ece4cfd9;position:absolute;box-shadow:0 0 2px #000}#crosshair .t,#crosshair .b{width:2px;height:8px;left:-1px}#crosshair .l,#crosshair .r{width:8px;height:2px;top:-1px}#crosshair .t{top:calc(-8px - var(--gap))}#crosshair .b{top:var(--gap)}#crosshair .l{left:calc(-8px - var(--gap))}#crosshair .r{left:var(--gap)}#crosshair .dot{background:var(--cream);width:2px;height:2px;position:absolute;top:-1px;left:-1px}#crosshair.aim .ch{opacity:.25}#hitmarker{opacity:0;background:linear-gradient(45deg,#0000 45%,#fff 45% 55%,#0000 55%),linear-gradient(-45deg,#0000 45%,#fff 45% 55%,#0000 55%);width:22px;height:22px;margin:-11px 0 0 -11px;position:absolute;top:50%;left:50%;-webkit-mask:radial-gradient(circle,#0000 5px,#000 6px);mask:radial-gradient(circle,#0000 5px,#000 6px)}#hitmarker.kill{background:linear-gradient(45deg, transparent 43%, var(--red) 43%, var(--red) 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--red) 43%, var(--red) 57%, transparent 57%)}#prompt{border-bottom:2px solid var(--mustard);white-space:nowrap;background:#141618b3;padding:6px 12px;font-size:16px;position:absolute;top:calc(50% + 46px);left:50%;transform:translate(-50%)}#prompt:empty{display:none}#prompt b{color:var(--mustard)}#usebar{width:220px;display:none;position:absolute;top:calc(50% + 92px);left:50%;transform:translate(-50%)}#usebar.show{display:block}#usebar .label{text-align:center;margin-bottom:4px;font-size:12px}#usebar .fill{background:var(--mustard);transition:none}#toasts{flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:20px;right:24px}.toast{border-right:3px solid var(--teal);background:#141618c7;padding:6px 12px;font-size:14px;animation:3.2s forwards toast}.toast.warn{border-color:var(--red)}@keyframes toast{0%{opacity:0;transform:translate(10px)}8%{opacity:1;transform:none}80%{opacity:1}to{opacity:0}}#vitals{width:260px;position:absolute;bottom:22px;left:22px}#vitals .row{align-items:center;gap:8px;margin-top:6px;display:flex}#vitals .tag{letter-spacing:.12em;color:var(--cream-dim);width:20px;font-size:11px}#vitals .bar{background:#0a0b0cb3;border:1px solid #3a3f44;flex:1;height:12px}#vitals .bar .fill{background:var(--cream);width:100%;height:100%;transition:width .15s}#vitals .health.low .fill{background:var(--red)}#vitals .stamina .bar{height:5px}#vitals .stam .fill{background:var(--teal);transition:none}#hp-num{text-align:right;width:34px;font-size:18px}#weapon-panel{text-align:right;position:absolute;bottom:22px;right:26px}#weapon-name{letter-spacing:.1em;text-transform:uppercase;color:var(--cream-dim);max-width:250px;margin-left:auto;font-size:13px}#ammo{font-size:40px;font-weight:700;line-height:1.05}#ammo .sep{color:var(--cream-dim);margin:0 6px;font-size:26px}#reserve{color:var(--cream-dim);font-size:24px}#ammo.empty #mag{color:var(--red)}#weapon-hint{color:var(--mustard);max-width:250px;min-height:1em;margin-left:auto;font-size:13px}#hotbar{--hb-left:296px;--hb-right:296px;left:var(--hb-left);right:var(--hb-right);justify-content:center;gap:6px;display:flex;position:absolute;bottom:20px}#hotbar .slot{cursor:default;background:#1416189e;flex:0 auto;width:84px;min-width:30px;height:62px}#hotbar .slot svg{width:52px;max-width:100%;height:28px}body #hotbar .slot img.ico3d{max-width:100%}#hotbar .slot .nm{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}#hotbar .slot .count{top:3px;bottom:auto}#hotbar .slot.selected{background:#302c1ebf}#hotbar .slot.maskslot{flex-shrink:0;width:64px;margin-right:6px}#hotbar .slot.maskslot .key{color:var(--teal)}#hotbar .slot.maskslot .count{color:var(--teal);font-size:11px;top:3px;bottom:auto;right:5px}#hotbar .slot.maskslot svg,#hotbar .slot.maskslot .ghost svg{width:42px;height:22px}body #hotbar .slot.maskslot img.ico3d{width:54px;height:30px}#hotbar .slot.maskslot .nm{letter-spacing:.08em;color:var(--cream-dim);margin-bottom:4px;font-size:10.5px}#hotbar .slot.maskslot.on .nm{color:var(--teal)}#hotbar .slot.maskslot .fb{background:#0a0b0ccc;border:1px solid #3a3f44;height:4px;position:absolute;bottom:3px;left:5px;right:5px}#hotbar .slot.maskslot .fb i{background:var(--cream);height:100%;display:block}#hotbar .slot.maskslot.low .fb i{background:var(--mustard)}#hotbar .slot.maskslot.low .nm{color:var(--mustard)}#hotbar .slot.maskslot.empty .fb{border-color:var(--red)}#hotbar .slot.maskslot.empty .nm{color:var(--red)}#hotbar .slot.maskslot .fb.tb{bottom:9px}#hotbar .slot.maskslot .fb.tb i,#hotbar .slot.maskslot.low .fb.tb i{background:var(--teal)}@media (max-width:1400px){#hotbar .slot{width:72px}#hotbar .slot svg{width:46px}body #hotbar .slot img.ico3d{width:66px}#hotbar .slot.maskslot{width:56px}#hotbar .slot.maskslot svg,#hotbar .slot.maskslot .ghost svg{width:38px}body #hotbar .slot.maskslot img.ico3d{width:48px}}@media (max-width:1250px){#hotbar .slot.maskslot{width:44px;margin-right:2px;padding:3px 2px}#hotbar .slot.maskslot svg,#hotbar .slot.maskslot .ghost svg{width:32px;height:18px}body #hotbar .slot.maskslot img.ico3d{width:38px;height:26px}#hotbar .slot.maskslot .nm{letter-spacing:.04em;font-size:9.5px}}@media (max-width:1100px){#hotbar{--hb-left:254px;--hb-right:230px}#hotbar .slot{width:62px}#hotbar .slot svg{width:40px}body #hotbar .slot img.ico3d{width:56px}#weapon-hint,#weapon-name{max-width:190px}#vitals{width:220px}#hotbar .slot .nm{font-size:10.5px}#hotbar .slot .count{font-size:11px}}#vignette{opacity:0;background:radial-gradient(#0000 45%,#96140fbf 100%);position:absolute;inset:0}#vignette.low{animation:1.1s infinite pulse}@keyframes pulse{0%,to{opacity:.35}50%{opacity:.6}}#damage-dir{width:0;height:0;position:absolute;top:50%;left:50%}.dmg-arc{border-top:6px solid #d23228d9;border-radius:50%;width:180px;height:180px;animation:.9s forwards fade;position:absolute;top:-90px;left:-90px}@keyframes fade{0%{opacity:1}to{opacity:0}}#flashlight-tag{letter-spacing:.12em;color:var(--cream-dim);font-size:11px;position:absolute;bottom:108px;right:26px}
