body {
  font-family: sans-serif;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  text-align: center;
}

.scoreboard {
  display: flex;
  justify-content: space-evenly;
  margin: 20px 0;
}

.score-card {
  width: 150px;
  border: solid black 2px;
  font-weight: bold;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.score-number {
  width: 100%;
  height: 100px;
  line-height: 100px;
  font-size: 36pt;
}

.score-card.current .score-number {
  background: white;
}

.score-label {
  width: 100%;
  line-height: 30px;
  color: white;
  background: grey;
}

.score-card.current .score-label {
  background: #17a2b8;
}

.roll-controls {
  text-align: center;
  margin: 20px 0;
  font-size: 1.25rem;
}

.dice-input {
  width: 60px;
  font-size: 1.25rem;
  text-align: center;
}

.roll-button {
  margin-left: 10px;
  padding: 8px 20px;
  font-size: 1.25rem;
  background: #17a2b8;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.roll-button.waiting {
  background: #999;
  cursor: wait;
}

.error-message {
  color: red;
}

.dice-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.dice-row img {
  width: 100px;
  height: 100px;
}

.last-turn {
  text-align: center;
  margin: 20px 0;
  font-size: 1.1rem;
}

.boar-brawl {
  font-size: 1.5rem;
  font-weight: bold;
}

.game-over {
  text-align: center;
  margin: 40px 0;
}

.game-over h2 {
  color: #17a2b8;
}

.game-over .final-score {
  font-size: 1.25rem;
}

.new-game-setup {
  text-align: center;
  margin: 40px 0;
}

.start-game-button {
  margin-left: 20px;
  padding: 8px 24px;
  font-size: 1.1rem;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.turns-display {
  border-top: 1px solid #ddd;
  margin: 20px 0;
}

.settings {
  text-align: center;
  margin: 20px 0;
}

.strategy-label {
  font-size: 1rem;
}

.strategy-select {
  font-size: 1rem;
  padding: 4px 8px;
  margin-left: 4px;
}

.settings button {
  margin-left: 20px;
  padding: 6px 16px;
  font-size: 1rem;
  cursor: pointer;
}
