/* 公共导航和页脚，取自旧站首页。由 tools/import_snapshot.py 生成，不要手改 */
.navbar, .mobile-menu, footer {
    --green-dark: #1B4D3E;
    --green-mid: #2D6A4F;
    --green-light: #52B788;
    --green-mint: #95D5B2;
    --green-pale: #D8F3DC;
    --green-bg: #F1F8F4;
    --green-bg2: #E8F5E9;
    --bg-white: #F8FFF8;
    --gold: #B8860B;
    --white: #FFFFFF;
    --black: #000000;
    --gray-dark: #333333;
    --gray-mid: #555555;
    --gray-light: #888888;
    --border: #C8E6C9;
    --border-light: #E8F5E9;
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--green-dark);
    -webkit-font-smoothing: antialiased;
    line-height: normal;
    font-size: 16px;
    letter-spacing: normal;
    text-align: left;
    box-sizing: border-box;
  }
:where(.navbar, .mobile-menu, footer) :is(a, p, ul, ol, li, img, button, span, div, h1, h2, h3, h4, h5, h6) { margin: 0; padding: 0; box-sizing: border-box; }
:where(.navbar, .mobile-menu, footer) *::before, :where(.navbar, .mobile-menu, footer) *::after { box-sizing: border-box; }
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 48px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(248, 255, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(82, 183, 136, 0.2);
    transition: all 0.3s ease;
  }
.navbar.scrolled {
    background: rgba(248, 255, 248, 0.95);
    box-shadow: 0 4px 24px rgba(27, 77, 62, 0.08);
  }
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
  }
.logo-img {
    display: block;
    width: 132px;
    height: auto;
  }
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
  }
.nav-links a {
    color: var(--green-mid);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 400;
    transition: color 0.2s;
    position: relative;
  }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 1px;
    background: var(--green-light);
    transform: scaleX(0);
    transition: transform 0.2s;
  }
.nav-links a:hover { color: var(--green-dark); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
    background: var(--green-dark) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    border-radius: 24px !important;
    transition: all 0.25s !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(27, 77, 62, 0.25) !important;
  }
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--green-mid) !important;
    box-shadow: 0 6px 24px rgba(27, 77, 62, 0.35) !important;
    transform: translateY(-1px) !important;
  }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }
.hamburger span {
    width: 22px; height: 2px;
    background: var(--green-dark);
    display: block;
    border-radius: 2px;
    transition: all 0.3s;
  }
.mobile-menu {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(248, 255, 248, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px 48px;
    z-index: 999;
    flex-direction: column;
    gap: 20px;
  }
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--green-mid);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
  }
.mobile-menu a:last-child { border-bottom: none; }
.footer-about-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
  }
footer {
    background: var(--green-dark);
    border-top: 1px solid rgba(82, 183, 136, 0.2);
    padding: 72px 48px 40px;
  }
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
  }
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(82, 183, 136, 0.2);
  }
.footer-brand .logo-en {
    font-size: 22px;
    color: var(--white);
    letter-spacing: 3px;
  }
.footer-brand .logo-cn {
    color: var(--green-mint);
    font-size: 11px;
    letter-spacing: 4px;
    margin-top: 4px;
    display: block;
  }
.footer-brand .logo-img {
    width: 152px;
    margin-bottom: 18px;
  }
.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 2;
    margin-top: 20px;
    letter-spacing: 1px;
    font-weight: 300;
  }
.footer-entity {
    max-width: 300px;
    margin-top: 20px;
    color: rgba(255,255,255,0.48);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 0;
  }
.footer-about-link {
    margin-top: 16px;
    color: var(--green-mint);
    font-size: 12px;
  }
.footer-col-title {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--green-mint);
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
  }
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
.footer-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 300;
    transition: color 0.2s;
  }
.footer-links a:hover { color: var(--white); }
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 8px;
  }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }
.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 1px;
    font-weight: 300;
  }
.footer-slogan {
    font-size: 12px;
    color: var(--green-mint);
    letter-spacing: 2px;
    font-weight: 400;
  }
@media (max-width: 900px) {
.navbar { padding: 0 24px; }
.nav-links { display: none; }
.hamburger { display: flex; }
.footer-top { grid-template-columns: 1fr 1fr; }

}
@media (max-width: 900px) {
.footer-top { grid-template-columns: 1fr; }
.footer-bottom { flex-direction: column; align-items: flex-start; }

}
.legal-disclaimer {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(82, 183, 136, 0.15);
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 48px;
    text-align: left;
  }
.legal-disclaimer p {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    line-height: 1.9;
    letter-spacing: 0.5px;
    font-weight: 300;
    margin-bottom: 10px;
  }
.legal-disclaimer p:last-child {
    margin-bottom: 0;
  }
@media (max-width: 900px) {
.navbar {
      height: 60px;
      padding: 0 18px;
    }
.hamburger {
      width: 44px;
      height: 44px;
      align-items: center;
      justify-content: center;
    }
.mobile-menu {
      top: 60px;
      padding: 8px 20px 18px;
      gap: 0;
      max-height: calc(100svh - 60px);
      overflow-y: auto;
    }
.mobile-menu a {
      min-height: 46px;
      display: flex;
      align-items: center;
      font-size: 15px;
    }
footer {
      padding: 54px 20px 32px;
    }
.footer-top {
      gap: 32px;
      margin-bottom: 36px;
      padding-bottom: 36px;
    }
.legal-disclaimer {
      padding: 18px;
      margin-bottom: 34px;
      border-radius: 8px;
    }

}

/* 导航多了语言入口：不折行，窄一点的桌面宽度收紧间距 */
.ss-lang-switch, .nav-links a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1100px) {
.navbar { padding: 0 24px; }
.nav-links { gap: 16px; }
.nav-links a { letter-spacing: 0.5px; }
.nav-cta { padding: 9px 16px !important; }
}
