*{box-sizing:border-box;margin:0;padding:0}
html,body{width:100%;height:100%;overflow:hidden;background:#1b1440;color:#fff;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans","Noto Sans Devanagari",sans-serif;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
canvas{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}
button{font:inherit;color:inherit;cursor:pointer;border:0;touch-action:manipulation}
.mute{position:fixed;top:10px;left:10px;z-index:20;width:44px;height:44px;border-radius:50%;background:rgba(20,12,50,.75);border:2px solid #ffc94a;font-size:20px;line-height:40px}
.boostBtn{position:fixed;right:22px;bottom:34px;z-index:15;width:92px;height:92px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#ffd76a,#ff7a1a 70%);border:4px solid #fff3c4;color:#4a1500;font-weight:900;font-size:17px;letter-spacing:.5px;box-shadow:0 4px 0 #8a3300;touch-action:none}
.boostBtn.on{transform:scale(.93);background:radial-gradient(circle at 40% 35%,#fff1a8,#ffa31a 70%)}
.hidden{display:none!important}
.screen{position:fixed;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(15,8,40,.45);overflow-y:auto}
.card{width:100%;max-width:420px;margin:auto;background:linear-gradient(180deg,#3b1d6e,#24124d);border:3px solid #ffc94a;border-radius:22px;padding:16px 18px 14px;text-align:center;box-shadow:0 10px 0 rgba(0,0,0,.35),inset 0 0 0 3px rgba(255,80,140,.35)}
.card.wide{max-width:560px}
h1{font-size:30px;line-height:1.05;color:#ffd34d;text-shadow:0 3px 0 #a3331c;letter-spacing:.5px}
h2{font-size:30px;color:#ffd34d;text-shadow:0 3px 0 #a3331c;margin-bottom:6px}
.sub{font-size:14px;color:#ffcfe4;margin-top:4px}
.heroImg{width:120px;height:120px;object-fit:contain;margin:4px auto 0;display:block;filter:drop-shadow(0 4px 0 rgba(0,0,0,.3))}
.intro{font-size:13.5px;line-height:1.35;color:#f1e8ff;margin:4px 0 10px}
.modes{display:flex;gap:8px;margin-bottom:10px}
.mode{flex:1;padding:10px 4px;border-radius:12px;background:#2a1a5c;border:2px solid #6b56b8;font-weight:700;font-size:14px}
.mode.on{background:#ff4f8b;border-color:#ffd34d;box-shadow:0 3px 0 #8c1f49}
.big{display:block;width:100%;padding:14px;border-radius:16px;background:linear-gradient(180deg,#ffb23a,#ff7a1a);color:#3c1200;font-size:22px;font-weight:900;box-shadow:0 5px 0 #a3451a;margin:4px 0 8px}
.big:active{transform:translateY(3px);box-shadow:0 2px 0 #a3451a}
.small{padding:9px 14px;border-radius:12px;background:#2a1a5c;border:2px solid #6b56b8;font-weight:700;font-size:14px}
.row{display:flex;gap:8px;justify-content:center;margin-top:6px}
.best{font-size:14px;color:#ffe9a8;margin-bottom:6px}
.keys{display:flex;flex-wrap:wrap;gap:4px 12px;justify-content:center;font-size:12.5px;color:#d9ccff}
kbd{display:inline-block;min-width:22px;padding:1px 5px;margin:0 1px;border-radius:5px;background:#fff;color:#2a1a5c;font:700 12px system-ui,sans-serif;box-shadow:0 2px 0 #8f80c4}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.stats div{background:#2a1a5c;border:2px solid #6b56b8;border-radius:12px;padding:8px}
.stats span{display:block;font-size:12px;color:#cdbfff}
.stats b{font-size:24px;color:#ffd34d}
.newbest{color:#7dffb0;font-weight:800;font-size:17px}
.unlock{color:#ffd34d;font-weight:800;font-size:15px;margin-bottom:6px}
.skinGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}
.skin{background:#2a1a5c;border:2px solid #6b56b8;border-radius:12px;padding:6px 2px;font-size:12px;font-weight:700;position:relative}
.skin canvas{position:static;width:100%;height:auto;display:block;touch-action:auto}
.skin.sel{border-color:#ffd34d;background:#4a2690}
.skin.locked{opacity:.75}
.skin small{display:block;font-weight:500;color:#cdbfff;font-size:10.5px}
@media (max-width:420px){.skinGrid{grid-template-columns:repeat(2,1fr)}h1{font-size:27px}.heroImg{width:96px;height:96px}}
@media (max-height:640px){.heroImg{display:none}}
@media (max-height:480px){.card{padding:10px 14px 8px}h1{font-size:22px}h2{font-size:24px}.sub{display:none}.intro{font-size:12px;margin:2px 0 6px}.mode{padding:6px 4px}.big{padding:9px;font-size:19px;margin:2px 0 6px}.keys{font-size:11.5px}.stats{margin:6px 0}.stats b{font-size:19px}.small{padding:6px 12px}}
