/* Khusus Dam */
.board-wrap { max-width: calc(100vh - 48px); }
#board .sq { outline: none; }
#board .sq.can,
#board .sq.target,
#board .sq.picked { cursor: pointer; }
#board .sq:focus-visible { stroke: #4fa8ff; stroke-width: 8; }
#board .marks, #board .pieces { pointer-events: none; }
#board .pulse { animation: march 0.9s linear infinite; }
#board .dot { animation: pop 0.25s ease; transform-box: fill-box; transform-origin: center; }
@keyframes march { to { stroke-dashoffset: -36; } }

#hintBtn { width: 100%; margin-top: 14px; min-height: 48px; font-size: 1rem; }
#hintBtn:disabled { background: #f1ece2; color: #8a8296; box-shadow: 0 5px 0 var(--ink); }

.players .side { font-size: 0.8rem; font-weight: 500; }
.players .kings {
  margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-weight: 700;
  background: var(--gold); border: 2px solid var(--ink); border-radius: 8px; padding: 1px 6px;
}
.players .kings + .pos { margin-left: 8px; }

/* 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) {
  .players .side { display: none; }
  .players .kings { margin: 0; font-size: 0.8rem; }
  .players .kings + .pos { margin-left: 0; }
  #hintBtn { margin-top: 10px; min-height: 44px; }
}
