#goCaptureDim {
  position: fixed;
  inset: 0;
  z-index: 99990;
  pointer-events: none;
}

#goCaptureHole {
  position: fixed;
  z-index: 99991;
  border: 2px solid #4f8cff;
  box-shadow: 0 0 0 9999px rgba(0,0,0,.68);
  background: transparent;
  border-radius: 6px;
  pointer-events: none;
}

#goCaptureGuide {
  position: fixed;
  z-index: 99992;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,15,30,.9);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.18);
  pointer-events: none;
}

#goCaptureToolbar {
  position: fixed;
  z-index: 99993;

  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);

  display: flex;
  gap: 10px;

  pointer-events: auto;
}

#goCaptureToolbar button,
.goCaptureResultBox button {
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  background: #4f8cff;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

#goCaptureToolbar .cancel,
.goCaptureResultBox .cancel {
  background: rgba(255,255,255,.18);
}

#goCaptureResult {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.72);
  display: flex;
  align-items: center;
  justify-content: center;
}

.goCaptureResultBox {
  width: min(92vw, 1100px);
  max-height: 92vh;
  background: #111827;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 16px;
  color: #fff;
}

.goCaptureResultBox img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #000;
  border-radius: 10px;
}

.goCaptureResultActions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

#goCaptureRatioPanel {
  position: fixed;
  z-index: 99994;
  right: 28px;
  bottom: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
}

#goCaptureRatioPanel button {
  min-width: 72px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(10,15,30,.72);
  color: rgba(255,255,255,.82);
  cursor: pointer;
  font-weight: 600;
}

#goCaptureRatioPanel button.active {
  background: #4f8cff;
  color: #fff;
  border-color: #4f8cff;
}