body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f2f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  overflow: hidden; /* Prevent scrolling */
}

#game-container {
  /* Overlay UI on top of canvas if needed, or just container */
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 10;
  pointer-events: none; /* Let clicks pass through for map interaction? No, we want UI interaction. */
}

/* Allow interaction with UI elements */
#game-container * {
  pointer-events: auto;
}

h1 {
  margin-top: 0;
  font-size: 1.5rem;
}

#status {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: bold;
}

#renderCanvas {
  width: 100%;
  height: 100%;
  touch-action: none; /* Recommended for Babylon.js */
  outline: none;
}

.rules {
  margin-top: 10px;
  text-align: left;
  font-size: 0.8rem;
  color: #666;
}

/* Hide 2D elements styles */
/* Removed #board, .cell, .flag, .player, .p1, .p2 */
