/* Camera controls */
#cameraPanel .camera-limit {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
}

#cameraPanel .camera-limit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

#cameraPanel .camera-limit-title {
  font-size: 0.82rem;
  line-height: 1.2;
  color: #ffffff;
}

#cameraPanel .camera-limit-header-right {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

#cameraPanel .camera-limit-values {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

#cameraPanel .dual-range {
  width: 100%;
  padding-top: 0;
}

#cameraPanel .dual-range[hidden] {
  display: none !important;
}

#cameraPanel .camera-dof-controls {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

#cameraPanel .camera-dof-controls[hidden] {
  display: none !important;
}

#cameraPanel .camera-single-range {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

#cameraPanel .camera-single-range-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
}

#cameraPanel .camera-single-range-header span:last-child {
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

#cameraPanel .range-slider {
  position: relative;
  width: 100%;
  height: 14px;
  padding: 0;
}

#cameraPanel .camera-single-range input[type="range"],
#cameraPanel .range-slider input[type="range"] {
  width: 100%;
  height: 14px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  -webkit-appearance: none;
  appearance: none;
}

#cameraPanel .range-slider input[type="range"] {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#cameraPanel .range-slider input[type="range"]:first-of-type {
  z-index: 1;
}

#cameraPanel .range-slider input[type="range"]:last-of-type {
  z-index: 2;
}

#cameraPanel .range-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

#cameraPanel .camera-single-range input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

#cameraPanel .camera-single-range input[type="range"]::-webkit-slider-thumb,
#cameraPanel .range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: all;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgb(39, 88, 208);
}

#cameraPanel .range-slider input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.24);
}

#cameraPanel .camera-single-range input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.24);
}

#cameraPanel .camera-single-range input[type="range"]::-moz-range-thumb,
#cameraPanel .range-slider input[type="range"]::-moz-range-thumb {
  pointer-events: all;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgb(39, 88, 208);
}

#cameraPanel .slider-track {
  display: block;
  position: absolute;
  top: 5px;
  height: 4px;
  border-radius: 999px;
  background: rgba(141, 212, 255, 0.72);
  pointer-events: none;
  z-index: 0;
}

#cameraPanel .value-bubble {
  position: static;
  transform: none;
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0.9;
  font-variant-numeric: tabular-nums;
  padding: 0.2rem 0.38rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  min-width: 42px;
  text-align: center;
}
