:root{--ink:#4a2c4f;--ink-soft:#8a6a8e;--pink:#ff6f9f;--pink-deep:#e2477e;--mint:#5ee6c4;--cream:#fff8f2;--gold:#ffc929;--card:#fffcfaf5;--shadow:0 10px 30px #78285a2e;color:var(--ink);-webkit-tap-highlight-color:transparent;font-family:Fredoka,ui-rounded,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{overscroll-behavior:none;touch-action:none;-webkit-user-select:none;user-select:none;background:#ffd6e7;height:100%;margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer}.app{flex-direction:column;height:100%;display:flex}.ad-strip{z-index:2;box-sizing:content-box;height:50px;padding-top:env(safe-area-inset-top);background:#fff0f6;flex-shrink:0;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}@media (width>=768px){.ad-strip{height:90px}}.stage{z-index:1;flex:1;min-height:0;position:relative;overflow:hidden}.btn{color:var(--ink);background:#fff;border:none;border-radius:999px;padding:14px 26px;font-size:18px;font-weight:600;transition:transform .12s,box-shadow .12s;box-shadow:0 4px #f0c9da,0 8px 18px #78285a1f}.btn:active{transform:translateY(3px);box-shadow:0 1px #f0c9da,0 4px 10px #78285a1f}.btn.primary{background:linear-gradient(180deg, #ff8db5, var(--pink));color:#fff;box-shadow:0 5px 0 var(--pink-deep), 0 10px 22px #e2477e59;text-shadow:0 1px #9614464d}.btn.primary:active{box-shadow:0 2px 0 var(--pink-deep), 0 5px 12px #e2477e4d}.btn.ghost{box-shadow:none;color:var(--ink-soft);background:0 0}.btn.big{padding:18px 64px;font-size:26px}.btn:focus-visible,.hud-btn:focus-visible,.lvl:focus-visible,.toggle:focus-visible{outline:3px solid var(--mint);outline-offset:3px}.toggles{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.toggle{color:var(--ink-soft);background:#fff;border:2px solid #f3d3e1;border-radius:999px;align-items:center;gap:8px;padding:8px 16px;font-size:15px;font-weight:500;display:inline-flex}.toggle.on{border-color:var(--mint);color:var(--ink);background:#eafff9}.toggles.small .toggle{padding:10px}.icon-line{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.icon-star{fill:currentColor;stroke:#00000014;stroke-width:1px;stroke-linejoin:round;width:1em;height:1em}.icon-gum{width:1.1em;height:1.1em;fill:var(--pink)}.title{padding:24px 16px calc(24px + env(safe-area-inset-bottom));text-align:center;background:radial-gradient(circle at 20% 15%,#ffffffb3,#0000 40%),radial-gradient(circle at 85% 80%,#b4f0ff99,#0000 45%),linear-gradient(170deg,#ffe3ef 0%,#ffd0e4 45%,#d9f3ff 100%);flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:absolute;inset:0;overflow:hidden}.title-bubbles span{background:radial-gradient(circle at 35% 30%,#fff,#fff3 45%,#ff96c840);border-radius:50%;width:38px;height:38px;animation:linear infinite rise;position:absolute;bottom:-60px}.title-bubbles span:nth-child(3n){background:radial-gradient(circle at 35% 30%,#fff,#96f0dc66);width:22px;height:22px}.title-bubbles span:nth-child(4n){width:54px;height:54px}@keyframes rise{to{transform:translateY(-120vh)translate(30px)}}.client-logo{max-width:110px;max-height:48px;position:absolute;top:14px;left:14px}.logo{letter-spacing:1px;margin:0;font-size:clamp(56px,15vw,110px);font-weight:700;line-height:1;position:relative}.logo span{color:#fff;-webkit-text-stroke:3px var(--pink);paint-order:stroke fill;text-shadow:0 5px 0 var(--pink-deep), 0 10px 20px #e2477e59;animation:2.4s ease-in-out infinite bob;display:inline-block}.logo span:nth-child(3n+1){-webkit-text-stroke-color:#33c9a5;text-shadow:0 5px #1fa585,0 10px 20px #1ea0824d}.logo span:nth-child(3n+2){-webkit-text-stroke-color:#ffae2b;text-shadow:0 5px #e68a00,0 10px 20px #e68c004d}@keyframes bob{0%,to{transform:translateY(0)scale(1)}40%{transform:translateY(-8px)scale(.96,1.05)}60%{transform:translateY(0)scale(1.05,.95)}}.tagline{color:var(--ink-soft);margin:0;font-size:18px;font-weight:500}.mascot{transform-origin:50% 92%;width:min(170px,38vw);margin:6px 0 10px;animation:1.6s ease-in-out infinite squish}@keyframes squish{0%,to{transform:scale(1)translateY(0)}30%{transform:scale(1.08,.9)translateY(0)}55%{transform:scale(.94,1.08)translateY(-18px)}80%{transform:scale(1.02,.98)translateY(0)}}.title-progress{color:#d49a00;align-items:center;gap:6px;margin:0;font-weight:600;display:flex}.levels{background:linear-gradient(#ffe7f1,#e4f6ff);flex-direction:column;display:flex;position:absolute;inset:0}.levels-head{align-items:center;gap:12px;padding:12px 16px;display:flex}.levels-head h2{color:var(--pink-deep);flex:1;margin:0;font-size:26px;font-weight:700}.levels-list{touch-action:pan-y;padding:4px 16px calc(24px + env(safe-area-inset-bottom));flex-direction:column;flex:1;align-items:center;gap:16px;display:flex;overflow-y:auto}.world{width:100%;max-width:760px;box-shadow:var(--shadow);border-radius:26px;padding:14px}.world-meadow{background:linear-gradient(160deg,#c8f7d8,#ffd6e4)}.world-peaks{background:linear-gradient(160deg,#e5e9ff,#cde8ff)}.world-caverns{color:#fed;background:linear-gradient(160deg,#8a5a44,#5c3426)}.world-clouds{background:linear-gradient(160deg,#d4ecff,#ffe0f3)}.world-head{flex-wrap:wrap;align-items:baseline;gap:10px;margin:2px 6px 12px;display:flex}.world-head h3{flex:1;margin:0;font-size:21px;font-weight:700}.world-num{text-transform:uppercase;letter-spacing:1px;opacity:.7;font-size:13px;font-weight:600}.world-stars{color:#d49a00;align-items:center;gap:4px;font-weight:600;display:inline-flex}.world-caverns .world-stars{color:var(--gold)}.world-levels{grid-template-columns:repeat(5,1fr);gap:10px;display:grid}@media (width<=560px){.world-levels{grid-template-columns:repeat(3,1fr)}}.lvl{color:var(--ink);background:#ffffffeb;border:none;border-radius:18px;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:12px 6px 10px;transition:transform .12s;display:flex;box-shadow:0 4px #00000014}.lvl:active{transform:scale(.95)}.lvl.current{box-shadow:0 0 0 3px var(--pink), 0 4px 0 #00000014;animation:1.6s ease-in-out infinite pulse}@keyframes pulse{50%{transform:scale(1.04)}}.lvl.locked{opacity:.55;cursor:default}.lvl-num{color:var(--pink-deep);align-items:center;height:28px;font-size:22px;font-weight:700;display:flex}.lvl-name{color:var(--ink-soft);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:12px;font-weight:500;overflow:hidden}.lvl-stars{color:#e9dbe3;gap:2px;font-size:16px;display:flex}.lvl-stars .got{color:var(--gold)}.game{position:absolute;inset:0}.game-canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.hud{padding:12px max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));pointer-events:none;align-items:center;gap:8px;display:flex;position:absolute;top:0;left:0;right:0}.hud>*{pointer-events:auto}.hud-btn{width:46px;height:46px;color:var(--ink);background:#ffffffeb;border:none;border-radius:50%;flex-shrink:0;place-items:center;display:grid;box-shadow:0 3px #0000001a}.hud-pill{white-space:nowrap;background:#ffffffeb;border-radius:999px;align-items:center;gap:6px;min-width:0;height:40px;padding:0 14px;font-size:17px;font-weight:600;display:inline-flex;box-shadow:0 3px #00000014}.hud-pill .icon-star{color:var(--gold)}.hud-level{color:var(--pink-deep);font-weight:700}.hud-name{color:var(--ink-soft);text-overflow:ellipsis;font-weight:500;overflow:hidden}.hud>.hud-pill:nth-child(2){flex:0 auto;margin-right:auto}@media (width<=520px){.hud-name{display:none}}.hud-stars{color:#e7dbe2;gap:2px;padding:0 10px;font-size:22px}.hud-star{transition:transform .3s cubic-bezier(.3,1.8,.5,1);display:inline-flex}.hud-star .icon-star{color:inherit}.hud-star.ghost{color:#f6e7b5}.hud-star.got{color:var(--gold);animation:.5s cubic-bezier(.3,1.8,.5,1) pop}@keyframes pop{0%{transform:scale(.3)}60%{transform:scale(1.5)}to{transform:scale(1)}}.hud-gum small{color:var(--ink-soft);font-weight:500}.tip{text-align:center;width:max-content;max-width:calc(100% - 32px);box-shadow:var(--shadow);pointer-events:none;background:#fffffff2;border-radius:18px;padding:10px 18px;font-size:16px;font-weight:500;animation:.5s cubic-bezier(.3,1.6,.5,1) tip-in,.5s 4.7s forwards tip-out;position:absolute;top:72px;left:50%;transform:translate(-50%)}@keyframes tip-in{0%{opacity:0;transform:translate(-50%,-20px)scale(.8)}}@keyframes tip-out{to{opacity:0;transform:translate(-50%,-10px)}}.touch{padding:0 max(16px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));pointer-events:none;justify-content:space-between;align-items:flex-end;display:flex;position:absolute;bottom:0;left:0;right:0}.touch-pad{pointer-events:auto;touch-action:none;gap:10px;display:flex}.touch-arrow,.touch-btn{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);touch-action:none;background:#ffffff8c;border:none;border-radius:50%;place-items:center;width:76px;height:76px;transition:transform 80ms,background 80ms;display:grid;box-shadow:inset 0 -4px #00000014,0 4px 14px #50143c26}.touch-arrow svg,.touch-btn svg{fill:none;width:34px;height:34px;stroke:var(--ink);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;opacity:.75}.touch-arrow.on,.touch-btn.on{background:#ffffffd9;transform:scale(.92)}.touch-actions{pointer-events:auto;align-items:flex-end;gap:12px;display:flex}.touch-btn.jump{background:#ff8cb9b3;width:92px;height:92px}.touch-btn.jump svg{stroke:#fff;opacity:1}.touch-btn.jump.on{background:#ff6ea0e6}.touch-btn.pound{background:#78e1c899;width:64px;height:64px;margin-bottom:40px}.touch-btn.pound svg{stroke:#fff;opacity:1;width:28px;height:28px}@media (height<=420px){.touch-arrow,.touch-btn{width:64px;height:64px}.touch-btn.jump{width:78px;height:78px}.touch-btn.pound{width:56px;height:56px;margin-bottom:24px}}.overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#5a1e4647;place-items:center;padding:16px;animation:.25s fade;display:grid;position:absolute;inset:0;overflow-y:auto}@keyframes fade{0%{opacity:0}}.card{background:var(--card);text-align:center;width:100%;max-width:380px;box-shadow:var(--shadow);border-radius:30px;padding:24px 22px 18px;animation:.4s cubic-bezier(.3,1.5,.5,1) card-in}@keyframes card-in{0%{opacity:0;transform:scale(.85)translateY(20px)}}.card h2{color:var(--pink-deep);margin:0;font-size:34px;font-weight:700}.card-sub{color:var(--ink-soft);margin:2px 0 16px;font-weight:500}.card-buttons{flex-direction:column;gap:12px;margin-top:18px;display:flex}.keys-hint{color:var(--ink-soft);margin:14px 0 0;font-size:12.5px}@media (pointer:coarse){.keys-hint{display:none}}.win-stars{color:#eadde4;justify-content:center;gap:6px;margin:2px 0 10px;font-size:58px;display:flex}.win-star:nth-child(2){font-size:68px;transform:translateY(-12px)}.win-star.got{color:var(--gold);filter:drop-shadow(0 4px 6px #e6a00066);animation:.6s cubic-bezier(.3,1.8,.5,1) both win-pop}.win-star:nth-child(2).got{animation-name:win-pop-mid}@keyframes win-pop{0%{transform:scale(0)rotate(-40deg)}}@keyframes win-pop-mid{0%{transform:translateY(-12px)scale(0)rotate(-40deg)}to{transform:translateY(-12px)}}.win-stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.win-stats div{background:#fff0f6;border-radius:16px;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;display:flex}.win-stats b{font-size:19px}.win-stats span{color:var(--ink-soft);font-size:12px}.win-stats .icon-gum{display:none}.restart-hold{color:#5a3a7a;pointer-events:none;z-index:6;background:#fffffff0;border-radius:999px;align-items:center;gap:10px;padding:8px 16px 8px 10px;font-weight:700;display:flex;position:absolute;top:22%;left:50%;transform:translate(-50%);box-shadow:0 4px 14px #3c1e5a40}.restart-hold svg{width:34px;height:34px;transform:rotate(-90deg)}.restart-hold circle{fill:none;stroke-width:5px}.rh-track{stroke:#e8dcf5}.rh-fill{stroke:#ff5f8f;stroke-linecap:round;stroke-dasharray:113.1}
