/* === 全站底部导航平面化统一 (tabbar-flat-unify) === */
/* 参考图2：连续背景、无独立圆角胶囊、选中项轻微深色、选中金/未选中灰蓝 */
/* 不改图标、字体、字号、项目顺序、功能、正文和卡片布局 */

/* 导航栏：连续背景，不要分隔线色块 */
#app .custom-tabbar,
#app .tabbar-content,
html #app .custom-tabbar[data-v-f6b1133f],
html #app .custom-tabbar .tabbar-content[data-v-f6b1133f] {
    background: #172B41 !important;
    border-top-color: #172B41 !important;
    box-shadow: none !important;
}

/* 所有导航项：去掉独立圆角胶囊和边框，背景透明融入整条 */
#app .custom-tabbar .tabbar-item,
#app .custom-tabbar .h5-semantic-nav,
#app .tabbar-content .tabbar-item[data-v-f6b1133f],
html #app .custom-tabbar .h5-semantic-nav,
html #app .custom-tabbar .tabbar-item[data-v-f6b1133f],
html #app .custom-tabbar .h5-semantic-nav.active,
html #app .custom-tabbar a.tabbar-item {
    background: transparent !important;
    border: 0 !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

/* 选中项：轻微深色背景（平面块，不是圆角胶囊） */
#app .custom-tabbar .tabbar-item.active,
#app .custom-tabbar .h5-semantic-nav.active,
#app .custom-tabbar .tabbar-item:first-child.active,
html #app .custom-tabbar .tabbar-item.active[data-v-f6b1133f],
html #app .custom-tabbar .h5-semantic-nav.active,
html #app .custom-tabbar .tabbar-item:first-child.active {
    background: rgba(15, 24, 38, .35) !important;
    border-radius: 0 !important;
    border: 0 !important;
}

/* 选中图标/文字金色；未选中灰蓝 */
#app .custom-tabbar .tabbar-item.active .text,
#app .custom-tabbar .tabbar-item.active .active-text,
#app .custom-tabbar .tabbar-item.active svg,
#app .custom-tabbar .tabbar-item.active path,
#app .custom-tabbar .h5-semantic-nav.active .text,
#app .custom-tabbar .h5-semantic-nav.active svg,
#app .custom-tabbar .h5-semantic-nav.active path {
    color: #E0B866 !important;
    stroke: #E0B866 !important;
}
#app .custom-tabbar .tabbar-item:not(.active) .text,
#app .custom-tabbar .tabbar-item:not(.active) svg,
#app .custom-tabbar .tabbar-item:not(.active) path {
    color: #AEBED2 !important;
    stroke: #AEBED2 !important;
}

/* 去掉导航项内部可能的伪元素色块 */
#app .custom-tabbar .tabbar-item::before,
#app .custom-tabbar .tabbar-item::after,
#app .custom-tabbar .h5-semantic-nav::before,
#app .custom-tabbar .h5-semantic-nav::after {
    content: none !important;
    display: none !important;
}
