.cc-games-hub {
  position: fixed;
  inset: 0;
  z-index: 2147483500;
  overflow: auto;
  padding: 16px;
  background: #0c1511;
  color: #fff;
  font-family: Inter, sans-serif;
}

.cc-games-hub header {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
}

.cc-games-hub button {
  min-height: 48px;
  border: 1px solid #71d99a;
  border-radius: 6px;
  background: #173724;
  color: #fff;
}

.cc-game-menu {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.cc-chess-board,
.cc-battle-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: min(100%, 520px);
  aspect-ratio: 1;
  border: 2px solid #72d99a;
}

.cc-chess-board span,
.cc-battle-grid span {
  display: grid;
  place-items: center;
  min-width: 0;
  font-size: 30px;
  background: #c9d9c3;
  color: #111;
}

.cc-chess-board span:nth-child(16n + 1),
.cc-chess-board span:nth-child(16n + 3),
.cc-chess-board span:nth-child(16n + 5),
.cc-chess-board span:nth-child(16n + 7),
.cc-chess-board span:nth-child(16n + 10),
.cc-chess-board span:nth-child(16n + 12),
.cc-chess-board span:nth-child(16n + 14),
.cc-chess-board span:nth-child(16n + 16),
.cc-battle-grid span:nth-child(odd) {
  background: #4b705c;
}

.cc-chess-board .white-piece {
  color: #fff;
  text-shadow: 0 1px 2px #000;
}

.cc-quiz {
  display: grid;
  gap: 14px;
  padding-left: 28px;
}
