:root{color-scheme:dark;font-family:Inter,Arial,sans-serif;color:#f2eddf;background:#091210;font-synthesis:none;--gold: #d7b878;--muted: #a6b6ac}*{box-sizing:border-box}body{margin:0;overflow:hidden;touch-action:none}canvas{position:fixed;inset:0;width:100%;height:100%;display:block}button{font:inherit;color:inherit;border:1px solid #bda67655;background:#142321c9;padding:12px 18px;cursor:pointer;letter-spacing:.12em;font-size:10px;transition:background .2s,border-color .2s;touch-action:manipulation}button:hover,button:focus-visible{background:#354138;border-color:var(--gold);outline:none}button:active{transform:translateY(1px)}[hidden]{display:none!important}#vignette{pointer-events:none;position:fixed;inset:0;background:radial-gradient(ellipse at center,transparent 30%,#01080680 100%);z-index:1}#flash{pointer-events:none;position:fixed;inset:0;background:#af3d2555;opacity:0;z-index:9;transition:opacity .35s}#hud{position:fixed;top:28px;left:32px;right:32px;z-index:2;display:flex;align-items:center;justify-content:space-between;text-shadow:0 2px 5px #0009}.brand{font-family:Georgia,serif;letter-spacing:.18em;font-size:18px}.brand span{display:block;letter-spacing:.6em;font-size:8px;color:var(--gold);margin-top:6px}#chapter{position:absolute;left:50%;transform:translate(-50%);text-align:center;min-width:280px}#chapter-number{display:block;color:var(--gold);font-size:9px;letter-spacing:.28em;margin-bottom:8px}#stage-name{font:22px Georgia,serif;font-weight:400}.hud-actions{display:flex;gap:8px}.hud-actions button{min-width:44px;padding:10px}#objective-panel{position:fixed;z-index:2;left:32px;top:118px;max-width:340px;padding:16px 20px;background:linear-gradient(90deg,#071511df,#07151177);border-left:1px solid #d7b87880;pointer-events:none}.eyebrow{font-size:8px;letter-spacing:.24em;color:var(--gold)}#objective{font-size:12px;line-height:1.7;color:#d5ddd2;margin:9px 0 0}#puzzle{font-size:13px;line-height:1.8;color:var(--gold);margin-top:8px}#assist{border-top:1px solid #d7b87855;padding-top:10px;margin:12px 0 0;color:#f2dca7;font-size:11px;line-height:1.6}#crosshair{position:fixed;top:50%;left:50%;z-index:2;color:#fff9;font-size:25px;transform:translate(-50%,-50%);pointer-events:none}#prompt{position:fixed;top:60%;left:50%;transform:translate(-50%);z-index:3;background:#0b1b18dd;border:1px solid #d7b87888;padding:13px 20px;font-size:12px;letter-spacing:.08em;white-space:nowrap;display:none}#toast{position:fixed;z-index:5;top:25%;left:50%;transform:translate(-50%);text-align:center;max-width:520px;width:80%;font:21px Georgia,serif;color:#f8e1ab;text-shadow:0 2px 6px #000;pointer-events:none;opacity:0;transition:opacity .25s}#game-footer{position:fixed;bottom:24px;left:32px;right:32px;display:flex;gap:22px;align-items:center;z-index:2;font-size:8px;letter-spacing:.15em;color:#b1bcae}#sigils{font-size:18px;letter-spacing:5px;color:var(--gold)}.desktop-help{margin-left:auto;font-size:9px;letter-spacing:.04em}#overlay{position:fixed;inset:0;z-index:10;display:flex;align-items:center;background:linear-gradient(90deg,#07110ffa 0%,#091611e6 31%,#09151055 67%,transparent 100%)}#title-card{margin-left:9vw;width:470px;padding:24px 0}.ornament{color:var(--gold);font-size:9px;letter-spacing:.21em;margin-bottom:26px}h1{font:clamp(40px,4.7vw,72px)/.95 Georgia,serif;font-weight:400;letter-spacing:.04em;margin:0}h1 span{display:block;font:14px Arial,sans-serif;letter-spacing:1.05em;margin:25px 0 0 5px;color:var(--gold)}.gold-rule{width:60px;height:1px;background:var(--gold);margin:30px 0}#intro{font:18px/1.6 Georgia,serif;color:#c5cdbc;margin:0 0 30px}.primary{background:#d2b47c;color:#14211b;border-color:#e9ce98;padding:18px 22px;font-size:11px;min-width:280px;text-align:left;font-weight:700}.primary:hover{background:#efd199}.primary span{float:right;font-size:16px;line-height:12px}#menu-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px}#new-game{border:none;background:transparent;color:#b6bcab;font-size:8px;padding:8px 0}.controls-note{margin-top:26px;font-size:9px;line-height:1.8;letter-spacing:.025em;color:#9fab9c}.controls-note span{color:#869888}#result{color:var(--gold);font-size:12px;line-height:1.7}#error{position:fixed;z-index:30;inset:20%;background:#192923;padding:30px;border:1px solid var(--gold)}#touch-controls{display:none;position:fixed;z-index:4;inset:0;pointer-events:none}#joystick{pointer-events:auto;position:absolute;left:28px;bottom:65px;width:120px;height:120px;border-radius:50%;border:1px solid #e0d0a750;background:#0d211a44;touch-action:none}#stick{position:absolute;left:39px;top:39px;width:40px;height:40px;border-radius:50%;background:#d1ba8080;border:1px solid #dfc795b0}#jump,#use{position:absolute;pointer-events:auto;border-radius:50%;width:74px;height:74px;padding:0;background:#162d24a9;touch-action:none}#jump{right:30px;bottom:73px}#use{right:113px;bottom:44px;width:64px;height:64px}#look-hint{position:absolute;right:30px;bottom:164px;font-size:7px;letter-spacing:.15em;color:#c4cdb766}.playing #overlay,.menu #hud,.menu #objective-panel,.menu #game-footer,.menu #crosshair,.menu #touch-controls{display:none}.touch.playing #touch-controls{display:block}.touch .desktop-help{display:none}@media(max-width:700px){#hud{top:16px;left:18px;right:18px}.brand{font-size:12px}.brand span{font-size:6px}#chapter{min-width:170px}#stage-name{font-size:15px}#chapter-number{font-size:7px;letter-spacing:.12em}.hud-actions{gap:4px}.hud-actions button{font-size:8px;padding:8px;min-width:33px}#objective-panel{left:18px;top:85px;max-width:260px;padding:10px 12px}#objective{font-size:10px;line-height:1.55}.eyebrow{font-size:7px}#puzzle{font-size:10px}#title-card{margin-left:8vw;width:84vw}h1{font-size:44px}.ornament{font-size:8px;margin-bottom:20px}#intro{font-size:16px;margin-bottom:22px}#game-footer{bottom:15px;left:18px;right:18px}#run-info{margin-left:auto;font-size:6px;max-width:100px;text-align:right}#sigils{font-size:14px;letter-spacing:2px}.gold-rule{margin:24px 0}#prompt{font-size:10px;padding:10px;max-width:90vw;white-space:normal;text-align:center}.controls-note{font-size:8px;margin-top:18px}#toast{font-size:17px}.primary{min-width:250px}}@media(max-height:530px){#title-card{padding:12px 0}.ornament{margin-bottom:12px}h1{font-size:36px}h1 span{font-size:9px;margin-top:12px}.gold-rule{margin:16px 0}#intro{font-size:14px;margin-bottom:16px}.controls-note{margin-top:12px}.primary{padding:14px 18px}#objective-panel{top:78px;max-width:270px}#joystick{width:100px;height:100px;bottom:48px}#stick{left:29px;top:29px}#game-footer{bottom:12px}.controls-note span{display:none}}
