.pcNav {
  height: 80px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: clamp(28px, 4.7vw, 90px);
  position: fixed;
  top: 32px;
  left: 140px;
  right: 180px;
  z-index: 1000;
  padding: 0 32px 0 clamp(32px, 5.2vw, 100px);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0px 7px 36px 0px rgba(0, 0, 0, 0.35);
}

.navPlaceholder {
  height: 124px;
  width: 100%;
  text-align: center;
}

.pcNav .logo {
  width: auto;
  height: 32px;
  margin-right: clamp(4px, 1.6vw, 30px);
}
.pcNav .navItem {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.63px;
  color: #d9d9d9;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}
.pcNav .navItem .navBtn:hover {
  color: #ff4b8d;
}
.pcNav .navItem:hover .navBtn,
.showNav .navBtn {
  color: #ff4b8d;
}
.pcNav .navItem.active .navBtn {
  color: #ff4b8d;
  font-size: 23px;
}

.pcNav .navBtn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #d9d9d9;
  transition: color 0.2s ease, font-size 0.2s ease;
}

.pcNav .arrowIcon {
  width: 18px;
  height: 18px;
  transition: all 0.25s linear;
  background: #FFFFFF1A;
  padding: 2px;
  border-radius: 99px;
  display: inline-block;
  box-sizing: border-box;
}

.pcNav .searchBox {
  width: 400px;
  height: 40px;
  border-radius: 20px;
  padding: 0 20px;
  box-sizing: border-box;
  background: rgba(152, 152, 152, 0.20);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}
.pcNav .searchInput {
  border: none; /* 去除边框 */
  border-radius: 4px;
  flex: 1;
  outline: none; /* 去除聚焦时的轮廓 */
  background:transparent;
  color:#fff;
}
.pcNav .searchInput::placeholder {
  color: #FFFFFF80;
}
.pcNav .searchOpt {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.pcNav .searchOpt a {
  background: linear-gradient(180deg, #fb7299 0%, #E04E00 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pcNav .dropdownBox {
  position: absolute;
  /* padding: 13px 0; */
  box-sizing: border-box;
  border-radius: 6px;
  background: #292929;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  display: none;
  z-index: 2000;
  pointer-events: auto;
  padding: 12px 0;
  font-size: 14px;
}
.pcNav .navItem:hover .dropdownBox { display: block; }
.pcNav .dropdownBox:hover { display: block; }
.pcNav .navItem:hover .arrowIcon { transform: rotate(180deg); }
.pcNav .dropdownItem {
  height: 42px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.dropdownItem:hover {
  background: #393e42;
}
.showNav .dropdownBox {
  display: block !important;
}
.showNav .arrowIcon {
  transform: rotate(180deg);
}
.searchOpt .searchLine {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.20);
  margin: 0 6px 0 18px;
}
.searchOpt .hotIcon {
  margin-right: 6px;
}


@media screen and (min-width: 768px) {
  .pcNav {
    display: flex;
  }
}

@media screen and (max-width: 800px) {
  .pcNav, .navPlaceholder {
    display: none;
  }
  .top-nav{
    display: none;
  }
  .mobileNavHeight{
    height: 48px;width: 100%;
  }
}
@media screen and (max-width: 1440px) {
  .pcNav .searchBox {
    width: 300px;
  }
  .searchLine,.searchIcon{
    display: none;
  }
}


.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 10px;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* 白色导航栏：图标描边改深色，否则原浅灰/白图标在白底看不清 */
.mobile-nav svg path,
.mobile-nav svg circle {
  stroke: #333 !important;
}

@media screen and (min-width: 801px) {
  .mobile-nav {
    display: none;
  }
}

/* 移动端 home 页面：mobile-nav 吸顶 */
@media screen and (max-width: 800px) {
  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
  }
}

.mobile-logo {
  display: inline-block;
  padding: 6px 6px 0;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-logo img {
  height: 28px;
  width: auto;
}

.nav-edge {
  width: 72px;
  display: flex;
  align-items: center;
}

/* H5 汉堡贴右：图标距右边 12px（含汉堡的 nav-edge 内元素靠右） */
.mobile-nav {
  padding-right: 12px;
}
.mobile-nav .nav-edge:has(.menu-btn) {
  justify-content: flex-end;
}
.mobile-nav .nav-edge:has(.menu-btn) .menu-btn {
  padding-right: 0;
}

.pcNav.scrolled {
  background-color: #000;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.mobile-nav .mobileNavTitle {
  flex: 1;
  text-align: center;
  font-size: 16px;
  margin: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.mobile-nav button {
  padding: 6px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-btn {
  /* transform: rotate(90deg); */
  transition: all 0.25s linear;
}

.menu-btn.collapsed {
  transform: rotate(0);
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  overflow-y: auto;
  background-color: #595959;
  opacity: 0;
  /* 淡入全屏遮罩 */
  transition: opacity 0.25s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu > .collapse,
.mobile-menu > .collapsing {
  display: block !important;
  height: auto !important;
  width: 100%;
  transition: none !important;
}

.mobile-menu-list {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  line-height: 1.2;
  font-size: 18px;
}

.mobile-menu-list > li {
  width: auto;
  text-align: center;
}

.mobile-menu-list .menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: auto;
  color: #fff;
}

.mobile-menu-list .menu-item:hover,
.mobile-menu-list .menu-item:active,
.mobile-menu-list .menu-item.active {
  background-color: transparent;
  color: #fb7299;
}

.mobile-menu-list .menu-item img {
  display: none;
}

.mobile-menu-subs {
  background-color: transparent;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  padding-left: 0;
  text-align: center;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu-list .collapse {
  display: block !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.mobile-menu-list .collapse.show {
  max-height: 800px;
  opacity: 1;
}

.mobile-menu-subs .menu-item {
  color: #d8d8d8;
}

#communityMobileNavSlot {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#communityMobileNavSlot[style*="display: block"] {
  opacity: 1;
}

/* 全屏菜单打开时：导航栏 logo / 搜索 / 汉堡 置于暗色遮罩之上仍可点击 */
.mobile-nav .nav-edge,
.mobile-nav .mobile-logo,
.mobile-nav .search-btn,
.mobile-nav .menu-btn {
  position: relative;
  z-index: 1001;
}

/* 黑色遮罩打开时：导航栏图标转白（否则深色图标在黑底看不见） */
.mobile-nav:has(#collapseMobileMenu.show) svg path,
.mobile-nav:has(#collapseMobileMenu.show) svg circle {
  stroke: #fff !important;
}

/* 抽屉打开时：左上始终显示 logo（非首页默认是返回按钮，开菜单时替换为 logo，品牌一致） */
.mobile-nav:has(#collapseMobileMenu.show) #mobileNavLogo {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.mobile-nav:has(#collapseMobileMenu.show) #mobileNavBack {
  display: none !important;
}



