.recovery-popup {
  box-sizing: border-box;
  width: min(27rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  background: #111e34;
  border: 1px solid #d98b47;
  border-radius: .9rem;
  box-shadow: 0 1rem 3rem #0009;
}

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

.recovery-popup-panel { position: relative; padding: clamp(1rem, 5vw, 1.55rem); }
.recovery-popup .eyebrow { padding-right: 2.5rem; margin-bottom: .75rem; }
.recovery-popup h2 { font-size: clamp(1.75rem, 7.5vw, 2.7rem); }
.recovery-popup h2 span { color: #ffae61; }
.recovery-popup-close {
  position: absolute;
  top: .55rem;
  right: .55rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--tint);
  font-size: 1.5rem;
  line-height: 1;
}
.recovery-popup-close:focus-visible { outline-offset: 2px; }
.recovery-popup-call {
  display: flex;
  flex-direction: column;
  width: 100%;
  line-height: 1.2;
  text-align: center;
}
.recovery-popup-call strong { font-size: clamp(1.35rem, 6vw, 1.85rem); }
.recovery-popup .location-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.recovery-popup .location-actions > * { min-height: 48px; padding: .45rem .35rem; font-size: .875rem; line-height: 1.2; text-align: center; }
.recovery-popup .location-pin { animation: none; }
.recovery-popup .location-pin svg { width: 1.25rem; height: 1.25rem; }
.recovery-popup-note { margin: .6rem 0 0; color: var(--muted); font-size: .875rem; }

@media (max-width: 350px) {
  .recovery-popup .location-pin svg { display: none; }
}
