.art-golf {
  background: linear-gradient(180deg, #123e2d18, #102f29b8),
    url('golf-preview.jpg') center / cover;
}
.art-water {
  background: linear-gradient(180deg, #123e2d18, #102f29b8),
    url('water-preview.jpg') center / cover;
}
.workshop-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
body[data-game='golf'] .player,
body[data-game='water'] .player {
  min-height: 0;
}
.workshop-controls button,
.workshop-controls select {
  min-height: 48px;
  min-width: 48px;
}
.workshop-controls label {
  display: grid;
  gap: 2px;
  font-size: 11px;
  font-weight: 800;
  color: #365950;
}
.workshop-controls select {
  max-width: 180px;
  font: inherit;
  font-size: 13px;
  padding: 0 10px;
  border: 1px solid #adbbb1;
  border-radius: 12px;
  background: #fffdf5;
  color: #183c34;
}
.golf-compass {
  display: flex;
  gap: 4px;
}
.golf-compass button {
  padding: 0;
  font-size: 24px;
}
.golf-power {
  width: 110px;
}
.golf-power input {
  width: 100%;
  height: 44px;
  margin: 0;
  accent-color: #27684a;
}
#golf-strokes {
  font-size: 12px;
  font-weight: 800;
}
body[data-game='golf'] .hud,
body[data-game='water'] .hud {
  pointer-events: none;
}
@media (max-width: 600px) {
  .golf-controls {
    gap: 6px;
  }
  .golf-compass button {
    min-width: 44px;
    min-height: 44px;
  }
  .golf-power {
    width: 80px;
  }
  .golf-controls > button {
    padding: 8px 12px;
  }
  #golf-strokes {
    display: none;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  body[data-game='golf'] .player,
  body[data-game='water'] .player {
    grid-template-rows: 44px minmax(0, 1fr) 60px;
  }
  .workshop-controls {
    gap: 6px;
    flex-wrap: nowrap;
  }
  .workshop-controls button,
  .workshop-controls select {
    min-height: 44px;
  }
  .golf-power {
    width: 90px;
  }
  body[data-game='golf'] .scene-hint,
  body[data-game='water'] .scene-hint {
    display: none;
  }
  body[data-game='golf'] .hud,
  body[data-game='water'] .hud {
    top: 8px;
    left: 8px;
    gap: 8px;
    padding: 8px 10px;
  }
}
@media (min-height: 300px) and (max-height: 500px) and (orientation: landscape) {
  body[data-game='golf'] .player,
  body[data-game='water'] .player {
    grid-template-columns: minmax(0, 1fr) 160px;
    grid-template-rows: auto minmax(0, 1fr);
  }
  body[data-game='golf'] .play-header,
  body[data-game='water'] .play-header {
    grid-column: 1 / -1;
  }
  body[data-game='golf'] .controls,
  body[data-game='water'] .controls {
    grid-column: 2;
    grid-row: 2;
    padding: 8px;
    align-self: center;
  }
  .workshop-controls {
    flex-wrap: wrap;
  }
  .water-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .water-controls select {
    width: 100%;
  }
  .golf-compass {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .golf-controls > button {
    padding: 4px 8px;
    font-size: 12px;
  }
  .golf-power {
    width: 100%;
  }
  #golf-strokes {
    display: none;
  }
}
