@import url("../../theme.css");

.board {
  display: grid;
  grid-template-columns: repeat(3, clamp(68px, min(22vw, 15.2dvh), 92px));
  grid-template-rows: repeat(3, clamp(68px, min(22vw, 15.2dvh), 92px));
  gap: clamp(6px, 1.1dvh, 8px);
}

.tile {
  background: linear-gradient(180deg, oklch(100% 0 0) 0%, oklch(96% 0.01 300) 100%);
  color: var(--ink-primary);
  border: 2px solid var(--frame-white);
  border-radius: var(--radius-md);
  box-shadow: var(--ledge-surface);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, min(5vw, 4.2dvh), 2.1rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast),
    background-color var(--transition-fast);
}

.tile:hover:not(.empty) {
  background: var(--friv-gold);
  border-color: var(--frame-white);
  color: var(--friv-gold-ink);
  transform: translateY(-2px);
}

.tile:active:not(.empty) {
  transform: translateY(2px);
  box-shadow: none;
}

.tile.empty {
  background-color: oklch(23% 0.14 302);
  border: 2px dashed oklch(65% 0.12 302 / 0.65);
  box-shadow: inset 0 2px 6px oklch(14% 0.09 302 / 0.6);
  cursor: default;
}
