body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: white;
}

#top-bar {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  background: #020617;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none;
}

#timer {
  font-size: 48px;
  margin: 20px;
  color: #22c55e;
}

#board-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  max-height: 70vh;
  overflow-y: auto;
}

.card-btn {
  padding: 10px;
  border-radius: 6px;
  background: #334155;
  color: white;
  border: none;
}

.card-btn.taken {
  background: red;
}

.card-btn.mine {
  background: green;
}

#game {
  display: flex;
  height: calc(100vh - 50px);
}

#left, #right {
  flex: 1;
  padding: 10px;
}

table {
  border-collapse: collapse;
}

td {
  border: 1px solid #475569;
  width: 50px;
  height: 50px;
  text-align: center;
}

.called {
  background: #22c55e;
}

#recent-calls {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.recent {
  margin: 0 5px;
  font-size: 18px;
  opacity: .6;
}

.current {
  font-size: 32px;
  color: #22c55e;
  opacity: 1;
}

#bingo-btn {
  width: 100%;
  padding: 20px;
  font-size: 24px;
  background: #22c55e;
  border: none;
  border-radius: 10px;
  margin-top: 10px;
}

#winner-popup {
  font-size: 24px;
  text-align: center;
}
