/* Lights out: dark/lit cells; each cell also shows a symbol (● on, · off). */
.lights-grid { display: grid; width: 100%; min-width: 260px; max-width: 460px; margin: 20px auto; padding: 8px; border-radius: 16px; border: 1px solid #789cac; background: #12232e; }
.lights-row { display: grid; grid-template-columns: repeat(var(--grid-size, 5), minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
.lights-row:last-child { margin-bottom: 0; }
.games-main .light-cell { border-radius: 10px; border: 1px solid #54717c; background: #101c25; color: #b0c4ce; font-size: clamp(1rem, 5vw, 1.8rem); transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; cursor: pointer; }
.games-main .light-cell--on { background: #f6e27a; color: #3a2e00; border-color: #fff3b0; box-shadow: 0 0 14px 2px rgba(246, 226, 122, .55); }
.games-main .light-cell[aria-disabled="true"] { cursor: default; }
@media (max-width: 540px) { .lights-grid { padding: 6px; } .lights-row { gap: 4px; margin-bottom: 4px; } }
@media (prefers-reduced-motion: reduce) { .games-main .light-cell { transition: none; } }
