nav {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #F2F2F2;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.nav .nav-content {
    width: 1400px;
    padding: 19px 12px;
    margin: 0 auto;
}

.nav .nav-content .nav-menu .nav-logo .xp-tit {
    margin-left: 16px;
    margin-right: 52px;
}

.nav .nav-content .old-btn {
    height: 36px;
    border-radius: 18px;
    border: 1px solid #6F69E5;
    padding: 8px 16px;
    font-weight: 400;
    font-size: 14px;
    color: #6F69E5;
    cursor: pointer;
    white-space: nowrap;
}

.nav .nav-content .old-btn:hover {
    border-color: #B4B1F2;
}

.nav .nav-content .nav-aside {
    display: none;
    cursor: pointer;
}

.nav .nav-content .nav-menu-item .nav-menu-item-li {
    margin-right: 48px;
    font-size: 16px;
    color: #434850;
    white-space: nowrap;
}

.nav .nav-content .nav-menu-item .nav-menu-item-li:hover {
    color: #6F69E5;
}

.nav .nav-content .nav-menu-item .li-active {
    font-weight: 400;
    color: #6F69E5;
    position: relative;
}

.nav .nav-content .nav-menu-item .li-active::before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #6F69E5;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -240px; /* 初始位置在屏幕外 */
    width: 240px;
    height: 100%;
    background: #fff;
    z-index: 10000;
    transition: right 0.3s ease;
}

.sidebar .sidebar-header {
    padding: 16px;
    border-bottom: 1px solid #F2F2F2;
}

.sidebar .sidebar-header .close-sidebar {
    font-size: 24px;
    cursor: pointer;
}

.sidebar .sidebar-menu-item .sidebar-menu-item-li {
    display: block;
    font-size: 14px;
    color: #1B1E23;
    border-bottom: 1px solid #F2F2F2;
    padding: 15px 16px;
}

.sidebar .sidebar-menu-item .li-active {
    color: #6F69E5;
}

.sidebar .user-btn {
    background: linear-gradient(180deg, #5995FE 0%, #7B73FF 100%);
    border-radius: 16px;
    font-weight: 400;
    font-size: 12px;
    color: #FFFFFF;
    padding: 8px 16px;
}

.sidebar .old-btn {
    background: transparent;
    border: 1px solid #B4B1F2;
    border-radius: 16px;
    font-weight: 400;
    font-size: 12px;
    color: #6F69E5;
    padding: 8px 16px;
    margin-right: 12px;
}

nav .top-tip {
    width: 100%;
    padding: 10px 24px 10px 12px;
    text-align: center;
    background: url("../images/nav-tip.png") 50% no-repeat;
    background-size: cover;
    color: #F27B30;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.top-tip .tip-close {
    position: absolute;
    right: 15px;
    top: 13px;
    cursor: pointer;
}

@media screen and (max-width: 1200px) {
    .nav .nav-content .nav-menu-item .nav-menu-item-li {
        font-size: 14px;
        margin-right: 38px;
    }

    nav .top-tip {
        font-size: 12px;
    }
}

@media screen and (max-width: 769px) {
    .nav .nav-content .old-btn {
        display: none;
    }
    
    .nav .nav-content .nav-aside {
        display: block;
    }

    .nav .nav-content .nav-menu-item {
        display: none;
    }
}