.bingo-card {
  border: 1px solid rgba(30, 64, 110, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 10%, rgba(20, 184, 166, 0.1), transparent 35%),
    radial-gradient(circle at 86% 14%, rgba(29, 78, 216, 0.09), transparent 34%),
    linear-gradient(145deg, #ffffff, #f4fbff);
  box-shadow: 0 16px 44px rgba(12, 35, 65, 0.08);
}

.bingo-card h3 {
  font-size: 1.52rem;
  letter-spacing: -0.01em;
}

.bingo-card h4 {
  font-size: 1.06rem;
  letter-spacing: -0.005em;
}

.bingo-host-toggle {
  min-height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  font-weight: 700;
  padding: 0.24rem 0.62rem;
  font-size: 0.78rem;
}

.bingo-host-body {
  max-height: 520px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 0.3s ease, opacity 0.24s ease, transform 0.24s ease, margin 0.24s ease;
}

.bingo-host-body.is-collapsed {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  margin: 0 !important;
}

.bingo-drawn-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-height: 220px;
  overflow: auto;
  padding-right: 0.1rem;
}

.bingo-drawn-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(219, 234, 254, 0.75);
  color: #1e3a8a;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 0.1rem 0.42rem;
}

#bingoDrawnToggle + .bingo-host-body,
#bingoDrawnBody,
#bingoDrawnNumbers {
  font-size: 0.7rem;
}

#bingoDrawnToggleText,
#bingoDrawnToggle {
  font-size: 0.7rem;
}

.bingo-card .badge {
  font-size: 0.74rem;
  font-weight: 700;
}

.bingo-card .btn.btn-sm {
  font-size: 0.74rem;
  padding: 0.24rem 0.52rem;
  border-radius: 10px;
}

.bingo-number-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 24px;
  margin-left: 0.24rem;
  padding: 0.04rem 0.34rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #111827;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

#bingoDrawBtn {
  min-height: 50px;
  min-width: 128px;
  padding: 0.58rem 1.08rem;
  font-size: 1.08rem;
  font-weight: 800;
  border-radius: 12px;
  transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#bingoDrawBtn.is-drawing {
  transform: translateY(1px) scale(0.98);
  filter: saturate(1.18);
  box-shadow: 0 0 0 0.16rem rgba(59, 130, 246, 0.25);
}

.bingo-grid {
  display: grid;
  grid-template-columns: repeat(var(--bingo-cols, 4), minmax(0, 1fr));
  gap: 0.5rem;
}

.bingo-cell {
  border: 1px solid rgba(25, 65, 120, 0.3);
  border-radius: 12px;
  min-height: 62px;
  background: #ffffff;
  color: #173b5e;
  font-weight: 800;
  font-size: 1.1rem;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bingo-cell:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(24, 64, 108, 0.14);
}

.bingo-cell.is-drawn {
  border-color: rgba(59, 130, 246, 0.72);
  background: rgba(219, 234, 254, 0.6);
}

.bingo-cell.is-marked {
  border-color: rgba(75, 85, 99, 0.65);
  background: #c9ced6;
  color: #1f2937;
}

@media (max-width: 767.98px) {
  .bingo-cell {
    min-height: 52px;
    font-size: 0.95rem;
  }
}
