/* Only the phone signup panel leaves the native top layer. Google keeps
   control of its external challenge frame and its own higher stacking layer. */
@media (max-width: 600px) {
  .mobile-signup-backdrop {
    position: fixed;
    inset: 0;
    background: #17291c80;
    z-index: 999;
  }
  #modal.mobile-signup-dialog[open] {
    position: fixed;
    inset: 14px 0 auto;
    margin: 0 auto;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    padding: 20px;
    overscroll-behavior: contain;
    z-index: 1000;
    box-shadow: none;
    max-height: calc(100dvh - 28px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #modal.mobile-signup-dialog .honar-captcha-wrap {
    overflow-x: auto;
    padding: 2px 0;
    min-height: 82px;
  }
}
