/* ========================================
   デジタル・マンカラ - スタイルシート
   Concept: 古代石版 × ネオン光彩
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Noto+Sans+JP:wght@300;400;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-deep:      #0a0a0f;
  --bg-surface:   #11121a;
  --bg-board:     #16192a;
  --bg-pit:       #1e2235;
  --bg-pit-hover: #252a45;
  --border:       #2e334d;
  --border-glow:  #4a5190;

  --gold:         #c9a84c;
  --gold-bright:  #f0cc6e;
  --gold-glow:    rgba(201, 168, 76, 0.35);

  --cyan:         #3dd6f5;
  --cyan-dim:     #1a8aaa;
  --cyan-glow:    rgba(61, 214, 245, 0.25);

  --player-stone: #e8915a;
  --player-glow:  rgba(232, 145, 90, 0.5);
  --ai-stone:     #5ab4e8;
  --ai-glow:      rgba(90, 180, 232, 0.5);

  --text-primary:   #e8e4d8;
  --text-secondary: #8a8fa8;
  --text-accent:    #c9a84c;

  --radius-pit:     50%;
  --radius-mancala: 60px;
  --transition:     0.25s ease;

  --pit-size:       88px;
  --mancala-w:      90px;
  --mancala-h:      200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* ---- Screen Management ---- */
.screen {
  display: none;
  min-height: 100vh;
  width: 100%;
}
.screen.active { display: flex; }

/* ======================================
   TITLE SCREEN
   ====================================== */
#title-screen {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
}

.title-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201,168,76,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(61,214,245,0.06) 0%, transparent 50%);
  background-size: 100% 100%;
}
.title-bg-pattern::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(46,51,77,0.4) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(46,51,77,0.4) 40px);
}

.title-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 520px;
  width: 100%;
}

.title-emblem {
  font-size: 52px;
  color: var(--gold);
  filter: drop-shadow(0 0 16px var(--gold-glow));
  animation: pulse-gold 3s ease-in-out infinite;
  line-height: 1;
}

@keyframes pulse-gold {
  0%, 100% { filter: drop-shadow(0 0 16px var(--gold-glow)); }
  50%       { filter: drop-shadow(0 0 30px rgba(201,168,76,0.6)); }
}

.title-main {
  font-family: 'Cinzel', serif;
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 900;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, #a07830 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-main span {
  display: block;
  font-size: 1.2em;
  background: linear-gradient(135deg, var(--cyan) 0%, #a0e8f8 50%, var(--cyan-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-sub {
  color: var(--text-secondary);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-align: center;
}

/* Difficulty Select */
.difficulty-select {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.select-label {
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.diff-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
}

.diff-btn {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-secondary);
}

.diff-btn:hover {
  border-color: var(--gold);
  color: var(--text-primary);
  background: rgba(201,168,76,0.06);
}

.diff-btn.active {
  border-color: var(--gold);
  background: rgba(201,168,76,0.12);
  color: var(--text-primary);
  box-shadow: 0 0 16px var(--gold-glow);
}

.diff-name {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.diff-btn:not(.active) .diff-name { color: var(--text-secondary); }

/* ---- 戦績パネル ---- */
.stats-panel {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stats-diff-label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.12em;
  min-width: 52px;
}

.stats-record {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.stats-item {
  font-size: 13px;
  color: var(--text-secondary);
}
.stats-item span {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  margin-right: 2px;
}
.stats-item.win  span { color: var(--cyan); }
.stats-item.lose span { color: #e87070; }
.stats-item.draw span { color: var(--text-secondary); }

.stats-sep {
  color: var(--border-glow);
  font-size: 12px;
}

.stats-best {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 64px;
  justify-content: flex-end;
}

.stats-best-label {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.stats-best-num {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}

/* ---- アニメーション速度選択 ---- */
.speed-select {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.speed-label {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  white-space: nowrap;
  min-width: 24px;
}

.speed-buttons {
  display: flex;
  gap: 6px;
  flex: 1;
}

.speed-btn {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 4px;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: var(--transition);
}

.speed-btn:hover {
  border-color: var(--cyan-dim);
  color: var(--cyan);
}

.speed-btn.active {
  border-color: var(--cyan-dim);
  background: rgba(61,214,245,0.08);
  color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

/* ---- 結果ベスト更新バッジ ---- */
.result-best-badge {
  background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.08));
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
  animation: badge-pop 0.5s ease;
}

.result-best-badge.hidden { display: none; }

@keyframes badge-pop {
  0%   { transform: scale(0.7); opacity: 0; }
  70%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

/* Buttons */
.start-btn {
  width: 100%;
  max-width: 320px;
  padding: 16px;
  background: linear-gradient(135deg, #a07030, var(--gold), #a07030);
  background-size: 200% 100%;
  border: none;
  border-radius: 10px;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #0a0a0f;
  cursor: pointer;
  transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.15s ease;
  box-shadow: 0 0 20px var(--gold-glow);
}

.start-btn:hover {
  background-position: 100% 0;
  box-shadow: 0 0 32px rgba(201,168,76,0.5);
  transform: translateY(-2px);
}

.start-btn:active { transform: translateY(0); }

.rules-btn {
  width: 100%;
  max-width: 320px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.rules-btn:hover {
  border-color: var(--cyan-dim);
  color: var(--cyan);
}

/* ======================================
   RULES SCREEN
   ====================================== */
#rules-screen {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.rules-content {
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.rules-title {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.1em;
  width: 100%;
}

.rules-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  width: 100%;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.rule-icon {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--gold);
  min-width: 28px;
  text-align: center;
  padding-top: 1px;
}

.rule-item p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-primary);
}

/* ======================================
   GAME SCREEN
   ====================================== */
#game-screen {
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-bottom: 20px;
}

/* Header */
.game-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 80px;
}
.header-right { justify-content: flex-end; }

.game-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(14px, 3vw, 20px);
  color: var(--gold);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.icon-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 18px;
  width: 36px; height: 36px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.diff-badge {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 2px 7px;
}

/* Message Bar */
.message-bar {
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  background: rgba(22, 25, 42, 0.9);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#message-text {
  transition: opacity 0.3s ease;
}

/* ======================================
   BOARD
   ====================================== */
.board-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  width: 100%;
}

.board {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: var(--bg-board);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px 16px;
  box-shadow:
    0 0 40px rgba(0,0,0,0.6),
    inset 0 0 40px rgba(0,0,0,0.3);
  position: relative;
}

/* Decorative line between rows */
.board::after {
  content: '';
  position: absolute;
  left: calc(var(--mancala-w) + 28px);
  right: calc(var(--mancala-w) + 28px);
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  pointer-events: none;
}

/* Mancala */
.mancala-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mancala {
  width: var(--mancala-w);
  height: var(--mancala-h);
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-mancala);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.mancala-area.ai-side .mancala {
  border-color: var(--ai-stone);
  box-shadow: 0 0 12px var(--ai-glow);
}

.mancala-area.player-side .mancala {
  border-color: var(--player-stone);
  box-shadow: 0 0 12px var(--player-glow);
}

.mancala-stones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 3px;
  padding: 6px;
  max-width: 80%;
  min-height: 60px;
}

.mancala-count {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.mancala-label {
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

/* Pit rows */
.pits-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pits-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

/* Pit */
.pit {
  width: var(--pit-size);
  height: var(--pit-size);
  background: var(--bg-pit);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pit);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  overflow: hidden;
}

.pit.player-pit:hover {
  background: var(--bg-pit-hover);
  border-color: var(--player-stone);
  box-shadow: 0 0 18px var(--player-glow);
  transform: scale(1.05);
}

.pit.player-pit.selectable {
  border-color: var(--player-stone);
  animation: pit-pulse 2s ease-in-out infinite;
}

@keyframes pit-pulse {
  0%, 100% { box-shadow: 0 0 8px var(--player-glow); }
  50%       { box-shadow: 0 0 22px var(--player-glow); }
}

.pit.ai-pit {
  cursor: default;
  border-color: rgba(90, 180, 232, 0.25);
}

.pit.ai-pit.last-ai-move {
  border-color: var(--ai-stone);
  box-shadow: 0 0 14px var(--ai-glow);
}

.pit.empty { opacity: 0.45; }
.pit.empty.player-pit.selectable { opacity: 1; pointer-events: none; }
.pit.empty.player-pit { pointer-events: none; }

.pit-stones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 2px;
  padding: 4px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
}

.pit-count {
  position: absolute;
  bottom: 6px;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* ---- Stones (visual dots) ---- */
.stone {
  width: 8px; height: 8px; /* JSで上書きされる */
  border-radius: 50%;
  flex-shrink: 0;
}

.stone.player-stone {
  background: var(--player-stone);
  box-shadow: 0 0 4px var(--player-glow);
}

.stone.ai-stone {
  background: var(--ai-stone);
  box-shadow: 0 0 4px var(--ai-glow);
}

.stone.neutral-stone {
  background: var(--gold);
  box-shadow: 0 0 4px var(--gold-glow);
}

.mancala .stone { width: 7px; height: 7px; }

/* Highlight: selected pit */
.pit.selected {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  box-shadow: 0 0 24px var(--gold-glow);
  transform: scale(1.08);
}

/* Score bar */
.score-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-radius: 12px;
  margin: 0 12px;
  width: calc(100% - 24px);
  max-width: 600px;
}

.score-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.ai-score { justify-content: flex-start; }
.player-score { justify-content: flex-end; }

.score-label {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.score-num {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 36px;
  text-align: center;
}

.score-divider {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

/* ======================================
   RESULT OVERLAY
   ====================================== */
.result-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 10, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  transition: opacity 0.4s ease;
}

.result-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.result-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
  animation: card-in 0.4s ease;
}

@keyframes card-in {
  from { transform: scale(0.88) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.result-emblem {
  font-size: 56px;
  line-height: 1;
  filter: drop-shadow(0 0 16px var(--gold-glow));
}

.result-title {
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-align: center;
}

.result-scores {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-board);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 28px;
  width: 100%;
  justify-content: center;
}

.result-score-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.result-label {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.result-num {
  font-family: 'Cinzel', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
}

.result-vs {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.result-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* ======================================
   ANIMATIONS
   ====================================== */
@keyframes stone-drop {
  0%   { transform: scale(0) rotate(-180deg); opacity: 0; }
  70%  { transform: scale(1.2) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.stone.dropping {
  animation: stone-drop 0.3s ease forwards;
}

@keyframes capture-flash {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: 0 0 30px var(--gold-glow), inset 0 0 20px rgba(201,168,76,0.2); }
}

.pit.capture-effect {
  animation: capture-flash 0.6s ease;
}

@keyframes bonus-turn {
  0%   { box-shadow: 0 0 10px var(--gold-glow); }
  50%  { box-shadow: 0 0 40px rgba(201,168,76,0.7); }
  100% { box-shadow: 0 0 10px var(--gold-glow); }
}

.mancala.bonus-effect {
  animation: bonus-turn 0.8s ease;
}

/* Message highlight */
.message-bar.highlight {
  background: rgba(201,168,76,0.08);
  border-bottom-color: var(--gold);
}
.message-bar.highlight #message-text { color: var(--gold); }

/* ======================================
   RESPONSIVE: スマホ縦持ち
   ====================================== */
@media (max-width: 680px) {
  :root {
    --pit-size:      72px;
    --mancala-w:     64px;
    --mancala-h:     170px;
  }

  #game-screen { padding-bottom: 12px; }

  .board {
    flex-direction: column;
    gap: 8px;
    padding: 14px 12px;
  }

  /* ボードの装飾線を横→縦に */
  .board::after {
    left: 50%;
    right: auto;
    top: calc(var(--mancala-h) + 22px);
    bottom: calc(var(--mancala-h) + 22px);
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--border-glow), transparent);
  }

  .mancala-area {
    width: 100%;
    justify-content: center;
  }

  /* スマホ：マンカラを横長に */
  .mancala {
    width: 100%;
    max-width: 340px;
    height: 60px;
    flex-direction: row;
    border-radius: 40px;
    padding: 0 20px;
  }

  .mancala-stones {
    flex-direction: row;
    min-height: auto;
    max-width: none;
    flex: 1;
    padding: 4px;
  }

  .mancala-count {
    font-size: 20px;
    min-width: 30px;
    text-align: center;
  }

  .mancala-label {
    min-width: 36px;
    text-align: right;
  }

  .pits-area { width: 100%; }

  .pits-row {
    justify-content: center;
  }

  /* スマホ：AI穴は逆順（右から左） */
  .ai-pits { flex-direction: row-reverse; }

  .pit-count { font-size: 14px; }

  .score-bar {
    gap: 12px;
    padding: 10px 16px;
  }

  .score-num { font-size: 22px; }

  .game-title { font-size: 16px; }
}

@media (max-width: 400px) {
  :root {
    --pit-size:   60px;
    --mancala-h:  52px;
  }
  .pits-row { gap: 6px; }
  .board { gap: 6px; padding: 10px 8px; }
}

/* ======================================
   AI thinking indicator
   ====================================== */
@keyframes think-dot {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40%           { opacity: 1;   transform: scale(1.1); }
}

.thinking-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-left: 8px;
}

.thinking-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  animation: think-dot 1.2s ease-in-out infinite;
}
.thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Disabled state during AI turn */
.board.ai-turn .player-pit {
  pointer-events: none;
  cursor: default;
}
