/* Mini Sudoku — board-specific styles (chrome comes from /games/puzzle.css) */
.sk-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  width: min(92vw, 420px);
  aspect-ratio: 1 / 1;
  background: var(--border-bright);
  border: 3px solid var(--border-bright);
  border-radius: 12px;
  overflow: hidden;
  gap: 1px;
  box-shadow: 0 0 36px rgba(184, 255, 64, 0.12);
  user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.sk-cell {
  background: var(--board-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: clamp(20px, 6.5vw, 30px);
  color: var(--acid);
  cursor: pointer;
  position: relative;
  transition: background 0.1s;
}
/* thick separators for 2×3 boxes: columns split after col 3, rows split after 2 & 4 */
.sk-cell[data-c="3"] { border-left: 3px solid var(--border-bright); }
.sk-cell[data-r="2"], .sk-cell[data-r="4"] { border-top: 3px solid var(--border-bright); }

.sk-cell.given { color: var(--text); font-weight: 800; background: #0E1A0D; cursor: default; }
.sk-cell.peer { background: #121F10; }
.sk-cell.same { background: rgba(184, 255, 64, 0.10); }
.sk-cell.selected { background: rgba(184, 255, 64, 0.22); box-shadow: inset 0 0 0 2px var(--acid); z-index: 1; }
.sk-cell.conflict { color: var(--orange) !important; background: rgba(255, 90, 74, 0.18); }
.sk-cell.solved-flash { animation: skFlash 0.5s ease-out; }
@keyframes skFlash { 0% { background: rgba(184,255,64,0.5); } 100% { } }

.sk-pad {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  width: min(92vw, 420px);
}
.sk-key {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 800; font-size: 20px;
  padding: 12px 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(184, 255, 64, 0.08);
  color: var(--acid);
  cursor: pointer;
  transition: all 0.12s;
}
.sk-key:hover { background: rgba(184, 255, 64, 0.18); border-color: var(--border-bright); }
.sk-key:active { transform: scale(0.94); }
.sk-key.sk-erase { color: var(--text-muted); background: rgba(255,255,255,0.03); }
.sk-key.done { opacity: 0.32; pointer-events: none; }
@media (max-width: 420px) { .sk-key { font-size: 17px; padding: 10px 0; } }
