.pcNav {
  width: 100%;
  height: 62px;
  max-width: 1720px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  z-index: 1000;
  padding: 0 5vw;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

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

.pcNav .logo {
  width: 102px;
  height: 36px;
}
.pcNav .navItem {
  font-size: 16px;
  font-weight: 400;
  position: relative;
  cursor: pointer;
}
.pcNav .navItem .navBtn:hover {
  color: #EB7332;
}
.pcNav .navItem:hover .navBtn,
.showNav .navBtn {
  color: #EB7332;
}

.navItem[data-link="/"] {
  display: none;
}

.pcNav .navBtn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.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, #FFAD31 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: 1366px) {
  .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: #000;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

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

/* 移动端 home 页面：mobile-nav 吸顶 */
@media screen and (max-width: 1366px) {
  .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: 24px;
}

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

.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;
  right: 0px;
  top: 42px;
  z-index: 1001;
  height: calc(100vh - 58px);
  overflow: hidden scroll;
  background-color: rgba(41, 41, 41, 0);
  border-radius:0;
  opacity: 0;
  /* 默认从右侧移出屏幕，用于右 -> 左 的入场动画 */
  transform: translateX(100%);
  transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.mobile-menu.show {
  /* background-color: #292929; */
  opacity: 1;
  /* 出场：从右到左滑入（100% -> 0） */
  transform: translateX(0);
  pointer-events: auto;
}

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

.mobile-menu-list {
  z-index: 100;
  min-width: 162px;
  background-color: #292929;
  border-radius: 0 0 0 6px;
  /* box-shadow: 0 0 24px 0 rgba(255, 255, 255, 0.10); */
  padding: 12px 0;
  line-height: 36px;
  font-size: 14px;
}

.mobile-menu-list .menu-item {
  display: block;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-list .menu-item:active {
  background-color: #3D3D3D;
}

.mobile-menu-list .menu-item img {
  width: 18px;
  height: 18px;
  transition: all 0.25s linear;
}

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

.mobile-menu-list .menu-item[aria-expanded="true"] img {
  transform: rotate(180deg);
}

.mobile-menu-subs {
  background-color: #1e1e1e;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  padding-left: 6px;
}

.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;
}


