/* ============================================================
   Moonland · 月兰德 · Design System  v4
   "Holographic Command Interface"  ·  科幻/科技感
   ============================================================ */

/* ---------- 1. Design Tokens --------------------------------- */
:root {
  /* —— Surface · 深空表层 —— */
  --void:        #02050d;
  --space:       #050a1c;
  --space-2:     #0a1432;
  --space-3:     #0f1c44;
  --panel:       rgba(8, 18, 44, 0.72);
  --panel-soft:  rgba(8, 18, 44, 0.45);
  --panel-deep:  rgba(2, 5, 13, 0.85);

  /* —— Lines · 全息线条 —— */
  --line:        rgba(0, 229, 255, 0.22);
  --line-soft:   rgba(0, 229, 255, 0.08);
  --line-strong: rgba(0, 229, 255, 0.5);
  --line-magenta:rgba(176, 107, 255, 0.4);

  /* —— Brand Colors · 品牌色 —— */
  --cyan:        #00e5ff;     /* 主色 · 全息青 */
  --cyan-2:      #5cf2ff;     /* 亮青 · 高亮 */
  --cyan-dim:    #0099b8;     /* 暗青 · 弱化 */
  --cyan-deep:   #003e4d;     /* 极暗青 · 底色 */
  --magenta:     #ff3df0;     /* 强调 · 全息品红 */
  --violet:      #9a6bff;     /* 副强调 · 紫罗兰 */
  --amber:       #ffb547;     /* 重要 · 月光金 */
  --amber-dim:   #b07a26;
  --gold:        #d4af37;
  --green:       #4dffb8;     /* 在线/成功 */
  --red:         #ff5470;     /* 警示 */
  --blue:        #4a7cff;

  /* —— Type Colors · 文字 —— */
  --silver:      #e8f0ff;
  --moon:        #f5f1e4;
  --text:        #c8d4f0;
  --text-soft:   #8895b8;
  --text-dim:    #5b6884;
  --text-faint:  #3a4564;

  /* —— Shadows & Glows · 投影与光晕 —— */
  --shadow:        0 24px 60px rgba(0, 8, 24, 0.6);
  --shadow-soft:   0 8px 24px rgba(0, 8, 24, 0.4);
  --shadow-glow:   0 0 24px rgba(0, 229, 255, 0.22);
  --shadow-glow-l: 0 0 48px rgba(0, 229, 255, 0.35);
  --shadow-magenta:0 0 28px rgba(255, 61, 240, 0.35);
  --shadow-amber:  0 0 28px rgba(255, 181, 71, 0.4);

  /* —— Radii & Geometry · 几何 —— */
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;
  --bevel:     14px;   /* HUD 角标尺寸 */

  /* —— Type —— */
  --font-ui:    'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', 'SF Mono', 'Consolas', 'Menlo', monospace;
  --font-serif: 'Noto Serif SC', 'Source Han Serif SC', serif;
  --font-disp:  'Orbitron', 'Inter', 'PingFang SC', sans-serif;  /* 全息显示字 */

  /* —— Motion · 动效 —— */
  --ease:       cubic-bezier(.2, .7, .2, 1);
  --ease-out:   cubic-bezier(.16, 1, .3, 1);
  --t-fast:     160ms;
  --t-med:      280ms;
  --t-slow:     520ms;

  /* —— Gradients · 渐变 —— */
  --grad-holo:    linear-gradient(135deg, #00e5ff 0%, #5cf2ff 25%, #9a6bff 60%, #ff3df0 100%);
  --grad-holo-2:  linear-gradient(120deg, #00e5ff 0%, #5cf2ff 50%, #9a6bff 100%);
  --grad-moon:    linear-gradient(135deg, #f5f1e4 0%, #e8f0ff 50%, #c8d4f0 100%);
  --grad-panel:   linear-gradient(180deg, rgba(0, 229, 255, 0.04) 0%, rgba(0, 229, 255, 0) 60%);
  --grad-edge:    linear-gradient(90deg, transparent, var(--cyan), transparent);
}

/* ---------- 2. Reset & Base ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0; padding: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.7;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* ============================================================
   3. Background System · 背景层
   · 6-layer parallax: void · nebula · grid · starfield · scanline · horizon
   ============================================================ */

body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; }

/* L0 · deep void + horizon glow + aurora */
body::before {
  z-index: -5;
  background:
    /* 月平线光晕 */
    radial-gradient(1400px 600px at 50% 110%, rgba(126, 200, 255, 0.10) 0%, transparent 60%),
    /* 北极光 */
    radial-gradient(900px 500px at 12% -10%, rgba(154, 107, 255, 0.14) 0%, transparent 60%),
    radial-gradient(900px 500px at 88% 5%, rgba(0, 229, 255, 0.16) 0%, transparent 60%),
    radial-gradient(700px 500px at 50% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 70%),
    /* base */
    linear-gradient(180deg, #000308 0%, #02050d 40%, #050a1c 100%);
}

/* L1 · starfield + nebula clouds */
body::after {
  z-index: -4;
  background:
    /* 远景小星 */
    radial-gradient(1px 1px at  8% 12%, rgba(255,255,255,0.95), transparent 60%),
    radial-gradient(1px 1px at 19% 47%, rgba(255,255,255,0.5),  transparent 60%),
    radial-gradient(1.5px 1.5px at 31% 23%, rgba(255,255,255,0.8), transparent 60%),
    radial-gradient(1px 1px at 42% 78%, rgba(255,255,255,0.6),  transparent 60%),
    radial-gradient(1px 1px at 53%  9%, rgba(255,255,255,0.7),  transparent 60%),
    radial-gradient(1.5px 1.5px at 67% 53%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 73% 33%, rgba(255,255,255,0.5),  transparent 60%),
    radial-gradient(1px 1px at 84% 71%, rgba(255,255,255,0.7),  transparent 60%),
    radial-gradient(1px 1px at 91% 19%, rgba(255,255,255,0.5),  transparent 60%),
    radial-gradient(1px 1px at  4% 81%, rgba(255,255,255,0.4),  transparent 60%),
    radial-gradient(1px 1px at 27% 89%, rgba(255,255,255,0.6),  transparent 60%),
    radial-gradient(1px 1px at 64% 86%, rgba(255,255,255,0.4),  transparent 60%),
    /* 大颗亮星（青/品红） */
    radial-gradient(2.2px 2.2px at 14% 28%, rgba(255,255,255,0.95), transparent 60%),
    radial-gradient(2px 2px at 36% 64%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(2.5px 2.5px at 58% 18%, rgba(0,229,255,0.95), transparent 60%),
    radial-gradient(2px 2px at 79% 49%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(2px 2px at 92% 81%, rgba(0,229,255,0.75), transparent 60%),
    radial-gradient(2.5px 2.5px at  6% 92%, rgba(255,181,71,0.85), transparent 60%),
    radial-gradient(2px 2px at 47% 38%, rgba(154,107,255,0.7), transparent 60%),
    /* 远景星云 */
    radial-gradient(1100px 600px at 78% -8%,  rgba(0,229,255,0.10),  transparent 60%),
    radial-gradient(900px 500px at 12% 105%, rgba(154,107,255,0.10), transparent 60%),
    radial-gradient(600px 400px at 50% 50%, rgba(255, 61, 240, 0.04), transparent 70%);
  animation: drift 320s linear infinite;
  filter: blur(0.2px);
}
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-160px, -120px, 0); } }

/* L2 · blueprint hex grid (radial mask) */
.grid-overlay {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    /* 六边形 hint（实际为斜线）+ 主网格 */
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    /* 副网格（更密） */
    linear-gradient(rgba(0, 229, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 85%);
          mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 85%);
  opacity: 0.85;
}

/* L3 · scanline + grain (very subtle CRT feel) */
.vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 229, 255, 0.012) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 35%, rgba(0, 3, 8, 0.55) 100%);
  mix-blend-mode: screen;
}

/* L4 · floating particles layer (optional — opt-in via .particles) */
.particles {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
}
.particles i {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan);
  opacity: 0.6;
  animation: float 14s linear infinite;
}
@keyframes float {
  0%   { transform: translateY(110vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.8; }
  100% { transform: translateY(-10vh) translateX(40px); opacity: 0; }
}

/* ============================================================
   4. Typography · 字体
   ============================================================ */

h1, h2, h3, h4, h5 {
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--silver);
  margin: 0 0 0.6em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; color: var(--silver); }
h4 { font-size: 0.95rem; }
p  { margin: 0 0 1em; color: var(--text-soft); }
a  { color: var(--cyan); text-decoration: none; transition: color var(--t-fast) var(--ease), text-shadow var(--t-fast) var(--ease); }
a:hover { color: var(--cyan-2); text-shadow: 0 0 14px rgba(0, 229, 255, 0.7); }

.mono { font-family: var(--font-mono); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.serif { font-family: var(--font-serif); font-weight: 600; }
.disp  { font-family: var(--font-disp); letter-spacing: 0.06em; }

/* 全息标题渐变 */
.glow {
  background: var(--grad-holo-2);
  background-size: 200% 200%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: grad-shift 8s ease-in-out infinite;
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.25));
}
@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* 技术前缀小标 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0 4px 18px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 12px; height: 1px; background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  transform: translateY(-50%);
}
.eyebrow::after {
  content: ""; position: relative; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
  margin-left: 6px;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.6); } }

/* 二级装饰标签 · 角括号式 */
.bracketed {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.bracketed::before { content: "[ "; color: var(--cyan); opacity: 0.6; }
.bracketed::after  { content: " ]"; color: var(--cyan); opacity: 0.6; }

/* ============================================================
   5. Layout · 布局
   ============================================================ */

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
section { padding: 88px 0; position: relative; }
section + section { border-top: 1px solid var(--line-soft); }

.band {
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.06), rgba(154, 107, 255, 0.04)),
    linear-gradient(180deg, rgba(0, 229, 255, 0.02), transparent);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 28px 0;
  position: relative; z-index: 1;
}
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.4;
}
.band::before { top: 0; }
.band::after  { bottom: 0; }
.band-row {
  display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between;
  font-size: 0.85rem; color: var(--text-soft); font-family: var(--font-mono);
}
.band-row strong { color: var(--cyan); font-weight: 600; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; position: relative; z-index: 1; }
.section-head p { color: var(--text-soft); font-size: 1.02rem; }
.section-head h2 {
  position: relative; display: inline-block;
  padding: 0 14px;
}
.section-head h2::before, .section-head h2::after {
  content: "▸"; color: var(--cyan); margin: 0 4px; opacity: 0.7;
  font-weight: 400;
  text-shadow: 0 0 8px var(--cyan);
}
.section-head h2::after { content: "◂"; }

/* ============================================================
   6. Top Nav · 顶导
   ============================================================ */

.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: linear-gradient(180deg, rgba(2, 5, 13, 0.92) 0%, rgba(2, 5, 13, 0.5) 100%);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.topnav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: 0.7;
}
.topnav::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
  opacity: 0.3;
}
.topnav .brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--silver);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  font-family: var(--font-mono);
}
.topnav .brand .seal {
  width: 32px; height: 32px;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #c8d4f0 40%, #5b6884 80%, #1a2540 100%);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.5), inset -4px -4px 8px rgba(0, 3, 8, 0.4);
  flex-shrink: 0;
  animation: seal-spin 60s linear infinite;
}
.topnav .brand .seal::after {
  content: ""; position: absolute;
  width: 18px; height: 18px;
  background: #060d22;
  border-radius: 50%;
  top: 1px; right: 1px;
  box-shadow: inset -3px -3px 4px rgba(0, 0, 0, 0.6);
}
@keyframes seal-spin { to { transform: rotate(360deg); } }

.topnav nav { display: flex; gap: 28px; align-items: center; }
.topnav nav a {
  color: var(--text-soft);
  font-size: 0.86rem;
  position: relative;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  padding: 4px 0;
}
.topnav nav a::before {
  content: "/"; color: var(--cyan-dim); margin-right: 4px; opacity: 0.6;
}
.topnav nav a:hover, .topnav nav a.active {
  color: var(--cyan-2);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}
.topnav nav a.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.topnav nav a.active::before { color: var(--cyan); opacity: 1; }

.topnav .cta {
  padding: 8px 18px;
  background: transparent;
  color: var(--cyan) !important;
  border: 1px solid var(--cyan);
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.topnav .cta::before { content: "/"; color: var(--cyan-dim); margin-right: 4px; opacity: 0; transition: opacity .2s; }
.topnav .cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.topnav .cta:hover {
  color: var(--void) !important;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.65);
}
.topnav .cta:hover::after { transform: translateX(100%); }

/* status indicator in nav (live system status) */
.nav-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; color: var(--green);
  padding: 4px 8px;
  border: 1px solid rgba(77, 255, 184, 0.4);
  background: rgba(77, 255, 184, 0.05);
}
.nav-status::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.4s ease-in-out infinite;
}

/* ============================================================
   7. Hero · 首屏
   ============================================================ */

.hero {
  min-height: 92vh;
  display: flex; align-items: center;
  padding-top: 130px; padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after { display: none; }

.hero .scan-line {
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: 0.55;
  animation: scan 6s linear infinite;
  z-index: 1;
  filter: blur(0.5px);
}
@keyframes scan { 0% { top: 0%; opacity: 0; } 10% { opacity: 0.7; } 90% { opacity: 0.7; } 100% { top: 100%; opacity: 0; } }

.orbital-svg {
  position: absolute;
  top: 50%; right: -180px;
  width: 720px; height: 720px;
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
  filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.2));
}
@media (max-width: 1100px) { .orbital-svg { width: 520px; height: 520px; right: -240px; opacity: 0.4; } }
@media (max-width: 900px)  { .orbital-svg { display: none; } }

.moon-orbit { transform-origin: 300px 300px; animation: revolve 32s linear infinite; }
@keyframes revolve { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { color: var(--silver); margin-top: 0; }
.hero h1 .glow {
  background: linear-gradient(120deg, var(--moon) 0%, var(--cyan) 50%, var(--violet) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: grad-shift 8s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.4));
}
.hero p.lead { font-size: 1.08rem; color: var(--text-soft); max-width: 560px; margin-bottom: 1.2rem; }
.hero p.lead strong { color: var(--silver); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* hero side decorative HUD frame around the telemetry */
.hero-side { position: relative; }
.hero-side::before {
  content: ""; position: absolute; inset: -16px;
  border: 1px dashed rgba(0, 229, 255, 0.12);
  pointer-events: none;
  z-index: 0;
}
.hero-side::after {
  content: ""; position: absolute; top: -28px; right: -16px;
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.2em; color: var(--text-dim);
  content: "FIG.01 / TELEMETRY ▸";
  z-index: 0;
}

/* hero info pills row (live coordinates) */
.hero-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 28px;
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.16em; color: var(--text-dim);
  text-transform: uppercase;
}
.hero-meta span b { color: var(--cyan); margin-left: 6px; font-weight: 500; }

/* ============================================================
   8. HUD Panels · 通用面板
   ============================================================ */

/* —— Telemetry —— */
.telemetry {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(14px);
  font-family: var(--font-mono);
  position: relative;
  box-shadow: var(--shadow-glow);
  z-index: 1;
}
.telemetry::before, .telemetry::after {
  content: ""; position: absolute; width: var(--bevel); height: var(--bevel);
  border: 1.5px solid var(--cyan);
}
.telemetry::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.telemetry::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.telemetry .head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.7rem; letter-spacing: 0.22em;
  color: var(--cyan); text-transform: uppercase;
}
.telemetry .head .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green);
}
.telemetry .head .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.2s ease-in-out infinite;
}

.t-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.82rem;
}
.t-row:last-child { border-bottom: none; }
.t-row .l { color: var(--text-dim); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; }
.t-row .v { color: var(--silver); font-weight: 600; font-size: 0.92rem; }
.t-row .v.big { font-size: 1.4rem; color: var(--cyan); text-shadow: 0 0 12px rgba(0, 229, 255, 0.4); }
.t-row .v.amber { color: var(--amber); }
.t-row .v.green { color: var(--green); }
.t-row .v.red   { color: var(--red); }

/* —— Side card —— */
.side-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
  position: relative;
}
.side-label {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--cyan); margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.side-label::before {
  content: "▸"; color: var(--cyan); text-shadow: 0 0 6px var(--cyan);
}

/* —— UTC clock —— */
.utc-clock {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.5);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.utc-clock .ms { font-size: 0.9rem; color: var(--cyan-dim); }
.utc-label {
  font-size: 0.66rem; letter-spacing: 0.24em; color: var(--text-dim);
  text-transform: uppercase; margin-bottom: 4px;
  font-family: var(--font-mono);
}

/* ============================================================
   9. Buttons · 按钮
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  font-size: 0.9rem;
  border-radius: 2px;
  border: 1px solid var(--line);
  color: var(--silver);
  background: rgba(0, 229, 255, 0.02);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  text-decoration: none;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn::before {
  content: "▸"; color: var(--cyan); margin-right: 2px;
  transition: transform var(--t-fast) var(--ease);
}
.btn:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
  color: var(--cyan-2);
}
.btn:hover::before { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }

.btn.primary {
  background: linear-gradient(180deg, var(--cyan) 0%, var(--cyan-dim) 100%);
  color: var(--void) !important;
  border-color: var(--cyan);
  font-weight: 700;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn.primary::before { color: var(--void); }
.btn.primary:hover {
  background: linear-gradient(180deg, var(--cyan-2) 0%, var(--cyan) 100%);
  border-color: var(--cyan-2);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.7), 0 0 8px rgba(255, 255, 255, 0.5);
  color: var(--void) !important;
  transform: translateY(-1px);
}
.btn.ghost { background: transparent; }
.btn.amber { border-color: var(--amber); color: var(--amber); }
.btn.amber::before { color: var(--amber); }
.btn.amber:hover { background: var(--amber); color: var(--void) !important; box-shadow: var(--shadow-amber); }
.btn.amber:hover::before { color: var(--void); }
.btn.small { padding: 6px 14px; font-size: 0.74rem; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* small icon button (square) */
.btn-icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cyan);
  font-family: var(--font-mono);
  transition: all var(--t-fast) var(--ease);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.btn-icon:hover { background: rgba(0, 229, 255, 0.1); box-shadow: 0 0 12px rgba(0, 229, 255, 0.3); }

/* ============================================================
   10. Cards · 卡片 (with HUD corners)
   ============================================================ */

.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
/* 顶边光带（hover 时扫过） */
.card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.5;
}
/* HUD 角标（默认不可见，hover 显形） */
.card::before {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color var(--t-med) var(--ease);
  /* 角标效果 */
}
.card > .hud-corners, .hud-corners {
  position: absolute; inset: -1px;
  pointer-events: none;
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.hud-corners::before, .hud-corners::after,
.hud-corners > i:nth-child(1), .hud-corners > i:nth-child(2) {
  content: ""; position: absolute; width: var(--bevel); height: var(--bevel);
  border: 1.5px solid var(--cyan);
}
.hud-corners::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hud-corners::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.hud-corners > i:nth-child(1) { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.hud-corners > i:nth-child(2) { bottom: -1px; left: -1px; border-right: none; border-top: none; }

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.18), 0 12px 24px rgba(0, 8, 24, 0.4);
}
.card:hover .hud-corners { opacity: 1; }
.card:hover::after { background: linear-gradient(90deg, transparent, var(--cyan-2), var(--violet), transparent); height: 2px; }

.card .ic {
  width: 44px; height: 44px;
  border-radius: 2px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  box-shadow: inset 0 0 14px rgba(0, 229, 255, 0.18), 0 0 12px rgba(0, 229, 255, 0.15);
  position: relative;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.card h3 { margin-bottom: 10px; color: var(--silver); }
.card p  { color: var(--text-soft); line-height: 1.65; }
.card.link { cursor: pointer; display: block; color: inherit; }
.card.link .arrow {
  color: var(--cyan); font-size: 0.8rem; margin-top: 14px;
  font-weight: 600; font-family: var(--font-mono); letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--t-fast) var(--ease);
}
.card.link:hover .arrow { gap: 12px; }

/* card meta tag (top-right small badge) */
.card-tag {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.18em; color: var(--text-dim);
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1px solid var(--line);
}
.card-tag.live { color: var(--green); border-color: rgba(77, 255, 184, 0.4); }
.card-tag.live::before {
  content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); margin-right: 4px; box-shadow: 0 0 6px var(--green);
  animation: pulse 1.4s ease-in-out infinite;
}

/* card code/id (bottom-left small monospace) */
.card-id {
  position: absolute; bottom: 8px; left: 14px;
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.14em; color: var(--text-faint);
  text-transform: uppercase;
}

/* ============================================================
   11. Forms · 表单
   ============================================================ */

.form {
  max-width: 720px; margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(14px);
  position: relative;
}
.form::before, .form::after {
  content: ""; position: absolute; width: 18px; height: 18px;
  border: 1.5px solid var(--cyan);
}
.form::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.form::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.field { margin-bottom: 20px; }
.field label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 10px;
  font-weight: 600;
}
.field label::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  flex-shrink: 0;
}
.field label .req {
  margin-left: auto; color: var(--amber);
  font-size: 0.62rem; letter-spacing: 0.14em;
}
.field label .req::before { content: "* "; }
.field input, .field select, .field textarea {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.04), rgba(0, 229, 255, 0.01)),
    rgba(8, 18, 44, 0.85);
  border: 1.5px solid rgba(0, 229, 255, 0.32);
  color: #f0f6ff;
  padding: 14px 16px;
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  position: relative;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.field input::placeholder, .field textarea::placeholder {
  color: rgba(200, 212, 240, 0.38);
  font-weight: 400;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan-2);
  box-shadow:
    0 0 0 1px var(--cyan-2),
    0 0 24px rgba(0, 229, 255, 0.45),
    inset 0 0 16px rgba(0, 229, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.10), rgba(0, 229, 255, 0.02)),
    rgba(8, 18, 44, 0.9);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(180deg, rgba(0, 229, 255, 0.04), rgba(0, 229, 255, 0.01)),
    rgba(8, 18, 44, 0.85),
    linear-gradient(45deg, transparent 50%, var(--cyan) 50%);
  background-position: 0 0, 0 0, calc(100% - 14px) 50%;
  background-size: 100% 100%, 100% 100%, 8px 8px;
  background-repeat: no-repeat, no-repeat, no-repeat;
  padding-right: 36px;
  cursor: pointer;
}
.field select option { background: #0a1432; color: var(--silver); }
.field select:focus { background-image: linear-gradient(180deg, rgba(0, 229, 255, 0.10), rgba(0, 229, 255, 0.02)), rgba(8, 18, 44, 0.9), linear-gradient(45deg, transparent 50%, var(--cyan-2) 50%); }

.field input:hover:not(:focus):not([disabled]),
.field select:hover:not(:focus):not([disabled]) {
  border-color: rgba(0, 229, 255, 0.55);
}

.field .hint { font-size: 0.78rem; color: var(--text-soft); margin-top: 8px; font-family: var(--font-mono); line-height: 1.5; }
.field .hint::before { content: "▸ "; color: var(--cyan); opacity: 0.7; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.form .submit-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px; flex-wrap: wrap; gap: 16px;
}
.form .pledge {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 0.9rem; color: var(--text); line-height: 1.7;
  padding: 18px 20px;
  background: rgba(255, 181, 71, 0.04);
  border: 1px dashed rgba(255, 181, 71, 0.35);
  border-radius: var(--radius);
}
.form .pledge input {
  width: 18px; height: 18px; margin-top: 3px;
  accent-color: var(--amber);
  flex-shrink: 0;
}
.form .pledge a { color: var(--gold); }

/* —— Form section dividers —— */
.form-section { margin: 32px 0 24px; }
.form-section-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form-section-head::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.form-section-head .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-weight: 700;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
.form-section-head .t { color: var(--cyan); font-weight: 600; }

/* ============================================================
   12. MCI preview · 身份证号预览
   ============================================================ */
.mci-preview {
  margin: 18px 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.06), rgba(0, 229, 255, 0.02)),
    linear-gradient(90deg, rgba(154, 107, 255, 0.04), transparent);
  font-family: var(--font-mono);
  position: relative;
}
.mci-preview-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px; gap: 12px; flex-wrap: wrap;
}
.mci-preview-eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mci-preview-hint {
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.mci-preview-body {
  display: flex; align-items: stretch; gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.mci-seg {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 14px;
  min-width: 64px;
  background: rgba(2, 5, 13, 0.6);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all var(--t-med) var(--ease);
}
.mci-seg b {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: 0.16em;
  font-weight: 600;
}
.mci-seg i {
  font-style: normal;
  color: var(--text-dim);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 4px;
  font-family: var(--font-ui);
}
.mci-seg.ready {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.2);
}
.mci-seg.ready b { color: var(--cyan); text-shadow: 0 0 8px rgba(0, 229, 255, 0.4); }
.mci-sep {
  color: var(--text-dim);
  font-size: 1rem;
  align-self: center;
  opacity: 0.6;
}
.mci-preview-foot {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-soft);
  padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
}
.mci-preview-foot b { color: var(--cyan); font-weight: 500; }

/* ---------- Tier cards ---------- */
.tier-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 720px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-grid.pay-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 720px) { .tier-grid.pay-grid { grid-template-columns: 1fr; } }
.tier-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all var(--t-med) var(--ease);
  position: relative;
  background: rgba(2, 5, 13, 0.5);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.tier-card::before {
  content: ""; position: absolute; top: 8px; right: 8px;
  width: 6px; height: 6px;
  background: var(--text-faint);
  border-radius: 50%;
  transition: background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.tier-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.tier-card.sel {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 24px rgba(0, 229, 255, 0.3);
}
.tier-card.sel::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.tier-card .t-name { font-weight: 700; color: var(--silver); margin-bottom: 4px; font-size: 0.95rem; }
.tier-card .t-fee  { font-size: 0.85rem; color: var(--cyan); margin-bottom: 8px; font-weight: 600; font-family: var(--font-mono); }
.tier-card .t-desc { font-size: 0.8rem; color: var(--text-soft); line-height: 1.5; }
.tier-card .t-recommend {
  position: absolute; top: -10px; right: 16px;
  background: var(--amber); color: var(--void);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 3px 10px;
  font-family: var(--font-mono);
  box-shadow: 0 0 12px rgba(255, 181, 71, 0.5);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

/* ============================================================
   13. Citizen Passport  v4
   ============================================================ */

.id-wrap { max-width: 920px; margin: 0 auto; position: relative; }

.pp-watermark {
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.passport {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 30% 0%, rgba(0, 229, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(154, 107, 255, 0.10) 0%, transparent 60%),
    linear-gradient(135deg, #0a1638 0%, #050a1c 40%, #02040c 100%);
  border: 1px solid var(--cyan);
  padding: 5px;
  overflow: hidden;
  color: var(--silver);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 229, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.passport::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg,  transparent 0 3px, rgba(0, 229, 255, 0.05) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(0, 229, 255, 0.05) 3px 4px);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.7;
}
.passport::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: linear-gradient(225deg, rgba(255, 181, 71, 0.2), transparent 60%);
  pointer-events: none;
}

/* 国旗色条 */
.pp-strip {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 8px;
  background: linear-gradient(180deg,
    var(--cyan) 0% 33%,
    var(--void) 33% 66%,
    var(--moon) 66% 100%);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.pp-inner {
  position: relative; height: 100%;
  padding: 18px 24px 18px 28px;
  display: flex; flex-direction: column;
}

/* ---------- Header ---------- */
.pp-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.pp-emblem {
  width: 56px; height: 56px;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.55));
}
.pp-emblem svg { width: 100%; height: 100%; }
.pp-head-text { line-height: 1.2; }
.pp-country {
  font-size: 0.96rem; font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.18em;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}
.pp-doctype {
  font-size: 0.66rem;
  color: var(--silver);
  letter-spacing: 0.2em;
  margin-top: 3px;
  opacity: 0.9;
}
.pp-iso {
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  margin-top: 4px;
}

.pp-head-badge { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pp-hologram {
  width: 44px; height: 44px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.pp-hologram .ho-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  box-shadow:
    0 0 12px rgba(0, 229, 255, 0.6),
    inset 0 0 8px rgba(0, 229, 255, 0.4);
  animation: ho-spin 8s linear infinite;
}
.pp-hologram .ho-ring-2 {
  inset: 5px;
  border-color: rgba(255, 181, 71, 0.5);
  border-style: dashed;
  animation: ho-spin 12s linear infinite reverse;
}
.pp-hologram .ho-core {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 700;
  text-shadow: 0 0 8px var(--cyan);
  z-index: 1;
}
@keyframes ho-spin { to { transform: rotate(360deg); } }

.pp-status {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--green);
  font-weight: 700;
  display: flex; align-items: center; gap: 5px;
}
.pp-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.5s ease-in-out infinite;
}

/* ---------- Body ---------- */
.pp-body {
  flex: 1;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  min-height: 0;
}
.pp-photo-block {
  display: flex; flex-direction: column;
  gap: 6px;
  align-items: center;
}
.pp-photo {
  width: 128px; height: 152px;
  border: 1.5px solid var(--cyan);
  background:
    linear-gradient(135deg, #0e1632 0%, #050a18 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 16px var(--cyan);
  font-family: var(--font-mono);
  position: relative;
  box-shadow:
    inset 0 0 24px rgba(0, 229, 255, 0.15),
    0 0 16px rgba(0, 229, 255, 0.2);
}
.pp-photo::before {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  pointer-events: none;
}
.pp-photo::after {
  content: "ML"; position: absolute;
  bottom: 4px; right: 6px;
  font-size: 0.6rem; color: var(--cyan); opacity: 0.6;
  letter-spacing: 0.1em;
}
.pp-chip {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.55rem;
  color: var(--cyan);
  letter-spacing: 0.14em;
  margin-top: 2px;
  opacity: 0.85;
}
.pp-chip svg { width: 22px; height: 18px; }

.pp-sig-block { width: 100%; display: flex; flex-direction: column; }
.pp-sig-label {
  font-size: 0.5rem; letter-spacing: 0.18em;
  color: var(--text-dim); text-transform: uppercase;
  margin-bottom: 2px;
}
.pp-sig-pad {
  width: 100%; height: 26px;
  border: 1px dashed var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); font-size: 1rem;
  background: rgba(0, 229, 255, 0.04);
}

.pp-data { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pp-field {
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line-soft);
  padding-left: 8px;
  min-width: 0;
}
.pp-field-name { border-left: 2px solid var(--cyan); padding-left: 10px; margin-bottom: 4px; }
.pp-field-name .pp-v { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pp-field-name .pp-v-cn { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.1; color: var(--silver); }
.pp-field-name .pp-v-en { font-family: var(--font-mono); font-size: 0.86rem; color: var(--cyan); letter-spacing: 0.08em; margin-left: 4px; }
.pp-k { font-size: 0.56rem; letter-spacing: 0.2em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 2px; }
.pp-v { font-size: 0.92rem; color: var(--silver); font-weight: 600; letter-spacing: 0.02em; word-break: break-word; }
.pp-v.pp-cyan { color: var(--cyan); text-shadow: 0 0 8px rgba(0, 229, 255, 0.3); }
.pp-v-mono {
  font-family: var(--font-mono);
  font-size: 1.05rem; color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}
.pp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 14px; }
.pp-grid-dates { grid-template-columns: 1.2fr 1fr 1.5fr; }
.pp-field-id .pp-v-mono { font-size: 1.1rem; }

.pp-id-breakdown {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: stretch;
  margin-top: 4px;
}
.pp-id-seg {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 12px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  min-width: 64px;
}
.pp-id-seg b { color: var(--cyan); font-size: 0.95rem; letter-spacing: 0.16em; font-weight: 600; }
.pp-id-seg i { font-style: normal; color: var(--text-dim); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 3px; font-family: var(--font-ui); }
.pp-id-dot { color: var(--text-dim); align-self: center; font-family: var(--font-mono); }

.pp-authority {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}
.pp-stamp {
  width: 70px; height: 70px;
  position: relative;
  filter: drop-shadow(0 0 6px rgba(255, 181, 71, 0.4));
}
.pp-stamp svg { width: 100%; height: 100%; }
.pp-sig-line-pad {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--silver);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  font-style: italic;
  opacity: 0.7;
  letter-spacing: 0.06em;
}

/* ---------- MRZ ---------- */
.pp-mrz {
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(0, 229, 255, 0.04);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
}
.pp-mrz-line {
  font-size: 0.82rem;
  color: var(--cyan);
  letter-spacing: 0.22em;
  line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.3);
}

/* ---------- Foot ---------- */
.pp-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.pp-hash {
  font-size: 0.62rem; letter-spacing: 0.18em;
  color: var(--text-dim); text-transform: uppercase;
  display: flex; gap: 10px; align-items: baseline;
}
.pp-hash .mono { color: var(--silver); letter-spacing: 0.16em; font-weight: 500; font-size: 0.74rem; }
.pp-qr {
  width: 52px; height: 52px;
  background:
    repeating-linear-gradient(0deg, var(--cyan) 0 3px, transparent 3px 6px),
    repeating-linear-gradient(90deg, var(--cyan) 0 3px, transparent 3px 6px);
  opacity: 0.7;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .passport { aspect-ratio: auto; min-height: auto; clip-path: none; }
  .pp-inner { padding: 14px 14px 14px 22px; }
  .pp-body { grid-template-columns: 1fr; }
  .pp-photo-block { flex-direction: row; align-items: flex-start; gap: 10px; }
  .pp-photo { width: 90px; height: 110px; font-size: 1.6rem; }
  .pp-sig-block { flex: 1; }
  .pp-grid { grid-template-columns: 1fr 1fr; }
  .pp-grid-dates { grid-template-columns: 1fr 1fr; }
  .pp-authority { grid-template-columns: 56px 1fr; }
  .pp-stamp { width: 56px; height: 56px; }
  .pp-hologram { width: 36px; height: 36px; }
  .pp-country { font-size: 0.78rem; }
  .pp-doctype { font-size: 0.58rem; }
}

/* ============================================================
   14. Article / Prose · 长文（宪章/关于）
   ============================================================ */
.meta-line {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

article h2 {
  color: var(--silver);
  font-size: 1.4rem;
  margin-top: 2em;
  padding-top: 0.6em;
  border-top: 1px solid var(--line-soft);
  position: relative;
}
article h2::before {
  content: "§"; color: var(--cyan); margin-right: 8px; opacity: 0.7;
  font-weight: 300;
}
article h2:first-of-type { border-top: none; padding-top: 0; }
article h3 {
  font-size: 1rem;
  color: var(--cyan);
  margin-top: 1.4em;
  letter-spacing: 0.06em;
}
article p, article li { color: var(--text-soft); line-height: 1.85; }
article strong { color: var(--silver); }
article blockquote {
  border-left: 2px solid var(--cyan);
  background: rgba(0, 229, 255, 0.04);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  position: relative;
}
article blockquote::before {
  content: "“"; position: absolute; top: 4px; left: 8px;
  font-size: 2.4rem; color: var(--cyan); opacity: 0.4; line-height: 1;
}
article blockquote.oath {
  border: 1px solid var(--gold);
  border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.07), rgba(212, 175, 55, 0.02));
  padding: 28px 32px;
  font-style: normal;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 2;
  color: var(--moon);
  position: relative;
}
article blockquote.oath::before {
  content: '◆';
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--void);
  color: var(--gold);
  padding: 0 10px;
  font-size: 1.2rem;
}
article blockquote.oath p { margin: 14px 0; }
article blockquote.oath p:first-child { margin-top: 0; }
article blockquote.oath strong { color: var(--gold); }
details.oath-en {
  margin: 18px 0 28px;
  padding: 14px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(0, 229, 255, 0.02);
}
details.oath-en summary {
  cursor: pointer;
  color: var(--cyan);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
details.oath-en[open] summary { margin-bottom: 14px; }
article table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}
article table th, article table td {
  text-align: left; padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
}
article table th {
  color: var(--cyan); font-weight: 600;
  font-family: var(--font-mono); letter-spacing: 0.1em;
  text-transform: uppercase; font-size: 0.74rem;
  border-bottom: 1px solid var(--cyan);
}
article ol, article ul { padding-left: 24px; }
article ol li, article ul li { margin-bottom: 8px; }
article ol li::marker { color: var(--cyan); }

/* ============================================================
   15. Forum / Threads · 议事大厅
   ============================================================ */

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
@media (max-width: 880px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer;
  transition: all var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: currentColor; opacity: 0.5; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.cat-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.cat-card:hover::after { transform: scaleX(1); }
.cat-card .ic {
  width: 44px; height: 44px;
  border: 1px solid currentColor;
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 14px;
  background: rgba(0, 229, 255, 0.04);
}
.cat-card h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--silver); }
.cat-card .en {
  font-size: 0.72rem; letter-spacing: 0.18em; color: var(--text-dim);
  text-transform: uppercase; font-family: var(--font-mono);
  margin-bottom: 10px;
}
.cat-card p { font-size: 0.86rem; color: var(--text-soft); margin-bottom: 12px; line-height: 1.55; }
.cat-card .count {
  font-size: 0.8rem; color: var(--cyan); font-weight: 600;
  font-family: var(--font-mono); letter-spacing: 0.06em;
}

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.78rem;
  cursor: pointer;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--t-fast) var(--ease);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.filter:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 229, 255, 0.05); }
.filter.active {
  background: var(--cyan);
  color: var(--void);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.thread-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 18px;
  padding: 16px 18px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  text-decoration: none;
  color: inherit;
  transition: all var(--t-med) var(--ease);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.thread-row::before {
  content: "";
  position: absolute; left: -1px; top: 0; bottom: 0;
  width: 2px; background: var(--cyan);
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-med) var(--ease);
}
.thread-row:hover {
  border-color: var(--line-strong);
  background: var(--panel);
  transform: translateX(2px);
}
.thread-row:hover::before { transform: scaleY(1); }
.thread-row .stat { text-align: center; }
.thread-row .stat .n { font-size: 1.4rem; font-weight: 700; color: var(--cyan); font-family: var(--font-mono); }
.thread-row .stat .l { font-size: 0.66rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono); }
.thread-row .body .title { font-size: 1.02rem; color: var(--silver); font-weight: 600; margin-bottom: 6px; }
.thread-row .body .meta {
  font-size: 0.78rem; color: var(--text-dim);
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-mono);
}
.thread-row .right { text-align: right; }
.thread-row .right .time { font-size: 0.74rem; color: var(--text-dim); font-family: var(--font-mono); }
.thread-row .right .pin {
  display: inline-block; padding: 2px 8px; background: var(--amber); color: var(--void);
  font-size: 0.66rem; font-weight: 700; border-radius: 2px;
  font-family: var(--font-mono); letter-spacing: 0.1em;
  margin-bottom: 4px;
  box-shadow: 0 0 10px rgba(255, 181, 71, 0.4);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.cat-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.74rem; padding: 2px 8px;
  border: 1px solid currentColor; border-radius: 2px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.3);
}
.tier {
  display: inline-block; padding: 1px 8px; border-radius: 2px;
  font-size: 0.66rem; letter-spacing: 0.12em;
  border: 1px solid currentColor;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.3);
  font-family: var(--font-mono);
}

/* thread detail */
.thread-head { padding: 24px 0; }
.thread-head .crumb {
  display: flex; gap: 10px; align-items: center; margin-bottom: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim);
}
.thread-head .crumb a { color: var(--cyan); }
.thread-head h1 { margin-bottom: 12px; }
.thread-head .meta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-size: 0.86rem; color: var(--text-soft); margin-bottom: 20px;
  font-family: var(--font-mono);
}
.thread-head .body {
  white-space: pre-wrap; color: var(--text); line-height: 1.8;
  background: var(--panel-soft); border-left: 2px solid var(--cyan);
  padding: 18px 22px; margin: 18px 0;
  font-size: 0.95rem;
  position: relative;
}
.action-bar { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.btn-vote {
  padding: 8px 14px;
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--silver);
  font-size: 0.84rem;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  transition: all var(--t-fast) var(--ease);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.btn-vote:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 10px rgba(0, 229, 255, 0.3); }
.btn-vote.support:hover { border-color: var(--green); color: var(--green); box-shadow: 0 0 10px rgba(77, 255, 184, 0.3); }
.btn-vote.oppose:hover  { border-color: var(--red);   color: var(--red);   box-shadow: 0 0 10px rgba(255, 84, 112, 0.3); }
.btn-vote.active { background: var(--cyan); color: var(--void); border-color: var(--cyan); }
.btn-vote.support.active { background: var(--green); color: var(--void); border-color: var(--green); }
.btn-vote.oppose.active  { background: var(--red);   color: var(--void); border-color: var(--red); }

.proposal {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px;
  margin: 20px 0;
  position: relative;
}
.proposal::before, .proposal::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1.5px solid var(--cyan);
}
.proposal::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.proposal::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.proposal .head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 18px; flex-wrap: wrap; gap: 8px;
}
.proposal .head h3 { color: var(--cyan); margin: 0; font-size: 0.95rem; letter-spacing: 0.1em; font-family: var(--font-mono); }
.proposal .head .code { font-size: 0.72rem; color: var(--text-dim); font-family: var(--font-mono); letter-spacing: 0.1em; }
.proposal .bar { display: flex; gap: 16px; margin-bottom: 14px; }
.proposal .pillar { flex: 1; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.proposal .pillar.support { border-color: var(--green); }
.proposal .pillar.oppose  { border-color: var(--red); }
.proposal .pillar .lab { font-size: 0.7rem; letter-spacing: 0.16em; color: var(--text-dim); font-family: var(--font-mono); margin-bottom: 6px; }
.proposal .pillar .num { font-size: 1.8rem; font-weight: 700; font-family: var(--font-mono); }
.proposal .pillar.support .num { color: var(--green); text-shadow: 0 0 12px rgba(77, 255, 184, 0.5); }
.proposal .pillar.oppose .num  { color: var(--red);   text-shadow: 0 0 12px rgba(255, 84, 112, 0.5); }
.proposal .progress { display: flex; height: 6px; background: rgba(255, 255, 255, 0.05); border-radius: 3px; overflow: hidden; margin-bottom: 12px; }
.proposal .progress .p-s { background: var(--green); box-shadow: 0 0 10px var(--green); }
.proposal .progress .p-o { background: var(--red);   box-shadow: 0 0 10px var(--red); }
.proposal .threshold { font-size: 0.84rem; color: var(--text-soft); font-family: var(--font-mono); }
.proposal .threshold .reached { color: var(--green); font-weight: 700; text-shadow: 0 0 10px rgba(77, 255, 184, 0.5); }

.replies-title { display: flex; gap: 14px; align-items: baseline; margin: 30px 0 16px; }
.replies-title h3 { margin: 0; color: var(--silver); }
.replies-title .count { font-size: 0.78rem; color: var(--cyan); font-family: var(--font-mono); letter-spacing: 0.1em; }

.reply {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  position: relative;
  transition: border-color var(--t-fast) var(--ease);
}
.reply:hover { border-color: var(--line-strong); }
.reply .avatar {
  width: 40px; height: 40px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--space-2), var(--space));
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.85rem; color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.reply .who {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-bottom: 8px; font-size: 0.84rem;
  font-family: var(--font-mono);
}
.reply .who .name { color: var(--silver); font-weight: 600; }
.reply .who .country { color: var(--text-dim); }
.reply .who .time { color: var(--text-dim); margin-left: auto; }
.reply .body { color: var(--text); white-space: pre-wrap; line-height: 1.7; }
.reply .actions { margin-top: 10px; }

.composer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 24px;
  position: relative;
}
.composer::before, .composer::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  border: 1.5px solid var(--cyan);
}
.composer::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.composer::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.composer textarea {
  background: rgba(2, 5, 13, 0.6);
  border: 1px solid var(--line);
  color: var(--silver);
  padding: 12px; border-radius: 2px; width: 100%;
  font-family: inherit; font-size: 0.95rem; resize: vertical;
}
.composer textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 12px rgba(0, 229, 255, 0.25); }

.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--text-dim);
}
.empty-state .ic {
  font-size: 2.4rem; color: var(--cyan); opacity: 0.4;
  margin-bottom: 14px;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.guard-notice {
  background: var(--panel);
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--text-soft);
  box-shadow: 0 0 20px rgba(255, 181, 71, 0.15);
  position: relative;
}
.guard-notice h3 { color: var(--amber); margin-bottom: 8px; font-size: 1.05rem; }

/* ============================================================
   16. Vision stats · 远景数据
   ============================================================ */
.vision {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0;
  position: relative;
  overflow: hidden;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.vision::before, .vision::after {
  content: ""; position: absolute; width: 18px; height: 18px;
  border: 1.5px solid var(--cyan);
}
.vision::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.vision::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.vision-stat {
  text-align: center;
  padding: 32px 20px;
  position: relative;
  border-right: 1px solid var(--line-soft);
}
.vision-stat:last-child { border-right: none; }
.vision-stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.vision-stat:hover::before { opacity: 1; }
.vision-stat .n {
  font-size: 2.2rem; font-weight: 700; color: var(--cyan);
  font-family: var(--font-mono);
  margin-bottom: 4px;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.5);
  letter-spacing: 0.04em;
}
.vision-stat-mid {
  position: relative; z-index: 1;
  font-size: 1.7rem; font-weight: 700; color: var(--silver);
  font-family: var(--font-mono);
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.5);
  letter-spacing: 0.04em;
}
.vision-stat-mid span {
  display: inline-block;
  background: linear-gradient(180deg, var(--cyan-2), var(--cyan));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.vision-stat:nth-child(2) .vision-stat-mid span { background: linear-gradient(180deg, #c5b6ff, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vision-stat:nth-child(3) .vision-stat-mid span { background: linear-gradient(180deg, #ffd791, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vision-stat:nth-child(4) .vision-stat-mid span { background: linear-gradient(180deg, #a0ffd9, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vision-stat .l {
  font-size: 0.72rem; color: var(--silver); letter-spacing: 0.16em;
  text-transform: uppercase; font-family: var(--font-mono);
  margin-bottom: 4px;
}
.vision-stat .d { font-size: 0.78rem; color: var(--text-dim); }
@media (max-width: 720px) {
  .vision { grid-template-columns: repeat(2, 1fr); }
  .vision-stat:nth-child(2n) { border-right: none; }
  .vision-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}

/* ============================================================
   17. Footer · 页脚
   ============================================================ */

footer {
  padding: 56px 0 36px;
  border-top: 1px solid var(--line);
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.04));
  position: relative; z-index: 1;
}
footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: 0.6;
}
footer .motto {
  font-family: var(--font-serif); font-size: 1.15rem;
  color: var(--silver); margin-bottom: 6px; font-weight: 600;
  letter-spacing: 0.08em;
}
footer > div:last-child {
  font-size: 0.76rem; color: var(--text-dim); letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

/* ============================================================
   18. Toast · 顶部提示
   ============================================================ */

.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--space-2), var(--space));
  border: 1px solid var(--cyan);
  border-left-width: 3px;
  color: var(--cyan);
  padding: 12px 22px;
  border-radius: 2px;
  font-size: 0.88rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.3);
  min-width: 220px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }
.toast.success { border-color: var(--green); color: var(--green); box-shadow: 0 0 24px rgba(77, 255, 184, 0.35); }
.toast.error   { border-color: var(--red);   color: var(--red);   box-shadow: 0 0 24px rgba(255, 84, 112, 0.35); }
.toast.amber   { border-color: var(--amber); color: var(--amber); box-shadow: 0 0 24px rgba(255, 181, 71, 0.35); }

/* ============================================================
   19. Animations & Motion · 动效库
   ============================================================ */

@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 16px rgba(0, 229, 255, 0.2); }
  50%     { box-shadow: 0 0 32px rgba(0, 229, 255, 0.5); }
}
.glow-pulse { animation: glow-pulse 3s ease-in-out infinite; }

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.15), transparent);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.blink { animation: blink 1.4s ease-in-out infinite; }

/* —— Page enter —— */
@keyframes page-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
body { animation: page-in 0.55s cubic-bezier(.2, .7, .2, 1) both; }

/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.34s; }
.reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity .7s, transform .7s var(--ease-out); }
.reveal-left.visible  { opacity: 1; transform: translateX(0); }
.reveal-zoom  { opacity: 0; transform: scale(.96);           transition: opacity .7s, transform .7s var(--ease-out); }
.reveal-zoom.visible  { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  body, *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* —— Counter · 数字滚动 —— */
[data-counter] { font-variant-numeric: tabular-nums; }

/* —— Skeleton loader —— */
@keyframes skeleton-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg,
    rgba(0, 229, 255, 0.04) 0%,
    rgba(0, 229, 255, 0.12) 50%,
    rgba(0, 229, 255, 0.04) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s linear infinite;
  border-radius: 4px;
  color: transparent !important;
  user-select: none;
}
.skeleton-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 18px;
  padding: 16px 18px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  align-items: center;
}
.skeleton-row .stat .n { height: 24px; width: 28px; }
.skeleton-row .stat .l { height: 10px; width: 36px; margin-top: 6px; }
.skeleton-row .body .title { height: 18px; width: 80%; margin-bottom: 10px; }
.skeleton-row .body .meta { height: 12px; width: 60%; }
.skeleton-row .right .time { height: 12px; width: 48px; }

/* —— Vote ripple —— */
@keyframes vote-ripple {
  0%   { transform: scale(1);   box-shadow: 0 0 0 0 currentColor; }
  100% { transform: scale(1.05); box-shadow: 0 0 0 14px transparent; }
}
.btn-vote.voting { animation: vote-ripple 0.55s ease-out; }
.btn-vote.support.voting { color: var(--green); }
.btn-vote.oppose.voting  { color: var(--red); }

/* —— Sparkles —— */
@keyframes sparkle-fly {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx,40px), var(--dy,40px)) scale(0.3) rotate(var(--rot,180deg)); opacity: 0; }
}
.sparkle-layer {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; overflow: hidden;
}
.sparkle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px currentColor;
  animation: sparkle-fly 1.4s cubic-bezier(.2, .6, .4, 1) forwards;
}

/* ============================================================
   20. Theming & a11y · 主题与无障碍
   ============================================================ */

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--void); border-left: 1px solid var(--line-soft); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan-dim), #1a2456);
  border-radius: 2px;
  border: 1px solid var(--line);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}
* { scrollbar-width: thin; scrollbar-color: var(--cyan-dim) var(--void); }

:focus { outline: none; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .filter:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.45);
}

/* ============================================================
   21. Responsive · 响应式
   ============================================================ */

@media (max-width: 720px) {
  .topnav { padding: 12px 16px; }
  .topnav nav { gap: 14px; }
  .topnav nav a { font-size: 0.74rem; }
  .topnav .cta { padding: 6px 12px; font-size: 0.7rem; }
  .topnav .brand { font-size: 0.78rem; }
  .topnav .brand .seal { width: 26px; height: 26px; }
  .container { padding: 0 16px; }
  section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .form { padding: 24px; }
  .hero { min-height: 80vh; padding-top: 110px; }
  .btn { padding: 9px 16px; font-size: 0.82rem; }
  .card { padding: 18px; }
  .cat-grid { grid-template-columns: 1fr; }
  .filters { gap: 6px; }
  .filter { font-size: 0.7rem; padding: 5px 10px; }
  .thread-row { grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 14px; }
  .thread-row .right { display: none; }
  .thread-row .stat .n { font-size: 1.1rem; }
  .proposal { padding: 16px; }
  .proposal .bar { flex-direction: column; }
  footer { padding: 40px 0 28px; }
}

@media (max-width: 480px) {
  .topnav nav { gap: 10px; }
  .topnav nav a { font-size: 0.7rem; letter-spacing: 0; }
  .topnav nav a::before { display: none; }
  .hero h1 { font-size: 2.1rem; }
  .vision { grid-template-columns: 1fr; }
  .vision-stat { border-right: none !important; border-bottom: 1px solid var(--line-soft); }
  .vision-stat:last-child { border-bottom: none; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.18em; }
}

/* ============================================================
   22. Print · 打印
   ============================================================ */

@media print {
  .topnav, footer, .scan-line, body::before, body::after, .grid-overlay, .vignette,
  .particles, .hero-side::before, .hero-side::after, .hud-corners, .hero .scan-line { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .id-card, .passport { box-shadow: none; border: 2px solid #000; }
  a { color: #000; text-decoration: underline; }
}

/* ============================================================
   22.4 · Recruitment Manifesto · 招募令专属
   ============================================================ */

.recruit-hero {
  min-height: 88vh;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0, 229, 255, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(154, 107, 255, 0.10) 0%, transparent 60%);
}
.recruit-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.recruit-h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 28px;
  text-align: center;
  color: var(--silver);
  text-wrap: balance;
}
.recruit-h1 > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) skewY(3deg);
  animation: word-up 0.85s var(--ease-out) forwards;
}
.recruit-h1 > span:nth-child(1)  { animation-delay: 0.10s; }
.recruit-h1 > span:nth-child(2)  { animation-delay: 0.22s; }
.recruit-h1 > span:nth-child(3)  { animation-delay: 0.34s; }
.recruit-h1 > span:nth-child(4)  { animation-delay: 0.46s; }
.recruit-h1 > span:nth-child(5)  { animation-delay: 0.58s; }
.recruit-h1 > span:nth-child(6)  { animation-delay: 0.70s; }
.recruit-h1 > span:nth-child(7)  { animation-delay: 0.82s; }
@keyframes word-up {
  to { opacity: 1; transform: translateY(0) skewY(0); }
}
.recruit-lead {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--silver);
  text-align: center;
  margin-bottom: 0;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.recruit-lead strong { color: var(--cyan); }

/* ------- Manifesto body ------- */
.manifesto-section { padding: 96px 0; }
.manifesto-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 56px 48px;
  position: relative;
  backdrop-filter: blur(12px);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  box-shadow: var(--shadow);
}
.manifesto-card::before, .manifesto-card::after {
  content: ""; position: absolute; width: 22px; height: 22px;
  border: 1.5px solid var(--cyan);
}
.manifesto-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.manifesto-card::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
@media (max-width: 720px) { .manifesto-card { padding: 40px 22px 32px; } }

.m-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 600;
  color: var(--silver);
  margin: 32px 0 16px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.m-body {
  font-size: 1.12rem;
  color: var(--text);
  line-height: 1.95;
  margin-bottom: 14px;
}
.m-body strong { color: var(--silver); font-weight: 600; }

.m-list {
  list-style: none;
  padding-left: 0;
  margin: 14px 0 24px;
}
.m-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.7;
  border-bottom: 1px dashed var(--line-soft);
}
.m-list li:last-child { border-bottom: none; }
.m-list li::before {
  content: "▸";
  position: absolute; left: 0; top: 10px;
  color: var(--cyan); text-shadow: 0 0 6px var(--cyan);
  font-family: var(--font-mono);
}
.m-list li strong { color: var(--silver); }

/* Manifesto quote — large centered pull-quote */
.m-quote {
  border: none;
  background: none;
  padding: 28px 0;
  margin: 32px 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--silver);
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.02em;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.m-quote::before, .m-quote::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.m-quote::before { top: -1px; }
.m-quote::after  { bottom: -1px; opacity: 0.6; }
.m-quote strong { color: var(--cyan); text-shadow: 0 0 20px rgba(0, 229, 255, 0.4); }
.m-quote.oath {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.07), rgba(212, 175, 55, 0.02));
  padding: 32px 24px;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
}
.m-quote.oath p { margin: 8px 0; }
.m-quote.oath p strong { color: var(--gold); }

/* Manifesto signature */
.m-sign {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
}
.m-sign-line { display: flex; gap: 12px; align-items: baseline; }
.m-sign-label { color: var(--text-dim); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.72rem; min-width: 48px; }
.m-sign-val { color: var(--silver); font-weight: 600; letter-spacing: 0.06em; }
@media (max-width: 600px) { .m-sign { grid-template-columns: 1fr; } }

/* ------- Final CTA ------- */
.recruit-cta { padding: 96px 0; }
.cta-card {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 56px 32px 48px;
  position: relative;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glow);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}
.cta-card::before, .cta-card::after {
  content: ""; position: absolute; width: 22px; height: 22px;
  border: 1.5px solid var(--cyan);
}
.cta-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cta-card::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.cta-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--silver);
  margin: 8px 0 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.cta-h2 strong { color: var(--cyan); }
.cta-sub {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  color: var(--text-soft);
  margin-bottom: 36px;
  line-height: 1.8;
}
.cta-sub strong { color: var(--silver); }
.cta-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 540px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .cta-card { padding: 40px 20px 32px; }
  .cta-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   22.5 · Payment & Specialized Components · 支付/护照扩展
   ============================================================ */

/* —— Pay current bar —— */
.pay-current-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  position: relative;
}
.pay-current-bar::before, .pay-current-bar::after {
  content: ""; position: absolute; width: 10px; height: 10px;
  border: 1.5px solid var(--cyan);
}
.pay-current-bar::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.pay-current-bar::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.pay-current-info { display: flex; gap: 14px; align-items: baseline; }
.pay-current-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; color: var(--text-dim); text-transform: uppercase; }
.pay-current-name  { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.08em; }

/* —— Pay tier card (extends .tier-card) —— */
.pay-tier-card {
  background: rgba(2, 5, 13, 0.5);
}
.pay-tier-card:hover:not(.disabled):not(.achieved) {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.pay-tier-card.sel {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 0 1px var(--cyan), 0 0 24px rgba(0, 229, 255, 0.35);
}
.pay-tier-card.achieved { opacity: 0.7; }
.pay-tier-card.disabled { opacity: 0.5; pointer-events: none; }

/* —— Tier card details (used in payment) —— */
.t-code {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em;
  margin-bottom: 6px; font-weight: 700;
}
.t-name { font-weight: 700; color: var(--silver); margin-bottom: 6px; font-size: 1rem; }
.t-price {
  font-size: 1.1rem; color: var(--cyan); font-weight: 700;
  font-family: var(--font-mono); margin-bottom: 2px;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
.t-period { font-size: 0.78rem; color: var(--text-soft); margin-bottom: 8px; font-family: var(--font-mono); }
.t-remaining {
  margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed var(--line-soft);
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--amber); letter-spacing: 0.08em;
}
.t-status {
  display: inline-block; margin-top: 8px;
  padding: 2px 8px; font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid currentColor;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.t-status.current    { color: var(--green); background: rgba(77, 255, 184, 0.06); }
.t-status.achieved   { color: var(--text-dim); }
.t-status.unavailable{ color: var(--amber); background: rgba(255, 181, 71, 0.06); }

/* —— Pay summary —— */
.pay-summary {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-top: 24px;
  position: relative;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glow);
}
.pay-summary::before, .pay-summary::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1.5px solid var(--cyan);
}
.pay-summary::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.pay-summary::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.pay-summary-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 6px; }
.pay-summary-tier  { font-size: 1.3rem; font-weight: 700; color: var(--silver); margin-bottom: 10px; }
.pay-amount {
  font-family: var(--font-mono); font-size: 2rem; font-weight: 700;
  color: var(--cyan); text-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
  margin: 8px 0; letter-spacing: 0.06em;
}
.pay-period { font-family: var(--font-mono); font-size: 0.86rem; color: var(--text-soft); letter-spacing: 0.1em; }

/* —— Pay modal —— */
.pay-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 3, 8, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: page-in 0.3s var(--ease) both;
}
.pay-modal {
  background: linear-gradient(180deg, var(--space-2), var(--space));
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 440px; width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 48px rgba(0, 229, 255, 0.3);
  position: relative;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.pay-modal::before, .pay-modal::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1.5px solid var(--cyan);
}
.pay-modal::before { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.pay-modal::after  { bottom: 6px; right: 6px; border-left: none; border-top: none; }
.pay-modal-head {
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.2em; color: var(--cyan); text-transform: uppercase;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.pay-modal-body { padding: 10px 0 18px; }
.pay-modal-amount {
  font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700;
  color: var(--cyan); text-align: center; letter-spacing: 0.06em;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.5);
}
.pay-modal-actions {
  display: flex; gap: 10px; justify-content: center;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

/* —— Pay success —— */
.pay-success {
  background: var(--panel);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 0 32px rgba(77, 255, 184, 0.3);
  position: relative;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.pay-success-check {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(77, 255, 184, 0.1);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 2rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 24px rgba(77, 255, 184, 0.4);
  text-shadow: 0 0 12px var(--green);
}
.pay-success-msg { color: var(--text-soft); font-size: 0.95rem; }

/* —— Passport page extras —— */
.pp-cn { font-family: var(--font-serif); }
.pp-sig-line { display: flex; flex-direction: column; }

/* —— Thread list container —— */
.thread-list { display: flex; flex-direction: column; }

/* —— Unavailable badge —— */
.unavailable { color: var(--text-dim); }

/* ============================================================
   22.7 · v5 · Awwwards-grade visual upgrade
   · mega typography · holographic rotating borders · cursor glow
   · floating panels · animated SVG dividers · kinetic counters
   ============================================================ */

/* ============================================================
   · Mega Kinetic Typography
   ============================================================ */
.hero-mega {
  font-family: var(--font-ui);
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 0.4em;
  color: var(--silver);
  text-wrap: balance;
}
.hero-mega > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) skewY(3deg);
  animation: word-up 0.85s var(--ease-out) forwards;
}
.hero-mega > span:nth-child(1)  { animation-delay: 0.08s; }
.hero-mega > span:nth-child(2)  { animation-delay: 0.20s; }
.hero-mega > span:nth-child(3)  { animation-delay: 0.32s; }
.hero-mega > span:nth-child(4)  { animation-delay: 0.44s; }
.hero-mega > span:nth-child(5)  { animation-delay: 0.56s; }
.hero-mega > span:nth-child(6)  { animation-delay: 0.68s; }
.hero-mega > span:nth-child(7)  { animation-delay: 0.80s; }
.hero-mega > span:nth-child(8)  { animation-delay: 0.92s; }
@keyframes word-up {
  to { opacity: 1; transform: translateY(0) skewY(0); }
}

/* Holo gradient text (multi-color shift) */
.holo-text {
  background: linear-gradient(110deg,
    #ffffff 0%,
    #5cf2ff 22%,
    #00e5ff 38%,
    #9a6bff 60%,
    #ff3df0 82%,
    #ffffff 100%);
  background-size: 250% 250%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(0, 229, 255, 0.35));
  animation: holo-shift 6s ease-in-out infinite;
  display: inline-block;
  padding-right: 0.06em;
}
@keyframes holo-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Stencil outline text (ghost behind solid) */
.outline-text {
  -webkit-text-stroke: 1px rgba(0, 229, 255, 0.5);
  color: transparent;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
}

/* ============================================================
   · Holographic rotating border
   ============================================================ */
.holo-border {
  position: relative;
  isolation: isolate;
}
.holo-border::before {
  content: "";
  position: absolute; inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from 0deg,
    #00e5ff 0%, #5cf2ff 15%, #9a6bff 35%, #ff3df0 55%, #ffb547 75%, #00e5ff 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: holo-spin 7s linear infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}
.holo-border:hover::before { opacity: 1; animation-duration: 3s; }
@keyframes holo-spin { to { transform: rotate(360deg); } }

/* Soft glow halo around holo-border */
.holo-border::after {
  content: "";
  position: absolute; inset: -8px;
  border-radius: inherit;
  background: conic-gradient(from 0deg,
    #00e5ff, #9a6bff, #ff3df0, #ffb547, #00e5ff);
  filter: blur(24px);
  opacity: 0.18;
  z-index: -1;
  animation: holo-spin 7s linear infinite;
}
.holo-border:hover::after { opacity: 0.35; }

/* ============================================================
   · Cursor reactive glow (mouse-following halo)
   ============================================================ */
.hero-glow {
  position: relative;
}
.hero-glow::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(360px circle at var(--gx, -9999px) var(--gy, -9999px),
      rgba(0, 229, 255, 0.16) 0%,
      rgba(154, 107, 255, 0.06) 35%,
      transparent 65%);
  z-index: 0;
  transition: background 0.4s ease;
}
.hero-glow > * { position: relative; z-index: 1; }

/* ============================================================
   · Floating panels (parallax depth cards)
   ============================================================ */
.float-panel {
  position: absolute;
  background: rgba(8, 18, 44, 0.5);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), var(--shadow-glow);
  pointer-events: none;
  z-index: 2;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.float-panel::before, .float-panel::after {
  content: ""; position: absolute; width: 10px; height: 10px;
  border: 1.2px solid var(--cyan);
}
.float-panel::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.float-panel::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.float-panel .l { color: var(--text-dim); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; }
.float-panel .v { color: var(--cyan); font-weight: 700; font-size: 1.1rem; text-shadow: 0 0 10px rgba(0, 229, 255, 0.4); }
.float-panel .v.gold { color: var(--amber); text-shadow: 0 0 10px rgba(255, 181, 71, 0.4); }
.float-panel .v.green { color: var(--green); text-shadow: 0 0 10px rgba(77, 255, 184, 0.4); }

/* ============================================================
   · Constellation canvas (full-bleed)
   ============================================================ */
.constellation {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   · Nebula background (CSS-only deep space clouds)
   · Layered radial gradients + heavy blur + screen blend
   · Sits behind constellation canvas (z:0 < canvas z:1)
   ============================================================ */
.nebula-bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 35%, #060818 0%, #000308 60%, #000206 100%);
}
.nebula-bg::before,
.nebula-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
  will-change: transform;
}
.nebula-bg::before {
  width: 55vw; height: 55vh; min-width: 380px; min-height: 380px;
  top: 5%; left: 12%;
  background: radial-gradient(circle, rgba(120, 40, 200, 0.42) 0%, rgba(80, 20, 160, 0.14) 42%, transparent 70%);
  animation: nebula-a 42s ease-in-out infinite;
}
.nebula-bg::after {
  width: 50vw; height: 50vh; min-width: 340px; min-height: 340px;
  bottom: 8%; right: 6%;
  background: radial-gradient(circle, rgba(220, 50, 150, 0.32) 0%, rgba(180, 30, 120, 0.10) 48%, transparent 70%);
  animation: nebula-b 58s ease-in-out infinite;
}
.nebula-bg .cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  mix-blend-mode: screen;
  will-change: transform;
}
.nebula-bg .cloud-1 {
  width: 42vw; height: 42vh; min-width: 280px; min-height: 280px;
  top: 42%; left: 32%;
  background: radial-gradient(circle, rgba(40, 100, 220, 0.36) 0%, rgba(20, 60, 180, 0.10) 50%, transparent 70%);
  animation: nebula-c 70s ease-in-out infinite;
}
.nebula-bg .cloud-2 {
  width: 36vw; height: 36vh; min-width: 240px; min-height: 240px;
  top: 3%; right: 18%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.24) 0%, rgba(0, 150, 200, 0.07) 50%, transparent 70%);
  animation: nebula-a 52s ease-in-out infinite reverse;
}
.nebula-bg .cloud-3 {
  width: 30vw; height: 30vh; min-width: 200px; min-height: 200px;
  bottom: 12%; left: 6%;
  background: radial-gradient(circle, rgba(255, 120, 60, 0.16) 0%, transparent 60%);
  animation: nebula-b 80s ease-in-out infinite reverse;
}

@keyframes nebula-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.10); }
  66%      { transform: translate(-30px, 25px) scale(0.95); }
}
@keyframes nebula-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-50px, 35px) scale(1.12); }
}
@keyframes nebula-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(30px, 40px) scale(1.06); }
  70%      { transform: translate(-25px, -30px) scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  .nebula-bg::before, .nebula-bg::after, .nebula-bg .cloud {
    animation: none !important;
  }
}

/* ============================================================
   · Animated SVG section dividers
   ============================================================ */
.sec-divider {
  display: flex; justify-content: center; align-items: center;
  gap: 18px;
  padding: 28px 0;
  color: var(--text-dim);
}
.sec-divider svg { overflow: visible; }
.sec-divider .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ============================================================
   · CSS-only mini chart bars (animated)
   ============================================================ */
.mini-bars {
  display: flex; align-items: flex-end; gap: 3px;
  height: 28px;
}
.mini-bars i {
  display: block; width: 4px;
  background: linear-gradient(180deg, var(--cyan-2), var(--cyan));
  box-shadow: 0 0 6px var(--cyan);
  border-radius: 1px;
  animation: bar-dance 1.6s ease-in-out infinite;
}
.mini-bars i:nth-child(1) { animation-delay: 0.0s; }
.mini-bars i:nth-child(2) { animation-delay: 0.1s; }
.mini-bars i:nth-child(3) { animation-delay: 0.2s; }
.mini-bars i:nth-child(4) { animation-delay: 0.3s; }
.mini-bars i:nth-child(5) { animation-delay: 0.4s; }
.mini-bars i:nth-child(6) { animation-delay: 0.5s; }
.mini-bars i:nth-child(7) { animation-delay: 0.6s; }
.mini-bars i:nth-child(8) { animation-delay: 0.7s; }
.mini-bars i:nth-child(9) { animation-delay: 0.8s; }
@keyframes bar-dance {
  0%, 100% { height: 18%; }
  50%      { height: 90%; }
}

/* ============================================================
   · Orbiting rings (CSS only) — hero decoration
   ============================================================ */
.orbit-rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.orbit-rings .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.18);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
}
.orbit-rings .ring.r1 { width: 380px; height: 380px; animation: orbit-spin 40s linear infinite; }
.orbit-rings .ring.r2 { width: 580px; height: 580px; border-style: dashed; border-color: rgba(154, 107, 255, 0.18); animation: orbit-spin 70s linear infinite reverse; }
.orbit-rings .ring.r3 { width: 820px; height: 820px; border-color: rgba(255, 61, 240, 0.12); animation: orbit-spin 110s linear infinite; }
.orbit-rings .ring::before {
  content: ""; position: absolute; top: -3px; left: 50%;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  transform: translateX(-50%);
}
.ring.r2::before { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.ring.r3::before { background: var(--magenta); box-shadow: 0 0 12px var(--magenta); }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

/* Center moon emblem */
.orbit-moon {
  position: relative;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, #c8d4f0 38%, #5b6884 78%, #1a2540 100%);
  box-shadow:
    inset -16px -16px 32px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(0, 229, 255, 0.35),
    0 0 120px rgba(0, 229, 255, 0.15);
  animation: moon-bob 6s ease-in-out infinite;
}
.orbit-moon::before {
  content: ""; position: absolute;
  width: 100px; height: 100px;
  background: #060d22;
  border-radius: 50%;
  top: 8px; right: 6px;
  box-shadow: inset -8px -8px 12px rgba(0, 0, 0, 0.6);
}
.orbit-moon::after {
  content: ""; position: absolute; inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 229, 255, 0.4) 60deg, transparent 120deg);
  -webkit-mask: radial-gradient(circle, transparent calc(50% - 2px), #000 calc(50% - 1px), #000 50%, transparent calc(50% + 1px));
          mask: radial-gradient(circle, transparent calc(50% - 2px), #000 calc(50% - 1px), #000 50%, transparent calc(50% + 1px));
  animation: moon-bob 6s ease-in-out infinite reverse, orbit-spin 12s linear infinite;
}
@keyframes moon-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ============================================================
   · Card-level enhancements
   ============================================================ */
.card.holo-border { padding: 26px; }

/* ============================================================
   · ASCII noise texture (cheap grain)
   ============================================================ */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.7 0 0 0 0 1 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.5;
  z-index: 1;
}

/* ============================================================
   · Hero scroll indicator (down arrow)
   ============================================================ */
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.28em; color: var(--text-dim);
  text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
}
.scroll-hint .arrow {
  width: 14px; height: 22px;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.35);
}
.scroll-hint .arrow::before {
  content: ""; position: absolute;
  width: 2px; height: 6px;
  background: var(--cyan);
  top: 4px; left: 50%;
  transform: translateX(-50%);
  border-radius: 1px;
  animation: scroll-dot 1.6s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%   { transform: translate(-50%, 0);   opacity: 1; }
  60%  { transform: translate(-50%, 8px); opacity: 0; }
  61%  { transform: translate(-50%, -3px);opacity: 0; }
  100% { transform: translate(-50%, 0);   opacity: 1; }
}

/* ============================================================
   · Hero shell layout
   ============================================================ */
.hero-cinematic {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 80px;
}
.hero-cinematic .container { position: relative; z-index: 2; }

/* ============================================================
   · Rings orbit anchor — center decoration in hero side
   ============================================================ */
.hero-deco {
  position: absolute;
  top: 50%; right: -10%;
  width: 600px; height: 600px;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 1100px) { .hero-deco { width: 480px; height: 480px; right: -30%; opacity: 0.5; } }
@media (max-width: 760px)  { .hero-deco { display: none; } }

/* ============================================================
   · Vision stat ring (animated progress)
   ============================================================ */
.vision-stat-ring {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  width: 92px; height: 92px;
}
.vision-stat-ring svg {
  position: absolute; inset: 0;
  transform: rotate(-90deg);
  width: 100%; height: 100%;
}
.vision-stat-ring svg circle {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}
.vision-stat-ring .track { stroke: rgba(0, 229, 255, 0.1); }
.vision-stat-ring .fill {
  stroke: var(--cyan);
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
  filter: drop-shadow(0 0 6px var(--cyan));
  animation: ring-fill 1.8s var(--ease-out) 0.4s forwards;
}
.vision-stat-ring:nth-child(2) .fill { stroke: var(--violet); filter: drop-shadow(0 0 6px var(--violet)); }
.vision-stat-ring:nth-child(3) .fill { stroke: var(--amber); filter: drop-shadow(0 0 6px var(--amber)); }
.vision-stat-ring:nth-child(4) .fill { stroke: var(--green); filter: drop-shadow(0 0 6px var(--green)); }
@keyframes ring-fill { to { stroke-dashoffset: var(--ring, 50); } }

/* ============================================================
   22.6 · Register Page · 注册页专属
   ============================================================ */
.reg-hero {
  min-height: 100vh;
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
}
.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 2;
}
@media (max-width: 980px) { .reg-grid { grid-template-columns: 1fr; gap: 32px; } }

.reg-side {
  position: relative;
  padding: 8px 0;
}
.reg-hero-h1 {
  font-family: var(--font-ui);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--silver);
  margin: 0 0 18px;
  text-wrap: balance;
}
.reg-hero-h1 > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) skewY(3deg);
  animation: word-up 0.85s var(--ease-out) forwards;
}
.reg-hero-h1 > span:nth-child(1) { animation-delay: 0.10s; }
.reg-hero-h1 > span:nth-child(2) { animation-delay: 0.22s; }

.reg-rail {
  margin: 32px 0 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  background: rgba(8, 18, 44, 0.55);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
  backdrop-filter: blur(10px);
}
.reg-rail-item {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono);
}
.reg-rail-item .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}
.reg-rail-item b { color: var(--silver); font-weight: 700; letter-spacing: 0.06em; display: block; margin-bottom: 2px; }
.reg-rail-item span:not(.n) { color: var(--text-dim); font-size: 0.78rem; letter-spacing: 0.06em; }

.reg-aside-cta {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
}
.reg-aside-cta-line { margin: 0; }

/* Form wrap */
.reg-form-wrap {
  position: relative;
}
.reg-form-wrap .form {
  margin: 0;
  max-width: none;
  padding: 40px 36px 32px;
}

.submit-note { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.btn-pledge {
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  padding: 14px 28px !important;
  font-size: 0.96rem !important;
  position: relative;
}
.btn-pledge:disabled {
  opacity: 1 !important;
  cursor: wait;
}
.btn-pledge .mini-bars {
  display: inline-flex; align-items: flex-end; gap: 3px;
  height: 18px; vertical-align: middle; margin-right: 4px;
}
.btn-pledge .mini-bars i {
  width: 3px; background: var(--void); border-radius: 1px;
  box-shadow: 0 0 4px var(--void);
}

/* ============================================================
   23. NEW · Sci-fi Decoration Utilities · 装饰工具类
   ============================================================ */

/* —— Status badges (online/active/archived) —— */
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid currentColor;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.status-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 6px currentColor;
}
.status-badge.online   { color: var(--green); }
.status-badge.online::before   { animation: pulse 1.4s ease-in-out infinite; }
.status-badge.idle     { color: var(--amber); }
.status-badge.archived { color: var(--text-dim); }
.status-badge.alert    { color: var(--red);   }
.status-badge.alert::before    { animation: pulse 0.8s ease-in-out infinite; }
.status-badge.cyan     { color: var(--cyan);  }
.status-badge.violet   { color: var(--violet); }

/* —— Coordinate / data readouts (small monospace) —— */
.coord {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-transform: uppercase;
  display: inline-flex; gap: 8px; align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: rgba(0, 229, 255, 0.04);
}
.coord .lab { color: var(--text-dim); }

/* —— Data readout panel (vertical list of label: value) —— */
.readout {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 12px;
}
.readout .r-lab { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.72rem; }
.readout .r-val { color: var(--silver); font-weight: 600; }
.readout .r-val.cyan   { color: var(--cyan); }
.readout .r-val.amber  { color: var(--amber); }
.readout .r-val.green  { color: var(--green); }
.readout .r-val.red    { color: var(--red); }

/* —— HUD frame (universal) —— */
.hud-frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(10px);
  padding: 24px;
}
.hud-frame::before, .hud-frame::after {
  content: ""; position: absolute; width: var(--bevel); height: var(--bevel);
  border: 1.5px solid var(--cyan);
}
.hud-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hud-frame::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* —— Bracket label (top-right floating tag) —— */
.bracket-label {
  position: absolute; top: -10px; right: 16px;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--void);
  color: var(--cyan);
  padding: 2px 10px;
  border: 1px solid var(--cyan);
  z-index: 2;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

/* —— Tech divider —— */
.tech-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 32px 0; color: var(--text-dim);
}
.tech-divider::before, .tech-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.tech-divider span {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--cyan);
}

/* —— Hex pattern overlay (opt-in via .hex-bg) —— */
.hex-bg {
  position: relative;
}
.hex-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, var(--line-strong) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* —— Glitch text (opt-in via .glitch) —— */
@keyframes glitch-shift {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-1px, 0); }
  80% { transform: translate(1px, 1px); }
}
.glitch {
  position: relative; display: inline-block;
  color: var(--silver);
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0; width: 100%;
  pointer-events: none;
}
.glitch::before {
  color: var(--cyan); opacity: 0.5;
  animation: glitch-shift 2.4s infinite steps(1);
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}
.glitch::after {
  color: var(--magenta); opacity: 0.4;
  animation: glitch-shift 2.4s infinite steps(1) reverse;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

/* —— Mini bar (small animated status bar) —— */
.mini-bar {
  display: inline-block; width: 80px; height: 4px;
  background: rgba(0, 229, 255, 0.1);
  position: relative; overflow: hidden;
}
.mini-bar::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-2));
  box-shadow: 0 0 8px var(--cyan);
  width: var(--p, 60%); animation: bar-fill 1.6s var(--ease-out) both;
}
@keyframes bar-fill { from { width: 0; } to { width: var(--p, 60%); } }

/* —— Article ref footer inside cards —— */
.article-ref {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-soft);
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--text-dim); letter-spacing: 0.12em;
  text-transform: uppercase;
}
.article-ref::before { content: "§ "; color: var(--cyan); }

/* —— Stat readouts (used in hero side) —— */
.stat-block {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px;
  background: rgba(2, 5, 13, 0.5);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--cyan);
}
.stat-block .v {
  font-family: var(--font-mono);
  font-size: 1.3rem; font-weight: 700; color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}
.stat-block .l {
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim);
}

/* —— Toolbar (forum filter + new thread row) —— */
.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 20px;
}

/* —— Numeric counter chip —— */
.num-chip {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--font-mono); font-size: 0.74rem;
  padding: 2px 6px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--cyan);
  letter-spacing: 0.06em;
}
.num-chip b { color: var(--silver); font-weight: 700; }

/* —— Page-level system status header (optional hero addition) —— */
.system-bar {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 12px;
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(2, 5, 13, 0.6);
  color: var(--text-dim);
  flex-wrap: wrap;
}
.system-bar b { color: var(--cyan); }
.system-bar .sep { color: var(--text-faint); }

/* —— Mission tag (top-right of cards / hero) —— */
.mission-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber);
  padding: 2px 8px;
  border: 1px solid var(--amber);
  background: rgba(255, 181, 71, 0.05);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.mission-tag::before { content: "◆"; }

/* —— Article header bar (for charter/about) —— */
.doc-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim);
}
.doc-header .doc-id {
  color: var(--cyan); padding: 2px 8px;
  border: 1px solid var(--cyan);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
