.rv-scoreline {
  text-align: center;
  font-family: ui-monospace, monospace;
  font-size: 15px;
  letter-spacing: 1px;
  margin: 4px 0 12px;
  color: var(--text);
}
.rv-scoreline .rv-black { color: #f5f7fa; font-weight: 700; }
.rv-scoreline .rv-white { color: #f5f7fa; font-weight: 700; }
.rv-scoreline .rv-sep { color: var(--muted); margin: 0 8px; }

.mp-bar .score {
  display: inline-block;
  min-width: 22px;
  padding: 2px 6px;
  margin: 0 4px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--text);
}

.rv-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 4px;
  background: #0f3a26;
  border: 2px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  user-select: none;
}

.rv-cell {
  background:
    radial-gradient(circle at 50% 50%, #1f6b48 0%, #154b32 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  border-radius: 3px;
  transition: background 120ms;
}
.rv-cell.legal { cursor: pointer; }
.rv-cell.legal:hover {
  background:
    radial-gradient(circle at 50% 50%, #2a8a5d 0%, #1c6242 100%);
}
.rv-cell.lastmove {
  box-shadow: inset 0 0 0 3px rgba(94, 223, 255, 0.7);
}

.rv-disc {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.5),
    inset 2px 2px 6px rgba(255, 255, 255, 0.15),
    inset -2px -2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 180ms;
}
.rv-disc.black {
  background: radial-gradient(circle at 35% 30%, #4a4a4a 0%, #0a0a0a 70%);
}
.rv-disc.white {
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #c0c4cb 70%);
}

.rv-hint {
  width: 28%;
  height: 28%;
  border-radius: 50%;
  opacity: 0.55;
}
.rv-hint.black { background: #111; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18); }
.rv-hint.white { background: #eee; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.18); }

.rv-history {
  margin-top: 16px;
  padding: 10px 12px;
  background: var(--panel2);
  border-radius: 8px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  max-height: 120px;
  overflow-y: auto;
  color: var(--muted);
  line-height: 1.7;
}
.rv-history span { margin-right: 10px; color: var(--text); white-space: nowrap; }
.rv-history span.rv-pass { color: var(--muted); font-style: italic; }

@media (max-width: 540px) {
  .rv-board { max-width: 96vw; }
  .rv-scoreline { font-size: 13px; }
}
