/* Khusus Tic-tac-toe Raksasa */
.board-wrap { max-width: calc(100vh - 48px); }
#board .cell { outline: none; }
#board .cell.open { cursor: pointer; }
#board .cell.open:hover,
#board .cell.open:focus-visible { fill: rgba(255, 216, 77, 0.35); }
#board .cell:focus-visible { stroke: #4fa8ff; stroke-width: 5; }
#board .mark, #board .big, #board .fx, #board .focus { pointer-events: none; }
#board .focus { animation: march 1s linear infinite; }
#board .glow { animation: glow 0.8s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: 0.45; } to { opacity: 1; } }
@keyframes march { to { stroke-dashoffset: -60; } }

.players .side { font-size: 0.8rem; font-weight: 500; }

/* Pilihan kepintaran komputer di menu */
.level { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 0 22px; }
.level-label { font-weight: 600; }

/* Layar seri: dua karakter berdampingan */
.win-art.duo { width: 220px; border-radius: 80px; display: flex; justify-content: center; gap: 4px; }
.win-art.duo .art { width: 96px; height: 96px; }

@media (max-width: 880px) {
  .board-wrap { max-width: none; }
  .players .side { display: none; }
}
