/* Keep the optional signup invitation inside the usable viewport, above mobile navigation. */
.fp-nl-prompt{
 z-index:2800;
 right:var(--fp-nl-layout-right,22px);
 bottom:var(--fp-nl-layout-bottom,calc(22px + env(safe-area-inset-bottom,0px)));
 max-width:min(calc(100vw - 24px),var(--fp-nl-layout-width,calc(100vw - 24px)));
 max-height:min(70vh,var(--fp-nl-layout-height,calc(100dvh - 32px)));
 overflow-x:hidden;
 overflow-y:auto;
 scroll-padding:16px;
 -webkit-overflow-scrolling:touch;
}
.fp-nl-prompt>a{display:block;margin-top:4px;overflow-wrap:anywhere}
.fp-nl-prompt .fp-nl-mobile-open,.fp-nl-prompt .fp-nl-form>button{min-height:44px}
/* The optional scroll-to-top shortcut must not sit over the invitation's controls. */
body:has(.fp-nl-prompt) #scrollToTop{visibility:hidden!important;pointer-events:none!important}
@media(max-width:900px){
 .fp-nl-prompt{
  right:var(--fp-nl-layout-right,12px);
  bottom:var(--fp-nl-layout-bottom,calc(12px + env(safe-area-inset-bottom,0px)));
  max-height:var(--fp-nl-layout-height,calc(100dvh - 100px));
 }
 body:has(.fp-mobile-dock) .fp-nl-prompt{
  bottom:var(--fp-nl-layout-bottom,calc(84px + env(safe-area-inset-bottom,0px)));
  max-height:var(--fp-nl-layout-height,calc(100dvh - 164px - env(safe-area-inset-bottom,0px)));
 }
}
