.checkers-board {
  display: grid;
  grid-template-columns: repeat(8, 52px);
  grid-template-rows: repeat(8, 52px);
}

@media (max-width: 520px) {
  .checkers-board { grid-template-columns: repeat(8, 10.5vw); grid-template-rows: repeat(8, 10.5vw); }
}

.checkers-cell {
  position: relative;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--parchment-300);
}

.checkers-cell.dark {
  background: var(--wood-900);
  cursor: pointer;
}

.checkers-cell.selectable::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: rgba(212, 176, 108, 0.5);
}

.checkers-cell.selected {
  box-shadow: 0 0 0 3px var(--brass-500) inset;
}

.checker-piece {
  width: 74%;
  height: 74%;
  border-radius: 50%;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
  position: relative;
}

.checker-piece.p0 { background: radial-gradient(circle at 32% 26%, var(--wine-500), var(--wine-800) 80%); }
.checker-piece.p1 { background: radial-gradient(circle at 32% 26%, var(--brass-500), var(--brass-800) 80%); }

.checker-piece.king::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.65);
}
