.signup-modal {
  position: fixed;
  box-sizing: border-box;
  width: min(402px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #f4f8ff;
  box-shadow: 0 20px 65px #09152f66;
}
.signup-modal::backdrop { background: #111c37a6; }
.signup-modal iframe {
  display: block;
  width: 100%;
  height: min(var(--signup-height, 450px), 540px, calc(100dvh - 28px));
  border: 0;
}
.signup-modal .signup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #edf4ff;
  color: #173762;
  font: 24px/1 system-ui,sans-serif;
  cursor: pointer;
}
.signup-photo { display: block; cursor: pointer; }
.signup-photo:focus-visible { outline: 3px solid #0874ce; outline-offset: 2px; }
