.rv-wrap {
  max-width: 500px;
}

.rv-board {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  gap: 3px;
  padding: 10px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: #14532d;
  box-shadow: var(--shadow), inset 0 0 0 3px #0f3f22;
}

.rv-cell {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #1f7a43;
  cursor: default;
  perspective: 400px;
}

.rv-cell.hint {
  cursor: pointer;
}

.rv-cell.hint::after {
  content: "";
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.rv-cell.hint:hover::after {
  inset: 12%;
  background: rgba(255, 255, 255, 0.18);
}

.rv-cell.last {
  box-shadow: inset 0 0 0 2px rgba(250, 204, 21, 0.8);
}

.rv-disc {
  position: absolute;
  inset: 9%;
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
  opacity: 0;
}

.rv-cell.black .rv-disc,
.rv-cell.white .rv-disc {
  opacity: 1;
}

.rv-cell.white .rv-disc {
  transform: rotateY(180deg);
}

.rv-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  backface-visibility: hidden;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
}

.rv-face.black {
  background: radial-gradient(circle at 35% 30%, #4b5563, #111827 60%);
}

.rv-face.white {
  background: radial-gradient(circle at 35% 30%, #ffffff, #e5e7eb 60%, #cbd5e1);
  transform: rotateY(180deg);
}

.stat-b .stat-value::before {
  content: "⚫ ";
  font-size: 0.8em;
}

.stat-wh .stat-value::before {
  content: "⚪ ";
  font-size: 0.8em;
}
