*{box-sizing:border-box}html,body{margin:0;height:100%;background:#0d1822;color:#e8f0f4;overflow:hidden}#app{position:relative;height:100%;overflow:hidden;font-family:system-ui,-apple-system,Segoe UI,sans-serif;--accent: #6ff0d6}#stage{display:block;width:100%;height:100%;touch-action:none}.screen{position:absolute;inset:0;display:grid;place-content:center;gap:.7rem;text-align:center;padding:1.5rem;z-index:10;overflow-y:auto;background:radial-gradient(ellipse at center,#080e14b3,#05080cf0)}.screen[hidden]{display:none}.eyebrow{margin:0;font-size:.72rem;letter-spacing:.32em;text-transform:uppercase;color:#6ff0d6}h1{margin:0;font-size:clamp(2.4rem,9vw,5rem);line-height:1;letter-spacing:-.02em}h2{margin:0;font-size:clamp(1.8rem,6vw,3rem);line-height:1.1}.lede{margin:0 auto;max-width:34rem;color:#c4d2da;line-height:1.5}.rules{margin:0 auto;max-width:34rem;color:#b4c4ce;font-size:.9rem;line-height:1.45}.rules strong{color:#ff9a8a}.hint{margin:0;font-size:.78rem;color:#aebcc6}.primary,.ghost{padding:.7rem 1.6rem;border-radius:999px;font-weight:700;cursor:pointer;font-size:1rem;font-family:inherit}.primary{justify-self:center;border:1px solid #6ff0d6;background:#6ff0d6;color:#04120f}.primary:hover{background:#a6ffee}.ghost{border:1px solid #8aa0ae;background:transparent;color:#e8f0f4;font-weight:600}.row{display:flex;gap:.7rem;flex-wrap:wrap;justify-content:center}button:focus-visible{outline:2px solid #ffe08a;outline-offset:3px}.stars{margin:0;font-size:2rem;letter-spacing:.25em;color:#ffc65a}.score-line{margin:0;font-weight:700}#levels{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center}#levels button{display:grid;gap:.15rem;min-width:8rem;padding:.6rem .9rem;border-radius:.9rem;border:1px solid #3a5060;background:#0c161ecc;color:#eaf2f6;cursor:pointer;font:inherit}#levels button[aria-checked=true]{border-color:#6ff0d6;background:#6ff0d624;box-shadow:0 0 0 1px #6ff0d6 inset}.lv-name{font-weight:700}.lv-meta{font-size:.74rem;color:#c0d0da}#hud{position:absolute;inset:0;pointer-events:none;z-index:5;padding:.6rem .8rem;display:flex;flex-direction:column;justify-content:space-between}#hud[hidden]{display:none}.hud-top{display:flex;flex-wrap:wrap;gap:.4rem;padding-right:0}.hud-top span,.hud-buttons button{background:#060c12d1;border:1px solid #36505e;border-radius:999px;padding:.25rem .7rem;font-size:.82rem;font-weight:600;color:#eaf2f6}.hud-top span.hot{color:#ff9a8a;border-color:#ff6a5a}.hud-buttons{position:absolute;top:3.1rem;right:.8rem;display:flex;gap:.4rem;pointer-events:auto}.hud-buttons button{cursor:pointer;font-family:inherit}#rock-banner{position:absolute;top:5.7rem;left:50%;transform:translate(-50%);margin:0;max-width:92vw;white-space:nowrap;padding:.4rem 1rem;border-radius:999px;background:#b0281cf0;border:1px solid #ffd45a;color:#fff;font-weight:800;font-size:.88rem;animation:warn .5s ease-in-out infinite alternate}#rock-banner[hidden]{display:none}@keyframes warn{to{transform:translate(-50%) scale(1.05)}}.hud-bottom{display:grid;gap:.35rem;justify-items:center;margin-top:auto}#status-label{margin:0;font-weight:700;color:#ffe08a;text-shadow:0 1px 4px #000;font-size:.9rem}.load-bar{width:min(22rem,78vw);height:.8rem;background:#060c12cc;border:1px solid rgba(255,255,255,.4);border-radius:999px;overflow:hidden}#load-fill{height:100%;width:0;background:linear-gradient(90deg,#5fd6c0,#b9a7ff);transition:width .15s linear}#tilt-bar{position:relative;width:min(22rem,78vw);height:.5rem;border-radius:999px;background:linear-gradient(90deg,#f06464,#ffffff40 50%,#f06464)}#tilt-needle{position:absolute;top:-.35rem;left:50%;width:.2rem;height:1.2rem;background:#fff;border-radius:2px;transform:translate(-50%);box-shadow:0 0 6px #fff}#tilt-bar.danger{animation:pulse .45s infinite alternate;box-shadow:0 0 12px #f06464}@keyframes pulse{0%{opacity:.6}to{opacity:1}}#touch-controls{display:flex;width:100%;justify-content:space-between;align-items:center;gap:.6rem;pointer-events:auto;padding-top:.4rem}#touch-controls[hidden]{display:none}#touch-controls button{min-height:4rem;border-radius:1rem;border:1px solid rgba(255,255,255,.5);background:#060c12bf;color:#eaf2f6;font-size:1.5rem;touch-action:none;font-family:inherit;user-select:none;-webkit-user-select:none}#touch-left,#touch-right{width:5rem}#magnet-btn{flex:1;font-size:.95rem!important;font-weight:700;color:#ffd35a!important;border-color:#8a7020!important}#magnet-btn.ready{background:#ffd35a33!important;border-color:#ffd35a!important}body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:1;background:radial-gradient(ellipse at center,transparent 58%,rgba(2,5,8,.5))}@media(prefers-reduced-motion:reduce){#rock-banner,#tilt-bar.danger{animation:none}}@media(max-width:520px){.hud-buttons{top:5.2rem;right:auto;left:.8rem}#rock-banner{top:7.9rem;font-size:.8rem}}
