@font-face{font-family:Salongen Pixel;src:url('assets/salongen-pixel.ttf') format('truetype');font-display:swap}*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#101512;color:#e5d7b6;font-family:Salongen Pixel,monospace}button,a{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #ffc480;outline-offset:4px}button{border:1px solid #93876b;background:#141d19cc;padding:10px 12px}a{text-decoration:none}#doom-stage{position:relative;width:100%;height:100svh;min-height:320px;overflow:hidden;isolation:isolate}#doom-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;image-rendering:pixelated;outline:none;touch-action:none}#doom-stage:after{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;box-shadow:inset 0 0 180px #0009;background:repeating-linear-gradient(transparent 0,transparent 3px,#00000010 3px,#00000010 4px)}.doom-top{position:absolute;inset:22px 26px auto;display:flex;justify-content:space-between;align-items:start;gap:14px;z-index:4;pointer-events:none;text-shadow:2px 2px #000}.doom-top>*{pointer-events:auto}.doom-brand{font-size:23px;line-height:1.6}.doom-brand span{display:block;font-size:8px;color:#c5ab7c}.doom-top-tools{display:flex;gap:8px;font-size:9px}.doom-mission{position:absolute;left:26px;top:104px;z-index:3;pointer-events:none;text-shadow:2px 2px #000;max-width:65%}.doom-mission>span{display:block;font-size:9px;color:#cead77;line-height:1.8}.doom-mission strong{display:block;font-weight:normal;font-size:15px;line-height:1.8}.doom-mission #doom-stage-status{font-size:8px;color:#a8b7ac;margin-top:8px}.doom-crosshair{position:absolute;left:50%;top:50%;width:18px;height:18px;transform:translate(-50%,-50%);pointer-events:none;z-index:3;color:#e9dfcaaa}.doom-crosshair:before,.doom-crosshair:after{content:'';position:absolute;background:currentColor}.doom-crosshair:before{width:12px;height:2px;left:3px;top:8px}.doom-crosshair:after{width:2px;height:12px;left:8px;top:3px}.doom-crosshair.hit{color:#ffb05e;transform:translate(-50%,-50%) rotate(45deg)}#doom-weapon{position:absolute;left:50%;bottom:88px;transform:translateX(-50%);width:360px;height:360px;object-fit:contain;image-rendering:pixelated;pointer-events:none;z-index:3;filter:drop-shadow(4px 6px 0 #0008)}.doom-flash{position:absolute;inset:0;pointer-events:none;z-index:6;box-shadow:inset 0 0 130px #ba3015;opacity:0}.doom-prompt{position:absolute;bottom:200px;left:50%;transform:translateX(-50%);width:max-content;max-width:85%;color:#e5cd99;text-align:center;font-size:12px;line-height:1.8;z-index:4;pointer-events:none;text-shadow:2px 2px #000;background:#111713b8;padding:8px 14px}.doom-prompt:empty{display:none}.doom-hud{position:absolute;bottom:0;left:0;right:0;z-index:5;display:grid;grid-template-columns:1fr 1fr 1.5fr 1fr 1fr;gap:12px;border-top:3px solid #8a7959;background:linear-gradient(#29312b,#111915);padding:13px max(18px,5vw);text-align:center;min-height:88px}.doom-hud>div>span{display:block;font-size:8px;color:#a1aa94;line-height:1.8}.doom-hud strong{display:block;font-size:23px;font-weight:normal;color:#e2bf7d;line-height:1.6;text-shadow:2px 2px #44281b}.doom-hud button{border:1px solid #5b6350;color:#e5c282;font-size:18px;padding:5px}.doom-hud button span{display:block;color:#a9b29f;font-size:8px;line-height:2}.doom-desktop-hint{position:absolute;bottom:108px;left:26px;z-index:4;font-size:8px;color:#a7b49f;text-shadow:2px 2px #000;max-width:440px;line-height:1.9}.doom-boss{position:absolute;top:110px;right:26px;width:210px;z-index:3;pointer-events:none;font-size:9px;color:#d4a47b;line-height:2}.doom-boss meter{display:block;width:100%;height:14px;accent-color:#b36035}.doom-splash{position:absolute;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;gap:7vw;padding:65px 7vw;background:linear-gradient(90deg,#0d1414fa 0%,#101918ed 50%,#11171577);overflow:auto}.doom-splash-copy{max-width:600px}.doom-kicker{font-size:9px;color:#c4a36a;line-height:2;letter-spacing:1px}.doom-splash h1{font-size:clamp(28px,4.7vw,62px);font-weight:normal;color:#e4c28a;line-height:1.5;text-shadow:4px 5px #482d23;margin:25px 0}.doom-splash p{font-size:13px;line-height:2;max-width:530px;color:#a9b7a3}.doom-splash #doom-start{display:block;background:#d3b47d;border-color:#e4c891;color:#16201a;margin:28px 0 18px;font-size:13px;padding:16px 21px}.doom-splash #doom-restart{font-size:9px;margin-bottom:16px}.doom-splash small{display:block;font-size:9px;color:#94a391;line-height:2}.doom-splash a{display:inline-block;font-size:9px;color:#bbab89;line-height:2;margin-top:22px;border-bottom:1px solid #776a51}.doom-boss-portrait{width:300px;align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-width:220px;max-height:650px;position:relative}.doom-boss-portrait>div{height:430px;background-image:url('assets/under-jord/portvakten-sheet.png');background-size:200% 200%;background-position:left top;image-rendering:pixelated;filter:drop-shadow(0 10px 30px #000);mask-image:linear-gradient(#000 80%,transparent)}.doom-boss-portrait>span{font-size:11px;color:#c5aa7d;text-align:center;line-height:2}.doom-boss-portrait i{font-size:8px;font-style:normal;color:#899a8c}.doom-mobile{display:none;position:absolute;left:24px;right:24px;bottom:124px;z-index:7;align-items:end;justify-content:space-between;pointer-events:none}.doom-stick{width:96px;height:96px;position:relative;border:1px solid #e8c99499;border-radius:50%;background:#10231b88;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none}.doom-stick i{position:absolute;width:38px;height:38px;top:calc(50% - 19px);left:calc(50% - 19px);border:1px solid #d6bd8b;background:#b9ae8655;border-radius:50%;pointer-events:none}.doom-stick>span{position:absolute;top:calc(100% + 8px);text-align:center;width:100%;font-size:8px;color:#b8ad8e;pointer-events:none}.doom-mobile-actions{display:flex;gap:7px;align-items:end;pointer-events:auto}.doom-mobile-actions button{width:48px;height:44px;font-size:11px;touch-action:none}#doom-fire{width:66px;height:60px;border-color:#d99454;background:#633f2caa;font-size:10px}.doom-live #doom-weapon,.doom-live .doom-crosshair,.doom-live .doom-mobile,.doom-live .doom-mission,.doom-live .doom-boss{visibility:hidden}.doom-paused .doom-mobile{display:none!important}@media(pointer:coarse),(max-width:900px){.doom-mobile{display:flex}.doom-desktop-hint{display:none}.doom-prompt{bottom:260px}.doom-boss{top:185px;right:18px;width:170px}.doom-hud strong{font-size:17px}}@media(max-width:600px){.doom-top{inset:17px 17px auto}.doom-brand{font-size:17px}.doom-brand span{font-size:6px}.doom-top-tools{gap:4px;font-size:7px}.doom-top-tools button{padding:9px 7px}#doom-look{display:none}.doom-mission{top:89px;left:17px;max-width:90%}.doom-mission strong{font-size:12px}.doom-hud{padding:10px 9px;gap:6px;min-height:76px}.doom-hud>div>span{font-size:6px}.doom-hud strong{font-size:14px}.doom-hud button{font-size:14px}.doom-hud button span{font-size:6px}.doom-mobile{left:16px;right:16px;bottom:112px}.doom-stick{width:80px;height:80px}.doom-mobile-actions{gap:5px}.doom-mobile-actions button{width:37px}#doom-fire{width:58px}.doom-prompt{bottom:230px;font-size:9px}#doom-weapon{bottom:76px;width:250px;height:250px}.doom-splash{padding:65px 24px 30px;align-items:center;gap:0}.doom-boss-portrait{position:absolute;inset:100px 0 0 auto;opacity:.22;width:270px;z-index:-1;min-width:0}.doom-splash h1{font-size:35px;margin:18px 0}.doom-splash p{font-size:11px}.doom-splash #doom-start{font-size:11px}.doom-splash small{font-size:8px}.doom-boss{top:165px;right:17px;width:155px}}@media(max-height:500px){.doom-mission{top:72px}.doom-splash{padding:24px 6vw}.doom-splash h1{font-size:24px;margin:10px 0}.doom-splash p{font-size:9px}.doom-splash #doom-start{margin:12px 0;font-size:10px;padding:10px}.doom-splash small,.doom-splash a{font-size:7px}.doom-boss-portrait{height:260px}.doom-boss-portrait>div{height:230px}.doom-mobile{bottom:95px}.doom-stick{width:70px;height:70px}.doom-prompt{bottom:175px}.doom-boss{top:90px}}

.doom-top{z-index:12}.doom-top-tools{flex-wrap:wrap;justify-content:flex-end}.doom-style-menu{position:relative;pointer-events:auto}.doom-style-menu summary{cursor:pointer;white-space:nowrap;padding:10px 12px;border:1px solid #93876b;background:#141d19cc;line-height:1.6}.doom-style-menu nav{position:absolute;top:calc(100% + 8px);right:0;display:grid;min-width:170px;padding:6px;background:#17241e;color:#e5d7b6;border:1px solid #93876b;z-index:20}.doom-style-menu nav a{padding:12px;white-space:nowrap;font-size:10px}.doom-style-menu nav a:hover{background:#394638}.doom-style-menu [aria-current=page]{text-decoration:underline;text-underline-offset:5px}@media(max-width:600px){.doom-top-tools{max-width:215px}.doom-style-menu summary{padding:9px 7px}.doom-style-menu nav{min-width:150px}}
