/* WXSSC V66.1J-H REAL FILE CSS: wxssc-global-topnav-v661jh-20260609_213022.css */
/* WXSSC V66.1J-H real filename global single topnav */
:root{
  --wx-topnav-h:72px;
  --wx-topnav-bg:#07111f;
  --wx-topnav-text:#eaf1ff;
  --wx-topnav-muted:#91a0b8;
  --wx-blue:#2563eb;
  --wx-gold:#ffc229;
}

body{
  padding-top:var(--wx-topnav-h)!important;
}

.wx-global-topnav{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  height:var(--wx-topnav-h)!important;
  z-index:2147483000!important;
  background:var(--wx-topnav-bg)!important;
  box-shadow:0 10px 28px rgba(2,8,23,.18)!important;
  overflow:visible!important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif!important;
}

.wx-global-topnav *{
  box-sizing:border-box!important;
}

.wx-global-inner{
  width:min(1300px, calc(100vw - 40px))!important;
  max-width:1300px!important;
  height:var(--wx-topnav-h)!important;
  margin:0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:22px!important;
  white-space:nowrap!important;
  overflow:visible!important;
}

.wx-global-brand{
  flex:0 0 285px!important;
  width:285px!important;
  max-width:285px!important;
  min-width:285px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  text-decoration:none!important;
  color:var(--wx-topnav-text)!important;
  overflow:hidden!important;
}

.wx-global-logo{
  flex:0 0 46px!important;
  width:46px!important;
  height:46px!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  background:#fff!important;
  color:#07111f!important;
  font-weight:950!important;
  font-size:14px!important;
  letter-spacing:-.03em!important;
  box-shadow:0 8px 22px rgba(255,255,255,.08)!important;
}

.wx-global-brand-text{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}

.wx-global-brand-text b{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:17px!important;
  line-height:1.15!important;
  font-weight:950!important;
  color:#fff!important;
}

.wx-global-brand-text span{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:700!important;
  color:rgba(234,241,255,.76)!important;
}

.wx-global-nav{
  flex:1 1 auto!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:20px!important;
  overflow:visible!important;
}

.wx-global-nav a{
  flex:0 0 auto!important;
  min-width:0!important;
  color:#e7eefc!important;
  text-decoration:none!important;
  font-size:15px!important;
  font-weight:900!important;
  padding:10px 13px!important;
  border-radius:14px!important;
  line-height:1!important;
  transition:background .16s ease,color .16s ease,transform .16s ease!important;
}

.wx-global-nav a:hover{
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}

.wx-global-nav a.is-active{
  background:var(--wx-blue)!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(37,99,235,.36)!important;
}

.wx-global-account{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:240px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  position:relative!important;
}

.wx-global-btn{
  flex:0 0 auto!important;
  height:42px!important;
  padding:0 18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:17px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:rgba(255,255,255,.04)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:950!important;
  cursor:pointer!important;
}

.wx-global-btn.gold{
  background:var(--wx-gold)!important;
  color:#111827!important;
  border-color:var(--wx-gold)!important;
}

.wx-global-avatar-wrap{
  position:relative!important;
  flex:0 0 auto!important;
}

.wx-global-avatar-btn{
  width:44px!important;
  height:44px!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.2)!important;
  background:linear-gradient(135deg,#eef5ff,#ffffff)!important;
  color:#0f172a!important;
  font-size:14px!important;
  font-weight:950!important;
  cursor:pointer!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:0 8px 24px rgba(15,23,42,.22)!important;
}

.wx-global-avatar-btn:hover,
.wx-global-avatar-btn:focus{
  outline:none!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.22),0 8px 24px rgba(15,23,42,.22)!important;
}

.wx-global-menu{
  position:absolute!important;
  right:0!important;
  top:54px!important;
  width:260px!important;
  padding:10px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.96)!important;
  color:#0f172a!important;
  border:1px solid rgba(148,163,184,.26)!important;
  box-shadow:0 20px 60px rgba(15,23,42,.28)!important;
  backdrop-filter:blur(18px)!important;
  display:none!important;
  z-index:2147483001!important;
}

.wx-global-avatar-wrap.is-open .wx-global-menu,
.wx-global-avatar-wrap:hover .wx-global-menu{
  display:block!important;
}

.wx-global-menu-head{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  gap:10px!important;
  padding:8px!important;
  border-radius:14px!important;
  background:#f8fafc!important;
}

.wx-global-menu-avatar{
  width:42px!important;
  height:42px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:#e0ecff!important;
  color:#1d4ed8!important;
  font-size:14px!important;
  font-weight:950!important;
}

.wx-global-menu-name{
  font-size:14px!important;
  font-weight:950!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.wx-global-menu-meta{
  margin-top:3px!important;
  font-size:12px!important;
  line-height:1.45!important;
  color:#64748b!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

.wx-global-menu-row{
  width:100%!important;
  margin-top:6px!important;
  padding:11px 10px!important;
  border:0!important;
  border-radius:13px!important;
  background:transparent!important;
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr) 14px!important;
  align-items:center!important;
  gap:8px!important;
  color:#111827!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:850!important;
  text-align:left!important;
  cursor:pointer!important;
}

.wx-global-menu-row:hover{
  background:#f1f5f9!important;
}

.wx-global-menu-row.danger{
  color:#dc2626!important;
}

.wx-global-menu-row small{
  color:#94a3b8!important;
  font-weight:950!important;
}

/* 强制清理旧 V59 菜单显示 */
.wx-v593j-topnav,
.wx-v593j-menu,
.wx-v593i-menu,
.wx-v593c-menu,
.wx-v593e-menu,
#wxV593jProfile,
#wxV593jProfileBtn,
#wxV593jLogout,
#wxV593jFeedback{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* 防止旧宽屏规则回流 */
.wx-v593j-inner,
.wx-v593j-right,
.wx-v593j-profile{
  max-width:none;
}

@media(max-width:1160px){
  .wx-global-inner{
    width:calc(100vw - 28px)!important;
    gap:14px!important;
  }
  .wx-global-brand{
    flex-basis:245px!important;
    width:245px!important;
    max-width:245px!important;
    min-width:245px!important;
  }
  .wx-global-nav{
    gap:10px!important;
  }
  .wx-global-nav a{
    padding:10px 10px!important;
    font-size:14px!important;
  }
  .wx-global-account{
    max-width:185px!important;
  }
}

@media(max-width:860px){
  :root{
    --wx-topnav-h:66px;
  }
  .wx-global-inner{
    width:calc(100vw - 20px)!important;
    gap:10px!important;
  }
  .wx-global-brand{
    flex:0 0 168px!important;
    width:168px!important;
    min-width:168px!important;
    max-width:168px!important;
  }
  .wx-global-logo{
    width:40px!important;
    height:40px!important;
    flex-basis:40px!important;
  }
  .wx-global-brand-text b{
    font-size:14px!important;
  }
  .wx-global-brand-text span{
    display:none!important;
  }
  .wx-global-nav{
    justify-content:flex-start!important;
    overflow-x:auto!important;
    scrollbar-width:none!important;
  }
  .wx-global-nav::-webkit-scrollbar{
    display:none!important;
  }
  .wx-global-btn.gold,
  .wx-global-btn.ghost{
    display:none!important;
  }
}

/* WXSSC_V661JO_FIX_V56_HEADER_OVERRIDE_START */
/*
  V66.1J-O 根因修复：
  情报中心 V56 PC 1300 老规则 body.wxssc-v560-pc1300 > header 会误伤动态插入的
  <header id="wxGlobalTopnav" class="wx-global-topnav">。
  这里用更精准选择器恢复全局导航：外层黑色导航永远全屏，内部容器 1300 居中。
*/

html body > header.wx-global-topnav,
html body.wxssc-v560-pc1300 > header.wx-global-topnav,
html body.wx-v6569e-scroll > header.wx-global-topnav,
html body.wx-v6569c-scroll > header.wx-global-topnav,
html body.wx-v6569d-scroll > header.wx-global-topnav,
html body.wx-v6568g-jin10-list > header.wx-global-topnav,
html body.wx-v6568h-jin10-list > header.wx-global-topnav,
html body > #wxGlobalTopnav,
html body.wxssc-v560-pc1300 > #wxGlobalTopnav{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  bottom:auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:72px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  display:block!important;
  overflow:visible!important;
  z-index:2147483000!important;
  background:#07111f!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:0 10px 28px rgba(2,8,23,.18)!important;
}

html body > header.wx-global-topnav .wx-global-inner,
html body.wxssc-v560-pc1300 > header.wx-global-topnav .wx-global-inner,
html body > #wxGlobalTopnav .wx-global-inner,
html body.wxssc-v560-pc1300 > #wxGlobalTopnav .wx-global-inner{
  width:min(1300px, calc(100vw - 40px))!important;
  max-width:1300px!important;
  min-width:0!important;
  height:72px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:22px!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}

/* 旧 V56 / V59 头部类只允许影响旧结构，不允许影响新全局导航 */
body.wxssc-v560-pc1300 > header:not(.wx-global-topnav):not(#wxGlobalTopnav){
  width:min(1300px, calc(100vw - 40px));
  max-width:1300px;
  margin-left:auto;
  margin-right:auto;
}

/* 兜底：情报中心页面顶部内容从导航下方开始，不得把导航当作页面普通 header */
body.wxssc-v560-pc1300{
  padding-top:72px!important;
}
/* WXSSC_V661JO_FIX_V56_HEADER_OVERRIDE_END */
