.stage {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
}
.stage > .bgvid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  pointer-events: none;
}
.ctl {
  position: absolute;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ctl .shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: filter 0.08s;
  pointer-events: none;
}
.ctl .shape * { vector-effect: non-scaling-stroke; }
.ctl .lbl {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font: 600 1cqw/1 system-ui, sans-serif;
  pointer-events: none;
}
.ctl.on .shape { filter: brightness(1.8); }
.ctl { transition: transform 0.06s ease-out; }
.ctl.on:not(.ctl-joystick):not(.ctl-minimap) { transform: scale(0.92); }
.ctl.on:not(.ctl-joystick):not(.ctl-minimap) .lbl { color: #fff; }
.ctl-minimap {
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  background: rgba(16, 18, 22, 0.5);   /* translucent dark panel: the video behind shows through */
}
.ctl-minimap canvas.mm {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none;
  border-radius: 5px; opacity: 0.74;   /* lower this (e.g. 0.6) to make the map fainter */
}
.ctl .knob { transition: transform 0.05s linear; }
