.recovery-popup {
  width: min(28rem, calc(100% - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  color: #fff;
  background: radial-gradient(ellipse at top right, #541bac, transparent 70%), #211536;
  border: 1px solid #cea1ff;
  border-radius: 1rem;
  box-shadow: 0 0 2rem #a25cff9e, 0 1rem 3rem #0009;
}

.recovery-popup::backdrop { background: #130b24d9; }
body:has(.recovery-popup[open]) { overflow: hidden; }

.recovery-popup-panel { position: relative; padding: clamp(1rem, 5vw, 1.55rem); }
.recovery-popup .eyebrow { margin: .25rem 2.6rem .7rem 0; }
.recovery-popup h2 { font-size: clamp(1.7rem, 7vw, 2.65rem); }
.recovery-popup h2 span { color: var(--mint); }
.recovery-popup-close {
  position: absolute;
  top: .55rem;
  right: .55rem;
  width: 44px;
  height: 44px;
  border: 1px solid #cea1ff;
  border-radius: 50%;
  color: #fff;
  background: #251345;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.recovery-popup .pin-feedback { position: relative; inset: auto; grid-column: 1 / -1; }
.recovery-popup-note { margin: .6rem 0 0; color: var(--lilac); font-size: .875rem; }
