/* One presentation contract for standalone home and preserved uni-app tab handlers. */
html[data-frontend-theme] [data-theme-navigation] {
    --ft-nav-accent:var(--frontend-accent,var(--fh-accent));
    box-sizing:border-box;position:fixed!important;z-index:1000!important;bottom:0!important;left:50%!important;right:auto!important;
    transform:translateX(-50%)!important;width:100%!important;max-width:520px;height:calc(70px + env(safe-area-inset-bottom))!important;
    margin:0!important;padding:8px 6px calc(8px + env(safe-area-inset-bottom))!important;background:var(--fh-surface)!important;
    border:0!important;border-top:1px solid var(--fh-border)!important;border-radius:0!important;box-shadow:0 -4px 16px #142b3510;
    color:var(--fh-muted);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
}
html[data-frontend-theme] [data-theme-navigation="home"],
html[data-frontend-theme] [data-theme-navigation] .u-tabbar__content__item-wrapper {
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));box-sizing:border-box;align-items:start;
}
html[data-frontend-theme] [data-theme-navigation] .u-tabbar__content__item-wrapper {width:100%;height:54px!important}
html[data-frontend-theme] [data-theme-navigation] :is(.fh-nav-item,.u-tabbar-item) {
    box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;gap:4px;min-width:0;height:54px;
    margin:0;padding:0 1px;color:var(--fh-muted)!important;text-decoration:none;font-weight:400;
}
html[data-frontend-theme] [data-theme-navigation] [data-frontend-active="1"] {color:var(--ft-nav-accent)!important;font-weight:650}
html[data-frontend-theme] [data-theme-navigation] :is(.fh-nav-label,.u-tabbar-item__text) {
    display:block;box-sizing:border-box;min-width:0;max-width:100%;min-height:28px;margin:0!important;padding:0;
    font-size:11px!important;line-height:14px!important;text-align:center;white-space:normal!important;overflow-wrap:anywhere;color:inherit!important;
}
html[data-frontend-theme] [data-theme-navigation] .u-tabbar-item__icon {position:relative;box-sizing:border-box;width:22px;height:22px;flex:0 0 22px;margin:0!important;padding:0}
html[data-frontend-theme] [data-theme-navigation] .ft-nav-symbol {position:relative;display:block;box-sizing:border-box;order:-1;width:22px;height:22px;flex:0 0 22px;pointer-events:none}
html[data-frontend-theme] [data-theme-navigation] .ft-nav-symbol>.fh-icon {display:block;width:22px;height:22px;opacity:1}
html[data-frontend-theme] [data-theme-navigation] .ft-nav-custom {position:absolute;inset:0;width:22px;height:22px;object-fit:contain;opacity:0}
html[data-frontend-theme] [data-theme-navigation] .ft-nav-symbol[data-custom-ready="1"]>.fh-icon {opacity:0}
html[data-frontend-theme] [data-theme-navigation] .ft-nav-symbol[data-custom-ready="1"]>.ft-nav-custom {opacity:1}
html[data-frontend-theme] [data-theme-navigation] .u-tabbar-item__icon[data-theme-nav-icon="1"]>uni-image {display:none!important}
html[data-frontend-theme="mint"] [data-theme-navigation] {border-top:0!important}
html[data-frontend-theme="aurora"] [data-theme-navigation],
html[data-frontend-theme="midnight"] [data-theme-navigation] {border-radius:20px 20px 0 0!important}
html[data-frontend-theme="sakura"] [data-theme-navigation] {border-top:3px double #efd2de!important;background:#fff9fb!important}
html[data-frontend-theme="midnight"] [data-theme-navigation] {background:#152043!important}
html[data-frontend-theme="strawberry"] [data-theme-navigation] {background:#fff9fb!important}
