/* Го 9x9 (games/go_room.html + js/go-board.js). Токени — з mindlounge.css / game-room-theme.css. */

.go-board-wrap {
  margin: .75rem 0;
}

.go-board-svg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: .5rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  /* Тап-only дошка: без дабл-тап-зуму й без "мигання" при торканні; скрол сторінки не блокується. */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}

.go-board-svg .go-line { stroke: #3b2a12; stroke-width: .045; stroke-linecap: square; }
.go-board-svg .go-hoshi { fill: #3b2a12; }
.go-board-svg .go-last { fill: none; stroke-width: .07; }
.go-board-svg .go-last.on-black { stroke: #f4f1e8; }
.go-board-svg .go-last.on-white { stroke: #171f36; }
.go-board-svg .go-ghost { opacity: .45; pointer-events: none; }

.go-captures {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: .95rem;
}
.go-captures-label { font-size: .75rem; opacity: .8; }

.go-status {
  min-height: 3rem;
  margin: .25rem 0 .75rem;
  padding: .55rem .8rem;
  background: var(--ml-glass-bg);
  border: 1px solid var(--line);
  border-radius: .75rem;
  color: var(--ml-text-primary);
  font-size: .95rem;
}

.go-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: 1rem;
}
.go-actions .btn:disabled { opacity: .45; }

.go-rules {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.go-rules summary { cursor: pointer; color: var(--ml-text-primary); }
.go-rules ul { padding-left: 1.1rem; margin: .5rem 0 0; }
.go-rules li { margin-bottom: .35rem; }
