/* Toura Passport 2026-11-15: Community-accepted iOS footer behavior, shared across
   authenticated member destinations. Presentation only; no route, session, or reward changes.
   At the natural page bottom the fixed 78px destination rail fully covers the
   72px attribution; iOS elastic overscroll briefly reveals it, then re-covers it. */
@media (max-width:760px){
  html body.tp009q-footer-under-rail,
  html.tp011i-app-route body.tp009q-footer-under-rail{
    padding-bottom:0!important;
  }
  html body.tp009q-footer-under-rail .tp-footer.tp-universal-footer,
  html body.tp009q-footer-under-rail #memberPage .member-universal-footer{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-height:72px!important;
    height:72px!important;
    max-height:72px!important;
    margin-top:0!important;
    margin-bottom:0!important;
    padding:12px 18px!important;
    border-top:1px solid #e6ebed!important;
    background:#fff!important;
    overflow:hidden!important;
    position:relative!important;
    transform:none!important;
    z-index:1!important;
  }
  html body.tp009q-footer-under-rail .tp005s-mobile-nav.tp012a-mobile-nav{
    z-index:1600!important;
  }
  /* The My Account / Inbox receipt stylesheet used to block the elastic stretch
     globally. Restore native page elasticity outside of modal scroll locks. */
  html.tp011i-auth-likely body.tp012a-member-route.tp009q-footer-under-rail:not(.tp015e-overlay-lock){
    overscroll-behavior-y:auto!important;
  }

  /* Short screens must still put the footer at the rail, not in mid-page. */
  body.rewards-page.tp009q-footer-under-rail,
  body.tp017b-business-page.tp009q-footer-under-rail,
  body.tp012c-settings-page.tp009q-footer-under-rail{
    display:flex!important;
    flex-direction:column!important;
    min-height:100dvh!important;
  }
  body.rewards-page.tp009q-footer-under-rail > .market-shell,
  body.tp017b-business-page.tp009q-footer-under-rail > .tp017b-main,
  body.tp012c-settings-page.tp009q-footer-under-rail > .tp012c-settings-main{
    flex:1 0 auto;
  }
  html body.rewards-page.tp009q-footer-under-rail > .tp-footer.tp-universal-footer,
  html body.tp017b-business-page.tp009q-footer-under-rail > .tp-footer.tp-universal-footer,
  html body.tp012c-settings-page.tp009q-footer-under-rail > .tp-footer.tp-universal-footer{
    margin-top:auto!important;
  }
}
