/* Volume slider: a real range input, drawn like the design's red track + thumb. */
.range {
  --value: 78%;
  -webkit-appearance: none;
  appearance: none;
  width: 110px;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red) var(--value), #e6dede var(--value));
}

.range::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: #e6dede;
}

.range::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--red);
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
}

.range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
}
