
.game-container { text-align: center; }
canvas {
  background: #d2b48c;
  border: 4px solid #8b4513;
  border-radius: 4px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
  margin-bottom: 16px;
  max-width: 100%;
  height: auto;
}
.board-snapped {
  border-left-color: transparent;
  border-right-color: transparent;
}
.word-display {
  font-size: 1.8rem;
  letter-spacing: 10px;
  font-weight: bold;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.keyboard { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.key {
  padding: 10px 0;
  width: 35px;
  background: #eee;
  color: #111;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-family: inherit;
}
.key.disabled { opacity: 0.5; cursor: not-allowed; background: #ddd; }
.msg { font-size: 1.1rem; font-weight: bold; margin: 15px 0; min-height: 28px; color: var(--text); }
.msg.win { color: #4ad48a; }
.msg.lose { color: #ff6b6b; }
