/* XOX — board and marks. The page layout comes from play-page.css. */
body[data-game='xox'] { --frame: #0a2fb5; --title: #0b36c0; --title-shadow: #071f7a; }

.board { display: grid; width: min(100%, 470px, calc(100svh - 340px)); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.5vw, 14px); margin: 0 auto; aspect-ratio: 1; }
.cell { aspect-ratio: 1; display: grid; place-items: center; min-width: 0; border: 0; border-radius: 18px; background: var(--surface); color: var(--accent); font: 700 clamp(56px, 7vw, 110px) / 1 'Fredoka', sans-serif; cursor: pointer; box-shadow: 0 5px 0 rgb(0 0 0 / .14); transition: transform .15s, background .15s; }
.cell:not(:disabled):hover { transform: translateY(-3px); background: #fff; }
.cell.mark-o { color: var(--orange); }
.cell.winning { background: #fff3c7; box-shadow: inset 0 0 0 5px #fecf40, 0 5px 0 rgb(0 0 0 / .14); }
.cell:disabled { cursor: default; }
.turn-indicator strong { margin-left: 6px; color: #fecf40; font: 700 26px / 1 'Fredoka', sans-serif; vertical-align: -3px; }
.goal-equation .goal-x { color: var(--accent); }

@media (max-width: 760px) {
  .board { gap: 10px; }
  .cell { border-radius: 14px; font-size: clamp(48px, 17vw, 80px); }
  .turn-indicator strong { color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) { .cell { transition: none; } .cell:not(:disabled):hover { transform: none; } }

/* Tam ekran: tahta çerçeve genişliğinden boyutlanır; game-shell.js çerçeveyi ekrana sığdırır. */
.play-panel.is-fullscreen .board { width: 100%; }
