/**
 * H5 底部导航（参考常见信息流/工具站 TabBar，仅 <lg 显示）
 */
@media (min-width: 992px) {
    .app-mobile-tabbar { display: none !important; }
    body.has-mobile-tabbar { padding-bottom: 0 !important; }
}

@media (max-width: 991.98px) {
    body.has-mobile-tabbar {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }

    .app-mobile-tabbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: flex;
        justify-content: space-around;
        align-items: stretch;
        min-height: calc(56px + env(safe-area-inset-bottom, 0px));
        padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: saturate(180%) blur(12px);
        -webkit-backdrop-filter: saturate(180%) blur(12px);
        border-top: 1px solid rgba(12, 18, 34, 0.08);
        box-shadow: 0 -4px 24px rgba(12, 18, 34, 0.06);
    }

    .app-mtb-item {
        flex: 1;
        max-width: 20%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        text-decoration: none !important;
        color: #5c6578 !important;
        font-size: 0.62rem;
        font-weight: 600;
        line-height: 1.15;
        border-radius: 10px;
        padding: 4px 2px;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.15s ease, background 0.15s ease;
    }

    .app-mtb-item i {
        font-size: 1.15rem;
        margin-bottom: 1px;
        opacity: 0.88;
    }

    .app-mtb-item:active {
        background: rgba(30, 58, 95, 0.06);
    }

    .app-mtb-item.is-active {
        color: #1e3a5f !important;
    }

    .app-mtb-item.is-active i {
        color: #1e3a5f;
        opacity: 1;
    }
}
