*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#38261c;color:#fff4d8;font-family:system-ui,sans-serif;touch-action:none}canvas{display:block;width:100%;height:100%}button{font:inherit;color:inherit;cursor:pointer;touch-action:none;border:1px solid #e6bf7866;background:#38261cbb;border-radius:12px;min-width:48px;min-height:48px}button:hover{background:#785334}header{position:fixed;top:max(18px,env(safe-area-inset-top));left:24px;right:24px;display:flex;justify-content:space-between;pointer-events:none}header nav{display:flex;gap:8px;pointer-events:auto}small{font-size:10px;letter-spacing:3px;color:#ffd88c}h1{font:25px Georgia,serif;margin:5px 0;text-shadow:0 2px 6px #000}#objective{position:fixed;top:90px;left:24px;max-width:330px;font-size:13px;text-shadow:0 1px 5px #000;background:#2c241b80;border-left:2px solid #efcb7a;padding:9px 13px}#hint{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);width:max-content;max-width:80%;text-align:center;font-size:14px;text-shadow:0 2px 4px #000;background:#30251bbb;padding:10px 18px;border-radius:20px;pointer-events:none}#veil{position:fixed;inset:0;display:grid;place-items:center;background:linear-gradient(90deg,#211710c9,#24190f18);backdrop-filter:blur(2px)}#veil[hidden]{display:none}.card{width:min(90vw,480px);padding:30px;text-align:center;background:linear-gradient(150deg,#453021ea,#211e19e8);border:1px solid #d5aa5c66;border-radius:100px 100px 20px 20px;box-shadow:0 22px 100px #0007}.card h2{font:58px/.98 Georgia,serif;margin:22px 0;color:#ffe4a8}.card p{font-size:14px;line-height:1.6;color:#e3c9a7}.card #instructions{font-size:12px;color:#b9bba3}.card>button{padding:10px 24px;margin:6px;background:#a57336}#chapters{display:flex;gap:8px;justify-content:center;margin-top:12px}#chapters button{font-size:12px;padding:5px 12px}#touch{display:none;position:fixed;bottom:25px;left:23px;right:23px;align-items:end;justify-content:space-between;pointer-events:none}#stick{width:112px;height:112px;border:1px solid #ffe4a84d;border-radius:50%;background:#34281d66;position:relative;pointer-events:auto}#stick i{display:block;position:absolute;left:35px;top:35px;width:42px;height:42px;border-radius:50%;background:#f2d69a88;border:1px solid #fff3}.actions{display:flex;gap:12px;align-items:end;pointer-events:auto}.actions button{height:65px;width:65px;border-radius:50%;font-size:12px;background:#49331ec9}.actions #jump{height:78px;width:78px;background:#a5763ba8}
@media(pointer:coarse){#touch{display:flex}#hint{bottom:158px;font-size:12px}}
@media(max-width:600px){header{left:16px;right:16px;top:16px}h1{font-size:20px}small{font-size:8px;letter-spacing:2px}#objective{top:83px;left:16px;max-width:270px;font-size:12px}.card{padding:24px}.card h2{font-size:49px}.card p{font-size:13px}#hint{max-width:90%;width:90%}}
@media(max-height:500px){header{top:10px}h1{font-size:19px}#objective{top:70px;font-size:11px;max-width:260px}#touch{bottom:14px}#stick{width:90px;height:90px}#stick i{left:24px;top:24px}#hint{bottom:18px;max-width:45%;font-size:11px}.card{padding:14px 28px;width:530px;border-radius:40px}.card h2{font-size:32px;margin:7px}.card p{margin:7px;font-size:12px}.card #instructions{font-size:10px}.card>button{min-height:40px}#chapters{margin-top:4px}}
.card{max-height:calc(100svh - 30px);overflow-y:auto;scrollbar-width:thin}#journey{font-size:9px;letter-spacing:1.5px;margin:14px 0 7px;color:#dfb46c}#chapters{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;max-height:164px;overflow-y:auto}#chapters button{min-width:0;min-height:38px;padding:4px;font-size:12px}#chapters button:disabled{opacity:.3;cursor:default}#chapters button[data-current=true]{border-color:#ffe1a0;box-shadow:inset 0 0 0 1px #ffe1a0}
