.tic-tac-toe-controller {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

.tic-tac-toe-controller h1 {
  margin: 0 0 8px;
  letter-spacing: .08em;
}

.ttt-mark,
.ttt-status,
.ttt-help {
  margin: 8px 0;
}

.ttt-status {
  min-height: 24px;
  font-weight: 800;
}

.ttt-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px auto;
}

.ttt-cell {
  aspect-ratio: 1;
  min-height: 88px;
  border: 0;
  border-radius: 14px;
  font-size: 42px;
  font-weight: 900;
  cursor: pointer;
  background: #eef2f7;
  color: #334155;
}

.ttt-cell.is-x { color: #2563eb; }
.ttt-cell.is-o { color: #d97706; }
.ttt-cell:disabled { cursor: default; opacity: .82; }

.ttt-match {
  margin: 6px 0 10px;
  font-weight: 800;
}

.ttt-opponent-card {
  margin: 18px 0;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.ttt-opponent-card h2 {
  margin: 0 0 10px;
}

.ttt-opponent-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.ttt-opponent-button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
}
