/* Toura Passport STAGING 009Q — universal mobile footer-under-rail law.
   The fixed destination rail owns the resting bottom edge. A visible global footer
   remains the final document element but rests beneath that rail, matching the
   accepted My Passport iPhone behavior. iOS rubber-band overscroll may reveal the
   footer transiently; release returns it beneath the rail. */
@media (max-width:760px){
  /* 009P temporarily hid the Partner footer. Restore the canonical footer itself;
     the shared rail law below controls where it rests. */
  body.tp009p-public-card-mobile .partner-workspace-footer.tp-universal-footer{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    min-height:70px!important;
    margin-top:auto!important;
    padding:12px 18px!important;
    border-top:1px solid #e6ebed!important;
    overflow:visible!important;
    pointer-events:auto!important;
  }

  /* Applied only when 009Q verifies that a fixed Toura destination rail and a
     currently visible canonical footer coexist on the same mobile surface.
     Removing the legacy rail-clearance padding lets the fixed rail naturally
     cover the final footer at the normal scroll boundary. */
  body.tp009q-footer-under-rail{
    padding-bottom:0!important;
  }

  body.tp009q-footer-under-rail .tp-footer.tp-universal-footer,
  body.tp009q-footer-under-rail .member-universal-footer{
    position:relative!important;
    z-index:1!important;
    transform:translateY(70px)!important;
  }

  /* The rail remains the visual/top interaction owner while the footer sits below. */
  body.tp009q-footer-under-rail .tp005s-mobile-nav{
    z-index:1600!important;
  }
}
