@font-face{font-family:"Luckiest";src:url(luckiest.woff2) format("woff2");font-display:swap}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:#120722;overflow:hidden;overscroll-behavior:none}
body{color:#fff;font:600 15px/1.35 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:none}
#app{position:fixed;inset:0;margin:0 auto;max-width:520px;overflow:hidden;background:#1a0b2e}
canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;touch-action:manipulation}
button:focus-visible,a:focus-visible{outline:3px solid #5ff3d6;outline-offset:3px}
.lbl{display:block;font:400 11px/1 "Luckiest",system-ui;letter-spacing:.08em;color:#bfa8ff}
#hud{position:absolute;left:0;right:0;top:0;padding:calc(env(safe-area-inset-top) + 8px) 58px 0;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;font-family:"Luckiest",system-ui}
#hud b{display:block;font-weight:400;font-size:26px;line-height:1;text-shadow:0 2px 0 #3b1470,0 0 12px rgba(255,120,220,.5)}
.hud-r{text-align:right}
.hud-c{flex:1;display:flex;flex-direction:column;align-items:center;padding-top:4px}
#hype{width:92px;height:9px;border-radius:9px;background:rgba(255,255,255,.14);overflow:hidden;box-shadow:0 0 0 2px rgba(95,243,214,.35)}
#hype i{display:block;height:100%;width:0;background:linear-gradient(90deg,#5ff3d6,#ff6bd6);border-radius:9px}
#hCombo{margin-top:4px;font-size:15px;color:#c9a6ff;text-shadow:0 2px 0 #0e061a}
.icon-btn{position:absolute;top:calc(env(safe-area-inset-top) + 8px);width:42px;height:42px;border-radius:50%;background:rgba(26,11,46,.65);box-shadow:0 0 0 2px rgba(191,168,255,.5);display:flex;align-items:center;justify-content:center;color:#e6dcff;z-index:7}
#mute{right:8px}
#mute s{position:absolute;left:9px;right:9px;top:20px;height:3px;background:#ff6bd6;transform:rotate(-40deg);border-radius:3px}
#mute[aria-pressed=true] s{display:none}
#pause{left:8px}
#pops{position:absolute;left:0;right:0;top:28%;text-align:center;pointer-events:none;font-family:"Luckiest",system-ui}
.pop{display:block;font-size:30px;color:#c9a6ff;text-shadow:0 3px 0 #0e061a,0 0 18px rgba(150,72,245,.8);animation:pop 1.3s ease-out forwards}
.pop.teal{color:#5ff3d6;text-shadow:0 3px 0 #0d4a45,0 0 18px rgba(95,243,214,.8)}
.pop.pink{color:#ff8ce0;text-shadow:0 3px 0 #5c1050,0 0 18px rgba(255,107,214,.8)}
@keyframes pop{0%{transform:scale(.4);opacity:0}15%{transform:scale(1.15);opacity:1}30%{transform:scale(1)}80%{opacity:1}100%{transform:translateY(-40px);opacity:0}}
#pad{position:absolute;left:0;right:0;bottom:0;padding:0 12px calc(env(safe-area-inset-bottom) + 14px);display:flex;justify-content:space-between;align-items:flex-end;z-index:4}
.pad-l{display:flex;gap:12px}
.pbtn{width:74px;height:74px;border-radius:22px;background:rgba(26,11,46,.42);box-shadow:inset 0 0 0 2px rgba(191,168,255,.55);font-size:26px;color:rgba(255,255,255,.9);transition:background .06s}
.pbtn.jump{width:112px;height:86px;border-radius:30px;font:400 24px/1 "Luckiest",system-ui;letter-spacing:.04em;box-shadow:inset 0 0 0 2px rgba(95,243,214,.7)}
.pbtn.on{background:rgba(95,243,214,.35)}
.screen{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:calc(env(safe-area-inset-top) + 24px) 24px calc(env(safe-area-inset-bottom) + 24px);text-align:center;background:radial-gradient(120% 70% at 50% 30%,rgba(50,16,95,.78),rgba(12,4,24,.94));z-index:6}
.screen[hidden],#hud[hidden],#pad[hidden],.icon-btn[hidden]{display:none}
h1,h2{font:400 64px/.9 "Luckiest",system-ui;letter-spacing:.02em;color:#fff;text-shadow:0 5px 0 #6a2bd0,0 9px 0 #2a0e57,0 0 30px rgba(255,107,214,.7)}
h2{font-size:48px}
.hero-chik{width:118px;height:auto;filter:drop-shadow(0 10px 18px rgba(0,0,0,.5)) drop-shadow(0 0 22px rgba(95,243,214,.35));animation:bob 1.6s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(-8px) rotate(2deg)}}
.tag{color:#e6dcff;max-width:300px}
.big-btn{font:400 28px/1 "Luckiest",system-ui;letter-spacing:.04em;padding:16px 46px 13px;border-radius:999px;background:linear-gradient(180deg,#a865ff,#9648f5);color:#ffffff;box-shadow:0 5px 0 #6a2bd0,0 10px 26px rgba(150,72,245,.45)}
.big-btn:active{transform:translateY(3px);box-shadow:0 2px 0 #6a2bd0}
.ghost-btn{font:400 18px/1 "Luckiest",system-ui;padding:11px 26px 9px;border-radius:999px;box-shadow:inset 0 0 0 2px #5ff3d6;color:#5ff3d6}
.best{color:#bfa8ff;font-size:13px;letter-spacing:.04em}
.best b{color:#fff}
.how{font-size:12.5px;color:#b9abdb;max-width:310px}
.home{color:#5ff3d6;font-size:13px;text-decoration:none;opacity:.85}
.only-keys{display:none}
@media (hover:hover) and (pointer:fine){.only-keys{display:inline}.only-touch{display:none}}
.stats{display:flex;gap:18px;font-family:"Luckiest",system-ui}
.stats span{display:block;font-size:11px;color:#bfa8ff;letter-spacing:.06em}
.stats b{font-weight:400;font-size:30px}
.newbest{font:400 22px/1 "Luckiest",system-ui;color:#c9a6ff;animation:bob 1s ease-in-out infinite}
.share-line{font-size:13px;color:#e6dcff;max-width:300px}
@media (max-height:640px){h1{font-size:50px}.hero-chik{width:84px}.screen{gap:8px}}
