/* 短视频导航 uniicons 字体图标样式 */
/* 字号 24px；未选中 #AEBED2，选中 #E0B866；不套中文字体 */

#app .custom-tabbar .tabbar-item[data-shortvideo-entry] .uniui-video-icon,
#app .custom-tabbar .tabbar-item.h5-semantic-nav[data-shortvideo-entry] .uniui-video-icon,
#app .custom-tabbar .h5-semantic-nav[data-shortvideo-entry] .uniui-video-icon {
    font-family: uniicons !important;
    font-size: 24px !important;
    line-height: 1 !important;
    color: #AEBED2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
}
#app .custom-tabbar .tabbar-item[data-shortvideo-entry].active .uniui-video-icon,
#app .custom-tabbar .h5-semantic-nav[data-shortvideo-entry].active .uniui-video-icon {
    color: #E0B866 !important;
}
/* 中文字体兜底规则排除该图标 */
html body #app *:not([class*="cuIcon"]):not([class*="uni-icons"]):not(.uni-icons):not(.uniui-video-icon) {
    /* 不再对图标套中文字体 */
}

/* 短视频项：与其他项同构，统一 1/7 宽度，图标上文字下 */
html #app .custom-tabbar .tabbar-item[data-shortvideo-entry],
html #app .custom-tabbar .tabbar-item.h5-semantic-nav[data-shortvideo-entry] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    transform: none !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: calc(100% / 7) !important;
    gap: 3px !important;
    height: 49px !important;
}
html #app .custom-tabbar .tabbar-item[data-shortvideo-entry] .icon-wrapper,
html #app .custom-tabbar .tabbar-item[data-shortvideo-entry] .text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
html #app .custom-tabbar .tabbar-item[data-shortvideo-entry] .text {
    font-size: 14px !important;
    color: #AEBED2 !important;
}
html #app .custom-tabbar .tabbar-item[data-shortvideo-entry].active .text { color: #E0B866 !important; }

/* grid item 拉伸填满列（与其他项一致） */
html #app .custom-tabbar .tabbar-content > .tabbar-item[data-shortvideo-entry],
html #app .custom-tabbar .tabbar-content > .tabbar-item.h5-semantic-nav[data-shortvideo-entry] {
    justify-self: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    height: 100% !important;
    align-self: stretch !important;
}
