/* 全站统一深海墨蓝吸顶导航（与首页 scheme-c 保持一致，隔离 Bootstrap 与旧版白色导航样式） */
body header.site-header.yhz-site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(21, 34, 54, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
header.yhz-site-header *,
header.yhz-site-header *::before,
header.yhz-site-header *::after {
  box-sizing: border-box;
}
header.yhz-site-header .yhz-nav-inner {
  max-width: 1240px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
header.yhz-site-header .yhz-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
header.yhz-site-header .yhz-brand img {
  height: 40px;
  width: auto;
  display: block;
}
header.yhz-site-header .yhz-menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #FFFFFF;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}
header.yhz-site-header .yhz-primary-nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 24px;
}
header.yhz-site-header .yhz-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #CBD5E1;
  white-space: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
header.yhz-site-header .yhz-nav-links a,
header.yhz-site-header .yhz-nav-links a:visited {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  color: #CBD5E1;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
header.yhz-site-header .yhz-nav-links a:hover,
header.yhz-site-header .yhz-nav-links a[aria-current="page"] {
  color: #07C160;
  text-decoration: none;
}
header.yhz-site-header .yhz-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
header.yhz-site-header .yhz-login-link,
header.yhz-site-header .yhz-login-link:visited {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease;
}
header.yhz-site-header .yhz-login-link:hover {
  color: #07C160;
  text-decoration: none;
}
body header.yhz-site-header .yhz-nav-actions a.yhz-register-btn,
body header.yhz-site-header .yhz-nav-actions a.yhz-register-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 9px;
  background: #07C160;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background 0.2s ease;
}
body header.yhz-site-header .yhz-nav-actions a.yhz-register-btn:hover {
  background: #06A853;
  color: #FFFFFF;
  text-decoration: none;
}
@media (max-width: 1080px) {
  header.yhz-site-header .yhz-nav-inner {
    flex-wrap: wrap;
    padding: 14px 20px;
    gap: 12px;
    min-height: 64px;
  }
  header.yhz-site-header .yhz-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  header.yhz-site-header .yhz-primary-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  header.yhz-site-header .yhz-primary-nav.is-open {
    display: flex;
  }
  header.yhz-site-header .yhz-nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  header.yhz-site-header .yhz-nav-links a {
    width: 100%;
    padding: 8px 2px;
  }
  header.yhz-site-header .yhz-nav-actions {
    margin-left: 0;
    padding-top: 4px;
  }
}
