:root{--ink: #5a3a33;--paper: #fff7ec;--paper-sh: #e3cbb0;--green: #8fd65c;--green-sh: #5ea83a;--purple: #b48cf0;--purple-sh: #8a63c9;--pink: #ff8fa8;--font: "Huninn", "Fredoka", "PingFang TC", "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", "Microsoft JhengHei", sans-serif;--safe-t: env(safe-area-inset-top, 0px);--safe-b: env(safe-area-inset-bottom, 0px);--safe-l: env(safe-area-inset-left, 0px);--safe-r: env(safe-area-inset-right, 0px);--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.4 0 0 0 0 0.35 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#ffdfe9;font-family:var(--font);color:var(--ink);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}#app{position:fixed;inset:0}#c{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;outline:none}#ui{position:absolute;inset:0;pointer-events:none}#ui button,#ui .card,#ui .pill,#ui .panel{pointer-events:auto}.hidden{display:none!important}.clay{--bg: var(--paper);--fg: var(--ink);--sh: var(--paper-sh);position:relative;font:inherit;font-size:19px;color:var(--fg);background:radial-gradient(120% 90% at 28% 18%,#fff9,#fff0 52%),var(--bg);border:none;border-radius:22px;padding:11px 22px;box-shadow:inset 0 -6px #0000001c,inset 0 3px #ffffff8c,0 6px 0 var(--sh),0 12px 18px #5a2d233d;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:transform .09s ease,box-shadow .09s ease,filter .15s;overflow:hidden}.clay:after{content:"";position:absolute;inset:0;background:var(--grain);opacity:.35;mix-blend-mode:soft-light;pointer-events:none;border-radius:inherit}.clay svg{width:22px;height:22px;flex:none}.clay:hover{filter:brightness(1.04) saturate(1.05)}.clay:active{transform:translateY(4px);box-shadow:inset 0 -4px #0000001c,inset 0 3px #ffffff80,0 2px 0 var(--sh),0 5px 10px #5a2d2333}.clay.green{--bg: var(--green);--sh: var(--green-sh);--fg: #fff;text-shadow:0 2px 0 rgba(55,110,30,.45)}.clay.purple{--bg: var(--purple);--sh: var(--purple-sh);--fg: #fff;text-shadow:0 2px 0 rgba(90,55,140,.45)}.clay.big{font-size:30px;padding:16px 40px;border-radius:30px}.clay.big svg{width:30px;height:30px}.clay.round{width:52px;height:52px;padding:0;border-radius:50%}.clay.round svg{width:26px;height:26px}.clay.round.small{width:44px;height:44px}.clay.round.small svg{width:22px;height:22px}.clay.off{--fg: #b9a597}.screen{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}#title{justify-content:flex-start;padding-top:calc(7vh + var(--safe-t));gap:14px}.logo{display:flex;gap:.02em;line-height:1.05;pointer-events:none}.logo span{display:inline-block;font-size:clamp(46px,9.5vw,116px);color:var(--c);-webkit-text-stroke:.15em #fff;paint-order:stroke fill;text-shadow:0 .05em 0 color-mix(in srgb,var(--c),#5a2a20 30%),0 .09em 0 color-mix(in srgb,var(--c),#5a2a20 45%),0 .16em .2em rgba(90,40,30,.35);filter:saturate(1.25);animation:bob 2.8s ease-in-out infinite;animation-delay:var(--d)}.logo span:nth-child(2){margin:0 -.12em}@keyframes bob{0%,to{translate:0 0;rotate:-2deg}50%{translate:0 -.06em;rotate:2deg}}.tagline{font-size:clamp(15px,2.2vw,22px);background:#fffaf2e6;padding:8px 18px;border-radius:999px;box-shadow:0 4px #e3cbb0e6,0 8px 14px #5a2d2326;text-align:center;margin:0 16px}.title-btns{margin-top:auto;margin-bottom:calc(4vh + 34px + var(--safe-b));display:flex;gap:18px;align-items:center;flex-wrap:wrap;justify-content:center;pointer-events:auto}.title-foot{position:absolute;left:calc(16px + var(--safe-l));bottom:calc(14px + var(--safe-b));display:flex;align-items:center;gap:10px}.credit{position:absolute;left:50%;bottom:calc(12px + var(--safe-b));transform:translate(-50%);font-size:13px;letter-spacing:.06em;white-space:nowrap;opacity:.75;background:#fffaf2c7;padding:4px 12px;border-radius:999px;pointer-events:none}@media(max-width:640px){.credit{left:auto;right:calc(14px + var(--safe-r));transform:none}}.title-tr{position:absolute;right:calc(14px + var(--safe-r));top:calc(14px + var(--safe-t));display:flex;flex-direction:column;gap:12px;pointer-events:auto}.clay.pill-btn{font-size:16px;padding:8px 16px 8px 12px;border-radius:18px}.clay.pill-btn svg{width:22px;height:22px}@media(max-width:640px){.title-tr{top:auto;bottom:calc(64px + var(--safe-b));flex-direction:row}}#shop{align-items:flex-end;padding-right:calc(16px + var(--safe-r))}.shop-panel{width:min(420px,calc(100vw - 32px));gap:12px;padding:18px 18px 22px}.shop-head{display:flex;width:100%;align-items:center;justify-content:space-between}.shop-head .panel-title{font-size:24px}.wallet{display:flex;align-items:center;gap:4px;font-family:"Fredoka",var(--font);font-size:22px}.wallet svg{width:36px;height:23px}.shop-body{display:flex;flex-direction:column;gap:10px;width:100%}.slot-name{font-size:14px;opacity:.7;margin:0 0 4px 4px}.slot-items{display:flex;flex-wrap:wrap;gap:8px}.shop-item{font:inherit;color:var(--ink);border:none;cursor:pointer;display:flex;align-items:center;gap:6px;padding:6px 10px 6px 7px;border-radius:14px;background:#f6ead9;box-shadow:inset 0 -3px #00000012,0 3px #dcc3a5}.shop-item .sw{display:flex}.shop-item .sw i{width:14px;height:14px;border-radius:50%;margin-left:-4px;border:2px solid #fff;box-shadow:0 1px 2px #00000026}.shop-item .sw i:first-child{margin-left:0}.shop-item .nm{font-size:14px}.shop-item .pr{font-size:12px;display:flex;align-items:center;gap:1px;opacity:.8;font-family:"Fredoka",var(--font)}.shop-item .pr svg{width:20px;height:13px}.shop-item.owned{background:#fff7ec}.shop-item.on{background:#ffd36b;box-shadow:inset 0 -3px #00000014,0 3px #dfa93a}.shop-item.poor{opacity:.55}@media(max-height:520px){.shop-panel{max-height:calc(100vh - 20px);padding:12px 14px 16px;gap:8px}.shop-body{gap:6px}.shop-item{padding:4px 8px 4px 6px}}.panel{position:relative;background:radial-gradient(120% 70% at 25% 0%,#ffffffb3,#fff0 60%),var(--paper);border-radius:34px;padding:26px 26px 30px;box-shadow:inset 0 -8px #0000000f,0 9px 0 var(--paper-sh),0 22px 40px #5a2d234d;display:flex;flex-direction:column;align-items:center;gap:18px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);overflow:auto}.panel:after{content:"";position:absolute;inset:0;background:var(--grain);opacity:.3;mix-blend-mode:soft-light;border-radius:inherit;pointer-events:none}.panel-title{font-size:30px}.panel-btns{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}#ui.levels-open .hud,#ui.levels-open .coach-layer,#ui.levels-open .cat-layer,#ui.levels-open .gauge{display:none}.chapter-tabs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:center;margin-top:-6px}.ch-tab{font:inherit;color:var(--ink);border:none;cursor:pointer;display:flex;flex-direction:column;align-items:center;line-height:1.15;padding:6px 14px 7px;border-radius:16px;background:#f3e4d2;box-shadow:inset 0 -4px #00000012,0 4px #dcc3a5}.ch-tab b{font-weight:400;font-size:13px;opacity:.7}.ch-tab span{font-size:16px;display:flex;align-items:center;gap:4px}.ch-tab.on{background:#ffd36b;box-shadow:inset 0 -4px #00000014,0 4px #dfa93a}.ch-tab.locked{opacity:.75}.ch-tab svg{width:18px;height:18px}.ch-tab i{font-style:normal;display:flex;align-items:center;gap:2px}.ch-tab i svg{width:24px;height:15px}.fish-total{display:flex;align-items:center;gap:4px;font-family:"Fredoka",var(--font);font-size:20px;margin-left:4px}.fish-total svg{width:34px;height:22px}.level-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}@media(max-width:900px){.level-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.lv-card{font:inherit;color:var(--ink);width:168px;min-height:150px;border:none;border-radius:24px;background:radial-gradient(120% 80% at 30% 10%,#ffffffa6,#fff0 55%),bisque;box-shadow:inset 0 -6px #00000014,0 6px #e0bf98,0 10px 16px #5a2d232e;display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 8px 12px;cursor:pointer;transition:transform .09s}.lv-card:nth-child(6n+2){background-color:#d7f0c2}.lv-card:nth-child(6n+3){background-color:#d3e8ff}.lv-card:nth-child(6n+4){background-color:#f4dcff}.lv-card:nth-child(6n+5){background-color:#ffe2ea}.lv-card:nth-child(6n+6){background-color:#fff2bf}.lv-card:active{transform:translateY(4px)}.lv-card.cur{outline:4px solid #fff;outline-offset:-2px}.lv-card.locked{filter:grayscale(.7) brightness(.95);cursor:default;opacity:.7}.lv-num{font-family:"Fredoka",var(--font);font-size:40px;font-weight:700;line-height:1.1;color:#fff;-webkit-text-stroke:7px var(--ink);paint-order:stroke fill}.lv-num svg{width:34px;height:34px;color:#9c8577;margin:6px 0}.lv-t{font-size:14px;opacity:.75}.lv-s{font-size:21px}.lv-fish{display:flex;gap:3px;margin-top:4px;min-height:18px}.lv-fish svg{width:26px;height:17px}.lv-card.done .lv-num{color:var(--green)}.hud{position:absolute;inset:0;pointer-events:none}.pill{background:radial-gradient(120% 90% at 30% 15%,#ffffffb3,#fff0 55%),var(--paper);border-radius:999px;box-shadow:inset 0 -5px #00000012,0 5px 0 var(--paper-sh),0 10px 16px #5a2d232e;display:flex;align-items:center;gap:10px}.hud-tl{position:absolute;left:calc(14px + var(--safe-l));top:calc(14px + var(--safe-t));padding:6px 20px 6px 6px;font-size:19px}.face{width:48px;height:48px;border-radius:50%;background:#cdb8f5;display:grid;place-items:center;box-shadow:inset 0 -4px #0000001f,inset 0 3px #fff6}.face svg{width:40px;height:40px}.hud-tc{position:absolute;left:50%;top:calc(14px + var(--safe-t));transform:translate(-50%);padding:8px 16px;gap:6px}.fishbar .fi svg{width:40px;height:26px;display:block}.fishbar .fi.got svg{filter:drop-shadow(0 2px 0 rgba(200,100,30,.35))}.fishbar.bump{animation:bump .45s cubic-bezier(.3,1.8,.5,1)}@keyframes bump{0%{scale:1.25}to{scale:1}}.hud-tr{position:absolute;right:calc(14px + var(--safe-r));top:calc(14px + var(--safe-t));display:flex;gap:12px}.card{background:radial-gradient(120% 90% at 30% 10%,#ffffffbf,#fff0 55%),var(--paper);border-radius:24px;box-shadow:inset 0 -5px #0000000f,0 5px 0 var(--paper-sh),0 10px 18px #5a2d2333}.hud-bl{position:absolute;left:calc(14px + var(--safe-l));bottom:calc(14px + var(--safe-b));max-width:min(340px,42vw,calc(100vw - 28px));padding:12px 16px;display:flex;gap:12px;align-items:center;cursor:pointer;transition:max-width .3s}.hint-text{font-size:15px;line-height:1.45;flex:1 1 190px;min-width:min(190px,100%)}.hud-bl{flex-wrap:wrap}.hud-bl.folded .hint-text{display:none}.hud-bl{transition:max-width .3s,opacity .35s,translate .35s}.hint-q{display:none;position:absolute;right:-8px;top:-8px;width:26px;height:26px;border-radius:50%;place-items:center;background:#fff;color:var(--ink);font-family:"Fredoka",var(--font);font-weight:700;font-size:16px;box-shadow:0 3px 0 var(--paper-sh),0 4px 8px #5a2d2333;animation:qbob 2.4s ease-in-out infinite}.hud-bl.folded .hint-q{display:grid}@keyframes qbob{0%,to{translate:0 0}50%{translate:0 -3px}}.hud.winning .hud-bl{opacity:0;translate:0 24px;pointer-events:none}.verbs{display:flex;gap:8px;flex:none}.verb{width:54px;height:54px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-size:15px;line-height:1;box-shadow:inset 0 -4px #00000024,inset 0 3px #ffffff59}.verb svg{width:24px;height:24px}.verb b{font-weight:400;margin-top:2px}.v-press{background:#f3867b}.v-stretch{background:#f2b83c}.v-knead{background:#a98be6}.v-push{background:#7cc7a0}.v-water{background:#6fb8e6}.bubble{position:absolute;left:0;top:0;background:#fff;color:var(--ink);padding:8px 16px;border-radius:20px;font-size:19px;white-space:nowrap;box-shadow:0 4px #ead9c6,0 9px 16px #5a2d2338;pointer-events:none;transform-origin:50% 100%;transition:opacity .2s}.bubble:after{content:"";position:absolute;left:50%;bottom:-11px;margin-left:-10px;border:10px solid transparent;border-top-color:#fff;border-bottom:0}.bubble.pop{animation:pop .38s cubic-bezier(.3,1.7,.5,1)}@keyframes pop{0%{scale:.3}to{scale:1}}.zzz{position:absolute;left:0;top:0;pointer-events:none;font-family:"Fredoka",var(--font);font-weight:700;color:#8d7bd9;-webkit-text-stroke:5px #fff;paint-order:stroke fill}.zzz span{position:absolute;font-size:30px;animation:zz 2.6s ease-in infinite;opacity:0}.zzz span:nth-child(2){animation-delay:.85s;font-size:24px}.zzz span:nth-child(3){animation-delay:1.7s;font-size:20px}@keyframes zz{0%{opacity:0;translate:0 0;rotate:-10deg}20%{opacity:1}to{opacity:0;translate:34px -70px;rotate:14deg}}.toast{position:absolute;left:50%;bottom:calc(22px + var(--safe-b));transform:translate(-50%);background:#5a3a33e0;color:#fff;padding:9px 18px;border-radius:999px;font-size:17px}.coach{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;--dx: 80px;--dy: 0px}.coach .ring{position:absolute;left:-17px;top:-17px;width:34px;height:34px;border-radius:50%;border:4px solid #fff;box-shadow:0 0 0 3px #5a3a3340,0 3px 8px #5a2d234d;animation:ring 1.4s ease-out infinite}@keyframes ring{0%{scale:.5;opacity:.95}to{scale:1.5;opacity:0}}.coach .chip{position:absolute;left:0;bottom:58px;translate:-50% 0;display:flex;align-items:center;gap:6px;padding:6px 14px 6px 10px;border-radius:999px;color:#fff;font-size:17px;white-space:nowrap;box-shadow:inset 0 -4px #00000024,inset 0 3px #ffffff4d,0 6px 12px #5a2d2338}.coach .chip svg{width:22px;height:22px}.coach .chip b{font-weight:400}.coach.c-press .chip{background:#f3867b}.coach.c-stretch .chip{background:#eeac2b}.coach.c-knead .chip{background:#a98be6}.coach.c-push .chip{background:#6cbf93}.coach.c-water .chip{background:#5fb0e3}.c-push .hand{animation:hstretch 1.8s ease-in-out infinite}.c-water .hand{animation:hpress 1.1s ease-in-out infinite}.coach.c-note .chip{background:#e9776c;bottom:auto;top:22px;font-size:15px}.coach.c-note .hand,.coach.c-note .ring{display:none}.coach.pos-up .chip{inset:auto auto 58px 0;translate:calc(-50% + var(--shift, 0px)) 0}.coach.pos-down .chip{inset:26px auto auto 0;translate:calc(-50% + var(--shift, 0px)) 0}.coach.pos-right .chip{inset:-20px auto auto 34px;translate:var(--shift, 0px) -50%}.coach.pos-left .chip{inset:-20px 34px auto auto;translate:var(--shift, 0px) -50%}.coach .hand{position:absolute;left:-21px;top:-40px;width:46px;height:46px;filter:drop-shadow(0 4px 4px rgba(90,45,35,.3))}.coach .hand svg{width:100%;height:100%;display:block}.c-press .hand{animation:hpress 1.3s ease-in-out infinite}.c-stretch .hand{animation:hstretch 1.8s ease-in-out infinite}.c-knead .hand{animation:hknead 1.2s linear infinite}@keyframes hpress{0%,to{translate:0 -14px}45%,60%{translate:0 4px}}@keyframes hstretch{0%{translate:0 0;opacity:0}12%{opacity:1;translate:0 0}75%{opacity:1;translate:var(--dx) var(--dy)}to{opacity:0;translate:var(--dx) var(--dy)}}@keyframes hknead{0%{translate:14px 0}12.5%{translate:10px 10px}25%{translate:0 14px}37.5%{translate:-10px 10px}50%{translate:-14px 0}62.5%{translate:-10px -10px}75%{translate:0 -14px}87.5%{translate:10px -10px}to{translate:14px 0}}.gauge{position:absolute;left:0;top:0;width:62px;height:62px;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(90,45,35,.28))}.gauge svg{width:100%;height:100%;rotate:-90deg}.gauge circle{fill:none;stroke-linecap:round}.gauge .g-bg{fill:#fffaf2eb;stroke:#fffffff2;stroke-width:9}.gauge .g-fill{stroke:#a98be6;stroke-width:7;transition:stroke .2s}.gauge .g-need{stroke:#5a3a33;stroke-width:13;stroke-linecap:butt;opacity:.55}.gauge.ok .g-fill{stroke:#7fcf55}.gauge .g-ico{position:absolute;inset:0;display:grid;place-items:center}.gauge .g-ico svg{width:30px;height:30px;rotate:0deg}.gauge.ok{animation:pop .35s cubic-bezier(.3,1.7,.5,1)}#editor{pointer-events:auto;background:#ffdfe959}.ed-panel{width:min(1100px,calc(100vw - 24px));max-height:calc(100vh - 20px);padding:14px 16px 18px;gap:10px}.ed-top{display:flex;align-items:center;gap:12px;width:100%;flex-wrap:wrap}.ed-top .panel-title{font-size:24px}.ed-name{font:inherit;font-size:17px;color:var(--ink);border:none;border-radius:12px;padding:6px 12px;background:#fff;box-shadow:inset 0 2px #00000014;width:11em}.ed-brush{display:flex;align-items:center;gap:6px;font-size:14px}.ed-brush .mk{width:24px;height:24px;border-radius:7px;background:var(--bg);color:var(--fg);display:grid;place-items:center}.ed-size{display:flex;gap:6px;margin-left:auto}.ed-mini{font:inherit;font-size:13px;border:none;border-radius:10px;padding:5px 9px;background:#f3e4d2;color:var(--ink);box-shadow:0 3px #dcc3a5;cursor:pointer}.ed-main{display:flex;gap:14px;width:100%;min-height:0;flex:1}.ed-palette{display:flex;flex-direction:column;gap:6px;width:290px;flex:none;overflow:auto}.pal-name{font-size:12px;opacity:.65;margin-left:2px}.pal-items{display:flex;flex-wrap:wrap;gap:5px}.pal-tile{font:inherit;border:none;cursor:pointer;display:flex;align-items:center;gap:5px;padding:3px 8px 3px 3px;border-radius:10px;background:#f6ead9;color:var(--ink);font-size:12px;box-shadow:0 2px #dcc3a5}.pal-tile .mk{width:22px;height:22px;border-radius:7px;background:var(--bg);color:var(--fg);display:grid;place-items:center;font-size:14px}.pal-tile.on{background:#ffd36b;box-shadow:0 2px #dfa93a;outline:2px solid #fff}.mk svg{width:20px;height:13px}.ed-gridwrap{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}.ed-grid{display:grid;gap:2px;width:min(100%,calc((100vh - 190px)*1.6));max-height:calc(100vh - 190px);background:#c9a678;padding:4px;border-radius:12px;touch-action:none}.ed-cell{background:var(--bg);color:var(--fg);border-radius:5px;display:grid;place-items:center;font-size:clamp(10px,2.2vw,20px);aspect-ratio:1;cursor:crosshair;-webkit-user-select:none;user-select:none}.ed-cell .mk{display:grid;place-items:center}.ed-cell .mk svg{width:70%;height:auto}.ed-msg{font-size:14px;color:#3f8a2c}.ed-msg.bad{color:#c2453a}.ed-btns{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}@media(max-height:520px){.ed-panel{padding:8px 10px 10px;gap:6px}.ed-top .panel-title{font-size:18px}.ed-palette{width:230px}.pal-tile span{display:none}.pal-tile{padding:3px}.ed-grid{width:min(100%,calc((100vh - 130px)*1.6));max-height:calc(100vh - 130px)}.ed-btns .clay{padding:7px 14px;font-size:16px}}@media(max-width:640px){.ed-main{flex-direction:column}.ed-palette{width:100%;max-height:30vh}}.win-code{display:flex;flex-direction:column;gap:6px;align-items:center;max-width:min(520px,86vw)}.code-note{font-size:14px;text-align:center}.code-row{display:flex;gap:8px;width:100%}.code-box{flex:1;min-width:0;font:13px/1.2 ui-monospace,Menlo,monospace;border:none;border-radius:10px;padding:8px 10px;background:#fff;color:var(--ink);box-shadow:inset 0 2px #00000014}.clay.small-btn{font-size:15px;padding:6px 14px;border-radius:14px}#win{background:radial-gradient(circle at 50% 70%,#ffdfe900 30%,#ffdfe959)}.win-card{margin-top:auto;margin-bottom:calc(3vh + var(--safe-b));padding:18px 22px 22px;gap:12px;animation:rise .6s cubic-bezier(.25,1.4,.5,1);pointer-events:auto}@keyframes rise{0%{translate:0 60px;opacity:0}to{translate:0 0;opacity:1}}.win-title{font-size:clamp(28px,4.6vw,44px);color:#ff7a8a;-webkit-text-stroke:.16em #fff;paint-order:stroke fill;text-shadow:0 5px 10px rgba(90,45,35,.2)}.win-sub{font-size:17px;opacity:.75;margin-top:-10px}.win-fish{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px}.win-fish .fi svg{width:56px;height:36px}.win-fish .fi.got{animation:pop .5s cubic-bezier(.3,1.7,.5,1) both;animation-delay:var(--d)}.fish-note{width:100%;text-align:center;font-size:16px}.win-btns{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}@media(max-width:640px){.level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lv-card{width:140px;min-height:132px}.hud-tl{font-size:15px;padding-right:14px}.face{width:38px;height:38px}.face svg{width:31px;height:31px}.hud-tc{top:calc(74px + var(--safe-t))}.clay.round{width:44px;height:44px}.clay.round svg{width:22px;height:22px}.hud-tr{gap:8px}.clay.big{font-size:24px;padding:13px 30px}.bubble{font-size:16px}}@media(max-height:520px){#title{padding-top:calc(3vh + var(--safe-t));gap:8px}.logo span{font-size:clamp(36px,12vh,80px)}.title-btns{margin-bottom:calc(2vh + 34px + var(--safe-b))}.lv-card{min-height:96px;width:112px;padding:6px 4px 8px}.lv-num{font-size:30px}.lv-s{font-size:17px}.level-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.chapter-tabs{gap:6px}.ch-tab{padding:4px 10px 5px}.ch-tab span{font-size:14px}.panel-title{font-size:22px}.panel{padding:16px;gap:10px}.hud-bl .hint-text{font-size:14px}.hud-bl{padding:9px 12px;gap:8px}.verb{width:44px;height:44px;border-radius:14px;font-size:13px}.verb svg{width:20px;height:20px}.verbs{gap:6px}}
