.mini-ball.ball-heater, .ball-dot.ball-heater { background: #fff1d2; border-color: #e14a2f; }
.mini-ball.ball-heavy, .ball-dot.ball-heavy { background: #d9cfb8; border-color: #344858; box-shadow: inset 4px -2px #34485855; }
.mini-ball.ball-moonshot, .ball-dot.ball-moonshot { background: #e9f7ff; border-color: #4a76c4; }
.mini-ball.ball-heater { color: #e94627; background: #ffb33f; font-size: 14px; }
.mini-ball.ball-heavy { color: #f2b84a; background: #273844; font-size: 16px; transform: scale(1.08); }
.mini-ball.ball-moonshot { color: #fff7ae; background: #5bbfe8; font-size: 17px; }
.mini-ball.ball-blast { color: #ffd34e; background: #25252a; border-color: #ff6d2e; font-size: 18px; box-shadow: 0 0 8px #ff8a32; }
#matchBalls button[data-ball="blast"] { border-color: #ff6d2e; background: #352522; animation: blast-pulse .8s ease-in-out infinite alternate; }
@keyframes blast-pulse { to { box-shadow: 0 0 12px #ff8a32; transform: translateY(-2px) scale(1.06); } }
#levels { overflow-y: auto; justify-content: flex-start; padding-top: max(70px, env(safe-area-inset-top)); }
#matchBalls { display: flex; justify-content: center; gap: 6px; margin: 8px 0 2px; }
#matchBalls button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #b8aa94; border-radius: 50%; background: #fff8e9dd; color: #17354a; box-shadow: 0 2px 0 #70543a33; }
#matchBalls button.selected { border: 2px solid #b54132; box-shadow: 0 0 0 3px #fff5dcaa; transform: translateY(-2px); }
#matchBalls button:disabled { opacity: .42; cursor: default; transform: none; }
#matchBalls span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.mini-ball { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #fff9e8; border: 1px solid #ac9980; font-size: 15px; font-style: normal; }
@media (max-height: 600px) and (orientation: landscape), (orientation: landscape) and (pointer: coarse) {
  #matchBalls { flex: none; margin: 0; gap: 4px; }
  #matchBalls button { width: 28px; height: 28px; }
  .mini-ball { width: 21px; height: 21px; font-size: 12px; }
}
