/* Only the existing five-item menu follows Safari's visible viewport. */
html[data-sgc-mobile-primary-v25="1"] body.sgc-fixed-menu-route-v1 .sgc-fixed-menu-v1 {
  bottom: var(--sgc-nav-visual-bottom-v1, 0px) !important;
}

/* The lifted menu must not cover the last action in a primary view. */
html[data-sgc-mobile-primary-v25="1"][data-sgc-mobile-route-v25="home"] body .sgc-home-shell,
html[data-sgc-mobile-primary-v25="1"][data-sgc-mobile-route-v25="mine"] body .sgc-my-shell {
  padding-bottom: calc(var(--sgc-mobile-menu-height-v25) + 24px + var(--sgc-nav-visual-bottom-v1, 0px)) !important;
}

html[data-sgc-mobile-primary-v25="1"][data-sgc-mobile-route-v25="record"] body uni-page-body > .detail,
html[data-sgc-mobile-primary-v25="1"][data-sgc-mobile-route-v25="receive"] body .order_container.receive-page-sync-v15 {
  padding-bottom: calc(var(--sgc-mobile-menu-height-v25) + 16px + var(--sgc-nav-visual-bottom-v1, 0px)) !important;
}

html[data-sgc-mobile-primary-v25="1"][data-sgc-mobile-route-v25="service"] body .feature-page.feature-service-page[data-sgc-service-module-v1="true"] {
  padding-bottom: calc(var(--feature-nav-height, 72px) + 11px + env(safe-area-inset-bottom, 0px) + var(--sgc-nav-visual-bottom-v1, 0px)) !important;
}
