/* ============================================================
   07-overrides-hidden.css — Safe areas, small phones, hidden controls
   ============================================================ */

body { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); touch-action: manipulation; }


@media (max-width: 360px) {
  .board-wrap { padding: 8px 4px; }
  .number-board { gap: 2.5px; }
  .num-cell { font-size: 10px; border-radius: 5px; }
  .stats-row { gap: 4px; padding: 8px 4px 4px; }
  .stat-label { font-size: 9px; }
  .stat-value { font-size: 12px; }
  .game-main { padding: 6px 4px 0; gap: 6px; }
  .numbers-list { flex-basis: 44%; max-height: 320px; }
  .list-num { font-size: 10px; padding: 5px 0; }
  .current-ball { width: 72px; height: 72px; font-size: 24px; }
  .title { font-size: 15px; }
  .icon-btn { width: 32px; height: 32px; }
}

@media (min-width: 480px) {
  body { max-width: 480px; margin: 0 auto; }
}
.db-note { text-align: center; font-size: 10px; color: #6e7681; padding: 4px; }

/* Hidden controls (draw/speed/mark-row still auto-managed) */
.draw-btn,
.remove-btn,
#speed-btn,
#hist-btn-lbl,
#mark-row,
#db-note,
#hist-btn-top {
  display: none !important;
}

/* Global BINGO hidden — each card always shows its own AUTO switch + status/claim button */
.call-side > .bingo-btn { display: none !important; }

.switch { display: inline-block; flex: none; cursor: pointer; }

.switch input { pointer-events: auto; cursor: pointer; }

.sound-round {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg,#5b3df5,#3b2fc9);
}

.wait-msg {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--text);
  margin-top: 18px;
}

.stats-row .stat-box:last-child { display: flex; align-items: center; justify-content: center; }
