*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#08121e;color:#edf9f7;font-family:Inter,ui-sans-serif,system-ui,sans-serif;overscroll-behavior:none}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;border:1px solid #c0e8e744;background:#0a1c29b8;border-radius:12px;min-height:48px;min-width:48px}button:hover{background:#355d67}button:focus-visible{outline:2px solid #ffe4a3;outline-offset:3px}[hidden]{display:none!important}#game,#world{position:absolute;inset:0;width:100%;height:100%;height:100dvh}#world{display:block;touch-action:none}#hud{position:absolute;left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right));top:max(22px,env(safe-area-inset-top));display:flex;justify-content:space-between;pointer-events:none;text-shadow:0 2px 6px #000}small{font-size:10px;letter-spacing:2px}h1{font:500 24px/1.2 Georgia,serif;margin:6px 0}.topActions{display:flex;gap:8px;pointer-events:auto}.topActions button{font-size:24px;width:48px;height:48px}#objective{position:absolute;top:104px;left:24px;max-width:330px;font-size:13px;text-shadow:0 2px 5px #000}#fieldText{display:block;color:#a6e8ed;margin-top:8px;font-size:10px;letter-spacing:1px}#hint{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);width:max-content;max-width:75%;text-align:center;font-size:14px;color:#ffe5a7;text-shadow:0 2px 4px #000;padding:10px 16px;background:#0717259c;border-radius:20px;pointer-events:none}#target{position:absolute;pointer-events:none;text-align:center;transform:translate(-50%,-100%);font-size:11px;letter-spacing:1px;color:#ffe4a3;text-shadow:0 1px 5px #000;font-weight:700;white-space:nowrap}#target:after{content:"◇";display:block;font-size:25px}#overlay{position:absolute;inset:0;display:flex;align-items:center;padding:36px 7vw;background:linear-gradient(90deg,#061321ed 0%,#091727a8 40%,transparent 80%);overflow:auto}#card{width:470px;max-width:100%;text-shadow:0 2px 8px #0006}#eyebrow{color:#a7e4ea;font-size:10px;letter-spacing:3px}h2{font:500 80px/.97 Georgia,serif;letter-spacing:-3px;margin:20px 0}h2 em{font-weight:400;color:#d9c49b}#description{font-size:14px;line-height:1.65;color:#c3d6dc;max-width:420px}#instructions{font-size:12px;line-height:1.9;color:#b9d1da}#instructions b{color:#f3dfb7;font-weight:500}.primary{padding:16px 27px;background:#d3d9b8;color:#10242e;border:0;border-radius:5px;font-weight:700;min-height:52px;margin:9px 0 12px}.primary:hover{background:#eef1c9}.secondary{display:flex;gap:8px;flex-wrap:wrap}.secondary button{padding:10px 16px}#saveNote{display:block;font-size:8px;letter-spacing:1.3px;color:#83a1ae;margin-top:16px}#routes{display:flex;gap:7px;margin:18px 0 12px}#routes button{width:48px;height:48px;border-radius:50%;font:16px Georgia,serif}#routes button.selected{border-color:#f1d8a1;background:#7c88764d}#routes button.done:after{content:" ✓";font-size:11px;color:#9be7ce}#touch{position:absolute;inset:0;pointer-events:none}#stick{position:absolute;left:max(22px,env(safe-area-inset-left));bottom:25px;width:112px;height:112px;border-radius:50%;border:1px solid #a6e6e75c;background:#07142166;pointer-events:auto;touch-action:none;display:grid;place-items:center}#stick:before,#stick:after{content:"";position:absolute;background:#bce6eb20;width:70px;height:1px}#stick:after{transform:rotate(90deg)}#stick i{width:43px;height:43px;border-radius:50%;border:1px solid #c5f8ee88;background:#99c9cf44}.touchActions{position:absolute;right:max(18px,env(safe-area-inset-right));bottom:27px;width:172px;height:126px;pointer-events:auto}.touchActions button{position:absolute;width:68px;height:58px;border-radius:50%;font-size:10px;touch-action:none;background:#102936b0;font-weight:700}.touchActions small{letter-spacing:0;font-size:9px;color:#a6cfd3}#action{left:0;top:0}#anchor{right:0;top:0;border-color:#e4c99288!important;color:#ffe4a3}#jump{right:0;bottom:0}#failure{position:absolute;inset:20%;padding:30px;background:#192e3c}
@media(pointer:coarse){#touch:not([hidden]){display:block}#hint{bottom:165px;font-size:12px;max-width:90%}}
@media(max-width:600px){#hud{top:16px;left:16px;right:16px}h1{font-size:19px;max-width:210px}#stageTag{font-size:8px;letter-spacing:1.2px}.topActions{gap:6px}#objective{top:91px;left:16px;max-width:280px;font-size:12px}#overlay{padding:24px;background:linear-gradient(90deg,#061321e8,#08182791)}h2{font-size:63px}#eyebrow{font-size:8px;letter-spacing:2px}#description{font-size:13px}#instructions{font-size:11px}#hint{bottom:163px;max-width:91%;font-size:12px}#target{font-size:9px}.topActions button{width:44px;min-width:44px;height:44px;min-height:44px}}
@media(max-height:500px){#overlay{padding:16px 6vw}#card{width:640px}h2{font-size:44px;line-height:1;letter-spacing:-1px;margin:8px 0}h2 br{display:none}h2 em{margin-left:10px}#description{margin:6px 0;font-size:12px;max-width:590px}#instructions{font-size:10px;margin:5px 0}#routes{position:absolute;right:28px;top:28px;flex-direction:column;margin:0}#routes button{width:44px;height:44px;min-height:44px;min-width:44px}.primary{padding:9px 18px;min-height:44px;margin:5px 0}#saveNote{margin:5px 0}#hud{top:12px;left:18px}h1{font-size:19px}#objective{top:76px;font-size:11px;max-width:270px}#hint{bottom:14px;max-width:45%;font-size:11px}#stick{width:100px;height:100px;bottom:15px}.touchActions{bottom:12px}.secondary{display:inline-flex;margin-left:10px}.secondary button{font-size:11px;min-height:44px;padding:8px}}
#picker{max-width:330px;margin:12px 0}#chapterNav{display:flex;align-items:center;justify-content:space-between;gap:8px}#chapterNav button{border:0;background:transparent;font:28px Georgia,serif;min-width:44px;min-height:44px}#chapterLabel{text-align:center;font-size:9px;letter-spacing:1.2px;line-height:1.5}#routes{position:static;display:flex;flex-direction:row;justify-content:center;gap:12px;margin:6px 0}button:disabled{opacity:.35;cursor:default}#routes button:disabled{border-style:dashed}#routes button.done:after{font-size:9px}
@media(max-height:500px){#picker{position:absolute;top:35px;right:24px;width:232px;margin:0}#routes{gap:10px;margin-top:8px}#chapterLabel{font-size:8px}#description{max-width:490px;padding-right:25px}#card{width:560px}#eyebrow{font-size:8px;letter-spacing:2px}}
