.crossword-board {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

.crossword-grid {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--color-bg-panel);
  border: 4px solid var(--color-accent);
  border-radius: 16px;
}

.crossword-cell {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: bold;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease;
}

.crossword-cell:active {
  transform: scale(0.94);
}

.crossword-cell.blocked {
  background: transparent;
  border: none;
  cursor: default;
}

.crossword-cell.filled {
  background: var(--color-good);
  border: 2px solid var(--color-good);
  cursor: default;
}

.crossword-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 16px;
  padding: 0 8px;
}

.crossword-tile {
  width: 52px;
  height: 52px;
  font-size: 26px;
  font-weight: bold;
  color: var(--color-text);
  background: var(--color-button);
  border: 3px solid var(--color-button-border);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease;
}

.crossword-tile:active {
  transform: scale(0.92);
}

.crossword-tile.selected {
  background: var(--color-accent-dark);
  border-color: var(--color-text);
  transform: scale(1.08);
}
