:root{--night:#14204a;--panel:#1d2d66;--line:#34488f;--red:#d7263d;--gold:#ffc93c;--green:#2fa866;--blue:#2a7bff;--ink:#fff;--dim:#b8c4ee;--u:clamp(13px, 2.1vmin + 6px, 20px)}html,body{touch-action:none;background:#8fd3ff;height:100%;margin:0;overflow:hidden}#game,#ui{position:fixed;inset:0}#game canvas{width:100%;height:100%;display:block}#ui{pointer-events:none;color:var(--ink);font-size:var(--u);-webkit-user-select:none;user-select:none;font-family:Arial Rounded MT Bold,Nunito,Trebuchet MS,Segoe UI,system-ui,sans-serif;font-weight:700}#ui *{box-sizing:border-box}:where(#ui) button{font:inherit;color:inherit;cursor:pointer;pointer-events:auto;touch-action:manipulation;border:0}.layer{pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;inset:0}.layer>*{pointer-events:auto}.dim{pointer-events:auto;background:#14286480;justify-content:center;padding:1em}.btn{background:var(--blue);white-space:nowrap;border-radius:.9em;justify-content:center;align-items:center;gap:.4em;padding:.7em 1.2em;transition:transform 60ms;display:inline-flex;box-shadow:0 .22em #00000059}.btn:active{transform:translateY(.14em);box-shadow:0 .08em #00000059}.btn.red{background:var(--red)}.btn.gold{background:var(--gold);color:#3a2500}.btn.gold .star{color:#7a1020}.btn.green{background:var(--green)}.btn.ghost{box-shadow:none;background:#182c6eb8}.card .btn.ghost,.tabs+.scroll .btn.ghost{background:#ffffff24}.btn.big{border-radius:1em;padding:.55em 1.6em;font-size:1.7em}.btn.wide{width:100%}.btn[disabled]{opacity:.45;cursor:default}.btn small{opacity:.85;font-size:.7em;font-weight:600}.top{justify-content:space-between;align-items:flex-start;gap:.5em;width:100%;padding:.7em;display:flex}.pill{white-space:nowrap;background:#0a102c99;border-radius:2em;align-items:center;gap:.35em;min-height:2.2em;padding:.35em .9em;font-size:1.05em;display:inline-flex}.pill.tap{cursor:pointer}.pill .plus{background:var(--green);border-radius:50%;justify-content:center;align-items:center;width:1.3em;height:1.3em;margin-right:-.5em;display:inline-flex}.coin:before{content:"";background:radial-gradient(circle at 35% 35%, #fff3b0, var(--gold) 55%, #c98a00);vertical-align:-.12em;border-radius:50%;width:.95em;height:.95em;margin-right:.25em;display:inline-block}.star{color:var(--gold)}.icon{background:#0a102c99;border-radius:50%;justify-content:center;align-items:center;width:2.5em;height:2.5em;padding:0;font-size:1em;display:inline-flex}.menu{padding-bottom:1em}.menu .logo{margin-bottom:auto}.logo{text-align:center;filter:drop-shadow(0 .25em #00000059);pointer-events:none;margin-top:0;line-height:.9}.logo b{letter-spacing:.02em;color:#fff;-webkit-text-stroke:.08em var(--red);paint-order:stroke fill;font-size:min(15vw,9.5vh,5em);font-weight:900;display:block}.logo b+b{color:var(--gold);-webkit-text-stroke-color:#9b5a00}.logo span{background:#0a102c99;border-radius:2em;margin-top:.8em;padding:.3em 1em;font-size:1.05em;display:inline-block}.menu-mid{flex-direction:column;align-items:center;gap:.8em;width:min(94vw,30em);display:flex}.boosts{justify-content:center;align-items:stretch;gap:.4em;display:flex}.boost{text-align:center;background:#0a102cb3;border:.14em solid #0000;border-radius:.8em;flex:1 1 0;padding:.4em .5em;font-size:.8em;line-height:1.25}.boost.on{border-color:var(--gold);background:#503c00bf}.boost small{color:var(--dim);max-width:11em;font-size:.78em;font-weight:600;display:block}.dock{flex-wrap:wrap;justify-content:center;gap:.5em;width:min(96vw,34em);display:flex}.dock .btn{flex-direction:column;flex:1 1 0;gap:.1em;min-width:5.2em;padding:.55em .4em;font-size:.92em;position:relative}.badge{background:var(--red);border:.12em solid #fff;border-radius:1em;min-width:1.5em;padding:.1em .4em;font-size:.8em;position:absolute;top:-.5em;right:-.3em}.hud .bar{background:#0a102c99;border-radius:1em;width:min(60vw,20em);height:.7em;margin-top:.3em;overflow:hidden}.hud .bar i{background:var(--gold);width:0;height:100%;display:block}.hud-mid{pointer-events:none;flex-direction:column;align-items:center;display:flex}.hint{text-align:center;pointer-events:none;text-shadow:0 .12em #00000080;font-size:1.3em;position:absolute;bottom:16%;left:0;right:0}.hint .hand{font-size:2.6em;animation:1.4s ease-in-out infinite swipe;display:block}@keyframes swipe{0%,to{transform:translate(-22vw)}50%{transform:translate(22vw)}}.banner{text-align:center;pointer-events:none;text-shadow:0 .12em #00000080;font-size:2.2em;font-weight:900;animation:.35s ease-out pop;position:absolute;top:22%;left:0;right:0}@keyframes pop{0%{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}.card{background:var(--panel);border:.16em solid var(--line);border-radius:1.3em;flex-direction:column;gap:.7em;width:min(94vw,26em);max-height:94%;padding:1.1em;animation:.22s ease-out pop;display:flex;box-shadow:0 .6em 2em #00000073}.card h2{text-align:center;margin:0;font-size:1.6em;font-weight:900}.card p{text-align:center;color:var(--dim);margin:0;font-weight:600;line-height:1.35}.card .big-number{text-align:center;font-size:2.4em;font-weight:900}.rows{flex-direction:column;gap:.5em;display:flex}.split{gap:.5em;display:flex}.split>*{flex:1 1 0}.sheet{width:min(96vw,30em);height:min(92%,44em)}.tabs{background:#0a102c80;border-radius:.9em;gap:.3em;padding:.25em;display:flex}.tabs button{background:0 0;border-radius:.7em;flex:1;padding:.5em .2em}.tabs button.on{background:var(--blue)}.scroll{touch-action:pan-y;flex-direction:column;flex:1;gap:.5em;padding-right:.2em;display:flex;overflow-y:auto}.item{background:#0a102c73;border-radius:.9em;align-items:center;gap:.6em;padding:.6em .7em;display:flex}.item.hot{outline:.16em solid var(--gold)}.item .what{flex:1;min-width:0;line-height:1.25}.item .what small{color:var(--dim);font-size:.8em;font-weight:600;display:block}.item .btn{flex-direction:column;gap:0;padding:.55em .8em;font-size:.9em;line-height:1.15}.tag{background:var(--gold);color:#3a2500;border-radius:.5em;margin-left:.4em;padding:.05em .45em;font-size:.72em}.swatch{border:.14em solid #ffffff80;border-radius:.7em;flex:none;width:2.6em;height:2.6em}.head{justify-content:space-between;align-items:center;gap:.5em;display:flex}.head h2{text-align:left;flex:1}.track{background:#0a102c99;border-radius:1em;height:.9em;overflow:hidden}.track i{background:linear-gradient(90deg, var(--green), var(--gold));height:100%;display:block}.tier{grid-template-columns:2.2em 1fr 1fr;align-items:center;gap:.4em;font-size:.9em;display:grid}.tier>*{text-align:center;background:#0a102c73;border-radius:.6em;min-height:2.2em;padding:.4em .5em}.tier.reached>:first-child{background:var(--green)}.tier .locked{opacity:.5}.tier .done{opacity:.45;text-decoration:line-through}.toast{border:.12em solid var(--gold);pointer-events:none;white-space:nowrap;z-index:5;background:#0a102ce6;border-radius:2em;padding:.5em 1.1em;animation:.25s ease-out pop;position:absolute;top:12%;left:50%;transform:translate(-50%)}@media (orientation:landscape) and (height<=520px){.logo b{font-size:3em;display:inline-block}.logo{margin-top:0}}
