/* 全屏背景补丁 - 用伪元素实现，不改变元素自身布局 */

/* header 区域背景全屏 */
.header {
    z-index: 112 !important;
}
.header::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: calc(-50vw + 50%) !important;
    width: 100vw !important;
    height: 100% !important;
    background-color: #fff !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* 导航栏背景全屏 - 保留原始 z-index:111 不变 */
#monavber.nav {
    position: relative;
    z-index: 111;
}
#monavber.nav::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: calc(-50vw + 50%) !important;
    width: 100vw !important;
    height: 100% !important;
    background-color: #303030 !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* 菜单内容保持居中 */
#monavber.nav > ul.navbar {
    float: none !important;
    width: 1050px !important;
    margin: 0 auto !important;
}

/* 取消吸附效果 */
#monavber.nav.fixed {
    position: relative !important;
}
