:root {
  --game: #eab308;
  --game-deep: #a16207;
  --game-ink: #422006;
}

/* Game-specific: board/tiles only. Shell: ../../assets/css/game-shared.css */
#gallows {
  width: 140px;
  height: auto;
  stroke: #fde68a;
  stroke-width: 4;
  stroke-linecap: round;
  fill: none;
}
.word {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.letters {
  display: grid;
  grid-template-columns: repeat(8, minmax(30px, 36px));
  gap: 5px;
  justify-content: center;
}
.letter {
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #a16207;
  color: #fefce8;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}
.letter:hover:not(:disabled) {
  background: #ca8a04;
}
.letter:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* Исторический фон страницы (до unified shell): shell даёт layout,
   доступность и HUD-структуру, цвет страницы — из истории игры. */
body {
  background: #fef9c3;
  color: #422006;
}

.hud {
  background: #a16207;
  color: #fefce8;
}
