body {
  margin: 0;
  overflow: hidden;
  background: #000;
  color: white;
  font-family: Arial, sans-serif;
}

#ui {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  border-radius: 10px;
  z-index: 10;
  user-select: none;
  width: 320px;
  max-height: 90vh;
  overflow-y: auto;
  transition: max-height 0.3s ease;
}

#dropdownToggle {
  cursor: pointer;
  padding: 10px 20px;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  user-select: none;
}

#controlsContent {
  display: none;
  padding: 10px 20px 20px 20px;
}

#ui.open #controlsContent {
  display: block;
}

#ui label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

#ui input[type="range"],
#ui input[type="number"] {
  width: 100%;
  margin-top: 4px;
}
