/* Shared mobile navigation: use the homepage bar across every page that has it. */
@media (max-width: 700px) {
  html body .mobile-app-nav {
    height: 76px !important;
    min-height: 76px !important;
    padding: 5px 8px max(8px, env(safe-area-inset-bottom)) !important;
    background: rgba(255,255,255,.98) !important;
    border-top: 1px solid #dfe7f3 !important;
    box-shadow: 0 -8px 24px rgba(20,45,91,.10) !important;
    backdrop-filter: saturate(180%) blur(22px) !important;
  }
  html body .mobile-app-nav > a {
    min-width: 0 !important;
    min-height: 48px !important;
    gap: 2px !important;
    color: #66758e !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
  }
  html body .mobile-app-nav > a > i {
    height: 23px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 11px !important;
    background: transparent !important;
  }
  html body .mobile-app-nav > a > i .ui-icon {
    width: 21px !important;
    height: 21px !important;
    stroke-width: 1.9 !important;
  }
  html body .mobile-app-nav > a.active:not(.primary) {
    color: #155eef !important;
  }
  html body .mobile-app-nav > a.active:not(.primary) > i {
    color: #155eef !important;
    background: #eef7fd !important;
  }
  html body .mobile-app-nav > a.primary,
  html body .mobile-app-nav > a.primary.active {
    width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
    margin-top: -22px !important;
    border: 4px solid #fff !important;
    border-radius: 50% !important;
    background: linear-gradient(145deg,#3478ff,#155eef) !important;
    color: #fff !important;
    box-shadow: 0 8px 21px rgba(21,94,239,.32) !important;
  }
  html body .mobile-app-nav > a.primary > i {
    width: 42px !important;
    height: 24px !important;
    display: grid !important;
    place-items: center !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
  }
  html body .mobile-app-nav > a.primary > i .ui-icon,
  html body .mobile-app-nav > a.primary > i svg {
    width: 24px !important;
    height: 24px !important;
    color: #fff !important;
    fill: none !important;
    stroke: #fff !important;
  }
  html body .mobile-app-nav > a.primary > span {
    color: #66758e !important;
  }
}