/* ⛶ FULL SCREEN layout for game sections */
.fs-btn {
  display: block;
  margin: 8px auto 4px;
  padding: 8px 14px;
  font-size: 14px;
}

.level-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #a5b4fc;
}

.level-row select {
  padding: 8px 10px;
  border: 1px solid #6366f1;
  border-radius: 10px;
  background: #11152a;
  color: #f8fafc;
  font-size: 15px;
}

section.game-card:fullscreen {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 24px;
  border-radius: 0;
  box-sizing: border-box;
  overflow: auto;
  background: #0b1020;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

section.game-card:fullscreen canvas {
  width: auto !important;
  max-width: 92vw;
  max-height: 72vh;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

section.game-card:fullscreen .game-arena {
  height: 60vh;
  width: min(92vw, 900px);
}

section.game-card:fullscreen .chess-board,
section.game-card:fullscreen .mole-grid,
section.game-card:fullscreen .mem-grid,
section.game-card:fullscreen .ttt-board {
  max-width: min(92vw, 70vh) !important;
}

section.game-card:fullscreen .craft-pantry {
  max-height: 50vh;
  width: min(92vw, 900px);
}

section.game-card:fullscreen > * {
  max-width: 900px;
}
