/* ============================================================
   auimlab 首页 - 1:1 复刻 jimeng.jianying.com 视觉风格
   Token 与 section 命名完全沿用 jimeng 的 hash 习惯
   ============================================================ */

/* ---------- 0) 全局与 token ---------- */
:root {
  --jm-bg-1: #060c20;
  --jm-bg-2: #0c3560;
  --jm-blue-1: #1375c8;
  --jm-blue-2: #157acd;
  --jm-cyan:  #00cae0;
  --jm-blue-dark: #0a3870;
  --jm-text-1: #ebf8ff;
  --jm-text-muted: rgba(224, 245, 255, 0.851);
  --jm-text-sub:  rgba(224, 245, 255, 0.6);
  --jm-text-faint: rgba(224, 245, 255, 0.2);
  --jm-border: rgba(255, 255, 255, 0.12);
  --jm-border-sub: rgba(255, 255, 255, 0.06);
  --jm-card-bg: rgba(13, 17, 23, 0.7);
  --jm-nav-h: 68px;
  --jm-max: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  /* §32 第三轮 SOP: body 不再用 #060c20 纯黑, 而是 hero 同款蓝紫渐变.
     即使 nav 透明透过去看到的是 body (极端窄屏 / hero 未铺满区),
     也不会显示深黑, 而是 auimlab 主色蓝紫, 实现"浑然一体".

     2026-08-07 §nav-color-leak (修法 v5): 改用线性渐变从深到亮
     (上深下亮), nav 0-64px 透过去看到 #060c20 深色, 蓝紫亮色只在
     viewport 中下部. 参考 jimeng 设计: nav 透过去看到 wrap 深色,
     蓝紫品牌基因保留在内容区域. */
  background: linear-gradient(180deg,
    #060c20 0%, #0c3560 35%, #157acd 65%, #1375c8 100%);
  background-attachment: fixed;
  color: var(--jm-text-1);
  font-family: 'PP Editorial New', 'Albert Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ============================================================
   1) Header (jimeng 风)
   ============================================================ */
.nav {
  /* 主页设计: 顶部完全透明 (零背景/零边框/零阴影/零分隔线),
     让 hero 视频直接穿透 nav, 浑然一体;
     滚动后才浮现 frosted glass (见下方 .nav.is-scrolled).
     2026-08-07 二次微调: 即使 manufacturers/articles 这些 body 已有蓝紫渐变
     的页面, 默认透明透过去看到的就是同色系, 不会突兀, 仍保持透明 */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--jm-nav-h);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  /* 渐变过渡: 滚动后背景/边框/模糊平滑出现 */
  transition: height 0.3s ease, background 0.3s ease, border-color 0.3s ease,
              box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.is-scrolled {
  /* 滚动后: 纯 frosted glass 玻璃感 (与下方内容颜色无关, 始终统一深色玻璃) */
  height: 56px;
  background: rgba(8, 10, 18, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
/* 滚动后: logo 小一点 + menu 加粗 */
.nav.is-scrolled .nav-logo-text { font-size: 19px; }
.nav.is-scrolled .nav-link { font-size: 14px; }
.nav.is-scrolled .nav-link.active { color: var(--jm-cyan); }
.nav.is-scrolled .nav-link.active::after {
  bottom: -18px;
  height: 2px;
}
.nav.is-scrolled .nav-login { padding: 6px 14px; font-size: 12px; }
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--jm-max);
  margin: 0 auto;
  padding: 0 24px;
  gap: 36px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--jm-text-1);
  flex-shrink: 0;
  /* logo 区右跟菜单拉开: nav-menu 内部项间 36px + logo 区跟菜单再加 24px 缓冲
     (原版没这缓冲, 导致 logo 区右跟"首页"贴太近, 视觉像"auimlab"被叠加到菜单) */
  margin-right: 24px;
}
.nav-logo svg { color: #a78bfa; filter: drop-shadow(0 0 6px rgba(167,139,250,0.45)); display: block; width: 28px; height: 28px; }
/* 后台上传的 logo img — 跟内联 SVG 完全一致: 28x28 (跟 22px 文字比例 1.27, auimlab 行业标准)
   + display:block 消除 inline baseline 偏移. 旧版本用 32x32 + 22px 文字 比例 1.45 偏大,
   且 logo+文字宽度 128px 跟菜单 953px 起始位置 196.22 视觉过满 (右邻"首页"贴太近), 故收紧. */
.nav-logo-img { width: 28px; height: 28px; object-fit: contain; display: block; }
.nav-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  /* 透明 nav 时: 紫色 logo 图标已有 glow, 文字加细微阴影防止视频浅色区域读不清 */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.nav.is-scrolled .nav-logo-text {
  color: var(--jm-text-1);
  text-shadow: none;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
}
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.15s;
  cursor: pointer;
  user-select: none;
  /* 透明 nav 时给文字加阴影, 防止浅色视频背景下文字读不清 */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.nav-link:hover { color: #fff; }
/* 滚动后: nav 已有 frosted glass 背景, 移除文字阴影避免字迹重 */
.nav.is-scrolled .nav-link {
  color: var(--jm-text-sub);
  text-shadow: none;
}
.nav.is-scrolled .nav-link:hover { color: var(--jm-text-1); }
.nav-link.active {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.nav.is-scrolled .nav-link.active {
  color: var(--jm-cyan);
  text-shadow: none;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: linear-gradient(90deg, var(--jm-cyan), var(--jm-blue-1));
  border-radius: 2px;
}
.nav-more {
  position: relative;
  cursor: pointer;
}
.nav-link-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.nav-dropdown {
  position: absolute;
  top: 44px;
  left: -16px;
  /* 2026-08-07: 改宽 160 → 280, 让"智造涌动"/"AI 草图变方案"等中文副标题单行显示 */
  min-width: 280px;
  padding: 8px;
  background: rgba(20, 20, 25, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--jm-border);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 200;
}
.nav-more:hover .nav-dropdown,
.nav-more:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;             /* 2026-08-07: 10 → 12 让图标与文字间距更宽 */
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--jm-text-sub);
  transition: background 0.12s, color 0.12s;
  position: relative;     /* 2026-08-07: 给左侧 accent bar 准备 */
}
.nav-dropdown a svg { color: var(--jm-text-faint); flex-shrink: 0; transition: color 0.12s; }
.nav-dropdown a:hover {
  background: rgba(127, 67, 255, 0.18);
  color: var(--jm-text-1);
}
.nav-dropdown a:hover svg { color: var(--jm-cyan); }
/* 2026-08-07: hover 左侧 2px accent bar (cyan 强调色, 增强交互反馈) */
.nav-dropdown a::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px;
  height: 18px;
  background: linear-gradient(180deg, var(--jm-cyan), var(--jm-blue-1));
  border-radius: 2px;
  transition: transform 0.15s ease;
}
.nav-dropdown a:hover::before { transform: translateY(-50%) scaleY(1); }
/* 分组 (jimeng 风: 标题 + 缩进分隔) */
.nav-dropdown-section {
  padding: 8px 0;
}
.nav-dropdown-section + .nav-dropdown-section {
  border-top: 1px solid var(--jm-border-sub);
  margin-top: 4px;
}
.nav-dropdown-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  /* 2026-08-07: 颜色从 jm-text-faint (极弱) 提到 jm-text-sub (略亮), 分组标签更清晰 */
  color: var(--jm-text-sub);
  letter-spacing: 2px;
  padding: 4px 14px 6px;
  text-transform: uppercase;
}
/* 2026-08-07: 子标题颜色 + 字号优化, 中文 sub 更易读 */
.nav-dropdown-sub {
  color: var(--jm-text-faint);
  font-size: 11.5px;
  line-height: 1.4;
  margin-top: 2px;
  white-space: nowrap;        /* 单行显示, 不被换行 */
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
/* 2026-08-07: dropdown-icon 颜色组 (cyan/blue/purple/green/amber/rose) — 给每类不同色 */
.nav-dropdown-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-icon-cyan   { color: #00cae0; background: rgba(0, 202, 224, 0.12); }
.nav-dropdown-icon-blue   { color: #58a6ff; background: rgba(88, 166, 255, 0.12); }
.nav-dropdown-icon-purple { color: #a371f7; background: rgba(163, 113, 247, 0.12); }
.nav-dropdown-icon-green  { color: #3fb950; background: rgba(63, 185, 80, 0.12); }
.nav-dropdown-icon-amber  { color: #d29922; background: rgba(210, 153, 34, 0.14); }
.nav-dropdown-icon-rose   { color: #ff6cab; background: rgba(255, 108, 171, 0.12); }
/* hover 时 icon 背景稍亮 */
.nav-dropdown a:hover .nav-dropdown-icon { filter: brightness(1.15); }
/* tag (需登录) 样式优化 */
.nav-dropdown-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #d29922;
  background: rgba(210, 153, 34, 0.14);
  border-radius: 4px;
  vertical-align: middle;
}
.nav-right { flex-shrink: 0; }
.nav-login {
  /* 2026-08-07 §btn-breathing-nav-login (v2): nav 入口次要 CTA — 高级呼吸模式 (去掉液态边框旋转)
     - 透明玻璃底 + 青色描边 (跟主 CTA 颜色一致, 视觉协调)
     - 顶部高光 (glass inset)
     - 呼吸光晕 (box-shadow cyan 周期扩散, 弱于主 CTA)
     - 粒子光斑 (::after 呼吸)
     - Hover 悬浮 + 边框实化
     - prefers-reduced-motion 兜底
  */
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(0, 202, 224, 0.55);
  background: rgba(0, 202, 224, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--jm-cyan) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  overflow: visible;
  isolation: isolate;
  box-shadow:
    0 2px 8px rgba(0, 202, 224, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 0 rgba(0, 202, 224, 0.3);
  animation: nav-login-breath 3.2s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(.34, 1.56, .64, 1),
              background 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}
/* 粒子光斑 (比主 CTA 更小更弱) */
.nav-login::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 202, 224, 0.85) 0%, rgba(0, 202, 224, 0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: nav-login-sparkle 3.2s ease-in-out infinite;
  z-index: 1;
}
/* Hover: 实化背景 + 悬浮 + 增强投影 + 加速呼吸 */
.nav-login:hover {
  transform: translateY(-2px);
  background: rgba(0, 202, 224, 0.18);
  border-color: rgba(0, 202, 224, 0.85);
  box-shadow:
    0 6px 16px rgba(0, 202, 224, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 0 rgba(0, 202, 224, 0.4);
  animation-duration: 2.2s;
}
/* Active: 按下反馈 */
.nav-login:active {
  transform: translateY(0) scale(0.95);
  background: rgba(0, 202, 224, 0.25);
  box-shadow:
    0 1px 4px rgba(0, 202, 224, 0.24),
    inset 0 1px 2px rgba(0, 0, 0, 0.2);
  animation-play-state: paused;
}
/* 滚动后: 略减呼吸强度 (nav 缩小, 视觉更安静) */
.nav.is-scrolled .nav-login {
  padding: 6px 16px;
  font-size: 12px;
}
/* 关键帧: 呼吸光晕 (box-shadow 周期扩散) */
@keyframes nav-login-breath {
  0%, 100% {
    box-shadow:
      0 2px 8px rgba(0, 202, 224, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 0 0 rgba(0, 202, 224, 0.3);
  }
  50% {
    box-shadow:
      0 3px 12px rgba(0, 202, 224, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 0 0 8px rgba(0, 202, 224, 0);
  }
}
/* 粒子光斑呼吸 */
@keyframes nav-login-sparkle {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(2); }
}
/* 无障碍 */
@media (prefers-reduced-motion: reduce) {
  .nav-login,
  .nav-login::after {
    animation: none !important;
  }
}
/* ============================================================
   2026-08-09 §nav-online-state: 已登录用户右上角在线状态
   视觉: 玻璃底 + 绿色描边 + 头像首字母 + 用户名 + 右上角脉冲呼吸灯
   跟 .nav-login (青色 CTA) 视觉风格一致, 颜色用绿色 (#3fb950) 区分"已登录"
   ============================================================ */
.nav-online {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(63, 185, 80, 0.55);
  background: rgba(63, 185, 80, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--jm-text-1) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  overflow: visible;
  isolation: isolate;
  box-shadow:
    0 2px 8px rgba(63, 185, 80, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 0 rgba(63, 185, 80, 0.3);
  animation: nav-online-breath 3.2s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(.34, 1.56, .64, 1),
              background 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease;
  cursor: pointer;
}
.nav-online:hover {
  transform: translateY(-2px);
  background: rgba(63, 185, 80, 0.18);
  border-color: rgba(63, 185, 80, 0.85);
  box-shadow:
    0 6px 16px rgba(63, 185, 80, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 0 rgba(63, 185, 80, 0.4);
  animation-duration: 2.2s;
}
.nav-online:active {
  transform: translateY(0) scale(0.95);
  background: rgba(63, 185, 80, 0.25);
  box-shadow:
    0 1px 4px rgba(63, 185, 80, 0.24),
    inset 0 1px 2px rgba(0, 0, 0, 0.2);
  animation-play-state: paused;
}
.nav-online-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3fb950, #1f7e2e);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(63, 185, 80, 0.4);
}
.nav-online-name {
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.92);
}
.nav-online-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fb950;
  box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.6);
  animation: nav-online-pulse 2.4s ease-in-out infinite;
}
/* 滚动后: 跟 .nav-login 同步缩小 */
.nav.is-scrolled .nav-online {
  padding: 2px 12px 2px 2px;
  font-size: 12px;
}
.nav.is-scrolled .nav-online-avatar {
  width: 22px;
  height: 22px;
  font-size: 11px;
}
/* 呼吸光晕 (跟 .nav-login 同款节奏, 颜色用绿色) */
@keyframes nav-online-breath {
  0%, 100% {
    box-shadow:
      0 2px 8px rgba(63, 185, 80, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 0 0 0 rgba(63, 185, 80, 0.3);
  }
  50% {
    box-shadow:
      0 3px 12px rgba(63, 185, 80, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 0 0 8px rgba(63, 185, 80, 0);
  }
}
/* 呼吸灯 (跟 Discord/Slack 在线状态同款, box-shadow 周期扩散) */
@keyframes nav-online-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(63, 185, 80, 0.6),
      0 0 0 0 rgba(63, 185, 80, 0);
  }
  50% {
    box-shadow:
      0 0 0 4px rgba(63, 185, 80, 0),
      0 0 6px 2px rgba(63, 185, 80, 0.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-online,
  .nav-online-dot {
    animation: none !important;
  }
}
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--jm-border-sub);
  color: var(--jm-text-1);
  cursor: pointer;
}
/* 桌面隐藏汉堡按钮, 仅 ≤1024 显示 */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--jm-border-sub);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--jm-text-1);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.nav-burger:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--jm-cyan); }
.nav-burger.open { background: var(--jm-cyan); border-color: var(--jm-cyan); color: #0a0e14; }
/* ≤1024px: jimeng 模式 - nav 链接变汉堡, 链接折叠成 drawer */
@media (max-width: 1024px) {
  .nav-right { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-menu {
    position: fixed;
    top: var(--jm-nav-h, 68px);
    left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px 24px 60px;
    background: rgba(15, 17, 21, 0.97);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--jm-border-sub);
    overflow-y: auto;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .nav-menu.open { transform: translateX(0); display: flex; }
  .nav-menu .nav-link {
    padding: 14px 8px;
    border-radius: 8px;
    font-size: 16px;
    border-bottom: 1px solid var(--jm-border-sub);
  }
  .nav-menu .nav-link:hover { background: rgba(127, 67, 255, 0.18); }
  .nav-menu .nav-link.active { color: var(--jm-cyan); }
  .nav-more { display: block; padding: 0; }
  .nav-menu .nav-link-more { padding: 14px 8px; }
  .nav-menu .caret { display: none; }
  .nav-menu .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 0;
    box-shadow: none;
    display: block;
  }
  .nav-menu .nav-dropdown-section {
    padding: 4px 16px 12px;
    border-top: 1px dashed var(--jm-border-sub);
  }
  .nav-menu .nav-dropdown-section:first-child { border-top: none; }
  .nav-menu .nav-dropdown-label { padding-left: 0; }
}
/* ≤768px: 进一步简化 (jimeng 风: 抽屉全屏 + logo 缩小) */
@media (max-width: 768px) {
  .nav-logo-text { display: none; }
  .nav-menu { padding: 20px 18px 40px; }
  .nav-menu .nav-link { font-size: 15px; padding: 12px 6px; }
}

/* ============================================================
   2) HERO (jimeng 风格: 视频 100vw × 100vh 铺满横向屏幕 + 文本/缩略图浮在上层)
   ============================================================ */
.hero {
  /* jimeng 模式: hero 高度 = min(100vh, 56.25vw) - 大屏 100vh 主导, 窄屏 16:9 比例优先
     避免手机上 100vh 太矮导致 16:9 视频被裁掉大片顶部底部重要信息
     同时 min-height 480px 保证极小屏 (iPhone SE) 也能看到完整 hero */
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: min(100vh, 56.25vw);
  min-height: 480px;
  max-height: 1080px;
  overflow: hidden;
  isolation: isolate;
  /* 关键: 不再用 #060c20 纯黑, 而是 hero-bg 风格的蓝紫渐变.
     这样 video 加载前/中 nav 透明区显示的不是纯黑色, 而是 auimlab 蓝紫,
     实现"浑然一体"视觉.
     video 加载后会被 .hero-stage 覆盖, 这里只是底色占位. */
  background: radial-gradient(88.89% 182.5% at 69.13% 5.25%,
    #1375c8 0%, #157acd 28.99%, #0c3560 72.78%, #060c20 100%);
}
/* 大视频全屏铺满 - jimeng video-wrapper-UwfzyM 风格 */
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* 关键: 不再是 #000 纯黑. video 加载前/中显示蓝紫渐变占位,
     nav 透过去就能看到 auimlab 主色, 而不是一片漆黑. */
  background:
    radial-gradient(80% 100% at 70% 30%, #1375c8 0%, #157acd 30%, #0c3560 70%, #060c20 100%);
}
.hero-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* 关键: video 元素默认有黑色背景 (尤其 src 空/未加载时).
     设为透明, 让 hero-stage 的渐变蓝紫透过来, 杜绝黑色 nav 现象 */
  background: transparent;
  /* jimeng 模式: 16:9 视频在窄屏 hero-stage 比 hero 高 → cover 会裁掉上下
     居中偏上 (45% 50%) 让标题区域 (h1) 居中保留更多画面 */
  object-position: 50% 45%;
  pointer-events: none; /* 让点击穿透到 hero-stage, 不被 video 元素截断 */
}
/* 2026-08-01 §poster-hd: 视频元素始终 z=2
   - 之前 §poster-zero 移除了 <img> 兜底, 现在 poster 通过 video.poster 原生机制显示
   - poster 与视频源分辨率对齐 (后端 §poster-match-resolution), 不再被拉伸模糊
   - <video> 元素从 src=空时起就显示 poster (HTML 默认行为), 无需额外 z-index */
.hero-stage video { z-index: 2; }
/* 视频叠加层次 */
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* jimeng 风: 渐变暗化让中央文字清晰, 但边缘保持视频原色.
     不要把整个视频压黑 (那样 nav 透明后只能看到黑底). */
  background:
    radial-gradient(80% 70% at 50% 55%, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 65%),
    linear-gradient(180deg, rgba(6, 12, 32, 0.15) 0%, rgba(6, 12, 32, 0.05) 30%, rgba(6, 12, 32, 0.05) 70%, rgba(6, 12, 32, 0.25) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(88.89% 182.5% at 69.13% 5.25%,
    #1375c8 0%, #157acd 28.99%, #0c3560 72.78%, #060c20 100%);
}
/* 内容区: 文本浮在视频上方 - 容器铺满 hero,文本绝对定位中间偏下 */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--jm-max);
  margin: 0 auto;
  padding: 56px 56px 0;
  height: 100%;
}
.hero-text {
  /* 2026-08-07 §hero-responsive: 整体缩放模式 (clamp 连续响应式 + 4 断点微调)
     - 默认值用 clamp(min, vw, max) 实现跨视口连续缩放, 断点只微调
     - 整个文本块 (h1 + form) 是一个缩放单元, 字号/间距/宽度/内边距 同步缩放
     - max-width 用 min(620px, calc(100vw * 0.43)) 让大屏不超 620px, 窄屏跟视口同步 */
  position: absolute;
  top: var(--hero-text-top, auto);
  bottom: var(--hero-text-bottom, calc(28% + 80px));
  left: var(--hero-text-left, 32px);
  right: var(--hero-text-right, auto);
  z-index: 3;
  display: flex;
  flex-direction: column;
  /* gap 同步缩放: 12px (窄) ~ 20px (宽) */
  gap: clamp(12px, 1.6vw, 20px);
  /* width 同步缩放: 80vw (窄) ~ 620px (宽), 但 max-width 限制 */
  width: clamp(280px, 90vw, 620px);
  max-width: min(620px, calc(100vw - 64px));
}
.hero-tip {
  display: inline-flex;
  align-items: center;
  gap: clamp(5px, 0.6vw, 8px);
  padding: clamp(4px, 0.7vw, 7px) clamp(8px, 1.2vw, 14px);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid hsla(0, 0%, 100%, 0.122);
  color: var(--jm-text-muted);
  /* tip 字号也响应式: 11px (窄) ~ 14px (宽) */
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 300;
  width: fit-content;
}
.hero-tip svg {
  color: var(--jm-text-muted);
  /* tip 图标同步缩放 */
  width: clamp(11px, 0.9vw, 14px);
  height: clamp(11px, 0.9vw, 14px);
}
.hero-h1 {
  /* h1 字号连续响应式: 18px (窄) ~ 56px (宽), 跟随视口 */
  font-size: clamp(28px, 5.2vw, 56px);
  font-weight: 500;
  /* line-height 也响应式: 1.15 (大) ~ 1.25 (小), 大字紧凑 小字舒展 */
  line-height: 1.18;
  letter-spacing: clamp(0, 0.02em, 0.02em);
  color: var(--jm-text-1);
  margin: 0;
}
.hero-p {
  /* 副标题字号响应式: 12px (窄) ~ 16px (宽) */
  font-size: clamp(12px, 1.05vw, 16px);
  line-height: 1.6;
  color: var(--jm-text-sub);
  margin: 0;
  max-width: 90%;
}
.hero-form {
  display: flex;
  align-items: center;
  gap: 0;
  /* form 宽度跟父容器 (hero-text) 同步, 大屏不超过 520 */
  width: 100%;
  max-width: 520px;
  /* form padding 响应式: 4px ~ 8px (上下), 10px ~ 18px (左) */
  padding: clamp(4px, 0.6vw, 8px) clamp(4px, 0.6vw, 8px) clamp(4px, 0.6vw, 8px) clamp(10px, 1.2vw, 18px);
  border-radius: clamp(8px, 0.9vw, 12px);
  background: rgba(255, 255, 255, 0.141);
  border: 1px solid hsla(0, 0%, 100%, 0.078);
  backdrop-filter: blur(8px);
  margin-top: clamp(2px, 0.3vw, 6px);
}
.hero-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--jm-text-muted);
  /* input 字号响应式: 12px (窄) ~ 14px (宽) */
  font-size: clamp(12px, 1vw, 14px);
  font-family: inherit;
  min-width: 0;
}
.hero-form input::placeholder { color: var(--jm-text-faint); }
.hero-form button {
  /* 2026-08-07 §btn-search-pro: 顶级商业克制版 (参考 jimeng/Linear/Vercel/Stripe)
     - 纯色 cyan 实心 (#00cae0, 跟 jimeng "开启即梦" 同款品牌色)
     - 微弱呼吸光晕 (弱化版, 不喧宾夺主, 保留 auimlab 科技感)
     - 双 SVG: 放大镜 + 箭头 (Stripe 风格动作暗示)
     - hover: 背景微亮 + 箭头位移 + 光晕增强
     - active: scale(0.97) 按压反馈
     - prefers-reduced-motion 兜底禁用动画
     - 响应式 (§hero-responsive): padding/font-size 跟视口同步缩放
  */
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.4vw, 6px);
  padding: clamp(7px, 0.85vw, 11px) clamp(14px, 1.7vw, 22px);
  border-radius: clamp(7px, 0.85vw, 10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  /* §btn-search-pro: 纯色 cyan 实心 (jimeng 同款), 顶部高光 glass inset */
  background: linear-gradient(180deg, #0ad9e8 0%, #00cae0 100%);
  color: #062c33;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  /* §btn-search-pro: 单层光晕 + 顶部 inset 高光 + 微弱呼吸 (3.6s, 比之前慢) */
  box-shadow:
    0 4px 14px rgba(0, 202, 224, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 0 0 0 rgba(0, 202, 224, 0.4);
  animation: hero-cta-breath 3.6s ease-in-out infinite;
  transition: background 0.2s ease,
              box-shadow 0.2s ease,
              transform 0.15s cubic-bezier(.34, 1.56, .64, 1);
}
/* §btn-search-pro: SVG icon 颜色/动效 */
.hero-form button .hero-btn-icon-search,
.hero-form button .hero-btn-icon-arrow {
  color: #062c33;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
/* §btn-search-pro: hover - 箭头右移 + 光晕增强 */
.hero-form button:hover {
  background: linear-gradient(180deg, #00cae0 0%, #00b8d4 100%);
  box-shadow:
    0 6px 20px rgba(0, 202, 224, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 0 0 0 rgba(0, 202, 224, 0.55);
  border-color: rgba(255, 255, 255, 0.25);
}
.hero-form button:hover .hero-btn-icon-arrow { transform: translateX(3px); }
/* §btn-search-pro: active - 按下反馈 */
.hero-form button:active {
  transform: scale(0.97);
  box-shadow:
    0 2px 6px rgba(0, 202, 224, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  animation-play-state: paused;
}
/* §btn-search-pro: focus - 键盘可访问性 */
.hero-form button:focus-visible {
  outline: 2px solid rgba(0, 202, 224, 0.6);
  outline-offset: 3px;
}
/* 关键帧: 呼吸光晕 (§btn-search-pro: 单色 cyan, 移除紫色残留) */
@keyframes hero-cta-breath {
  0%, 100% {
    box-shadow:
      0 4px 14px rgba(0, 202, 224, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      inset 0 -1px 0 rgba(0, 0, 0, 0.18),
      0 0 0 0 rgba(0, 202, 224, 0.4);
  }
  50% {
    box-shadow:
      0 6px 20px rgba(0, 202, 224, 0.52),
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      inset 0 -1px 0 rgba(0, 0, 0, 0.18),
      0 0 0 10px rgba(0, 202, 224, 0);
  }
}
/* 粒子光斑呼吸 */
@keyframes hero-cta-sparkle {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.8); }
}
/* 无障碍: 用户偏好减少动画时禁用 */
@media (prefers-reduced-motion: reduce) {
  .hero-form button,
  .hero-form button::after {
    animation: none !important;
  }
}
.hero-cta-row {
  display: flex;
  gap: 24px;
  margin-top: 4px;
}
.hero-cta {
  color: var(--jm-text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.hero-cta:hover {
  color: var(--jm-cyan);
  border-bottom-color: var(--jm-cyan);
}
/* hero 视频控制条 / 进度条 / 缩略轨 已移除 (2026-07-15 用户要求去掉播放器按钮, 让背景视频完整展示) */
/* (播放器相关类全部移除) */

/* === 背景音乐 audio: 隐藏 (不显示原生播放器) ===
   注意: 不要用 display:none / visibility:hidden —— 浏览器会暂停这种 "未渲染" 媒体元素的播放,
   会导致 muted→unmuted 后仍然无声. 也别 width:0 + height:0 同时 (Chrome 可能认为元素无内容),
   用 min-width/min-height 1px 占位 + opacity:0 隐藏. */
#heroAudio {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  min-width: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* === 声音开关角标 (jimeng 风: 极小角标, 默认显示"静音"提示, 点击解除) === */
/* 位置: 放在 hero 内层 (hero-content) 直接定位到视口右下角,
   通过 transform + max-width 反推中心对齐, 不受 hero-content 容器宽度限制 */
.hero-sound-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(10, 12, 18, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--jm-text-1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  pointer-events: auto; /* 显式: 接受点击 */
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
  animation: hero-sound-pulse 2.4s ease-in-out infinite;
}
.hero-sound-toggle:hover {
  background: rgba(10, 12, 18, 0.75);
  border-color: var(--jm-cyan);
  transform: translateY(-1px);
  animation: none; /* hover 时停止脉冲, 避免干扰 */
}
.hero-sound-toggle svg { flex-shrink: 0; }
.hero-sound-toggle .ico-unmute { display: none; }
.hero-sound-toggle.is-on .ico-mute { display: none; }
.hero-sound-toggle.is-on .ico-unmute { display: inline-block; color: var(--jm-cyan); }
.hero-sound-toggle.is-on { background: rgba(0, 202, 224, 0.18); border-color: var(--jm-cyan); color: var(--jm-cyan); animation: none; }
.hero-sound-toggle.is-on .hero-sound-tip { color: var(--jm-cyan); }
.hero-sound-tip { user-select: none; }
/* 脉冲: 提示用户点击 */
@keyframes hero-sound-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 202, 224, 0.0); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 202, 224, 0.12); }
}

/* === 平板 (768 ~ 1024): 文本块微调 + 跟 hero 区对齐 === */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-content { padding: 48px 36px 0; }
  /* §hero-responsive v2: 平板断点只调左右 padding 和 bottom 偏移, 不覆盖 clamp 字号 */
  .hero-text {
    left: 24px;
    bottom: calc(22% + 70px);
    /* gap / width / font-size 都用 clamp 默认, 这里只调 gap 略小 */
    gap: clamp(10px, 1.4vw, 16px);
  }
  .hero-h1 { font-size: clamp(28px, 4.6vw, 48px); }
  .hero-p { font-size: clamp(12px, 1vw, 15px); max-width: 80%; }
  .hero-form { max-width: 460px; }
  .hero-sound-toggle { right: 20px; bottom: 20px; padding: 7px 12px 7px 9px; font-size: 10.5px; }
}
/* === 手机 (<=768): 紧凑布局 + 视频铺满 + 文本块占满宽度 === */
@media (max-width: 768px) {
  /* mobile: 仍铺满整个视口, 但 hero-text 内容要避开 nav */
  .hero { height: 100vh; min-height: 560px; }
  .hero-content { padding: 72px 18px 0; }
  /* §hero-responsive v2: 手机断点只调 left/right (左右对称占满) + bottom 偏移 */
  .hero-text {
    left: 18px;
    right: 18px;
    bottom: calc(18% + 70px);
    /* gap 缩到更紧凑, 但仍 clamp */
    gap: clamp(10px, 2.5vw, 14px);
  }
  .hero-p br { display: none; } /* mobile: 单行排版 */
  .hero-cta-row { gap: 16px; margin-top: 0; }
  .hero-cta { font-size: 12.5px; }
  /* 声音按钮: mobile 跟着 hero-cta-row 后面, 不与 hero-text 重叠 */
  .hero-sound-toggle {
    right: 14px;
    bottom: 14px; /* 移到右下角, 距离 hero-cta-row 不远 */
    padding: 6px 10px 6px 8px;
    font-size: 10px;
    gap: 6px;
  }
  .hero-sound-toggle svg { width: 14px; height: 14px; }
}
/* === 超小屏 (<=380): iPhone SE 等 — 文本块压到极致 === */
@media (max-width: 380px) {
  .hero-content { padding: 56px 14px 0; }
  .hero-text {
    left: 14px;
    right: 14px;
    bottom: 16px;
    top: auto;
    /* 超小屏额外压紧 gap */
    gap: clamp(8px, 2vw, 10px);
  }
  /* §hero-responsive v2: 超小屏用更小的 clamp min (防止字号太小看不清) */
  .hero-h1 { font-size: clamp(20px, 6vw, 26px); line-height: 1.22; }
  .hero-p { font-size: clamp(11px, 2vw, 12px); line-height: 1.45; }
  /* form 超小屏: 按钮和输入框紧凑 (避免 input flex:1 被撑没) */
  .hero-form { min-height: 36px; }
  .hero-form input { font-size: clamp(11px, 2vw, 12px); padding-left: 6px; }
  /* 按钮小一点, 给 input 留出空间 (input flex:1 自然占满剩余) */
  .hero-form button { font-size: clamp(11px, 2vw, 12px); padding: clamp(4px, 1vw, 6px) clamp(8px, 2vw, 12px); }
  .hero-sound-toggle { right: 8px; bottom: 8px; padding: 4px 7px 4px 6px; font-size: 9px; }
  .hero-sound-toggle svg { width: 11px; height: 11px; }
  /* iPhone SE 极窄屏: hero 改 3/2 (比 16:9 高, 文本能装下) */
  .hero { height: auto; min-height: 280px; aspect-ratio: 3 / 2; max-height: none; }
  .hero-stage video { object-position: 50% 40%; }
  .feature-media { aspect-ratio: 4 / 3; }
}

/* ============================================================
   3) 双栏小视频 (jimeng box-nt966n 风格: 左/右 视频 + 文字)
   ============================================================ */
.feature {
  padding: 80px 56px;
  background: var(--jm-bg-1);
}
.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: 64px;
  max-width: var(--jm-max);
  margin: 0 auto;
  align-items: center;
}
.feature-inner.reverse {
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
}
.feature-inner.reverse .feature-media { order: 2; }
.feature-inner.reverse .feature-info { order: 1; }
.feature-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--jm-border-sub);
  isolation: isolate;
  /* jimeng 模式: 移动端 16:9 太扁, 改 4/3 更舒适且能容纳更多视频内容 */
}
.feature-media video,
.feature-media .feature-media-image {
  width: 100%; height: 100%;
  display: block; object-fit: cover;
  /* 2026-08-09 §hero-video-1to1: 移除 hover scale 动画.
     之前 transform: scale(1.04) 在 hover 时放大 4%, 即使 .feature-media
     有 overflow:hidden, 部分浏览器 transform + overflow 组合表现不一致,
     导致视频视觉上"溢出" feature 卡片. 现在 hover 不放大, 保持 1:1. */
  transition: none;
}
/* 关键 (2026-07-30 修复 "先图后视频"): feature / canvas 与 hero 同款
   .feature-media / .canvas-demo 内 video 也在 img 之上, 一旦 loadeddata
   立刻覆盖 <img> poster, 避免"先图后视频" 的体验灾难 */
.feature-media video,
.canvas-demo video { z-index: 2; }
.feature-media .feature-media-image,
.canvas-demo .canvas-media-image { z-index: 1; }
.feature-media .feature-media-image[hidden],
.canvas-media-image[hidden] { display: none !important; }
.feature-media .feature-media-image[hidden],
.canvas-media-image[hidden] { display: none; }
/* 2026-08-09 §hero-video-1to1: 移除 hover scale, 视频保持 1:1 大小
.feature-inner:hover .feature-media video,
.feature-inner:hover .feature-media .feature-media-image { transform: scale(1.04); }
*/
.feature-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(127, 67, 255, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.45) 100%);
}
.feature-corner-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(13, 17, 23, 0.7); backdrop-filter: blur(8px);
  border: 1px solid var(--jm-border-sub);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--jm-cyan);
}
.feature-info {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
}
.feature-title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500; line-height: 1.2; letter-spacing: 0.02em;
  color: var(--jm-text-1); margin: 0;
}
.feature-desc {
  font-size: 16px; line-height: 26px;
  color: var(--jm-text-sub); margin: 0; max-width: 480px;
}
.feature-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 32px;
  border: 1px solid rgba(224, 245, 255, 0.6);
  border-radius: 8px;
  color: var(--jm-text-muted);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  background: transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.feature-btn:hover {
  background: var(--jm-cyan);
  color: #0a1424;
  border-color: var(--jm-cyan);
}
@media (max-width: 1024px) {
  .feature { padding: 56px 24px; }
  .feature-inner { grid-template-columns: 1fr; gap: 32px; }
  .feature-inner.reverse .feature-media,
  .feature-inner.reverse .feature-info { order: initial; }
  .feature-info { align-items: center; text-align: center; }
}
@media (max-width: 600px) {
  .feature { padding: 40px 16px; }
  .feature-title { font-size: 22px; }
  /* 移动端: 16:9 视频在窄屏只占很扁一条, 改 4/3 容纳更多内容 */
  .feature-media { aspect-ratio: 4 / 3; }
  .feature-corner-tag { top: 10px; left: 10px; padding: 4px 10px; font-size: 10px; }
  .feature-desc { font-size: 14px; }
  /* 数字孪生 (canvas-demo): 移动端 16:10 太宽, 改 1/1 (方图) 更适合竖屏 */
  .canvas-demo { aspect-ratio: 1 / 1; }
  .canvas-tile-1, .canvas-tile-2, .canvas-tile-3 { transform: scale(0.72); }
}

/* ============================================================
   4) AI 绘画 (大标题 + prompt chip 网格)
   ============================================================ */
.paint {
  padding: 80px 24px;
  background: var(--jm-bg-1);
  text-align: center;
  border-top: 1px solid var(--jm-border-sub);
  border-bottom: 1px solid var(--jm-border-sub);
}
.paint-head {
  max-width: 760px;
  margin: 0 auto 40px;
}
.paint-h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500; line-height: 1.2; letter-spacing: 0.02em;
  color: var(--jm-text-1); margin: 0 0 16px;
}
.paint-p {
  font-size: 15px; line-height: 24px;
  color: var(--jm-text-sub); margin: 0 0 24px;
}
.paint-cta {
  display: inline-flex; align-items: center;
  padding: 12px 26px;
  border: 1px solid rgba(224, 245, 255, 0.6);
  border-radius: 8px;
  color: var(--jm-text-1);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.paint-cta:hover {
  background: var(--jm-cyan);
  color: #0a1424;
  border-color: var(--jm-cyan);
}
.paint-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.paint-card {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--jm-card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--jm-border-sub);
  border-radius: 12px;
  text-align: left;
  color: var(--jm-text-1);
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
  cursor: pointer;
}
.paint-card:hover {
  border-color: rgba(127, 67, 255, 0.45);
  background: rgba(127, 67, 255, 0.1);
  transform: translateY(-2px);
}
.paint-tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7f43ff, var(--jm-cyan));
  color: #fff;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.paint-prompt {
  flex: 1;
  font-size: 14px; line-height: 1.5;
  color: var(--jm-text-muted);
}
.paint-arrow {
  color: var(--jm-text-faint);
  font-size: 16px;
  flex-shrink: 0;
}
.paint-card:hover .paint-arrow { color: var(--jm-cyan); transform: translateX(2px); }

@media (max-width: 768px) {
  .paint { padding: 56px 16px; }
  .paint-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   5) 智能画布 (jimeng box-OEFnpI 风: 全屏宽 + 双栏)
   ============================================================ */
.canvas {
  position: relative;
  padding: 0;
  background: var(--jm-blue-dark);
  overflow: hidden;
}
.canvas-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 80% at 30% 30%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(135deg, var(--jm-blue-dark) 0%, #1375c8 50%, #157acd 80%, #0c3560 100%);
}
.canvas-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(380px, 0.85fr) minmax(560px, 1.15fr);
  gap: 56px;
  align-items: center;
  max-width: var(--jm-max);
  margin: 0 auto;
  padding: 88px 56px;
}
.canvas-left {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.canvas-eyebrow {
  display: inline-flex; align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(56, 222, 200, 0.14);
  border: 1px solid rgba(56, 222, 200, 0.32);
  color: #6ee7d4;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.canvas-h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500; line-height: 1.1; letter-spacing: 0.02em;
  color: var(--jm-text-1); margin: 0;
}
.canvas-p {
  font-size: 16px; line-height: 26px;
  color: var(--jm-text-sub); margin: 0; max-width: 480px;
}
.canvas-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 32px;
  margin-top: 12px;
  background: var(--jm-cyan);
  color: #0a1424 !important;
  border-radius: 8px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: filter 0.18s, transform 0.18s, box-shadow 0.18s;
}
.canvas-cta:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 202, 224, 0.4); }
.canvas-demo {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  border-radius: 12px; overflow: hidden; background: #000;
  border: 1px solid var(--jm-border);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.canvas-demo video,
.canvas-demo .canvas-media-image {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.canvas-demo .canvas-media-image[hidden] { display: none; }
.canvas-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 100%);
}
.canvas-stamp {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 222, 200, 0.4);
  color: #6ee7d4;
  font-size: 12px; font-weight: 600;
}
.canvas-tile {
  position: absolute; z-index: 3;
  border-radius: 12px;
  background: rgba(13, 17, 23, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--jm-border-sub);
  padding: 8px 10px;
  display: flex; flex-direction: column; gap: 2px;
  animation: tile-float 4.5s ease-in-out infinite;
}
.canvas-tile .t-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--jm-text-sub);
}
.canvas-tile .t-chart { width: 100%; height: auto; display: block; }
.canvas-tile-1 { width: 22%; aspect-ratio: 1.6/1; top: 14%; left: 6%; animation-delay: 0s; }
.canvas-tile-2 { width: 26%; aspect-ratio: 2/1; bottom: 18%; left: 8%; animation-delay: 1s; }
.canvas-tile-3 { width: 18%; aspect-ratio: 1.6/1; top: 16%; right: 8%; animation-delay: 2s; }
@keyframes tile-float {
  0%, 100% { transform: translateY(0); opacity: 0.88; }
  50% { transform: translateY(-6px); opacity: 1; }
}
@media (max-width: 1024px) {
  .canvas-inner { grid-template-columns: 1fr; gap: 32px; padding: 64px 32px; }
  .canvas-left { text-align: center; align-items: center; }
}
@media (max-width: 768px) {
  .canvas-inner { padding: 48px 16px; }
  .canvas-tile { display: none; }
}

/* ============================================================
   6) 智造涌动 (auimlab 4 列 风: 4 列 flex 垂直瀑布)
   ============================================================ */
.community {
  padding: 88px 24px 80px;
  background: var(--jm-bg-1);
  overflow: hidden;
}
.community-head {
  max-width: 720px; margin: 0 auto 32px; text-align: center;
}
.community-h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500; line-height: 1.1; letter-spacing: 0.02em;
  color: var(--jm-text-1); margin: 0 0 14px;
}
.community-p {
  font-size: 16px; line-height: 24px;
  color: var(--jm-text-sub); margin: 0;
}
.community-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 36px;
}
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--jm-border-sub);
  color: var(--jm-text-sub);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
}
.chip:hover { border-color: rgba(127, 67, 255, 0.5); color: var(--jm-text-1); }
.chip.active,
.chip.active:hover {
  background: rgba(127, 67, 255, 0.16);
  border-color: rgba(127, 67, 255, 0.55);
  color: var(--jm-cyan);
}
.community-waterfall {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: center;
  gap: 10px; overflow: hidden;
}
.cmt-col {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.cmt-card {
  position: relative; width: 100%;
  border-radius: 8px; overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.3s;
  display: block;
  background: linear-gradient(135deg, #6ee7d4, #7f43ff);
}
.cmt-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5);
}
.cmt-thumb {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.cmt-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.45) 80%);
}
.cmt-card:hover .cmt-overlay {
  background: linear-gradient(180deg, rgba(127,67,255,0.18) 0%, rgba(0,0,0,0.55) 100%);
}
.cmt-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 12px 12px; color: #fff; z-index: 2;
}
.cmt-cat {
  display: inline-flex; align-items: center;
  padding: 2px 7px; border-radius: 4px;
  background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 1px; margin-bottom: 6px; text-transform: uppercase;
}
.cmt-title {
  font-size: 13px; font-weight: 600; line-height: 1.4; margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.cmt-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px;
  font-size: 10.5px; color: rgba(255, 255, 255, 0.85);
}
.cmt-author { font-weight: 500; }
.cmt-like { color: rgba(255, 100, 200, 0.85); font-weight: 600; }
.cmt-empty {
  width: 100%; padding: 60px 24px; text-align: center;
  color: var(--jm-text-faint); font-size: 14px;
}
/* 「加载更多」按钮 - 默认隐藏, 滚到底部才显示 */
.community-more {
  display: flex; justify-content: center; margin-top: 40px;
}
.community-more-btn {
  padding: 12px 36px;
  border-radius: 999px;
  border: 1px solid var(--jm-border-sub);
  background: rgba(255, 255, 255, 0.04);
  color: var(--jm-text-1);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}
.community-more-btn:hover:not([disabled]) {
  background: rgba(127, 67, 255, 0.18);
  border-color: rgba(127, 67, 255, 0.55);
  transform: translateY(-1px);
}
.community-more-btn[disabled] { opacity: 0.55; cursor: not-allowed; }

@media (max-width: 768px) {
  .community { padding: 56px 16px; }
  .community-waterfall { gap: 6px; }
}

/* ============================================================
   7) Footer (jimeng 风简洁)
   ============================================================ */
.footer {
  border-top: 1px solid var(--jm-border-sub);
  padding: 56px 32px 24px;
  background: var(--jm-bg-1);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* 链接列 + 二维码横排 */
.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--jm-text-1);
  letter-spacing: 2px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--jm-border-sub);
}
.footer-col a {
  font-size: 13px;
  color: var(--jm-text-sub);
  text-decoration: none;
  transition: color 0.15s;
  line-height: 1.6;
}
.footer-col a:hover { color: var(--jm-cyan); }

/* 二维码 */
.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-qr-img {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 0 0 1px var(--jm-border-sub);
}
.footer-qr-img svg { width: 100%; height: 100%; display: block; }
.footer-qr-txt {
  font-size: 12px;
  color: var(--jm-text-sub);
}

/* 底部 ICP / 法律 */
.footer-bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--jm-border-sub);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--jm-text-muted);
  font-size: 13px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-brand-row svg { color: var(--jm-text-sub); }
.footer-sep { color: var(--jm-text-faint); }
.footer-powered { color: var(--jm-text-faint); font-size: 12px; }
.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  color: var(--jm-text-faint);
}
.footer-legal a { color: var(--jm-text-faint); text-decoration: none; transition: color 0.15s; }
.footer-legal a:hover { color: var(--jm-text-sub); }
.footer-copy { color: var(--jm-text-faint); font-size: 11px; }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

/* ============================================================
   8) Reveal animation
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .canvas-tile { animation: none; }
}


/* ============================================================
   智造涌动 CTA - 「查看全部文章」外链 (替代加载更多)
   ============================================================ */
.community-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.community-see-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  border-radius: 999px;
  background: var(--jm-cyan);
  color: #0a1424 !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 6px 18px rgba(0, 202, 224, 0.32);
}
.community-see-all-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 202, 224, 0.45);
  text-decoration: none;
}


/* ============================================================
   智造涌动 mask (auimlab 卡片浮层)
   - hover 全卡覆盖一层黑色模糊蒙版
   - 中央浮「创作同款」按钮 (chip + 箭头 + cyan 蓝)
   ============================================================ */
.cmt-card {
  position: relative;
}
.cmt-card,
.cmt-card:hover {
  text-decoration: none;
}
.cmt-mask {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 17, 23, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
}
.cmt-card:hover .cmt-mask,
.cmt-card:focus-within .cmt-mask {
  opacity: 1;
  pointer-events: auto;
}
.cmt-mask:hover {
  background: rgba(13, 17, 23, 0.7);
}
.cmt-mask-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--jm-cyan);
  color: #0a1424;
  font-size: 13px;
  font-weight: 700;
  transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
}
.cmt-mask-inner svg { color: #0a1424; }
.cmt-mask:hover .cmt-mask-inner {
  filter: brightness(1.05);
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(0, 202, 224, 0.45);
}


/* ============================================================
   AI 绘画 Demo 输出区 (jimeng 风直接展示结果)
   ============================================================ */
.paint-demo {
  max-width: 1080px;
  margin: 28px auto 0;
  border-radius: 16px;
  border: 1px solid var(--jm-border);
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.7) 0%, rgba(13, 17, 23, 0.7) 100%);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.paint-demo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--jm-border-sub);
}
.paint-demo-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(127, 67, 255, 0.14);
  border: 1px solid rgba(127, 67, 255, 0.3);
  color: #c4a4ff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.paint-demo-q {
  flex: 1;
  font-size: 13px;
  color: var(--jm-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.paint-demo-close {
  border: none;
  background: transparent;
  color: var(--jm-text-sub);
  font-size: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.paint-demo-close:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.paint-demo-body {
  padding: 28px 18px 22px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 加载动画 */
.paint-demo-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.paint-demo-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(0, 202, 224, 0.15);
  border-top-color: var(--jm-cyan);
  animation: pd-spin 0.8s linear infinite;
}
@keyframes pd-spin { to { transform: rotate(360deg); } }
.paint-demo-status {
  color: var(--jm-text-muted);
  font-size: 13.5px;
  letter-spacing: 0.5px;
}
.paint-demo-progress {
  width: min(420px, 90%);
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 6px;
}
.paint-demo-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--jm-cyan), #7f43ff);
  width: 0%;
  transition: width 0.18s ease-out;
}
.paint-demo-progress-num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--jm-cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}
/* 最终结果 */
.paint-demo-result {
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}
.paint-demo-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.paint-demo-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.paint-demo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
}
.paint-demo-overlay .paint-demo-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(13, 17, 23, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 202, 224, 0.4);
  color: var(--jm-cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.paint-demo-overlay .paint-demo-status {
  align-self: flex-end;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  max-width: 90%;
  text-align: right;
}
.paint-demo-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(13, 17, 23, 0.6);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--jm-border-sub);
}
.paint-demo-kv {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
}
.paint-demo-kv .k { color: var(--jm-text-sub); }
.paint-demo-kv .v {
  color: var(--jm-text-1);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}
.paint-demo-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}
.paint-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid var(--jm-border-sub);
  background: rgba(255, 255, 255, 0.04);
  color: var(--jm-text-1);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.paint-demo-btn:hover {
  background: rgba(127, 67, 255, 0.18);
  border-color: rgba(127, 67, 255, 0.55);
  transform: translateY(-1px);
  text-decoration: none;
}
.paint-demo-btn-primary {
  background: var(--jm-cyan);
  color: #0a1424 !important;
  border-color: var(--jm-cyan);
}
.paint-demo-btn-primary:hover {
  background: var(--jm-cyan);
  filter: brightness(1.05);
  color: #0a1424 !important;
}
.paint-demo-btn-retry {
  background: rgba(255, 100, 200, 0.1);
  border-color: rgba(255, 100, 200, 0.4);
  color: #ff64c8;
}

@media (max-width: 768px) {
  .paint-demo-result { grid-template-columns: 1fr; }
  .paint-demo-meta { padding: 12px 14px; }
}


/* ============================================================
   Header 顶部进度条 (jimeng 风)
   ============================================================ */
.nav-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  overflow: hidden;
  z-index: 1;
}
.nav-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--jm-cyan), #7f43ff, var(--jm-cyan));
  background-size: 200% 100%;
  animation: nav-progress-flow 2.5s linear infinite;
  transition: width 0.15s ease-out;
}
@keyframes nav-progress-flow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.nav-progress {
  /* 初始完全不可见: 无背景轨道 (避免破坏 nav 透明感).
     滚动后由 JS 控制显示填充条 (按滚动进度填充, 不超过 100%). */
  background: transparent;
}

/* ============================================================
   jimeng 风格 整页响应式深度优化
   断点: 1440 (大屏降级) / 1024 (平板改 column) / 768 (手机) / 600 (小屏)
   模式: 大屏降级只缩 padding/font; 中屏/平板改 flex 方向; 手机 column
   ============================================================ */

/* === 1440px 大屏降级 (jimeng 模式: padding + 字号按比例缩) === */
@media (max-width: 1440px) {
  :root { --jm-nav-h: 64px; }
  .nav-inner { padding: 0 32px; }
  .nav-link { font-size: 14px; }
  .hero-content { padding: 48px 48px 0; }
  .hero-h1 { font-size: clamp(36px, 4.6vw, 52px); line-height: 1.18; }
  .feature-inner { gap: 48px; max-width: 1200px; }
  .canvas-inner { padding: 80px 48px; gap: 48px; max-width: 1200px; }
  .paint { padding: 80px 48px; }
  .community { padding: 80px 48px; }
  .footer-inner { padding: 56px 48px 32px; }
}

/* === 1024px 平板 (jimeng 模式: nav 折叠汉堡, feature/canvas 改 column-reverse) === */
@media (max-width: 1024px) {
  .hero-content { padding: 40px 40px 0; }
  .hero-h1 { font-size: clamp(28px, 4vw, 42px); }
  .hero-form { width: 100%; max-width: 520px; }
  .feature-inner,
  .feature-inner.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 32px;
  }
  .feature-inner.reverse .feature-media { order: -1; }
  .feature-inner.reverse .feature-info { order: 0; }
  .feature-title { font-size: clamp(24px, 2.6vw, 30px); }
  .feature-desc { font-size: 15px; }
  .canvas-inner {
    grid-template-columns: 1fr;
    padding: 60px 32px;
    gap: 40px;
    text-align: center;
  }
  .canvas-left { align-items: center; }
  .canvas-h2 { font-size: clamp(24px, 2.6vw, 32px); }
  .canvas-p { font-size: 15px; }
  .canvas-tile-1 { width: 36%; left: 8%; top: 12%; }
  .canvas-tile-2 { width: 40%; left: 6%; bottom: 12%; }
  .canvas-tile-3 { width: 30%; right: 6%; top: 14%; }
  .paint { padding: 60px 32px; }
  .paint-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
  .paint-h2 { font-size: clamp(22px, 2.4vw, 30px); }
  .community { padding: 60px 32px; }
  .community-h2 { font-size: clamp(22px, 2.4vw, 30px); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-inner { padding: 48px 32px 28px; }
  .hero-sound-toggle { right: 20px; bottom: 20px; }
}

/* === 768px 手机 (jimeng 模式: padding/font 再缩, logo 缩小) === */
@media (max-width: 768px) {
  :root { --jm-nav-h: 56px; }
  .nav-inner { padding: 0 16px; }
  .nav-logo svg { width: 24px; height: 24px; }
  .nav-logo-text { display: none; }
  .hero-content { padding: 24px 18px 0; }
  .hero-h1 { font-size: clamp(24px, 5vw, 32px); }
  .hero-h1 { line-height: 1.25; }
  .hero-form { height: 44px; }
  .hero-form input { font-size: 14px; }
  .hero-form button { padding: 8px 16px; font-size: 13px; }
  .feature-inner { padding: 0 18px; gap: 24px; }
  .feature-title { font-size: clamp(20px, 4.5vw, 26px); }
  .feature-desc { font-size: 14px; }
  .canvas-inner { padding: 48px 18px; gap: 28px; }
  .canvas-h2 { font-size: clamp(20px, 4.5vw, 26px); }
  .canvas-p { font-size: 14px; }
  .canvas-cta { padding: 10px 20px; font-size: 13px; }
  .canvas-tile-1, .canvas-tile-2, .canvas-tile-3 { transform: scale(0.85); }
  .paint { padding: 48px 18px; }
  .paint-grid { grid-template-columns: 1fr; }
  .paint-h2 { font-size: clamp(20px, 4.5vw, 26px); }
  .paint-p { font-size: 14px; }
  .community { padding: 48px 18px; }
  .community-h2 { font-size: clamp(20px, 4.5vw, 26px); }
  .community-p { font-size: 14px; }
  .community-chips { gap: 6px; }
  .chip { font-size: 13px; padding: 6px 12px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { padding: 40px 18px 24px; }
  .hero-sound-toggle { right: 14px; bottom: 14px; padding: 6px 10px 6px 8px; font-size: 10px; }
  .hero-sound-toggle svg { width: 14px; height: 14px; }
  .footer-qr-img svg { width: 72px; height: 72px; }
}

/* === 600px 小屏 (footer 收尾, 极小屏补强) === */
@media (max-width: 600px) {
  .nav-burger { width: 36px; height: 36px; }
  .nav-burger svg { width: 18px; height: 18px; }
  .hero-content { padding: 20px 14px 0; }
  .hero-h1 { font-size: 22px; }
  .hero-form { height: 40px; padding: 4px 4px 4px 12px; }
  .feature-inner { padding: 0 14px; }
  .canvas-inner { padding: 40px 14px; }
  .paint { padding: 40px 14px; }
  .community { padding: 40px 14px; }
  .footer-inner { padding: 32px 14px 20px; }
  .footer-col h4 { font-size: 13px; }
  .footer-col a { font-size: 13px; }
  .footer-qr-img { display: none; }
  .footer-main { flex-direction: column; gap: 24px; }
}

/* === 380px 极小屏 (iPhone SE 等) === */
@/* 2026-08-07 §hero-responsive: 老的 380 块里 hero 相关规则已合并到上面
   (行 878 的新 380 块, 包含 hero-text/h1/p/form/input/button 的完整 clamp 缩放).
   这里只保留其他模块 (feature / canvas / paint / community 标题字号) 的 380 适配. */
@media (max-width: 380px) {
  .feature-title, .canvas-h2, .paint-h2, .community-h2 { font-size: 18px; }
}


/* ============================================================
   Page-specific Extensions (from manufacturers/system/roadmap/search)
   2026-07-21 方案 C: 从 4 个页面内嵌 style 块外提, 统一收纳
   ============================================================ */

/* --- Manufacturers + System (mf-* token) --- */
:root {
      --mf-cyan: #00cae0;
      --mf-blue: #1375c8;
      --mf-purple: #a78bfa;
      --mf-pink: #ff79c6;
      --mf-green: #3fb950;
      --mf-orange: #f0883e;
      --mf-text: #ebf8ff;
      --mf-text-dim: rgba(224, 245, 255, 0.72);
      --mf-text-faint: rgba(224, 245, 255, 0.5);
      --mf-border: rgba(255, 255, 255, 0.10);
      --mf-card: rgba(13, 17, 23, 0.62);
    }

/* === Manufacturers === */
/* ============== Manufacturers page (自包含, 不污染 jimeng) ============== */
    

    /* ============== Hero (紧凑, 不抢主页 hero 风) ============== */
    .mf-hero {
      position: relative;
      min-height: 460px;
      padding: 140px 24px 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      isolation: isolate;
      background:
        radial-gradient(60% 80% at 20% 0%, rgba(19,117,200,0.35) 0%, transparent 65%),
        radial-gradient(50% 60% at 90% 100%, rgba(0,202,224,0.20) 0%, transparent 65%),
        linear-gradient(180deg, #060c20 0%, #081428 100%);
    }
    /* 装饰: 网格 + 数据点 + 浮动光斑 */
    .mf-hero::before {
      content: '';
      position: absolute; inset: 0; z-index: -1;
      background-image:
        linear-gradient(rgba(0,202,224,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,202,224,0.06) 1px, transparent 1px);
      background-size: 56px 56px;
      mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 85%);
      -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 85%);
    }
    .mf-hero::after {
      content: '';
      position: absolute; inset: 0; z-index: -1;
      background:
        radial-gradient(420px 420px at 85% 20%, rgba(0,202,224,0.16), transparent 70%),
        radial-gradient(380px 380px at 12% 90%, rgba(167,139,250,0.18), transparent 70%);
      filter: blur(2px);
    }
    .mf-hero-inner {
      max-width: 1100px;
      width: 100%;
      text-align: center;
      position: relative;
      z-index: 1;
    }
    .mf-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      background: rgba(0,202,224,0.08);
      border: 1px solid rgba(0,202,224,0.28);
      border-radius: 999px;
      color: var(--mf-cyan);
      font-size: 12px;
      font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
      letter-spacing: 1.2px;
      margin-bottom: 24px;
    }
    .mf-eyebrow::before {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--mf-cyan);
      box-shadow: 0 0 8px var(--mf-cyan);
      animation: mf-blink 1.8s ease-in-out infinite;
    }
    @keyframes mf-blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.35; }
    }
    .mf-h1 {
      font-size: clamp(36px, 5vw, 56px);
      font-weight: 800;
      letter-spacing: -0.01em;
      line-height: 1.1;
      margin-bottom: 18px;
      background: linear-gradient(135deg, #ebf8ff 0%, #7fd9ff 50%, #a78bfa 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .mf-sub {
      max-width: 760px;
      margin: 0 auto 32px;
      font-size: 16px;
      line-height: 1.7;
      color: var(--mf-text-dim);
    }
    /* Hero 数据条 */
    .mf-hero-stats {
      display: flex;
      justify-content: center;
      gap: 48px;
      flex-wrap: wrap;
      margin-top: 36px;
      padding-top: 28px;
      border-top: 1px solid var(--mf-border);
    }
    .mf-stat {
      text-align: center;
    }
    .mf-stat-num {
      font-size: 28px;
      font-weight: 800;
      color: var(--mf-cyan);
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: -0.02em;
    }
    .mf-stat-label {
      font-size: 11px;
      color: var(--mf-text-faint);
      letter-spacing: 1.2px;
      text-transform: uppercase;
      margin-top: 4px;
    }

    /* ============== 类别锚点导航条 (sticky) ============== */
    .mf-catnav {
      position: sticky;
      top: 68px;
      z-index: 50;
      background: rgba(6, 12, 32, 0.85);
      backdrop-filter: blur(18px) saturate(160%);
      -webkit-backdrop-filter: blur(18px) saturate(160%);
      border-bottom: 1px solid var(--mf-border);
      padding: 12px 24px;
      overflow-x: auto;
      scrollbar-width: thin;
    }
    .mf-catnav::-webkit-scrollbar { height: 4px; }
    .mf-catnav::-webkit-scrollbar-thumb { background: rgba(0,202,224,0.3); border-radius: 2px; }
    .mf-catnav-inner {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      gap: 8px;
      align-items: center;
    }
    .mf-catnav-label {
      font-size: 11px;
      color: var(--mf-text-faint);
      letter-spacing: 1.2px;
      text-transform: uppercase;
      font-family: 'JetBrains Mono', monospace;
      margin-right: 12px;
      flex-shrink: 0;
    }
    .mf-catnav-link {
      flex-shrink: 0;
      padding: 6px 14px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--mf-border);
      border-radius: 999px;
      color: var(--mf-text-dim);
      font-size: 13px;
      cursor: pointer;
      transition: all 0.18s;
      white-space: nowrap;
    }
    .mf-catnav-link:hover {
      border-color: var(--mf-cyan);
      color: var(--mf-cyan);
      background: rgba(0,202,224,0.08);
    }
    .mf-catnav-link.is-active {
      border-color: var(--mf-cyan);
      color: var(--mf-cyan);
      background: rgba(0,202,224,0.12);
      box-shadow: 0 0 0 1px rgba(0,202,224,0.3);
    }

/* ============== 主内容区 (2026-07-22 优化: 段卡 + 表格 + 排布) ============== */
    .mf-main {
      max-width: 1280px;
      margin: 0 auto;
      padding: 56px 24px 80px;
    }

    /* 类别段: 左侧 4px 紫蓝渐变条 + 背景玻璃 + 段落间距 64px */
    .mf-cat {
      position: relative;
      margin-bottom: 64px;
      padding: 32px 32px 28px;
      background: linear-gradient(180deg, rgba(13, 17, 23, 0.55) 0%, rgba(13, 17, 23, 0.40) 100%);
      border: 1px solid rgba(127, 67, 255, 0.10);
      border-radius: 16px;
      backdrop-filter: blur(12px) saturate(160%);
      -webkit-backdrop-filter: blur(12px) saturate(160%);
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
      transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
      scroll-margin-top: 130px;
    }
    .mf-cat::before {
      content: '';
      position: absolute;
      top: 24px; bottom: 24px; left: 0;
      width: 4px;
      border-radius: 2px;
      background: linear-gradient(180deg, #00cae0 0%, #7f43ff 100%);
      box-shadow: 0 0 12px rgba(0, 202, 224, 0.35);
    }
    .mf-cat:hover {
      border-color: rgba(127, 67, 255, 0.25);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
    }

    /* 类别头: 兼容旧 HTML (num/title/en/tagline 平铺), 用 grid 自动分行
       上行: num (左 chip) + title (中间大字) + en (右)
       下行: tagline (左侧带 › 前缀) */
    .mf-cat-header {
      display: grid;
      grid-template-columns: auto 1fr auto;
      grid-template-areas:
        "num title en"
        "tagline tagline tagline";
      column-gap: 14px;
      row-gap: 8px;
      align-items: center;
      margin-bottom: 24px;
      padding-bottom: 18px;
      border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    }
    .mf-cat-num {
      grid-area: num;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12.5px;
      color: var(--mf-cyan);
      letter-spacing: 1.2px;
      padding: 4px 10px;
      background: rgba(0, 202, 224, 0.10);
      border: 1px solid rgba(0, 202, 224, 0.30);
      border-radius: 6px;
      font-weight: 700;
      white-space: nowrap;
      justify-self: start;
    }
    .mf-cat-title {
      grid-area: title;
      font-size: 28px;
      font-weight: 800;
      color: var(--mf-text);
      letter-spacing: -0.015em;
      line-height: 1.2;
    }
    .mf-cat-en {
      grid-area: en;
      font-size: 11px;
      color: rgba(224, 245, 255, 0.45);
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      font-weight: 500;
      white-space: nowrap;
      justify-self: end;
    }
    .mf-cat-tagline {
      grid-area: tagline;
      font-size: 13px;
      color: rgba(224, 245, 255, 0.65);
      letter-spacing: 0.3px;
      line-height: 1.5;
    }
    .mf-cat-tagline::before {
      content: '› ';
      color: var(--mf-cyan);
      font-weight: 700;
      margin-right: 4px;
    }

/* ============== 表格 (2026-07-22 优化: thead 渐变 + 行高 + 排版) ============== */
    .mf-table {
      width: 100%;
      background: rgba(8, 12, 24, 0.75);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 12px;
      overflow: hidden;
      border-collapse: separate;
      border-spacing: 0;
    }
    .mf-table thead {
      background: linear-gradient(135deg, rgba(0, 202, 224, 0.18) 0%, rgba(127, 67, 255, 0.12) 100%);
      border-bottom: 1px solid rgba(0, 202, 224, 0.35);
    }
    .mf-table th {
      text-align: left;
      padding: 14px 20px;
      font-size: 11.5px;
      font-weight: 700;
      color: #7fd9ff;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      font-family: 'JetBrains Mono', monospace;
    }
    .mf-table td {
      padding: 16px 20px;
      font-size: 14px;
      color: var(--mf-text);
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      vertical-align: middle;
      line-height: 1.5;
    }
    .mf-table tbody tr {
      transition: background 0.15s;
    }
    .mf-table tbody tr:hover {
      background: rgba(0, 202, 224, 0.06);
    }
    .mf-table tbody tr:last-child td {
      border-bottom: none;
    }
    .mf-table .mf-prod {
      font-weight: 700;
      color: var(--mf-cyan);
      white-space: nowrap;
      font-size: 14.5px;
    }
    .mf-table .mf-vendor {
      color: var(--mf-text);
      font-weight: 500;
      white-space: nowrap;
    }
    .mf-table .mf-feat {
      color: rgba(224, 245, 255, 0.78);
      line-height: 1.55;
    }

    /* ============== 行操作列 (可点击产品名 + 模型按钮) ============== */
    .mf-table .mf-actions {
      white-space: nowrap;
      padding: 10px 12px;
    }
    .mf-table .mf-prod {
      cursor: pointer;
      color: var(--mf-cyan);
      font-weight: 600;
      transition: color 0.15s, background 0.15s;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 2px 4px;
      margin: -2px -4px;
      border-radius: 4px;
    }
    .mf-table .mf-prod:hover {
      color: var(--mf-cyan-bright);
      background: rgba(0, 202, 224, 0.08);
    }
    .mf-table .mf-prod::after {
      content: '';
      width: 8px; height: 8px;
      border-right: 1.5px solid currentColor;
      border-top: 1.5px solid currentColor;
      transform: rotate(45deg);
      margin-left: 4px;
      opacity: 0;
      transition: opacity 0.15s, transform 0.15s;
    }
    .mf-table .mf-prod:hover::after {
      opacity: 0.7;
      transform: rotate(45deg) translate(1px, -1px);
    }
    /* 模型按钮 (chip 风格) */
    .mf-model-btn {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px 10px;
      background: linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(88, 166, 255, 0.18));
      border: 1px solid rgba(167, 139, 250, 0.35);
      border-radius: 999px;
      color: #c4a4ff;
      font-size: 11.5px;
      font-weight: 500;
      letter-spacing: 0.3px;
      cursor: pointer;
      transition: all 0.18s;
      text-decoration: none;
      white-space: nowrap;
      font-family: 'JetBrains Mono', monospace;
    }
    .mf-model-btn:hover {
      background: linear-gradient(135deg, rgba(167, 139, 250, 0.32), rgba(88, 166, 255, 0.32));
      border-color: #a78bfa;
      color: #fff;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(167, 139, 250, 0.25);
    }
    .mf-model-btn svg {
      width: 11px; height: 11px;
    }
    .mf-model-btn.is-disabled {
      opacity: 0.35;
      cursor: not-allowed;
      pointer-events: none;
      background: rgba(255,255,255,0.04);
      border-color: rgba(255,255,255,0.1);
      color: var(--mf-text-faint);
    }
    /* 移动端 (540px) 操作列: 模型按钮占满宽度 */
    @media (max-width: 540px) {
      .mf-table .mf-actions {
        padding: 4px 14px 12px;
      }
    }

    /* ============== 登录拦截 Modal ============== */
    .mf-modal-mask {
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgba(6, 12, 32, 0.7);
      backdrop-filter: blur(8px) saturate(120%);
      -webkit-backdrop-filter: blur(8px) saturate(120%);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      animation: mf-modal-fade 0.2s ease-out;
    }
    .mf-modal-mask.is-show { display: flex; }
    @keyframes mf-modal-fade {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    .mf-modal {
      position: relative;
      width: 100%;
      max-width: 440px;
      background: var(--mf-card);
      border: 1px solid rgba(0, 202, 224, 0.35);
      border-radius: 16px;
      padding: 32px 32px 28px;
      box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 202, 224, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
      animation: mf-modal-rise 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    @keyframes mf-modal-rise {
      from { opacity: 0; transform: translateY(20px) scale(0.97); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }
    /* 顶部高光 */
    .mf-modal::before {
      content: '';
      position: absolute;
      top: 0; left: 10%; right: 10%;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--mf-cyan), transparent);
      opacity: 0.6;
    }
    /* 关闭按钮 */
    .mf-modal-close {
      position: absolute;
      top: 14px; right: 14px;
      width: 28px; height: 28px;
      background: transparent;
      border: 1px solid var(--mf-border);
      border-radius: 50%;
      color: var(--mf-text-faint);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.15s;
    }
    .mf-modal-close:hover {
      border-color: var(--mf-cyan);
      color: var(--mf-cyan);
      background: rgba(0, 202, 224, 0.08);
    }
    .mf-modal-icon {
      width: 56px; height: 56px;
      margin: 0 auto 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, rgba(0,202,224,0.18), rgba(167,139,250,0.18));
      border: 1px solid rgba(0, 202, 224, 0.35);
      border-radius: 16px;
      color: var(--mf-cyan);
    }
    .mf-modal-icon svg { width: 28px; height: 28px; }
    .mf-modal-title {
      text-align: center;
      font-size: 20px;
      font-weight: 700;
      color: var(--mf-text);
      margin-bottom: 8px;
    }
    .mf-modal-sub {
      text-align: center;
      font-size: 13.5px;
      line-height: 1.7;
      color: var(--mf-text-dim);
      margin-bottom: 24px;
    }
    .mf-modal-sub b {
      color: var(--mf-cyan);
      font-weight: 600;
    }
    .mf-modal-actions {
      display: flex;
      gap: 10px;
    }
    .mf-modal-btn {
      flex: 1;
      padding: 12px 18px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.18s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: 1px solid transparent;
      letter-spacing: 0.3px;
    }
    .mf-modal-btn svg { width: 14px; height: 14px; }
    .mf-modal-btn-primary {
      background: linear-gradient(135deg, #1f6feb 0%, #7f43ff 100%);
      color: #fff;
      box-shadow: 0 6px 16px rgba(31, 111, 235, 0.35);
    }
    .mf-modal-btn-primary:hover {
      transform: translateY(-1px);
      filter: brightness(1.08);
      box-shadow: 0 10px 24px rgba(31, 111, 235, 0.45);
    }
    .mf-modal-btn-secondary {
      background: rgba(0, 202, 224, 0.08);
      border-color: rgba(0, 202, 224, 0.35);
      color: var(--mf-cyan);
    }
    .mf-modal-btn-secondary:hover {
      background: rgba(0, 202, 224, 0.18);
      border-color: var(--mf-cyan);
    }
    .mf-modal-hint {
      text-align: center;
      margin-top: 14px;
      font-size: 11.5px;
      color: var(--mf-text-faint);
      line-height: 1.6;
    }
    .mf-modal-hint a {
      color: var(--mf-cyan);
      text-decoration: none;
    }
    .mf-modal-hint a:hover { text-decoration: underline; }

    /* ============== 总结区 ============== */
    .mf-summary {
      margin-top: 80px;
      padding: 48px 36px;
      background:
        radial-gradient(60% 100% at 50% 0%, rgba(0,202,224,0.10), transparent 70%),
        var(--mf-card);
      border: 1px solid var(--mf-border);
      border-radius: 20px;
    }
    .mf-summary-h {
      text-align: center;
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 36px;
      color: var(--mf-text);
    }
    .mf-summary-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 18px;
    }
    .mf-summary-card {
      padding: 20px;
      background: rgba(255,255,255,0.02);
      border: 1px solid var(--mf-border);
      border-radius: 12px;
    }
    .mf-summary-card h4 {
      font-size: 14px;
      color: var(--mf-cyan);
      margin-bottom: 12px;
      letter-spacing: 0.5px;
    }
    .mf-summary-card ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .mf-summary-card li {
      font-size: 13px;
      color: var(--mf-text-dim);
      padding: 4px 0;
      line-height: 1.6;
    }
    .mf-summary-card li::before {
      content: '▸ ';
      color: var(--mf-cyan);
      margin-right: 4px;
    }
    .mf-trends {
      margin-top: 36px;
      padding: 28px 32px;
      background: linear-gradient(135deg, rgba(0,202,224,0.06), rgba(167,139,250,0.06));
      border: 1px solid rgba(0,202,224,0.2);
      border-radius: 14px;
    }
    .mf-trends-h {
      font-size: 14px;
      color: var(--mf-cyan);
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 18px;
      font-family: 'JetBrains Mono', monospace;
    }
    .mf-trends-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 14px;
    }
    .mf-trend {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      font-size: 13.5px;
      color: var(--mf-text-dim);
      line-height: 1.6;
    }
    .mf-trend-num {
      flex-shrink: 0;
      width: 22px; height: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(0,202,224,0.18);
      color: var(--mf-cyan);
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 700;
    }

    /* ============== Footer ============== */
    .mf-foot {
      max-width: 1280px;
      margin: 0 auto;
      padding: 32px 24px;
      text-align: center;
      font-size: 12px;
      color: var(--mf-text-faint);
      border-top: 1px solid var(--mf-border);
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.5px;
    }
    .mf-foot a { color: var(--mf-cyan); margin: 0 8px; }

    /* ============== 响应式 ============== */
    @media (max-width: 768px) {
      .mf-hero { min-height: 380px; padding: 120px 20px 40px; }
      .mf-hero-stats { gap: 24px; }
      .mf-stat-num { font-size: 22px; }
      .mf-main { padding: 36px 16px 60px; }
      .mf-cat { padding: 24px 20px 20px; margin-bottom: 48px; }
      .mf-cat-header { grid-template-columns: auto 1fr; grid-template-areas: "num title" "tagline tagline"; }
      .mf-cat-en { grid-area: 1 / 2; justify-self: end; }
      .mf-cat-num { font-size: 11.5px; padding: 3px 8px; }
      .mf-cat-title { font-size: 22px; }
      .mf-cat-en { font-size: 10.5px; letter-spacing: 1px; }
      .mf-cat-tagline { font-size: 12.5px; }
      .mf-cat-tagline { display: none; }
      .mf-table th, .mf-table td { padding: 12px 14px; font-size: 13px; }
      .mf-table .mf-prod { font-size: 13.5px; }
      .mf-table .mf-feat { font-size: 12.5px; }
      .mf-summary { padding: 32px 20px; }
    }
    @media (max-width: 540px) {
      .mf-table thead { display: none; }
      .mf-table, .mf-table tbody, .mf-table tr, .mf-table td { display: block; width: 100%; }
      .mf-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--mf-border);
        border-radius: 10px;
        background: rgba(255,255,255,0.02);
      }
      .mf-table td {
        border-top: none;
        padding: 8px 14px;
      }
      .mf-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 10px;
        color: var(--mf-text-faint);
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 4px;
        font-family: 'JetBrains Mono', monospace;
      }
      .mf-table td:first-child::before { content: ''; }
    }

/* === System === */
/* ============== Hero (紧凑) ============== */
    .sy-hero {
      position: relative;
      padding: 110px 24px 36px;
      max-width: 1280px;
      margin: 0 auto;
    }
    .sy-breadcrumb {
      display: flex;
      gap: 6px;
      align-items: center;
      font-size: 12px;
      color: var(--mf-text-faint);
      margin-bottom: 20px;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.5px;
      flex-wrap: wrap;
    }
    .sy-breadcrumb a { color: var(--mf-cyan); text-decoration: none; transition: color 0.15s; }
    .sy-breadcrumb a:hover { color: var(--mf-cyan-bright, #7fd9ff); }
    .sy-breadcrumb-sep { opacity: 0.4; margin: 0 2px; }
    .sy-cat-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 12px;
      background: rgba(0,202,224,0.08);
      border: 1px solid rgba(0,202,224,0.28);
      border-radius: 999px;
      color: var(--mf-cyan);
      font-size: 11px;
      letter-spacing: 1px;
      text-transform: uppercase;
      font-family: 'JetBrains Mono', monospace;
      margin-bottom: 14px;
    }
    .sy-h1 {
      font-size: clamp(28px, 4vw, 44px);
      font-weight: 800;
      letter-spacing: -0.01em;
      line-height: 1.1;
      margin: 0 0 10px;
      background: linear-gradient(135deg, #ebf8ff 0%, #7fd9ff 50%, #a78bfa 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .sy-vendor {
      font-size: 16px;
      color: var(--mf-text-dim);
      margin-bottom: 22px;
    }
    .sy-vendor b { color: var(--mf-text); font-weight: 600; }

    /* meta 数据条 */
    .sy-meta {
      display: flex;
      gap: 0;
      flex-wrap: wrap;
      background: var(--mf-card);
      border: 1px solid var(--mf-border);
      border-radius: 14px;
      overflow: hidden;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }
    .sy-meta-item {
      flex: 1;
      min-width: 140px;
      padding: 14px 20px;
      border-right: 1px solid var(--mf-border);
    }
    .sy-meta-item:last-child { border-right: none; }
    .sy-meta-label {
      font-size: 10px;
      color: var(--mf-text-faint);
      letter-spacing: 1.2px;
      text-transform: uppercase;
      font-family: 'JetBrains Mono', monospace;
      margin-bottom: 6px;
    }
    .sy-meta-value {
      font-size: 15px;
      font-weight: 600;
      color: var(--mf-cyan);
      font-family: 'JetBrains Mono', monospace;
    }
    .sy-meta-value.is-text { font-size: 13px; font-weight: 500; color: var(--mf-text); }

    /* 操作按钮行 */
    .sy-actions {
      display: flex;
      gap: 12px;
      margin-top: 24px;
      flex-wrap: wrap;
    }
    .sy-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 20px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.18s;
      border: 1px solid transparent;
    }
    .sy-btn svg { width: 16px; height: 16px; }
    .sy-btn-primary {
      background: linear-gradient(135deg, #1f6feb 0%, #7f43ff 100%);
      color: #fff;
      box-shadow: 0 8px 20px rgba(31, 111, 235, 0.3);
    }
    .sy-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 12px 28px rgba(31, 111, 235, 0.4); }
    .sy-btn-secondary {
      background: rgba(0,202,224,0.08);
      border-color: rgba(0,202,224,0.35);
      color: var(--mf-cyan);
    }
    .sy-btn-secondary:hover { background: rgba(0,202,224,0.18); border-color: var(--mf-cyan); }
    .sy-btn-ghost {
      background: rgba(255,255,255,0.03);
      border-color: var(--mf-border);
      color: var(--mf-text-dim);
    }
    .sy-btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); color: var(--mf-text); }

    /* ============== 主内容 ============== */
    .sy-main {
      max-width: 1280px;
      margin: 0 auto;
      padding: 24px 24px 60px;
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 32px;
    }
    .sy-section {
      margin-bottom: 36px;
    }
    .sy-section-h {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 18px;
      font-weight: 700;
      color: var(--mf-text);
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--mf-border);
    }
    .sy-section-h-num {
      width: 24px; height: 24px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(0,202,224,0.15);
      color: var(--mf-cyan);
      border-radius: 50%;
      font-size: 11px;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 700;
    }
    .sy-summary {
      font-size: 15px;
      line-height: 1.8;
      color: var(--mf-text-dim);
      padding: 18px 22px;
      background: var(--mf-card);
      border-left: 3px solid var(--mf-cyan);
      border-radius: 0 10px 10px 0;
    }

    /* 时间线 */
    .sy-timeline {
      position: relative;
      padding-left: 28px;
    }
    .sy-timeline::before {
      content: '';
      position: absolute;
      left: 8px; top: 6px; bottom: 6px;
      width: 1px;
      background: linear-gradient(180deg, var(--mf-cyan), rgba(0,202,224,0.15));
    }
    .sy-timeline-item {
      position: relative;
      padding-bottom: 18px;
    }
    .sy-timeline-item:last-child { padding-bottom: 0; }
    .sy-timeline-item::before {
      content: '';
      position: absolute;
      left: -24px; top: 6px;
      width: 9px; height: 9px;
      background: var(--mf-cyan);
      border-radius: 50%;
      box-shadow: 0 0 0 3px rgba(0,202,224,0.18);
    }
    .sy-timeline-year {
      font-family: 'JetBrains Mono', monospace;
      font-size: 13px;
      color: var(--mf-cyan);
      font-weight: 700;
      letter-spacing: 0.5px;
      margin-bottom: 2px;
    }
    .sy-timeline-text {
      font-size: 13.5px;
      line-height: 1.6;
      color: var(--mf-text-dim);
    }

    /* 功能模块 */
    .sy-features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 10px;
    }
    .sy-feature-chip {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 14px;
      background: rgba(0,202,224,0.06);
      border: 1px solid rgba(0,202,224,0.18);
      border-radius: 8px;
      font-size: 13px;
      color: var(--mf-text);
      transition: all 0.18s;
    }
    .sy-feature-chip:hover {
      background: rgba(0,202,224,0.12);
      border-color: rgba(0,202,224,0.4);
      transform: translateY(-1px);
    }
    .sy-feature-chip::before {
      content: '◆';
      color: var(--mf-cyan);
      font-size: 10px;
    }

    /* 行业标签 */
    .sy-tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }
    .sy-tag {
      padding: 5px 12px;
      background: rgba(167,139,250,0.10);
      border: 1px solid rgba(167,139,250,0.3);
      border-radius: 999px;
      font-size: 12px;
      color: #c4a4ff;
      font-family: 'JetBrains Mono', monospace;
    }

    /* ============== Sidebar ============== */
    .sy-side {
      position: sticky;
      top: 130px;
      align-self: start;
    }
    .sy-side-card {
      background: var(--mf-card);
      border: 1px solid var(--mf-border);
      border-radius: 14px;
      padding: 20px;
      margin-bottom: 18px;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }
    .sy-side-h {
      font-size: 11px;
      color: var(--mf-text-faint);
      letter-spacing: 1.2px;
      text-transform: uppercase;
      font-family: 'JetBrains Mono', monospace;
      margin-bottom: 14px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--mf-border);
    }
    .sy-model-cta {
      display: block;
      padding: 16px;
      background: linear-gradient(135deg, rgba(0,202,224,0.10), rgba(167,139,250,0.10));
      border: 1px solid rgba(0,202,224,0.3);
      border-radius: 10px;
      text-decoration: none;
      color: var(--mf-text);
      transition: all 0.18s;
    }
    .sy-model-cta:hover {
      border-color: var(--mf-cyan);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0,202,224,0.2);
    }
    .sy-model-cta-h {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--mf-cyan);
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 6px;
    }
    .sy-model-cta-p {
      font-size: 12.5px;
      color: var(--mf-text-dim);
      line-height: 1.6;
    }
    .sy-side-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .sy-side-list li {
      padding: 7px 0;
      font-size: 13px;
      color: var(--mf-text-dim);
      border-bottom: 1px dashed rgba(255,255,255,0.06);
      display: flex;
      gap: 8px;
    }
    .sy-side-list li:last-child { border-bottom: none; }
    .sy-side-list li::before {
      content: '▸';
      color: var(--mf-cyan);
      flex-shrink: 0;
    }

    .sy-research-link {
      display: block;
      padding: 12px 16px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--mf-border);
      border-radius: 8px;
      text-decoration: none;
      color: var(--mf-text);
      font-size: 13px;
      margin-bottom: 8px;
      transition: all 0.18s;
    }
    .sy-research-link:hover {
      background: rgba(0,202,224,0.08);
      border-color: var(--mf-cyan);
      color: var(--mf-cyan);
    }
    .sy-research-link-h {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 500;
      margin-bottom: 2px;
    }
    .sy-research-link-p {
      font-size: 11.5px;
      color: var(--mf-text-faint);
    }

    /* ============== 加载/错误 ============== */
    .sy-status {
      max-width: 720px;
      margin: 80px auto;
      padding: 40px 24px;
      text-align: center;
      background: var(--mf-card);
      border: 1px solid var(--mf-border);
      border-radius: 14px;
    }
    .sy-status-h {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 10px;
      color: var(--mf-text);
    }
    .sy-status-p {
      font-size: 14px;
      color: var(--mf-text-dim);
      line-height: 1.6;
      margin-bottom: 18px;
    }
    .sy-spinner {
      width: 32px; height: 32px;
      border: 3px solid rgba(0,202,224,0.18);
      border-top-color: var(--mf-cyan);
      border-radius: 50%;
      animation: sy-spin 0.8s linear infinite;
      margin: 0 auto 18px;
    }
    @keyframes sy-spin { to { transform: rotate(360deg); } }

    /* ============== 响应式 ============== */
    @media (max-width: 960px) {
      .sy-main {
        grid-template-columns: 1fr;
        gap: 0;
      }
      .sy-side { position: static; order: 2; margin-top: 24px; }
    }
    @media (max-width: 640px) {
      .sy-hero { padding: 100px 16px 24px; }
      .sy-main { padding: 16px 16px 40px; }
      .sy-meta-item { min-width: 50%; border-bottom: 1px solid var(--mf-border); }
      .sy-meta-item:nth-child(odd) { border-right: 1px solid var(--mf-border); }
      .sy-actions { flex-direction: column; }
      .sy-actions .sy-btn { width: 100%; justify-content: center; }
    }

/* --- Roadmap (rm-* token) --- */
:root {
      --rm-cyan: #00cae0;
      --rm-blue: #1375c8;
      --rm-purple: #a78bfa;
      --rm-green: #3fb950;
      --rm-orange: #f0883e;
      --rm-red: #f85149;
      --rm-text: #ebf8ff;
      --rm-text-dim: rgba(224, 245, 255, 0.78);
      --rm-text-faint: rgba(224, 245, 255, 0.5);
      --rm-border: rgba(255, 255, 255, 0.10);
      --rm-card: rgba(13, 17, 23, 0.65);
    }

/* === Roadmap === */
body.public-roadmap {
      background: radial-gradient(ellipse 80% 60% at 20% 10%, rgba(127, 67, 255, 0.18), transparent 60%),
                  radial-gradient(ellipse 70% 50% at 85% 90%, rgba(0, 202, 224, 0.16), transparent 60%),
                  linear-gradient(180deg, #060c20 0%, #081428 50%, #060c20 100%);
      min-height: 100vh;
    }

    .rm-pub-main {
      max-width: 1280px;
      margin: 0 auto;
      padding: 120px 24px 80px;
    }

    .rm-pub-hero {
      text-align: center;
      margin-bottom: 48px;
    }
    .rm-pub-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      background: rgba(0, 202, 224, 0.10);
      border: 1px solid rgba(0, 202, 224, 0.30);
      border-radius: 999px;
      color: var(--rm-cyan);
      font-size: 12px;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.08em;
      margin-bottom: 20px;
    }
    .rm-pub-h1 {
      font-size: clamp(32px, 5vw, 52px);
      font-weight: 800;
      letter-spacing: -0.01em;
      line-height: 1.15;
      margin: 0 0 16px;
      background: linear-gradient(135deg, #ebf8ff 0%, #7fd9ff 45%, #a78bfa 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .rm-pub-sub {
      font-size: 16px;
      color: var(--rm-text-dim);
      max-width: 720px;
      margin: 0 auto;
      line-height: 1.7;
    }
    .rm-pub-stats {
      display: flex;
      gap: 16px;
      justify-content: center;
      margin-top: 32px;
      flex-wrap: wrap;
    }
    .rm-pub-stat {
      padding: 14px 24px;
      background: var(--rm-card);
      border: 1px solid var(--rm-border);
      border-radius: 12px;
      min-width: 130px;
    }
    .rm-pub-stat-n {
      font-size: 28px;
      font-weight: 800;
      color: var(--rm-cyan);
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: -0.02em;
    }
    .rm-pub-stat-l {
      font-size: 11px;
      color: var(--rm-text-faint);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-top: 4px;
    }

    /* 优先级分组 */
    .rm-pub-section {
      margin-bottom: 56px;
    }
    .rm-pub-section-h {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--rm-border);
    }
    .rm-pub-prio-badge {
      padding: 6px 16px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.04em;
    }
    .rm-pub-prio-badge.p0 { background: rgba(248, 81, 73, 0.15); color: #ff8a82; border: 1px solid rgba(248, 81, 73, 0.4); }
    .rm-pub-prio-badge.p1 { background: rgba(240, 136, 62, 0.15); color: #ffb572; border: 1px solid rgba(240, 136, 62, 0.4); }
    .rm-pub-prio-badge.p2 { background: rgba(110, 118, 129, 0.20); color: #c9d1d9; border: 1px solid rgba(110, 118, 129, 0.4); }
    .rm-pub-section-title {
      font-size: 20px;
      font-weight: 700;
      color: var(--rm-text);
      flex: 1;
    }
    .rm-pub-section-meta {
      font-size: 12px;
      color: var(--rm-text-faint);
      font-family: 'JetBrains Mono', monospace;
    }
    .rm-pub-section-tagline {
      font-size: 13px;
      color: var(--rm-text-dim);
      margin-top: 4px;
      line-height: 1.6;
    }

    .rm-pub-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 16px;
    }

    .rm-pub-card {
      background: var(--rm-card);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--rm-border);
      border-radius: 14px;
      padding: 20px 22px;
      transition: all 0.2s;
      position: relative;
    }
    .rm-pub-card:hover {
      transform: translateY(-2px);
      border-color: rgba(0, 202, 224, 0.4);
      box-shadow: 0 12px 32px rgba(0, 202, 224, 0.12);
    }
    .rm-pub-card-h {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 10px;
    }
    .rm-pub-card-prio {
      padding: 2px 8px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      font-family: 'JetBrains Mono', monospace;
    }
    .rm-pub-card-prio.p0 { background: rgba(248,81,73,0.18); color: #ff8a82; }
    .rm-pub-card-prio.p1 { background: rgba(240,136,62,0.18); color: #ffb572; }
    .rm-pub-card-prio.p2 { background: rgba(110,118,129,0.20); color: #c9d1d9; }
    .rm-pub-card-cat {
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 11px;
      background: rgba(167, 139, 250, 0.15);
      color: #c4a4ff;
    }
    .rm-pub-card-eff {
      font-size: 11px;
      color: var(--rm-text-faint);
      font-family: 'JetBrains Mono', monospace;
      margin-left: auto;
    }
    .rm-pub-card-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--rm-text);
      margin-bottom: 10px;
      line-height: 1.4;
    }
    .rm-pub-card-desc {
      font-size: 13px;
      color: var(--rm-text-dim);
      line-height: 1.65;
      margin-bottom: 14px;
    }
    .rm-pub-card-f {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 10px;
      border-top: 1px dashed var(--rm-border);
      font-size: 11.5px;
      color: var(--rm-text-faint);
      font-family: 'JetBrains Mono', monospace;
    }
    .rm-pub-card-status {
      padding: 2px 8px;
      border-radius: 4px;
      background: rgba(0, 202, 224, 0.10);
      color: var(--rm-cyan);
    }
    .rm-pub-card-status.done { background: rgba(63, 185, 80, 0.18); color: #7ee787; }
    .rm-pub-card-status.in_progress { background: rgba(240, 136, 62, 0.18); color: #ffb572; }
    .rm-pub-card-status.cancelled { background: rgba(110, 118, 129, 0.20); color: #8b949e; }
    .rm-pub-card-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 10px;
    }
    .rm-pub-card-tag {
      font-size: 10.5px;
      padding: 1px 6px;
      background: rgba(255,255,255,0.05);
      color: var(--rm-text-faint);
      border-radius: 3px;
      font-family: 'JetBrains Mono', monospace;
    }

    .rm-pub-loading,
    .rm-pub-empty {
      padding: 60px 24px;
      text-align: center;
      background: var(--rm-card);
      border: 1px dashed var(--rm-border);
      border-radius: 12px;
      color: var(--rm-text-faint);
      font-size: 14px;
    }
    .rm-pub-spinner {
      width: 28px; height: 28px;
      border: 2px solid rgba(0,202,224,0.20);
      border-top-color: var(--rm-cyan);
      border-radius: 50%;
      animation: rm-spin 0.8s linear infinite;
      margin: 0 auto 14px;
    }
    @keyframes rm-spin { to { transform: rotate(360deg); } }

    .rm-pub-foot {
      text-align: center;
      padding: 32px 16px 16px;
      color: var(--rm-text-faint);
      font-size: 12px;
      font-family: 'JetBrains Mono', monospace;
      border-top: 1px solid var(--rm-border);
      margin-top: 32px;
    }
    .rm-pub-foot a { color: var(--rm-cyan); margin: 0 8px; }

    .rm-pub-legend {
      display: flex;
      gap: 16px;
      justify-content: center;
      margin-top: 24px;
      flex-wrap: wrap;
      font-size: 12px;
      color: var(--rm-text-faint);
    }
    .rm-pub-legend-item {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .rm-pub-legend-dot {
      width: 10px; height: 10px;
      border-radius: 2px;
    }

    @media (max-width: 640px) {
      .rm-pub-main { padding: 90px 16px 60px; }
      .rm-pub-grid { grid-template-columns: 1fr; }
      .rm-pub-stats { gap: 8px; }
      .rm-pub-stat { min-width: 0; padding: 10px 16px; flex: 1; }
    }

/* --- Search (sr-* token) --- */
:root {
      --sr-cyan: #00cae0;
      --sr-blue: #1375c8;
      --sr-purple: #a78bfa;
      --sr-pink: #ff79c6;
      --sr-green: #3fb950;
      --sr-orange: #f0883e;
      --sr-red: #f85149;
      --sr-text: #ebf8ff;
      --sr-text-dim: rgba(224, 245, 255, 0.78);
      --sr-text-faint: rgba(224, 245, 255, 0.5);
      --sr-border: rgba(255, 255, 255, 0.10);
      --sr-card: rgba(13, 17, 23, 0.65);
      --sr-bg-2: rgba(13, 17, 23, 0.45);
    }

/* === Search === */
/* ============== 搜索条 (顶部吸顶) ============== */
    .sr-bar {
      position: sticky;
      top: 68px;
      z-index: 50;
      padding: 18px 24px;
      background: rgba(6, 12, 32, 0.85);
      backdrop-filter: blur(18px) saturate(160%);
      -webkit-backdrop-filter: blur(18px) saturate(160%);
      border-bottom: 1px solid var(--sr-border);
    }
    .sr-bar-inner {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      gap: 12px;
      align-items: center;
    }
    .sr-bar-form {
      flex: 1;
      display: flex;
      gap: 0;
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--sr-border);
      border-radius: 12px;
      overflow: hidden;
      transition: border-color 0.18s, box-shadow 0.18s;
    }
    .sr-bar-form:focus-within {
      border-color: var(--sr-cyan);
      box-shadow: 0 0 0 3px rgba(0, 202, 224, 0.15);
    }
    .sr-bar-icon {
      width: 48px; height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--sr-cyan);
      flex-shrink: 0;
    }
    .sr-bar-icon svg { width: 18px; height: 18px; }
    .sr-bar-input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      color: var(--sr-text);
      font-size: 15px;
      font-family: inherit;
      padding: 12px 0;
      min-width: 0;
    }
    .sr-bar-input::placeholder { color: var(--sr-text-faint); }
    .sr-bar-clear {
      width: 36px; height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--sr-text-faint);
      cursor: pointer;
      flex-shrink: 0;
      background: none;
      border: none;
      transition: color 0.15s;
    }
    .sr-bar-clear:hover { color: var(--sr-cyan); }
    .sr-bar-clear svg { width: 14px; height: 14px; }
    .sr-bar-search {
      padding: 0 22px;
      background: linear-gradient(135deg, #1f6feb 0%, #7f43ff 100%);
      color: #fff;
      border: none;
      font-size: 14px;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      transition: filter 0.15s, transform 0.15s;
      letter-spacing: 0.5px;
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .sr-bar-search:hover { filter: brightness(1.08); }
    .sr-bar-search:active { transform: scale(0.98); }

    /* ============== 主内容 ============== */
    .sr-main {
      max-width: 1280px;
      margin: 0 auto;
      padding: 32px 24px 80px;
    }

    /* 摘要栏 */
    .sr-summary {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: baseline;
      margin-bottom: 28px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--sr-border);
    }
    .sr-summary-query {
      font-size: 18px;
      color: var(--sr-text);
      font-weight: 600;
    }
    .sr-summary-query b { color: var(--sr-cyan); }
    .sr-summary-meta {
      font-size: 13px;
      color: var(--sr-text-faint);
      font-family: 'JetBrains Mono', monospace;
    }
    .sr-summary-tag {
      display: inline-block;
      padding: 3px 10px;
      background: rgba(0, 202, 224, 0.08);
      border: 1px solid rgba(0, 202, 224, 0.28);
      border-radius: 999px;
      font-size: 11px;
      color: var(--sr-cyan);
      letter-spacing: 0.5px;
      font-family: 'JetBrains Mono', monospace;
    }

    /* ============== 分组 ============== */
    .sr-group {
      margin-bottom: 36px;
    }
    .sr-group-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }
    .sr-group-icon {
      width: 36px; height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 202, 224, 0.10);
      border: 1px solid rgba(0, 202, 224, 0.28);
      border-radius: 10px;
      color: var(--sr-cyan);
      flex-shrink: 0;
    }
    .sr-group-icon svg { width: 18px; height: 18px; }
    .sr-group-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--sr-text);
      flex: 1;
    }
    .sr-group-count {
      font-size: 12px;
      color: var(--sr-text-faint);
      font-family: 'JetBrains Mono', monospace;
      padding: 4px 10px;
      background: var(--sr-bg-2);
      border-radius: 999px;
    }
    .sr-group-loading,
    .sr-group-empty,
    .sr-group-error {
      padding: 28px;
      text-align: center;
      background: var(--sr-card);
      border: 1px dashed var(--sr-border);
      border-radius: 12px;
      color: var(--sr-text-faint);
      font-size: 13.5px;
    }
    .sr-group-error {
      border-color: rgba(248, 81, 73, 0.3);
      color: #ff8a82;
    }
    .sr-spinner {
      width: 22px; height: 22px;
      border: 2px solid rgba(0, 202, 224, 0.18);
      border-top-color: var(--sr-cyan);
      border-radius: 50%;
      animation: sr-spin 0.8s linear infinite;
      margin: 0 auto 10px;
    }
    @keyframes sr-spin { to { transform: rotate(360deg); } }

    /* 结果列表 */
    .sr-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    /* 单条结果卡 */
    .sr-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 18px;
      background: var(--sr-card);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid var(--sr-border);
      border-radius: 12px;
      text-decoration: none;
      color: inherit;
      transition: all 0.18s;
      cursor: pointer;
    }
    .sr-item:hover {
      border-color: rgba(0, 202, 224, 0.4);
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(0, 202, 224, 0.10);
    }
    .sr-item-type {
      flex-shrink: 0;
      width: 40px; height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 202, 224, 0.08);
      border-radius: 8px;
      color: var(--sr-cyan);
      font-size: 18px;
    }
    .sr-item-body {
      flex: 1;
      min-width: 0;
    }
    .sr-item-title {
      font-size: 15px;
      font-weight: 600;
      color: var(--sr-text);
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .sr-item-title b {
      background: rgba(0, 202, 224, 0.25);
      color: var(--sr-cyan);
      padding: 0 3px;
      border-radius: 3px;
      font-weight: 700;
    }
    .sr-item-meta {
      font-size: 12px;
      color: var(--sr-text-faint);
      font-family: 'JetBrains Mono', monospace;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    .sr-item-meta .tag {
      padding: 1px 7px;
      background: rgba(167,139,250,0.10);
      border: 1px solid rgba(167,139,250,0.25);
      border-radius: 999px;
      color: #c4a4ff;
    }
    .sr-item-meta .tag-cyan {
      background: rgba(0,202,224,0.10);
      border-color: rgba(0,202,224,0.28);
      color: var(--sr-cyan);
    }
    .sr-item-desc {
      font-size: 12.5px;
      color: var(--sr-text-dim);
      line-height: 1.6;
      margin-top: 6px;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
    .sr-item-desc b {
      background: rgba(0, 202, 224, 0.25);
      color: var(--sr-cyan);
      padding: 0 3px;
      border-radius: 3px;
      font-weight: 700;
    }
    .sr-item-arrow {
      flex-shrink: 0;
      color: var(--sr-text-faint);
      transition: color 0.15s, transform 0.15s;
    }
    .sr-item:hover .sr-item-arrow { color: var(--sr-cyan); transform: translateX(3px); }
    .sr-item-arrow svg { width: 16px; height: 16px; }

    /* 全部为空 */
    .sr-empty-all {
      padding: 80px 24px;
      text-align: center;
      background: var(--sr-card);
      border: 1px dashed var(--sr-border);
      border-radius: 16px;
    }
    .sr-empty-all-h {
      font-size: 18px;
      font-weight: 600;
      color: var(--sr-text);
      margin-bottom: 8px;
    }
    .sr-empty-all-p {
      font-size: 13.5px;
      color: var(--sr-text-faint);
      line-height: 1.7;
    }

    /* ============== Footer ============== */
    .sr-foot {
      max-width: 1280px;
      margin: 0 auto;
      padding: 24px;
      text-align: center;
      font-size: 12px;
      color: var(--sr-text-faint);
      border-top: 1px solid var(--sr-border);
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.5px;
    }
    .sr-foot a { color: var(--sr-cyan); margin: 0 8px; }

    /* ============== 响应式 ============== */
    @media (max-width: 640px) {
      .sr-bar { padding: 14px 16px; }
      .sr-bar-icon { width: 40px; height: 40px; }
      .sr-bar-search { padding: 0 14px; font-size: 13px; }
      .sr-main { padding: 20px 16px 60px; }
      .sr-item { padding: 12px 14px; gap: 10px; }
      .sr-item-type { width: 32px; height: 32px; font-size: 14px; }
      .sr-item-title { font-size: 13.5px; }
      .sr-group-icon { width: 30px; height: 30px; }
      .sr-group-title { font-size: 15px; }
    }


/* ============================================================
   Synth·π 顶级菜单样式 (2026-08-04)
   紫青渐变胶囊 + hover 抬升, 区别于普通文字链接
   ============================================================ */
.nav-link-synthpi {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(108, 43, 217, 0.15), rgba(0, 202, 224, 0.1));
  border: 1px solid rgba(108, 43, 217, 0.35);
  margin-left: 4px;
  padding: 6px 12px !important;
  border-radius: 999px;
  transition: all 0.2s;
}
.nav-link-synthpi:hover {
  background: linear-gradient(135deg, rgba(108, 43, 217, 0.3), rgba(0, 202, 224, 0.2));
  border-color: rgba(108, 43, 217, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108, 43, 217, 0.3);
}
/* 滚动时缩小 padding */
.nav.is-scrolled .nav-link-synthpi {
  padding: 4px 10px !important;
}
/* 移动端: 抽屉菜单适配 */
@media (max-width: 900px) {
  .nav-menu .nav-link-synthpi {
    margin: 4px 6px;
    padding: 10px 14px !important;
    justify-content: flex-start;
  }
}
