:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace}html,body{color:#f1e6c2;background:#1a1608;height:100%;margin:0;overflow:hidden}#app canvas{display:block}#overlay{cursor:pointer;text-align:center;background:#100d04d1;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;padding:1rem;display:flex;position:fixed;inset:0}#overlay.hidden{display:none}#overlay h1{letter-spacing:.2em;text-transform:uppercase;margin:0;font-size:clamp(1.8rem,6vw,3rem)}#overlay .tag{opacity:.6;margin:0}#overlay .tag.warn{opacity:.85;color:#f0c98a;max-width:34rem;line-height:1.6}#status{margin:1rem 0}.controls{opacity:.8;margin:0;padding:0;line-height:1.8;list-style:none}#hud{opacity:.75;pointer-events:none;text-shadow:0 1px 2px #000;justify-content:space-between;font-size:12px;display:flex;position:fixed;bottom:12px;left:16px;right:16px}#hud-rec{letter-spacing:.1em;color:#f4f0e2;text-shadow:0 0 4px #000c;pointer-events:none;font-size:15px;position:fixed;top:18px;left:20px}#hud-rec:before{content:"●";color:#e02a1f;margin-right:.5em}#hud-rec.blink:before{opacity:.25}#overlay:not(.hidden)~#hud-rec,.touch-only{display:none}.is-touch .touch-only{display:block}.is-touch .desktop-only{display:none}#touch{touch-action:none;-webkit-user-select:none;user-select:none;display:none;position:fixed;inset:0}#touch.visible{display:block}.stick-base{opacity:0;pointer-events:none;background:#14100640;border:2px solid #f1e6c259;border-radius:50%;width:112px;height:112px;margin:-56px 0 0 -56px;position:absolute}.stick-base.active{opacity:1}.stick-knob{background:#f1e6c28c;border-radius:50%;width:48px;height:48px;position:absolute;top:32px;left:32px}.touch-buttons{right:max(16px, env(safe-area-inset-right));bottom:max(40px, env(safe-area-inset-bottom));grid-template-columns:repeat(2,64px);gap:10px;display:grid;position:absolute}.touch-buttons button{color:#f1e6c2;width:64px;height:64px;font:inherit;letter-spacing:.05em;background:#14100673;border:2px solid #f1e6c273;border-radius:50%;font-size:11px}.touch-buttons button.on{color:#1a1608;background:#f1e6c2d9}#hud-items{pointer-events:none}#overlay:not(.hidden)~#hud-items{display:none}#hud-dot{background:#f4f0e259;border-radius:50%;width:4px;height:4px;margin:-2px 0 0 -2px;transition:transform .12s,background .12s;position:fixed;top:50%;left:50%}#hud-dot.on{background:#f4f0e2e6;transform:scale(2)}#hud-prompt{text-align:center;letter-spacing:.04em;color:#f4f0e2;text-shadow:0 1px 3px #000,0 0 8px #0009;max-width:min(90vw,520px);font-size:13px;position:fixed;top:calc(50% + 34px);left:50%;transform:translate(-50%)}#hud-inv{z-index:5;gap:6px;display:flex;position:fixed;bottom:34px;left:50%;transform:translate(-50%)}#hud-inv .slot{color:#f1e6c2;width:76px;height:40px;font:inherit;letter-spacing:.06em;pointer-events:auto;background:#100d0473;border:1px solid #f1e6c24d;border-radius:6px;padding:0;font-size:10px;position:relative}#hud-inv .slot i{opacity:.5;font-size:9px;font-style:normal;position:absolute;top:2px;left:5px}#hud-inv .slot b{font-weight:600}#hud-inv .slot.sel{background:#3c321499;border-color:#f4f0e2e6}#hud-inv .slot.lit b{color:#9cff7a}#hud-battery{border:1px solid #f4f0e299;border-radius:2px;width:54px;height:9px;padding:1px;position:fixed;top:46px;left:20px}#hud-battery:after{content:"";background:#f4f0e299;width:2px;height:5px;position:absolute;top:2px;right:-4px}#hud-battery span{background:#f4f0e2;height:100%;display:block}#hud-battery.low span{background:#e02a1f}#hud-flash{opacity:0;background:#fbfbf6;position:fixed;inset:0}.is-touch #hud-inv{bottom:auto;left:auto;right:12px;top:calc(max(14px, env(safe-area-inset-top)) + 50px);transform:none}.is-touch #hud-inv .slot{width:58px;height:44px;font-size:9px}.is-touch #hud-prompt{top:calc(50% + 28px)}#hud-locker{pointer-events:none;opacity:0;background:radial-gradient(at 50% 45%,#0000 30%,#000000d9 75%),repeating-linear-gradient(#060604f5 0 22px,#0000 22px 40px);transition:opacity .2s;position:fixed;inset:0}#hud-locker.on{opacity:1}#hud-static{pointer-events:none;opacity:0;width:100%;height:100%;image-rendering:pixelated;mix-blend-mode:screen;position:fixed;inset:0}#hud-scare{pointer-events:none;opacity:0;background:radial-gradient(#0000 35%,#7800008c 70%,#0a0000f2 100%);position:fixed;inset:0}#hud-caught{text-align:center;pointer-events:none;z-index:6;text-shadow:0 0 8px #000,0 0 2px #000;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:0 16px;display:none;position:fixed;inset:0}#hud-caught.on{display:flex}#hud-caught b{letter-spacing:.18em;text-transform:uppercase;color:#f2e9d0;font-size:clamp(1.6rem,6vw,3.2rem)}#hud-caught span{color:#e5dcc2;background:#0000008c;max-width:34rem;padding:.6rem .9rem;font-size:14px;line-height:1.6}#hud-lowlight{letter-spacing:.14em;color:#f4f0e2;opacity:0;pointer-events:none;text-shadow:0 0 4px #000c;font-size:12px;position:fixed;top:20px;right:20px}#hud-lowlight.on{opacity:.8;animation:1.2s steps(2,end) infinite lowlight}@keyframes lowlight{50%{opacity:.25}}#overlay:not(.hidden)~#hud-lowlight,body.caught #hud-items{display:none}#hud-objective{letter-spacing:.06em;color:#f2e9d0;text-align:center;pointer-events:none;text-shadow:0 0 4px #000;white-space:nowrap;text-overflow:ellipsis;background:#00000073;max-width:calc(100vw - 32px);padding:.35rem .8rem;font-size:13px;position:fixed;top:18px;left:50%;overflow:hidden;transform:translate(-50%)}#hud-objective.urgent{color:#ffd0b0;background:#5a0a008c;font-size:15px}#hud-objective.flash{animation:.5s 3 objective-flash}@keyframes objective-flash{50%{background:#c8962899}}#overlay:not(.hidden)~#hud-objective,body.caught #hud-objective{display:none}.is-touch #hud-objective{top:44px}#hud-read{z-index:5;background:#00000059;justify-content:center;align-items:center;padding:16px;display:none;position:fixed;inset:0}#hud-read.on{display:flex}#hud-read .paper{color:#2a2418;background:#ece4cf;flex-direction:column;align-items:center;gap:.6rem;max-width:min(34rem,100%);max-height:100%;padding:1rem 1.2rem;display:flex;transform:rotate(-.6deg);box-shadow:0 10px 40px #000000b3}#hud-read canvas{aspect-ratio:1;width:min(26rem,80vw,60vh);height:auto;display:none}#hud-read.map canvas,#hud-read.own-map canvas{display:block}#hud-read p{white-space:pre-line;margin:0;font-family:Segoe Print,Bradley Hand,Comic Sans MS,cursive;font-size:15px;line-height:1.55}#hud-read.map p,#hud-read.own-map p{font-family:monospace;font-size:12px}#hud-read small{opacity:.6;font-size:11px}#hud-end{text-align:center;z-index:8;color:#f2e9d0;opacity:0;background:#000;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:0 16px;transition:opacity 2.5s;display:none;position:fixed;inset:0}#hud-end.on{display:flex}#hud-end.shown{opacity:1}#hud-end b{letter-spacing:.2em;text-transform:uppercase;font-size:clamp(1.8rem,7vw,3.6rem)}#hud-end p{opacity:.85;margin:0;font-size:14px;line-height:1.7}#hud-end button{font:inherit;letter-spacing:.12em;color:#1a1608;cursor:pointer;background:#e8d9a8;border:0;margin-top:.6rem;padding:.7rem 1.6rem;font-size:14px}
