/* The volume screen: the original's frame with its row of lights, over a real range input. */
.volume {
  background: url(/assets/gfx/menu/volumeframe.png) 0 0 / 100% 100% no-repeat;
  image-rendering: pixelated;
}
.volume .light {
  position: absolute;
  background: url(/assets/gfx/menu/volumestep.png) 0 0 / 100% 400% no-repeat;
  image-rendering: pixelated;
}
.volume input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  touch-action: none;
  appearance: none;
  background: transparent;
  border: 0;
}
.volume input::-webkit-slider-thumb { appearance: none; width: 1px; height: calc(32 * var(--u)); }
.volume input::-moz-range-thumb { width: 1px; height: calc(32 * var(--u)); border: 0; }
.volume:has(input:focus-visible) { outline: calc(2 * var(--u)) solid #fff; }
