/* 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}

/* five-new-themes-docks */
html[data-frontend-theme="obsidian"] [data-theme-navigation] {background:rgba(16,18,26,.96)!important;border-top:1px solid rgba(212,175,55,.45)!important;backdrop-filter:blur(10px)}
html[data-frontend-theme="sunset"] [data-theme-navigation] {background:#fffdfb!important;border-top:1px solid #f3d8c5!important;border-radius:20px 20px 0 0!important;box-shadow:0 -4px 18px rgba(180,92,45,.07)!important}
html[data-frontend-theme="sunset"] [data-theme-navigation] :is(.fh-nav-item.is-active,.u-tabbar-item[data-frontend-active="1"]) {background:#fde7d8;border-radius:14px}
html[data-frontend-theme="seasalt"] [data-theme-navigation] {left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:calc(100% - 24px)!important;max-width:496px!important;height:62px!important;padding:7px 8px 5px!important;border-radius:999px!important;background:rgba(255,255,255,.96)!important;border:1px solid #dce7f5!important;box-shadow:0 8px 26px rgba(34,49,70,.13)!important;backdrop-filter:blur(12px)}
html[data-frontend-theme="cyber"] [data-theme-navigation] {background:#141024!important;border-top:1px solid #2f284c!important}
html[data-frontend-theme="cyber"] [data-theme-navigation] :is(.fh-nav-item,.u-tabbar-item) {position:relative}
html[data-frontend-theme="cyber"] [data-theme-navigation] :is(.fh-nav-item.is-active,.u-tabbar-item[data-frontend-active="1"])::before {content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:26px;height:2.5px;border-radius:999px;background:#00d4b8;box-shadow:0 0 10px #00d4b8}
html[data-frontend-theme="bamboo"] [data-theme-navigation] {background:#fcfcf8!important;border-top:3px double #cdd9cf!important}
