/* ============================================================
   超新星 SUPERNOVA 子站（深色 + 黄色主题）
   整合自 https://4y91iujeyuofa.space.mcode.cn
   所有选择器都加 body.theme-nova 前缀避免与主页冲突
   ============================================================ */

/* Design Token：项目级 Glassmorphism 规范（与 topbar.8d4aa38f.css 一致） */
:root {
  --glass-bg-light:           rgba(255, 255, 255, 0.55);
  --glass-border-light:        rgba(15, 23, 42, 0.06);
  --glass-highlight-light:     rgba(255, 255, 255, 0.6);
  --glass-shadow-light:        rgba(15, 23, 42, 0.06);
  --glass-bg-dark:             rgba(10, 14, 39, 0.72);
  --glass-border-dark:         rgba(255, 255, 255, 0.06);
  --glass-highlight-dark:      rgba(255, 255, 255, 0.08);
  --glass-shadow-dark:         rgba(0, 0, 0, 0.32);
  --glass-blur:                blur(20px) saturate(180%);
}

/* view 切换（与主页深色主题配合） */
.view { display: none; }
.view.active { display: block; }

.back-to-sts {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #ffd166;
  border: 1px solid #ffd166;
  border-radius: 30px;
  background: transparent;
  transition: all 0.25s ease;
  letter-spacing: 1px;
}
.back-to-sts:hover {
  background: #ffd166;
  color: #0a0a1f;
}
body.theme-nova .back-to-sts { display: inline-flex; }

/* ============================================================
   基础（所有 nova 元素的全局 reset + 变量）
   ============================================================ */
body.theme-nova {
  background: #0a0a1f;
  color: #f8f8f8;
  font-family: "Inter", "Noto Serif SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --nova-bg: #0a0a1f;
  --nova-bg-soft: #14142b;
  --nova-fg: #f8f8f8;
  --nova-fg-dim: #a8aac0;
  --nova-accent: #ffd166;
  --nova-accent-2: #ff9f1c;
  --nova-border: rgba(255,255,255,0.08);
}

body.theme-nova *:not(:where(.topbar, .topbar *, .auth-modal, .auth-modal *)) { box-sizing: border-box; margin: 0; padding: 0; }
body.theme-nova a:not(:where(.topbar *)) { color: inherit; text-decoration: none; transition: color 0.25s ease; }
body.theme-nova a:not(:where(.topbar *)):hover { color: #ffd166; }
body.theme-nova img { max-width: 100%; display: block; }
body.theme-nova h1, body.theme-nova h2, body.theme-nova h3 { line-height: 1.2; font-weight: 700; }
body.theme-nova p { line-height: 1.75; }

/* ============================================================
   导航
   ============================================================ */
body.theme-nova .nav {
  position: sticky; top: 0; left: 0; right: 0;
  z-index: 90;
  /* Glassmorphism（统一引用 design token · 深色玻璃） */
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border-dark);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight-dark),
    0 8px 32px var(--glass-shadow-dark);
}
body.theme-nova .nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
body.theme-nova .nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
  letter-spacing: 3px; color: #ffd166;
}
body.theme-nova .nav__logo {
  width: 18px; height: 18px;
  background: #ffd166;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 14px rgba(255,209,102,0.5);
}
body.theme-nova .nav__logo::before, body.theme-nova .nav__logo::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(255,209,102,0.5);
  border-radius: 50%;
  animation: pulseRing 3s infinite ease-out;
}
body.theme-nova .nav__logo::after { animation-delay: 1.5s; }
body.theme-nova .pulse {
  position: absolute; inset: -6px;
  border: 1px solid rgba(255,209,102,0.3);
  border-radius: 50%;
  animation: pulseRing 3s infinite ease-out;
}
@keyframes pulseRing {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
body.theme-nova .nav__menu {
  display: flex; gap: 28px; list-style: none;
}
body.theme-nova .nav__menu a {
  font-size: 13px; color: #a8aac0;
  letter-spacing: 2px; text-transform: uppercase;
  transition: color 0.2s;
}
body.theme-nova .nav__menu a:hover { color: #ffd166; }
body.theme-nova .nav__menu a.is-active {
  color: #ffd166;
  font-weight: 600;
  position: relative;
}
body.theme-nova .nav__menu a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: #ffd166;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255,209,102,0.5);
}
body.theme-nova .nav__cta {
  padding: 10px 22px;
  background: #ffd166;
  color: #0a0a1f !important;
  border-radius: 30px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
body.theme-nova .nav__cta:hover { background: #ff9f1c; color: #0a0a1f !important; }
body.theme-nova .nav__toggle { display: none; }

body.theme-nova .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ============================================================
   通用 section + section__head
   ============================================================ */
body.theme-nova .section {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
}
body.theme-nova .section__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
body.theme-nova .section__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,31,0.85) 0%, rgba(10,10,31,0.95) 100%);
  z-index: 1;
}
body.theme-nova .section .container { position: relative; z-index: 2; }
body.theme-nova .section__head { text-align: center; margin-bottom: 80px; }
body.theme-nova .section__head--light { color: #fff; }
body.theme-nova .section__kicker {
  font-size: 12px; letter-spacing: 6px; color: #ffd166;
  text-transform: uppercase; margin-bottom: 20px;
  font-weight: 500;
}
body.theme-nova .section__title {
  font-size: 52px; font-weight: 800;
  line-height: 1.15; margin-bottom: 24px;
  color: #fff; letter-spacing: 1px;
}
body.theme-nova .section__title em {
  color: #ffd166; font-style: normal;
}
body.theme-nova .section__sub {
  font-size: 17px; color: #a8aac0;
  max-width: 640px; margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   Hero
   ============================================================ */
body.theme-nova .hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  padding: 140px 24px 80px;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(255,209,102,0.12), transparent 70%),
              radial-gradient(ellipse 80% 60% at 50% 80%, rgba(108,92,231,0.15), transparent 70%),
              #0a0a1f;
  overflow: hidden;
}
body.theme-nova .stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 60% 70%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, #ffd166, transparent),
    radial-gradient(1px 1px at 30% 80%, #fff, transparent),
    radial-gradient(1px 1px at 90% 60%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 10% 60%, #fff, transparent),
    radial-gradient(1px 1px at 50% 40%, #fff, transparent),
    radial-gradient(1px 1px at 70% 10%, #fff, transparent);
  background-size: 800px 800px;
  background-repeat: repeat;
  animation: twinkle 5s infinite ease-in-out alternate;
  opacity: 0.6;
}
@keyframes twinkle { 0%{opacity:0.3} 100%{opacity:0.8} }

body.theme-nova .hero__burst {
  position: absolute; top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,209,102,0.18) 0%, transparent 60%);
  z-index: 0;
}
body.theme-nova .hero__content { position: relative; z-index: 2; max-width: 820px; }
body.theme-nova .hero__eyebrow {
  font-size: 12px; color: #ffd166;
  letter-spacing: 6px; margin-bottom: 24px;
  text-transform: uppercase; font-weight: 500;
}
body.theme-nova .hero__title {
  font-size: 96px; font-weight: 900;
  line-height: 0.95; margin-bottom: 32px;
  letter-spacing: 2px;
}
body.theme-nova .hero__title-cn {
  display: block; font-size: 110px;
  font-family: "Noto Serif SC", serif;
  color: #ffd166;
  margin-bottom: 12px;
  text-shadow: 0 0 30px rgba(255,209,102,0.3);
}
body.theme-nova .hero__title-en {
  display: block; font-size: 32px;
  font-weight: 300; letter-spacing: 12px;
  color: #f8f8f8;
}
body.theme-nova .hero__tagline {
  font-size: 22px; color: #ffd166;
  font-family: "Noto Serif SC", serif;
  letter-spacing: 8px; margin-bottom: 32px;
}
body.theme-nova .hero__lede {
  font-size: 17px; color: #c8cad8;
  line-height: 1.85; margin-bottom: 48px;
}
body.theme-nova .hero__lede strong { color: #ffd166; }
body.theme-nova .hero__actions {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}
body.theme-nova .btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}
body.theme-nova .btn--primary {
  background: #ffd166; color: #0a0a1f;
}
body.theme-nova .btn--primary:hover {
  background: #ff9f1c;
  color: #0a0a1f;
  transform: translateY(-2px);
}
body.theme-nova .btn--ghost {
  background: transparent;
  color: #ffd166;
  border: 1px solid #ffd166;
}
body.theme-nova .btn--ghost:hover {
  background: rgba(255,209,102,0.1);
  color: #ffd166;
  transform: translateY(-2px);
}
body.theme-nova .hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; letter-spacing: 4px;
  color: #6c6e80;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
body.theme-nova .hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, #ffd166, transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   关于 (about)
   ============================================================ */
body.theme-nova .section--about {
  background: #0a0a1f;
}
body.theme-nova .about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
body.theme-nova .about__card {
  background: rgba(20,20,43,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.3s ease;
}
body.theme-nova .about__card:hover {
  border-color: rgba(255,209,102,0.3);
  transform: translateY(-4px);
}
body.theme-nova .about__num {
  font-size: 48px; font-weight: 900;
  color: rgba(255,209,102,0.25);
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
}
body.theme-nova .about__card h3 {
  font-size: 22px; color: #ffd166;
  margin-bottom: 16px; font-weight: 700;
}
body.theme-nova .about__card p {
  font-size: 15px; color: #c8cad8;
  line-height: 1.85;
}
body.theme-nova .about__card strong { color: #ffd166; }

/* ============================================================
   标准 (standards) - 深色但 section head 是浅色
   ============================================================ */
body.theme-nova .section--standards {
  background: #14142b;
}

/* ============================================================
   入会方式 (how)
   ============================================================ */
body.theme-nova .section--how {
  background: #0a0a1f;
}
body.theme-nova .how__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
body.theme-nova .how__step {
  background: rgba(20,20,43,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 36px 30px;
  position: relative;
  transition: all 0.3s ease;
}
body.theme-nova .how__step:hover {
  border-color: rgba(255,209,102,0.3);
  transform: translateY(-4px);
}
body.theme-nova .how__num {
  display: inline-block;
  font-size: 11px; letter-spacing: 4px;
  color: #ffd166;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 600;
}
body.theme-nova .how__step h3 {
  font-size: 22px; color: #fff;
  margin-bottom: 12px;
}
body.theme-nova .how__step p {
  font-size: 15px; color: #c8cad8;
  line-height: 1.85;
}
body.theme-nova .how__step--alt {
  background: linear-gradient(135deg, rgba(255,209,102,0.1), rgba(20,20,43,0.5));
  border-color: rgba(255,209,102,0.3);
}
body.theme-nova .how__cta {
  text-align: center;
}
body.theme-nova .how__note {
  margin-top: 20px;
  font-size: 13px;
  color: #6c6e80;
  font-style: italic;
}

/* standards 是 how 之前的 section，复用 about 的卡片样式 */
body.theme-nova .standards__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
body.theme-nova .standard {
  background: rgba(20,20,43,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 36px 30px;
  text-align: center;
  transition: all 0.3s ease;
}
body.theme-nova .standard:hover {
  border-color: rgba(255,209,102,0.3);
  transform: translateY(-4px);
}
body.theme-nova .standard__icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  color: #ffd166;
}
body.theme-nova .standard__icon svg { width: 100%; height: 100%; }
body.theme-nova .standard h3 {
  font-size: 20px; color: #fff;
  margin-bottom: 12px;
}
body.theme-nova .standard p {
  font-size: 14px; color: #c8cad8;
  line-height: 1.85;
}

/* ============================================================
   证书 (certificate)
   ============================================================ */
body.theme-nova .section--certificate {
  background: #14142b;
}
body.theme-nova .cert {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px;
}
body.theme-nova .cert__frame {
  background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
  border-radius: 8px;
  padding: 60px 50px;
  position: relative;
  color: #1a1a2e;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
body.theme-nova .cert__corner {
  position: absolute;
  width: 30px; height: 30px;
  border: 2px solid #1a1a2e;
}
body.theme-nova .cert__corner--tl { top: 20px; left: 20px; border-right: 0; border-bottom: 0; }
body.theme-nova .cert__corner--tr { top: 20px; right: 20px; border-left: 0; border-bottom: 0; }
body.theme-nova .cert__corner--bl { bottom: 20px; left: 20px; border-right: 0; border-top: 0; }
body.theme-nova .cert__corner--br { bottom: 20px; right: 20px; border-left: 0; border-top: 0; }

body.theme-nova .cert__brand {
  display: flex; align-items: center;
  gap: 12px; margin-bottom: 30px;
  justify-content: center;
}
body.theme-nova .cert__logo {
  width: 24px; height: 24px;
  background: #ffd166;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 12px rgba(255,209,102,0.5);
}
body.theme-nova .cert__logo::before, body.theme-nova .cert__logo::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(26,26,46,0.5);
  border-radius: 50%;
}
body.theme-nova .cert__brand-text {
  font-size: 14px; font-weight: 800;
  letter-spacing: 4px;
  color: #1a1a2e;
}
body.theme-nova .cert__pre {
  font-size: 11px; letter-spacing: 5px;
  color: #6c6e80; text-align: center;
  text-transform: uppercase; margin-bottom: 8px;
}
body.theme-nova .cert__cn {
  font-size: 14px; letter-spacing: 6px;
  color: #1a1a2e; text-align: center;
  margin-bottom: 30px;
  font-weight: 500;
}
body.theme-nova .cert__lede {
  font-size: 14px; text-align: center;
  color: #4a4c5c; margin-bottom: 12px;
}
body.theme-nova .cert__name {
  font-size: 42px; font-weight: 800;
  text-align: center;
  font-family: "Noto Serif SC", serif;
  color: #1a1a2e;
  margin-bottom: 24px;
  border-bottom: 1px solid #c8cad8;
  padding-bottom: 24px;
  font-style: italic;
}
body.theme-nova .cert__body {
  font-size: 14px; text-align: center;
  color: #4a4c5c; line-height: 2;
  margin-bottom: 40px;
}
body.theme-nova .cert__year { font-weight: 700; }
body.theme-nova .cert__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 20px;
  border-top: 1px solid #c8cad8;
}
body.theme-nova .cert__sig { text-align: left; }
body.theme-nova .cert__sig-line {
  display: block; width: 120px; height: 1px;
  background: #1a1a2e;
  margin-bottom: 6px;
}
body.theme-nova .cert__sig-name {
  font-size: 11px; color: #6c6e80;
  letter-spacing: 2px;
}
body.theme-nova .cert__id { text-align: right; }
body.theme-nova .cert__id-label {
  display: block;
  font-size: 10px; color: #6c6e80;
  letter-spacing: 3px; margin-bottom: 4px;
}
body.theme-nova .cert__id-code {
  font-size: 12px; color: #1a1a2e;
  letter-spacing: 2px; font-weight: 700;
  font-family: "Inter", monospace;
}

/* ============================================================
   会员 (members)
   ============================================================ */
body.theme-nova .section--members {
  background: #0a0a1f;
}
body.theme-nova .members__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
body.theme-nova .member {
  background: rgba(20,20,43,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}
body.theme-nova .member:hover {
  border-color: rgba(255,209,102,0.3);
  transform: translateY(-4px);
}
body.theme-nova .member__avatar {
  width: 100%; aspect-ratio: 1;
  background-size: cover; background-position: center;
  background-color: #14142b;
  position: relative;
}
body.theme-nova .member__avatar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,31,0.6) 100%);
}
body.theme-nova .member__name {
  font-size: 18px; color: #ffd166;
  font-weight: 700; margin: 16px 0 4px;
  letter-spacing: 2px;
}
body.theme-nova .member__role {
  font-size: 12px; color: #a8aac0;
  padding-bottom: 20px;
  letter-spacing: 1px;
}
body.theme-nova .members__note {
  text-align: center;
  font-size: 12px;
  color: #6c6e80;
  font-style: italic;
}

/* ============================================================
   联系 (contact)
   ============================================================ */
body.theme-nova .section--contact {
  background: #14142b;
}
body.theme-nova .contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
body.theme-nova .contact__card {
  background: rgba(20,20,43,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}
body.theme-nova .contact__card:hover {
  border-color: rgba(255,209,102,0.3);
  transform: translateY(-4px);
}
body.theme-nova .contact__icon {
  width: 56px; height: 56px;
  background: rgba(255,209,102,0.1);
  border: 1px solid rgba(255,209,102,0.3);
  color: #ffd166;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  margin: 0 auto 20px;
  font-family: "Noto Serif SC", serif;
}
body.theme-nova .contact__card h3 {
  font-size: 16px; color: #fff;
  margin-bottom: 16px; letter-spacing: 2px;
}
body.theme-nova .contact__value {
  font-size: 18px; color: #ffd166;
  font-weight: 700; margin-bottom: 10px;
  font-family: "Inter", monospace;
}
body.theme-nova .contact__hint {
  font-size: 12px; color: #6c6e80;
  letter-spacing: 1px;
}

/* ============================================================
   页脚
   ============================================================ */
body.theme-nova .footer {
  background: #050614;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 0 40px;
  text-align: center;
}
body.theme-nova .footer__top {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
body.theme-nova .footer__brand {
  display: flex; align-items: center;
  justify-content: center; gap: 12px;
  margin-bottom: 12px;
  font-size: 18px; font-weight: 800;
  letter-spacing: 6px; color: #ffd166;
}
body.theme-nova .footer__logo {
  width: 16px; height: 16px;
  background: #ffd166;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
body.theme-nova .footer__tag {
  font-size: 14px; color: #a8aac0;
  font-family: "Noto Serif SC", serif;
  letter-spacing: 6px;
}
body.theme-nova .footer__bottom {
  display: flex; flex-direction: column;
  gap: 6px; align-items: center;
}
body.theme-nova .footer__bottom p {
  font-size: 12px; color: #6c6e80;
  letter-spacing: 1px;
}
body.theme-nova .footer__out { color: #4a4c5c !important; font-size: 11px !important; }

/* 回到顶部按钮（黄主题） */
body.theme-nova .back-top {
  background: #ffd166 !important;
  color: #0a0a1f !important;
  box-shadow: 0 6px 20px rgba(255,209,102,0.3) !important;
}

/* ============================================================
   入场动画
   ============================================================ */
body.theme-nova .about__card,
body.theme-nova .how__step,
body.theme-nova .standard,
body.theme-nova .member,
body.theme-nova .contact__card,
body.theme-nova .cert {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
body.theme-nova .about__card.visible,
body.theme-nova .how__step.visible,
body.theme-nova .standard.visible,
body.theme-nova .member.visible,
body.theme-nova .contact__card.visible,
body.theme-nova .cert.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  body.theme-nova .nav__menu { gap: 20px; }
  body.theme-nova .nav__menu a { font-size: 12px; letter-spacing: 1px; }
  body.theme-nova .about__grid { grid-template-columns: 1fr 1fr; }
  body.theme-nova .how__steps { grid-template-columns: 1fr; }
  body.theme-nova .standards__grid { grid-template-columns: 1fr 1fr; }
  body.theme-nova .members__grid { grid-template-columns: repeat(3, 1fr); }
  body.theme-nova .contact__grid { grid-template-columns: 1fr; }
  body.theme-nova .section__title { font-size: 40px; }
  body.theme-nova .hero__title-cn { font-size: 80px; }
  body.theme-nova .hero__title-en { font-size: 24px; letter-spacing: 6px; }
}

@media (max-width: 768px) {
  body.theme-nova .nav__menu, body.theme-nova .nav__cta { display: none; }
  body.theme-nova .nav__toggle { display: flex; flex-direction: column; gap: 4px; width: 24px; height: 24px; justify-content: center; }
  body.theme-nova .nav__toggle span { display: block; width: 22px; height: 2px; background: #ffd166; }
  body.theme-nova .container { padding: 0 20px; }
  body.theme-nova .section { padding: 80px 0; }
  body.theme-nova .section__title { font-size: 32px; }
  body.theme-nova .section__head { margin-bottom: 50px; }
  body.theme-nova .about__grid { grid-template-columns: 1fr; }
  body.theme-nova .standards__grid { grid-template-columns: 1fr; }
  body.theme-nova .members__grid { grid-template-columns: 1fr 1fr; }
  body.theme-nova .hero__title { font-size: 64px; }
  body.theme-nova .hero__title-cn { font-size: 56px; }
  body.theme-nova .hero__title-en { font-size: 18px; letter-spacing: 4px; }
  body.theme-nova .hero__tagline { font-size: 16px; letter-spacing: 4px; }
  body.theme-nova .hero__lede { font-size: 15px; }
  body.theme-nova .cert__frame { padding: 40px 30px; }
  body.theme-nova .cert__name { font-size: 32px; }
}

/* ============================================================
   云雾阁 Misty Pavilion 子站（深空黑底 + 青绿整套 + 宋体）
   整合自 https://misty.mysxl.cn
   ============================================================ */

body.theme-misty .site-footer { display: none; }

body.theme-misty {
  /* 深空黑底 + 青绿整套设计语言（统一 transition / 渐变方向 / 阴影风格）
     三层 radial 光晕贯通整页：顶部主光晕 / 左下次光晕 / 右下偏置光晕 */
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,188,156,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 60%, rgba(45,212,191,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(26,188,156,0.08) 0%, transparent 60%),
    #05071a;
  background-attachment: fixed;
  color: #e8eaf0;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --misty-bg: #05071a;
  --misty-bg-soft: #0a0e27;
  --misty-fg: #e8eaf0;
  --misty-fg-dim: #a3a8c4;
  --misty-accent: #1abc9c;
  --misty-accent-2: #2dd4bf;
  --misty-accent-deep: #16a085;
  --misty-card: rgba(11,18,32,0.7);
  --misty-border: rgba(26,188,156,0.2);
  --misty-border-soft: rgba(255,255,255,0.08);
  --misty-glow: rgba(26,188,156,0.15);
  --misty-radius: 8px;
  --misty-ease: 0.25s ease;
}

body.theme-misty *:not(:where(.topbar, .topbar *, .auth-modal, .auth-modal *)) { box-sizing: border-box; margin: 0; padding: 0; }
body.theme-misty a:not(:where(.topbar *)) { color: inherit; text-decoration: none; transition: color var(--misty-ease); }
body.theme-misty a:not(:where(.topbar *)):hover { color: var(--misty-accent); }
body.theme-misty img { max-width: 100%; display: block; }

/* Misty 导航（玻璃深色 + 青绿描边；统一方案 A） */
body.theme-misty .misty-nav {
  position: sticky; top: 0; left: 0; right: 0;
  z-index: 90;
  /* Glassmorphism（统一引用 design token · 深色玻璃） */
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border-dark);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight-dark),
    0 8px 32px var(--glass-shadow-dark);
}

/* ================================================================
   兼容性与无障碍兜底（玻璃风降级）
   ================================================================ */
/* 老浏览器（不支持 backdrop-filter）：降级为近不透明 */
@supports not (backdrop-filter: blur(1px)) {
  body.theme-nova .nav,
  body.theme-misty .misty-nav {
    background: rgba(10, 14, 39, 0.95);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  }
}
/* 用户偏好低透明度（无障碍 / 性能）：降级为实色背景 */
@media (prefers-reduced-transparency: reduce) {
  body.theme-nova .nav,
  body.theme-misty .misty-nav {
    background: rgba(10, 14, 39, 0.95);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
body.theme-misty .misty-nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; gap: 32px;
}
body.theme-misty .misty-nav__brand {
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 20px; font-weight: 700;
  color: var(--misty-accent);
  letter-spacing: 2px;
}
body.theme-misty .misty-nav__menu {
  display: flex; gap: 28px; list-style: none; margin-left: auto;
}
body.theme-misty .misty-nav__menu a {
  font-size: 14px; color: var(--misty-fg-dim);
  letter-spacing: 2px;
  transition: color var(--misty-ease);
}
body.theme-misty .misty-nav__menu a:hover { color: var(--misty-accent); }
body.theme-misty .misty-nav__menu a.is-active {
  color: var(--misty-accent);
  font-weight: 600;
  position: relative;
}
body.theme-misty .misty-nav__menu a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--misty-accent);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(45,212,191,0.35);
}

/* Hero（深空 + 蓝紫光晕 → 这里改为青绿光晕，统一 135deg + radial） */
body.theme-misty .misty-hero {
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(26,188,156,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 90%, rgba(45,212,191,0.10) 0%, transparent 70%),
    linear-gradient(135deg, #05071a 0%, #0a0e27 100%);
  overflow: hidden;
}
body.theme-misty .misty-hero .container { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
body.theme-misty .misty-hero h1 {
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-size: 84px; font-weight: 700;
  line-height: 1.1;
  /* 蓝→紫渐变文字 → 改为浅青→青绿→深青绿渐变 */
  background: linear-gradient(135deg, #e8eaf0 0%, #2dd4bf 50%, #1abc9c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 16px;
  letter-spacing: 4px;
  text-shadow: 0 0 40px rgba(26,188,156,0.2);
}
body.theme-misty .misty-hero h1 .cn {
  display: block;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 8px;
  margin-top: 12px;
  background: linear-gradient(135deg, #2dd4bf 0%, #1abc9c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
body.theme-misty .misty-en {
  font-family: "Roboto Condensed", "Inter", sans-serif;
  font-size: 28px; font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--misty-accent);
  margin-top: 24px;
  text-shadow: 0 0 18px rgba(26,188,156,0.3);
}
body.theme-misty .misty-meta {
  font-size: 16px; color: var(--misty-fg-dim);
  margin-top: 16px;
  letter-spacing: 2px;
  font-weight: 500;
}

/* 通用 section（透明，让 body 底色贯通；不同 section 用 ::before / ::after 做"局部云雾"个性化） */
body.theme-misty .misty-section {
  padding: 100px 0;
  position: relative;
  background: transparent;
}
body.theme-misty .misty-section + .misty-section { border-top: 1px solid var(--misty-border-soft); }
body.theme-misty .misty-section .container { max-width: 980px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
body.theme-misty .misty-section-light { background: transparent; color: var(--misty-fg); }
/* 入会方式（light）：薄雾 + 顶部"晨光"光带 + 右下团雾 */
body.theme-misty .misty-section-light::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(26,188,156,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 50% 30% at 70% 90%, rgba(45,212,191,0.05) 0%, transparent 70%),
    linear-gradient(180deg, rgba(26,188,156,0.05) 0%, transparent 30%);
  z-index: 0;
  pointer-events: none;
}
body.theme-misty .misty-section-dark {
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: transparent;
}
body.theme-misty .misty-section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(5,7,26,0.5);
  z-index: 0;
  pointer-events: none;
}
body.theme-misty .misty-section-dark::after {
  content: ""; position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
}
/* 证书：顶部"仙气"光带 + 底部轻云 */
body.theme-misty #misty-cert::after {
  background:
    radial-gradient(ellipse 50% 25% at 50% 0%, rgba(26,188,156,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 70% 30% at 50% 100%, rgba(45,212,191,0.08) 0%, transparent 70%);
}
/* 会员名单：左右各一团"群山"轮廓感的云 */
body.theme-misty #misty-members::after {
  background:
    radial-gradient(ellipse 30% 50% at 0% 30%, rgba(26,188,156,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 30% 50% at 100% 70%, rgba(45,212,191,0.08) 0%, transparent 70%);
}
/* 联系方式：标题下方"水墨"横条 */
body.theme-misty #misty-contact::after {
  background:
    radial-gradient(ellipse 50% 15% at 50% 10%, rgba(26,188,156,0.10) 0%, transparent 60%);
}

body.theme-misty .misty-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 44px; font-weight: 700;
  text-align: center; color: var(--misty-fg);
  letter-spacing: 4px;
  margin-bottom: 8px;
  line-height: 1.2;
  position: relative;
}
/* 标题下方"水墨"装饰线：中间一道实线 + 左右两段渐隐短线 */
body.theme-misty .misty-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 1px;
  margin: 20px auto 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(26,188,156,0.4) 20%,
    rgba(26,188,156,0.8) 50%,
    rgba(26,188,156,0.4) 80%,
    transparent 100%);
}
body.theme-misty .misty-title small {
  display: block;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 16px; font-weight: 400;
  color: var(--misty-accent);
  margin-top: 12px;
  letter-spacing: 1px;
}
body.theme-misty .misty-title span {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 18px; font-weight: 400;
  color: var(--misty-accent);
  margin-top: 8px;
  letter-spacing: 3px;
}
body.theme-misty .misty-subtitle {
  text-align: center;
  font-size: 16px; color: var(--misty-accent);
  letter-spacing: 1px;
  margin-bottom: 50px;
}

/* 加入我们卡片（玻璃深色 + 青绿左边框 + 青绿 glow 阴影） */
body.theme-misty .misty-join-card {
  background: var(--misty-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--misty-border-soft);
  border-left: 4px solid var(--misty-accent);
  border-radius: var(--misty-radius);
  padding: 24px 30px;
  margin-bottom: 16px;
  display: flex; gap: 22px; align-items: flex-start;
  box-shadow: 0 4px 18px var(--misty-glow);
  transition: all var(--misty-ease);
}
body.theme-misty .misty-join-card:hover {
  transform: translateX(4px);
  border-color: var(--misty-accent);
  box-shadow: 0 6px 24px rgba(26,188,156,0.3);
}
body.theme-misty .misty-join-icon {
  flex-shrink: 0;
  width: 80px; height: 80px;
  background: rgba(26,188,156,0.1);
  border: 1px solid var(--misty-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700;
  color: var(--misty-accent);
  font-family: "Noto Serif SC", "Songti SC", serif;
  box-shadow: inset 0 0 16px rgba(26,188,156,0.1);
}
body.theme-misty .misty-join-body { flex: 1; }
body.theme-misty .misty-join-body h3 {
  font-size: 18px; font-weight: 700;
  color: var(--misty-accent);
  margin-bottom: 10px;
  letter-spacing: 1px;
}
body.theme-misty .misty-join-body p {
  font-size: 14px; line-height: 1.85;
  color: var(--misty-fg-dim);
  margin-bottom: 6px;
}
body.theme-misty .misty-join-body a { color: var(--misty-accent); text-decoration: underline; }
body.theme-misty .misty-join-body strong { color: var(--misty-accent); }

/* 电子证书（深色玻璃外框 + 强光阴影 + 青绿光晕） */
body.theme-misty .misty-cert {
  max-width: 540px;
  margin: 30px auto 0;
  background: var(--misty-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px;
  border-radius: var(--misty-radius);
  border: 1px solid var(--misty-border);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 0 40px var(--misty-glow),
    inset 0 0 20px rgba(26,188,156,0.08);
  position: relative;
}
/* 证书卡片四角加青绿"云纹"角标（呼应证书的正式感） */
body.theme-misty .misty-cert::before,
body.theme-misty .misty-cert::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  border: 1.5px solid rgba(26,188,156,0.5);
  pointer-events: none;
}
body.theme-misty .misty-cert::before {
  top: 6px; left: 6px;
  border-right: 0; border-bottom: 0;
}
body.theme-misty .misty-cert::after {
  bottom: 6px; right: 6px;
  border-left: 0; border-top: 0;
}
body.theme-misty .misty-cert img { width: 100%; display: block; border-radius: 4px; }

/* 会员名单（深色玻璃块） */
body.theme-misty .misty-members {
  background: rgba(10,14,39,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--misty-border);
  padding: 40px 36px;
  border-radius: var(--misty-radius);
  color: var(--misty-fg);
  margin-top: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
body.theme-misty .misty-members h3 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 20px; font-weight: 700;
  color: var(--misty-accent);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--misty-border);
  letter-spacing: 2px;
}
body.theme-misty .misty-members p {
  font-size: 14px; line-height: 2.2;
  color: var(--misty-fg-dim);
  letter-spacing: 1px;
  word-break: break-word;
}

/* 联系方式（透明，让 body 光晕贯通；仅用细描边分段） */
body.theme-misty .misty-contact-section {
  padding: 80px 0;
  background: transparent;
  border-top: 1px solid var(--misty-border);
  border-bottom: 1px solid var(--misty-border);
}
body.theme-misty .misty-contact-content {
  text-align: center;
}
body.theme-misty .misty-contact-content .misty-title { color: var(--misty-accent); }
body.theme-misty .misty-contact-content .misty-title span { color: var(--misty-accent-2); }
body.theme-misty .misty-wechat-icon {
  width: 140px; height: 140px;
  margin: 30px auto 20px;
  display: block;
  border-radius: 50%;
  box-shadow:
    0 0 30px var(--misty-glow),
    0 0 0 1px rgba(26,188,156,0.3),
    0 0 0 8px rgba(26,188,156,0.05);
  background: rgba(26,188,156,0.08);
  padding: 20px;
  object-fit: contain;
}
body.theme-misty .misty-wechat-label {
  font-size: 16px; color: var(--misty-fg-dim);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
body.theme-misty .misty-wechat-id {
  font-size: 36px; font-weight: 700;
  color: var(--misty-accent);
  letter-spacing: 6px;
  cursor: pointer;
  font-family: "Roboto Condensed", "Noto Sans SC", sans-serif;
  text-shadow: 0 0 18px rgba(26,188,156,0.3);
  transition: color var(--misty-ease);
}
body.theme-misty .misty-wechat-id:hover { color: var(--misty-accent-2); }

/* Misty Footer（深色玻璃） */
body.theme-misty .misty-footer {
  background: rgba(10,14,39,0.7);
  border-top: 1px solid var(--misty-border);
  padding: 40px 0;
  text-align: center;
  color: var(--misty-fg-dim);
  font-size: 14px;
}
body.theme-misty .misty-footer .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
body.theme-misty .misty-footer p { margin: 4px 0; text-align: center; }
body.theme-misty .misty-footer p:first-child { color: var(--misty-accent); font-weight: 700; font-size: 15px; letter-spacing: 2px; }

/* 返回按钮（misty 用青绿边框） */
body.theme-misty .back-to-sts {
  display: inline-flex;
  color: var(--misty-accent);
  border-color: var(--misty-accent);
}
body.theme-misty .back-to-sts:hover {
  background: var(--misty-accent);
  color: #05071a;
}

/* 回到顶部 */
body.theme-misty .back-top {
  background: var(--misty-accent) !important;
  color: #05071a !important;
  box-shadow: 0 6px 20px var(--misty-glow) !important;
  transition: all var(--misty-ease) !important;
}
body.theme-misty .back-top:hover { background: var(--misty-accent-2) !important; transform: translateY(-2px); }

/* 入场动画 */
body.theme-misty .misty-join-card,
body.theme-misty .misty-members,
body.theme-misty .misty-cert {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow var(--misty-ease), border-color var(--misty-ease);
}
body.theme-misty .misty-join-card.visible,
body.theme-misty .misty-members.visible,
body.theme-misty .misty-cert.visible {
  opacity: 1; transform: translateY(0);
}

/* 响应式 */
@media (max-width: 768px) {
  body.theme-misty .misty-nav__menu { display: none; }
  body.theme-misty .misty-nav__inner { gap: 12px; padding: 12px 20px; }
  body.theme-misty .misty-hero h1 { font-size: 48px; letter-spacing: 2px; }
  body.theme-misty .misty-hero h1 .cn { font-size: 28px; letter-spacing: 4px; }
  body.theme-misty .misty-en { font-size: 20px; letter-spacing: 2px; }
  body.theme-misty .misty-meta { font-size: 14px; }
  body.theme-misty .misty-title { font-size: 28px; letter-spacing: 2px; }
  body.theme-misty .misty-title small { font-size: 14px; }
  body.theme-misty .misty-join-card { flex-direction: column; align-items: center; text-align: center; }
  body.theme-misty .misty-section { padding: 60px 0; }
  body.theme-misty .misty-members p { font-size: 13px; }
  body.theme-misty .misty-members { padding: 24px 20px; }
  body.theme-misty .misty-wechat-id { font-size: 24px; }
}

/* ============================================================
   统一顶栏（js/topbar 注入）在主题页的样式保护
   ------------------------------------------------------------
   主题全局重置（body.theme-* * / a / a:hover）已用
   :not(:where(.topbar, .topbar *)) 排除顶栏子树（:where 零特异性增量，
   不影响主题自身级联），使 topbar css 的规则正常生效。
   原此处的 box-sizing / 字体钉回块已删除：
   topbar css 已自包含 border-box 盒模型与主站基线字体栈。
   ============================================================ */
