*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#c4b5cf;color:#e8e0c8;font-family:Courier New,ui-monospace,monospace}canvas#game{position:fixed;inset:0;width:100%;height:100%;display:block;image-rendering:pixelated;image-rendering:crisp-edges}.hidden{display:none!important}#hud{position:fixed;inset:0;pointer-events:none;text-shadow:2px 2px 0 #000}#crosshair{position:absolute;left:50%;top:50%;width:4px;height:4px;margin:-2px 0 0 -2px;background:#e8e0c8;box-shadow:0 0 0 1px #000}#prompt{position:absolute;left:50%;top:58%;transform:translate(-50%);font-size:20px;padding:6px 12px;background:#0000008c;border:1px solid #e8e0c8;white-space:nowrap}#location{position:absolute;left:0;right:0;top:14%;text-align:center;font-size:34px;letter-spacing:8px;opacity:0}#location.show{animation:loc 4s forwards}@keyframes loc{0%{opacity:0}15%{opacity:1}70%{opacity:1}to{opacity:0}}#secrets{position:absolute;right:16px;top:12px;font-size:14px;opacity:.75}#controls{position:absolute;left:16px;bottom:12px;font-size:13px;opacity:.6}#touchControls,#touchIntro,#touchStart{display:none}.touch-preview canvas#game{touch-action:none}.touch-preview #controls,.touch-preview #crosshair,.touch-preview #secrets,.touch-preview #desktopIntro,.touch-preview #desktopStart{display:none}.touch-preview #touchIntro{display:block;max-width:34ch;margin:0 20px;line-height:1.5}.touch-preview #touchStart{display:inline;letter-spacing:2px}.touch-preview #touchControls{display:block;position:absolute;left:16px;right:16px;bottom:max(12px,env(safe-area-inset-bottom));text-align:center;font-size:13px}.touch-preview #start{cursor:default}.touch-preview #start h1{font-size:clamp(42px,13vw,72px);letter-spacing:12px;margin-left:12px}#toast{position:absolute;left:50%;bottom:14%;transform:translate(-50%);max-width:70%;text-align:center;font-size:18px;padding:8px 14px;background:#000000a6;border:1px solid #e8e0c8}.overlay{position:fixed;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#0e0c14e0;text-align:center;cursor:pointer}.overlay h1{font-size:72px;letter-spacing:24px;margin:0 0 0 24px}.overlay h2{font-size:40px;letter-spacing:12px;margin:0}.overlay button{font:inherit;font-size:22px;letter-spacing:6px;padding:10px 28px;color:#e8e0c8;background:transparent;border:2px solid #e8e0c8;cursor:pointer}.overlay button:hover:not(:disabled){background:#e8e0c8;color:#101014}.overlay button:disabled{opacity:.4;cursor:default}.overlay small{opacity:.6}#reader{position:fixed;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;background:#08060cb3}.reader-panel{position:relative;width:min(720px,92vw);max-height:88vh;overflow-y:auto;padding:28px 32px;background:#121018f7;border:2px solid #e8e0c8;box-shadow:6px 6px #000}.reader-panel h2{margin:4px 0 16px;font-size:28px}#readerMeta{font-size:13px;opacity:.65;letter-spacing:1px}#readerBody p{line-height:1.6;margin:0 0 14px;font-size:16px}#readerMedia img,#readerMedia video{display:block;max-width:100%;margin:0 0 16px;border:2px solid #e8e0c8;image-rendering:pixelated}#readerLink{display:inline-block;margin-top:4px;color:#e8e0c8;border-bottom:1px solid #e8e0c8;text-decoration:none}#readerClose{position:absolute;right:12px;top:8px;font:inherit;font-size:28px;line-height:1;color:#e8e0c8;background:transparent;border:0;cursor:pointer}.reader-hint{margin-top:20px;font-size:12px;opacity:.45;text-align:right}
