/* ========== 顶部导航 ========== */
  .header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background:rgba(22, 93, 255, 0.96);
    backdrop-filter: blur(6px);
    color: #fff;
    z-index: 50;
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }

  .header-nav.shrink {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  }

  .nav-inner {
    width: 90%;
    //max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
  }

.logo img{
	width:150px;
	height:40px;
  }

  .pc-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }

  .nav-item {
    position: relative;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 0;

  }

  .nav-item > span > a {
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease;
    text-align: center;
    opacity: .8;
    text-decoration: none;
font-family: 'Microsoft Yahei';
  }

/* 彩色流光动画 */
        @keyframes colorFlow {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
  .nav-item:hover >span> a {
    color: #c9e0ff;
    text-align: center;
    opacity: .8;
    text-decoration: none;
            background: linear-gradient(90deg, #ff4444, #ffbb00, #22dd22, #00aaff, #bb44ff, #ff4444);
            background-size: 300% 300%;
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent !important;
            animation: colorFlow 2.5s ease infinite;
  }

  .nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: -80px;
    width: 160px;
    background: #fff;
    color: var(--dark);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.28s ease;
    z-index: 60;
  }

/* 居中向上尖角 */
.nav-dropdown::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -12px;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
}

.nav-dropdown-wrap:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

 .nav-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* 两端对齐 */
  gap: 10px; /* 横向间距，不需要就删掉 */
    }
 .nav-dropdown ul li {
    display: inline-block;
    font-size: 14px;
    min-width: 60px;
    margin-bottom: 10px;
    height: 20px;
    width: calc(50% - 5px); /* 两列，减去gap一半 */
    
    }
 .nav-dropdown ul li a{
    color: #333;
    text-decoration: inherit;
    }
 .nav-dropdown ul li a:hover{
    color: #f85659;
    text-decoration: inherit;
    }
  .nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
  }

  .dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .dropdown-card {
    border-radius: 8px;
    overflow: hidden;
    background: #f7f8fa;
  }

  .dropdown-card .img-wrap {
    height: 100px;
  }

  .dropdown-card .label {
    padding: 8px 10px;
    font-size: 13px;
    color: var(--text-regular);
  }

  .dropdown-buttons {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color:000;
  }

  .dropdown-buttons button {
    padding: 6px 12px;
    border: 1px solid var(--gray-2);
    background: #f7f8fa;
    border-radius: 6px;
    font-size: 13px;
    //color: var(--text-regular);

    cursor: pointer;
    transition: all 0.2s ease;
    color:000;
  }

  .dropdown-buttons button:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }

  .nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 18px;
  }

  .nav-btn {
    padding: 2px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.18);
    color: #000;
    transition: all 0.25s ease;
  }

  .nav-btn:hover {
    background: rgba(255, 255, 255, 0.32);
  }

  .nav-btn.primary {
    background: #fff;
    color: #000;
    border-color: #fff;
  }

  .nav-btn.primary:hover {
    background: #eef4ff;
  }

  .mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }



/* 导航容器：横向排列 + 深色底 */
.main-menu { display:flex; list-style:none; margin:0; padding:0; }
.main-menu > li { 
   font-size:18px;
    position:relative; 
    cursor: pointer;
    padding: 4px 12px; }

/* 一级菜单项 */
.main-menu > li > a {
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease;
    text-align: center;
    opacity: .8;
    text-decoration: none;
    font-family: 'Microsoft Yahei';
}

.main-menu > li > a:hover,.main-menu > li.av > a
 { 
    color: #c9e0ff;
    text-align: center;
    opacity: .8;
    text-decoration: none;
    background: linear-gradient(90deg, #ff4444, #ffbb00, #22dd22, #00aaff, #bb44ff, #ff4444);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent !important;
    animation: colorFlow 2.5s ease infinite;
  }

/* 当前位置下划线动画
.main-menu > li > a::after {
    content:''; position:absolute; left:50%; bottom:0;
    width:0; height:2px; background:#3c9cff;
    transform:translateX(-50%); transition:.25s;
}
.main-menu > li > a:hover::after,
.main-menu > li.av > a::after { width:100%; }
 */
/* 下拉子菜单 */
.main-menu .dropdown {
    display:none; position:absolute; top:100%; left:0; z-index:99;
    min-width:170px; padding:6px 0; margin:0; list-style:none;
    background:#fff; box-shadow:0 6px 18px rgba(0,0,0,.15); border-radius:0 0 6px 6px;
}
.main-menu > li:hover > .dropdown { display:block; }
.main-menu .dropdown li a { display:block; padding:8px 16px; color:#333; }
.main-menu .dropdown li a:hover { background:#f2f6ff; color:#3c9cff; }


.fixed{
    position:fixed;
    top:62px;
    width: 22.05%;
    float: right; 
    overflow: hidden;
}


//头部登录
.s_ch {
  
}
.s_ch > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
.s_txt {
    position: relative;
    float: left;
}
.s_btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
}
.s_txt input {
    width: 180px;
    height: 38px;
    padding: 0 46px 0 12px;
    border: 1px solid #cfdee3;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.s_txt input:focus {
    width: 280px;
    border-color: #409eff;
    box-shadow: 0 0 0 3px rgba(64,159,255,0.15);
}
.s_btn button {
    width: 36px;
    height: 30px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: #409eff;
    color: #fff;
    cursor: pointer;
    font-size:16px;
    transition: all 0.2s;
    display:flex;
    align-items:center;
    justify-content:center;
}
.s_btn button::after{
    content: "\f101";
    font-family: dzicon;
}
.s_btn button:hover {
    background: #337ecc;
}
.s_btn button:active {
    background: #2b6cb0;
}

.nav-item .usern{}
.nav-item .usern .user_avatar {
    width:28px;
    height:28px;
    border-radius: 8px;
    margin:0px 5px 0px 5px;
    }

.nav-line {
    width: 1px;
    background: #FFFFFF;
    height: 10px;
    display: inline-block;
    margin: 0 15px;
}

.u_d {
    margin-left:15px;
}
.u_l {
    padding: 6px 0;
    border: none;
    position: relative;
    display: inline-block;
    transition: ease-in color .15s;
    font-size:14px;
    color:#FFFFFF;
}
.u_r {
    padding: 6px 0;
    border: none;
    position: relative;
    display: inline-block;
    transition: ease-in color .15s;
    font-size:14px;
    color:#FFFFFF;
}


.my_nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: -80px;
    width: 160px;
    background: #fff;
    color: var(--dark);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.28s ease;
    z-index: 60;
}
/* 居中向上尖角 */
.my_nav-dropdown::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -12px;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
}

/* show 优先级高于行内display:none */
.my_nav-dropdown.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.my_nav-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* 两端对齐 */
  gap: 10px; /* 横向间距，不需要就删掉 */
    }
.my_nav-dropdown li {
    display: inline-block;
    font-size: 14px;
    min-width: 60px;
    margin-bottom: 10px;
    height: 20px;
    width: calc(50% - 5px); /* 两列，减去gap一半 */
    
}
.my_nav-dropdown li a {
    color: #333;
    text-decoration: inherit;
}
.my_nav-dropdown li a:hover {
    color: #f85659;
    text-decoration: inherit;
}


