
.game-container { text-align: center; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.tile {
  background: #f0f0f0;
  color: #111;
  border: none;
  border-radius: 6px;
  padding: 8px 4px;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 64px;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-family: inherit;
  line-height: 1.2;
}
.tile.selected { background: #555; color: #fff; }
.tile.solved { cursor: default; color: #fff; }
.solved-0 { background: #e53e3e; }
.solved-1 { background: #d69e2e; }
.solved-2 { background: #3182ce; }
.solved-3 { background: #38a169; }
.message { margin-top: 15px; font-weight: bold; min-height: 24px; color: #ff6b6b; }
.message.ok { color: #4ad48a; }
@media (min-width: 400px) {
  .tile { font-size: 0.85rem; min-height: 70px; }
}
