.popup .stage {
  container-type: inline-size;
}

.popup .stage-controls {
  gap: clamp(6px, 2.5cqw, 12px);
  flex-wrap: wrap;
}

.popup .stage-controls > button {
  flex: 0 0 auto;
  padding: 0;
  line-height: 1;
  touch-action: manipulation;
}

.popup .stage-controls .ctrl,
.popup .stage-controls .soft {
  width: clamp(44px, 16cqw, 64px);
  height: clamp(44px, 16cqw, 64px);
  font-size: 32px;
  background: rgba(8, 8, 12, .12);
}

.popup .stage-controls .big {
  width: clamp(88px, 27cqw, 104px);
  height: clamp(88px, 27cqw, 104px);
}

.popup .stage-controls .big svg {
  display: block;
  width: 48px;
  height: 48px;
}

.popup .stage-controls .ctrl svg,
.popup .stage-controls .soft svg {
  display: block;
  width: 32px;
  height: 32px;
}

.popup .stage-controls > button:focus-visible {
  outline: 3px solid var(--bg, #08080c);
  outline-offset: 4px;
}

@media (hover: hover) {
  .popup .stage-controls .ctrl:hover,
  .popup .stage-controls .soft:hover {
    background: rgba(8, 8, 12, .22);
  }
}
