#sct-app-tabbar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    z-index: 2147483000 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: calc(62px + env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    padding: 0 0 env(safe-area-inset-bottom) !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0.96) !important;
    background-image: none !important;
    border-top: 1px solid rgba(20, 150, 106, 0.12) !important;
    box-shadow: 0 -6px 18px rgba(20, 80, 60, 0.06) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

#sct-app-tabbar .mui-tab-item {
    flex: 1 1 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    height: 62px !important;
    margin: 0 !important;
    padding: 6px 0 5px !important;
    gap: 2px !important;
    overflow: visible !important;
    position: relative !important;
    top: auto !important;
    transform: none !important;
    color: #7d8b86 !important;
    text-align: center !important;
    text-decoration: none !important;
}

#sct-app-tabbar .mui-tab-item.mui-active {
    color: #14966a !important;
}

#sct-app-tabbar .mui-icon,
#sct-app-tabbar .sct-bottom-nav-icon-wrap {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    flex: 0 0 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    font-size: 0 !important;
    line-height: 0 !important;
    transform: none !important;
    background: none !important;
    background-image: none !important;
}

#sct-app-tabbar .sct-bottom-nav-icon {
    display: block !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    position: static !important;
}

#sct-app-tabbar .mui-tab-label {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    transform: none !important;
    position: static !important;
}

/* 壳层已挂全局底栏时，隐藏各页面自带底栏（含内层嵌套，如「我的」），防止叠两层收缩 */
body.sct-shell nav.sct-tabbar:not(#sct-app-tabbar) {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.sct-shell-pad {
    padding-bottom: calc(70px + env(safe-area-inset-bottom)) !important;
}

body.sct-shell .checkin-footer {
    bottom: calc(50px + env(safe-area-inset-bottom)) !important;
    padding-bottom: 12px !important;
    z-index: 2;
}

body.sct-shell .checkin-main {
    padding-bottom: calc(142px + env(safe-area-inset-bottom)) !important;
}

body.sct-shell .layer-bottom,
body.sct-shell .sct-mask,
body.sct-shell .home-phone-rules-modal,
body.sct-shell .mui-backdrop,
body.sct-shell .mui-popover,
body.sct-shell .swal2-container,
body.sct-shell .image-fullscreen-overlay,
body.sct-shell [role="dialog"] {
    z-index: 2147483646 !important;
}

body.sct-shell #sct-recharge-dialog {
    z-index: 2147483647 !important;
}

body:has(#sct-recharge-dialog) .layer-bottom {
    transition: none !important;
}
