/* wave-maker polish layer: look, feel and return reasons added around the locked game script. */
.game-wrap{padding-left:max(1rem,env(safe-area-inset-left));padding-right:max(1rem,env(safe-area-inset-right))}
.wm-tab{min-height:44px;min-width:44px}
.wm-ov .btn{min-height:44px;min-width:96px;padding:.6rem 1.1rem;touch-action:manipulation}
.wm-ov .btn:active{transform:scale(.96)}
.wm-stage{border-radius:14px;box-shadow:0 6px 22px #0f172a33,inset 0 0 0 1px #22d3ee22}
.wm-stage #game-canvas{box-shadow:inset 0 0 40px #0ea5e91f}
.wm-ov.show{animation:wmpop .28s ease-out}
.wm-ov h2{letter-spacing:.01em;text-shadow:0 0 18px #22d3ee66}
.wm-ov .big{text-shadow:0 0 22px #22d3ee88;font-variant-numeric:tabular-nums}
.wm-ov .nb{animation:wmnb 1.1s ease-in-out infinite alternate}
.wm-stat b{font-variant-numeric:tabular-nums;transition:color .2s}
.wm-stat.low{border-color:#fda4af;background:#fff1f2;animation:wmlow .8s ease-in-out infinite alternate}
.wm-ctrl{box-shadow:0 2px 10px #0f172a14}
.wm-b{box-shadow:0 2px 0 #0369a155}
.wm-b:active{box-shadow:none}
.wm-b.alt.on{box-shadow:inset 0 0 0 2px #7dd3fc}
.wmp-line{font-size:.8rem;color:#a5f3fc;font-weight:700;max-width:30ch;line-height:1.4}
.wmp-rank{display:inline-block;background:#0ea5e933;color:#bae6fd;border:1px solid #38bdf866;border-radius:99px;padding:.15rem .7rem;font-size:.78rem;font-weight:800}
.wmp-tip{font-size:.78rem;color:#cbd5e1;background:#1e293b;border-radius:10px;padding:.4rem .6rem;max-width:30ch}
.wmp-goal{font-size:.75rem;color:#94a3b8;max-width:30ch}
@keyframes wmpop{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
@keyframes wmnb{from{transform:scale(1)}to{transform:scale(1.08)}}
@keyframes wmlow{from{box-shadow:0 0 0 #e11d4800}to{box-shadow:0 0 10px #e11d4866}}
@media (prefers-reduced-motion:reduce){.wm-ov.show,.wm-ov .nb,.wm-stat.low{animation:none}.wm-ov .btn:active{transform:none}}
@media (max-height:700px){.wmp-tip,.wmp-goal{display:none}}
