/* REVERSI: tablero verde con fichas negras y blancas; las jugadas válidas llevan un punto y la última jugada un marco */
.rv-tablero { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; width: 100%; max-width: 28rem; margin: 0 auto; padding: 3px; background: #0F3B2A; }
.rv-celda { aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 0; background: #1E6B4B; cursor: pointer; display: grid; place-items: center; position: relative; touch-action: manipulation; }
.rv-celda:hover { background: #26805A; }
.rv-celda:focus-visible { outline: 3px solid var(--limon); outline-offset: -3px; z-index: 1; }
.rv-celda--ultima { box-shadow: inset 0 0 0 3px var(--limon); }
.rv-celda--legal::after { content: ""; position: absolute; width: 22%; height: 22%; border-radius: 50%; background: rgba(230, 241, 74, 0.85); pointer-events: none; }
.rv-ficha { display: block; width: 78%; height: 78%; border-radius: 50%; transform: scale(0); transition: transform 0.18s ease-out, background-color 0.25s; pointer-events: none; }
.rv-ficha--negra { transform: scale(1); background: #15201B; box-shadow: 0 0 0 2px #EAF2EE inset; }
.rv-ficha--blanca { transform: scale(1); background: #F4F1E8; box-shadow: 0 0 0 2px #15201B inset; }
@media (prefers-reduced-motion: reduce) { .rv-ficha { transition: none; } }
