:root{color-scheme:dark;--paper:#eeeade;--red:#cc3045;--muted:#a6aaa5;--line:#ffffff24;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{margin:0;background:#111517;color:var(--paper);overflow:hidden;touch-action:none}button,summary{cursor:pointer}button{font:inherit;color:inherit;border:0;background:none}button:focus-visible,summary:focus-visible{outline:2px solid #e9c67e;outline-offset:5px}button:disabled{opacity:.45;cursor:wait}[hidden]{display:none!important}#game{display:block;width:100vw;height:100dvh;outline:0}#shade{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 38%,#05090a7a 100%)}#transition{position:fixed;inset:0;background:#070c0e;opacity:0;pointer-events:none;z-index:30;transition:opacity .3s}#hitFlash{position:fixed;inset:0;pointer-events:none;background:#f9d8aa;opacity:0;z-index:5}header{position:fixed;inset:30px 36px auto;display:flex;align-items:center;gap:28px;pointer-events:none}.brand{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:2.4px}.brand b{font-size:14px}.redline{display:inline-block;width:30px;height:4px;background:var(--red);vertical-align:middle}.room-meta{margin-left:auto;text-align:right;font-size:10px;letter-spacing:2px;color:#ddd9cc}.square{width:42px;height:42px;border:1px solid var(--line);background:#14202577;pointer-events:auto}#progress{display:flex;gap:5px;justify-content:flex-end;margin-top:9px}#progress i{display:block;width:15px;height:3px;background:#ffffff30}#progress i.done{background:#b6c9b8}#progress i.current{background:#d74153}#mission{position:fixed;left:36px;top:119px;max-width:310px;pointer-events:none;text-shadow:0 2px 12px #000}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;color:#b6b8b0}h2{font-size:24px;line-height:1.13;letter-spacing:-.6px;font-weight:500;margin:12px 0}#objective{font-size:12px;line-height:1.7;color:#cecec4;max-width:270px;margin:0}#reticle{position:fixed;left:50%;top:50%;width:18px;height:18px;transform:translate(-50%,-50%);border:1px solid #ffffff55;border-radius:50%;pointer-events:none;display:grid;place-items:center}#reticle i{width:3px;height:3px;background:#eee;border-radius:50%}#reticle.active{border-color:#e1b66a;width:25px;height:25px;box-shadow:0 0 12px #f6dca92a}#focus{position:fixed;top:calc(50% + 28px);left:50%;transform:translateX(-50%);text-align:center;pointer-events:none;text-shadow:0 2px 6px #000;max-width:80vw;width:350px}#focusName{display:block;font-size:14px;color:#f3ead7}#focusKeys{display:block;margin-top:8px;font-size:10px;letter-spacing:1.3px;color:#e2c995}#toast{position:fixed;left:50%;top:28%;transform:translate(-50%,-10px);width:max-content;max-width:min(540px,86vw);padding:13px 22px;line-height:1.6;text-align:center;font-size:13px;background:#10191ded;border:1px solid #f0e2ba3b;box-shadow:0 10px 40px #0004;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:12}#toast.show{opacity:1;transform:translate(-50%,0)}#lowerHud{position:fixed;left:36px;right:36px;bottom:65px;display:flex;justify-content:space-between;align-items:end;pointer-events:none}#inventory{display:flex;align-items:center;gap:12px;padding:12px 17px;background:#101b2088;border:1px solid #ffffff20;min-width:170px}.item-icon{font-size:31px;color:#d3bc8c}#inventory small{display:block;color:#a9aea7;font-size:8px;letter-spacing:2px;margin-bottom:5px}#heldName{display:block;font-size:12px}#dropBtn{pointer-events:auto;font-size:23px;margin-left:12px}.bottom-right{display:flex;align-items:center;gap:24px}#stance{font-size:9px;letter-spacing:2px;color:#c5c6b9}#hintBtn{pointer-events:auto;border:1px solid #ffffff35;padding:10px 14px;font-size:12px;background:#0b141a88}#hintBtn span{margin-left:7px}#desktopHelp{position:fixed;bottom:25px;left:36px;right:36px;font-size:9px;letter-spacing:.5px;color:#ece8d6ab;pointer-events:none}#desktopHelp span{color:#909c9b}.overlay{position:fixed;inset:0;background:linear-gradient(90deg,#0c1418f5 0%,#0c1418da 40%,#0c14181c 100%);display:flex;align-items:center;z-index:20;padding:40px 7vw;overflow:auto;touch-action:pan-y}.menu-card{width:min(530px,100%)}.menu-card>.eyebrow{display:flex;gap:14px;align-items:center;font-size:9px;line-height:1.6}h1{font-size:clamp(55px,7.8vw,112px);line-height:.93;letter-spacing:-5px;font-weight:500;margin:37px 0 25px}h1>span{color:#dfd7c2}h1 em{font-size:.5em;font-style:normal;color:#9d9c90;vertical-align:middle}.lead{font-size:15px;line-height:1.8;color:#bdbfb7;margin-bottom:26px}.tags{display:flex;flex-wrap:wrap;gap:20px;font-size:8px;letter-spacing:1.8px;color:#999e98;margin-bottom:30px}.primary{background:#bd243b;border:1px solid #db4c60;display:flex;justify-content:space-between;align-items:center;gap:40px;padding:18px 23px;font-size:13px;min-width:275px;transition:background .2s}.primary:hover{background:#d73149}.primary>span{font-size:20px}.secondary{font-size:11px;letter-spacing:.4px;padding:14px 0;border-bottom:1px solid #ffffff35;display:block}.menu-note{font-size:10px;color:#8f9b98;line-height:1.8;margin-top:22px}.menu-card details{max-width:420px;font-size:10px;color:#929f9c;line-height:1.8}.menu-card summary{display:inline-block;border-bottom:1px dotted #7a8c88}.menu-side{margin-left:auto;width:200px;align-self:center}.floor-number{font-size:64px;letter-spacing:-3px;display:flex;align-items:center;gap:12px;color:#e5ddc4}.floor-number>span{font-size:27px;color:#a7a894}.side-rule{height:1px;background:#dfd5b86b;margin:24px 0;width:100%}.menu-side p{font-size:20px;line-height:1.6;font-weight:300;color:#d1d0bb}.menu-side small{display:block;margin-top:38px;font-size:7px;line-height:1.9;letter-spacing:1.4px;color:#8e9b98}#ending{background:linear-gradient(90deg,#101c21ed,#101c2180,transparent)}#ending h1{font-size:clamp(45px,7vw,89px)}#endStats{font-size:12px;color:#c6cfbd;line-height:1.7;margin:25px 0}#fatal{z-index:80;background:#131c20}.touch-actions{position:fixed;right:18px;bottom:28px;width:200px;display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.touch-actions button{width:55px;height:55px;background:#0c1826b3;border:1px solid #c6d4ca66;border-radius:50%;font-size:20px;touch-action:none;user-select:none}.touch-actions small{display:block;font-size:7px;color:#c0c2b6;letter-spacing:.2px}.touch-actions button:first-child{background:#8d293bc9;border-color:#e26c71}.touch-actions button.on{background:#ac8a43bb}#joystick{position:fixed;bottom:35px;left:26px;width:112px;height:112px;border-radius:50%;background:#0b1c2560;border:1px solid #d6ddc23a;touch-action:none}#stick{position:absolute;left:35px;top:35px;width:42px;height:42px;border-radius:50%;background:#b4c4b54d;border:1px solid #d5dfcd88;pointer-events:none}body.touch #desktopHelp{display:none!important}body.touch #lowerHud{bottom:170px}body.touch #mission{max-width:240px}body.touch #focus{top:calc(50% + 25px)}@media(max-width:720px){header{inset:20px 20px auto;gap:12px}.brand{font-size:8px;letter-spacing:1.2px}.brand .redline{width:18px}.room-meta{font-size:8px;letter-spacing:1px}#progress{gap:3px}#progress i{width:9px}#mission{left:22px;top:100px}h2{font-size:20px}#objective{font-size:11px;max-width:240px}.eyebrow{font-size:8px;letter-spacing:1.3px}#lowerHud{left:20px;right:20px}#inventory{padding:8px 10px;min-width:140px}#hintBtn span{display:none}#hintBtn{font-size:17px;padding:5px 12px}.bottom-right{gap:12px}#heldName{font-size:10px}.menu-side{display:none}.overlay{padding:35px 8vw;background:linear-gradient(90deg,#0c1418f5,#0c1418b0)}h1{font-size:74px;letter-spacing:-3px;margin-top:29px}.lead{font-size:13px}.tags{gap:13px;font-size:7px}.menu-card>.eyebrow{font-size:7px;letter-spacing:1.1px}#toast{font-size:11px;top:31%;padding:11px 16px}#desktopHelp{font-size:8px;left:20px}.square{width:34px;height:34px}.menu-note{font-size:9px}}@media(max-height:560px){.overlay{padding:24px 6vw}h1{font-size:62px;margin:20px 0 15px}.lead{font-size:12px;margin-bottom:15px}.tags{margin-bottom:18px}.menu-note{margin:12px 0}.menu-card details{font-size:9px}#mission{top:85px}#lowerHud{bottom:45px}body.touch #lowerHud{bottom:115px}.touch-actions{bottom:15px}#joystick{bottom:20px;width:95px;height:95px}#stick{left:27px;top:27px}.touch-actions button{height:46px;width:46px}.menu-side{display:none}}

#mission{padding:14px 18px;background:linear-gradient(90deg,#0a141be8,#0a141b90);border-left:2px solid #bd3047;backdrop-filter:blur(4px)}#mission .eyebrow{font-size:7px}#mission h2{margin-top:10px}#focusName{display:inline-block;background:#0b171c9e;padding:6px 11px;border:1px solid #e6d2a326}#focusKeys{text-shadow:0 1px 5px #000,0 1px 8px #000}
