*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:ui-rounded,"Avenir Next",system-ui,sans-serif;color:#244b4a;background:#d6f6e7}button,a,summary{-webkit-tap-highlight-color:transparent}button{font:inherit;font-weight:750;cursor:pointer;border:1px solid #afc9c5;background:#f8fffa;color:#244b4a;border-radius:16px;min-height:48px;padding:10px 16px;touch-action:manipulation;box-shadow:0 3px 0 #193d3612}button:hover:not(:disabled){background:#e2fff0}button:focus-visible,a:focus-visible,summary:focus-visible,#stick:focus-visible{outline:3px solid #8c5be2;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.42;box-shadow:none}[hidden]{display:none!important}#app{width:100%;height:100%;position:relative;isolation:isolate}#world{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}header{position:absolute;z-index:4;top:max(12px,env(safe-area-inset-top));left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.brand{font-size:18px;letter-spacing:2px;text-decoration:none;color:#244b4a;font-weight:900;text-shadow:0 1px 4px white;pointer-events:auto}.brand b{color:#cf695c}nav{display:flex;gap:8px;pointer-events:auto}nav button{width:48px;padding:8px;font-size:22px;background:#fafff4e8}.panel{position:absolute;z-index:5;background:#fafff7ed;border:1px solid #fff;border-radius:28px;padding:28px;box-shadow:0 18px 90px #345b4930;backdrop-filter:blur(14px);max-height:calc(100% - 94px);overflow-y:auto;overscroll-behavior:contain}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:850;color:#607c72}#menu{left:5%;top:84px;width:420px}h1{font-size:54px;letter-spacing:-3px;margin:8px 0;line-height:1.05}h1 em{font-style:normal;color:#da796f}.jelly-mark{display:inline-block;font-size:46px;color:#b9a0e4;transform:rotate(-20deg);margin-left:16px;text-shadow:3px 4px 0 #98d4b8}.intro{font-size:15px;line-height:1.45;margin:12px 0;color:#55786d}.shape-guide{display:flex;gap:8px;margin:18px 0}.shape-guide>span{flex:1;display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:#def4e7;border-radius:14px;padding:10px;font-size:22px}.shape-guide>span:nth-child(2){background:#f9ded4}.shape-guide>span:nth-child(3){background:#e9dff7}.shape-guide b{font-size:12px}.shape-guide small{width:100%;font-size:9px;letter-spacing:1px}.picker-heading{font-size:14px;display:flex;justify-content:space-between;align-items:center;margin:8px 0}.picker-heading small{font-size:11px;font-weight:500}#levels{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;max-height:218px;overflow-y:auto;padding:3px 3px 6px}#levels button{border-radius:11px;padding:9px 0;min-height:44px;font-size:14px;position:relative}#levels button.selected{background:#305e54;color:#fff;border-color:#305e54}#levels button.finished::after{content:"·";color:#dc8675;position:absolute;right:7px;top:4px}#brief{font-size:12px;min-height:34px;line-height:1.4;margin:10px 0}.primary{width:100%;background:#cf7667;color:white;border-color:#bf6a5d;border-radius:14px}.primary:hover:not(:disabled){background:#bf695c}details{font-size:12px;line-height:1.6;margin-top:12px}summary{cursor:pointer;min-height:32px;padding:6px 0}details p{margin:8px 0}#save-status{display:block;font-size:10px;color:#658475;margin-top:8px}#hud{position:absolute;z-index:3;left:20px;top:80px;width:min(380px,calc(100% - 40px));pointer-events:none}.hud-title{display:flex;justify-content:space-between;gap:12px;font-size:13px;text-shadow:0 1px 4px white;margin-bottom:8px}.task{display:flex;gap:12px;align-items:center;border:1px solid #fff;background:#fafff5e8;border-radius:18px;padding:10px 12px;box-shadow:0 5px 20px #244b4a12}#task-icon{font-size:30px;color:#d17365;width:36px;text-align:center}.task strong{display:block;font-size:13px;line-height:1.3}.task small{display:block;font-size:10px;margin-top:3px;color:#59776e}#pollen{margin-left:auto;white-space:nowrap;font-size:13px}#notice{font-size:12px;min-height:25px;margin-top:8px;background:#fafff7de;border-radius:12px;padding:5px 10px;width:fit-content;max-width:100%}#notice:empty{visibility:hidden}#controls{position:absolute;z-index:4;bottom:max(18px,env(safe-area-inset-bottom));left:22px;right:22px;display:flex;justify-content:space-between;align-items:flex-end;gap:10px;pointer-events:none}#stick{width:116px;height:116px;flex-shrink:0;border-radius:50%;border:2px solid #fff;background:#f7fff2b8;box-shadow:0 8px 35px #285b4325;position:relative;pointer-events:auto;touch-action:none;user-select:none}#stick span{position:absolute;bottom:10px;width:100%;text-align:center;font-size:9px;letter-spacing:1.5px;font-weight:800;color:#658475}#stick i{position:absolute;width:50px;height:50px;background:#8bc2aa;border:3px solid #e4f8db;border-radius:50%;top:31px;left:31px;box-shadow:0 4px 8px #365f4825;pointer-events:none}.actions{display:flex;flex-direction:column;gap:8px;align-items:stretch;width:228px;pointer-events:auto}.forms{display:flex;gap:6px}.forms button{min-width:0;flex:1;padding:6px 4px;min-height:66px;display:flex;flex-direction:column;align-items:center;font-size:11px;border-radius:16px}.forms button span{font-size:21px;line-height:24px}.forms button small{font-size:8px;opacity:.6}.forms button[aria-pressed=true]{background:#dcf1e3;border-color:#467563;box-shadow:0 0 0 2px #46756345}#cube[aria-pressed=true]{background:#f6ded2;border-color:#bc7961}#disc[aria-pressed=true]{background:#e6dcf2;border-color:#9274b1}#jump{background:#e9dff5;border-color:#b9a0d8;font-size:13px;min-height:46px}#jump small{font-size:9px;opacity:.65;margin-left:6px}.modal{left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100% - 32px));text-align:center}.modal h2{font-size:30px;letter-spacing:-1px}.modal p{font-size:14px;line-height:1.6}.modal-actions{display:flex;gap:8px;margin-top:10px}.modal-actions button{flex:1;font-size:12px}#failure{position:absolute;z-index:10;background:#fff;padding:30px;left:10%;right:10%;top:30%}
.brand{display:inline-flex;align-items:center;gap:5px;min-height:48px}summary{min-height:44px}
@media(pointer:fine){#stick{opacity:.6}#stick::before{content:"WASD / ↑←↓→";position:absolute;top:-24px;left:0;width:150px;font-size:11px;font-weight:800;text-shadow:0 1px 3px white}}
@media(max-width:600px){header{left:14px;right:14px;top:max(10px,env(safe-area-inset-top))}.brand{font-size:15px}#menu{left:12px;right:12px;top:74px;width:auto;padding:20px;max-height:calc(100% - 88px)}h1{font-size:44px}.eyebrow{font-size:8px}.intro{font-size:13px;margin:8px 0}.shape-guide{margin:12px 0}.shape-guide>span{padding:8px}.shape-guide b{font-size:11px}#levels{max-height:158px;gap:5px}#brief{font-size:11px}#hud{left:14px;top:73px;width:calc(100% - 28px)}.hud-title{font-size:11px}.task{padding:8px 10px;gap:8px}.task strong{font-size:12px}#notice{font-size:11px}#controls{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));gap:8px}#stick{width:94px;height:94px}#stick i{width:44px;height:44px;top:23px;left:23px}.actions{width:210px}.forms button{min-height:60px}.forms button small{display:none}.forms button span{line-height:25px}#jump small{display:none}}
@media(max-height:480px) and (min-width:601px){header{top:8px;left:14px;right:14px}.brand{font-size:15px}nav button{min-height:44px;width:44px}#menu{top:62px;left:18px;width:410px;padding:18px;max-height:calc(100% - 74px)}h1{font-size:36px}.intro{display:none}.shape-guide{margin:8px 0;padding:0}.shape-guide>span{padding:6px}.shape-guide small{display:none}#levels{max-height:102px}#hud{left:14px;top:61px;width:315px}.task{padding:7px 10px}.task strong{font-size:11px}#notice{font-size:10px}#controls{bottom:10px;left:14px;right:14px}#stick{width:90px;height:90px}#stick i{width:42px;height:42px;top:22px;left:22px}.actions{width:215px}.forms button{min-height:54px}.forms button small{display:none}#jump{min-height:44px}.panel.modal{max-height:calc(100% - 30px);padding:22px}.modal h2{font-size:26px;margin:12px 0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
