/* ========================================================================
   FUNGENE 全站统一导航样式（子站 services/、products/ 专用）
   
   本文件内容复制自 css/style.css 的以下区块：
     - :root CSS 变量
     - NAVIGATION 导航区块（.navbar / .nav-links / 下拉菜单 / 移动菜单 / 语言切换）
     - Auth 登录区 + 登录弹窗样式
   
   【维护注意】修改导航样式时需同步修改 css/style.css，保持两处一致。
   主站页面不引用本文件（其样式由 style.css 提供）。
   ======================================================================== */

/* CSS Variables */
:root {
  --fg-green: #3AAA35;
  --fg-green-dark: #2E8B2B;
  --fg-green-light: #E8F5E9;
  --fg-green-glow: rgba(58, 170, 53, 0.15);
  
  --fg-orange: #E87722;
  --fg-orange-dark: #D46515;
  --fg-orange-light: #FFF3E0;
  --fg-orange-glow: rgba(232, 119, 34, 0.15);

  --primary: var(--fg-green);
  --primary-dark: var(--fg-green-dark);

  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-section: #F0F7F0;
  
  --text-primary: #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --text-light: #A0AEC0;
  
  --border-light: #E2E8F0;
  --border-green: rgba(58, 170, 53, 0.2);
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-glow-green: 0 0 40px rgba(58, 170, 53, 0.15);
  --shadow-glow-orange: 0 0 40px rgba(232, 119, 34, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}



/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  transition: height 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  height: 64px;
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  align-items: baseline;
}

.logo-text .fun {
  color: var(--fg-orange);
}

.logo-text .gene {
  color: var(--fg-green);
}

/* Desktop Nav */
.nav-links {
  display: none;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

/* Right-side group: auth + lang switch + mobile toggle */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 240px;
  justify-content: flex-end;
}

.nav-link {
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--fg-green);
  background: var(--fg-green-light);
}

.nav-link.active {
  color: var(--fg-green);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--fg-green);
  border-radius: 2px;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--bg-light);
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

.lang-btn {
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: var(--fg-green);
  color: white;
  box-shadow: 0 2px 8px rgba(58, 170, 53, 0.3);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle::after {
  content: '▾';
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--fg-green);
  border-radius: var(--radius-md);
  padding: 8px 0;
  min-width: 220px;
  box-shadow: 0 8px 30px rgba(58, 170, 53, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s, transform 0.18s ease;
  z-index: 1001;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--fg-green);
}

.nav-dropdown:hover > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 10px 20px;
  color: white;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.nav-dropdown-item:hover {
  background: rgba(255,255,255,0.15);
}

/* Third level submenu */
.nav-dropdown-submenu-wrap {
  position: relative;
}

.nav-dropdown-submenu-wrap > .nav-dropdown-item::after {
  content: '▸';
  position: absolute;
  right: 16px;
  font-size: 0.7rem;
  opacity: 0.8;
}

.nav-dropdown-submenu {
  position: absolute;
  top: 0;
  left: 100%;
  background: var(--fg-green);
  border-radius: var(--radius-md);
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 8px 30px rgba(58, 170, 53, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  margin-left: 4px;
}

.nav-dropdown-submenu-wrap:hover > .nav-dropdown-submenu {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu .nav-dropdown {
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu .nav-link {
  font-size: 1.1rem;
  padding: 14px 20px;
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu .nav-dropdown-toggle::after {
  content: '▾';
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.mobile-menu .nav-dropdown.open > .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.mobile-menu .nav-dropdown-menu {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  background: var(--fg-green-light);
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  display: none;
}

.mobile-menu .nav-dropdown.open > .nav-dropdown-menu {
  max-height: 600px;
  display: block;
}

.mobile-menu .nav-dropdown-menu::before {
  display: none;
}

.mobile-menu .nav-dropdown-item {
  color: var(--text-secondary);
  padding: 12px 20px 12px 36px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.mobile-menu .nav-dropdown-item:hover {
  background: rgba(58, 170, 53, 0.08);
}

/* Mobile submenu */
.mobile-menu .nav-dropdown-submenu-wrap > .nav-dropdown-item::after {
  content: '▾';
  right: 20px;
  font-size: 0.75rem;
}

.mobile-menu .nav-dropdown-submenu-wrap.open > .nav-dropdown-item::after {
  transform: rotate(180deg);
}

.mobile-menu .nav-dropdown-submenu {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  background: rgba(58, 170, 53, 0.06);
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-left: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  display: none;
}

.mobile-menu .nav-dropdown-submenu-wrap.open > .nav-dropdown-submenu {
  max-height: 200px;
  display: block;
}

.mobile-menu .nav-dropdown-submenu .nav-dropdown-item {
  padding-left: 52px;
  font-size: 0.9rem;
}

.mobile-menu .lang-switch {
  margin-top: 16px;
  align-self: center;
}


/* Auth container in navbar */
.auth-container {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
}

/* JS 注入登录/注册按钮前用占位元素锁住宽度，避免按钮注入后整 nav 重排 */
.auth-container:empty::before {
  content: '';
  display: inline-block;
  width: 120px;
  height: 36px;
}

.auth-login-btn {
  padding: 6px 16px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-login-btn:hover {
  background: var(--primary);
  color: white;
}

.auth-register-btn {
  padding: 6px 16px;
  border: none;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-register-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* User menu */
.auth-user-menu {
  position: relative;
}

.auth-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: none;
  background: rgba(58, 170, 53, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-user-btn:hover {
  background: rgba(58, 170, 53, 0.2);
}

.auth-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.auth-username {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  padding: 8px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 1002;
}

.auth-dropdown.show,
.auth-user-menu:hover .auth-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.auth-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--text-dark);
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  transition: background 0.15s;
}

.auth-dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* Auth Modal */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.auth-modal.show {
  opacity: 1;
  visibility: visible;
}

.auth-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
}

.auth-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  margin: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.auth-modal.show .auth-modal-content {
  transform: scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  transition: all 0.2s;
}

.auth-modal-close:hover {
  background: var(--border-light);
  color: var(--text-dark);
}

.auth-modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.auth-modal-subtitle {
  font-size: 0.875rem;
  color: var(--text-light);
}

.auth-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-medium);
}

.auth-form-group input {
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.9rem;
  transition: all 0.2s;
  font-family: inherit;
}

.auth-form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 170, 53, 0.1);
}

.auth-error {
  color: #e53935;
  font-size: 0.8rem;
  padding: 8px 12px;
  background: rgba(229, 57, 53, 0.06);
  border-radius: 8px;
  display: none;
}

.auth-submit-btn {
  padding: 14px;
  border: none;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.auth-submit-btn:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.auth-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-spinner {
  animation: auth-spin 1s linear infinite;
}

@keyframes auth-spin {
  to { transform: rotate(360deg); }
}

.auth-modal-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-medium);
}

.auth-switch-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  font-size: inherit;
  padding: 0;
}

.auth-switch-btn:hover {
  text-decoration: underline;
}

.auth-forgot-btn {
  background: none;
  border: none;
  color: var(--text-medium);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.auth-forgot-btn:hover {
  color: var(--primary);
}

/* Toast */
.auth-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  padding: 14px 22px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 10001;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--primary);
}

.auth-toast.show {
  transform: translateX(0);
}

.auth-toast-success {
  border-left-color: var(--primary);
  color: var(--primary-dark);
}

.auth-toast-error {
  border-left-color: #e53935;
  color: #c62828;
}

/* ===== Auth Modal New Styles ===== */

/* Required field mark */
.required-mark {
  color: #E87722;
  margin-right: 2px;
}

/* Tab bar */
.auth-tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border-light);
}

.auth-tab {
  flex: 1;
  padding: 12px;
  border: none;
  background: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.auth-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.auth-tab:hover:not(.active) {
  color: var(--text-medium);
}

/* Login methods switcher */
.auth-login-methods {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.auth-login-method {
  flex: 1;
  padding: 10px;
  border: 1.5px solid var(--border-light);
  background: white;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.auth-login-method.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--fg-green-light);
}

.auth-login-method:hover:not(.active) {
  border-color: var(--text-light);
}

/* Auth sections */
.auth-section {
  display: none;
}

.auth-section.active {
  display: block;
}

/* Auth forms within sections */
.auth-section .auth-form {
  display: none;
}

.auth-section .auth-form.active {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Code input group (input + button side by side) */
.auth-code-input-wrap {
  display: flex;
  gap: 8px;
}

.auth-code-input-wrap input {
  flex: 1;
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s;
}

.auth-code-input-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 170, 53, 0.1);
}

.auth-send-code-btn {
  padding: 12px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  min-width: 100px;
}

.auth-send-code-btn:hover:not(:disabled) {
  background: var(--primary-dark);
}

.auth-send-code-btn:disabled {
  background: var(--text-light);
  cursor: not-allowed;
}

/* Region selection group (province + city + district) */
.auth-region-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.auth-region-group select {
  padding: 10px 12px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.85rem;
  font-family: inherit;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23718096' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.auth-region-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 170, 53, 0.1);
}

/* WeChat login placeholder */
.auth-wechat-section {
  text-align: center;
  padding: 32px 0;
}

.auth-wechat-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.auth-wechat-icon {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  background: var(--fg-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-wechat-text {
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* Auth modal adjustments */
.auth-modal-content {
  max-width: 460px;
  padding: 32px;
  max-height: 90vh;
  overflow-y: auto;
}

.auth-modal-content::-webkit-scrollbar {
  width: 6px;
}

.auth-modal-content::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 3px;
}

/* Form inputs in sections */
.auth-section input[type="text"],
.auth-section input[type="email"],
.auth-section input[type="tel"],
.auth-section input[type="password"] {
  padding: 12px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s;
  width: 100%;
}

.auth-section input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 170, 53, 0.1);
}


/* ========================================================================
   子站专用补充规则
   ======================================================================== */
/* 恒定预留纵向滚动条槽位，避免页面间跳转时固定导航条水平跳动 */
html {
  scrollbar-gutter: stable;
}

/* 补偿固定导航（.navbar height: 72px）占据的空间 */
body {
  padding-top: 72px;
}

/* Nav 品牌名 FunCross 双色 + 斜体加粗 (2026-08-27 改名 + 配色) */
.nav-brand-fun,
.nav-brand-fun:visited {
  color: var(--fg-orange);
  font-style: italic;
  font-weight: bold;
}
.nav-brand-cross,
.nav-brand-cross:visited {
  color: var(--fg-green);
  font-style: italic;
  font-weight: bold;
}
/* hover/active 时父级 .nav-link 颜色会覆盖 span,需保持 span 双色 */
.nav-link:hover .nav-brand-fun,
.nav-link.active .nav-brand-fun   { color: var(--fg-orange); font-style: italic; font-weight: bold; }
.nav-link:hover .nav-brand-cross,
.nav-link.active .nav-brand-cross { color: var(--fg-green);  font-style: italic; font-weight: bold; }
