.board {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  aspect-ratio: 1 / 1;
  height: auto;
}

.board-cell {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.board-cell::before {
  z-index: 0;
}

.checker {
  position: absolute;
  inset: 10%;
  width: auto;
  height: auto;
  aspect-ratio: 1 / 1;
  z-index: 1;
}

.turn-label {
  width: 52%;
  height: 52%;
}

.board-cell.last-target {
  outline: 4px solid rgba(36, 103, 212, 0.58);
  outline-offset: -4px;
  box-shadow: none;
}

@media (max-width: 640px) {
  .board-cell.last-target {
    outline-width: 3px;
    outline-offset: -3px;
  }
}
