/* ================= 基础与主题过渡 ================= */
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    color: #0F172A;
    background-color: #ffffff;
    transition: background-color 0.4s ease, color 0.4s ease;
  }
  .dark body { color: #F8FAFC; background-color: #0B1220; }

  /* 提升动画元素的渲染性能 */
  .flow-light, .node-line { will-change: transform, opacity; }  
  main > section:not(:first-child) {
      content-visibility: auto;
      contain-intrinsic-size: 1px 800px; /* 给个预估高度，防止滚动条乱跳 */
  }
  /* 动画保护机制 */
  .fade-in { opacity: 1; transform: translateY(0); transition: opacity .9s ease, transform .9s ease; }
  .js-enabled .fade-in { opacity: 0; transform: translateY(30px); }
  .js-enabled .fade-in.visible { opacity: 1; transform: translateY(0); }

  .gradient-text {
    background: linear-gradient(90deg, #2F80FF 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  /* 玻璃拟态 */
  .light-glass {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(22, 93, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background-color 0.4s ease, border-color 0.4s ease;
  }
  .dark .light-glass { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }

  .btn-primary {
    background: linear-gradient(90deg, #2F80FF, #165DFF);
    box-shadow: 0 10px 30px -10px rgba(22, 93, 255, 0.45);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
  }
  .btn-primary::before {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg); transition: left .6s ease;
  }
  .btn-primary:hover::before { left: 120%; }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(22, 93, 255, 0.55); }

  .btn-ghost {
    border: 1px solid rgba(22, 93, 255, 0.3); color: #165DFF; background: #fff; transition: all .3s ease;
  }
  .btn-ghost:hover { border-color: #2F80FF; background: #F0F7FF; transform: translateY(-2px); }
  .dark .btn-ghost { border-color: rgba(255, 255, 255, 0.2); color: #fff; background: rgba(255, 255, 255, 0.05); }
  .dark .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.1); }

  .card-hover { transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .4s ease, box-shadow .4s ease; }
  .card-hover:hover { transform: translateY(-8px); border-color: rgba(47, 128, 255, 0.45); box-shadow: 0 24px 60px -20px rgba(22, 93, 255, 0.35); }
  .dark .card-hover:hover { box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6); }

  /* 首屏背景 */
  .hero-bg {
    background: #f4f6fb;
    transition: background 0.4s ease;
  }
  .dark .hero-bg {
    background: radial-gradient(circle at 15% 20%, rgba(47,128,255,0.2), transparent 40%), radial-gradient(circle at 85% 10%, rgba(124,58,237,0.2), transparent 45%), linear-gradient(180deg, #070713 0%, #0B1220 100%);
  }

  .grid-bg {
    background-image: linear-gradient(rgba(22, 93, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 93, 255, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  }
  .dark .grid-bg {
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  }

  .flow-light { position: absolute; border-radius: 9999px; filter: blur(80px); opacity: .35; z-index: 0; animation: float 10s ease-in-out infinite; }
  .dark .flow-light { opacity: .25; }
  @keyframes float { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(20px,-30px); } }

  .nav-blur {
    background: rgba(255,255,255,0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(22, 93, 255, 0.08);
    transition: background-color 0.4s ease, border-color 0.4s ease;
  }
  .dark .nav-blur { background: rgba(11, 18, 32, 0.7); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

  .pulse-dot { box-shadow: 0 0 0 0 rgba(47, 128, 255, 0.7); animation: pulse 2s infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 128, 255, 0.7); } 70% { box-shadow: 0 0 0 12px rgba(47, 128, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 128, 255, 0); } }

  .status-card { position: relative; overflow: hidden; }
  .status-card::after {
    content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(47,128,255,0.08) 50%, transparent 70%); transform: translateX(-100%); transition: transform .8s ease;
  }
  .dark .status-card::after { background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%); }
  .status-card:hover::after { transform: translateX(100%); }
  
  .modal-enter { animation: modalIn .4s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

  .progress-node { transition: all .6s ease; }
  .progress-node.active { background: linear-gradient(135deg, #2F80FF, #7C3AED); color: #fff; border-color: transparent !important; box-shadow: 0 0 0 6px rgba(47, 128, 255, 0.15); }
  .ai-progress-bar { transition: width .5s ease; }
  .node-line { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: drawLine 3s linear infinite; }
  @keyframes drawLine { to { stroke-dashoffset: 0; } }

  .scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60; background: linear-gradient(90deg, #2F80FF, #7C3AED); box-shadow: 0 0 12px rgba(47, 128, 255, 0.6); transition: width .1s linear; border-radius: 0 3px 3px 0; }

  .faq-item summary { list-style: none; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: ""; position: absolute; right: 28px; top: 50%; width: 9px; height: 9px; border-right: 2px solid #165DFF; border-bottom: 2px solid #165DFF; transform: translateY(-65%) rotate(45deg); transition: transform .3s ease, border-color 0.4s ease;
  }
  .dark .faq-item summary::after { border-color: #60A5FF; }
  .faq-item[open] summary::after { transform: translateY(-35%) rotate(-135deg); }
  .faq-item[open] { border-color: rgba(47, 128, 255, 0.35) !important; box-shadow: 0 18px 44px -22px rgba(22, 93, 255, 0.35); }
  .dark .faq-item[open] { box-shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.6); }
  
  .footer-slogan { font-size: clamp(2rem, 4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; }

  .floating-actions { position: fixed; right: 24px; bottom: 40px; z-index: 90; display: flex; flex-direction: column; gap: 16px; }
  .back-to-top-btn { opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s ease; }
  .back-to-top-btn.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

  /* ================= 痛点板块微动画 ================= */
  .anim-pulse-slow { animation: pulseSlow 3s ease-in-out infinite; }
  @keyframes pulseSlow { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
  
  .anim-float { animation: floatAnim 4s ease-in-out infinite; }
  .anim-float-delay { animation: floatAnim 4s ease-in-out 1.5s infinite; }
  @keyframes floatAnim { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

  .anim-slide { animation: slideAnim 5s ease-in-out infinite; }
  @keyframes slideAnim { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }

  .anim-grow { animation: growAnim 2.5s ease-in-out infinite alternate; transform-origin: bottom; }
  @keyframes growAnim { 0% { transform: scaleY(0.6); opacity: 0.7; } 100% { transform: scaleY(1); opacity: 1; } }
  
  
  /* ================= 强制修复样式 ================= */
  /* 1. 强制修复 PC 端和移动端导航栏显示 */
  .desktop-nav { display: none; font-size:16px;}
  .mobile-btn { display: flex; }
  
  @media (min-width: 1024px) {
    .desktop-nav { display: flex !important; }
    .mobile-btn { display: none !important; }
    #mobileMenuPanel, #mobileMenuOverlay { display: none !important; }
  }
  
  /* 2. 强制修复主题切换图标显示 */
  .theme-sun { display: none !important; }
  .theme-moon { display: block !important; }
  html.dark .theme-sun { display: block !important; }
  html.dark .theme-moon { display: none !important; }
  
  /* 3. 移动端侧边栏抽屉显示控制 */
  #mobileMenuPanel {
    transform: translateX(100%) !important;
    transition: transform 0.3s ease-in-out !important;
  }
  #mobileMenuPanel.menu-open {
    transform: translateX(0) !important;
  }
  
  /* ================= 悬浮客服：桌面 hover 显示，移动端点击切换 ================= */
  .social-popover {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) scale(0.96);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
    will-change: opacity, transform;
  }
  .social-popover.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
  }
  
  /* 仅在有真正指针悬停能力的设备上启用 hover 展开 */
  @media (hover: hover) and (pointer: fine) {
    .social-float:hover .social-popover {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(-50%) scale(1);
    }
  }
  
  /* 移动端点开时稍微上浮一下，给点反馈 */
  .social-float-btn:active { transform: scale(0.94); }
  
  /* ============================================================
   补齐 4 个新页面用到的扩展工具类
   tailwind.css 是预编译版本，以下类未被 JIT 生成，
   追加此段后即可正常渲染。后续重编 tailwind.css 后可删除。
   ============================================================ */

/* ---------- 1. 任意值字号 ---------- */
.text-\[10\.5px\]{font-size:10.5px;line-height:1.5}
.text-\[11\.5px\]{font-size:11.5px;line-height:1.55}
.text-\[12px\]{font-size:12px;line-height:1.5}
.text-\[12\.5px\]{font-size:12.5px;line-height:1.55}
.text-\[13\.5px\]{font-size:13.5px;line-height:1.6}
.text-\[13\.8px\]{font-size:13.8px;line-height:1.6}
.text-\[14px\]{font-size:14px;line-height:1.6}
.text-\[15\.5px\]{font-size:15.5px;line-height:1.6}

/* ---------- 2. 尺寸 ---------- */
.w-11{width:2.75rem}
.h-11{height:2.75rem}
.w-3\.5{width:.875rem}
.h-3\.5{height:.875rem}

/* ---------- 3. 间距 ---------- */
.space-y-2\.5>:not(:last-child){margin-block-start:.625rem}
.space-y-3\.5>:not(:last-child){margin-block-start:.875rem}

/* ---------- 4. 补齐 amber / cyan / rose 色阶（tailwind.css 里缺失） ---------- */
/* 文字 */
.text-amber-300{color:#fcd34d}
.text-amber-700{color:#b45309}
.text-cyan-300{color:#67e8f9}
.text-cyan-700{color:#0e7490}
.text-rose-300{color:#fda4af}
.text-rose-700{color:#be123c}

/* 背景 50 阶 */
.bg-amber-50{background-color:#fffbeb}
.bg-cyan-50{background-color:#ecfeff}
.bg-rose-50{background-color:#fff1f2}
.bg-blue-50{background-color:#eff6ff}

/* 背景 900 阶（深色） */
.bg-amber-900{background-color:#78350f}
.bg-cyan-900{background-color:#164e63}
.bg-rose-900{background-color:#881337}

/* 边框 */
.border-amber-200{border-color:#fde68a}
.border-amber-700{border-color:#b45309}
.border-cyan-200{border-color:#a5f3fc}
.border-cyan-700{border-color:#0e7490}
.border-rose-200{border-color:#fecdd3}
.border-rose-700{border-color:#be123c}
.border-emerald-700{border-color:#047857}
.border-purple-700{border-color:#7e22ce}
.border-blue-700{border-color:#1d4ed8}

/* 渐变起点 */
.from-amber-500{--tw-gradient-from:#f59e0b;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}
.from-cyan-500{--tw-gradient-from:#06b6d4;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}
.from-rose-500{--tw-gradient-from:#f43f5e;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}

/* ---------- 5. 半透明浅色底（process.html 阶段卡片用） ---------- */
.bg-brand-50\/70{background-color:rgba(240,247,255,.7)}
.bg-purple-50\/70{background-color:rgba(250,245,255,.7)}
.bg-emerald-50\/70{background-color:rgba(236,253,245,.7)}
.bg-amber-50\/70{background-color:rgba(255,251,235,.7)}
.bg-cyan-50\/70{background-color:rgba(236,254,255,.7)}

/* ---------- 6. 半透明深色底（20 / 40 阶） ---------- */
.bg-brand-900\/20{background-color:rgba(11,18,32,.2)}
.bg-purple-900\/20{background-color:rgba(59,7,100,.2)}
.bg-emerald-900\/20{background-color:rgba(2,44,34,.2)}
.bg-amber-900\/20{background-color:rgba(69,26,3,.2)}
.bg-cyan-900\/20{background-color:rgba(8,51,68,.2)}

.bg-brand-900\/40{background-color:rgba(11,18,32,.4)}
.bg-purple-900\/40{background-color:rgba(59,7,100,.4)}
.bg-emerald-900\/40{background-color:rgba(2,44,34,.4)}
.bg-amber-900\/40{background-color:rgba(69,26,3,.4)}
.bg-cyan-900\/40{background-color:rgba(8,51,68,.4)}
.bg-rose-900\/40{background-color:rgba(76,5,25,.4)}
.bg-blue-900\/40{background-color:rgba(30,58,138,.4)}

/* ---------- 7. 半透明边框（process.html 阶段卡片分隔） ---------- */
.border-brand-700\/50{border-color:rgba(14,66,193,.5)}
.border-purple-700\/50{border-color:rgba(126,34,206,.5)}
.border-emerald-700\/50{border-color:rgba(4,120,87,.5)}
.border-amber-700\/50{border-color:rgba(180,83,9,.5)}
.border-cyan-700\/50{border-color:rgba(14,116,144,.5)}

/* ---------- 8. 深色模式对应补丁 ---------- */
.dark .dark\:bg-brand-900\/20{background-color:rgba(11,18,32,.2)}
.dark .dark\:bg-purple-900\/20{background-color:rgba(59,7,100,.2)}
.dark .dark\:bg-emerald-900\/20{background-color:rgba(2,44,34,.2)}
.dark .dark\:bg-amber-900\/20{background-color:rgba(69,26,3,.2)}
.dark .dark\:bg-cyan-900\/20{background-color:rgba(8,51,68,.2)}

.dark .dark\:text-amber-300{color:#fcd34d}
.dark .dark\:text-cyan-300{color:#67e8f9}
.dark .dark\:text-rose-300{color:#fda4af}

.dark .dark\:border-amber-800{border-color:#92400e}
.dark .dark\:border-cyan-700{border-color:#0e7490}
.dark .dark\:border-rose-700{border-color:#be123c}
.dark .dark\:border-emerald-800{border-color:#065f46}
.dark .dark\:border-purple-800{border-color:#6b21a8}


/* ============================================================
   pages.css · 全站页面级样式合并版
   第 1 段：通用变量 + 通用组件（所有页面共享）
   ============================================================ */

/* ---------- 通用变量 ---------- */
:root {
  --ps-h1-size: clamp(38px, 5.5vw, 72px);
  --ps-h1-size-sm: clamp(30px, 4vw, 44px);
  --ps-h2-size: clamp(22px, 2.4vw, 30px);
  --ps-eyebrow-color: #2f80ff;
  --ps-h1-grad-from: #2f80ff;
  --ps-h1-grad-to: #7c3aed;
  --ps-section-py: 80px;
  --ps-section-py-mobile: 56px;
}

/* ---------- 分屏背景 ---------- */
.ps-bg-white { background: #fff; border-top: 1px solid #eef2f7; }
.ps-bg-gray  { background: #f5f8fc; border-top: 1px solid #e6ecf3; }
.dark .ps-bg-white { background: #0B1220; border-top-color: rgba(255,255,255,.06); }
.dark .ps-bg-gray  { background: #0d0f16; border-top-color: rgba(255,255,255,.08); }

/* ---------- 标签 ---------- */
.ps-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; letter-spacing: .04em; padding: 3px 10px; border-radius: 4px; background: #eff6ff; color: #165dff; border: 1px solid #dbeafe; }
.dark .ps-tag { background: rgba(96,165,255,.1); color: #60a5ff; border-color: rgba(96,165,255,.2); }
.ps-tag-green { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.dark .ps-tag-green { background: rgba(16,185,129,.1); color: #34d399; border-color: rgba(16,185,129,.2); }
.ps-tag-amber { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.dark .ps-tag-amber { background: rgba(245,158,11,.1); color: #fbbf24; border-color: rgba(245,158,11,.2); }
.ps-tag-purple { background: #faf5ff; color: #7c3aed; border-color: #e9d5ff; }
.dark .ps-tag-purple { background: rgba(124,58,237,.12); color: #a78bfa; border-color: rgba(124,58,237,.25); }
.ps-tag-red { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.dark .ps-tag-red { background: rgba(220,38,38,.1); color: #f87171; border-color: rgba(220,38,38,.25); }

/* ---------- 标题层级 ---------- */
.ps-h1 { font-size: var(--ps-h1-size); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; color: #0f172a; margin: 0 0 28px; }
.ps-h1 em { font-style: normal; background: linear-gradient(90deg, var(--ps-h1-grad-from), var(--ps-h1-grad-to)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark .ps-h1 { color: #f8fafc; }
.ps-h1-sm { font-size: var(--ps-h1-size-sm); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 14px; }
.ps-h2 { font-size: var(--ps-h2-size); line-height: 1.2; letter-spacing: -.022em; font-weight: 700; color: #0f172a; margin: 0 0 14px; }
.dark .ps-h2 { color: #f8fafc; }
.ps-lead { font-size: 14.5px; line-height: 1.7; color: #475569; margin: 0; }
.dark .ps-lead { color: #cbd5e1; }
.ps-eyebrow { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ps-eyebrow-color); font-weight: 600; margin-bottom: 14px; }
.dark .ps-eyebrow { color: #60a5ff; }

/* ---------- 章节 ---------- */
.ps-section { padding: var(--ps-section-py) 0; }
@media (max-width: 640px) { .ps-section { padding: var(--ps-section-py-mobile) 0; } }

/* ---------- 卡片 ---------- */
.ps-card { background: #fff; border: 1px solid #e8ecf1; border-radius: 10px; padding: 24px; position: relative; transition: border-color .3s ease, transform .3s ease; height: 100%; }
.ps-card:hover { border-color: #c9dcff; transform: translateY(-2px); }
.dark .ps-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.dark .ps-card:hover { border-color: rgba(96,165,255,.3); }
.ps-bg-gray .ps-card { box-shadow: 0 1px 2px rgba(15,23,42,.03); }
.dark .ps-bg-gray .ps-card { box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.ps-card-divider { border-color: #f1f5f9; }
.dark .ps-card-divider { border-color: rgba(255,255,255,.06); }

/* ---------- 控制台窗口 ---------- */
.ps-window { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(16,42,80,.15), 0 8px 20px -8px rgba(16,42,80,.08); }
.dark .ps-window { background: #0d1018; border-color: rgba(255,255,255,.1); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.ps-window-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.dark .ps-window-bar { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.ps-window-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.ps-window-bar .dot:nth-child(1) { background: #ff5f57; }
.ps-window-bar .dot:nth-child(2) { background: #febc2e; }
.ps-window-bar .dot:nth-child(3) { background: #28c840; }
.ps-window-title { margin-left: 8px; font-size: 12px; color: #64748b; font-family: ui-monospace, Menlo, Consolas, monospace; }
.dark .ps-window-title { color: #94a3b8; }
.ps-window-badge { margin-left: auto; font-size: 10.5px; font-weight: 600; padding: 3px 10px; border-radius: 4px; background: #ecfdf5; color: #047857; display: inline-flex; align-items: center; gap: 5px; }
.ps-window-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: psPulseGreen 2s infinite; }
@keyframes psPulseGreen { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 50% { opacity: .7; box-shadow: 0 0 0 4px rgba(16,185,129,0); } }
.ps-window-body { padding: 20px; }

/* ---------- 分栏布局 ---------- */
.ps-split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .ps-split { grid-template-columns: 3fr 9fr; gap: 56px; } .ps-split-reverse { grid-template-columns: 9fr 3fr; } .ps-split-head { position: sticky; top: 104px; } }
.ps-split-reverse .ps-split-head { order: 2; }
.ps-split-reverse .ps-split-body { order: 1; }
.ps-cgrid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 640px) { .ps-cgrid { grid-template-columns: 1fr 1fr; } }
.ps-cgrid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 640px) { .ps-cgrid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .ps-cgrid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.ps-cgrid .full, .ps-cgrid-3 .full { grid-column: 1 / -1; }

/* ---------- 导航卡 ---------- */
.ps-nav-card { display: block; padding: 20px 22px; background: #fff; border: 1px solid #e8ecf1; border-radius: 10px; text-decoration: none; transition: border-color .3s, transform .3s; height: 100%; }
.ps-nav-card:hover { border-color: #c9dcff; transform: translateY(-2px); }
.dark .ps-nav-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.dark .ps-nav-card:hover { border-color: rgba(96,165,255,.3); }
.ps-nav-label { display: block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; font-weight: 600; color: #94a3b8; letter-spacing: .08em; margin-bottom: 8px; text-transform: uppercase; }
.ps-nav-card:hover .ps-nav-label { color: #2f80ff; }
.dark .ps-nav-card:hover .ps-nav-label { color: #60a5ff; }
.ps-nav-title { font-size: 16px; font-weight: 600; color: #0f172a; margin-bottom: 4px; transition: color .3s; }
.dark .ps-nav-title { color: #f8fafc; }
.ps-nav-card:hover .ps-nav-title { color: #165dff; }
.dark .ps-nav-card:hover .ps-nav-title { color: #60a5ff; }
.ps-nav-desc { font-size: 13px; color: #64748b; line-height: 1.55; }
.dark .ps-nav-desc { color: #94a3b8; }

/* ---------- 链接卡（4 色号） ---------- */
.ps-link-card { display: block; padding: 24px; background: #fff; border: 1px solid #e8ecf1; border-radius: 10px; text-decoration: none; transition: border-color .3s, transform .3s; }
.ps-link-card:hover { border-color: #c9dcff; transform: translateY(-2px); }
.dark .ps-link-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.dark .ps-link-card:hover { border-color: rgba(96,165,255,.3); }
.ps-link-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 18px; background: linear-gradient(135deg, #2f80ff, #7c3aed); box-shadow: 0 4px 12px rgba(47,128,255,.28), inset 0 1px 0 rgba(255,255,255,.2); transition: transform .3s ease, box-shadow .3s ease; }
.ps-link-card:nth-child(2) .ps-link-num { background: linear-gradient(135deg, #10b981, #2f80ff); box-shadow: 0 4px 12px rgba(16,185,129,.28), inset 0 1px 0 rgba(255,255,255,.2); }
.ps-link-card:nth-child(3) .ps-link-num { background: linear-gradient(135deg, #f59e0b, #f97316); box-shadow: 0 4px 12px rgba(245,158,11,.28), inset 0 1px 0 rgba(255,255,255,.2); }
.ps-link-card:nth-child(4) .ps-link-num { background: linear-gradient(135deg, #06b6d4, #3b82f6); box-shadow: 0 4px 12px rgba(6,182,212,.28), inset 0 1px 0 rgba(255,255,255,.2); }
.ps-link-card:hover .ps-link-num { transform: translateY(-2px); }
.dark .ps-link-num { box-shadow: 0 4px 12px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.15); }
.ps-link-card h3 { font-size: 17px; font-weight: 600; color: #0f172a; margin: 0 0 8px; transition: color .3s; }
.dark .ps-link-card h3 { color: #f8fafc; }
.ps-link-card:hover h3 { color: #165dff; }
.dark .ps-link-card:hover h3 { color: #60a5ff; }
.ps-link-card p { font-size: 12.5px; color: #64748b; line-height: 1.65; margin: 0 0 14px; }
.dark .ps-link-card p { color: #94a3b8; }
.ps-link-card .go { font-size: 13px; font-weight: 500; color: #2f80ff; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.dark .ps-link-card .go { color: #60a5ff; }
@media (min-width: 1024px) { .ps-link-card { padding: 22px 20px; } .ps-link-card h3 { font-size: 16px; } .ps-link-card p { font-size: 12px; margin-bottom: 12px; } }

/* ---------- 专题文章列表 ---------- */
.ps-article-list { border-top: 1px solid #e2e8f0; }
.dark .ps-article-list { border-top-color: rgba(255,255,255,.08); }
.ps-article { display: flex; align-items: flex-start; gap: 16px; padding: 16px 4px; border-bottom: 1px solid #f1f5f9; text-decoration: none; transition: background .25s ease, padding-left .3s ease; }
.dark .ps-article { border-bottom-color: rgba(255,255,255,.05); }
.ps-article:hover { background: #f8fafc; padding-left: 12px; }
.dark .ps-article:hover { background: rgba(255,255,255,.02); }
.ps-article-num { flex: none; width: 32px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; font-weight: 700; color: #94a3b8; padding-top: 2px; }
.dark .ps-article-num { color: #64748b; }
.ps-article:hover .ps-article-num { color: #2f80ff; }
.dark .ps-article:hover .ps-article-num { color: #60a5ff; }
.ps-article-body { flex: 1; min-width: 0; }
.ps-article-title { font-size: 14.5px; font-weight: 500; color: #0f172a; margin: 0 0 4px; transition: color .25s ease; line-height: 1.5; }
.dark .ps-article-title { color: #f8fafc; }
.ps-article:hover .ps-article-title { color: #165dff; }
.dark .ps-article:hover .ps-article-title { color: #60a5ff; }
.ps-article-desc { font-size: 12px; color: #64748b; line-height: 1.55; margin: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.dark .ps-article-desc { color: #94a3b8; }
.ps-article-meta { flex: none; display: flex; align-items: center; gap: 8px; padding-top: 2px; }
.ps-article-type { font-size: 10px; font-weight: 600; letter-spacing: .04em; padding: 2px 7px; border-radius: 3px; white-space: nowrap; }
.ps-article-type.t-problem, .ps-article-type.t-compare { background: #eff6ff; color: #165dff; border: 1px solid #dbeafe; }
.ps-article-type.t-mech { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.ps-article-type.t-case { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.ps-article-type.t-faq { background: #faf5ff; color: #7c3aed; border: 1px solid #e9d5ff; }
.ps-article-type.t-deploy { background: #faf5ff; color: #7c3aed; border: 1px solid #e9d5ff; }
.ps-article-type.t-fix { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.dark .ps-article-type.t-problem, .dark .ps-article-type.t-compare { background: rgba(96,165,255,.1); color: #60a5ff; border-color: rgba(96,165,255,.2); }
.dark .ps-article-type.t-mech { background: rgba(16,185,129,.1); color: #34d399; border-color: rgba(16,185,129,.2); }
.dark .ps-article-type.t-case { background: rgba(245,158,11,.1); color: #fbbf24; border-color: rgba(245,158,11,.2); }
.dark .ps-article-type.t-faq, .dark .ps-article-type.t-deploy { background: rgba(124,58,237,.12); color: #a78bfa; border-color: rgba(124,58,237,.25); }
.dark .ps-article-type.t-fix { background: rgba(220,38,38,.1); color: #f87171; border-color: rgba(220,38,38,.25); }
.ps-article-arrow { color: #cbd5e1; font-size: 11px; flex: none; transition: transform .3s ease, color .25s ease; padding-top: 2px; }
.dark .ps-article-arrow { color: #475569; }
.ps-article:hover .ps-article-arrow { color: #2f80ff; transform: translateX(4px); }
.dark .ps-article:hover .ps-article-arrow { color: #60a5ff; }

/* ---------- 文章页头 ---------- */
.article-head { padding: 28px 0 32px; }
.article-head h1 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.2; letter-spacing: -.03em; font-weight: 700; color: #0f172a; margin: 0 0 16px; }
.dark .article-head h1 { color: #f8fafc; }
.article-head .lede { font-size: 15.5px; line-height: 1.75; color: #475569; max-width: 760px; margin: 0; }
.dark .article-head .lede { color: #cbd5e1; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; font-size: 12px; color: #94a3b8; font-family: ui-monospace, Menlo, Consolas, monospace; }
.dark .article-meta { color: #64748b; }
.article-meta .sep { color: #cbd5e1; }
.dark .article-meta .sep { color: #334155; }

/* ---------- 文章正文 ---------- */
.article-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 8fr 4fr; gap: 56px; } .article-side { position: sticky; top: 104px; align-self: start; } }
.article-body { font-size: 15px; line-height: 1.85; color: #334155; min-width: 0; }
.dark .article-body { color: #cbd5e1; }
.article-body h2 { font-size: clamp(19px, 2vw, 24px); line-height: 1.3; letter-spacing: -.02em; font-weight: 700; color: #0f172a; margin: 34px 0 12px; scroll-margin-top: 104px; }
.dark .article-body h2 { color: #f8fafc; }
.article-body h2:first-child { margin-top: 0; }
.article-body h2 .step-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, #165dff, #06b6d4); color: #fff; font-family: ui-monospace, monospace; font-size: 12px; font-weight: 700; box-shadow: 0 4px 10px rgba(22,93,255,.28), inset 0 1px 0 rgba(255,255,255,.2); }
.article-body h2 { display: flex; align-items: center; gap: 10px; }
.article-body h3 { font-size: 15.5px; font-weight: 600; color: #0f172a; margin: 22px 0 8px; }
.dark .article-body h3 { color: #f8fafc; }
.article-body p { margin: 0 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 14px;  }
.article-body ul li, .article-body ol li { margin-bottom: 5px; line-height: 1.75; }
.article-body code { background: #f1f5f9; color: #165dff; padding: 1px 6px; border-radius: 4px; font-size: 13px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.dark .article-body code { background: rgba(96,165,255,.12); color: #60a5ff; }
.article-body a { color: #165dff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.dark .article-body a { color: #60a5ff; }
.article-note { background: #eff6ff; border: 1px solid #bfdbfe; border-left: 3px solid #165dff; border-radius: 8px; padding: 12px 16px; font-size: 13px; line-height: 1.7; color: #1e40af; margin: 16px 0; }
.dark .article-note { background: rgba(96,165,255,.08); border-color: rgba(96,165,255,.25); border-left-color: #60a5ff; color: #bfdbfe; }
.article-warn { background: #fffbeb; border: 1px solid #fde68a; border-left: 3px solid #f59e0b; border-radius: 8px; padding: 12px 16px; font-size: 13px; line-height: 1.7; color: #92400e; margin: 16px 0; }
.dark .article-warn { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.25); border-left-color: #fbbf24; color: #fde68a; }
.article-ok { background: #ecfdf5; border: 1px solid #a7f3d0; border-left: 3px solid #10b981; border-radius: 8px; padding: 12px 16px; font-size: 13px; line-height: 1.7; color: #065f46; margin: 16px 0; }
.dark .article-ok { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.25); border-left-color: #34d399; color: #a7f3d0; }
.article-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0 18px; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
.dark .article-table { border-color: rgba(255,255,255,.08); }
.article-table thead th { text-align: left; padding: 10px 12px; font-size: 11.5px; font-weight: 600; color: #64748b; letter-spacing: .04em; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.dark .article-table thead th { color: #94a3b8; border-bottom-color: rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.article-table tbody td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; color: #334155; vertical-align: top; line-height: 1.55; }
.dark .article-table tbody td { border-bottom-color: rgba(255,255,255,.04); color: #cbd5e1; }
.article-table tr:last-child td { border-bottom: 0; }
.article-table tbody td:first-child { font-family: ui-monospace, monospace; font-size: 11.5px; color: #165dff; white-space: nowrap; }
.dark .article-table tbody td:first-child { color: #60a5ff; }

/* ---------- 侧栏 ---------- */
.side-card { background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; padding: 20px; }
.dark .side-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.side-card + .side-card { margin-top: 20px; }
.side-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.dark .side-head { border-bottom-color: rgba(255,255,255,.06); }
.side-head h3 { font-size: 14.5px; font-weight: 700; color: #0f172a; margin: 0; letter-spacing: -.01em; }
.dark .side-head h3 { color: #f8fafc; }
.side-head .more { font-size: 11px; color: #165dff; text-decoration: none; font-family: ui-monospace, monospace; white-space: nowrap; }
.dark .side-head .more { color: #60a5ff; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: 8px 0; border-bottom: 1px dashed #f1f5f9; }
.dark .side-list li { border-bottom-color: rgba(255,255,255,.05); }
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list a { display: flex; gap: 8px; text-decoration: none; font-size: 13px; color: #475569; line-height: 1.55; transition: color .25s ease; }
.dark .side-list a { color: #cbd5e1; }
.side-list a:hover { color: #165dff; }
.dark .side-list a:hover { color: #60a5ff; }
.side-list .date { flex: none; font-family: ui-monospace, monospace; font-size: 10.5px; color: #94a3b8; padding-top: 2px; }
.dark .side-list .date { color: #64748b; }
.side-list .icon { flex: none; color: #94a3b8; font-size: 11px; padding-top: 3px; }
.dark .side-list .icon { color: #64748b; }

/* ---------- 底部两列卡片 ---------- */
.bottom-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .bottom-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.bottom-card { background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; padding: 24px; height: 100%; }
.dark .bottom-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.bottom-card-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.dark .bottom-card-head { border-bottom-color: rgba(255,255,255,.06); }
.bottom-card-head h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0; letter-spacing: -.01em; }
.dark .bottom-card-head h3 { color: #f8fafc; }
.bottom-card-head .meta { font-size: 11px; color: #94a3b8; font-family: ui-monospace, monospace; white-space: nowrap; }
.dark .bottom-card-head .meta { color: #64748b; }
.simple-list { list-style: none; padding: 0; margin: 0; }
.simple-list li { padding: 10px 0; border-bottom: 1px dashed #f1f5f9; }
.dark .simple-list li { border-bottom-color: rgba(255,255,255,.05); }
.simple-list li:last-child { border-bottom: 0; }
.simple-list a { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #475569; text-decoration: none; line-height: 1.5; transition: color .25s ease; }
.dark .simple-list a { color: #cbd5e1; }
.simple-list a:hover { color: #165dff; }
.dark .simple-list a:hover { color: #60a5ff; }
.simple-list .idx { flex: none; width: 20px; font-family: ui-monospace, monospace; font-size: 10.5px; color: #94a3b8; }
.dark .simple-list .idx { color: #64748b; }
.simple-list a:hover .idx { color: #165dff; }
.dark .simple-list a:hover .idx { color: #60a5ff; }
.simple-list .hot { flex: none; margin-left: auto; font-family: ui-monospace, monospace; font-size: 10.5px; color: #94a3b8; }
.dark .simple-list .hot { color: #64748b; }

/* ---------- 代码块（3 种：浅色 code / 深色 terminal / 深色 tree） ---------- */
.ps-code { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 14px 16px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.8; color: #334155; overflow-x: auto; white-space: pre; }
.dark .ps-code { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); color: #cbd5e1; }
.ps-code .c, .ps-terminal-body .c, .ps-tree .c { color: #94a3b8; font-style: italic; }
.ps-code .k, .ps-terminal-body .k, .ps-tree .k { color: #165dff; font-weight: 600; }
.ps-code .s, .ps-terminal-body .s, .ps-tree .s { color: #16a34a; }
.ps-terminal { background: #0f172a; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 30px -12px rgba(0,0,0,.4); }
.ps-terminal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #1a2332; border-bottom: 1px solid #2a3444; }
.ps-terminal-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.ps-terminal-bar .dot:nth-child(1) { background: #ff5f57; }
.ps-terminal-bar .dot:nth-child(2) { background: #febc2e; }
.ps-terminal-bar .dot:nth-child(3) { background: #28c840; }
.ps-terminal-title { margin-left: 6px; font-size: 11px; color: #94a3b8; font-family: ui-monospace, monospace; }
.ps-terminal-body { padding: 16px 18px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.85; color: #cbd5e1; overflow-x: auto; white-space: pre; }
.ps-terminal-body .k { color: #60a5ff; }
.ps-terminal-body .s { color: #34d399; }
.ps-terminal-body .w { color: #fbbf24; }
.ps-tree { background: #0f172a; border-radius: 8px; padding: 18px 20px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.9; color: #cbd5e1; overflow-x: auto; white-space: pre; }
.ps-tree .k { color: #a78bfa; }
.ps-tree .s { color: #34d399; }
.ps-tree .w { color: #fbbf24; }
.ps-tree .r { color: #f87171; }

/* ---------- 信息条（含 ps-size-bar 别名） ---------- */
.ps-info-bar, .ps-size-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f8fafc; border-radius: 6px; border: 1px solid #e2e8f0; font-size: 12px; margin-top: 8px; }
.dark .ps-info-bar, .dark .ps-size-bar { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.ps-info-label, .ps-size-label { font-family: ui-monospace, monospace; font-weight: 600; color: #165dff; font-size: 11px; flex: none; width: 96px; }
.dark .ps-info-label, .dark .ps-size-label { color: #60a5ff; }
.ps-info-value, .ps-size-value { color: #334155; font-size: 12px; }
.dark .ps-info-value, .dark .ps-size-value { color: #cbd5e1; }
.ps-size-label { width: 92px; }
.ps-size-value { font-family: ui-monospace, monospace; }
.ps-size-desc { color: #94a3b8; font-size: 11px; margin-left: auto; }
.n-a-cont{text-align: justify;}
.bg1{background:#f4f6fb}
.font16{font-size:16px;}
/* ---------- 通用工具（用于 description 里嵌 icon） ---------- */
@media (max-width: 640px) { 
    .ps-section h2 { font-size: clamp(20px, 4.5vw, 26px); } 
    .grid.n-a-cont{display:block;} 
    .font16{font-size:14px;}
}

/* ============================================================
   第 2 段：各页专属样式（学院 / 专题 / 企业官网 / PbootCMS）
   ============================================================ */

/* ---------- 色相切换：academy / solutions / pricing ---------- */
body.page-academy .ps-h1 em,
body.page-solutions .ps-h1 em,
body.page-pricing .ps-h1 em {
  background: linear-gradient(90deg, #165dff, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.page-academy .ps-eyebrow,
body.page-solutions .ps-eyebrow,
body.page-pricing .ps-eyebrow { color: #165dff; }
.dark body.page-academy .ps-eyebrow,
.dark body.page-solutions .ps-eyebrow,
.dark body.page-pricing .ps-eyebrow { color: #60a5ff; }

/* ============================================================
   academy.html · 4 栏目入口卡片
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.cat-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e8ecf1; border-radius: 12px;
  padding: 24px; text-decoration: none;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  height: 100%; position: relative; overflow: hidden;
}
.cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #165dff, #06b6d4); opacity: 0; transition: opacity .3s;
}
.cat-card:hover::before { opacity: 1; }
.cat-card:hover { border-color: #c9dcff; transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(22,93,255,.22); }
.dark .cat-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.dark .cat-card:hover { border-color: rgba(96,165,255,.35); }
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex: none; }
.cat-title { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0 0 2px; letter-spacing: -.01em; transition: color .3s; }
.dark .cat-title { color: #f8fafc; }
.cat-card:hover .cat-title { color: #165dff; }
.dark .cat-card:hover .cat-title { color: #60a5ff; }
.cat-title a { color: inherit; text-decoration: none; transition: color .25s; }
.dark .cat-title a { color: inherit; }
.cat-card:hover .cat-title a { color: #165dff; }
.dark .cat-card:hover .cat-title a { color: #60a5ff; }
.cat-count { font-size: 11.5px; color: #94a3b8; font-family: ui-monospace, monospace; }
.dark .cat-count { color: #64748b; }
.cat-desc { font-size: 13px; color: #64748b; line-height: 1.65; margin: 0 0 14px; }
.dark .cat-desc { color: #94a3b8; }
.cat-posts { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; }
.cat-posts li { padding: 5px 0; border-bottom: 1px dashed #f1f5f9; }
.dark .cat-posts li { border-bottom-color: rgba(255,255,255,.05); }
.cat-posts li:last-child { border-bottom: 0; }
.cat-posts a { font-size: 12.5px; color: #475569; text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color .25s; line-height: 1.5; }
.dark .cat-posts a { color: #cbd5e1; }
.cat-posts a:hover { color: #165dff; }
.dark .cat-posts a:hover { color: #60a5ff; }
.cat-posts a::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; flex: none; }
.dark .cat-posts a::before { background: #475569; }
.cat-more { font-size: 12.5px; font-weight: 500; color: #165dff; display: inline-flex; align-items: center; gap: 5px; margin-top: auto; text-decoration: none; }
.dark .cat-more { color: #60a5ff; }
.cat-card:hover .cat-more i { transform: translateX(3px); }
.cat-more i { font-size: 10px; transition: transform .3s; }

/* ============================================================
   academy.html / academy-list.html · 文章列表
   ============================================================ */
.post-list { background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; padding: 0 24px; }
.dark .post-list { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.post-item { border-bottom: 1px solid #f1f5f9; }
.dark .post-item { border-bottom-color: rgba(255,255,255,.05); }
.post-item:last-child { border-bottom: 0; }
.post-link { display: flex; align-items: flex-start; gap: 20px; padding: 16px 0; text-decoration: none; transition: padding-left .25s ease; }
.post-link:hover { padding-left: 6px; }
.post-date { flex: none; width: 76px; font-family: ui-monospace, monospace; font-size: 11.5px; color: #94a3b8; padding-top: 2px; }
.dark .post-date { color: #64748b; }
.post-body { flex: 1; min-width: 0; }
.post-title { font-size: 14.5px; font-weight: 600; color: #0f172a; margin: 0 0 3px; line-height: 1.5; transition: color .25s; }
.dark .post-title { color: #f8fafc; }
.post-link:hover .post-title { color: #165dff; }
.dark .post-link:hover .post-title { color: #60a5ff; }
.post-excerpt { font-size: 12px; color: #64748b; line-height: 1.6; margin: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.dark .post-excerpt { color: #94a3b8; }
.post-tag { flex: none; font-size: 10px; padding: 2px 8px; border-radius: 3px; background: #eff6ff; color: #165dff; border: 1px solid #dbeafe; white-space: nowrap; margin-top: 2px; }
.dark .post-tag { background: rgba(96,165,255,.1); color: #60a5ff; border-color: rgba(96,165,255,.2); }
.post-views { flex: none; font-family: ui-monospace, monospace; font-size: 11px; color: #94a3b8; padding-top: 3px; }
.dark .post-views { color: #64748b; }
@media (max-width: 640px) {
  .post-date, .post-tag, .post-views { display: none; }
  .post-link { padding: 14px 0; }
}

/* ============================================================
   academy-list.html · 栏目切换 Tab
   ============================================================ */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: #f5f8fc; border: 1px solid #e6ecf3; border-radius: 10px; margin-bottom: 24px; }
.dark .cat-tabs { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.cat-tab { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: #475569; padding: 7px 14px; border-radius: 6px; text-decoration: none; transition: all .25s ease; white-space: nowrap; }
.dark .cat-tab { color: #cbd5e1; }
.cat-tab:hover { background: #fff; color: #165dff; }
.dark .cat-tab:hover { background: rgba(255,255,255,.06); color: #60a5ff; }
.cat-tab.active { background: #fff; color: #165dff; font-weight: 600; box-shadow: 0 1px 2px rgba(15,23,42,.06); }
.dark .cat-tab.active { background: rgba(96,165,255,.15); color: #60a5ff; }
.cat-tab .cnt { font-family: ui-monospace, monospace; font-size: 10.5px; color: #94a3b8; }
.dark .cat-tab .cnt { color: #64748b; }
.cat-tab.active .cnt { color: #165dff; }
.dark .cat-tab.active .cnt { color: #60a5ff; }
@media (max-width: 640px) { .cat-tabs { overflow-x: auto; flex-wrap: nowrap; } }

/* ============================================================
   academy.html / academy-list.html / solutions.html · 静态分页
   ============================================================ */
.sol-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 28px 0 0; flex-wrap: wrap; }
.sol-page { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; color: #475569; font-size: 13px; font-weight: 500; font-family: ui-monospace, monospace; cursor: default; user-select: none; }
.dark .sol-page { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); color: #cbd5e1; }
.sol-page.active { background: linear-gradient(135deg, #165dff, #06b6d4); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(22,93,255,.28); }
.sol-page.disabled { opacity: .4; }
.sol-page-meta { text-align: center; margin-top: 12px; font-size: 12px; color: #94a3b8; font-family: ui-monospace, monospace; }
.dark .sol-page-meta { color: #64748b; }

/* ============================================================
   topics.html · 三个专题大卡
   ============================================================ */
.ps-topic-card { display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; text-decoration: none; transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease; height: 100%; position: relative; overflow: hidden; }
.ps-topic-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #2f80ff, #7c3aed); opacity: 0; transition: opacity .3s ease; }
.ps-topic-card:hover::before { opacity: 1; }
.ps-topic-card:hover { border-color: #c9dcff; transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(47,128,255,.2); }
.dark .ps-topic-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.dark .ps-topic-card:hover { border-color: rgba(96,165,255,.35); }
.ps-topic-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 4px 10px; border-radius: 4px; align-self: flex-start; margin-bottom: 16px; font-family: ui-monospace, monospace; }
.ps-topic-tag-blue { background: #eff6ff; color: #165dff; border: 1px solid #dbeafe; }
.ps-topic-tag-green { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.ps-topic-tag-purple { background: #faf5ff; color: #7c3aed; border: 1px solid #e9d5ff; }
.dark .ps-topic-tag-blue { background: rgba(96,165,255,.1); color: #60a5ff; border-color: rgba(96,165,255,.2); }
.dark .ps-topic-tag-green { background: rgba(16,185,129,.1); color: #34d399; border-color: rgba(16,185,129,.2); }
.dark .ps-topic-tag-purple { background: rgba(124,58,237,.12); color: #a78bfa; border-color: rgba(124,58,237,.25); }
.ps-topic-title { font-size: 22px; font-weight: 700; color: #0f172a; margin: 0 0 10px; letter-spacing: -.02em; line-height: 1.25; }
.dark .ps-topic-title { color: #f8fafc; }
.ps-topic-desc { font-size: 13.5px; color: #64748b; line-height: 1.7; margin: 0 0 20px; flex: 1; }
.dark .ps-topic-desc { color: #94a3b8; }
.ps-topic-content { border-top: 1px solid #f1f5f9; padding-top: 16px; margin-bottom: 20px; }
.dark .ps-topic-content { border-top-color: rgba(255,255,255,.06); }
.ps-topic-content-label { font-size: 10.5px; font-weight: 600; color: #94a3b8; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; font-family: ui-monospace, monospace; }
.dark .ps-topic-content-label { color: #64748b; }
.ps-topic-list { list-style: none; padding: 0; margin: 0; }
.ps-topic-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #475569; line-height: 1.6; padding: 4px 0; }
.dark .ps-topic-list li { color: #cbd5e1; }
.ps-topic-list li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; margin-top: 9px; flex: none; }
.dark .ps-topic-list li::before { background: #475569; }
.ps-topic-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid #f1f5f9; }
.dark .ps-topic-meta { border-top-color: rgba(255,255,255,.06); }
.ps-topic-count { font-size: 11.5px; color: #64748b; font-family: ui-monospace, monospace; }
.dark .ps-topic-count { color: #94a3b8; }
.ps-topic-count strong { color: #0f172a; font-weight: 700; }
.dark .ps-topic-count strong { color: #f8fafc; }
.ps-topic-go { font-size: 13px; font-weight: 500; color: #2f80ff; display: inline-flex; align-items: center; gap: 6px; transition: gap .3s ease; }
.dark .ps-topic-go { color: #60a5ff; }
.ps-topic-card:hover .ps-topic-go { gap: 10px; }

/* topics.html · 4 种内容类型 */
.ps-type-card { padding: 22px; background: #fff; border: 1px solid #e8ecf1; border-radius: 10px; height: 100%; transition: border-color .3s ease, transform .3s ease; }
.ps-type-card:hover { border-color: #c9dcff; transform: translateY(-2px); }
.dark .ps-type-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.ps-type-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 15px; color: #fff; box-shadow: 0 4px 12px rgba(47,128,255,.25); }
.ps-type-title { font-size: 15px; font-weight: 600; color: #0f172a; margin: 0 0 8px; }
.dark .ps-type-title { color: #f8fafc; }
.ps-type-desc { font-size: 12.5px; color: #64748b; line-height: 1.65; margin: 0; }
.dark .ps-type-desc { color: #94a3b8; }

/* ============================================================
   ai-auto-publishing.html · 阅读路径卡
   ============================================================ */
.ps-path-step { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid #e2e8f0; }
.dark .ps-path-step { border-top-color: rgba(255,255,255,.06); }
.ps-path-step:first-child { border-top: 0; padding-top: 0; }
.ps-path-num { flex: none; width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #2f80ff, #7c3aed); color: #fff; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, monospace; font-size: 12px; font-weight: 700; box-shadow: 0 4px 10px rgba(47,128,255,.28); }
.ps-path-content h4 { font-size: 14px; font-weight: 600; color: #0f172a; margin: 0 0 3px; }
.dark .ps-path-content h4 { color: #f8fafc; }
.ps-path-content p { font-size: 12px; color: #64748b; line-height: 1.55; margin: 0; }
.dark .ps-path-content p { color: #94a3b8; }

/* ============================================================
   enterprise-website-auto-operation.html · 排期表 + 指标 + 对比
   ============================================================ */
.ps-schedule { display: flex; flex-direction: column; gap: 10px; }
.ps-day { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #f8fafc; border-radius: 6px; border-left: 2px solid #dbeafe; }
.dark .ps-day { background: rgba(255,255,255,.03); border-left-color: rgba(96,165,255,.4); }
.ps-day.active { background: #ecfdf5; border-left-color: #10b981; }
.dark .ps-day.active { background: rgba(16,185,129,.08); border-left-color: #10b981; }
.ps-day-tag { flex: none; font-family: ui-monospace, monospace; font-size: 10.5px; font-weight: 600; color: #64748b; width: 48px; letter-spacing: .04em; }
.dark .ps-day-tag { color: #94a3b8; }
.ps-day.active .ps-day-tag { color: #047857; }
.dark .ps-day.active .ps-day-tag { color: #34d399; }
.ps-day-content { flex: 1; font-size: 12px; color: #334155; line-height: 1.5; }
.dark .ps-day-content { color: #cbd5e1; }
.ps-day-badge { flex: none; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 3px; background: #2f80ff; color: #fff; letter-spacing: .04em; }
.ps-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e2e8f0; border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.dark .ps-metrics { background: rgba(255,255,255,.08); }
.ps-metric { background: #fff; padding: 12px 14px; }
.dark .ps-metric { background: #0d1018; }
.ps-metric-label { font-size: 10px; font-weight: 600; color: #94a3b8; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; font-family: ui-monospace, monospace; }
.dark .ps-metric-label { color: #64748b; }
.ps-metric-val { font-size: 18px; font-weight: 700; color: #0f172a; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.dark .ps-metric-val { color: #f8fafc; }
.ps-metric-val .delta { font-size: 11px; font-weight: 600; color: #047857; margin-left: 4px; }
.dark .ps-metric-val .delta { color: #34d399; }

/* 自动 vs 人工对比条（enterprise / pbootcms 共用） */
.ps-compare-row { display: grid; grid-template-columns: 100px 1fr 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid #f1f5f9; align-items: center; font-size: 12.5px; }
.dark .ps-compare-row { border-top-color: rgba(255,255,255,.04); }
.ps-compare-row:first-child { border-top: 0; }
.ps-compare-key { font-weight: 600; color: #0f172a; font-size: 12px; }
.dark .ps-compare-key { color: #f8fafc; }
.ps-compare-val { color: #64748b; font-size: 12px; line-height: 1.5; }
.dark .ps-compare-val { color: #94a3b8; }
.ps-compare-val.win { color: #047857; font-weight: 500; }
.dark .ps-compare-val.win { color: #34d399; }

/* ============================================================
   pbootcms-ai-plugin.html · 隔离关系图示
   ============================================================ */
.ps-isolation { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; background: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0; }
.dark .ps-isolation { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.ps-iso-block { flex: 1; text-align: center; padding: 10px 8px; border-radius: 6px; font-size: 11px; font-family: ui-monospace, monospace; line-height: 1.4; }
.ps-iso-block.core { background: #fff; border: 1px solid #cbd5e1; color: #475569; }
.dark .ps-iso-block.core { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: #cbd5e1; }
.ps-iso-block.plugin { background: #faf5ff; border: 1px solid #e9d5ff; color: #7c3aed; font-weight: 600; }
.dark .ps-iso-block.plugin { background: rgba(124,58,237,.12); border-color: rgba(124,58,237,.3); color: #a78bfa; }
.ps-iso-block strong { display: block; font-size: 12px; margin-bottom: 3px; }
.ps-iso-arrow { color: #cbd5e1; font-size: 12px; flex: none; }
.dark .ps-iso-arrow { color: #475569; }

/* ============================================================
   第 3 段：AI 自动发文 4 页 + 行业方案 2 页 + 帮助中心 4 页 + 价格 1 页
   ============================================================ */

/* ============================================================
   ai-publishing.html · Hero 统计 + 列表 + 五步流水线 + 4 能力
   ============================================================ */

/* Hero 统计三宫格 */
.ps-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e2e8f0; border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.dark .ps-stats { background: rgba(255,255,255,.08); }
.ps-stat { background: #fff; padding: 14px 16px; }
.dark .ps-stat { background: #0d1018; }
.ps-stat-num { display: block; font-size: 22px; font-weight: 700; color: #0f172a; line-height: 1; letter-spacing: -.02em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.dark .ps-stat-num { color: #f8fafc; }
.ps-stat-num em { font-style: normal; color: #2f80ff; }
.ps-stat-label { font-size: 11px; color: #64748b; letter-spacing: .02em; }
.dark .ps-stat-label { color: #94a3b8; }

/* Hero 列表 */
.ps-list-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #f1f5f9; font-size: 12.5px; }
.dark .ps-list-item { border-color: rgba(255,255,255,.04); }
.ps-list-item:first-child { border-top: 0; }
.ps-list-item .status { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.ps-list-item .status.done { background: #10b981; }
.ps-list-item .status.run { background: #2f80ff; animation: psPulseBlue 2s infinite; }
@keyframes psPulseBlue { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.ps-list-item .title { flex: 1; color: #334155; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dark .ps-list-item .title { color: #cbd5e1; }
.ps-list-item .time { color: #94a3b8; font-size: 11px; flex: none; }

/* 五步流水线 */
.ps-pipeline { background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; padding: 8px; overflow: hidden; }
.dark .ps-pipeline { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.ps-pipeline-inner { background: #f8fafc; border-radius: 8px; padding: 32px 24px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.dark .ps-pipeline-inner { background: rgba(255,255,255,.02); }
.ps-pipeline-inner::before { content: ""; position: absolute; top: 50px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, #dbeafe, #c7d2fe, #dbeafe); z-index: 0; }
.dark .ps-pipeline-inner::before { background: linear-gradient(90deg, rgba(96,165,255,.2), rgba(139,92,246,.2), rgba(96,165,255,.2)); }
.ps-node { text-align: center; position: relative; z-index: 1; }
.ps-node-icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid #fff; box-shadow: 0 0 0 1px #dbeafe, 0 4px 12px rgba(47,128,255,.12); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; color: #2f80ff; font-size: 15px; }
.dark .ps-node-icon { background: #0d1018; border-color: #0d1018; box-shadow: 0 0 0 1px rgba(96,165,255,.3); color: #60a5ff; }
.ps-node-title { font-size: 13.5px; font-weight: 600; color: #0f172a; margin-bottom: 4px; }
.dark .ps-node-title { color: #f8fafc; }
.ps-node-desc { font-size: 11.5px; color: #64748b; line-height: 1.5; }
.dark .ps-node-desc { color: #94a3b8; }

/* ============================================================
   写作过程行（ai-publishing / ai-writing / auto-image 三页共用）
   ============================================================ */
.ps-write { display: flex; flex-direction: column; gap: 10px; }
.ps-write-row { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 1.65; padding: 10px 12px; background: #f8fafc; border-radius: 6px; border-left: 2px solid #dbeafe; }
.dark .ps-write-row { background: rgba(255,255,255,.03); border-left-color: rgba(96,165,255,.4); }
.ps-write-row.active { border-left-color: #2f80ff; background: #eff6ff; }
.dark .ps-write-row.active { border-left-color: #60a5ff; background: rgba(96,165,255,.08); }
.ps-write-step { flex: none; font-size: 10px; font-weight: 700; letter-spacing: .05em; padding: 2px 7px; border-radius: 3px; background: #fff; border: 1px solid #cbd5e1; color: #64748b; margin-top: 1px; font-family: ui-monospace, monospace; }
.dark .ps-write-step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #94a3b8; }
.ps-write-row.active .ps-write-step { background: #2f80ff; border-color: #2f80ff; color: #fff; }
.ps-write-text { color: #334155; flex: 1; }
.dark .ps-write-text { color: #cbd5e1; }
.ps-write-text code { background: #fff; color: #165dff; padding: 1px 6px; border-radius: 3px; font-size: 11.5px; font-family: ui-monospace, monospace; border: 1px solid #dbeafe; }
.dark .ps-write-text code { background: rgba(96,165,255,.12); color: #60a5ff; border-color: rgba(96,165,255,.2); }

/* ============================================================
   写作页面（ai-writing.html）专属：滑块 + Prompt 对比 + 字段映射
   ============================================================ */
.ps-slider-row { display: grid; grid-template-columns: 44px 1fr 44px; gap: 12px; align-items: center; margin-top: 12px; }
.ps-slider-val { font-family: ui-monospace, monospace; font-size: 11px; font-weight: 600; color: #64748b; text-align: center; }
.dark .ps-slider-val { color: #94a3b8; }
.ps-slider-val.highlight { color: #165dff; }
.dark .ps-slider-val.highlight { color: #60a5ff; }
.ps-slider-track { height: 6px; background: #e2e8f0; border-radius: 99px; position: relative; overflow: visible; }
.dark .ps-slider-track { background: rgba(255,255,255,.08); }
.ps-slider-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2f80ff, #7c3aed); position: relative; }
.ps-slider-fill::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(22,93,255,.4), 0 0 0 2px #2f80ff; }

.ps-prompt-demo { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px 14px; font-size: 12.5px; line-height: 1.65; color: #334155; height: 100%; }
.dark .ps-prompt-demo { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); color: #cbd5e1; }
.ps-prompt-demo.bad { border-left: 3px solid #fca5a5; background: #fef2f2; }
.dark .ps-prompt-demo.bad { background: rgba(220,38,38,.06); border-left-color: #f87171; }
.ps-prompt-demo.good { border-left: 3px solid #86efac; background: #f0fdf4; }
.dark .ps-prompt-demo.good { background: rgba(22,163,74,.06); border-left-color: #4ade80; }
.ps-prompt-label { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; color: #64748b; }
.dark .ps-prompt-label { color: #94a3b8; }
.ps-prompt-demo.bad .ps-prompt-label { color: #b91c1c; }
.ps-prompt-demo.good .ps-prompt-label { color: #15803d; }

.ps-field-row { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid #f1f5f9; align-items: center; font-size: 13px; }
.dark .ps-field-row { border-top-color: rgba(255,255,255,.04); }
.ps-field-row:first-child { border-top: 0; }
.ps-field-key { font-family: ui-monospace, monospace; font-size: 12px; color: #165dff; font-weight: 600; }
.dark .ps-field-key { color: #60a5ff; }
.ps-field-val { color: #334155; line-height: 1.55; }
.dark .ps-field-val { color: #cbd5e1; }
.ps-field-out { color: #64748b; font-size: 12px; line-height: 1.55; }
.dark .ps-field-out { color: #94a3b8; }

/* ============================================================
   配图页面（auto-image.html）专属：图片流程模拟
   ============================================================ */
.ps-image-demo { display: flex; align-items: center; gap: 12px; padding: 14px; background: #f8fafc; border-radius: 8px; border: 1px dashed #cbd5e1; }
.dark .ps-image-demo { background: rgba(255,255,255,.02); border-color: rgba(255,255,255,.1); }
.ps-image-box { flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eff6ff, #f3e8ff); border-radius: 6px; font-size: 9px; font-weight: 600; color: #60a5ff; font-family: ui-monospace, monospace; }
.dark .ps-image-box { background: linear-gradient(135deg, rgba(96,165,255,.1), rgba(139,92,246,.1)); }
.ps-image-arrow { color: #cbd5e1; flex: none; font-size: 11px; }

/* ============================================================
   定时发布页面（scheduler.html）专属：时间轴 + 频率卡
   ============================================================ */
.ps-timeline { position: relative; padding-left: 20px; }
.ps-timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, #dbeafe, #c7d2fe); border-radius: 2px; }
.dark .ps-timeline::before { background: linear-gradient(180deg, rgba(96,165,255,.3), rgba(139,92,246,.3)); }
.ps-tl-item { position: relative; padding: 0 0 18px 24px; }
.ps-tl-item:last-child { padding-bottom: 0; }
.ps-tl-item::before { content: ""; position: absolute; left: 1px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #2f80ff; box-shadow: 0 0 0 3px #eff6ff; }
.dark .ps-tl-item::before { background: #0d1018; border-color: #60a5ff; box-shadow: 0 0 0 3px rgba(96,165,255,.15); }
.ps-tl-item.done::before { background: #10b981; border-color: #10b981; box-shadow: 0 0 0 3px #ecfdf5; }
.dark .ps-tl-item.done::before { background: #10b981; border-color: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
.ps-tl-item.wait::before { background: #f59e0b; border-color: #f59e0b; box-shadow: 0 0 0 3px #fffbeb; }
.dark .ps-tl-item.wait::before { background: #f59e0b; border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.15); }
.ps-tl-time { font-family: ui-monospace, monospace; font-size: 11px; font-weight: 600; color: #165dff; margin-bottom: 3px; }
.dark .ps-tl-time { color: #60a5ff; }
.ps-tl-title { font-size: 13px; font-weight: 600; color: #0f172a; margin-bottom: 2px; }
.dark .ps-tl-title { color: #f8fafc; }
.ps-tl-desc { font-size: 11.5px; color: #64748b; line-height: 1.5; }
.dark .ps-tl-desc { color: #94a3b8; }
.ps-tl-status { font-size: 10px; padding: 2px 7px; border-radius: 3px; font-weight: 500; margin-left: 6px; }
.ps-tl-status.ok { background: #ecfdf5; color: #047857; }
.ps-tl-status.wait { background: #fffbeb; color: #b45309; }
.dark .ps-tl-status.ok { background: rgba(16,185,129,.12); color: #34d399; }
.dark .ps-tl-status.wait { background: rgba(245,158,11,.12); color: #fbbf24; }

.ps-freq { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.ps-freq-num { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #0f172a; font-variant-numeric: tabular-nums; }
.dark .ps-freq-num { color: #f8fafc; }
.ps-freq-num.grad { background: linear-gradient(90deg, #2f80ff, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ps-freq-unit { font-size: 13px; color: #64748b; font-weight: 500; }
.dark .ps-freq-unit { color: #94a3b8; }
.ps-freq-label { font-size: 12px; color: #94a3b8; margin-bottom: 12px; }
.dark .ps-freq-label { color: #64748b; }

/* ============================================================
   关键词库页面（keywords.html）专属：关键词行 + 对比示例 + chip
   ============================================================ */
.ps-kw-line { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #f1f5f9; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.dark .ps-kw-line { border-bottom-color: rgba(255,255,255,.04); }
.ps-kw-line:last-child { border-bottom: 0; }
.ps-kw-line .num { flex: none; width: 22px; color: #cbd5e1; font-size: 11px; text-align: right; }
.dark .ps-kw-line .num { color: #475569; }
.ps-kw-line .kw { flex: 1; color: #334155; }
.dark .ps-kw-line .kw { color: #cbd5e1; }
.ps-kw-line.picked { background: #eff6ff; }
.dark .ps-kw-line.picked { background: rgba(96,165,255,.08); }
.ps-kw-line.picked .kw { color: #165dff; font-weight: 600; }
.dark .ps-kw-line.picked .kw { color: #60a5ff; }
.ps-kw-line .mark { flex: none; font-size: 9.5px; font-weight: 600; padding: 1px 6px; border-radius: 3px; background: #2f80ff; color: #fff; letter-spacing: .05em; }

.ps-example { padding: 12px 14px; border-radius: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; line-height: 1.85; color: #334155; }
.dark .ps-example { color: #cbd5e1; }
.ps-example.bad { background: #fef2f2; border: 1px solid #fecaca; border-left: 3px solid #ef4444; }
.dark .ps-example.bad { background: rgba(220,38,38,.06); border-color: rgba(220,38,38,.2); border-left-color: #f87171; }
.ps-example.good { background: #f0fdf4; border: 1px solid #bbf7d0; border-left: 3px solid #16a34a; }
.dark .ps-example.good { background: rgba(22,163,74,.06); border-color: rgba(22,163,74,.2); border-left-color: #4ade80; }
.ps-example-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.ps-example.bad .ps-example-label { color: #b91c1c; }
.dark .ps-example.bad .ps-example-label { color: #f87171; }
.ps-example.good .ps-example-label { color: #15803d; }
.dark .ps-example.good .ps-example-label { color: #4ade80; }

.ps-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; padding: 3px 10px; border-radius: 4px; font-family: ui-monospace, monospace; }
.ps-chip-blue { background: #eff6ff; color: #165dff; border: 1px solid #dbeafe; }
.dark .ps-chip-blue { background: rgba(96,165,255,.1); color: #60a5ff; border-color: rgba(96,165,255,.2); }
.ps-chip-purple { background: #faf5ff; color: #7c3aed; border: 1px solid #e9d5ff; }
.dark .ps-chip-purple { background: rgba(124,58,237,.12); color: #a78bfa; border-color: rgba(124,58,237,.25); }
.ps-chip-green { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.dark .ps-chip-green { background: rgba(16,185,129,.1); color: #34d399; border-color: rgba(16,185,129,.2); }

/* ============================================================
   行业方案列表（solutions.html）：5 列行业卡 + 5 类配置卡
   ============================================================ */
.sol-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .sol-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .sol-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1280px) { .sol-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; } }
.sol-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8ecf1; border-radius: 10px; padding: 16px 14px 12px; text-decoration: none; transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease; position: relative; overflow: hidden; height: 100%; }
.sol-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #165dff, #06b6d4); opacity: 0; transition: opacity .3s ease; }
.sol-card:hover::before { opacity: 1; }
.sol-card:hover { border-color: #c9dcff; transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(22,93,255,.22); }
.dark .sol-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.dark .sol-card:hover { border-color: rgba(96,165,255,.35); }
.sol-card-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.sol-card-num { flex: none; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, monospace; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, #165dff, #06b6d4); box-shadow: 0 4px 12px rgba(22,93,255,.28), inset 0 1px 0 rgba(255,255,255,.2); transition: transform .35s ease, box-shadow .35s ease; }
.sol-card:hover .sol-card-num { transform: translateY(-2px) scale(1.05); box-shadow: 0 6px 16px rgba(22,93,255,.4), inset 0 1px 0 rgba(255,255,255,.25); }
.dark .sol-card-num { box-shadow: 0 4px 12px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.15); }
.sol-card-head-body { flex: 1; min-width: 0; }
.sol-card-title { font-size: 13.5px; font-weight: 600; color: #0f172a; margin: 0 0 5px; letter-spacing: -.02em; line-height: 1.3; transition: color .3s ease; }
.dark .sol-card-title { color: #f8fafc; }
.sol-card:hover .sol-card-title { color: #165dff; }
.dark .sol-card:hover .sol-card-title { color: #60a5ff; }
.sol-pack { display: inline-block; font-size: 9.5px; font-weight: 600; padding: 1px 7px; border-radius: 3px; background: #eff6ff; color: #165dff; border: 1px solid #dbeafe; font-family: ui-monospace, monospace; letter-spacing: .02em; white-space: nowrap; }
.dark .sol-pack { background: rgba(96,165,255,.1); color: #60a5ff; border-color: rgba(96,165,255,.2); }
.sol-pack.purple { background: #faf5ff; color: #7c3aed; border-color: #e9d5ff; }
.dark .sol-pack.purple { background: rgba(124,58,237,.12); color: #a78bfa; border-color: rgba(124,58,237,.25); }
.sol-pack.green { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.dark .sol-pack.green { background: rgba(16,185,129,.1); color: #34d399; border-color: rgba(16,185,129,.2); }
.sol-card-desc { font-size: 11.5px; color: #64748b; line-height: 1.55; margin: 0 0 10px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dark .sol-card-desc { color: #94a3b8; }
.sol-card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.sol-card-tags span { font-size: 9.5px; padding: 1px 6px; border-radius: 3px; background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; white-space: nowrap; }
.dark .sol-card-tags span { background: rgba(255,255,255,.03); color: #94a3b8; border-color: rgba(255,255,255,.08); }
.sol-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid #f1f5f9; }
.dark .sol-card-foot { border-top-color: rgba(255,255,255,.06); }
.sol-card-go { font-size: 11.5px; font-weight: 500; color: #165dff; display: inline-flex; align-items: center; gap: 5px; }
.dark .sol-card-go { color: #60a5ff; }
.sol-card-go i { font-size: 9px; transition: transform .3s ease; }
.sol-card:hover .sol-card-go i { transform: translateX(3px); }

.cfg-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .cfg-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cfg-grid { grid-template-columns: repeat(5, 1fr); } }
.cfg-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; padding: 22px 20px; position: relative; transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease; height: 100%; overflow: hidden; }
.cfg-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #165dff, #06b6d4); opacity: 0; transition: opacity .3s ease; }
.cfg-card:hover::before { opacity: 1; }
.cfg-card:hover { border-color: #c9dcff; transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(22,93,255,.22); }
.dark .cfg-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.dark .cfg-card:hover { border-color: rgba(96,165,255,.35); }
.cfg-num { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, monospace; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #fff; margin-bottom: 16px; background: linear-gradient(135deg, #165dff, #06b6d4); box-shadow: 0 4px 12px rgba(22,93,255,.28), inset 0 1px 0 rgba(255,255,255,.2); transition: transform .35s ease, box-shadow .35s ease; }
.cfg-card:hover .cfg-num { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 20px rgba(22,93,255,.4), inset 0 1px 0 rgba(255,255,255,.25); }
.dark .cfg-num { box-shadow: 0 4px 12px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.15); }
.cfg-card h3 { font-size: 15px; font-weight: 600; color: #0f172a; margin: 0 0 8px; letter-spacing: -.01em; transition: color .3s ease; }
.dark .cfg-card h3 { color: #f8fafc; }
.cfg-card:hover h3 { color: #165dff; }
.dark .cfg-card:hover h3 { color: #60a5ff; }
.cfg-card p { font-size: 12.5px; color: #64748b; line-height: 1.65; margin: 0; flex: 1; }
.dark .cfg-card p { color: #94a3b8; }

/* ============================================================
   行业方案详情（solutions-xq.html）：随机方案 / 热点方案 / 推荐侧栏
   ============================================================ */
.random-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.random-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 8px; text-decoration: none; transition: border-color .25s, background .25s; min-width: 0; }
.dark .random-item { background: rgba(255,255,255,.02); border-color: rgba(255,255,255,.06); }
.random-item:hover { border-color: #c9dcff; background: #eff6ff; }
.dark .random-item:hover { border-color: rgba(96,165,255,.3); background: rgba(96,165,255,.06); }
.random-num { flex: none; width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, monospace; font-size: 10px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #165dff, #06b6d4); }
.random-title { font-size: 12px; font-weight: 500; color: #0f172a; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dark .random-title { color: #f8fafc; }
.random-item:hover .random-title { color: #165dff; }
.dark .random-item:hover .random-title { color: #60a5ff; }

.hot-list { list-style: none; padding: 0; margin: 0; }
.hot-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #f1f5f9; text-decoration: none; transition: color .25s ease; }
.dark .hot-item { border-bottom-color: rgba(255,255,255,.05); }
.hot-item:last-child { border-bottom: 0; }
.hot-rank { flex: none; width: 22px; height: 22px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, monospace; font-size: 10.5px; font-weight: 700; color: #64748b; background: #f1f5f9; }
.dark .hot-rank { background: rgba(255,255,255,.06); color: #94a3b8; }
.hot-item:nth-child(1) .hot-rank { background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; }
.hot-item:nth-child(2) .hot-rank { background: linear-gradient(135deg, #94a3b8, #64748b); color: #fff; }
.hot-item:nth-child(3) .hot-rank { background: linear-gradient(135deg, #b45309, #92400e); color: #fff; }
.hot-title { flex: 1; font-size: 12.5px; font-weight: 500; color: #0f172a; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .25s ease; }
.dark .hot-title { color: #f8fafc; }
.hot-item:hover .hot-title { color: #165dff; }
.dark .hot-item:hover .hot-title { color: #60a5ff; }
.hot-views { flex: none; font-family: ui-monospace, monospace; font-size: 10.5px; color: #94a3b8; }
.dark .hot-views { color: #64748b; }

.side-reco { display: flex; flex-direction: column; gap: 8px; }
.side-reco a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: #f8fafc; border: 1px solid #eef2f7; text-decoration: none; transition: border-color .25s, background .25s; }
.dark .side-reco a { background: rgba(255,255,255,.02); border-color: rgba(255,255,255,.06); }
.side-reco a:hover { border-color: #c9dcff; background: #eff6ff; }
.dark .side-reco a:hover { border-color: rgba(96,165,255,.3); background: rgba(96,165,255,.06); }
.side-reco .num { flex: none; width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, monospace; font-size: 10.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #165dff, #06b6d4); }
.side-reco .txt { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 500; color: #0f172a; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dark .side-reco .txt { color: #f8fafc; }
.side-reco a:hover .txt { color: #165dff; }
.dark .side-reco a:hover .txt { color: #60a5ff; }
.side-reco .go { flex: none; color: #cbd5e1; font-size: 10px; }
.dark .side-reco .go { color: #475569; }
.side-reco a:hover .go { color: #165dff; }
.dark .side-reco a:hover .go { color: #60a5ff; }

/* ============================================================
   帮助中心首页（docs.html）：三主入口 + 常用文档 + 环境检查
   ============================================================ */
.docs-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .docs-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.docs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8ecf1; border-radius: 14px; padding: 28px 24px; text-decoration: none; position: relative; overflow: hidden; transition: border-color .3s, transform .3s, box-shadow .3s; height: 100%; }
.docs-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #165dff, #06b6d4); opacity: 0; transition: opacity .3s; }
.docs-card:hover::before { opacity: 1; }
.docs-card:hover { border-color: #c9dcff; transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(22,93,255,.22); }
.dark .docs-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.dark .docs-card:hover { border-color: rgba(96,165,255,.35); }
.docs-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex: none; margin-bottom: 18px; }
.docs-title { font-size: 18px; font-weight: 700; color: #0f172a; margin: 0 0 10px; letter-spacing: -.015em; transition: color .3s; }
.dark .docs-title { color: #f8fafc; }
.docs-card:hover .docs-title { color: #165dff; }
.dark .docs-card:hover .docs-title { color: #60a5ff; }
.docs-desc { font-size: 13px; color: #64748b; line-height: 1.7; margin: 0 0 18px; flex: 1; }
.dark .docs-desc { color: #94a3b8; }
.docs-list { list-style: none; padding: 14px 0 0; margin: 0 0 18px; border-top: 1px solid #f1f5f9; }
.dark .docs-list { border-top-color: rgba(255,255,255,.06); }
.docs-list li { font-size: 12.5px; color: #475569; padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.dark .docs-list li { color: #cbd5e1; }
.docs-list li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; flex: none; }
.dark .docs-list li::before { background: #475569; }
.docs-go { font-size: 13px; font-weight: 500; color: #165dff; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.dark .docs-go { color: #60a5ff; }
.docs-card:hover .docs-go i { transform: translateX(3px); }
.docs-go i { font-size: 10px; transition: transform .3s; }

.common-list { background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; padding: 0 24px; }
.dark .common-list { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.common-item { border-bottom: 1px solid #f1f5f9; }
.dark .common-item { border-bottom-color: rgba(255,255,255,.05); }
.common-item:last-child { border-bottom: 0; }
.common-link { display: flex; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none; transition: padding-left .25s ease; }
.common-link:hover { padding-left: 6px; }
.common-icon { flex: none; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #f1f5f9; color: #64748b; font-size: 12px; transition: background .25s, color .25s; }
.dark .common-icon { background: rgba(255,255,255,.06); color: #94a3b8; }
.common-link:hover .common-icon { background: #eff6ff; color: #165dff; }
.dark .common-link:hover .common-icon { background: rgba(96,165,255,.15); color: #60a5ff; }
.common-body { flex: 1; min-width: 0; }
.common-title { font-size: 14px; font-weight: 600; color: #0f172a; margin: 0 0 2px; line-height: 1.5; transition: color .25s; }
.dark .common-title { color: #f8fafc; }
.common-link:hover .common-title { color: #165dff; }
.dark .common-link:hover .common-title { color: #60a5ff; }
.common-desc { font-size: 12px; color: #64748b; line-height: 1.6; margin: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.dark .common-desc { color: #94a3b8; }
.common-cat { flex: none; font-size: 10px; padding: 2px 8px; border-radius: 3px; background: #eff6ff; color: #165dff; border: 1px solid #dbeafe; white-space: nowrap; }
.dark .common-cat { background: rgba(96,165,255,.1); color: #60a5ff; border-color: rgba(96,165,255,.2); }
.common-cat.green { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.dark .common-cat.green { background: rgba(16,185,129,.1); color: #34d399; border-color: rgba(16,185,129,.2); }
.common-cat.purple { background: #faf5ff; color: #7c3aed; border-color: #e9d5ff; }
.dark .common-cat.purple { background: rgba(124,58,237,.12); color: #a78bfa; border-color: rgba(124,58,237,.25); }
@media (max-width: 640px) { .common-cat { display: none; } }

.env-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .env-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .env-grid { grid-template-columns: repeat(3, 1fr); } }
.env-item { background: #fff; border: 1px solid #e8ecf1; border-radius: 10px; padding: 14px 16px; display: flex; align-items: flex-start; gap: 10px; }
.dark .env-item { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.env-check { flex: none; width: 20px; height: 20px; border-radius: 50%; background: #ecfdf5; color: #047857; display: flex; align-items: center; justify-content: center; font-size: 10px; margin-top: 1px; }
.dark .env-check { background: rgba(16,185,129,.15); color: #34d399; }
.env-body { flex: 1; min-width: 0; }
.env-name { font-family: ui-monospace, monospace; font-size: 12.5px; font-weight: 600; color: #0f172a; margin: 0 0 2px; }
.dark .env-name { color: #f8fafc; }
.env-desc { font-size: 11.5px; color: #64748b; line-height: 1.55; margin: 0; }
.dark .env-desc { color: #94a3b8; }

/* ============================================================
   部署手册（deploy.html）：深色代码块 + 检查清单 + 步骤导航
   ============================================================ */
.code-block { background: #0f172a; border-radius: 8px; overflow: hidden; margin: 14px 0 18px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); }
.code-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #1a2332; border-bottom: 1px solid #2a3444; }
.code-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.code-bar .dot:nth-child(1) { background: #ff5f57; }
.code-bar .dot:nth-child(2) { background: #febc2e; }
.code-bar .dot:nth-child(3) { background: #28c840; }
.code-bar .title { margin-left: 8px; font-family: ui-monospace, monospace; font-size: 11px; color: #94a3b8; }
.code-body { padding: 14px 16px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.85; color: #cbd5e1; overflow-x: auto; white-space: pre; }
.code-body .c { color: #64748b; font-style: italic; }
.code-body .k { color: #60a5ff; font-weight: 600; }
.code-body .s { color: #34d399; }
.code-body .w { color: #fbbf24; }

.check-list { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 4px 14px; margin: 14px 0 18px; }
.dark .check-list { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.check-list .item { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #e2e8f0; font-size: 13px; line-height: 1.6; }
.dark .check-list .item { border-bottom-color: rgba(255,255,255,.06); }
.check-list .item:last-child { border-bottom: 0; }
.check-list .icon { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #ecfdf5; color: #047857; display: flex; align-items: center; justify-content: center; font-size: 9.5px; margin-top: 2px; }
.dark .check-list .icon { background: rgba(16,185,129,.15); color: #34d399; }
.check-list .content { flex: 1; min-width: 0; }
.check-list .k { font-family: ui-monospace, monospace; font-size: 12px; font-weight: 600; color: #0f172a; margin-right: 6px; }
.dark .check-list .k { color: #f8fafc; }

/* 步骤导航（deploy 与 faq 共用 toc-list） */
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { padding: 6px 0; border-bottom: 1px dashed #f1f5f9; }
.dark .toc-list li { border-bottom-color: rgba(255,255,255,.05); }
.toc-list li:last-child { border-bottom: 0; }
.toc-list a { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; font-size: 13px; color: #475569; text-decoration: none; line-height: 1.5; transition: color .25s; }
.dark .toc-list a { color: #cbd5e1; }
.toc-list a:hover { color: #165dff; }
.dark .toc-list a:hover { color: #60a5ff; }
.toc-list .num { flex: none; font-family: ui-monospace, monospace; font-size: 10.5px; color: #94a3b8; min-width: 18px; padding-top: 2px; }
.dark .toc-list .num { color: #64748b; }
.toc-list a:hover .num { color: #165dff; }
.dark .toc-list a:hover .num { color: #60a5ff; }
.toc-list .count { font-family: ui-monospace, monospace; font-size: 10.5px; color: #94a3b8; flex: none; }
.dark .toc-list .count { color: #64748b; }

/* ============================================================
   常见问题（faq.html）：分类导航 + FAQ 分组折叠
   ============================================================ */
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; background: #f5f8fc; border: 1px solid #e6ecf3; border-radius: 10px; margin-top: 20px; }
.dark .cat-nav { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.cat-nav a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: #475569; padding: 7px 14px; border-radius: 6px; text-decoration: none; transition: all .25s ease; white-space: nowrap; }
.dark .cat-nav a { color: #cbd5e1; }
.cat-nav a:hover { background: #fff; color: #165dff; }
.dark .cat-nav a:hover { background: rgba(255,255,255,.06); color: #60a5ff; }
.cat-nav .cnt { font-family: ui-monospace, monospace; font-size: 10.5px; color: #94a3b8; }
.dark .cat-nav .cnt { color: #64748b; }
.cat-nav a:hover .cnt { color: #165dff; }
.dark .cat-nav a:hover .cnt { color: #60a5ff; }

.faq-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 8fr 4fr; gap: 56px; } .faq-side { position: sticky; top: 104px; align-self: start; } }

.faq-group { margin-bottom: 32px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #e8ecf1; scroll-margin-top: 104px; }
.dark .faq-group-head { border-bottom-color: rgba(255,255,255,.08); }
.faq-group-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.faq-group-title { flex: 1; min-width: 0; }
.faq-group-title h2 { font-size: 18px; font-weight: 700; color: #0f172a; margin: 0 0 3px; letter-spacing: -.015em; }
.dark .faq-group-title h2 { color: #f8fafc; }
.faq-group-title p { font-size: 12px; color: #94a3b8; margin: 0; font-family: ui-monospace, monospace; }
.dark .faq-group-title p { color: #64748b; }
@media (max-width: 640px) { .faq-group-title h2 { font-size: 16px; } }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-list details { background: #fff; border: 1px solid #e8ecf1; border-radius: 10px; overflow: hidden; transition: border-color .25s ease; }
.dark .faq-list details { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.faq-list details[open] { border-color: #c9dcff; }
.dark .faq-list details[open] { border-color: rgba(96,165,255,.35); }
.faq-list summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 600; color: #0f172a; line-height: 1.5; transition: background .2s ease; }
.dark .faq-list summary { color: #f8fafc; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: #f8fafc; }
.dark .faq-list summary:hover { background: rgba(255,255,255,.02); }
.faq-list summary .q-num { flex: none; font-family: ui-monospace, monospace; font-size: 11px; color: #94a3b8; min-width: 22px; }
.dark .faq-list summary .q-num { color: #64748b; }
.faq-list summary .q-text { flex: 1; min-width: 0; }
.faq-list summary .q-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f1f5f9; color: #64748b; font-size: 10px; transition: transform .25s ease, background .25s ease; }
.dark .faq-list summary .q-icon { background: rgba(255,255,255,.06); color: #94a3b8; }
.faq-list details[open] summary .q-icon { transform: rotate(180deg); background: #eff6ff; color: #165dff; }
.dark .faq-list details[open] summary .q-icon { background: rgba(96,165,255,.15); color: #60a5ff; }
.faq-list .a-body { padding: 0 18px 16px 52px; font-size: 13px; color: #475569; line-height: 1.75; }
.dark .faq-list .a-body { color: #cbd5e1; }
.faq-list .a-body code { background: #f1f5f9; color: #165dff; padding: 1px 6px; border-radius: 4px; font-size: 12px; font-family: ui-monospace, monospace; }
.dark .faq-list .a-body code { background: rgba(96,165,255,.12); color: #60a5ff; }
.faq-list .a-body a { color: #165dff; text-decoration: underline; text-underline-offset: 2px; }
.dark .faq-list .a-body a { color: #60a5ff; }
@media (max-width: 640px) { .faq-list .a-body { padding-left: 18px; } }

/* ============================================================
   更新日志（changelog.html）：版本导航 + 版本卡片 + 破坏性提示
   ============================================================ */
.changelog-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .changelog-layout { grid-template-columns: 3fr 9fr; gap: 56px; } .changelog-side { position: sticky; top: 104px; align-self: start; } }

.ver-nav { background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; padding: 18px 20px; }
.dark .ver-nav { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.ver-nav-title { font-family: ui-monospace, monospace; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; margin-bottom: 12px; }
.dark .ver-nav-title { color: #64748b; }
.ver-nav ul { list-style: none; padding: 0; margin: 0; }
.ver-nav li { padding: 6px 0; border-bottom: 1px dashed #f1f5f9; }
.dark .ver-nav li { border-bottom-color: rgba(255,255,255,.05); }
.ver-nav li:last-child { border-bottom: 0; }
.ver-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: ui-monospace, monospace; font-size: 12px; color: #475569; text-decoration: none; line-height: 1.5; padding: 3px 0; transition: color .25s; }
.dark .ver-nav a { color: #cbd5e1; }
.ver-nav a:hover { color: #165dff; }
.dark .ver-nav a:hover { color: #60a5ff; }
.ver-nav .v { font-weight: 600; font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.ver-nav .d { font-size: 10.5px; color: #94a3b8; }
.dark .ver-nav .d { color: #64748b; }
.ver-nav .badge { font-size: 9px; padding: 1px 6px; border-radius: 3px; font-weight: 600; letter-spacing: .04em; }
.ver-nav .badge.new { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.dark .ver-nav .badge.new { background: rgba(16,185,129,.15); color: #34d399; border-color: rgba(16,185,129,.25); }
.ver-nav .badge.break { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.dark .ver-nav .badge.break { background: rgba(220,38,38,.1); color: #f87171; border-color: rgba(220,38,38,.25); }

.ver-filter { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0 0; margin-top: 12px; border-top: 1px solid #f1f5f9; }
.dark .ver-filter { border-top-color: rgba(255,255,255,.05); }
.ver-filter span { font-size: 10.5px; padding: 2px 8px; border-radius: 3px; background: #f8fafc; color: #64748b; border: 1px solid #e2e8f0; font-family: ui-monospace, monospace; }
.dark .ver-filter span { background: rgba(255,255,255,.03); color: #94a3b8; border-color: rgba(255,255,255,.08); }

.ver-item { background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; padding: 24px; margin-bottom: 20px; scroll-margin-top: 104px; position: relative; transition: border-color .3s; }
.ver-item:last-child { margin-bottom: 0; }
.ver-item:hover { border-color: #c9dcff; }
.dark .ver-item { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.dark .ver-item:hover { border-color: rgba(96,165,255,.3); }
.ver-item.has-break { border-left: 3px solid #f59e0b; }
.dark .ver-item.has-break { border-left-color: #fbbf24; }
.ver-head { display: flex; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #f1f5f9; margin-bottom: 16px; }
.dark .ver-head { border-bottom-color: rgba(255,255,255,.06); }
.ver-num { flex: none; min-width: 64px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, monospace; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #165dff, #06b6d4); box-shadow: 0 4px 12px rgba(22,93,255,.28), inset 0 1px 0 rgba(255,255,255,.2); padding: 0 12px; }
.dark .ver-num { box-shadow: 0 4px 12px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.15); }
.ver-item.has-break .ver-num { background: linear-gradient(135deg, #f59e0b, #f97316); box-shadow: 0 4px 12px rgba(245,158,11,.3), inset 0 1px 0 rgba(255,255,255,.2); }
.ver-head-body { flex: 1; min-width: 0; }
.ver-title { font-size: 17px; font-weight: 700; color: #0f172a; margin: 0 0 6px; letter-spacing: -.015em; line-height: 1.35; }
.dark .ver-title { color: #f8fafc; }
.ver-info { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 11.5px; color: #94a3b8; font-family: ui-monospace, monospace; }
.dark .ver-info { color: #64748b; }
.ver-info .sep { color: #cbd5e1; }
.dark .ver-info .sep { color: #334155; }
.ver-type { font-size: 10px; font-weight: 600; letter-spacing: .04em; padding: 2px 8px; border-radius: 3px; }
.ver-type.feature { background: #eff6ff; color: #165dff; border: 1px solid #dbeafe; }
.dark .ver-type.feature { background: rgba(96,165,255,.1); color: #60a5ff; border-color: rgba(96,165,255,.2); }
.ver-type.fix { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.dark .ver-type.fix { background: rgba(16,185,129,.1); color: #34d399; border-color: rgba(16,185,129,.2); }
.ver-type.break { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.dark .ver-type.break { background: rgba(220,38,38,.1); color: #f87171; border-color: rgba(220,38,38,.2); }

.change-group { margin-bottom: 14px; }
.change-group:last-child { margin-bottom: 0; }
.change-label { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; font-family: ui-monospace, monospace; }
.change-label.add { color: #047857; }
.dark .change-label.add { color: #34d399; }
.change-label.fix { color: #b91c1c; }
.dark .change-label.fix { color: #f87171; }
.change-label.improve { color: #165dff; }
.dark .change-label.improve { color: #60a5ff; }
.change-label.break { color: #b45309; }
.dark .change-label.break { color: #fbbf24; }
.change-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.change-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #475569; line-height: 1.65; }
.dark .change-list li { color: #cbd5e1; }
.change-list li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; margin-top: 9px; }
.dark .change-list li::before { background: #475569; }
.change-list li code { background: #f1f5f9; color: #165dff; padding: 1px 6px; border-radius: 4px; font-size: 11.5px; font-family: ui-monospace, monospace; }
.dark .change-list li code { background: rgba(96,165,255,.12); color: #60a5ff; }
.change-list li strong { color: #0f172a; font-weight: 600; }
.dark .change-list li strong { color: #f8fafc; }

.break-note { background: #fffbeb; border: 1px solid #fde68a; border-left: 3px solid #f59e0b; border-radius: 8px; padding: 12px 14px; font-size: 12.5px; color: #92400e; line-height: 1.7; margin: 12px 0 14px; }
.dark .break-note { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.25); border-left-color: #fbbf24; color: #fde68a; }
.break-note strong { color: #78350f; font-weight: 600; }
.dark .break-note strong { color: #fcd34d; }
.break-note code { background: rgba(255,255,255,.6); color: #92400e; padding: 1px 6px; border-radius: 3px; font-size: 11.5px; font-family: ui-monospace, monospace; }
.dark .break-note code { background: rgba(0,0,0,.2); color: #fde68a; }

/* ============================================================
   价格套餐（pricing.html）：4 套餐卡 + 对比表 + 额外成本 + 服务边界
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.price-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8ecf1; border-radius: 14px; padding: 26px 22px; position: relative; transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease; overflow: hidden; height: 100%; }
.price-card:hover { border-color: #c9dcff; transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(22,93,255,.22); }
.dark .price-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.dark .price-card:hover { border-color: rgba(96,165,255,.35); }
.price-card.featured { background: linear-gradient(160deg, #0B1220 0%, #131331 100%); border-color: transparent; color: #e2e8f0; box-shadow: 0 20px 50px -20px rgba(22,93,255,.4); }
.dark .price-card.featured { background: linear-gradient(160deg, #131331 0%, #1a1a3e 100%); }
.price-card.featured::before { content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(96,165,255,.3), transparent 70%); pointer-events: none; }
.price-featured-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; padding: 4px 14px; border-radius: 0 0 8px 8px; color: #fff; background: linear-gradient(90deg, #2f80ff, #7c3aed); box-shadow: 0 4px 14px rgba(47,128,255,.4); }
.price-label { display: inline-block; font-family: ui-monospace, monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; margin-bottom: 12px; }
.dark .price-label { color: #64748b; }
.price-card.featured .price-label { color: #93c5ff; }
.price-name { font-size: 19px; font-weight: 700; color: #0f172a; margin: 0 0 8px; letter-spacing: -.02em; line-height: 1.25; }
.dark .price-name { color: #f8fafc; }
.price-card.featured .price-name { color: #fff; }
.price-desc { font-size: 12.5px; color: #64748b; line-height: 1.65; margin: 0 0 20px; min-height: 60px; }
.dark .price-desc { color: #94a3b8; }
.price-card.featured .price-desc { color: #cbd5e1; }
.price-value { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; padding: 14px 0 4px; border-top: 1px solid #f1f5f9; }
.dark .price-value { border-top-color: rgba(255,255,255,.06); }
.price-card.featured .price-value { border-top-color: rgba(255,255,255,.1); }
.price-value strong { font-size: 22px; font-weight: 700; color: #165dff; letter-spacing: -.02em; line-height: 1; }
.dark .price-value strong { color: #60a5ff; }
.price-card.featured .price-value strong { color: #93c5ff; }
.price-value span { font-size: 12px; color: #94a3b8; font-family: ui-monospace, monospace; }
.dark .price-value span { color: #64748b; }
.price-card.featured .price-value span { color: #94a3b8; }
.price-hint { font-size: 11.5px; color: #94a3b8; line-height: 1.6; margin: 0 0 20px; font-family: ui-monospace, monospace; }
.dark .price-hint { color: #64748b; }
.price-card.featured .price-hint { color: #94a3b8; }
.price-features { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.price-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: #475569; line-height: 1.55; }
.dark .price-features li { color: #cbd5e1; }
.price-card.featured .price-features li { color: #cbd5e1; }
.price-features li i { flex: none; font-size: 11px; margin-top: 3px; color: #10b981; }
.price-card.featured .price-features li i { color: #34d399; }
.price-features li.off { opacity: .5; }
.price-features li.off i { color: #94a3b8; }
.dark .price-features li.off i { color: #475569; }
.price-cta { display: block; width: 100%; text-align: center; padding: 12px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 500; text-decoration: none; transition: all .25s ease; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.price-card .price-cta { background: #fff; border-color: #e8ecf1; color: #165dff; }
.price-card .price-cta:hover { border-color: #165dff; background: #eff6ff; transform: translateY(-1px); }
.dark .price-card .price-cta { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.1); color: #60a5ff; }
.dark .price-card .price-cta:hover { background: rgba(96,165,255,.1); border-color: rgba(96,165,255,.35); }
.price-card.featured .price-cta { background: linear-gradient(90deg, #2f80ff, #7c3aed); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -8px rgba(47,128,255,.5); }
.price-card.featured .price-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(47,128,255,.65); }

.cmp-wrap { background: #fff; border: 1px solid #e8ecf1; border-radius: 14px; overflow: hidden; }
.dark .cmp-wrap { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cmp-table thead th { text-align: left; padding: 16px 18px; font-size: 11px; font-weight: 600; color: #64748b; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid #e2e8f0; background: #f8fafc; font-family: ui-monospace, monospace; white-space: nowrap; }
.dark .cmp-table thead th { color: #94a3b8; border-bottom-color: rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.cmp-table thead th.featured-col { background: linear-gradient(90deg, #eff6ff, #faf5ff); color: #165dff; }
.dark .cmp-table thead th.featured-col { background: linear-gradient(90deg, rgba(96,165,255,.15), rgba(124,58,237,.15)); color: #93c5ff; }
.cmp-table tbody td { padding: 14px 18px; border-bottom: 1px solid #f1f5f9; color: #334155; vertical-align: middle; line-height: 1.55; }
.dark .cmp-table tbody td { border-bottom-color: rgba(255,255,255,.04); color: #cbd5e1; }
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table tbody td:first-child { font-weight: 500; color: #0f172a; min-width: 160px; }
.dark .cmp-table tbody td:first-child { color: #f8fafc; }
.cmp-table tbody td:not(:first-child) { text-align: center; }
.cmp-table tbody td.featured-col { background: #fafcff; }
.dark .cmp-table tbody td.featured-col { background: rgba(96,165,255,.04); }
.cmp-table .ic { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; }
.cmp-table .ic-yes { background: #ecfdf5; color: #047857; }
.dark .cmp-table .ic-yes { background: rgba(16,185,129,.15); color: #34d399; }
.cmp-table .ic-no { background: #f1f5f9; color: #94a3b8; }
.dark .cmp-table .ic-no { background: rgba(255,255,255,.06); color: #64748b; }
.cmp-table .txt-sm { font-size: 12px; color: #64748b; font-family: ui-monospace, monospace; }
.dark .cmp-table .txt-sm { color: #94a3b8; }

.extra-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .extra-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .extra-grid { grid-template-columns: repeat(3, 1fr); } }
.extra-card { background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; padding: 22px; display: flex; flex-direction: column; height: 100%; transition: border-color .3s, transform .3s; }
.extra-card:hover { border-color: #c9dcff; transform: translateY(-2px); }
.dark .extra-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.extra-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 15px; color: #fff; }
.extra-title { font-size: 15px; font-weight: 700; color: #0f172a; margin: 0 0 8px; }
.dark .extra-title { color: #f8fafc; }
.extra-desc { font-size: 12.5px; color: #64748b; line-height: 1.7; margin: 0; flex: 1; }
.dark .extra-desc { color: #94a3b8; }
.extra-cost { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e2e8f0; font-family: ui-monospace, monospace; font-size: 12px; color: #165dff; }
.dark .extra-cost { border-top-color: rgba(255,255,255,.08); color: #60a5ff; }

.scope-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .scope-grid { grid-template-columns: 1fr 1fr; } }
.scope-card { background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; padding: 24px; height: 100%; }
.dark .scope-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.scope-card.included { border-color: #a7f3d0; }
.dark .scope-card.included { border-color: rgba(16,185,129,.3); }
.scope-card.excluded { border-color: #fde68a; }
.dark .scope-card.excluded { border-color: rgba(245,158,11,.3); }
.scope-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.dark .scope-head { border-bottom-color: rgba(255,255,255,.06); }
.scope-head .icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.scope-card.included .scope-head .icon { background: #ecfdf5; color: #047857; }
.dark .scope-card.included .scope-head .icon { background: rgba(16,185,129,.15); color: #34d399; }
.scope-card.excluded .scope-head .icon { background: #fffbeb; color: #b45309; }
.dark .scope-card.excluded .scope-head .icon { background: rgba(245,158,11,.15); color: #fbbf24; }
.scope-head h3 { font-size: 15px; font-weight: 700; color: #0f172a; margin: 0; }
.dark .scope-head h3 { color: #f8fafc; }
.scope-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.scope-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #475569; line-height: 1.6; }
.dark .scope-list li { color: #cbd5e1; }
.scope-list li i { flex: none; font-size: 11px; margin-top: 3px; }
.scope-card.included .scope-list li i { color: #10b981; }
.scope-card.excluded .scope-list li i { color: #f59e0b; }




/* ===== Hero 右侧：行业索引分类云 ===== */
.ps-index-group {
  padding: 10px 0;
  border-top: 1px solid #f1f5f9;
}
.dark .ps-index-group { border-top-color: rgba(255,255,255,0.04); }
.ps-index-group:first-child { border-top: 0; padding-top: 0; }
.ps-index-label {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: ui-monospace, monospace;
}
.dark .ps-index-label { color: #64748b; }
.ps-index-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ps-index-tags span {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 4px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.dark .ps-index-tags span {
  background: rgba(255,255,255,0.03);
  color: #cbd5e1;
  border-color: rgba(255,255,255,0.08);
}



/* ============================================================
   END · pages.css
   ============================================================ */


  
  .article-tags a {
        display: inline-flex;
        align-items: center;
        padding: 0.35rem 0.8rem;
        font-size: 12px;
        font-weight: 500;
        color: #475569; /* text-slate-600 */
        background-color: #f1f5f9; /* bg-slate-100 */
        border: 1px solid #e2e8f0; /* border-slate-200 */
        border-radius: 9999px;
        text-decoration: none;
        transition: all 0.2s ease;
    }
    
    /* 鼠标悬停时的品牌色 */
    .article-tags a:hover {
        color: #165DFF; /* 你的品牌蓝 */
        background-color: #e0e7ff; /* 淡蓝背景 */
        border-color: #c7d2fe;
    }
    
    /* 暗黑模式下的标签样式 */
    .dark .article-tags a {
        color: #cbd5e1; /* text-slate-300 */
        background-color: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    /* 暗黑模式悬停 */
    .dark .article-tags a:hover {
        color: #60a5fa; /* brand-400 */
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }
    nav.flex-wrap span {font-size: 14px;}
    nav.flex-wrap span a{display: inline-block;
    padding: 4px 12px;
    background: #eee;
    margin: 0 5px;
    border-radius: 5px;}
    nav.flex-wrap span a.page-num-current{color:#fff;background: linear-gradient(157deg, #246eed 0%, #256fee 40%, #1756d4 100%);}
    .page-status{}
    .page-index{}
    .page-pre{}
    .page-numbar{}
    .page-next{}
    .page-last{}