/* Desktop navigation glass surface only; no layout or interaction changes. */
#main-menu-wrapper,
#navbar {
  background-color: rgba(35, 45, 61, .74) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(12, 21, 35, .2), inset 0 1px rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

/* Keep account dropdowns above the page content below the glass navigation. */
#main-menu-wrapper {
  position: relative;
  z-index: 10000;
  overflow: visible;
}


#main-menu-wrapper .menu-inner,
#main-menu-wrapper .right-shadow {
  background-color: transparent !important;
  background-image: none !important;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  #main-menu-wrapper,
  #navbar {
    background-color: rgba(35, 45, 61, .92) !important;
  }
}


/* Keep announcement strips at the same size as the member-center banner. */
.home-notice-banner,
.category-top-notice {
  box-sizing: border-box !important;
  width: 816.398px !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px !important;
  overflow: hidden !important;
}
.home-notice-banner #notice_new_3,
.category-top-notice #notice_new_3 {
  flex: 1 1 auto;
  min-width: 0 !important;
  overflow: hidden;
}
.home-notice-banner #notice_new_3 ul,
.category-top-notice #notice_new_3 ul {
  box-sizing: border-box;
  height: 26px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}
.home-notice-banner #notice_new_3 li,
.category-top-notice #notice_new_3 li {
  height: 26px;
  line-height: 26px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-notice-banner #notice_new_3 a,
.category-top-notice #notice_new_3 a { font-size: 12px !important; }


/* Match utility-bar content width to the primary navigation edges. */
.site-nav-bd.w{width:1170px;margin-left:auto;margin-right:auto}

/* Align the first and last utility-bar text to the primary-nav edges. */
.site-nav-bd .site-nav-bd-l .login-info .menu-hd { padding-left: 0; }
.site-nav-bd .site-nav-bd-r > li:last-child .menu-hd { padding-right: 0; }
.site-nav-bd .site-nav-bd-r > li:last-child .menu-hd a { margin-right: 0; }

/* Remove Bootstrap list indentation from both utility-bar groups. */
.site-nav-bd .site-nav-bd-l,.site-nav-bd .site-nav-bd-r{margin:0!important;padding:0!important}

/* Match the public announcement label to the member-center reference. */
.home-notice-banner > button,
.category-top-notice > button {
  box-sizing: border-box;
  padding: 2px 8px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #555 !important;
  color: #eee !important;
  font-size: 12px !important;
  line-height: 22px !important;
  white-space: nowrap;
  box-shadow: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
  font-weight: 400 !important;
}
.home-notice-banner > button .icon-flag,
.category-top-notice > button .icon-flag { margin-right: 4px; }

/* Match announcement typography and text colors to the member-center banner. */
.home-notice-banner,
.category-top-notice,
.home-notice-banner > button,
.category-top-notice > button,
.home-notice-banner #notice_new_3 a,
.category-top-notice #notice_new_3 a {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif !important;
}
.home-notice-banner > button,
.category-top-notice > button,
.home-notice-banner #notice_new_3 a,
.category-top-notice #notice_new_3 a { color: #eee !important; }
.home-notice-banner #notice_new_3 a,
.category-top-notice #notice_new_3 a { font-size: 12px !important; }

/* Normalize weight and tracking to the member-center announcement text. */
.home-notice-banner > button,
.category-top-notice > button,
.home-notice-banner #notice_new_3 a,
.category-top-notice #notice_new_3 a {
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: normal !important;
}
