:root{--ink:#e2e5c7;--muted:#a5ad91;--amber:#e4b953;--green:#afce86;--red:#f18663;--bg:#14180f;--line:#5b62403d;--mono:'Courier New',monospace}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--mono);font-size:13px;overflow:hidden}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{background:#1d2419;color:var(--ink);border:1px solid #687052;padding:12px 17px;cursor:pointer;min-height:44px;transition:background .15s,color .15s}button:hover{background:var(--ink);color:var(--bg)}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--amber);outline-offset:4px}button:disabled{opacity:.5;cursor:default}a{color:inherit;text-decoration:none}button.primary{background:var(--amber);color:#202218;border:1px solid var(--amber);font-weight:bold;letter-spacing:2px;padding:18px 24px;min-width:230px;text-align:left;display:flex;justify-content:space-between;gap:35px}button.primary:hover{background:#f2d188}button.primary span{font-size:22px;line-height:18px}[hidden]{display:none!important}#world{display:block;width:100vw;height:100dvh;position:fixed;inset:0}#texture{pointer-events:none;position:fixed;inset:0;z-index:8;background:repeating-linear-gradient(transparent 0px,transparent 3px,#00000017 3px,#00000017 4px);opacity:.42}#danger{pointer-events:none;position:fixed;inset:0;z-index:3;box-shadow:inset 0 0 120px #be391100;transition:box-shadow .3s}#topbar{height:84px;position:fixed;z-index:10;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:16px 38px;border-bottom:1px solid var(--line);background:#13190fdb}.brand{display:flex;gap:12px;align-items:center;font-size:9px;line-height:1.7;letter-spacing:1.4px}.brand b{font-size:10px}.brand-icon{border:1px solid var(--amber);color:var(--amber);font-family:Impact,'Arial Narrow',sans-serif;font-size:25px;padding:0 6px;line-height:32px}.brand-icon span{font-family:var(--mono);font-size:12px}.shift{font-size:10px;letter-spacing:1.2px;color:var(--muted)}.shift b{color:var(--ink);font-size:17px;letter-spacing:2px}.separator{margin:0 18px;color:#657052}.live-dot{display:inline-block;width:6px;height:6px;background:var(--green);margin-right:8px;border-radius:50%;box-shadow:0 0 10px #abc16c55}.header-actions{display:flex;gap:8px}.header-actions button{font-size:10px;min-height:36px;padding:8px 12px;border-color:#596144}.overlay{position:fixed;inset:84px 0 0;z-index:5}.title-screen{background:linear-gradient(90deg,#13190ffa 2%,#13190fe8 44%,#13190f8a);padding:4vh 6vw 68px;overflow:auto}.title-layout{max-width:1450px;margin:auto;min-height:calc(100% - 30px);display:grid;grid-template-columns:1.4fr 1fr;gap:9vw;align-items:center}.eyebrow{font-size:10px;font-weight:normal;letter-spacing:2px;color:var(--muted)}.tag{border:1px solid #687052;padding:5px 8px;margin-right:15px;color:var(--amber);font-size:9px}h1{font-family:Impact,'Arial Narrow','Franklin Gothic Medium',sans-serif;font-size:clamp(66px,7.8vw,132px);line-height:.83;letter-spacing:-3px;font-weight:900;margin:30px 0 24px;color:#e2e5c7}.hollow{-webkit-text-stroke:1px #d9dfb8;color:transparent}.title-dash{color:var(--amber)}.subtitle{display:flex;gap:15px;align-items:center;border-top:1px solid #69734a80;border-bottom:1px solid #69734a80;padding:16px 0;max-width:470px;letter-spacing:2px;line-height:1.5;font-size:14px}.subtitle>span{font:52px/.9 Impact,'Arial Narrow',sans-serif;color:var(--amber);padding-right:15px;border-right:1px solid #69734a80}.subtitle b{font-size:18px;font-weight:normal}.intro{color:var(--muted);font-size:13px;line-height:1.9;margin:23px 0}.intro strong{font-weight:normal;color:var(--ink)}.start-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.start-actions>button:not(.primary){font-size:10px;letter-spacing:1px;background:transparent;border:0;border-bottom:1px solid #596144;padding:14px 8px}.warning{font-size:9px;letter-spacing:.8px;color:#9a9e7e;margin:19px 0}.setting{display:flex;align-items:center;gap:7px;margin:9px 0;font-size:11px;color:var(--muted);cursor:pointer}.setting input{accent-color:var(--amber);width:15px;height:15px}.setting span{font-size:10px}.seed-line{display:flex;align-items:center;gap:10px;margin-top:24px;color:var(--muted);font-size:9px}.seed-line input{width:100px;color:var(--ink);background:#12170f;border:1px solid #414a32;padding:7px;letter-spacing:1px}.seed-line>span{margin-left:12px}.notice{max-width:390px;justify-self:center;width:100%;padding:22px;background:#252a1cf0;color:#c8d295;border:1px solid #768151;box-shadow:12px 12px 0 #11160fb3;transform:rotate(3deg);position:relative}.notice:before,.notice:after{content:'';position:absolute;background:#91957455;width:60px;height:23px;top:-9px;left:15px;transform:rotate(-18deg)}.notice:after{top:auto;bottom:-9px;left:auto;right:15px;transform:rotate(-15deg)}.notice-header,.notice-bottom{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;border-bottom:1px solid #82925670;padding-bottom:12px}.notice-header span{font-size:18px}.hazard-art{padding:18px 26px 5px;color:#c3cf8d}.hazard-art svg{width:100%;max-height:235px}.notice h2{font-family:Impact,'Arial Narrow',sans-serif;font-size:42px;line-height:.98;letter-spacing:.4px;margin:4px 0 12px}.notice p{font-size:11px;color:#a7b383}.notice-bottom{font-size:7px;border-bottom:0;border-top:1px solid #82925670;margin-top:24px;padding:12px 0 0}.menu-footer{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:19px 38px;font-size:8px;letter-spacing:1px;color:#a2ad87;background:#12180fe8}#hud{position:fixed;inset:84px 0 0;pointer-events:none}.work-order{position:absolute;top:28px;left:32px;background:linear-gradient(90deg,#10160fed,#10160fa8,transparent);padding:17px 30px 20px 0;max-width:350px}.work-order .eyebrow{display:flex;justify-content:space-between;color:var(--amber)}.work-order .eyebrow span{color:var(--muted)}.work-order h2{font-size:17px;letter-spacing:-.5px;margin:12px 0 8px}.work-order p{font-size:10px;color:var(--muted);margin-bottom:22px}#objectives>div{display:flex;align-items:center;gap:10px;margin:13px 0;font-size:11px}#objectives b{margin-left:auto;font-size:10px;color:var(--amber);padding-left:30px}.checkbox{width:10px;height:10px;border:1px solid #8f9970}.done{color:#8fa271}.done .checkbox{background:var(--green);box-shadow:inset 0 0 0 2px #232b1d}.detector{position:absolute;right:32px;top:44px;width:255px;background:#11180fbb;padding:15px;border:1px solid #61704940}.detector .eyebrow{font-size:8px;letter-spacing:1.5px}.signal{display:flex;align-items:flex-end;gap:5px;height:34px;margin:10px 0 8px}.signal i{display:block;flex:1;height:8px;background:#4f5c393b}.signal i:nth-child(3n){height:19px}.signal i:nth-child(3n + 1){height:28px}.signal i.lit{background:var(--green);box-shadow:0 0 7px #afce8644}.signal.hot i.lit{background:var(--red)}.detector-bottom{display:flex;justify-content:space-between;gap:10px;font-size:7px;color:var(--muted)}#distance{color:var(--amber)}#bottom-hud{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:24px 32px 25px;background:linear-gradient(transparent,#0e140eed)}.vitals{width:190px;flex-shrink:0}.vitals>div:first-child{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px}.vitals b{color:var(--amber);font-size:11px}.meter{height:5px;background:#64704940;margin:8px 0 10px}.meter i{height:100%;display:block;background:var(--amber);width:100%}.stamina-row{display:flex;align-items:center;gap:12px;font-size:8px;color:var(--muted)}.small{height:3px;flex:1;margin:3px 0}.small i{background:#a8b589}.tiny{font-size:8px;color:#a8b58f;display:block;margin-top:12px;letter-spacing:1px}.key-guide{display:flex;gap:18px;align-items:center;flex-wrap:wrap;justify-content:center;font-size:8px;color:var(--muted);padding-bottom:7px}.key-guide span{white-space:nowrap}kbd{font:9px var(--mono);border:1px solid #68734c;background:#1e281b;padding:4px 5px;color:var(--ink);display:inline-block;margin-right:5px}.location{text-align:right;font-size:9px;line-height:1.8;white-space:nowrap}.location small{display:block;font-size:7px;letter-spacing:.8px;color:var(--muted)}#interaction{position:absolute;bottom:150px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;background:#11180ff2;border:1px solid var(--amber);padding:10px 18px;font-size:10px;letter-spacing:1px;color:var(--amber);text-align:center;max-width:90vw;min-width:230px}#interaction kbd{background:var(--amber);color:#1e281b;border:0;font-size:14px;padding:6px 10px}#toast{position:absolute;left:50%;top:23px;transform:translateX(-50%);padding:12px 20px;color:var(--amber);font-size:11px;max-width:460px;text-align:center;background:#11180feb;border:1px solid #a0a16a55;opacity:0;transition:opacity .2s}#toast.visible{opacity:1}dialog{color:var(--ink);background:#171f14;border:1px solid #8a9860;padding:28px;max-width:560px;width:calc(100% - 32px);box-shadow:14px 14px 0 #0007;max-height:85dvh;overflow:auto}dialog::backdrop{background:#080e0cd9}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:15px}.panel-top button{border:0;min-height:32px;padding:5px;background:transparent;font-size:10px}dialog h2{font-family:Impact,'Arial Narrow',sans-serif;letter-spacing:1px;font-size:32px;font-weight:normal;margin:24px 0 18px}#panel-body{color:#b5c19c;font-size:12px;line-height:1.85}#panel-body p{margin:12px 0}#panel-body strong{color:var(--amber)}#panel-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}#panel-actions button{flex:1;font-size:11px}#panel-body .clue{padding:15px;border:1px dashed #8a9860;color:var(--amber);letter-spacing:2px;margin:20px 0}#panel-body input{background:#0b120c;color:var(--amber);border:1px solid #8a9860;font-size:28px;width:100%;padding:14px;letter-spacing:14px;text-align:center}#panel-body .error{color:var(--red);min-height:22px}.manual-grid{display:grid;grid-template-columns:120px 1fr;gap:10px;border-top:1px solid var(--line);padding-top:18px}.manual-grid span{color:var(--ink)}#map-overlay{position:fixed;z-index:12;inset:100px 7vw 35px;background:#101a11f5;border:1px solid #6e8054;padding:25px;display:flex;flex-direction:column;align-items:center}.map-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}.map-head h2{font-size:18px;font-weight:normal}.map-head button{font-size:10px}#map{min-height:0;flex:1;width:100%;object-fit:contain;image-rendering:pixelated}#map-overlay p{font-size:9px;line-height:1.8;color:var(--muted)}#map-overlay p span{margin-right:14px}.legend-you{color:#f2e9bb}.legend-relay{color:#91c79b}.legend-key{color:var(--amber)}.legend-exit{color:#aacbdd}#scare{position:fixed;inset:0;z-index:30;background:#b2bc67;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#1c251a;text-align:center}#scare h2{font-family:Impact,'Arial Narrow',sans-serif;font-size:clamp(28px,5vw,70px);max-width:90%;letter-spacing:1px;margin:45px 0 10px}#scare p{font-size:13px;max-width:90%;line-height:1.6}.hamster{position:relative;width:270px;height:245px}.ear{position:absolute;top:0;width:95px;height:100px;border-radius:50%;background:#b18c56;border:13px solid #d6b37a}.ear.left{left:0}.ear.right{right:0}.hamster-face{position:absolute;bottom:0;width:270px;height:220px;border-radius:45% 45% 42% 42%;background:#d6b37a;box-shadow:inset 0 -20px #e9cda0}.hamster-eyes{font-size:54px;font-weight:bold;letter-spacing:25px;padding-left:22px;margin-top:26px;white-space:nowrap}.hamster-mouth{border-radius:50%;width:75px;height:90px;color:#f5e8cb;background:#36221b;font-size:55px;line-height:1.1;margin:0 auto}#touch{position:fixed;z-index:4;bottom:95px;left:20px;right:20px;display:flex;align-items:flex-end;justify-content:space-between;pointer-events:none}#touch button{touch-action:none;pointer-events:auto;background:#1a251dc9;user-select:none}.dpad{display:grid;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:4px}.dpad button{padding:0}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-column:1;grid-row:2}.dpad button:nth-child(3){grid-column:2;grid-row:2}.dpad button:nth-child(4){grid-column:3;grid-row:2}.touch-actions{display:grid;grid-template-columns:repeat(3,44px);gap:4px}.touch-actions button{padding:0;font-size:10px}.reduced #texture{opacity:.15}.reduced .notice{transform:none}@media(max-width:1100px){.key-guide{gap:8px;max-width:310px}.title-layout{gap:5vw}.title-screen{padding:4vh 5vw 70px}.notice{max-width:320px}.notice h2{font-size:36px}.location{font-size:8px}.setting span{display:none}}@media(max-width:760px){#topbar{height:66px;padding:10px 16px}.brand{font-size:7px;gap:8px}.brand b{font-size:8px}.brand-icon{font-size:20px}.shift{font-size:0}.shift .live-dot,.separator{display:none}.shift b{font-size:14px}.header-actions button{padding:6px 9px;font-size:8px}.overlay,#hud{top:66px}.title-screen{padding:30px 24px 70px}.title-layout{display:block;min-height:0}.title-copy{max-width:530px;margin:auto}h1{font-size:clamp(70px,13vw,96px);margin-top:28px}.notice{display:none}.title-screen .eyebrow{font-size:8px}.tag{font-size:8px;margin-right:10px}.subtitle b{font-size:16px}.intro{font-size:12px}.menu-footer{padding:15px 20px;font-size:7px;position:fixed}.menu-footer span:nth-child(2){display:none}.work-order{left:16px;top:10px;padding:10px 15px 10px 0;max-width:235px}.work-order h2{font-size:13px}.work-order p{display:none}#objectives>div{font-size:9px;margin:10px 0}#objectives b{font-size:9px;padding-left:15px}.work-order .eyebrow{font-size:8px}.detector{right:16px;top:20px;width:145px;padding:10px}.detector .eyebrow{font-size:6px;letter-spacing:.5px}.signal{gap:3px;height:25px}.signal i:nth-child(3n+1){height:22px}.detector-bottom{font-size:6px;display:block}#distance{display:block;margin-top:6px}#bottom-hud{padding:18px 16px;align-items:center}.vitals{width:145px}.key-guide{display:none}.location{font-size:7px}.location small{font-size:6px}.tiny{font-size:7px}#toast{top:180px;font-size:10px;width:80%;padding:10px}#interaction{bottom:210px;font-size:9px;padding:8px 12px}#map-overlay{inset:78px 12px 12px;padding:15px}.map-head h2{font-size:12px}.map-head .eyebrow{font-size:8px}.map-head button{padding:8px;font-size:8px}#map-overlay p{font-size:8px}dialog{padding:20px}dialog h2{font-size:28px}.seed-line{flex-wrap:wrap}.seed-line>span{margin-left:0}}@media(max-height:720px) and (min-width:761px){.title-screen{padding-top:24px}.title-layout{align-items:start}h1{font-size:78px;margin:20px 0}.intro{margin:14px 0}.subtitle{padding:10px 0}.notice{max-width:280px;margin-top:15px}.hazard-art{padding:5px 35px}.notice h2{font-size:30px}.warning{margin:12px 0}.seed-line{margin-top:12px}.setting{margin:6px 0}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}.notice{transform:none}}