*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;background:#071923;color:#f5efd7;font-family:Georgia,serif}button{font:700 13px system-ui;color:inherit;cursor:pointer;touch-action:none;border:1px solid #a7ebc848;background:#102e36c9;border-radius:13px;min-width:46px;min-height:46px}button:hover{background:#285058}button:focus-visible{outline:2px solid #f6d991}#world{width:100%;height:100%;height:100svh;position:relative;touch-action:none}canvas{display:block;width:100%;height:100%}header{position:absolute;left:28px;right:24px;top:24px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;text-shadow:0 2px 6px #000}small{font:700 10px system-ui;letter-spacing:3px;color:#b9e8d1}h1{font-size:23px;margin:6px 0}nav{display:flex;gap:8px;pointer-events:auto}#hud{position:absolute;left:28px;top:104px;display:flex;align-items:center;gap:12px;font:600 10px system-ui;letter-spacing:1px;text-shadow:0 2px 4px #000}meter{width:104px;height:12px}#hint{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);text-align:center;max-width:640px;width:80%;font:500 14px/1.5 system-ui;color:#fff4d7;text-shadow:0 2px 4px #000,0 0 12px #000;background:#071d2580;border-radius:16px;padding:8px 14px}#overlay{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(90deg,#04151bc9,#061a2160)}#overlay[hidden]{display:none}.card{width:min(510px,92vw);text-align:center;padding:25px 28px;border:1px solid #d5efbd24;border-radius:30px;background:linear-gradient(145deg,#0b2936ec,#0b222be3);box-shadow:0 30px 100px #0007}h2{font-weight:500;line-height:1.03;font-size:66px;letter-spacing:-2px;margin:16px 0;color:#ffedc5}p{font-size:17px;line-height:1.5;color:#c5dcd5}#instructions{font:12px/1.9 system-ui;color:#b9cfcd}#instructions span{color:#8eafaf;font-size:11px}#primary{display:block;background:#e6c280;color:#10242a;padding:14px 28px;border:0;margin:20px auto 0;min-width:210px;font-size:14px}.quiet{display:block;margin:10px auto 0;padding:7px 20px}#saved{font:11px system-ui;margin-bottom:0}#controls{position:absolute;inset:auto 0 20px;display:none;pointer-events:none;padding:0 22px;justify-content:space-between;align-items:end}#stick{width:112px;height:112px;border-radius:50%;border:1px solid #c7f5de55;background:#16394270;position:relative;pointer-events:auto;touch-action:none}#stick i{display:block;position:absolute;left:36px;top:36px;width:38px;height:38px;border-radius:50%;background:#c9ead56b;border:1px solid #d6ffe0a6}.actions{display:flex;gap:10px;align-items:end;pointer-events:auto}.actions button{height:67px;width:67px;border-radius:50%;font-size:11px;background:#1f484dd9}.actions #jump{height:78px;width:78px;background:#6c6444db;border-color:#f7d99b88}
@media(pointer:coarse){#controls{display:flex}#hint{bottom:151px;font-size:12px}}
@media(max-width:600px){header{left:16px;right:14px;top:18px}h1{font-size:18px;max-width:225px}small{letter-spacing:2px;font-size:9px}#hud{left:16px;top:91px;gap:8px;font-size:9px}meter{width:74px}#cocoon{max-width:100px}#hint{width:92%;bottom:151px;font-size:12px}#controls{display:flex}h2{font-size:52px}.card{padding:24px 18px}p{font-size:15px}#instructions{font-size:11px}}
@media(max-height:500px){header{top:12px;left:16px}h1{font-size:17px;margin:3px 0}#hud{top:69px;left:16px}h2{font-size:36px;margin:8px 0}p{font-size:13px;margin:8px 0}.card{padding:14px 22px;width:600px;max-width:90vw}#instructions{font-size:10px;line-height:1.5}#primary{margin-top:10px;padding:8px 20px;min-height:40px}#hint{bottom:119px;font-size:11px;padding:4px}#controls{bottom:10px}#stick{width:94px;height:94px}#stick i{left:27px;top:27px}.actions button{width:60px;height:60px}.actions #jump{width:68px;height:68px}}
.card{max-height:calc(100svh - 30px);overflow:auto;touch-action:pan-y;scrollbar-color:#658d7c #102e36}#atlas h2{font-size:39px;letter-spacing:-1px}#atlasProgress{font:12px system-ui;color:#b9cfcd}#levelList{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0;max-height:49svh;overflow:auto;touch-action:pan-y;padding:3px}#levelList button{text-align:left;padding:9px 10px;line-height:1.3;min-height:65px;font-size:11px;background:#1a3b40}#levelList button b{display:block;color:#f5db9f;font-size:12px;margin-bottom:4px}#levelList button:disabled{opacity:.42;cursor:default}#levelList button.done{border-color:#b9d1a878}#levelList button.current{outline:2px solid #e6c280}#choose{border:0;color:#d0dfc7;background:transparent}#beginAgain{font-size:11px;min-height:36px}header>div{max-width:calc(100% - 168px)}
@media(max-width:600px){header>div{max-width:calc(100% - 165px)}header h1{font-size:15px}header small{font-size:8px;letter-spacing:1.5px}#atlas h2{font-size:32px}.card{padding:19px 16px}#levelList{max-height:52svh}#hud{top:106px;gap:6px;letter-spacing:.5px}#cocoon{max-width:130px}}
