/* Final full-width mobile app navigation. Loaded last on every public page. */
@media (max-width: 760px) {
  html:root body { padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important; }
  html:root body .mobile-nav {
    position: fixed !important;
    z-index: 1100 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(72px + env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    padding: 7px 10px max(8px, env(safe-area-inset-bottom)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 3px !important;
    border: 0 !important;
    border-top: 1px solid #dcecef !important;
    border-radius: 0 !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 -8px 26px rgba(8, 52, 72, .13) !important;
    backdrop-filter: blur(18px) !important;
  }
  html:root body .mobile-nav a {
    position: relative !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    min-height: 54px !important;
    height: 54px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    color: #617887 !important;
    text-decoration: none !important;
    font-size: .62rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    border-radius: 13px !important;
    transition: color .2s ease, background .2s ease, transform .2s ease !important;
  }
  html:root body .mobile-nav a i { margin: 0 !important; font-size: 1.08rem !important; }
  html:root body .mobile-nav a.active:not(.mobile-book) { color: #087d79 !important; background: #e8f8f6 !important; }
  html:root body .mobile-nav a.active:not(.mobile-book)::after { content: '' !important; position: absolute !important; bottom: 4px !important; width: 16px !important; height: 3px !important; border-radius: 10px !important; background: #0aa39b !important; }
  html:root body .mobile-nav .mobile-book {
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 2px !important;
    transform: translateY(-14px) !important;
    border: 3px solid #f8fbfc !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg,#0f4c81,#0b9b91) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(8,96,113,.30) !important;
  }
  html:root body .mobile-nav .mobile-book::after { display: none !important; }
  html:root body .mobile-nav .mobile-book.active { color: #fff !important; background: linear-gradient(135deg,#0b3f69,#07847e) !important; }
  html:root body .mobile-nav a:active { transform: scale(.94) !important; }
  html:root body .mobile-nav .mobile-book:active { transform: translateY(-14px) scale(.94) !important; }
}
