/* ================================================================
 * 枢汇安全课堂 · 门户知识付费网站
 * 设计系统 v2.0 — 藏青金融门户风
 * ================================================================ */

/* ========== 1. 设计 Tokens ========== */
:root {
    /* 色板 — 藏青金融门户 */
    --navy-900: #060f1e;   /* 最深 — 深色背景 */
    --navy-800: #0a1628;   /* 导航底色 */
    --navy-700: #0f2140;   /* Hero 深 */
    --navy-600: #162d54;   /* 卡片深 */
    --navy-500: #1e3a6b;   /* 主色按钮 */
    --navy-400: #2a4d8a;   /* hover 态 */
    --navy-300: #4a6fb5;   /* 次级 */
    
    --gold-500: #d4a853;    /* 金融金主色 */
    --gold-400: #e8c07a;    /* hover */
    --gold-300: #f5d8a1;    /* 浅金 */
    --gold-200: #fbe8c4;    /* 背景金 */
    
    --accent-red: #ef4444;
    --accent-green: #10b981;
    --accent-blue: #3b82f6;
    --accent-orange: #f59e0b;
    
    /* 中性色 */
    --ink-900: #0f172a;
    --ink-800: #1e293b;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748b;
    --ink-400: #94a3b8;
    --ink-300: #cbd5e1;
    --ink-200: #e2e8f0;
    --ink-100: #f1f5f9;
    --ink-50:  #f8fafc;
    
    /* 主题语义 */
    --bg: var(--ink-50);
    --surface: #ffffff;
    --surface-alt: var(--ink-100);
    --border: var(--ink-200);
    --border-strong: var(--ink-300);
    --text: var(--ink-800);
    --text-secondary: var(--ink-600);
    --text-muted: var(--ink-500);
    --text-inverse: #ffffff;
    --text-gold: var(--gold-500);
    
    --primary: var(--navy-500);
    --primary-dark: var(--navy-600);
    --accent: var(--gold-500);
    
    /* 字体 */
    --font-display: 'Noto Serif SC', 'Source Han Serif SC', '思源宋体', serif;
    --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    
    /* 字号阶梯 */
    --fs-xs: 0.75rem;    /* 12px */
    --fs-sm: 0.8125rem;  /* 13px */
    --fs-base: 0.9375rem;/* 15px */
    --fs-md: 1rem;       /* 16px */
    --fs-lg: 1.125rem;   /* 18px */
    --fs-xl: 1.375rem;   /* 22px */
    --fs-2xl: 1.75rem;   /* 28px */
    --fs-3xl: 2.25rem;   /* 36px */
    --fs-4xl: 3rem;      /* 48px */
    --fs-5xl: 3.75rem;   /* 60px */
    
    /* 间距 */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    
    /* 圆角 */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 999px;
    
    /* 阴影 */
    --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
    --shadow-sm: 0 2px 8px rgba(15,23,42,.06);
    --shadow-md: 0 6px 20px rgba(15,23,42,.08);
    --shadow-lg: 0 12px 32px rgba(15,23,42,.12);
    --shadow-xl: 0 24px 48px rgba(15,23,42,.18);
    
    /* 过渡 */
    --ease-out: cubic-bezier(.2,.8,.2,1);
    --ease-in-out: cubic-bezier(.65,0,.35,1);
    --t-fast: .15s;
    --t-base: .25s;
    --t-slow: .4s;
    
    /* 容器宽度 */
    --container: 1200px;
    --container-narrow: 960px;
}

/* ========== 2. 基础重置 ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: visible;
}

a { color: var(--primary); text-decoration: none; transition: color var(--t-fast) var(--ease-out); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--ink-900);
}

/* ========== 3. 容器 ========== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ========== 4. 顶部导航（藏青深色门户风） ========== */
.site-header {
    background: var(--navy-800);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 1px 0 rgba(0,0,0,.3);
    overflow: visible;
}

.site-header.header-scrolled {
    background: rgba(10,22,40,.97);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    height: 64px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.site-logo .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    box-shadow: 0 2px 8px rgba(212,168,83,.35);
}

.site-logo .logo-text {
    letter-spacing: -0.01em;
}

.site-logo .logo-text .highlight {
    color: var(--gold-400);
}

/* 主导航 */
.site-nav {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.site-nav > ul {
    display: flex;
    list-style: none;
    gap: var(--space-1);
    flex-wrap: nowrap;
}

/* 让 li 成为 sub-nav 的 positioning context，并防止子菜单裁切 */
.site-nav > ul > li {
    position: relative;
    overflow: visible;
}
.site-nav > ul > li.has-sub {
    position: relative;
}

.site-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: rgba(255,255,255,.82);
    border-radius: var(--radius-md);
    transition: all var(--t-fast) var(--ease-out);
    position: relative;
}

.site-nav > ul > li > a:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.site-nav > ul > li.has-sub > a::after {
    content: '▾';
    margin-left: var(--space-1);
    font-size: var(--fs-xs);
    opacity: .6;
}

/* 二级菜单 */
.site-nav .sub-nav {
    display: block !important;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
    min-width: 180px;
    max-width: 90vw;
    padding: var(--space-2);
    list-style: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all var(--t-base) var(--ease-out);
    z-index: 100;
    /* 防止超出视口 */
    right: auto;
    transform-origin: top left;
}

/* 倒数第二个 li 起，子菜单靠右对齐（防止溢出右边） */
.site-nav > ul > li:nth-last-child(2) .sub-nav,
.site-nav > ul > li:nth-last-child(1) .sub-nav,
.site-nav > ul > li:nth-last-child(3) .sub-nav {
    left: auto;
    right: 0;
    transform-origin: top right;
}
.site-nav > ul > li:nth-last-child(2):hover .sub-nav,
.site-nav > ul > li:nth-last-child(1):hover .sub-nav,
.site-nav > ul > li:nth-last-child(3):hover .sub-nav {
    transform: translateY(0);
}

.site-nav > ul > li.has-sub:hover .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav .sub-nav li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.site-nav .sub-nav li a {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-size: var(--fs-sm);
    color: var(--ink-700);
    border-radius: var(--radius-sm);
    transition: all var(--t-fast);
}

.site-nav .sub-nav li a:hover {
    background: var(--ink-100);
    color: var(--primary);
}

/* 服务商城下拉：加宽 + 每项带一句描述 */
.site-nav .sub-nav.sub-nav-wide { min-width: 230px; }
.site-nav .sub-nav .sub-desc {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 0;
}
.site-nav .sub-nav li a:hover .sub-desc { color: #b4873a; }

/* ========== 关联服务导流卡片（商城/定制/报告 三页统一组件） ========== */
.svc-more { padding: 20px 0 64px; background: transparent; }
.svc-more-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.svc-more-head { text-align: center; margin-bottom: 28px; }
.svc-more-head h2 {
    font-size: 24px; font-weight: 800; color: #0f172a; margin: 0 0 8px;
    letter-spacing: -.5px;
}
.svc-more-head h2 .accent { color: #c99a47; }
.svc-more-head p { font-size: 14px; color: #94a3b8; margin: 0; }
.svc-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc-card {
    position: relative; display: flex; align-items: center; gap: 18px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
    padding: 24px 26px; text-decoration: none; color: inherit; overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #c99a47, #b4873a);
    opacity: 0; transition: opacity .25s;
}
.svc-card.alt::before { background: linear-gradient(90deg, #667eea, #5a6fd6); }
.svc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px rgba(10,31,54,.14);
    border-color: rgba(201,154,71,.35);
}
.svc-card.alt:hover { border-color: rgba(102,126,234,.35); }
.svc-card:hover::before { opacity: 1; }
.svc-card .svc-icon {
    flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
}
.svc-card.alt .svc-icon { background: linear-gradient(135deg, #eef2ff, #e0e7ff); }
.svc-card .svc-body { flex: 1; min-width: 0; }
.svc-card .svc-body h3 { margin: 0 0 5px; font-size: 17px; font-weight: 700; color: #0f172a; }
.svc-card .svc-body p { margin: 0; font-size: 13px; color: #64748b; line-height: 1.65; }
.svc-card .svc-go {
    flex-shrink: 0; font-size: 13px; font-weight: 700; color: #c99a47;
    transition: transform .2s;
}
.svc-card.alt .svc-go { color: #667eea; }
.svc-card:hover .svc-go { transform: translateX(4px); }
@media (max-width: 720px) {
    .svc-more-grid { grid-template-columns: 1fr; }
    .svc-card { padding: 20px; gap: 14px; }
    .svc-card .svc-icon { width: 48px; height: 48px; font-size: 24px; border-radius: 12px; }
}

/* 搜索框 */
/* 搜索图标按钮 + 展开面板 */
.header-search-wrap {
    position: relative;
    flex-shrink: 0;
}
.header-search-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    transition: all var(--t-fast);
}
.header-search-icon:hover {
    color: var(--gold-400);
    border-color: rgba(212,168,83,.4);
    background: rgba(212,168,83,.08);
}
.header-search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 340px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0,0,0,.25), 0 0 0 1px var(--border);
    padding: var(--space-3);
    display: flex;
    gap: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.96);
    transition: all var(--t-base) var(--ease-out);
    z-index: 2000;
}
.header-search-wrap.active .header-search-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.header-search-panel input {
    flex: 1;
    height: 40px;
    padding: 0 var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--ink-800);
    font-size: var(--fs-sm);
    font-family: inherit;
    outline: none;
    transition: all var(--t-fast);
}
.header-search-panel input::placeholder { color: var(--text-muted); }
.header-search-panel input:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(212,168,83,.15);
}
.header-search-panel button {
    height: 40px;
    padding: 0 var(--space-5);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border: none;
    border-radius: var(--radius-md);
    color: var(--navy-900);
    font-weight: 600;
    font-size: var(--fs-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--t-fast);
}
.header-search-panel button:hover {
    box-shadow: 0 4px 12px rgba(212,168,83,.35);
    transform: translateY(-1px);
}

/* 用户区 */
.header-user {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    color: rgba(255,255,255,.85) !important;
    font-size: var(--fs-sm);
    border-radius: var(--radius-md);
    transition: all var(--t-fast);
}

.user-greeting:hover { background: rgba(255,255,255,.08); color: #fff !important; }

/* 按钮 */
.btn-login, .btn-register {
    padding: var(--space-2) var(--space-4);
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--t-fast);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-login {
    color: rgba(255,255,255,.85) !important;
    background: transparent;
}
.btn-login:hover { color: #fff !important; background: rgba(255,255,255,.08); }

.btn-register {
    background: var(--gold-500);
    color: var(--navy-900) !important;
}
.btn-register:hover { background: var(--gold-400); }

.btn-logout {
    padding: var(--space-1) var(--space-2);
    color: rgba(255,255,255,.6) !important;
    font-size: var(--fs-sm);
    transition: all var(--t-fast);
}
.btn-logout:hover { color: #fff !important; }

/* 移动端按钮 */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: var(--fs-xl);
    cursor: pointer;
    padding: var(--space-1);
}

/* ========== 5. 门户首页 Hero ========== */
.hero-section {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
    color: #fff;
    padding: var(--space-10) 0 64px;
    position: relative;
    overflow: hidden;
}

/* Hero 装饰 */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212,168,83,.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, var(--fs-5xl));
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

.hero-content h1 .accent {
    color: var(--gold-400);
}

.hero-content > p {
    font-size: var(--fs-lg);
    color: rgba(255,255,255,.75);
    margin-bottom: var(--space-6);
    line-height: 1.7;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: var(--space-3) var(--space-6);
    font-size: var(--fs-md);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--t-base) var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.hero-buttons .btn-primary {
    background: var(--gold-500);
    color: var(--navy-900);
    box-shadow: 0 4px 16px rgba(212,168,83,.35);
}
.hero-buttons .btn-primary:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,168,83,.4);
}

.hero-buttons .btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.3);
}
.hero-buttons .btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.5);
}

/* Hero 统计 */
.hero-stats-row {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255,255,255,.1);
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}

.hero-stat-label {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.55);
    margin-top: var(--space-1);
}

/* ========== 6. 板块区域 ========== */
.home-section {
    padding: var(--space-16) 0;
}

.home-section:nth-child(even) {
    background: var(--surface-alt);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}

.section-title .title-bar {
    width: 4px;
    height: 24px;
    background: var(--gold-500);
    border-radius: 2px;
}

.section-more {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    transition: color var(--t-fast);
}

.section-more:hover { color: var(--primary); }

/* 子分类标签 */
.home-sub-cats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.home-sub-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    transition: all var(--t-fast) var(--ease-out);
}

.home-sub-cat-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(30,58,107,.04);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* 门户级文章网格 */
.home-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.home-article-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--t-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.home-article-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-base) var(--ease-out);
}

.home-article-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--ink-300);
}

.home-article-item:hover::before {
    transform: scaleX(1);
}

.home-article-item h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-3);
    line-height: 1.5;
}

.home-article-item h3 a {
    color: var(--ink-900);
    transition: color var(--t-fast);
}

.home-article-item h3 a:hover {
    color: var(--primary);
}

.home-article-item .summary {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: var(--space-4);
    font-size: var(--fs-xs);
    color: var(--ink-400);
    padding-top: var(--space-3);
    border-top: 1px solid var(--ink-100);
}

.tag-top {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: var(--radius-pill);
    margin-left: var(--space-2);
    vertical-align: middle;
}

.empty-tip {
    text-align: center;
    padding: var(--space-16);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

/* ========== 7. 页脚 ========== */
.site-footer {
    background: var(--navy-900);
    color: rgba(255,255,255,.6);
    padding: var(--space-16) 0 var(--space-8);
    margin-top: var(--space-16);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2.2fr 1.5fr 1.5fr 1.5fr;
    gap: var(--space-10);
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-10);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    color: #fff;
    margin-bottom: var(--space-3);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-brand p {
    font-size: var(--fs-sm);
    line-height: 1.9;
    margin-bottom: var(--space-5);
    color: rgba(255,255,255,.45);
}

.footer-trust {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.55);
    white-space: nowrap;
}

.trust-item i {
    font-style: normal;
    font-size: 14px;
}

.footer-contact {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.5);
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
    transition: all var(--t-fast);
}

.footer-contact a:hover {
    color: var(--gold-400);
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.04);
}

.footer-col h4 {
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: var(--space-5);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: var(--space-2);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--gold-500);
    border-radius: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--space-1);
}

.footer-col li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: var(--space-2) 0;
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.45);
    transition: all var(--t-fast);
    border-left: 2px solid transparent;
    padding-left: 0;
}

.footer-col li a i {
    font-style: normal;
    font-size: 14px;
    width: 20px;
    text-align: center;
    opacity: 0.7;
}

.footer-col li a:hover {
    color: var(--gold-400);
    border-left-color: var(--gold-500);
    padding-left: var(--space-2);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    padding: var(--space-5) 0;
    margin-bottom: var(--space-5);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-links span {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.35);
    font-weight: 500;
}

.footer-links a {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.35);
    padding: 3px 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 4px;
    transition: all var(--t-fast);
}

.footer-links a:hover {
    color: rgba(255,255,255,.6);
    border-color: rgba(255,255,255,.15);
}

.footer-bottom {
    text-align: center;
}

.footer-disclaimer {
    max-width: 600px;
    margin: 0 auto;
}

.disclaimer-main {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.3);
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

.disclaimer-sub {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.2);
    line-height: 1.6;
}

/* ========== 8. 面包屑 ========== */
.breadcrumbs {
    padding: var(--space-4) 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    list-style: none;
}
.breadcrumbs ol,
.breadcrumbs ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
}
.breadcrumbs li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    counter-increment: none !important;
}
.breadcrumbs li::marker,
.breadcrumbs li::before {
    content: none !important;
    display: none !important;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { margin: 0 var(--space-2); color: var(--ink-300); }
.breadcrumbs .current { color: var(--ink-700); font-weight: 500; }

/* ========== 9. 分类列表页 ========== */
.page-header {
    position: relative;
    /* break out of container to full-bleed */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: var(--space-12) var(--space-5) var(--space-10);
    background: linear-gradient(135deg, var(--navy-900) 0%, #0d1f3d 60%, var(--navy-700) 100%);
    color: #fff;
    overflow: hidden;
}
.page-header > * {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-400) 50%, transparent 100%);
}
.page-header::after {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212,168,83,.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    color: #fff;
    margin-bottom: var(--space-3);
    position: relative;
    letter-spacing: .02em;
}

.page-header .page-desc {
    font-size: var(--fs-base);
    color: rgba(255,255,255,.7);
    max-width: 640px;
    line-height: 1.7;
    position: relative;
}

/* 面包屑在 page-header 里的深色背景样式 */
.page-header .breadcrumb {
    margin-bottom: var(--space-5);
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.55);
}
.page-header .breadcrumb a {
    color: var(--gold-400);
    text-decoration: none;
}
.page-header .breadcrumb a:hover { color: var(--gold-300); text-decoration: underline; }
.page-header .breadcrumb .sep { color: rgba(255,255,255,.3); }
.page-header .breadcrumb .current { color: rgba(255,255,255,.8); font-weight: 500; }

/* 子分类卡片网格 */
.sub-categories-section {
    margin-bottom: var(--space-12);
}

.sub-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-4);
}

.sub-cat-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: block;
    transition: all var(--t-base) var(--ease-out);
    overflow: hidden;
}
.sub-cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: transparent;
    transition: background var(--t-base);
}

.sub-cat-card:hover {
    border-color: var(--gold-500);
    box-shadow: 0 8px 24px rgba(30,58,107,.12);
    transform: translateY(-3px);
}
.sub-cat-card:hover::before {
    background: var(--gold-500);
}

.sub-cat-icon {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-3);
}

.sub-cat-info h3 {
    font-size: var(--fs-md);
    color: var(--ink-900);
    margin-bottom: var(--space-1);
}

.sub-cat-info p {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: 1.6;
}

.articles-section { padding-bottom: var(--space-16); }

/* ========== 10. 文章详情页 ========== */
.article-detail {
    padding: 0 0 var(--space-16);
}

.article-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}
/* 资讯类文章：无 TOC，正文全宽 */
.article-detail--no-toc .article-layout {
    grid-template-columns: 1fr;
    max-width: 900px;
}
.article-detail--no-toc .article-toc { display: none; }

/* 面包屑全宽深色区 */
.article-detail-breadcrumb {
    /* break out of article-layout to full-bleed */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    padding: var(--space-5) var(--space-5) var(--space-4);
    margin-bottom: var(--space-6);
    border-bottom: 1px solid rgba(212,168,83,.2);
}
.article-detail-breadcrumb > * {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
}
.article-detail-breadcrumb .breadcrumb {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.78);
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.article-detail-breadcrumb .breadcrumb a {
    color: #fde68a;
    text-decoration: none;
    font-weight: 500;
}
.article-detail-breadcrumb .breadcrumb a:hover { color: #fff; }
.article-detail-breadcrumb .breadcrumb .sep { color: rgba(255,255,255,.45); }
.article-detail-breadcrumb .breadcrumb .current { color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.3); }

/* ========== 文章标题区（门户级） ========== */
.article-header {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #f9f6ef 100%);
    border: 1px solid rgba(212,168,83,.25);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-8) var(--space-6);
    margin-bottom: var(--space-6);
    overflow: hidden;
}
.article-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-400), var(--gold-500));
}
.article-header::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(212,168,83,.1) 0%, transparent 70%);
    pointer-events: none;
}

.article-title {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    color: var(--navy-900);
    margin-bottom: var(--space-4);
    line-height: 1.4;
    letter-spacing: .01em;
    position: relative;
}

.article-header .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: var(--fs-xs);
    color: var(--text-muted);
    padding-bottom: var(--space-4);
    border-bottom: 1px dashed rgba(30,58,107,.15);
    margin-bottom: var(--space-4);
}
.article-header .article-meta a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.article-header .article-meta a:hover { text-decoration: underline; }

.article-summary {
    font-size: var(--fs-base);
    color: var(--ink-700);
    line-height: 1.8;
    padding: var(--space-4) var(--space-5);
    background: rgba(30,58,107,.03);
    border-left: 3px solid var(--gold-500);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* 封面图 */
.article-cover {
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(30,58,107,.1);
}
.article-cover img { width: 100%; display: block; }

/* ========== 正文内容区 ========== */
.article-main {
    min-width: 0;
}
.article-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-9);
    line-height: 1.9;
    color: var(--ink-800);
    overflow-wrap: break-word;
    word-break: break-word;
}
/* 正文里的章节标题（门户风 — 藏青底 + 金色左条） */
.article-content h2 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--navy-900);
    margin: var(--space-8) 0 var(--space-4);
    padding: var(--space-3) var(--space-5);
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: #fff !important;
    border-radius: var(--radius-md);
    letter-spacing: .02em;
    position: relative;
    overflow: hidden;
}
.article-content h2::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold-500), var(--gold-400));
}
.article-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--navy-800);
    margin: var(--space-5) 0 var(--space-3);
    padding-left: var(--space-4);
    border-left: 3px solid var(--gold-500);
}
.article-content h4 {
    font-size: 15px;
    color: var(--ink-800);
    margin: var(--space-4) 0 var(--space-2);
    font-weight: 700;
}
.article-content p { margin-bottom: var(--space-4); }
.article-content ul, .article-content ol {
    padding-left: var(--space-6);
    margin-bottom: var(--space-4);
}
.article-content li { margin-bottom: var(--space-1); }
.article-content blockquote {
    margin: var(--space-4) 0;
    padding: var(--space-4) var(--space-5);
    background: rgba(212,168,83,.06);
    border-left: 4px solid var(--gold-500);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--ink-700);
    font-style: italic;
}
.article-content code {
    background: rgba(30,58,107,.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Consolas', 'Monaco', monospace;
    color: var(--navy-800);
}
.article-content pre {
    background: var(--navy-900);
    color: #e6ecf5;
    padding: var(--space-5);
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: var(--space-4);
    border: 1px solid rgba(212,168,83,.2);
}
.article-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-4);
    font-size: 14px;
}
.article-content th {
    background: var(--navy-900);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}
.article-content td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}
.article-content tr:nth-child(even) td { background: rgba(30,58,107,.02); }

/* ========== 标签区 ========== */
.article-tags {
    margin-top: var(--space-6);
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    border-radius: var(--radius-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
}
.article-tags .tags-label {
    color: var(--gold-400);
    font-size: var(--fs-sm);
    font-weight: 700;
    margin-right: var(--space-2);
}
.article-tags .tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(212,168,83,.15);
    border: 1px solid rgba(212,168,83,.4);
    border-radius: 20px;
    color: var(--gold-400);
    font-size: var(--fs-xs);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--t-fast);
}
.article-tags .tag:hover {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
}

/* ========== 上下篇导航 ========== */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-top: var(--space-6);
}
.prev-article, .next-article {
    display: block;
    padding: var(--space-5);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--t-fast);
    position: relative;
    overflow: hidden;
}
.prev-article::before, .next-article::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: transparent;
    transition: background var(--t-fast);
}
.prev-article:hover, .next-article:hover {
    border-color: var(--gold-500);
    box-shadow: 0 6px 20px rgba(30,58,107,.08);
    transform: translateY(-2px);
}
.prev-article:hover::before, .next-article:hover::before {
    background: var(--gold-500);
}
.prev-article.disabled, .next-article.disabled {
    opacity: .5;
    pointer-events: none;
}
.prev-article .nav-dir, .next-article .nav-dir {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: var(--space-2);
    display: block;
}
.prev-article .nav-title, .next-article .nav-title {
    font-size: var(--fs-sm);
    color: var(--ink-800);
    line-height: 1.5;
}
.next-article { text-align: right; }

/* ========== 相关文章推荐 ========== */
.related-articles {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212,168,83,.15);
}
.related-articles h3 {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: #fff;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(212,168,83,.25);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.related-articles h3::before {
    content: '';
    width: 4px; height: 20px;
    background: linear-gradient(180deg, var(--gold-500), var(--gold-400));
    border-radius: 2px;
}
.related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-2);
}
.related-articles li {
    padding: var(--space-3) var(--space-4);
    background: rgba(255,255,255,.05);
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
    transition: all var(--t-fast);
}
.related-articles li:hover {
    background: rgba(212,168,83,.1);
    border-left-color: var(--gold-500);
}
.related-articles li a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: var(--fs-sm);
    transition: color var(--t-fast);
}
.related-articles li a:hover { color: var(--gold-400); }

/* ========== 评论区（门户级覆盖内联 style） ========== */
.comments-section {
    max-width: 1220px !important;
    margin: var(--space-10) auto 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: var(--space-8) !important;
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 4px 20px rgba(30,58,107,.06) !important;
}
.comments-title {
    font-family: var(--font-display) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: var(--space-5) !important;
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--navy-900);
    display: flex !important;
    align-items: center !important;
    gap: var(--space-2) !important;
    color: var(--navy-900) !important;
}
.comments-title::before {
    content: '';
    width: 4px; height: 22px;
    background: linear-gradient(180deg, var(--gold-500), var(--gold-400));
    border-radius: 2px;
}
.comments-title .cmt-count {
    color: var(--gold-500) !important;
    font-weight: 600 !important;
}

/* 付费墙遮罩样式：见文章详情页「升级付费墙样式」段（v2 统一实现） */

.article-toc {
    position: sticky;
    top: 88px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: var(--space-4);
}

/* TOC 滚动条美化 */
.article-toc::-webkit-scrollbar { width: 4px; }
.article-toc::-webkit-scrollbar-track { background: transparent; }
.article-toc::-webkit-scrollbar-thumb {
    background: rgba(30,58,107,.2);
    border-radius: 4px;
}
.article-toc::-webkit-scrollbar-thumb:hover { background: rgba(30,58,107,.4); }

/* TOC 头部 */
.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #1e3a6b, #2b4f8a);
    border-radius: 10px 10px 0 0;
    border-bottom: 2px solid var(--gold-500);
    margin-bottom: 0;
}
.toc-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .05em;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.toc-toggle {
    width: 24px; height: 24px;
    border: none;
    background: rgba(255,255,255,.15);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: background var(--t-fast);
}
.toc-toggle:hover { background: var(--gold-500); }

/* TOC body */
.toc-body {
    padding: var(--space-2) 0;
    font-size: var(--fs-sm);
    background: #fff;
}

/* Loading / empty */
.toc-loading, .toc-empty {
    color: var(--text-muted);
    font-size: var(--fs-xs);
    padding: var(--space-3) var(--space-4);
    text-align: center;
}

/* Group */
.toc-group {
    margin-bottom: 2px;
}
.toc-group-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #060f1e;
    text-align: left;
    letter-spacing: .01em;
    line-height: 1.5;
    transition: all .15s;
}
.toc-group-toggle:hover { color: #d4a853; background: rgba(212,168,83,.06); }
.toc-caret {
    font-size: 9px;
    transition: transform .2s;
    display: inline-block;
    color: var(--gold-500);
}
.toc-group.open .toc-caret { transform: rotate(90deg); }
.toc-group-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.toc-group-body {
    display: none;
    padding-left: var(--space-3);
}
.toc-group.open .toc-group-body { display: block; }

/* Subgroup label */
.toc-subgroup-label {
    padding: var(--space-1) var(--space-3);
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-600);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: var(--space-1);
}

/* Item links */
.toc-item {
    display: block;
    padding: 6px 12px;
    color: #1e3a6b;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all .15s;
    line-height: 1.5;
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.toc-item.toc-l3 {
    font-size: 12.5px;
    color: #3b5998;
    padding-left: 28px;
}
.toc-item:hover {
    color: #d4a853;
    background: rgba(212,168,83,.06);
    border-left-color: #d4a853;
}
.toc-item.active {
    color: #d4a853;
    font-weight: 600;
    border-left-color: #d4a853;
    background: rgba(212,168,83,.08);
}
.toc-group.active .toc-group-title { color: #d4a853; }
.toc-group.active .toc-caret { color: #d4a853; }

/* ===== 付费锁定目录项（T3：核心知识点整组锁定） ===== */
.toc-locked-group .toc-group-toggle { cursor: pointer; }
.toc-locked-group .toc-group-toggle:hover .toc-group-title { color: #d4a853; }
.toc-summary-note,
.toc-locked-note {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    margin: 10px 0 4px;
    font-size: 12px;
    border-radius: 8px;
    background: rgba(212,168,83,.08);
    border: 1px solid rgba(212,168,83,.25);
    color: #8a6d1f;
}
.toc-lock-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    font-size: 11px;
    vertical-align: -2px;
    border-radius: 50%;
    background: rgba(78,58,120,.08);
}
.toc-locked-item {
    color: #9aa5b8 !important;
    cursor: pointer;
    text-decoration: none;
}
.toc-locked-item .toc-text { opacity: .85; }
.toc-locked-item:hover {
    color: #6b7289 !important;
    background: rgba(107,114,137,.06);
    border-left-color: #c9a75a;
}
.toc-lock-icon {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    opacity: .85;
    vertical-align: -1px;
}
.toc-locked-flash {
    background: rgba(212,168,83,.20) !important;
    border-left-color: #d4a853 !important;
    color: #d4a853 !important;
    animation: tocFlashPulse .8s ease;
}
@keyframes tocFlashPulse {
    0%   { background-color: rgba(212,168,83,.30); }
    100% { background-color: rgba(212,168,83,.20); }
}

/* 移动端 FAB */
.toc-fab {
    position: fixed;
    right: 16px;
    bottom: 80px;
    z-index: 100;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--primary), var(--navy-700));
    color: #fff;
    border: 2px solid var(--gold-500);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(30,58,107,.3);
    display: none;
}
@media (max-width: 1024px) {
    .toc-fab { display: flex; align-items: center; gap: 6px; }
    .article-toc {
        position: fixed;
        left: 0; right: 0;
        top: 0;
        bottom: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 99;
        transform: translateX(-100%);
        transition: transform .3s;
        padding: var(--space-4);
        padding-top: 64px;
        box-shadow: 4px 0 24px rgba(0,0,0,.15);
    }
    .article-toc.open { transform: translateX(0); }
}

.article-content {
    min-width: 0;
}

/* ========== 11. 登录/注册 ========== */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) var(--space-6);
    background: linear-gradient(135deg, var(--navy-900) 0%, #0d1f3d 50%, var(--navy-800) 100%);
    position: relative;
    overflow: hidden;
}
.auth-page::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212,168,83,.08) 0%, transparent 60%);
    pointer-events: none;
}
.auth-page::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(30,58,107,.3) 0%, transparent 60%);
    pointer-events: none;
}

.auth-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,.3), 0 0 0 3px rgba(212,168,83,.3);
    padding: var(--space-10);
    width: 100%;
    max-width: 420px;
    z-index: 1;
    overflow: hidden;
}
.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-400), var(--gold-500));
}

.auth-card h2 {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-2);
    text-align: center;
    color: var(--navy-900);
}

.auth-card .auth-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-8);
}

/* 门户级登录/注册按钮（金色渐变） */
.auth-card .btn-submit {
    width: 100%;
    height: 46px;
    margin-top: var(--space-4);
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
    color: var(--navy-900);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--fs-base);
    font-weight: 700;
    letter-spacing: .1em;
    cursor: pointer;
    transition: all var(--t-fast);
    box-shadow: 0 4px 16px rgba(212,168,83,.3);
    font-family: inherit;
}
.auth-card .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212,168,83,.45);
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-300) 100%);
}

/* ---- Auth 表单组 ---- */
.auth-card .form-group {
    margin-bottom: var(--space-4);
}
.auth-card .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-800, #0a1628);
    margin-bottom: 6px;
    letter-spacing: .02em;
}
.auth-card .form-group input[type="text"],
.auth-card .form-group input[type="password"],
.auth-card .form-group input[type="email"],
.auth-card .form-group input:not([type]) {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1.5px solid var(--border, #e5e7eb);
    border-radius: var(--radius-md, 8px);
    font-size: 14px;
    color: var(--ink-800, #1e293b);
    background: #fafbfc;
    outline: none;
    transition: all .18s ease;
    font-family: inherit;
    box-sizing: border-box;
}
.auth-card .form-group input::placeholder {
    color: var(--text-muted, #94a3b8);
    font-size: 13px;
}
.auth-card .form-group input:focus {
    border-color: var(--gold-500, #d4a853);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(212,168,83,.12);
}

/* 密码行（输入框 + 切换按钮）*/
.auth-card .password-row {
    position: relative;
}
.auth-card .password-row input {
    padding-right: 44px;
}
.auth-card .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--text-muted, #94a3b8);
    transition: all .15s;
}
.auth-card .toggle-password:hover {
    background: var(--navy-50, #f0f4fa);
    color: var(--navy-700, #2a4d8a);
}

/* 验证码行 */
.auth-card .captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.auth-card .captcha-row input[name="captcha"] {
    flex: 1;
    min-width: 0;
}
.auth-card .captcha-img {
    height: 56px;
    width: 180px;
    flex-shrink: 0;
    border: 1.5px solid var(--border, #e5e7eb);
    border-radius: var(--radius-md, 8px);
    cursor: pointer;
    transition: border-color .15s;
    object-fit: contain;
    background: #fff;
}
.auth-card .captcha-img:hover {
    border-color: var(--gold-500, #d4a853);
}

/* 记住我 + 忘记密码行 */
.auth-card .form-extras {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -4px 0 var(--space-4);
    font-size: 13px;
}
.auth-card .remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--text-secondary, #475569);
    user-select: none;
}
.auth-card .remember-me input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--gold-500, #d4a853);
    cursor: pointer;
}
.auth-card .forgot-link {
    color: var(--navy-600, #2a4d8a);
    text-decoration: none;
    font-weight: 500;
    transition: color .15s;
}
.auth-card .forgot-link:hover {
    color: var(--gold-500, #d4a853);
}

/* 密码强度条 */
.auth-card .password-strength {
    height: 4px;
    border-radius: 2px;
    background: var(--border, #e5e7eb);
    margin-top: 8px;
    overflow: hidden;
}
.auth-card .password-strength-bar {
    height: 100%;
    border-radius: 2px;
    transition: all .25s ease;
    width: 0;
}
.auth-card .password-strength-text {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
    margin-top: 4px;
}

/* Auth 错误提示 */
.auth-card .auth-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: var(--radius-md, 8px);
    font-size: 13px;
    margin-bottom: var(--space-4);
    border-left: 3px solid #dc2626;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.auth-card .auth-error::before {
    content: '⚠️';
    flex-shrink: 0;
}

/* Auth 链接区 */
.auth-card .auth-links {
    text-align: center;
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border, #e5e7eb);
    font-size: 13px;
    color: var(--text-muted, #64748b);
}
.auth-card .auth-links a {
    color: var(--navy-600, #2a4d8a);
    text-decoration: none;
    font-weight: 600;
    margin: 0 4px;
    transition: color .15s;
}
.auth-card .auth-links a:hover {
    color: var(--gold-500, #d4a853);
}

/* ======== OAuth 第三方登录 ======== */
.auth-card .auth-divider {
    text-align: center;
    margin: 20px 0 16px;
    position: relative;
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
}
.auth-card .auth-divider::before,
.auth-card .auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 50px);
    height: 1px;
    background: var(--border, #e5e7eb);
}
.auth-card .auth-divider::before { left: 0; }
.auth-card .auth-divider::after  { right: 0; }
.auth-card .auth-divider span {
    background: #fff;
    padding: 0 12px;
    position: relative;
}
.auth-card .auth-social {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.auth-card .auth-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all .18s ease;
    border: 1px solid transparent;
}
.auth-card .auth-social-qq {
    background: #00a3ff;
    color: #fff;
    border-color: #0096e6;
}
.auth-card .auth-social-qq:hover {
    background: #0096e6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,163,255,.35);
}

/* Auth Hero 区（logo + 品牌提示）*/
.auth-card .auth-hero {
    text-align: center;
    margin-bottom: var(--space-6);
}
.auth-card .auth-hero-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-900, #060f1e) 0%, var(--navy-700, #1e3a5f) 100%);
    color: var(--gold-500, #d4a853);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display, serif);
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(6,15,30,.25);
    margin-bottom: var(--space-3);
}
.auth-card .auth-hero h1,
.auth-card .auth-card h1 {
    font-family: var(--font-display, 'Noto Serif SC', serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-900, #060f1e);
    text-align: center;
    margin-bottom: 4px;
    letter-spacing: .02em;
}

/* 协议同意 */
.auth-card .agreement {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    margin-top: 2px;
}
.auth-card .agreement input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--gold-500, #d4a853);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}
.auth-card .agreement a {
    color: var(--navy-600, #2a4d8a);
    text-decoration: none;
    font-weight: 500;
}
.auth-card .agreement a:hover { color: var(--gold-500, #d4a853); }

/* ---- 门户级主按钮（金色）---- */
.btn-primary-portal {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
    color: var(--navy-900);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--fs-base);
    font-weight: 700;
    letter-spacing: .03em;
    cursor: pointer;
    transition: all var(--t-fast);
    box-shadow: 0 4px 16px rgba(212,168,83,.3);
}
.btn-primary-portal:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212,168,83,.4);
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-300) 100%);
}

/* ========== 11.5 搜索页 ========== */
.search-form {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
    padding: var(--space-2);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--t-fast);
}
.search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30,58,107,.08);
}
.search-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: var(--space-3) var(--space-4);
    background: transparent;
    font-size: var(--fs-base);
    font-family: inherit;
    color: var(--ink-900);
}
.search-form button {
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, var(--primary), var(--navy-700));
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--fs-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t-fast);
}
.search-form button:hover {
    background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
    box-shadow: 0 4px 12px rgba(30,58,107,.3);
}

/* 搜索页文章列表（与首页 home-article-item 统一风格） */
.articles-list {
    display: grid;
    gap: var(--space-4);
}
.articles-list .article-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    position: relative;
    overflow: hidden;
    transition: all var(--t-fast);
}
.articles-list .article-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: transparent;
    transition: background var(--t-fast);
}
.articles-list .article-item:hover {
    border-color: var(--gold-500);
    box-shadow: 0 8px 24px rgba(30,58,107,.1);
    transform: translateY(-2px);
}
.articles-list .article-item:hover::before {
    background: var(--gold-500);
}
.articles-list .article-item h3 {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    margin-bottom: var(--space-2);
}
.articles-list .article-item h3 a {
    color: var(--ink-900);
    text-decoration: none;
    transition: color var(--t-fast);
}
.articles-list .article-item h3 a:hover {
    color: var(--primary);
}
.articles-list .article-item .summary {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-3);
}
.articles-list .article-item .article-meta {
    display: flex;
    gap: var(--space-4);
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* 表单辅助 */
.form-text {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-top: var(--space-1);
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--ink-700);
    margin-bottom: var(--space-2);
}

.form-control {
    width: 100%;
    height: 44px;
    padding: 0 var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    font-size: var(--fs-base);
    font-family: inherit;
    color: var(--ink-900);
    transition: all var(--t-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30,58,107,.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-size: var(--fs-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--t-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    width: 100%;
    height: 44px;
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    width: 100%;
    height: 44px;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.form-text {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.auth-footer {
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-top: var(--space-6);
}

.auth-footer a { color: var(--primary); font-weight: 500; }

/* ========== 12. 会员徽章 ========== */
.role-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.role-badge-0 {
    background: var(--ink-200);
    color: var(--ink-600);
}

.role-badge-1 {
    background: linear-gradient(135deg, #f5d8a1, #d4a853);
    color: var(--navy-900);
}

.role-badge-2 {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

/* ========== 12.5 软件多维度对比 ========== */
.compare-section {
    padding: var(--space-10) 0;
    background: linear-gradient(180deg, #0a1830 0%, #060f1e 100%);
    border-top: 1px solid rgba(212,168,83,.15);
    border-bottom: 1px solid rgba(212,168,83,.15);
    color: #e6ecf5;
}
.compare-section .section-title { color: #fff; }
.compare-section .section-subtitle {
    color: rgba(230,236,245,.6);
    font-size: var(--fs-sm);
    margin-top: var(--space-2);
}

/* 归属筛选 Tab */
.compare-tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-5);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.compare-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: rgba(255,255,255,.45);
    padding: 10px 22px;
    cursor: pointer;
    font-size: var(--fs-sm);
    font-family: inherit;
    transition: all .2s ease;
}
.compare-tab:hover { color: rgba(255,255,255,.8); }
.compare-tab.active {
    color: #fff;
    border-bottom-color: #60a5fa;
    font-weight: 600;
}

/* ========== 12.5.1 场景化快速选型 ========== */
.pick-wizard {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(212,168,83,.07);
    border: 1px solid rgba(212,168,83,.2);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: var(--space-4);
}
.wizard-q {
    color: var(--gold-300);
    font-size: var(--fs-sm);
    font-weight: 600;
    white-space: nowrap;
}
.wizard-btn {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.13);
    color: rgba(230,236,245,.85);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: var(--fs-sm);
    font-family: inherit;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.wizard-btn:hover {
    border-color: var(--gold-400);
    color: #fff;
    transform: translateY(-1px);
}
.wizard-btn.active {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--navy-900);
    font-weight: 600;
}
.wizard-tip {
    font-size: var(--fs-sm);
    color: var(--gold-300);
    margin-left: 4px;
    transition: opacity .2s ease;
}
.wizard-tip.is-warn { color: #fca5a5; }

/* ========== 12.5.2 软件名芯片选择器（单行名称，可折叠） ========== */
.pick-panel {
    position: relative;
    margin-bottom: var(--space-5);
}
.pick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 74px; /* 折叠态约 2 行 */
    overflow: hidden;
    position: relative;
    transition: max-height .35s ease;
}
.pick-chips.is-expanded { max-height: 1800px; }
/* 折叠且有溢出时，底部渐隐遮罩，暗示还有更多 */
.pick-panel.has-more:not(.is-expanded) .pick-chips::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 30px;
    background: linear-gradient(180deg, rgba(10,24,48,0), rgba(10,24,48,.96));
    pointer-events: none;
}
.sw-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(230,236,245,.78);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: var(--fs-sm);
    font-family: inherit;
    line-height: 1.3;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.sw-chip:hover {
    border-color: var(--sw-color, #60a5fa);
    background: rgba(255,255,255,.08);
    transform: translateY(-1px);
}
.chip-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--sw-color, #60a5fa);
    flex: none;
    opacity: .85;
}
.chip-star { color: var(--gold-400); font-size: 11px; line-height: 1; }
.chip-check { display: none; color: var(--sw-color, #60a5fa); font-weight: 700; margin-left: 1px; }
.sw-chip.is-active {
    background: rgba(255,255,255,.1);
    border-color: var(--sw-color, #60a5fa);
    color: #fff;
    font-weight: 600;
}
.sw-chip.is-active .chip-check { display: inline; }
@supports (background: color-mix(in srgb, red 20%, transparent)) {
    .sw-chip.is-active {
        background: color-mix(in srgb, var(--sw-color, #60a5fa) 17%, transparent);
        box-shadow: 0 3px 12px color-mix(in srgb, var(--sw-color, #60a5fa) 32%, transparent);
    }
    .sw-chip.is-active .chip-dot {
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--sw-color, #60a5fa) 26%, transparent);
    }
}
.pick-panel.shake { animation: pickShake .28s ease 2; }
@keyframes pickShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.pick-more {
    display: none;
    margin: 10px auto 0;
    background: none;
    border: none;
    color: var(--gold-300);
    font-size: var(--fs-sm);
    font-family: inherit;
    cursor: pointer;
    padding: 5px 14px;
    border-radius: 16px;
    transition: background .2s ease;
}
.pick-more:hover { background: rgba(212,168,83,.14); }
.pm-less-text { display: none; }
.pick-panel.is-expanded .pm-more-text { display: none; }
.pick-panel.is-expanded .pm-less-text { display: inline; }
.pm-arrow {
    display: inline-block;
    font-size: 10px;
    margin-left: 5px;
    transition: transform .25s ease;
}
.pick-panel.is-expanded .pm-arrow { transform: rotate(180deg); }

/* ========== 12.5.3 对比表格（只展开勾选列） ========== */
.compare-table-wrap {
    position: relative;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.02);
}
.compare-empty {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 6;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-10);
    background: rgba(6,15,30,.86);
    backdrop-filter: blur(3px);
    color: rgba(230,236,245,.78);
    font-size: var(--fs-md);
    border-radius: var(--radius-lg);
}
.compare-empty.is-show { display: flex; }
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
    min-width: 0;
}
.compare-table th,
.compare-table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.06);
    vertical-align: top;
}
.compare-table thead th {
    background: rgba(255,255,255,.04);
    color: #fff;
    font-size: var(--fs-base);
    font-weight: 700;
}
.compare-th-fixed {
    position: sticky;
    left: 0;
    background: rgba(6,15,30,.95) !important;
    backdrop-filter: blur(6px);
    z-index: 3 !important;
    min-width: 132px;
    border-right: 1px solid rgba(255,255,255,.1);
    white-space: nowrap;
}
.compare-th-col {
    border-bottom: 3px solid var(--col-color, #60a5fa);
    text-transform: none;
    white-space: normal !important;
    min-width: 168px;
}
.th-sw-name {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-md);
    line-height: 1.35;
    margin-bottom: 5px;
}
.th-sw-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .03em;
    padding: 1px 8px;
    border-radius: 10px;
    background: rgba(212,168,83,.16);
    color: var(--gold-300);
    margin-bottom: 7px;
}
.th-sw-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    color: var(--col-color, #60a5fa);
    text-decoration: none;
    opacity: .9;
    transition: opacity .2s ease;
}
.th-sw-link:hover { opacity: 1; text-decoration: underline; }
.compare-td-dim {
    position: sticky;
    left: 0;
    background: rgba(6,15,30,.88);
    backdrop-filter: blur(4px);
    z-index: 1;
    border-right: 1px solid rgba(255,255,255,.06);
    font-weight: 600;
    color: #fff;
    min-width: 132px;
    white-space: nowrap;
}
.dim-icon { margin-right: 6px; font-size: 14px; }

.compare-table tbody tr:hover td:not(.compare-td-dim) {
    background: rgba(212,168,83,.08);
}
.compare-table tbody tr:hover .compare-td-dim {
    background: rgba(6,15,30,.95);
}

.compare-td-col {
    color: rgba(230,236,245,.85);
    line-height: 1.55;
    white-space: normal;
    min-width: 168px;
}
.compare-td-col.val-yes { color: #4ade80; font-weight: 500; }
.compare-td-col.val-no  { color: #f87171; }
.compare-td-col.val-warn { color: #facc15; }
.compare-td-col.val-empty { color: #94a3b8; opacity: .65; }

/* 隐藏的列 */
.compare-table th.compare-col-hidden,
.compare-table td.compare-col-hidden {
    display: none;
}

.compare-hint {
    margin-top: var(--space-5);
    text-align: center;
    color: rgba(230,236,245,.5);
    font-size: var(--fs-xs);
}

/* ========== 12.6 学习路径知识地图 ========== */
.path-strip {
    position: relative;
    z-index: 5;
    padding: 0 0 var(--space-8);
    background: linear-gradient(180deg, rgba(22,45,84,0) 0%, rgba(10,24,48,.6) 55%, #0a1830 100%);
    pointer-events: none;
}
.path-track {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 10px;
    pointer-events: none;
}
.path-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 13px 18px;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.1);
    border-top: 3px solid var(--path-color, #3b82f6);
    pointer-events: auto;
    transition: transform .22s ease, box-shadow .22s ease;
}
.path-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0,0,0,.4);
}
.path-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-lg);
    color: var(--path-color, #3b82f6);
    opacity: .5;
    line-height: 1;
}
.path-ico { font-size: 24px; line-height: 1; }
.path-txt { display: flex; flex-direction: column; min-width: 0; }
.path-txt strong {
    color: var(--ink-800);
    font-size: var(--fs-md);
    font-weight: 700;
    line-height: 1.3;
}
.path-txt small {
    color: var(--text-muted);
    font-size: var(--fs-xs);
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.path-arrow {
    align-self: center;
    color: rgba(255,255,255,.5);
    font-size: 15px;
}

/* ========== 12. EA 定制落地页 ========== */

/* Hero 区 */
.ea-hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, #0a1f3d 50%, var(--navy-800) 100%);
    padding: var(--space-16) 0 var(--space-14);
    border-bottom: 1px solid rgba(212,168,83,.15);
    position: relative;
    overflow: hidden;
}
.ea-hero::before {
    content: '';
    position: absolute;
    top: -200px; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(212,168,83,.08) 0%, transparent 60%);
    pointer-events: none;
}
.ea-hero::after {
    content: '';
    position: absolute;
    bottom: -150px; right: -150px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(30,58,107,.5) 0%, transparent 60%);
    pointer-events: none;
}
.ea-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
}
.ea-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212,168,83,.15);
    border: 1px solid rgba(212,168,83,.35);
    border-radius: 20px;
    color: var(--gold-400);
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: var(--space-5);
}
.ea-hero h1 {
    font-family: var(--font-display);
    font-size: var(--fs-4xl);
    color: #fff;
    margin-bottom: var(--space-5);
    line-height: 1.3;
}
.ea-hero h1 .accent { color: var(--gold-500); }
.ea-hero-left p {
    font-size: var(--fs-base);
    color: rgba(255,255,255,.7);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    max-width: 520px;
}
.ea-hero-buttons {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
    justify-content: center;
}
.ea-hero .btn-primary {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--fs-base);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 180px;
    transition: all var(--t-fast);
    box-shadow: 0 4px 16px rgba(212,168,83,.3);
}
.ea-hero .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,168,83,.45); }
.ea-hero .btn-outline {
    padding: 14px 32px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: var(--fs-base);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 140px;
    transition: all var(--t-fast);
}
.ea-hero .btn-outline:hover { border-color: var(--gold-500); color: var(--gold-500); }
.ea-hero-stats {
    display: flex;
    gap: var(--space-8);
}
.ea-hero-stats > div strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    color: var(--gold-500);
}
.ea-hero-stats > div span {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.5);
}

/* Hero 右侧模拟图表卡 */
.ea-hero-card {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 3px rgba(212,168,83,.2);
    overflow: hidden;
}
.ea-hero-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: var(--space-3) var(--space-5);
    background: var(--navy-900);
}
.ea-hero-card-header .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }
.ea-hero-card-title {
    margin-left: auto;
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.5);
    font-family: monospace;
}
.ea-hero-card-body { padding: var(--space-5); }
.ea-ticker {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    background: rgba(30,58,107,.05);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}
.ea-ticker-label { font-weight: 700; color: var(--navy-800); font-size: var(--fs-sm); }
.ea-ticker-price { font-family: monospace; font-size: var(--fs-md); color: var(--ink-800); }
.ea-ticker-change { font-size: var(--fs-xs); font-weight: 600; }
.ea-ticker-change.up { color: #10b981; }
.ea-ticker-change.down { color: #ef4444; }
.ea-equity-label { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: var(--space-2); }
.ea-equity-chart { width: 100%; height: 100px; }
.ea-equity-stats {
    display: flex;
    gap: var(--space-5);
    margin-top: var(--space-3);
    font-size: var(--fs-xs);
    color: var(--ink-600);
}
.ea-equity-stats strong { color: var(--navy-800); font-family: monospace; }
.ea-signal {
    margin-top: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    color: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.ea-signal-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ade80;
    animation: ea-pulse 1.5s infinite;
}
@keyframes ea-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

/* ========== EA 案例展示 ========== */
.ea-cases { padding: var(--space-14) 0; }
.ea-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--space-5);
}
.ea-case-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all var(--t-base);
    overflow: hidden;
}
.ea-case-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--case-color);
    opacity: .8;
}
.ea-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30,58,107,.15);
    border-color: var(--case-color);
}
.ea-case-type-badge {
    position: absolute;
    top: var(--space-4); right: var(--space-4);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    background: var(--case-color);
    color: #fff;
    border-radius: 12px;
    letter-spacing: .05em;
}
.ea-case-header { margin-bottom: var(--space-3); }
.ea-case-platform {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    background: rgba(30,58,107,.08);
    color: var(--navy-800);
    border-radius: 4px;
    margin-bottom: var(--space-2);
}
.ea-case-header h3 {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: var(--navy-900);
    line-height: 1.4;
}
.ea-case-desc {
    font-size: var(--fs-sm);
    color: var(--ink-600);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}
.ea-case-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    padding: var(--space-4);
    background: rgba(30,58,107,.04);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
}
.ea-metric { text-align: center; }
.ea-metric-value {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--case-color);
}
.ea-metric-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.ea-case-info {
    display: flex;
    gap: var(--space-4);
    font-size: var(--fs-xs);
    color: var(--ink-600);
    margin-bottom: var(--space-3);
}
.ea-case-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-4);
}
.ea-case-highlights span {
    font-size: 11px;
    padding: 3px 10px;
    background: rgba(212,168,83,.1);
    color: var(--gold-600);
    border-radius: 12px;
    font-weight: 500;
}
.ea-case-footer {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    padding-top: var(--space-3);
    border-top: 1px dashed var(--border);
}
.ea-case-source {
    margin-top: var(--space-3);
    padding-top: var(--space-2);
    font-size: 10px;
    color: var(--text-muted);
    opacity: .8;
    border-top: 1px dotted rgba(30,58,107,.08);
    line-height: 1.5;
}
.ea-case-source span { font-style: italic; }

/* ========== 服务流程 ========== */
.ea-flow {
    padding: var(--space-14) 0;
    background: var(--surface);
}
.ea-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.ea-flow-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    position: relative;
    transition: all var(--t-fast);
}
.ea-flow-card:hover {
    border-color: var(--gold-500);
    box-shadow: 0 8px 24px rgba(30,58,107,.08);
    transform: translateY(-2px);
}
.ea-flow-step {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--gold-500);
    margin-bottom: var(--space-3);
    line-height: 1;
}
.ea-flow-card h3 {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    color: var(--navy-900);
    margin-bottom: var(--space-2);
}
.ea-flow-card p {
    font-size: var(--fs-sm);
    color: var(--ink-600);
    line-height: 1.7;
}

/* ========== 价格阶梯 ========== */
.ea-pricing { padding: var(--space-14) 0; }
.ea-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.ea-price-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-8) calc(var(--space-8) + 64px);
    position: relative;
    transition: all var(--t-fast);
    min-height: 460px;
    box-sizing: border-box;
}
.ea-price-card .ea-price-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: none;
}
.ea-price-features li {
    padding: var(--space-2) 0;
    font-size: var(--fs-sm);
    color: var(--ink-700);
    border-bottom: 1px solid rgba(30,58,107,.04);
    line-height: 1.6;
}
.ea-price-features li:last-child { border-bottom: none; }
.ea-price-cta {
    position: absolute;
    left: var(--space-8);
    right: var(--space-8);
    bottom: var(--space-8);
    display: block;
    text-align: center;
    padding: 14px;
    background: var(--navy-900);
    color: #fff;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--t-fast);
}
.ea-price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(30,58,107,.12);
}
.ea-price-featured {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 1px var(--gold-500), 0 16px 40px rgba(212,168,83,.15);
}
.ea-price-featured:hover { transform: translateY(-4px); }
.ea-price-tag {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    font-size: 11px;
    font-weight: 700;
    border-radius: 12px;
    letter-spacing: .05em;
    white-space: nowrap;
}
.ea-price-card h3 {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: var(--navy-900);
    text-align: center;
    margin-bottom: var(--space-3);
}
.ea-price-amount {
    text-align: center;
    font-family: var(--font-display);
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-5);
    border-bottom: 1px dashed var(--border);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ea-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6);
}
.ea-price-features li {
    padding: var(--space-2) 0;
    font-size: var(--fs-sm);
    color: var(--ink-700);
    border-bottom: 1px solid rgba(30,58,107,.04);
}
.ea-price-features li:last-child { border-bottom: none; }
.ea-price-cta {
    display: block;
    text-align: center;
    padding: 14px;
    background: var(--navy-900);
    color: #fff;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--t-fast);
}
.ea-price-cta:hover {
    background: var(--gold-500);
    color: var(--navy-900);
}
.ea-price-featured .ea-price-cta {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
}
.ea-price-featured .ea-price-cta:hover {
    box-shadow: 0 6px 20px rgba(212,168,83,.4);
}

/* ========== CTA 区 ========== */
.ea-cta {
    padding: var(--space-14) 0;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    border-top: 1px solid rgba(212,168,83,.15);
}
.ea-cta-box {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.ea-cta h2 {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    color: #fff;
    margin-bottom: var(--space-4);
}
.ea-cta p {
    color: rgba(255,255,255,.65);
    font-size: var(--fs-base);
    margin-bottom: var(--space-6);
}
.ea-cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-bottom: var(--space-5);
}
.ea-cta-btn {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--t-fast);
    font-size: var(--fs-base);
}
.ea-cta-primary {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    box-shadow: 0 4px 16px rgba(212,168,83,.3);
}
.ea-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,168,83,.45); }
.ea-cta-outline {
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
}
.ea-cta-outline:hover { border-color: var(--gold-500); color: var(--gold-500); }
.ea-cta-note {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.4);
}
.ea-cta-legal {
    margin-top: var(--space-5);
    padding: var(--space-4) var(--space-5);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(212,168,83,.15);
    border-radius: var(--radius-md);
    font-size: 12px;
    line-height: 1.8;
    color: rgba(255,255,255,.55);
    text-align: left;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.ea-cta-legal strong {
    color: var(--gold-400);
    font-weight: 600;
}
.ea-cta-legal br { display: block; margin: 6px 0; }

/* ========== EA 风险提示（白色卡片） ========== */
.ea-risk-warning {
    padding: var(--space-12) 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}
.ea-risk-box {
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px 36px;
    box-shadow: 0 4px 24px rgba(15,23,42,.06);
}
.ea-risk-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 2px solid #fef3c7;
}
.ea-risk-icon {
    font-size: 28px;
    flex-shrink: 0;
}
.ea-risk-head h3 {
    font-size: 19px;
    font-weight: 700;
    color: #92400e;
    margin: 0;
    letter-spacing: .5px;
}
.ea-risk-lead {
    color: #475569;
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0 0 16px 0;
    padding: 12px 16px;
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    border-radius: 4px;
}
.ea-risk-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.ea-risk-list li {
    padding: 12px 0 12px 24px;
    position: relative;
    font-size: 14px;
    line-height: 1.75;
    color: #334155;
    border-bottom: 1px dashed #e2e8f0;
}
.ea-risk-list li:last-child { border-bottom: none; }
.ea-risk-list li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 13px;
    opacity: .7;
}
.ea-risk-list li strong {
    color: #dc2626;
    font-weight: 600;
}
.ea-risk-action {
    margin-top: 16px;
    padding: 14px 18px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
}
.ea-risk-action p {
    margin: 0;
    font-size: 13.5px;
    color: #15803d;
    line-height: 1.7;
}
.ea-risk-action p strong {
    color: #166534;
}

/* EA 页分区统一 */
.ea-cases .section-title,
.ea-flow .section-title,
.ea-pricing .section-title { color: var(--navy-900); }

/* ========== 12.5 EA 托管服务 (ea-hosting) ========== */

/* --- 引导卡片 --- */
.ea-hosting-banner {
    padding: 40px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #fef3c7 100%);
}
.ea-hosting-banner-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px 36px;
    background: #fff;
    border-radius: 16px;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}
.ea-hosting-banner-card:hover {
    border-color: #d4a853;
    box-shadow: 0 8px 32px rgba(212, 168, 83, 0.15);
    transform: translateY(-2px);
}
.ehb-icon { font-size: 48px; flex-shrink: 0; }
.ehb-content { flex: 1; min-width: 0; }
.ehb-content h3 { color: var(--navy-900); font-size: 20px; margin: 0 0 8px; }
.ehb-content p { color: #475569; font-size: 14.5px; line-height: 1.7; margin: 0 0 12px; }
.ehb-content strong { color: #c2410c; }
.ehb-prices { display: flex; gap: 16px; flex-wrap: wrap; }
.ehb-prices span {
    font-size: 13px;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 6px;
}
.ehb-prices strong { color: #0f172a; font-size: 14px; }
.ehb-arrow {
    font-size: 28px;
    color: #d4a853;
    font-weight: bold;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.ea-hosting-banner-card:hover .ehb-arrow { transform: translateX(4px); }

@media (max-width: 768px) {
    .ea-hosting-banner-card { flex-direction: column; text-align: center; gap: 12px; padding: 24px; }
    .ehb-prices { justify-content: center; }
}

/* --- 托管 Hero --- */
.eh-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #060f1e 0%, #0a1628 50%, #1e293b 100%);
    color: #fff;
}
.eh-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}
.eh-hero-badge {
    display: inline-block;
    background: rgba(212, 168, 83, 0.15);
    color: #d4a853;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 168, 83, 0.3);
}
.eh-hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #fff;
}
.eh-hero h1 .accent {
    background: linear-gradient(90deg, #d4a853, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.eh-hero > .container > .eh-hero-grid > .eh-hero-left > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin: 0 0 16px;
}
.eh-hero-disclaimer {
    background: rgba(220, 38, 38, 0.15);
    border-left: 3px solid #ef4444;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 13.5px;
    color: #fecaca;
    margin-bottom: 24px;
    line-height: 1.6;
}
.eh-hero-disclaimer strong { color: #fca5a5; }
.eh-hero-buttons { display: flex; gap: 12px; margin-bottom: 32px; }
.eh-hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.eh-hero-stats > div { text-align: left; }
.eh-hero-stats strong {
    display: block;
    font-size: 24px;
    color: #d4a853;
    font-weight: 700;
}
.eh-hero-stats span { font-size: 12px; color: rgba(255, 255, 255, 0.55); }

/* --- 服务矩阵 --- */
.eh-service-matrix {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
}
.eh-matrix-title {
    font-size: 16px;
    color: #fff;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.eh-matrix-table { width: 100%; border-collapse: collapse; }
.eh-matrix-table th,
.eh-matrix-table td {
    padding: 10px 8px;
    font-size: 13.5px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.eh-matrix-table th {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    font-size: 12px;
    width: 130px;
}
.eh-matrix-table td { color: rgba(255, 255, 255, 0.85); }
.eh-matrix-table tbody tr:last-child td { border-bottom: none; }
.eh-mod-icon { margin-right: 4px; }

/* --- 套餐定价 --- */
.eh-pricing { padding: 80px 0; background: #f8fafc; }
.eh-promo {
    color: #c2410c;
    font-weight: 600;
}
.eh-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.eh-price-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    border: 2px solid #e2e8f0;
    position: relative;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.eh-price-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.eh-price-featured {
    border-color: #d4a853;
    box-shadow: 0 8px 28px rgba(212, 168, 83, 0.18);
    transform: scale(1.02);
}
.eh-price-featured:hover { transform: scale(1.02) translateY(-4px); }
.eh-price-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #d4a853, #fbbf24);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 999px;
    white-space: nowrap;
}
.eh-price-plan-name { margin-bottom: 16px; }
.eh-price-plan-name h3 {
    font-size: 22px;
    color: var(--navy-900);
    margin: 0 0 4px;
}
.eh-price-sub {
    font-size: 13px;
    color: #64748b;
}
.eh-price-amount {
    margin-bottom: 4px;
}
.eh-price-num {
    font-size: 40px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1;
}
.eh-price-unit {
    font-size: 14px;
    color: #64748b;
    margin-left: 2px;
}
.eh-price-yearly {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 20px;
}
.eh-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}
.eh-price-features li {
    padding: 8px 0 8px 20px;
    font-size: 13.5px;
    color: #334155;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}
.eh-price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}
.eh-price-cta {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #060f1e, #1e3a5f);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}
.eh-price-cta:hover {
    background: linear-gradient(135deg, #1e3a5f, #2a4a6f);
    transform: translateY(-1px);
}
.eh-price-featured .eh-price-cta {
    background: linear-gradient(135deg, #d4a853, #fbbf24);
    color: #1e293b;
}
.eh-price-featured .eh-price-cta:hover {
    background: linear-gradient(135deg, #fbbf24, #fcd34d);
}

/* --- 交付流程 --- */
.eh-flow { padding: 80px 0; background: #fff; }
.eh-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.eh-flow-card {
    background: #f8fafc;
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}
.eh-flow-card:hover {
    background: #fff;
    border-color: #d4a853;
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.1);
}
.eh-flow-step {
    font-size: 36px;
    font-weight: 800;
    color: #d4a853;
    opacity: 0.3;
    margin-bottom: 8px;
    line-height: 1;
}
.eh-flow-card h3 {
    font-size: 16px;
    color: var(--navy-900);
    margin: 0 0 10px;
}
.eh-flow-card p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* --- 增值服务 --- */
.eh-addons { padding: 80px 0; background: #f8fafc; }
.eh-addons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.eh-addon-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}
.eh-addon-card:hover {
    border-color: #d4a853;
    box-shadow: 0 4px 16px rgba(212, 168, 83, 0.12);
    transform: translateY(-2px);
}
.eh-addon-icon { font-size: 32px; margin-bottom: 12px; }
.eh-addon-card h3 {
    font-size: 15px;
    color: var(--navy-900);
    margin: 0 0 8px;
}
.eh-addon-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px;
}
.eh-addon-price {
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-wrap: wrap;
}
.eh-addon-price .eh-price-num {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}
.eh-addon-price .eh-price-unit {
    font-size: 12px;
    color: #94a3b8;
}
.eh-addon-note {
    font-size: 11px;
    color: #92400e;
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
}
.eh-addon-cta {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}
.eh-addon-cta:hover { text-decoration: underline; }

/* --- CTA + 合规 --- */
.eh-cta { padding: 80px 0; background: #fff; }
.eh-cta-box {
    background: linear-gradient(135deg, #060f1e 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 48px;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.eh-cta-main h2 {
    font-size: 28px;
    margin: 0 0 12px;
    color: #fff;
}
.eh-cta-main p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px;
}
.eh-cta-buttons { display: flex; gap: 12px; }
.eh-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.eh-cta-primary {
    background: linear-gradient(135deg, #d4a853, #fbbf24);
    color: #1e293b;
}
.eh-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(212, 168, 83, 0.3); }
.eh-cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.eh-cta-outline:hover { border-color: #fff; }

.eh-cta-legal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
}
.eh-cta-legal h4 {
    margin: 0 0 14px;
    color: #fca5a5;
    font-size: 14px;
}
.eh-cta-legal ul {
    margin: 0;
    padding-left: 18px;
}
.eh-cta-legal li {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 6px;
}
.eh-cta-legal strong { color: #fecaca; }

/* --- 成功/错误提示 --- */
.eh-form-success {
    background: linear-gradient(135deg, #065f46, #10b981);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 28px;
    font-size: 14.5px;
}
.eh-form-success strong { color: #fef3c7; }
.eh-form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    color: #991b1b;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 28px;
    font-size: 14px;
}

/* --- 需求提交 Modal --- */
.eh-form-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 15, 30, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ehFadeIn 0.2s ease;
}
.eh-form-modal-overlay.show { display: flex; }
@keyframes ehFadeIn { from { opacity: 0; } to { opacity: 1; } }

.eh-form-modal {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: ehSlideUp 0.25s ease;
}
@keyframes ehSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.eh-form-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fff;
    border-radius: 18px 18px 0 0;
}
.eh-form-modal-header h3 { margin: 0; font-size: 17px; color: #0f172a; }
.eh-form-modal-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.15s;
}
.eh-form-modal-close:hover { background: #fee2e2; color: #ef4444; }

.eh-form { padding: 20px 24px; }
.eh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.eh-form-group { margin-bottom: 14px; }
.eh-form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.eh-form-group .required { color: #ef4444; }
.eh-form-group input[type="text"],
.eh-form-group input[type="email"],
.eh-form-group input[type="tel"],
.eh-form-group select,
.eh-form-group textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.15s;
    background: #fff;
    color: #0f172a;
}
.eh-form-group input:focus,
.eh-form-group select:focus,
.eh-form-group textarea:focus {
    outline: none;
    border-color: #d4a853;
    box-shadow: 0 0 0 3px rgba(212,168,83,0.15);
}
.eh-form-group textarea { resize: vertical; min-height: 80px; }

.eh-form-captcha-row { align-items: end; }
.eh-captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
}
.eh-captcha-box img {
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}
.eh-captcha-refresh {
    font-size: 12px;
    color: #64748b;
    cursor: pointer;
    text-decoration: underline;
}

.eh-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    margin-top: 12px;
    padding-top: 16px;
}
.eh-btn-cancel {
    padding: 10px 22px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
}
.eh-btn-cancel:hover { background: #f8fafc; }
.eh-btn-submit {
    padding: 10px 28px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #060f1e, #1e293b);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.eh-btn-submit:hover { background: linear-gradient(135deg, #1e293b, #060f1e); transform: translateY(-1px); }

.eh-form-footer {
    padding: 14px 24px 20px;
    font-size: 12px;
    color: #64748b;
    background: #fafbfc;
    border-top: 1px solid #f1f5f9;
    border-radius: 0 0 18px 18px;
    line-height: 1.7;
}
.eh-form-footer strong { color: #c2410c; }

/* Modal 响应式 */
@media (max-width: 520px) {
    .eh-form-row { grid-template-columns: 1fr; }
    .eh-form-modal { border-radius: 14px; }
}

/* --- EA 托管页响应式 --- */
@media (max-width: 1024px) {
    .eh-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .eh-pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .eh-flow-grid { grid-template-columns: repeat(2, 1fr); }
    .eh-addons-grid { grid-template-columns: repeat(2, 1fr); }
    .eh-cta-box { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
}
@media (max-width: 768px) {
    .eh-hero { padding: 60px 0 40px; }
    .eh-hero h1 { font-size: 28px; }
    .eh-pricing { padding: 60px 0; }
    .eh-pricing-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
    .eh-price-featured { transform: none; }
    .eh-price-featured:hover { transform: translateY(-4px); }
    .eh-flow-grid { grid-template-columns: 1fr; }
    .eh-addons-grid { grid-template-columns: 1fr; }
    .eh-cta { padding: 60px 0; }
    .eh-cta-buttons { flex-direction: column; }
    .eh-cta-btn { text-align: center; }
}

/* ========== 13. 响应式 ========== */
@media (max-width: 1024px) {
    .container { padding: 0 var(--space-5); }
    .home-articles { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: 1fr; }
    .article-toc .toc-toggle { display: block; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .path-track { grid-template-columns: 1fr 1fr; }
    .path-arrow { display: none; }
}

@media (min-width: 769px) {
    .path-strip { margin-top: -48px; }
}

@media (max-width: 768px) {
    .site-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero-section { padding: var(--space-10) 0 var(--space-8); }
    .hero-content h1 { font-size: var(--fs-3xl); }
    .home-articles { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: var(--space-8); }
    .footer-trust { gap: var(--space-2); }
    .footer-contact { gap: var(--space-3); }
    .footer-links { gap: var(--space-3); padding: var(--space-4) 0; }
    .section-header { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
    .hero-stats-row { flex-wrap: wrap; gap: var(--space-6); }
    .path-strip { padding-top: var(--space-6); }
    .path-step { padding: 11px 14px; }
    .compare-section { padding: var(--space-8) 0; }
    .pick-chips { max-height: 68px; gap: 6px; }
    .sw-chip { padding: 5px 10px; font-size: 12px; }
    .compare-table { font-size: 12px; }
    .compare-table th, .compare-table td { padding: 10px 12px; }
    .compare-th-fixed, .compare-td-dim { min-width: 104px; font-size: 13px; }
    .compare-th-col, .compare-td-col { min-width: 150px; }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--space-4); }
    .header-user .btn-login,
    .header-user .btn-register { padding: var(--space-1) var(--space-2); font-size: var(--fs-xs); }
    .path-track { grid-template-columns: 1fr; }
    .wizard-q { width: 100%; }
    .wizard-btn { padding: 5px 11px; font-size: 12px; }
}

/* ========== 14. 工具类 ========== */
.text-gold { color: var(--gold-500); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
/* ================================================================
 * 反诈分类专属视觉（anti-fraud）
 * 主色：警示红 + 黑 + 警戒金
 * ================================================================ */
.af-hero { position: relative; background: linear-gradient(135deg,#7f1d1d 0%,#991b1b 40%,#450a0a 100%); padding: 64px 0 72px; overflow: hidden; border-bottom: 4px solid #fbbf24; }
.af-hero-stripes { position:absolute;inset:0;background:repeating-linear-gradient(-45deg,transparent 0,transparent 40px,rgba(0,0,0,.12) 40px,rgba(0,0,0,.12) 44px);opacity:.4;pointer-events:none; }
.af-hero-pattern { position:absolute;top:-100px;right:-100px;width:500px;height:500px;border-radius:50%;background:radial-gradient(circle,rgba(251,191,36,.18),transparent 70%);pointer-events:none; }
.af-hero-badge { display:inline-flex;align-items:center;gap:8px;padding:6px 18px;background:rgba(251,191,36,.2);border:1px solid rgba(251,191,36,.5);border-radius:20px;color: #fde68a;font-size:13px;font-weight:600;letter-spacing:.06em;margin-bottom:28px; }
.af-hero-title { font-family:var(--font-display,'Noto Serif SC');font-size:clamp(32px,4.5vw,52px);font-weight:900;color: #fff;line-height:1.25;margin-bottom:20px; }
.af-warn { display:inline-block;animation:af-pulse 1.8s ease-in-out infinite; }
@keyframes af-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }
.af-hero-sub { display:block;margin-top:10px;font-size:.55em;font-weight:500;color: #fecaca;letter-spacing:.15em; }
.af-hero-desc { font-size:16px;color: rgba(255,255,255,.82);line-height:1.9;max-width:680px;margin-bottom:40px; }
.af-hero-desc strong { color: #fde68a;font-weight:700;background:rgba(251,191,36,.12);padding:1px 6px;border-radius:3px; }
.af-hero-stats { display:flex;align-items:center;gap:40px; }
.af-stat { text-align:center; }
.af-stat-num { font-family:var(--font-display);font-size:38px;font-weight:900;color: #fff;line-height:1; }
.af-stat-num span { font-size:18px;font-weight:700;color: #fde68a; }
.af-num-big { color: #fbbf24 !important;font-size:52px !important; }
.af-stat-label { font-size:12px;color: rgba(255,255,255,.55);margin-top:8px;letter-spacing:.15em; }
.af-stat-divider { width:1px;height:40px;background:rgba(255,255,255,.2); }
.af-hotline { background:#1f1f1f;border-top:2px solid #dc2626;border-bottom:2px solid #dc2626;padding:14px 0;position:sticky;top:64px;z-index:30; }
.af-hotline-inner { max-width:1100px;margin:0 auto;padding:0 20px;display:flex;align-items:center;gap:14px;color: #fca5a5;font-size:14px;font-weight:500;flex-wrap:wrap; }
.af-hotline-icon { font-size:20px;animation:af-ring 1s ease-in-out infinite; }
@keyframes af-ring { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-15deg)} 75%{transform:rotate(15deg)} }
.af-hotline-number { font-family:var(--font-display);font-size:26px;font-weight:900;color: #dc2626;letter-spacing:3px;text-shadow:0 0 12px rgba(220,38,38,.5); }
.af-hotline-link { color: #fbbf24;text-decoration:none;font-weight:700;border-bottom:1px dashed rgba(251,191,36,.5);transition:color .2s; }
.af-hotline-link:hover { color: #fde68a; }
.af-section-title { text-align:center;font-family:var(--font-display);font-size:28px;font-weight:800;color: #991b1b;margin-bottom:12px;display:flex;align-items:center;justify-content:center;gap:18px; }
.af-section-desc { text-align:center;color: #64748b;font-size:15px;margin-bottom:48px; }
.af-cats-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:24px; }
.af-cat-card { position:relative;background:#fff;border:2px solid #fee2e2;border-radius:12px;padding:24px 22px 20px;text-decoration:none;color: inherit;transition:all .25s;overflow:hidden;display:flex;flex-direction:column; }
.af-cat-card:hover { border-color:#dc2626;transform:translateY(-4px);box-shadow:0 16px 40px rgba(220,38,38,.18); }
.af-cat-card-top { position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#dc2626,#991b1b,#dc2626); }
.af-cat-badge { display:inline-flex;align-items:center;gap:6px;background:#fef2f2;border:1px solid #fecaca;border-radius:20px;padding:4px 12px;margin-bottom:14px;align-self:flex-start; }
.af-cat-emoji { font-size:15px; }
.af-cat-tag { font-size:11px;color: #dc2626;font-weight:600;letter-spacing:.08em; }
.af-cat-name { font-family:var(--font-display);font-size:20px;font-weight:800;color: #1e293b;margin-bottom:10px;line-height:1.4; }
.af-cat-desc { font-size:13.5px;color: #64748b;line-height:1.7;margin-bottom:16px;flex:1; }
.af-cat-bottom { display:flex;justify-content:space-between;align-items:center;padding-top:14px;border-top:1px dashed #fecaca;font-size:13px;color: #dc2626;font-weight:600; }
.af-cat-arrow { transition:transform .2s; }
.af-cat-card:hover .af-cat-arrow { transform:translateX(4px); }
.af-cat-no { position:absolute;top:16px;right:18px;font-family:var(--font-display);font-size:52px;font-weight:900;color: rgba(220,38,38,.08);line-height:1;pointer-events:none; }
.af-tips-section { background:linear-gradient(180deg,#fef2f2 0%,#fff 100%);border-top:1px solid #fee2e2; }
.af-tips-title { text-align:center;font-family:var(--font-display);font-size:26px;font-weight:800;color: #991b1b;margin-bottom:36px; }
.af-tips-sub { display:block;font-size:14px;font-weight:500;color: #dc2626;margin-top:6px;letter-spacing:.2em; }
.af-tips-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:16px; }
.af-tip { background:#fff;border-radius:10px;padding:20px 18px;text-align:center;border:2px solid transparent;transition:all .2s; }
.af-tip-yes { border-color:#86efac;background:#f0fdf4; }
.af-tip-no { border-color:#fca5a5;background:#fef2f2; }
.af-tip:hover { transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.08); }
.af-tip-icon { font-size:30px;margin-bottom:8px; }
.af-tip h4 { font-size:14px;font-weight:700;color: #1e293b;margin-bottom:4px;line-height:1.4; }
.af-tip p { font-size:12.5px;color: #64748b;line-height:1.6; }
@media (max-width:960px) {
    .af-cats-grid { grid-template-columns:repeat(2,1fr); }
    .af-tips-grid { grid-template-columns:repeat(2,1fr); }
    .af-hero-stats { gap:24px; }
    .af-stat-num { font-size:32px; }
    .af-num-big { font-size:44px; }
}
@media (max-width:560px) {
    .af-hero { padding:44px 0 56px; }
    .af-hero-title { font-size:28px; }
    .af-hero-stats { flex-direction:column;gap:20px; }
    .af-stat-divider { width:40px;height:1px; }
    .af-cats-grid { grid-template-columns:1fr; }
    .af-tips-grid { grid-template-columns:1fr; }
    .af-hotline { position:static; }
    .af-hotline-inner { font-size:13px; }
    .af-hotline-number { font-size:22px; }
    .af-cat-no { font-size:40px; }
}

/* ================================================================
 * 投教分类专属视觉（education）
 * 书卷气学习路径风：深蓝渐变 + 金色点缀 + 温暖米白
 * ================================================================ */

/* ---- Hero ---- */
.edu-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    padding: 72px 0 80px;
    overflow: hidden;
    border-bottom: 4px solid #fbbf24;
}
.edu-hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(251,191,36,.15), transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(59,130,246,.12), transparent 50%);
}
.edu-hero-pattern {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"60\" height=\"60\" viewBox=\"0 0 60 60\"%3E%3Cg fill=\"none\" fill-rule=\"evenodd\"%3E%3Cg fill=\"%23ffffff\" fill-opacity=\"0.04\"%3E%3Cpath d=\"M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.edu-hero-label {
    display: inline-block;
    background: rgba(251,191,36,.15);
    border: 1px solid rgba(251,191,36,.4);
    color: #fde68a;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    margin-bottom: 24px;
}
.edu-hero-title {
    font-family: var(--font-display, "Noto Serif SC");
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 16px;
}
.edu-hero-hl {
    color: #fbbf24;
    position: relative;
    padding: 2px 10px;
}
.edu-hero-hl::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: rgba(251,191,36,.3);
    border-radius: 2px;
}
.edu-hero-desc {
    font-size: 15.5px;
    color: rgba(255,255,255,.72);
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 640px;
}
.edu-hero-stats {
    display: flex;
    align-items: center;
    gap: 36px;
}
.edu-stat-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1;
}
.edu-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    margin-top: 6px;
    letter-spacing: .15em;
}
.edu-stat-divider {
    width: 1px; height: 36px;
    background: rgba(255,255,255,.2);
}

/* ---- 页面主体 ---- */
.edu-page {
    background: #fefce8;
    min-height: 600px;
}
.edu-section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 8px;
}
.edu-title-bar {
    display: inline-block;
    width: 40px; height: 3px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
    border-radius: 2px;
}
.edu-section-sub {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 40px;
}

/* ---- 学习路径卡片 ---- */
.edu-path-section { padding-top: 20px; margin-bottom: 64px; }
.edu-path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.edu-path-card {
    position: relative;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 24px 22px;
    text-decoration: none;
    color: inherit;
    transition: all .3s;
    overflow: hidden;
}
.edu-path-card:hover {
    border-color: var(--edu-card-accent, #2563eb);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(15,23,42,.1);
}
.edu-path-card:hover .edu-path-deco {
    transform: scale(1.8);
    opacity: .15;
}
.edu-path-card:hover .edu-path-cta { color: var(--edu-card-accent, #2563eb); }
.edu-path-num {
    position: absolute;
    top: 16px; right: 20px;
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 900;
    color: var(--edu-card-accent, #2563eb);
    opacity: .1;
    line-height: 1;
}
.edu-path-icon {
    font-size: 36px;
    margin-bottom: 14px;
}
.edu-path-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
}
.edu-path-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 18px;
}
.edu-path-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px dashed #e5e7eb;
    font-size: 12.5px;
    color: #94a3b8;
}
.edu-path-cta {
    font-weight: 700;
    color: var(--edu-card-accent, #2563eb);
    transition: color .2s;
}
.edu-path-deco {
    position: absolute;
    bottom: -30px; right: -30px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: var(--edu-card-accent, #2563eb);
    opacity: .06;
    transition: all .4s;
}

/* ---- 精选推荐 ---- */
.edu-featured-section { margin-bottom: 64px; }
.edu-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.edu-feat-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 22px;
    transition: all .25s;
    overflow: hidden;
}
.edu-feat-card:hover {
    border-color: #fbbf24;
    box-shadow: 0 10px 30px rgba(251,191,36,.12);
}
.edu-feat-rank {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
    letter-spacing: .06em;
}
.edu-feat-cat {
    font-size: 11px;
    font-weight: 600;
    color: #2563eb;
    background: #dbeafe;
    padding: 2px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    display: inline-block;
}
.edu-feat-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 8px;
}
.edu-feat-title a { color: #0f172a; text-decoration: none; }
.edu-feat-title a:hover { color: #2563eb; }
.edu-feat-summary {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.edu-feat-meta {
    display: flex;
    gap: 12px;
    font-size: 11.5px;
    color: #94a3b8;
    align-items: center;
}
.edu-feat-read {
    margin-left: auto;
    color: #2563eb;
    font-weight: 700;
}

/* ---- 学习小贴士 ---- */
.edu-tips-section { margin-bottom: 20px; }
.edu-tips-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    border-radius: 14px;
    padding: 28px 32px;
    border: 1px solid rgba(251,191,36,.3);
    position: relative;
    overflow: hidden;
}
.edu-tips-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
}
.edu-tips-icon { font-size: 42px; flex-shrink: 0; }
.edu-tips-body { flex: 1; min-width: 0; }
.edu-tips-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 8px;
}
.edu-tips-body p {
    font-size: 14px;
    color: rgba(255,255,255,.7);
    line-height: 1.75;
}
.edu-tips-body p strong { color: #fde68a; }
.edu-tips-cta {
    flex-shrink: 0;
    background: #fbbf24;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s;
}
.edu-tips-cta:hover {
    background: #f59e0b;
    transform: scale(1.03);
}

/* ---- 子分类页 ---- */
.edu-sub-header {
    margin-bottom: 36px;
    text-align: center;
}
.edu-back-link {
    display: inline-block;
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 16px;
    transition: color .2s;
}
.edu-back-link:hover { color: #0f172a; }
.edu-sub-cat-label {
    font-size: 56px;
    margin-bottom: 12px;
    line-height: 1;
}
.edu-sub-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 10px;
}
.edu-sub-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

/* 文章列表 */
.edu-article-list { display: flex; flex-direction: column; gap: 14px; }
.edu-article-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 20px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 24px;
    transition: all .25s;
}
.edu-article-item:hover {
    border-color: #2563eb;
    box-shadow: 0 10px 28px rgba(37,99,235,.08);
    transform: translateX(4px);
}
.edu-art-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: #cbd5e1;
    text-align: center;
    line-height: 1;
}
.edu-article-item:hover .edu-art-num { color: #2563eb; }
.edu-art-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}
.edu-art-title a { color: #0f172a; text-decoration: none; }
.edu-art-title a:hover { color: #2563eb; }
.edu-art-summary {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 6px;
}
.edu-art-meta {
    display: flex;
    gap: 14px;
    font-size: 11.5px;
    color: #94a3b8;
}
.edu-art-top {
    background: #fef3c7;
    color: #d97706;
    padding: 1px 8px;
    border-radius: 3px;
    font-weight: 600;
}
.edu-art-cta {
    flex-shrink: 0;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 16px;
    background: #eff6ff;
    border-radius: 6px;
    transition: all .2s;
}
.edu-art-cta:hover {
    background: #2563eb;
    color: #fff;
}

/* 空状态 */
.edu-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.edu-empty-icon { font-size: 48px; margin-bottom: 12px; }
.edu-empty h3 { color: #0f172a; font-size: 18px; margin-bottom: 8px; }
.edu-empty p { color: #64748b; font-size: 14px; margin-bottom: 18px; }
.edu-empty-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

/* ---- 响应式 ---- */
@media (max-width: 960px) {
    .edu-featured-grid { grid-template-columns: 1fr; }
    .edu-article-item { grid-template-columns: 1fr; text-align: left; gap: 10px; }
    .edu-art-num { display: none; }
    .edu-art-cta { justify-self: start; }
    .edu-tips-card { flex-direction: column; text-align: center; padding: 24px; }
}
@media (max-width: 560px) {
    .edu-hero { padding: 48px 0 56px; }
    .edu-hero-stats { flex-wrap: wrap; gap: 20px; }
    .edu-hero-title { font-size: 26px; }
    .edu-path-grid { grid-template-columns: 1fr; }
}

/* ================================================================
 * 教程分类专属视觉（tutorials）— 知识付费 · 深邃藏青风
 * 核心元素：价格标签 + 课程卡片 + 价值主张 Hero + 信任背书 + FAQ
 * ================================================================ */

/* ---- Hero ---- */
.tut-hero {
    position: relative;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0f0f2f 100%);
    padding: 80px 0 88px;
    overflow: hidden;
    border-bottom: 4px solid #d4a853;
}
.tut-hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 15% 50%, rgba(212,168,83,.18), transparent 45%),
                radial-gradient(ellipse at 85% 70%, rgba(37,99,235,.12), transparent 50%);
}
.tut-hero-grid {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.03'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3C/g%3E%3C/svg%3E");
}
.tut-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d4a853, #b8943f);
    color: #0a0a1a;
    padding: 7px 22px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(212,168,83,.3);
}
.tut-hero-title {
    font-family: var(--font-display, "Noto Serif SC");
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
}
.tut-hero-hl {
    background: linear-gradient(120deg, #d4a853, #fde68a, #d4a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tut-hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,.7);
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 680px;
}
.tut-hero-stats {
    display: flex;
    gap: 0;
    margin-bottom: 36px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 6px;
    max-width: 680px;
}
.tut-hero-stat {
    flex: 1;
    padding: 14px 18px;
    text-align: center;
}
.tut-hero-num {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.tut-hero-gold { color: #d4a853; }
.tut-hero-green { color: #34d399; }
.tut-hero-lbl {
    font-size: 11px;
    color: rgba(255,255,255,.45);
    margin-top: 8px;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.tut-hero-cta-row { display: flex; gap: 14px; }
.tut-hero-btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all .25s;
}
.tut-hero-btn-primary {
    background: linear-gradient(135deg, #d4a853, #b8943f);
    color: #0a0a1a;
    box-shadow: 0 4px 20px rgba(212,168,83,.4);
}
.tut-hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,168,83,.5); }
.tut-hero-btn-ghost {
    background: transparent;
    color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.2);
}
.tut-hero-btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }

/* ---- 主体 ---- */
.tut-page { background: #f8fafc; min-height: 600px; }

/* Filter bar */
.tut-filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.tut-filter-label { font-size: 13px; font-weight: 700; color: #0f172a; }
.tut-filter-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tut-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-radius: 6px;
    transition: all .2s;
}
.tut-filter-tab:hover { color: #0f172a; background: #f1f5f9; }
.tut-filter-tab.active { background: #0f172a; color: #fff; }

/* 精选卡片 */
.tut-feat-card {
    position: relative;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: 0 10px 40px rgba(15,23,42,.08);
}
.tut-feat-badge {
    position: absolute;
    top: 18px; right: 20px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 14px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(220,38,38,.3);
}
.tut-feat-left { background: #f1f5f9; }
.tut-feat-cover {
    width: 100%; height: 100%;
    min-height: 260px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.tut-feat-cover img { width: 100%; height: 100%; object-fit: cover; }
.tut-feat-cover-placeholder {
    font-size: 80px;
    color: #cbd5e1;
}
.tut-feat-right { padding: 28px 32px; display: flex; flex-direction: column; }
.tut-feat-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    background: #dbeafe;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    align-self: flex-start;
}
.tut-feat-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 12px;
}
.tut-feat-summary {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}
.tut-feat-specs {
    display: flex;
    gap: 28px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #e5e7eb;
    margin-bottom: 18px;
}
.tut-feat-spec { text-align: center; }
.tut-spec-num { display: block; font-size: 18px; font-weight: 800; color: #0f172a; }
.tut-spec-lbl { font-size: 11px; color: #94a3b8; letter-spacing: .08em; }
.tut-feat-bottom { display: flex; justify-content: space-between; align-items: center; }
.tut-feat-price { display: flex; align-items: baseline; gap: 4px; }
.tut-currency { font-size: 18px; font-weight: 700; color: #dc2626; }
.tut-price-num { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: #dc2626; }
.tut-feat-cta {
    background: #0f172a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
}
.tut-feat-cta:hover { background: #1e3a8a; transform: translateY(-2px); }

/* 网格 */
.tut-grid-section { margin-bottom: 48px; }
.tut-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.tut-section-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #0f172a; }
.tut-section-sub { font-size: 13px; color: #64748b; display: flex; gap: 14px; }
.tut-sub-paid { color: #dc2626; font-weight: 600; }
.tut-sub-free { color: #059669; font-weight: 600; }
.tut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

/* 课程卡片 */
.tut-course-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.tut-course-card:hover {
    border-color: var(--tut-accent, #2563eb);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15,23,42,.12);
}
.tut-card-cover {
    position: relative;
    aspect-ratio: 16/9;
    background: #f1f5f9;
    overflow: hidden;
}
.tut-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tut-course-card:hover .tut-card-cover img { transform: scale(1.05); }
.tut-card-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--tut-accent, #2563eb), #0f172a);
}
.tut-card-emoji { font-size: 56px; filter: grayscale(.3) brightness(1.2); }
.tut-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.tut-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: .04em;
}
.tut-badge-paid { background: rgba(220,38,38,.95); color: #fff; backdrop-filter: blur(4px); }
.tut-badge-free { background: rgba(5,150,105,.95); color: #fff; backdrop-filter: blur(4px); }
.tut-badge-top { background: rgba(245,158,11,.95); color: #fff; backdrop-filter: blur(4px); }
.tut-card-price-tag {
    position: absolute;
    bottom: 12px; right: 12px;
    background: #dc2626;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: baseline;
    gap: 2px;
    box-shadow: 0 4px 12px rgba(220,38,38,.35);
}
.tut-price-tag-sym { font-size: 12px; font-weight: 700; }
.tut-price-tag-num { font-size: 16px; font-weight: 900; }
.tut-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tut-card-cat { font-size: 11px; font-weight: 600; color: #64748b; margin-bottom: 8px; }
.tut-card-title { font-size: 16px; font-weight: 700; line-height: 1.45; margin-bottom: 8px; }
.tut-card-title a { color: #0f172a; text-decoration: none; }
.tut-card-title a:hover { color: var(--tut-accent, #2563eb); }
.tut-card-summary { font-size: 13px; color: #64748b; line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tut-card-specs { display: flex; gap: 12px; font-size: 11px; color: #94a3b8; margin-bottom: 14px; flex-wrap: wrap; }
.tut-card-actions { margin-top: auto; }
.tut-card-cta {
    display: block;
    text-align: center;
    padding: 10px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all .2s;
}
.tut-course-card:hover .tut-card-cta { background: var(--tut-accent, #2563eb); color: #fff; }
.tut-course-card.free .tut-card-cta { background: #ecfdf5; color: #059669; }
.tut-course-card.free:hover .tut-card-cta { background: #059669; color: #fff; }

/* 信任 */
.tut-trust-section { margin-bottom: 48px; }
.tut-trust-title {
    font-family: var(--font-display);
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 28px;
}
.tut-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tut-trust-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 22px 20px;
    text-align: center;
    transition: all .2s;
}
.tut-trust-card:hover { border-color: #d4a853; box-shadow: 0 8px 24px rgba(212,168,83,.1); }
.tut-trust-icon { font-size: 32px; margin-bottom: 10px; }
.tut-trust-card h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.tut-trust-card p { font-size: 12.5px; color: #64748b; line-height: 1.6; }

/* FAQ */
.tut-faq-list { max-width: 720px; margin: 0 auto; }
.tut-faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.tut-faq-item summary {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tut-faq-item summary::-webkit-details-marker { display: none; }
.tut-faq-item summary::before { content: "+"; font-size: 16px; color: #d4a853; font-weight: 700; }
.tut-faq-item[open] summary::before { content: "−"; }
.tut-faq-item p { padding: 0 20px 16px; font-size: 13.5px; color: #64748b; line-height: 1.7; }

/* 子分类 */
.tut-sub-header { text-align: center; padding: 20px 0 32px; }
.tut-back-link { display: inline-block; font-size: 13px; color: #64748b; text-decoration: none; margin-bottom: 16px; }
.tut-back-link:hover { color: #0f172a; }
.tut-sub-cat-icon { font-size: 48px; margin-bottom: 10px; }
.tut-sub-title { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.tut-sub-desc { font-size: 14px; color: #64748b; }
.tut-sub-grid { display: flex; flex-direction: column; gap: 12px; }
.tut-sub-card {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    transition: all .2s;
}
.tut-sub-card:hover { border-color: #0f172a; box-shadow: 0 10px 28px rgba(15,23,42,.08); }
.tut-sub-num { font-family: var(--font-display); font-size: 24px; font-weight: 900; color: #cbd5e1; text-align: center; }
.tut-sub-card:hover .tut-sub-num { color: #0f172a; }
.tut-sub-badges { margin-bottom: 6px; }
.tut-sub-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.tut-sub-title a { color: #0f172a; text-decoration: none; }
.tut-sub-title a:hover { color: #2563eb; }
.tut-sub-summary { font-size: 13px; color: #64748b; line-height: 1.6; margin-bottom: 6px; }
.tut-sub-meta { display: flex; gap: 14px; font-size: 11.5px; color: #94a3b8; }
.tut-sub-cta {
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    background: #0f172a;
    color: #fff;
    transition: all .2s;
}
.tut-sub-cta:hover { background: #1e3a8a; }
.tut-sub-card.free .tut-sub-cta { background: #059669; }
.tut-sub-card.free:hover .tut-sub-cta { background: #047857; }
.tut-empty { text-align: center; padding: 60px 20px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.tut-empty-icon { font-size: 48px; margin-bottom: 12px; }
.tut-empty h3 { color: #0f172a; font-size: 18px; margin-bottom: 8px; }
.tut-empty-btn { display: inline-block; margin-top: 14px; padding: 10px 24px; background: #0f172a; color: #fff; text-decoration: none; border-radius: 6px; font-size: 14px; font-weight: 600; }

/* ---- article-detail 投教徽章 ---- */
.edu-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    color: #d4a853;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 5px;
    margin-bottom: 12px;
    letter-spacing: .06em;
}

/* ========== 升级付费墙样式 v2（知识付费风 · 藏青金统一） ========== */
.pay-wall {
    position: relative;
    margin: var(--space-7) 0;
    padding: 52px 28px 44px;
    background:
        radial-gradient(ellipse at 50% -10%, rgba(212,168,83,.22) 0%, rgba(212,168,83,0) 55%),
        linear-gradient(160deg, #0a1628 0%, #0f2140 55%, #162d54 100%);
    text-align: center;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(212,168,83,.35);
    box-shadow: 0 20px 50px rgba(5,18,40,.35), inset 0 1px 0 rgba(255,255,255,.06);
    overflow: hidden;
}
.pay-wall::before {
    content: '';
    position: absolute;
    left: 50%; top: 0;
    transform: translateX(-50%);
    width: 240px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.pay-wall-card {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}
.pay-wall-deco { display: none; }
.pay-wall-badge {
    display: inline-block;
    padding: 5px 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(212,168,83,.55);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--gold-400);
    background: rgba(212,168,83,.08);
    text-transform: uppercase;
}
.pay-wall-icon {
    width: 84px; height: 84px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    line-height: 1;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(212,168,83,.22), rgba(212,168,83,.06));
    border: 1px solid rgba(212,168,83,.5);
    box-shadow: 0 8px 26px rgba(212,168,83,.22), inset 0 1px 0 rgba(255,255,255,.12);
    animation: pw-lock-pulse 3s ease-in-out infinite;
}
@keyframes pw-lock-pulse {
    0%, 100% { box-shadow: 0 8px 26px rgba(212,168,83,.22), inset 0 1px 0 rgba(255,255,255,.12); }
    50% { box-shadow: 0 8px 34px rgba(212,168,83,.4), inset 0 1px 0 rgba(255,255,255,.12); }
}
.pay-wall-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .04em;
    margin-bottom: 10px;
}
.pay-wall-desc {
    font-size: 14px;
    color: rgba(255,255,255,.68);
    line-height: 1.85;
    margin-bottom: 22px;
}
.pay-wall-desc strong { color: var(--gold-400); font-weight: 700; }
.pay-wall-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.pay-wall-price .price-symbol { font-size: 22px; font-weight: 700; color: var(--gold-400); }
.pay-wall-price .price-value {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 900;
    color: var(--gold-500);
    line-height: 1;
    text-shadow: 0 4px 24px rgba(212,168,83,.35);
}
.pay-wall-price .price-original {
    font-size: 15px;
    color: rgba(255,255,255,.45);
    text-decoration: line-through;
    margin-left: 4px;
}
.pay-wall-price .price-note {
    flex-basis: 100%;
    font-size: 12px;
    color: rgba(255,255,255,.5);
    letter-spacing: .06em;
}
.pay-wall-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}
.btn-pay,
.pay-wall-actions .btn-membership {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 34px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 8px 26px rgba(212,168,83,.4);
    transition: all .25s;
    border: 1px solid rgba(255,255,255,.2);
}
.btn-pay:hover,
.pay-wall-actions .btn-membership:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(212,168,83,.55);
}
.pay-wall-actions .btn-membership {
    background: transparent;
    color: var(--gold-400);
    border: 1.5px solid rgba(212,168,83,.6);
    box-shadow: none;
}
.pay-wall-actions .btn-membership:hover {
    background: rgba(212,168,83,.1);
    color: var(--gold-400);
    box-shadow: none;
}
.pay-wall-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 12.5px;
    color: rgba(255,255,255,.66);
    font-weight: 500;
}
.pay-wall-features span { white-space: nowrap; }
@media (max-width: 600px) {
    .pay-wall { margin: var(--space-5) -16px; padding: 42px 18px 36px; border-radius: 18px; }
    .pay-wall-price .price-value { font-size: 44px; }
    .pay-wall-actions { flex-direction: column; align-items: stretch; }
    .btn-pay, .pay-wall-actions .btn-membership { width: 100%; }
    .pay-wall-features { gap: 6px 14px; }
    .pay-wall-features span { white-space: normal; }
}

/* ---- 响应式 ---- */
@media (max-width: 960px) {
    .tut-feat-card { grid-template-columns: 1fr; }
    .tut-feat-left { min-height: 200px; }
    .tut-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .tut-grid { grid-template-columns: repeat(2, 1fr); }
    .tut-hero-stats { flex-wrap: wrap; }
    .tut-hero-stat { min-width: 120px; }
}
@media (max-width: 600px) {
    .tut-hero { padding: 52px 0 60px; }
    .tut-hero-title { font-size: 28px; }
    .tut-grid { grid-template-columns: 1fr; }
    .tut-trust-grid { grid-template-columns: 1fr; }
    .tut-sub-card { grid-template-columns: 1fr; text-align: left; }
    .tut-sub-num { display: none; }
    .tut-sub-cta { align-self: flex-start; }
    .tut-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ================================================================
 * 反诈子分类 + 详情页徽章 · 补充样式
 * ================================================================ */

/* ---- 返回链接 ---- */
.af-back-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #dc2626;
    text-decoration: none;
    margin-bottom: 20px;
    padding: 6px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    transition: all .2s;
}
.af-back-link:hover { background: #fee2e2; color: #991b1b; }

/* ---- 子分类警示头 ---- */
.af-sub-section { background: #fff; }
.af-sub-header {
    text-align: center;
    padding: 32px 24px 28px;
    background: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%);
    border-radius: 14px;
    border: 1px solid #fecaca;
    position: relative;
}
.af-sub-icon {
    font-size: 56px;
    margin-bottom: 12px;
    line-height: 1;
}
.af-sub-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 20px;
    letter-spacing: .1em;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(220,38,38,.25);
}
.af-sub-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 10px;
}
.af-sub-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto;
}

/* ---- 案例卡片列表 ---- */
.af-sub-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.af-sub-card {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #dc2626;
    border-radius: 10px;
    padding: 20px 22px;
    transition: all .25s;
}
.af-sub-card:hover {
    border-color: #dc2626;
    box-shadow: 0 12px 32px rgba(220,38,38,.12);
    transform: translateX(4px);
}
.af-sub-no {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: #fecaca;
    text-align: center;
    line-height: 1;
    padding-top: 2px;
}
.af-sub-card:hover .af-sub-no { color: #dc2626; }
.af-sub-body { min-width: 0; }
.af-sub-tags { display: flex; gap: 8px; margin-bottom: 8px; }
.af-sub-tag {
    font-size: 11px;
    font-weight: 700;
    color: #dc2626;
    background: #fef2f2;
    padding: 3px 10px;
    border-radius: 4px;
}
.af-sub-tag-top {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}
.af-sub-article-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}
.af-sub-article-title a { color: #0f172a; text-decoration: none; }
.af-sub-article-title a:hover { color: #dc2626; }
.af-sub-summary {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 8px;
}
.af-sub-meta { display: flex; gap: 16px; font-size: 12px; color: #94a3b8; }
.af-sub-cta {
    flex-shrink: 0;
    padding: 10px 20px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    align-self: center;
    transition: all .2s;
    box-shadow: 0 4px 14px rgba(220,38,38,.25);
}
.af-sub-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(220,38,38,.35); }

/* ---- 空状态 ---- */
.af-empty {
    text-align: center;
    padding: 72px 24px;
    background: #fff;
    border: 2px dashed #fecaca;
    border-radius: 14px;
}
.af-empty-icon { font-size: 56px; margin-bottom: 14px; }
.af-empty h3 { font-size: 19px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.af-empty p { font-size: 14px; color: #64748b; margin-bottom: 20px; }
.af-empty-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #dc2626;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all .2s;
}
.af-empty-btn:hover { background: #b91c1c; }

/* ---- 详情页分类徽章 ---- */
.af-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
    letter-spacing: .04em;
    box-shadow: 0 4px 16px rgba(220,38,38,.3);
}
.tut-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #d4a853;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
    letter-spacing: .04em;
    border: 1px solid rgba(212,168,83,.3);
}

/* ---- 响应式 ---- */
@media (max-width: 720px) {
    .af-sub-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .af-sub-no { display: none; }
    .af-sub-cta { align-self: flex-start; }
    .af-sub-header { padding: 24px 16px; }
    .af-sub-icon { font-size: 44px; }
}
/* ================================================================
 * 资讯（全新报头风）· news 分支
 * ================================================================ */

.news-flash-bar { background:#0f0f2a;border-bottom:2px solid #dc2626;position:relative;z-index:10; }
.news-flash-inner { max-width:1280px;margin:0 auto;display:flex;align-items:center;gap:16px;padding:10px 24px;color: #fff;font-size:13px; }
.news-flash-label { background:linear-gradient(135deg,#dc2626,#b91c1c);padding:5px 14px;border-radius:4px;font-weight:700;font-size:12px;flex-shrink:0;letter-spacing:.05em;box-shadow:0 2px 10px rgba(220,38,38,.3); }
.news-flash-track { display:flex;gap:24px;overflow:hidden;flex:1;white-space:nowrap; }
.news-flash-item { display:inline-flex;align-items:center;gap:8px;color: rgba(255,255,255,.85);text-decoration:none;font-size:12.5px;transition:color .15s;flex-shrink:0; }
.news-flash-item:hover { color: #fbbf24; }
.news-flash-time { color: #dc2626;font-weight:600;font-size:11px; }
.news-flash-dot { color: rgba(255,255,255,.3); }

/* Masthead */
.news-master { background:#fafafa; }
.news-masthead { display:flex;align-items:center;gap:24px;padding:16px 0 20px;border-bottom:2px solid #0f172a;margin-bottom:28px; }
.news-masthead-logo { font-family:var(--font-display);font-size:26px;font-weight:900;color: #0f172a;letter-spacing:-.01em; }
.news-masthead-divider { flex:1;height:1px;background:repeating-linear-gradient(90deg,#0f172a 0 6px,transparent 6px 12px); }
.news-masthead-info { display:flex;gap:12px;font-size:12px;color: #64748b;font-weight:500; }
.news-dot { color: #cbd5e1; }

/* 分类彩色卡片区 */
.news-cat-row { display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:36px; }
.news-cat-chip { position:relative;display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;padding:14px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;text-decoration:none;transition:all .25s;overflow:hidden;border-left:3px solid var(--nc-accent); }
.news-cat-chip:hover { border-color:var(--nc-accent);background:var(--nc-bg);transform:translateY(-3px);box-shadow:0 10px 26px rgba(15,23,42,.08); }
.news-cat-chip::before { content:"";position:absolute;top:0;right:0;width:40px;height:40px;background:var(--nc-accent);opacity:.08;border-radius:0 10px 0 30px; }
.nc-icon { font-size:22px;text-align:center;line-height:1; }
.nc-info { display:flex;flex-direction:column;gap:2px; }
.nc-name { font-size:14px;font-weight:700;color: #0f172a; }
.nc-count { font-size:11px;color: var(--nc-accent);font-weight:600; }
.nc-desc { display:none; }

/* 头版大头条 + 侧栏 */
.news-front-page { display:grid;grid-template-columns:1fr 320px;gap:28px;margin-bottom:44px; }
.news-headline { display:grid;grid-template-columns:44% 1fr;gap:0;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 24px rgba(15,23,42,.07);border:1px solid #e5e7eb; }
.hl-cover { position:relative;aspect-ratio:4/3;overflow:hidden;display:block; }
.hl-cover img { width:100%;height:100%;object-fit:cover;transition:transform .5s; }
.news-headline:hover .hl-cover img { transform:scale(1.05); }
.hl-overlay { position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.3)); }
.hl-cover-placeholder { background:linear-gradient(135deg,var(--hl-accent),#0f172a);display:flex;align-items:center;justify-content:center;font-size:72px;color: rgba(255,255,255,.3); }
.hl-body { padding:28px 30px;display:flex;flex-direction:column;gap:12px; }
.hl-cat-tag { display:inline-block;align-self:flex-start;background:var(--hl-accent);color: #fff;padding:4px 12px;border-radius:4px;font-size:11px;font-weight:700;letter-spacing:.04em; }
.hl-title { font-family:var(--font-display);font-size:clamp(20px,2.2vw,28px);font-weight:800;line-height:1.3; }
.hl-title a { color: #0f172a;text-decoration:none; }
.hl-title a:hover { color: var(--hl-accent); }
.hl-summary { font-size:14px;color: #475569;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.hl-meta { display:flex;gap:16px;font-size:12px;color: #94a3b8;margin-top:auto;align-items:center;flex-wrap:wrap; }
.hl-read { margin-left:auto;font-size:12px;font-weight:700;color: #fff;text-decoration:none;padding:6px 14px;background:var(--hl-accent);border-radius:6px; }

/* 侧栏 */
.news-rail { display:flex;flex-direction:column;gap:16px; }
.news-rail-card { background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px 20px; }
.rail-title { font-size:14px;font-weight:700;color: #0f172a;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #f1f5f9; }
.rail-list { list-style:none; }
.rail-item { display:grid;grid-template-columns:22px 1fr;gap:10px;padding:9px 0;border-bottom:1px dashed #f1f5f9;align-items:start; }
.rail-item:last-child { border-bottom:none; }
.rail-rank { font-family:var(--font-display);font-size:18px;font-weight:900;color: #cbd5e1;line-height:1;padding-top:2px; }
.rail-item.rail-top .rail-rank { color: #dc2626; }
.rail-link { font-size:13px;color: #334155;text-decoration:none;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.rail-link:hover { color: #dc2626; }
.rail-flash { list-style:none; }
.rail-flash li { padding:7px 0;border-bottom:1px dashed #f1f5f9;font-size:12.5px; }
.rail-flash li:last-child { border-bottom:none; }
.rail-flash a { color: #334155;text-decoration:none;display:block;line-height:1.45; }
.rail-flash a:hover { color: #dc2626; }
.rf-dot { display:inline-block;width:6px;height:6px;background:#dc2626;border-radius:50%;margin-right:8px;animation:rfPulse 1.5s infinite; }
@keyframes rfPulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.rf-time { float:right;color: #94a3b8;font-size:11px; }

/* 各栏目最新 */
.news-section-title { text-align:center;font-family:var(--font-display);font-size:18px;font-weight:800;color: #0f172a;margin-bottom:24px;display:flex;align-items:center;justify-content:center;gap:16px; }
.nst-bar { display:inline-block;width:60px;height:2px;background:linear-gradient(90deg,transparent,#cbd5e1,transparent); }
.news-cat-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:40px; }
.news-cat-block { background:#fff;border:1px solid #e5e7eb;border-top:3px solid var(--ncb-accent);border-radius:10px;padding:16px;transition:all .2s;display:flex;flex-direction:column;gap:10px; }
.news-cat-block:hover { box-shadow:0 8px 24px rgba(15,23,42,.08);transform:translateY(-2px); }
.ncb-head { display:flex;align-items:center;gap:8px; }
.ncb-icon { font-size:18px; }
.ncb-name { font-size:13px;font-weight:700;flex:1; }
.ncb-name a { color: #0f172a;text-decoration:none; }
.ncb-name a:hover { color: var(--ncb-accent); }
.ncb-more a { font-size:11px;color: var(--ncb-accent);text-decoration:none;font-weight:600; }
.ncb-featured { font-size:13px;color: #334155;text-decoration:none;line-height:1.5;display:block;padding:8px 10px;background:var(--ncb-bg);border-radius:6px;border-left:2px solid var(--ncb-accent);transition:all .15s; }
.ncb-featured:hover { color: var(--ncb-accent);background:#fff; }
.ncb-feat-dot { color: var(--ncb-accent);font-size:10px;margin-right:4px; }
.ncb-meta { font-size:11px;color: #94a3b8; }
.ncb-empty { font-size:12px;color: #94a3b8;font-style:italic;padding:10px;text-align:center;background:#f8fafc;border-radius:6px; }

/* 子分类页 */
.news-sub-hero { background:var(--nsh-bg);padding:0;border-bottom:1px solid rgba(0,0,0,.05); }
.news-sub-body { margin-top:28px; }
.news-sub-breadcrumb { font-size:12px;color: #94a3b8;margin-bottom:18px; }
.news-sub-breadcrumb a { color: #64748b;text-decoration:none; }
.news-sub-breadcrumb .current { color: var(--nsh-accent);font-weight:600; }
.news-sub-head { display:flex;align-items:center;gap:20px;margin-bottom:24px; }
.news-sub-icon { width:68px;height:68px;border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:36px;box-shadow:0 6px 20px rgba(0,0,0,.08);border:3px solid var(--nsh-accent);flex-shrink:0; }
.news-sub-title { font-family:var(--font-display);font-size:clamp(22px,3vw,30px);font-weight:900;color: #0f172a;line-height:1.25;margin-bottom:6px; }
.news-sub-desc { font-size:14px;color: #64748b;line-height:1.7; }
.news-sub-tabs { display:flex;gap:6px;flex-wrap:wrap;padding-top:16px;border-top:1px solid rgba(0,0,0,.06); }
.news-sub-tab { display:inline-flex;align-items:center;gap:5px;padding:7px 14px;font-size:12.5px;font-weight:600;color: #64748b;background:#fff;border:1px solid #e5e7eb;border-radius:20px;text-decoration:none;transition:all .2s; }
.news-sub-tab:hover { color: #0f172a;border-color:var(--nst-accent); }
.news-sub-tab.active { background:var(--nst-accent,#0f172a);color: #fff;border-color:transparent;box-shadow:0 4px 14px rgba(0,0,0,.12); }

/* 子分类首篇大卡 */
.news-lead { display:grid;grid-template-columns:40% 1fr;gap:0;background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e5e7eb;margin-bottom:28px;box-shadow:0 4px 20px rgba(15,23,42,.05); }
.nl-cover { aspect-ratio:4/3;overflow:hidden; }
.nl-cover img { width:100%;height:100%;object-fit:cover; }
.nl-cover-placeholder { display:flex;align-items:center;justify-content:center;font-size:64px;background:var(--nl-accent,#e5e7eb);color: #fff; }
.nl-body { padding:24px 28px;display:flex;flex-direction:column;gap:10px; }
.nl-cat { font-size:11px;font-weight:700;color: #fff;background:var(--nl-accent,#667eea);align-self:flex-start;padding:3px 11px;border-radius:4px; }
.nl-title { font-family:var(--font-display);font-size:clamp(18px,1.8vw,24px);font-weight:800;line-height:1.35; }
.nl-title a { color: #0f172a;text-decoration:none; }
.nl-title a:hover { color: var(--nl-accent); }
.nl-summary { font-size:14px;color: #64748b;line-height:1.65;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.nl-meta { display:flex;gap:14px;font-size:12px;color: #94a3b8;margin-top:auto; }

/* 子分类卡片网格 */
.news-cards-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:18px; }
.news-card { background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;transition:all .2s; }
.news-card:hover { transform:translateY(-3px);box-shadow:0 12px 28px rgba(15,23,42,.1);border-color:var(--nc-accent); }
.news-card-img { display:block;aspect-ratio:16/10;overflow:hidden;background:#f1f5f9; }
.news-card-img img { width:100%;height:100%;object-fit:cover;transition:transform .4s; }
.news-card:hover .news-card-img img { transform:scale(1.05); }
.news-card-img-placeholder { display:flex;align-items:center;justify-content:center;font-size:48px;background:linear-gradient(135deg,var(--nc-accent),#0f172a);color: rgba(255,255,255,.3); }
.news-card-body { padding:16px 18px 18px; }
.news-card-title { font-size:15px;font-weight:700;line-height:1.4;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.news-card-title a { color: #0f172a;text-decoration:none; }
.news-card-title a:hover { color: var(--nc-accent); }
.news-card-summary { font-size:12.5px;color: #475569;line-height:1.6;margin-bottom:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.news-card-meta { display:flex;gap:12px;font-size:11px;color: #94a3b8; }

/* 空状态 */
.news-empty { text-align:center;padding:80px 20px;background:#fff;border:1px solid #e5e7eb;border-radius:12px; }
.news-empty-icon { font-size:56px;margin-bottom:12px; }
.news-empty h3 { font-size:18px;font-weight:700;color: #0f172a;margin-bottom:6px; }
.news-empty p { font-size:13px;color: #94a3b8; }

/* 响应式 */
@media (max-width:1024px) {
    .news-cat-row { grid-template-columns:repeat(2,1fr); }
    .news-front-page { grid-template-columns:1fr; }
    .news-headline { grid-template-columns:1fr; }
    .news-rail { flex-direction:row; }
    .news-rail-card { flex:1; }
    .news-cat-grid { grid-template-columns:repeat(2,1fr); }
    .news-cards-grid { grid-template-columns:repeat(2,1fr); }
    .news-lead { grid-template-columns:1fr; }
}
@media (max-width:640px) {
    .news-masthead { flex-wrap:wrap;gap:10px; }
    .news-masthead-divider { display:none; }
    .news-masthead-info { font-size:10px;flex-wrap:wrap;gap:6px; }
    .news-cat-row { grid-template-columns:1fr; }
    .news-cat-grid { grid-template-columns:1fr; }
    .news-cards-grid { grid-template-columns:1fr; }
    .news-rail { flex-direction:column; }
    .hl-body { padding:20px; }
    .news-sub-head { flex-direction:column;text-align:center; }
    .news-sub-icon { width:56px;height:56px;font-size:28px; }
}

/* ===== 资讯页模板类名补充（映射已有的 news-* CSS 体系） ===== */
.news-hero {
    position:relative;
    background:linear-gradient(135deg,#0f172a 0%,#1e3a6b 50%,#0f172a 100%);
    padding:64px 0 48px;
    color: #fff;
    overflow:hidden;
}
.news-hero-bg {
    position:absolute;inset:0;
    background:radial-gradient(circle at 80% 20%,rgba(251,191,36,.15) 0%,transparent 50%),
                radial-gradient(circle at 20% 80%,rgba(37,99,235,.1) 0%,transparent 50%);
    pointer-events:none;
}
.news-hero-label {
    display:inline-flex;align-items:center;gap:6px;
    font-size:13px;font-weight:600;color: #fbbf24;letter-spacing:.05em;margin-bottom:12px;
}
.news-hero-title {
    font-family:var(--font-display);font-size:clamp(28px,4vw,44px);font-weight:900;line-height:1.15;margin-bottom:12px;
}
.news-hero-title span { color: #fbbf24; }
.news-hero-desc {
    font-size:15px;color: rgba(255,255,255,.75);max-width:60ch;
}

/* 子分类药丸导航 */
.news-cat-nav {
    display:flex;flex-wrap:wrap;gap:10px;margin-bottom:36px;
}
.news-cat-pill {
    display:inline-flex;align-items:center;gap:6px;
    padding:8px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:999px;
    font-size:13px;font-weight:600;color: #475569;text-decoration:none;transition:all .2s;
}
.news-cat-pill:hover {
    border-color:var(--news-pill-accent,#667eea);color: var(--news-pill-accent,#667eea);
    background:var(--news-pill-bg,#f1f5f9);transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.08);
}
.news-cat-dot { width:8px;height:8px;border-radius:50%;background:var(--news-pill-accent,#667eea);flex-shrink:0; }
.news-cat-count {
    display:inline-flex;align-items:center;justify-content:center;
    min-width:20px;height:20px;padding:0 6px;
    background:var(--news-pill-accent,#667eea);
    border-radius:10px;font-size:11px;font-weight:700;color: #fff;
}

/* 快讯区 */
.news-flash-section { margin-bottom:36px; }
.news-flash-list {
    list-style:none;display:flex;flex-direction:column;gap:0;
    border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;background:#fff;
}
.news-flash-item {
    display:flex;align-items:center;gap:14px;padding:12px 18px;
    border-bottom:1px solid #f1f5f9;transition:background .15s;
}
.news-flash-item:last-child { border-bottom:none; }
.news-flash-item:hover { background:#f8fafc; }
.news-flash-time { font-size:12px;font-weight:600;color: #dc2626;flex-shrink:0;white-space:nowrap; }
.news-flash-title { font-size:14px;color: #334155;text-decoration:none;line-height:1.5;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden; }
.news-flash-title:hover { color: #dc2626; }

/* 分类亮点区 */
.news-cats-highlight { margin-bottom:40px; }
.news-cats-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:14px; }
.news-cat-card {
    background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:16px;
    transition:all .2s;text-decoration:none;display:flex;flex-direction:column;gap:10px;
}
.news-cat-card:hover { box-shadow:0 8px 24px rgba(15,23,42,.08);transform:translateY(-2px); }
.news-cat-card-header { display:flex;align-items:center;justify-content:space-between; }
.news-cat-card-icon { font-size:22px; }
.news-cat-card-count { font-size:11px;font-weight:700;color: var(--news-card-accent,#667eea);background:var(--news-card-bg,#f1f5f9);padding:2px 8px;border-radius:6px;border:1px solid var(--news-card-accent,#667eea); }
.news-cat-card-name { font-size:14px;font-weight:700;color: #0f172a; }
.news-cat-card-latest { font-size:12.5px;color: #475569;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }

/* 侧边栏 */
.news-sidebar { display:flex;flex-direction:column;gap:16px; }
.news-widget { background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px 20px; }
.news-widget-title { font-size:14px;font-weight:700;color: #0f172a;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #f1f5f9; }
.news-hot-list { list-style:none; }
.news-hot-item { display:grid;grid-template-columns:24px 1fr auto;gap:10px;padding:9px 0;border-bottom:1px dashed #f1f5f9;align-items:start; }
.news-hot-item:last-child { border-bottom:none; }
.news-hot-rank { font-family:var(--font-display);font-size:16px;font-weight:900;color: #cbd5e1;line-height:1;padding-top:2px; }
.news-hot-item:nth-child(1) .news-hot-rank,
.news-hot-item:nth-child(2) .news-hot-rank,
.news-hot-item:nth-child(3) .news-hot-rank { color: #dc2626; }
.news-hot-title { font-size:13px;color: #334155;text-decoration:none;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.news-hot-title:hover { color: #dc2626; }
.news-hot-views { font-size:11px;color: #94a3b8;white-space:nowrap;padding-top:2px; }

/* 子分类页 */
.news-back-link { display:inline-flex;align-items:center;gap:6px;font-size:13px;color: #64748b;text-decoration:none;margin-bottom:20px;transition:color .2s; }
.news-back-link:hover { color: #0f172a; }
.news-sub-header { display:flex;align-items:center;gap:20px;margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid #e5e7eb; }
.news-sub-icon { width:68px;height:68px;border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:36px;box-shadow:0 6px 20px rgba(0,0,0,.08);border:3px solid var(--nsh-accent,#667eea);flex-shrink:0; }
.news-sub-title { font-family:var(--font-display);font-size:clamp(22px,3vw,30px);font-weight:900;color: #0f172a;line-height:1.25;margin-bottom:6px; }
.news-sub-desc { font-size:14px;color: #64748b;line-height:1.7; }

/* 头条区类名映射 */
.news-headline-img { position:relative;aspect-ratio:4/3;overflow:hidden;display:block; }
.news-headline-img img { width:100%;height:100%;object-fit:cover;transition:transform .5s; }
.news-headline:hover .news-headline-img img { transform:scale(1.05); }
.news-headline-body { padding:28px 30px;display:flex;flex-direction:column;gap:12px; }
.news-headline-cat { display:inline-block;align-self:flex-start;background:var(--hl-accent,#667eea);color: #fff;padding:4px 12px;border-radius:4px;font-size:11px;font-weight:700;letter-spacing:.04em; }
.news-headline-title { font-family:var(--font-display);font-size:clamp(20px,2.2vw,28px);font-weight:800;line-height:1.3; }
.news-headline-title a { color: #0f172a;text-decoration:none; }
.news-headline-title a:hover { color: var(--hl-accent,#667eea); }
.news-headline-summary { font-size:14px;color: #475569;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.news-headline-meta { display:flex;gap:16px;font-size:12px;color: #94a3b8;margin-top:auto;align-items:center;flex-wrap:wrap; }

/* 响应式补充 */
@media (max-width:1024px) {
    .news-cats-grid { grid-template-columns:repeat(2,1fr); }
    .news-headline { grid-template-columns:1fr; }
    .news-sidebar { flex-direction:row;flex-wrap:wrap; }
    .news-widget { flex:1;min-width:280px; }
    .news-sub-header { flex-direction:column;text-align:center; }
}
@media (max-width:640px) {
    .news-cats-grid { grid-template-columns:1fr; }
    .news-cat-nav { gap:8px; }
    .news-cat-pill { padding:6px 12px;font-size:12px; }
    .news-hot-item { grid-template-columns:20px 1fr; }
    .news-hot-views { display:none; }
    .news-sub-header { flex-direction:column;text-align:center; }
    .news-sub-icon { width:56px;height:56px;font-size:28px; }
}

/* ================================================================
 * .article-native — 付费教程精致排版系统
 * 覆盖 content 里所有 BEM 类：chapter / callout / feature-item / step
 * / chapter-grid / compare-box / metric-card / table-wrap 等
 * ================================================================ */

/* ---- 1. 基础重置 & 排版 ---- */
.article-native {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: #1a2332;
    background: #fff;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 60px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}
.article-native * { box-sizing: border-box; }
.article-native p {
    margin: 0 0 18px;
    font-size: 15.5px;
    line-height: 1.95;
    color: #2a3544;
    letter-spacing: .02em;
}
/* Part-Locked 深色渐变头部内的 p 需要白色 */
.article-native .part-head p { color: #fff !important; }
.article-native .part-head .tag {
    color: #fff !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: block !important;
}
.article-native .part-head h2 { color: #fff !important; }
/* part-chips 章节内的节数标注 */
.article-native .part-chips a .pc-sec {
    font-size: 11px;
    opacity: 0.75;
    margin-left: 2px;
    font-weight: normal;
}
/* part 间距适配 article-content 内部（原文件 64px 在卡片内太大） */
.article-native .part { margin-top: 32px !important; }
.article-native strong {
    font-weight: 700;
    color: #0f172a;
    background: linear-gradient(to right, transparent 0%, #fff7ed 50%, transparent 100%);
    padding: 0 2px;
}
.article-native em { font-style: italic; color: #475569; }
.article-native a { color: #2563eb; text-decoration: none; border-bottom: 1px solid rgba(37,99,235,.3); }
.article-native a:hover { border-bottom-color: #2563eb; }
.article-native img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; box-shadow: 0 4px 16px rgba(15,23,42,.08); }
.article-native hr { border: none; border-top: 1px solid #e2e8f0; margin: 32px 0; }

/* ---- 2. 层级标题 ---- */
.article-native h1 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 16px;
    letter-spacing: -.01em;
}
.article-native h2,
.article-native > div > h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 40px 0 18px;
    padding-top: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}
.article-native h2::before {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 48px; height: 2px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}
.article-native h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.5;
    margin: 28px 0 14px;
    padding-left: 14px;
    border-left: 3px solid #2563eb;
}
.article-native h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: #334155;
    margin: 22px 0 10px;
    padding-left: 12px;
    border-left: 2px solid #cbd5e1;
}

/* ---- 3. 列表 ---- */
.article-native ul, .article-native ol {
    padding-left: 24px;
    margin: 14px 0 20px;
}
.article-native ul li {
    font-size: 15px;
    line-height: 1.85;
    color: #334155;
    margin-bottom: 6px;
    list-style: none;
    position: relative;
    padding-left: 18px;
}
.article-native ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 11px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 0 2px #fef3c7;
}
.article-native ol li {
    font-size: 15px;
    line-height: 1.85;
    color: #334155;
    margin-bottom: 6px;
}
.article-native ol { counter-reset: item; }
.article-native ol > li { list-style: none; padding-left: 30px; position: relative; counter-increment: item; }
.article-native ol > li::before {
    content: counter(item);
    position: absolute; left: 0; top: 2px;
    width: 22px; height: 22px;
    background: #1e3a5f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* ---- 4. 代码 ---- */
.article-native code {
    font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
    font-size: 13.5px;
    background: #f1f5f9;
    color: #d6336c;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.article-native pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 20px 22px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0 24px;
    font-size: 13.5px;
    line-height: 1.7;
    box-shadow: 0 4px 20px rgba(15,23,42,.12);
    border: 1px solid #1e293b;
}
.article-native pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: none;
    font-size: inherit;
    box-shadow: none;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ---- 5. 表格 ---- */
.article-native table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 28px;
    font-size: 14px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15,23,42,.06);
    table-layout: fixed;
}
.article-native thead { background: #0f172a; }
.article-native th {
    background: #0f172a;
    color: #fbbf24;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 13px;
    text-align: left;
    letter-spacing: .03em;
    border-bottom: 2px solid #fbbf24;
    word-break: break-word;
    overflow-wrap: break-word;
}
.article-native td {
    padding: 11px 16px;
    border-bottom: 1px solid #eef2f7;
    color: #334155;
    font-size: 14px;
    word-break: break-word;
    overflow-wrap: break-word;
}
.article-native tr:nth-child(even) td { background: #f8fafc; }
.article-native tr:last-child td { border-bottom: none; }
.article-native tr:hover td { background: #f1f5f9; }
.article-native .table-wrap {
    overflow-x: auto;
    margin: 20px 0 28px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

/* ---- 6. Callout 提示框 ---- */
.article-native .callout {
    padding: 18px 22px;
    border-radius: 10px;
    margin: 20px 0 24px;
    border-left: 4px solid #cbd5e1;
    background: #f8fafc;
    position: relative;
}
.article-native .callout__title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.article-native .callout p { margin: 6px 0; font-size: 14.5px; line-height: 1.8; }
.article-native .callout--tip {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}
.article-native .callout--tip .callout__title::before { content: '💡'; }
.article-native .callout--success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}
.article-native .callout--success .callout__title::before { content: '✅'; }
.article-native .callout--warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}
.article-native .callout--warning .callout__title::before { content: '⚠️'; }
.article-native .callout--danger,
.article-native .callout--error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}
.article-native .callout--danger .callout__title::before,
.article-native .callout--error .callout__title::before { content: '🚫'; }
.article-native .callout--info {
    border-left-color: #6366f1;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}
.article-native .callout--info .callout__title::before { content: 'ℹ️'; }

/* ---- 6a. Step 步骤卡片（流程步骤）---- */
.article-native .step {
    display: flex;
    gap: 16px;
    margin: 16px 0 18px;
    align-items: flex-start;
    padding: 0;
}
.article-native .step__num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500, #d4a853), var(--gold-400, #e8c07a));
    color: var(--navy-900, #060f1e);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(212,168,83,.35);
    letter-spacing: 0;
    line-height: 1;
    font-family: var(--font-heading, -apple-system, sans-serif);
}
.article-native .step__content {
    flex: 1;
    padding-top: 4px;
    line-height: 1.8;
    font-size: 15px;
    color: var(--ink-700, #334155);
    word-break: break-word;
}
.article-native .step__content > b,
.article-native .step__content > strong,
.article-native .step__content b,
.article-native .step__content strong {
    color: var(--navy-800, #0a1628);
    font-weight: 700;
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}
.article-native .step__content > span,
.article-native .step__content span {
    color: var(--ink-600, #475569);
    display: block;
}
/* 没有 .step 包裹时的 step__num 独立出现也能正常显示 */
.article-native > .step__num,
.article-native .chapter > .step__num {
    display: inline-flex;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    margin-right: 10px;
    vertical-align: middle;
}

/* ---- 7. Feature Grid / Item（纵向堆叠布局）---- */
.article-native .feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 20px 0 28px;
}
.article-native .feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #2563eb;
    border-radius: 10px;
    transition: all .2s;
}
.article-native .feature-item:hover {
    border-color: #2563eb;
    border-left-color: #1d4ed8;
    box-shadow: 0 8px 24px rgba(37,99,235,.1);
    transform: translateY(-1px);
}
.article-native .feature-item__icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    color: #2563eb;
}
.article-native .feature-item__icon .si {
    width: 26px; height: 26px;
    color: #2563eb;
    flex-shrink: 0;
}
.article-native .feature-item:hover .feature-item__icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
}
.article-native .feature-item:hover .feature-item__icon .si { color: #fff; }
.article-native .feature-item h4 { margin: 0 0 6px; padding: 0; border: none; font-size: 16px; font-weight: 600; color: #1e293b; }
.article-native .feature-item p { margin: 0; font-size: 14.5px; color: #64748b; line-height: 1.75; }

/* ---- 8. Steps ---- */
.article-native .steps { margin: 20px 0 28px; padding-left: 0; list-style: none; }
.article-native .step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    position: relative;
}
.article-native .step__num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #0f172a);
    color: #fbbf24;
    font-size: 16px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(15,23,42,.2);
    flex-shrink: 0;
}
.article-native .step__content { font-size: 15px; line-height: 1.8; color: #334155; }
.article-native .step__content strong { background: none; }

/* ---- 9. Chapter 章节 ---- */
.article-native .chapter {
    margin: 48px 0 40px;
    padding: 0;
    border: none;
    background: transparent;
    display: block;
}
.article-native .chapter__header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #fff;
    padding: 22px 28px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 24px rgba(15,23,42,.18);
    position: relative;
    overflow: hidden;
}
.article-native .chapter__header::after {
    content: '';
    position: absolute;
    right: -30px; top: -30px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(251,191,36,.25) 0%, transparent 70%);
    border-radius: 50%;
}
.article-native .chapter__num {
    font-size: 13px;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: .1em;
    margin-bottom: 6px;
}
.article-native .chapter__header h2 {
    color: #fff !important;
    font-size: 21px;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 6px !important;
    position: relative;
}
.article-native .chapter__header h2::before { content: none !important; }
.article-native .chapter__desc {
    font-size: 13.5px;
    color: rgba(255,255,255,.7);
    margin: 0;
    line-height: 1.7;
}
.article-native .section {
    padding: 10px 0;
    margin-bottom: 8px;
}

/* ---- 10. Report Intro Hero ---- */
.article-native .report-intro {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    border-radius: 14px;
    padding: 36px 32px;
    margin: 0 0 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(15,23,42,.25);
}
.article-native .report-intro::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(251,191,36,.25) 0%, transparent 65%);
    border-radius: 50%;
}
.article-native .report-intro::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(37,99,235,.2) 0%, transparent 65%);
    border-radius: 50%;
}
.article-native .report-intro__content { position: relative; z-index: 2; }
.article-native .report-intro__badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0f172a;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: 14px;
}
.article-native .report-intro h1 {
    color: #fff !important;
    font-size: 26px;
    line-height: 1.35;
    margin: 0 0 14px;
}
.article-native .report-intro__summary {
    color: rgba(255,255,255,.9);
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 22px;
}
/* 兜底：report-intro 内直接裸露的 <p>（未被 __summary 修饰）也提亮，避免深蓝底上不可读 */
.article-native .report-intro > p {
    color: rgba(255,255,255,.9) !important;
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 22px;
}
/* 同时覆盖 report-intro 内所有后代 p（不限于直接子级），防止被 .article-native p 通用规则覆盖 */
.article-native .report-intro p {
    color: rgba(255,255,255,.9) !important;
}
.article-native .report-intro__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.15);
}
.article-native .report-intro__meta span {
    font-size: 13px;
    color: rgba(255,255,255,.7);
}
.article-native .report-intro__meta strong {
    font-size: 20px;
    color: #fbbf24;
    background: none;
    margin-right: 4px;
}
/* .hs — 旧版教程的 hero stat 格子（兼容类）*/
.article-native .report-intro__meta .hs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.article-native .report-intro__meta .hs b,
.article-native .report-intro__meta .hs strong {
    font-size: 20px;
    font-weight: 700;
    color: #fbbf24;
    background: none;
    margin: 0;
    line-height: 1.2;
}
.article-native .report-intro__meta .hs span {
    font-size: 12.5px;
    color: rgba(255,255,255,.65);
    line-height: 1.3;
}

/* ============================================================
 * 深色容器内文字颜色强制保护（抵御文章内联CSS .article-native p/h2/h3 等的覆盖）
 * 这些容器有深蓝/深色渐变背景，内部文字必须保持白色/浅色
 * ============================================================ */
/* 1. report-intro 内所有文字元素 */
.article-native .report-intro p,
.article-native .report-intro h1,
.article-native .report-intro h2,
.article-native .report-intro h3,
.article-native .report-intro span,
.article-native .report-intro div,
.article-native .report-intro li {
    color: rgba(255,255,255,.9) !important;
}
.article-native .report-intro strong {
    color: #fbbf24 !important;
    background: none !important;
}
/* 2. chapter__header 内所有文字 */
.article-native .chapter__header p,
.article-native .chapter__header h1,
.article-native .chapter__header h2,
.article-native .chapter__header h3,
.article-native .chapter__header span,
.article-native .chapter__header div,
.article-native .chapter__header li {
    color: #fff !important;
}
.article-native .chapter__header strong {
    color: #fbbf24 !important;
    background: none !important;
}
/* 3. ch-head（旧版深蓝章节头）内所有文字 */
.article-native .ch-head p,
.article-native .ch-head h1,
.article-native .ch-head h2,
.article-native .ch-head h3,
.article-native .ch-head span,
.article-native .ch-head div {
    color: #fff !important;
}
.article-native .ch-head strong {
    color: #fbbf24 !important;
    background: none !important;
}
/* 4. hero 深色区文字 */
.article-native .hero p,
.article-native .hero h1,
.article-native .hero h2,
.article-native .hero h3,
.article-native .hero span,
.article-native .hero div {
    color: #fff !important;
}
/* 5. metric-card 深蓝指标卡 */
.article-native .metric-card p,
.article-native .metric-card span,
.article-native .metric-card div {
    color: rgba(255,255,255,.85) !important;
}

/* ---- 章节副标题 ---- */
.article-native .chapter__subtitle {
    font-size: 14.5px;
    color: var(--ink-600, #475569);
    margin: -6px 0 16px;
    line-height: 1.7;
    padding-left: 4px;
    border-left: 3px solid var(--gold-400, #e8c07a);
    padding-left: 12px;
}
/* MT5 风格：chapter__header 后紧跟的 chapter__subtitle */
.article-native .chapter__header + .chapter__subtitle {
    margin-top: 4px;
}

/* ---- feature-item 子元素（兼容旧版教程写法）---- */
.article-native .feature-item__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-800, #0a1628);
    margin-bottom: 6px;
    display: block;
}
.article-native .feature-item__desc {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink-600, #475569);
    display: block;
}
.feature-item__icon + .feature-item__title,
.feature-item__title + .feature-item__desc {
    margin-top: 4px;
}

/* ---- 11. Chapter Grid 卡片导航 ---- */
/* ---- 13. Chapter Grid（纵向堆叠）---- */
.article-native .chapter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 0 28px;
}
.article-native .chapter-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 18px;
    transition: all .2s;
    position: relative;
    overflow: hidden;
}
.article-native .chapter-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    opacity: 0;
    transition: opacity .2s;
}
.article-native .chapter-card:hover {
    border-color: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(251,191,36,.15);
}
.article-native .chapter-card:hover::before { opacity: 1; }
.article-native .chapter-card__num {
    font-family: "JetBrains Mono", monospace;
    font-size: 22px;
    font-weight: 800;
    color: #cbd5e1;
    line-height: 1;
    margin-bottom: 8px;
}
.article-native .chapter-card h3 {
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    padding: 0;
    border: none;
}
.article-native .chapter-card p {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ---- 12. Compare Box 对比盒 ---- */
.article-native .compare-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0 28px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.article-native .compare-col {
    padding: 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
}
.article-native .compare-col--mt5 { border-color: #2563eb; background: linear-gradient(135deg, #eff6ff, #fff); }
.article-native .compare-col--mt4 { border-color: #f59e0b; background: linear-gradient(135deg, #fffbeb, #fff); }

/* ---- 13. Tag ---- */
.article-native .tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 4px;
}
.article-native .tag--green { background: #dcfce7; color: #166534; }
.article-native .tag--yellow { background: #fef9c3; color: #854d0e; }
.article-native .tag--red { background: #fee2e2; color: #991b1b; }
.article-native .tag--blue { background: #dbeafe; color: #1e40af; }

/* ---- 14. Metric Card ---- */
.article-native .metric-card {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #fff;
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
    margin: 16px 0;
}
.article-native .metric-card strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fbbf24;
    background: none;
}
.article-native .metric-card span {
    font-size: 13px;
    color: rgba(255,255,255,.7);
}

/* ---- 14.5 PDF 导入网格修复 ---- */
.article-native .pdf-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0;
}
.article-native .pdf-grid > div {
    flex: 1 1 calc(50% - 8px);
    min-width: 260px;
}
.article-native .pdf-grid > div:first-child:last-child {
    flex: 1 1 100%;
}

/* ---- 15. 响应式 ---- */
@media (max-width: 760px) {
    .article-native { font-size: 15px; padding: 0 0 40px; }
    .article-native .chapter-grid { grid-template-columns: 1fr; }
    .article-native .chapter__header { padding: 18px 22px; }
    .article-native .report-intro { padding: 26px 22px; }
    .article-native .compare-box { grid-template-columns: 1fr; }
    .article-native table { font-size: 13px; }
    .article-native th, .article-native td { padding: 9px 12px; }
    .article-native h1 { font-size: 22px; }
    .article-native h2 { font-size: 19px; }
    .article-native h3 { font-size: 16.5px; }
}

/* ============================================================
 * 16. 通用兼容层 — 补齐非 MT5 教程文章缺失的 CSS 类
 *     （IG / Saxo / NinjaTrader / cTrader / TradingView / 文华 等）
 * ============================================================ */

/* ---- Hero 区域 ---- */
.article-native .hero,
.article-native section.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f172a 100%);
    color: #fff;
    padding: 40px 36px;
    border-radius: 14px;
    margin: 0 0 32px;
    position: relative;
    overflow: hidden;
}
.article-native .hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(251,191,36,.2), transparent 70%);
    border-radius: 50%;
}
.article-native .hero h1,
.article-native .hero h2 {
    color: #fff !important;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 12px;
    border: none !important;
    background: none !important;
}
.article-native .hero h1 span { color: #fbbf24; }
.article-native .hero p {
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 18px;
}
.article-native .hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
}
.article-native .hero-stats span {
    color: rgba(255,255,255,.8);
    font-size: 13px;
}
.article-native .hero-stats strong {
    color: #fbbf24;
    font-weight: 600;
    margin-right: 4px;
}
.article-native .hero-eyebrow {
    display: inline-block;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* ---- 卡片网格（单列纵向！）---- */
.article-native .card-grid,
.article-native .card-grid-mini {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 14px;
    margin: 20px 0 28px;
}
.article-native .mini-card,
.article-native .card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #2563eb;
    border-radius: 10px;
    padding: 18px 22px;
    transition: all .2s;
}
.article-native .mini-card:hover,
.article-native .card:hover {
    border-color: #2563eb;
    border-left-color: #1d4ed8;
    box-shadow: 0 6px 18px rgba(37,99,235,.1);
    transform: translateY(-1px);
}
.article-native .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 18px;
}
.article-native .card-title {
    font-size: 15.5px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px;
}
.article-native .card-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* ---- 章节标题 ---- */
.article-native .chapter-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 36px 0 14px;
    padding: 0 0 10px 0;
    border-bottom: 2px solid #fbbf24;
}
.article-native .chapter-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: -8px 0 20px;
    font-weight: 400;
}
.article-native .ch-head {
    background: #172554;
    color: #fff;
    padding: 20px 24px;
    border-radius: 10px;
    margin: 28px 0 18px;
    border-left: 4px solid #fbbf24;
}
.article-native .ch-head h2,
.article-native .ch-head h3 {
    color: #fff !important;
    border: none !important;
    background: none !important;
    margin: 0 !important;
    font-size: 19px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
    letter-spacing: .02em;
}

/* ---- 提示/状态块 ---- */
.article-native .note,
.article-native .note-box {
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 14px 0;
    font-size: 14px;
    color: #78350f;
    line-height: 1.7;
}
.article-native .tips {
    background: #f0fdf4;
    border-left: 3px solid #10b981;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 14px 0;
    font-size: 14px;
    color: #065f46;
    line-height: 1.7;
}
.article-native .warn,
.article-native .warning-box {
    background: #fef2f2;
    border-left: 3px solid #ef4444;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 14px 0;
    font-size: 14px;
    color: #991b1b;
    line-height: 1.7;
}
.article-native .callout-title {
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 6px;
}

/* ---- 步骤编号 ---- */
.article-native .sn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}
.article-native .sc {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.75;
}

/* ---- 公式/代码 ---- */
.article-native .formula {
    display: block;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0;
    font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
    font-size: 13.5px;
    color: #0f172a;
    line-height: 1.8;
    overflow-x: auto;
    white-space: nowrap;
}
.article-native .mono {
    font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: #0f172a;
}

/* ---- 目录框 ---- */
.article-native .toc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 18px 0;
}
.article-native .toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.article-native .toc-list li {
    padding: 4px 0;
    font-size: 14px;
    color: #475569;
}
.article-native .toc-list li::before {
    content: '📑 ';
    margin-right: 4px;
}

/* ---- 指标卡 ---- */
.article-native .metric-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 16px 0;
}
.article-native .metric-card {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #fff;
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
}
.article-native .metric-card__value {
    font-size: 24px;
    font-weight: 700;
    color: #fbbf24;
}
.article-native .metric-card__label {
    font-size: 12px;
    color: rgba(255,255,255,.7);
    margin-top: 4px;
}

/* ---- 徽章 ---- */
.article-native .b-blue {
    background: #dbeafe;
    color: #1e40af;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.article-native .b-gold {
    background: #fef3c7;
    color: #92400e;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.article-native .ui-chart,
.article-native .ui-dom,
.article-native .ui-layout,
.article-native .ui-panel,
.article-native .ui-status,
.article-native .ui-symbols,
.article-native .ui-tabs,
.article-native .ui-toolbar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 10px 0;
    font-size: 13.5px;
}

/* ---- 响应式 ---- */
@media (max-width: 760px) {
    .article-native .hero { padding: 28px 20px; }
    .article-native .hero h1 { font-size: 20px; }
    .article-native .hero-stats { gap: 10px; }
    .article-native .formula { font-size: 12px; }
}

/* ============================================================
   F1-F6 语义化修正配套补丁（2026-09-30 · 跟随生产模板落地）
   ============================================================ */

/* ---- 分页基础样式（原 style.css 仅 responsive 增强，补齐主样式） ---- */
.pagination { margin: 36px 0 8px; }
.pagination ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.pagination .page-item a,
.pagination .page-item span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 12px;
    border-radius: 8px; background: #fff; border: 1px solid #e5e7eb;
    color: #334155; font-size: 14px; text-decoration: none; transition: all .2s;
}
.pagination .page-item a:hover { border-color: #2563eb; color: #2563eb; }
.pagination .page-item.active span {
    background: linear-gradient(135deg, #1b3357, #2a4d8a);
    border-color: #2a4d8a; color: #fff; font-weight: 600;
}
.pagination .page-item.disabled span { color: #cbd5e1; cursor: not-allowed; }
.pagination .page-ellipsis { display: inline-flex; align-items: center; color: #94a3b8; padding: 0 4px; }

/* ---- 列表容器 ul/li 语义化：li{display:contents} 保持原网格/弹性布局视觉不变 ---- */
ul.tut-grid, ul.tut-sub-grid, ul.af-sub-grid, ul.edu-article-list, ul.news-cards-grid, ul.home-articles {
    list-style: none; margin: 0; padding: 0;
}
ul.tut-grid > li, ul.tut-sub-grid > li, ul.af-sub-grid > li,
ul.edu-article-list > li, ul.news-cards-grid > li, ul.home-articles > li { display: contents; }

/* ---- 子分类列表区块标题（h1 → h2 → h3 层级归一的中间层） ---- */
.sub-list-title {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 800; color: #0f172a;
    margin: 24px 0 18px; display: flex; align-items: center; gap: 8px;
}
.tut-page .sub-list-title { margin-left: 4px; }
.af-sub-section + .sub-list-title { max-width: 1000px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .sub-list-title { font-size: 18px; } }

/* ---- 卡标题 h4→h3（覆盖原 h4 规则） ---- */
.tut-trust-card h3 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.af-tip h3 { font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 4px; line-height: 1.4; }

/* ---- 相关推荐标题 h3→h2（与评论区 h2 同级，消除倒挂） ---- */
.related-articles h2 {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: #fff;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(212,168,83,.25);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.related-articles h2::before {
    content: '';
    width: 4px; height: 20px;
    background: linear-gradient(180deg, var(--gold-500), var(--gold-400));
    border-radius: 2px;
}

/* ---- 标签区 nav>ul 结构适配 ---- */
.article-tags ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
}

/* ---- TOC 目录 ul 化适配 ---- */
.toc-group-body { list-style: none; margin: 0; }
.toc-group-body li { list-style: none; }

/* ---- news 子分类 hero 内 breadcrumbs 适配 ---- */
.news-sub-breadcrumb .breadcrumbs { padding: 0; margin-bottom: 16px; font-size: 13px; }
.news-sub-breadcrumb .breadcrumbs a { color: var(--nsh-accent, #667eea); }
.news-sub-breadcrumb .breadcrumbs .sep { color: #94a3b8; }
/* ==================== 反诈中心 v2（2026-10-01 新版） ==================== */

/* ---- Hero v2 ---- */
.af-hero-v2 { position: relative; background: linear-gradient(135deg,#7f1d1d 0%,#991b1b 45%,#450a0a 100%); padding: 72px 0 64px; overflow: hidden; border-bottom: 4px solid #fbbf24; }
.af-hero-bg { position: absolute; inset: 0; background: repeating-linear-gradient(-45deg,transparent 0,transparent 40px,rgba(0,0,0,.12) 40px,rgba(0,0,0,.12) 44px); opacity: .4; pointer-events: none; }
.af-hero-alert-strip { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: repeating-linear-gradient(90deg,#fbbf24 0 24px,#ef4444 24px 48px); }
.af-hero-v2-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.af-hero-v2-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; background: rgba(251,191,36,.18); border: 1px solid rgba(251,191,36,.5); border-radius: 20px; color: #fde68a; font-size: 13px; font-weight: 600; letter-spacing: .06em; margin-bottom: 24px; }
.af-hero-v2-pulse { width: 9px; height: 9px; border-radius: 50%; background: #f87171; animation: af-pulse-v2 1.4s ease-in-out infinite; }
@keyframes af-pulse-v2 { 0%,100%{ box-shadow: 0 0 0 0 rgba(248,113,113,.7); } 50%{ box-shadow: 0 0 0 9px rgba(248,113,113,0); } }
.af-hero-v2-title { font-family: var(--font-display,'Noto Serif SC'); font-size: clamp(32px,4.5vw,52px); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 4px; display: flex; align-items: center; gap: 12px; }
.af-hero-v2-warn { display: inline-block; animation: af-wobble 2.2s ease-in-out infinite; }
@keyframes af-wobble { 0%,100%{ transform: rotate(0); } 4%{ transform: rotate(-12deg); } 8%{ transform: rotate(10deg); } 12%{ transform: rotate(-6deg); } 16%{ transform: rotate(0); } }
.af-hero-v2-subtitle { font-size: clamp(18px,2.2vw,24px); color: #fecaca; font-weight: 600; margin-bottom: 16px; letter-spacing: .12em; }
.af-hero-v2-desc { font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.9; max-width: 620px; margin-bottom: 32px; }
.af-hero-v2-desc strong { color: #fde68a; }
.af-hero-v2-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.af-hero-v2-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all .22s; }
.af-hero-v2-btn-primary { background: linear-gradient(135deg,#fbbf24,#f59e0b); color: #450a0a; box-shadow: 0 8px 24px rgba(251,191,36,.35); }
.af-hero-v2-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(251,191,36,.5); color: #450a0a; }
.af-hero-v2-btn-ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.4); color: #fff; }
.af-hero-v2-btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.af-hero-right { display: flex; flex-direction: column; gap: 16px; }
.af-hero-stats-v2 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.af-hero-stat-v2 { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 20px 12px; text-align: center; }
.af-hero-stat-num { font-family: var(--font-display,'Noto Serif SC'); font-size: 34px; font-weight: 900; color: #fff; line-height: 1.1; }
.af-hero-stat-label { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 6px; letter-spacing: .06em; }
.af-hero-stat-danger { border-color: #ef4444; background: rgba(239,68,68,.15); }
.af-hero-stat-emergency { border-color: rgba(251,191,36,.5); }
.af-hero-stat-emergency .af-hero-stat-num { color: #fbbf24; }
.af-num-big { font-size: 30px !important; letter-spacing: 2px; }
.af-hero-emergency-box { background: rgba(239,68,68,.18); border: 1px dashed #f87171; border-radius: 12px; padding: 16px 20px; font-size: 14px; color: #fee2e2; line-height: 1.8; }
.af-hero-emergency-title { font-weight: 800; color: #fca5a5; margin-bottom: 4px; letter-spacing: .06em; }
.af-hero-emergency-box a { color: #fbbf24; font-weight: 700; }

/* ---- 区块标题 v2 ---- */
.af-section-header { text-align: center; margin-bottom: 40px; }
.af-section-title-v2 { font-family: var(--font-display,'Noto Serif SC'); font-size: 30px; font-weight: 900; color: #991b1b; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.af-title-icon { font-size: 26px; }
.af-section-subtitle-v2 { color: #64748b; font-size: 15px; }
.af-title-sub { font-size: 15px; font-weight: 600; color: #dc2626; }

/* ---- 诈骗类型网格 v2 ---- */
.af-scam-types { background: #fff; }
.af-scam-grid-v2 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.af-scam-card-v2 { position: relative; background: #fff; border: 1px solid #fecaca; border-top: 4px solid var(--af-card-accent,#dc2626); border-radius: 14px; padding: 26px 24px 22px; transition: all .25s; overflow: hidden; display: flex; flex-direction: column; }
.af-scam-card-v2:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(220,38,38,.14); border-color: var(--af-card-accent,#dc2626); }
.af-scam-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.af-scam-card-icon { font-size: 38px; line-height: 1; }
.af-scam-card-warn { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; letter-spacing: .04em; }
.af-scam-card-title { font-size: 19px; font-weight: 800; color: #1e293b; margin-bottom: 10px; line-height: 1.4; }
.af-scam-card-desc { font-size: 13.5px; color: #64748b; line-height: 1.75; margin-bottom: 14px; flex: 1; }
.af-scam-card-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: #94a3b8; margin-bottom: 14px; }
.af-scam-card-new { color: #dc2626; font-weight: 700; }
.af-scam-card-cta { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 8px; background: #fef2f2; color: #dc2626; font-size: 14px; font-weight: 700; text-decoration: none; transition: all .2s; }
.af-scam-card-cta:hover { background: #dc2626; color: #fff; }
.af-scam-card-num { position: absolute; top: 12px; right: 16px; font-family: var(--font-display,'Noto Serif SC'); font-size: 56px; font-weight: 900; color: rgba(220,38,38,.06); line-height: 1; pointer-events: none; }

/* ---- 最新防骗文章时间线 v2 ---- */
.af-articles-section { background: linear-gradient(180deg,#fef2f2,#fff); border-top: 1px solid #fee2e2; }
.af-articles-timeline { max-width: 900px; margin: 0 auto; }
.af-article-timeline-item { display: flex; gap: 20px; }
.af-timeline-left { display: flex; flex-direction: column; align-items: center; }
.af-timeline-num { width: 46px; height: 46px; border-radius: 50%; background: #dc2626; color: #fff; font-family: var(--font-display,'Noto Serif SC'); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 6px 16px rgba(220,38,38,.35); }
.af-timeline-line { flex: 1; width: 2px; background: #fecaca; margin: 6px 0; }
.af-article-timeline-item:last-child .af-timeline-line { background: transparent; }
.af-timeline-content { flex: 1; padding-bottom: 26px; }
.af-article-card-v2 { background: #fff; border: 1px solid #fee2e2; border-left: 4px solid #dc2626; border-radius: 12px; padding: 22px 24px; transition: all .22s; }
.af-article-card-v2:hover { box-shadow: 0 12px 32px rgba(220,38,38,.1); transform: translateX(4px); }
.af-article-card-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; letter-spacing: .04em; }
.af-article-card-title { font-size: 19px; font-weight: 800; color: #1e293b; margin-bottom: 8px; line-height: 1.5; }
.af-article-card-title a { color: inherit; text-decoration: none; }
.af-article-card-title a:hover { color: #dc2626; }
.af-article-card-summary { font-size: 14px; color: #64748b; line-height: 1.8; margin-bottom: 12px; }
.af-article-card-meta { display: flex; align-items: center; gap: 18px; font-size: 12.5px; color: #94a3b8; flex-wrap: wrap; }
.af-article-card-link { margin-left: auto; color: #dc2626; font-weight: 700; text-decoration: none; font-size: 13.5px; }
.af-article-card-link:hover { text-decoration: underline; }

/* ---- 四要四不要 v2 ---- */
.af-rules-section { background: #fff; }
.af-rules-grid-v2 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.af-rule-card-v2 { display: flex; gap: 12px; background: #fafafa; border-radius: 10px; padding: 18px 16px; border: 1px solid #f3f4f6; transition: all .2s; }
.af-rule-card-v2:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.af-rule-yes { background: #f0fdf4; border-color: #bbf7d0; }
.af-rule-no { background: #fef2f2; border-color: #fecaca; }
.af-rule-icon-v2 { font-size: 22px; flex-shrink: 0; }
.af-rule-content h3 { font-size: 14.5px; font-weight: 800; color: #1e293b; margin-bottom: 4px; line-height: 1.4; }
.af-rule-content p { font-size: 12.5px; color: #64748b; line-height: 1.6; }

/* ---- 子分类页 v2 ---- */
.af-sub-hero { background: linear-gradient(135deg,#7f1d1d,#991b1b); }
.af-back-link-v2 { display: inline-block; color: #fecaca; text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.af-back-link-v2:hover { color: #fbbf24; }
.af-sub-header-v2 { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 16px; padding: 28px 30px; box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.af-sub-icon-v2 { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 30px; flex-shrink: 0; }
.af-sub-warn-badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 20px; letter-spacing: .06em; margin-bottom: 8px; }
.af-sub-title-v2 { font-size: 26px; font-weight: 900; color: #1e293b; line-height: 1.3; }
.af-sub-desc-v2 { font-size: 14px; color: #64748b; margin-top: 6px; }
.af-sub-section-title { font-size: 22px; font-weight: 800; color: #991b1b; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.af-sub-articles { background: #fff; }
.af-sub-articles-list { display: flex; flex-direction: column; gap: 16px; }
.af-sub-article-card { display: flex; gap: 18px; background: #fff; border: 1px solid #fee2e2; border-radius: 12px; padding: 22px 24px; transition: all .2s; }
.af-sub-article-card:hover { border-color: #dc2626; box-shadow: 0 10px 28px rgba(220,38,38,.1); transform: translateY(-2px); }
.af-sub-article-num { font-family: var(--font-display,'Noto Serif SC'); font-size: 32px; font-weight: 900; color: #fecaca; line-height: 1; flex-shrink: 0; }
.af-sub-article-card:hover .af-sub-article-num { color: #dc2626; }
.af-sub-article-body { flex: 1; min-width: 0; }
.af-sub-article-title { font-size: 18px; font-weight: 800; color: #1e293b; margin-bottom: 8px; line-height: 1.5; }
.af-sub-article-title a { color: inherit; text-decoration: none; }
.af-sub-article-title a:hover { color: #dc2626; }
.af-sub-article-summary { font-size: 13.5px; color: #64748b; line-height: 1.75; margin-bottom: 10px; }
.af-sub-article-meta { display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: #94a3b8; flex-wrap: wrap; }
.af-sub-article-cta { margin-left: auto; color: #dc2626; font-weight: 700; text-decoration: none; font-size: 13.5px; }
.af-sub-article-cta:hover { text-decoration: underline; }
.af-empty-v2 { text-align: center; padding: 60px 20px; background: #fef2f2; border: 1px dashed #fecaca; border-radius: 14px; }
.af-empty-icon-v2 { font-size: 52px; margin-bottom: 12px; }
.af-empty-v2 h3 { font-size: 19px; font-weight: 800; color: #1e293b; margin-bottom: 6px; }
.af-empty-v2 p { font-size: 14px; color: #64748b; margin-bottom: 18px; }
.af-empty-btn-v2 { display: inline-block; padding: 10px 22px; background: #dc2626; color: #fff; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 700; }
.af-empty-btn-v2:hover { background: #b91c1c; color: #fff; }

/* ---- 反诈 v2 响应式 ---- */
@media (max-width: 1024px) {
    .af-hero-v2-inner { grid-template-columns: 1fr; gap: 28px; }
    .af-scam-grid-v2 { grid-template-columns: repeat(2,1fr); }
    .af-rules-grid-v2 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
    .af-hero-v2 { padding: 52px 0 48px; }
    .af-hero-v2-cta { flex-direction: column; }
    .af-hero-v2-btn { width: 100%; }
    .af-hero-stats-v2 { grid-template-columns: 1fr; }
    .af-scam-grid-v2 { grid-template-columns: 1fr; }
    .af-rules-grid-v2 { grid-template-columns: 1fr; }
    .af-article-timeline-item { gap: 12px; }
    .af-article-card-meta { gap: 10px; }
    .af-article-card-link { margin-left: 0; }
    .af-sub-header-v2 { flex-direction: column; align-items: flex-start; }
    .af-sub-article-card { flex-direction: column; gap: 10px; }
}

/* ================================================================
 * 投教分类 v2 视觉（education）
 * 书卷气学习路径风：知识图谱 + 进阶时间线 + 模块卡片
 * ================================================================ */

/* ---- Hero v2 ---- */
.edu-hero-v2 {
    position: relative;
    background: linear-gradient(135deg, #0c4a6e 0%, #1e3a5f 50%, #0f172a 100%);
    padding: 64px 0 72px;
    overflow: hidden;
    border-bottom: 4px solid #fbbf24;
}
.edu-hero-v2-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(251,191,36,.12), transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(59,130,246,.08), transparent 55%);
}
.edu-hero-v2-pattern {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M40 38v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-40V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 38v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.edu-hero-v2-label {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(251,191,36,.12);
    border: 1px solid rgba(251,191,36,.35);
    color: #fde68a;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px; font-weight: 600;
    letter-spacing: .08em;
    margin-bottom: 22px;
}
.edu-hero-v2-title {
    font-family: var(--font-display, "Noto Serif SC");
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.edu-hero-v2-hl {
    color: #fbbf24;
    position: relative;
    padding: 2px 10px;
}
.edu-hero-v2-hl::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 5px;
    background: rgba(251,191,36,.25);
    border-radius: 3px;
}
.edu-hero-v2-desc {
    font-size: 15px;
    color: rgba(255,255,255,.78);
    line-height: 1.85;
    max-width: 620px;
    margin-bottom: 36px;
    text-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.edu-hero-v2-stats {
    display: flex; align-items: center; gap: 32px;
}
.edu-hero-v2-stat { text-align: center; }
.edu-hero-v2-num {
    font-family: var(--font-display);
    font-size: 34px; font-weight: 900;
    color: #fbbf24;
    line-height: 1;
    text-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.edu-hero-v2-lbl {
    font-size: 12px;
    color: rgba(255,255,255,.55);
    margin-top: 6px;
    letter-spacing: .12em;
}
.edu-hero-v2-divider {
    width: 1px; height: 32px;
    background: rgba(255,255,255,.2);
}

/* ---- 页面主体 ---- */
.edu-page-v2 {
    background: #f8fafc;
    min-height: 600px;
}
.edu-v2-section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}
.edu-v2-bar {
    display: inline-block;
    width: 36px; height: 3px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
    border-radius: 2px;
}
.edu-v2-section-sub {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 40px;
    margin-top: 6px;
}

/* ---- 进阶时间线 ---- */
.edu-stage-section { margin-bottom: 64px; }
.edu-stage-timeline {
    display: flex; flex-direction: column; gap: 0;
    position: relative;
    padding-left: 28px;
}
.edu-stage-timeline::before {
    content: "";
    position: absolute;
    left: 14px; top: 24px; bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, #2563eb, #059669, #d97706, #dc2626);
    border-radius: 1px;
}
.edu-stage-node {
    display: flex; align-items: flex-start; gap: 20px;
    padding: 16px 0;
    position: relative;
}
.edu-stage-badge {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 13px; font-weight: 800;
    position: relative; z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    margin-left: -28px;
}
.edu-stage-card {
    flex: 1;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    border-left: 4px solid var(--stage-color, #2563eb);
    box-shadow: 0 2px 12px rgba(15,23,42,.04);
}
.edu-stage-name {
    font-family: var(--font-display);
    font-size: 17px; font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
}
.edu-stage-modules {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.edu-stage-mod {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-size: 13.5px; font-weight: 500;
    transition: all .2s;
}
.edu-stage-mod:hover {
    background: #fff;
    border-color: var(--mod-color, #2563eb);
    color: var(--mod-color, #2563eb);
    box-shadow: 0 4px 12px rgba(15,23,42,.08);
    transform: translateY(-1px);
}
.edu-stage-mod-icon { font-size: 18px; }
.edu-stage-arrow {
    text-align: center;
    color: #94a3b8;
    font-size: 18px;
    padding: 4px 0 4px 28px;
}

/* ---- 知识模块卡片 ---- */
.edu-module-section { margin-bottom: 64px; }
.edu-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.edu-module-card {
    position: relative;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    transition: all .3s;
    display: flex; flex-direction: column;
}
.edu-module-card:hover {
    border-color: var(--mod-color, #2563eb);
    box-shadow: 0 16px 40px rgba(15,23,42,.1);
    transform: translateY(-4px);
}
.edu-module-header {
    display: flex; align-items: center; gap: 14px;
    padding: 22px 22px 18px;
    border-bottom: 1px solid #f1f5f9;
}
.edu-module-icon-bg {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.edu-module-icon { font-size: 22px; }
.edu-module-info { flex: 1; min-width: 0; }
.edu-module-name {
    font-family: var(--font-display);
    font-size: 17px; font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}
.edu-module-stage {
    font-size: 12px; font-weight: 600;
    margin-top: 2px;
}
.edu-module-soon {
    font-size: 11px; font-weight: 600;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}
.edu-module-topics {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 16px 22px;
    flex: 1;
    align-content: flex-start;
}
.edu-module-topic {
    font-size: 12px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 5px;
}
.edu-topic-soon {
    color: #94a3b8;
    background: #f1f5f9;
    border-style: dashed;
}
.edu-module-foot {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 22px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}
.edu-module-count {
    font-size: 12px; color: #94a3b8;
}
.edu-module-cta {
    color: #fff;
    font-size: 12.5px; font-weight: 700;
    padding: 7px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s;
}
.edu-module-cta:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.edu-module-deco {
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--mod-color, #2563eb);
}

/* ---- 热门推荐 ---- */
.edu-v2-featured { margin-bottom: 64px; }
.edu-v2-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.edu-v2-feat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}
.edu-v2-feat-card:hover {
    border-color: #fbbf24;
    box-shadow: 0 10px 28px rgba(251,191,36,.1);
}
.edu-v2-feat-rank {
    display: inline-block;
    color: #fff;
    font-size: 11px; font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    letter-spacing: .05em;
}
.edu-v2-feat-cat {
    font-size: 11px; font-weight: 600;
    padding: 2px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
    display: inline-block;
}
.edu-v2-feat-title {
    font-size: 15.5px; font-weight: 700;
    line-height: 1.45;
    margin-bottom: 8px;
}
.edu-v2-feat-title a { color: #0f172a; text-decoration: none; }
.edu-v2-feat-title a:hover { color: #2563eb; }
.edu-v2-feat-summary {
    font-size: 13px; color: #64748b;
    line-height: 1.6; margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.edu-v2-feat-meta {
    display: flex; gap: 12px;
    font-size: 12px; color: #94a3b8;
    align-items: center;
}
.edu-v2-feat-read {
    margin-left: auto;
    font-weight: 700;
}

/* ---- 内容建设中 ---- */
.edu-v2-building { margin-bottom: 64px; }
.edu-v2-building-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.edu-v2-building-card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #059669, #d97706, #dc2626);
}
.edu-v2-building-icon {
    font-size: 52px;
    margin-bottom: 16px;
}
.edu-v2-building-card h2 {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}
.edu-v2-building-card p {
    font-size: 14px; color: #64748b;
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 28px;
}
.edu-v2-building-preview {
    display: flex; flex-direction: column; gap: 10px;
    max-width: 440px;
    margin: 0 auto 24px;
    text-align: left;
}
.edu-v2-building-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 13.5px; color: #475569;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 8px;
}
.edu-v2-bi-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.edu-v2-building-note {
    font-size: 12.5px; color: #94a3b8;
}

/* ---- 学习小贴士 ---- */
.edu-v2-tips { margin-bottom: 64px; }
.edu-v2-tips-card {
    display: flex; align-items: center; gap: 24px;
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    border-radius: 14px;
    padding: 26px 32px;
    border: 1px solid rgba(251,191,36,.25);
    position: relative;
    overflow: hidden;
}
.edu-v2-tips-card::before {
    content: "";
    position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
}
.edu-v2-tips-icon { font-size: 40px; flex-shrink: 0; }
.edu-v2-tips-body { flex: 1; min-width: 0; }
.edu-v2-tips-body h3 {
    font-size: 17px; font-weight: 700;
    color: #fbbf24;
    margin-bottom: 8px;
}
.edu-v2-tips-body p {
    font-size: 14px;
    color: rgba(255,255,255,.72);
    line-height: 1.75;
}
.edu-v2-tips-body p strong { color: #fde68a; }

/* ---- 子分类页 v3（沉浸式模块页） ---- */
.edu-sub-v3 { --sub: var(--sub-color, #2563eb); }

/* 沉浸式 Hero */
.esv3-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    padding: 44px 44px 40px;
    margin-bottom: 22px;
    background:
        radial-gradient(ellipse 60% 90% at 85% 10%, rgba(255,255,255,.16), transparent 60%),
        linear-gradient(130deg, var(--sub) 0%, color-mix(in srgb, var(--sub) 62%, #0b1e3a) 100%);
    color: #fff;
    box-shadow: 0 12px 34px -14px color-mix(in srgb, var(--sub) 55%, transparent);
}
.esv3-deco {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.07); pointer-events: none;
}
.esv3-deco-a { width: 300px; height: 300px; top: -130px; right: -80px; }
.esv3-deco-b { width: 180px; height: 180px; bottom: -90px; left: 12%; background: rgba(255,255,255,.05); }
.esv3-hero-grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(115deg, transparent 55%, rgba(0,0,0,.85));
    -webkit-mask-image: linear-gradient(115deg, transparent 55%, rgba(0,0,0,.85));
}
.esv3-hero-inner { position: relative; z-index: 2; }
.esv3-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    padding: 6px 14px; border-radius: 999px;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all .2s;
    margin-bottom: 26px;
}
.esv3-back:hover { background: rgba(255,255,255,.25); color: #fff; }
.esv3-hero-main {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
}
.esv3-hero-left { flex: 1 1 420px; min-width: 0; }
.esv3-stage-chip {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
    color: #fff;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    padding: 5px 14px; border-radius: 999px;
    margin-bottom: 16px;
}
.esv3-title-row { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.esv3-big-icon {
    font-size: 40px; line-height: 1;
    width: 68px; height: 68px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.esv3-title {
    font-family: var(--font-display);
    font-size: 30px; font-weight: 900; color: #fff;
    letter-spacing: .01em;
}
.esv3-desc {
    font-size: 14.5px; line-height: 1.75;
    color: rgba(255,255,255,.88);
    max-width: 620px; margin-bottom: 18px;
}
.esv3-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.esv3-topic {
    font-size: 12.5px; color: rgba(255,255,255,.92);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    padding: 5px 13px; border-radius: 999px;
    backdrop-filter: blur(2px);
}
.esv3-hero-stats {
    flex-shrink: 0;
    display: flex; align-items: center; gap: 20px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 16px;
    padding: 18px 26px;
    backdrop-filter: blur(4px);
}
.esv3-stat { text-align: center; min-width: 64px; }
.esv3-stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 24px; font-weight: 900; line-height: 1.2;
}
.esv3-stat span { font-size: 12px; color: rgba(255,255,255,.75); }
.esv3-stat-div { width: 1px; height: 34px; background: rgba(255,255,255,.25); }

/* 学习路径条 */
.esv3-path {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 36px;
    box-shadow: 0 2px 10px rgba(15,23,42,.04);
}
.esv3-path-label {
    font-size: 12px; font-weight: 800; color: #94a3b8;
    letter-spacing: .1em;
    margin-right: 6px;
}
.esv3-path-step {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 13px; border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .2s;
}
.esv3-path-num {
    width: 20px; height: 20px; border-radius: 50%;
    background: #e2e8f0; color: #64748b;
    font-size: 11px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.esv3-path-name { font-size: 13px; font-weight: 600; color: #64748b; }
.esv3-path-step:hover .esv3-path-name { color: var(--sub); }
.esv3-path-step.is-current {
    background: color-mix(in srgb, var(--sub) 10%, #fff);
    border-color: color-mix(in srgb, var(--sub) 35%, transparent);
}
.esv3-path-step.is-current .esv3-path-num { background: var(--sub); color: #fff; }
.esv3-path-step.is-current .esv3-path-name { color: var(--sub); font-weight: 800; }
.esv3-path-arrow { color: #cbd5e1; font-size: 13px; }

/* 文章列表 */
.esv3-list-sec { margin-bottom: 44px; }
.esv3-list-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 18px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
}
.esv3-list-title {
    font-family: var(--font-display);
    font-size: 19px; font-weight: 800;
    color: #0f172a;
}
.esv3-list-count {
    font-size: 13px; font-weight: 700;
    color: var(--sub);
    background: color-mix(in srgb, var(--sub) 9%, #fff);
    padding: 4px 14px; border-radius: 999px;
}
.esv3-art-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 14px;
}
.esv3-art-list li { margin: 0; padding: 0; }
.esv3-art {
    position: relative;
    display: flex; align-items: flex-start; gap: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 26px;
    transition: all .22s ease;
    overflow: hidden;
}
.esv3-art::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--sub);
    opacity: 0; transition: opacity .22s;
}
.esv3-art:hover {
    border-color: color-mix(in srgb, var(--sub) 45%, #e2e8f0);
    box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--sub) 30%, transparent);
    transform: translateY(-2px);
}
.esv3-art:hover::before { opacity: 1; }
.esv3-art-num {
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--sub) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--sub) 22%, transparent);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 15px; font-weight: 800;
    color: var(--sub);
    transition: all .22s;
}
.esv3-art:hover .esv3-art-num {
    background: var(--sub); color: #fff;
    border-color: var(--sub);
}
.esv3-art-body { flex: 1; min-width: 0; }
.esv3-art-title {
    font-size: 16px; font-weight: 700;
    line-height: 1.45;
    margin-bottom: 7px;
}
.esv3-art-title a { color: #0f172a; text-decoration: none; transition: color .18s; }
.esv3-art-title a:hover { color: var(--sub); }
.esv3-art-summary {
    font-size: 13.5px; color: #64748b;
    line-height: 1.65;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.esv3-art-meta {
    display: flex; gap: 14px;
    font-size: 12px; color: #94a3b8;
}
.esv3-art-cta {
    flex-shrink: 0; align-self: center;
    font-size: 13px; font-weight: 700;
    color: var(--sub);
    white-space: nowrap;
    opacity: 0; transform: translateX(-6px);
    transition: all .22s;
}
.esv3-art:hover .esv3-art-cta { opacity: 1; transform: translateX(0); }

/* 继续探索 */
.esv3-explore { margin-bottom: 8px; }
.esv3-explore-title {
    font-family: var(--font-display);
    font-size: 19px; font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}
.esv3-explore-sub {
    font-size: 13.5px; color: #64748b;
    margin-bottom: 18px;
}
.esv3-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.esv3-exp-card {
    position: relative;
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 6px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 18px 16px;
    text-decoration: none;
    transition: all .22s ease;
    overflow: hidden;
}
.esv3-exp-card::after {
    content: '';
    position: absolute; right: -26px; bottom: -26px;
    width: 74px; height: 74px; border-radius: 50%;
    background: color-mix(in srgb, var(--sub) 7%, transparent);
    transition: all .25s;
}
.esv3-exp-card:hover {
    border-color: color-mix(in srgb, var(--sub) 45%, #e2e8f0);
    box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--sub) 32%, transparent);
    transform: translateY(-3px);
}
.esv3-exp-card:hover::after { transform: scale(1.7); }
.esv3-exp-icon { font-size: 26px; line-height: 1; }
.esv3-exp-name {
    font-size: 14.5px; font-weight: 800; color: #0f172a;
}
.esv3-exp-card:hover .esv3-exp-name { color: var(--sub); }
.esv3-exp-meta { font-size: 12px; color: #94a3b8; }
.esv3-exp-arrow {
    position: absolute; top: 16px; right: 16px;
    font-size: 14px; font-weight: 700;
    color: #cbd5e1;
    transition: all .22s;
}
.esv3-exp-card:hover .esv3-exp-arrow {
    color: var(--sub);
    transform: translateX(3px);
}
.esv3-exp-card.is-same-stage {
    border-color: color-mix(in srgb, var(--sub) 30%, #e2e8f0);
    background: linear-gradient(160deg, #fff 55%, color-mix(in srgb, var(--sub) 5%, #fff));
}
.edu-v2-empty {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border: 1.5px dashed #e2e8f0;
    border-radius: 14px;
    max-width: 560px;
    margin: 0 auto 48px;
}
.edu-v2-empty-icon { font-size: 44px; margin-bottom: 14px; }
.edu-v2-empty h3 {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}
.edu-v2-empty p {
    font-size: 13.5px; color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}
.edu-v2-empty-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 13px; font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
}
.edu-v2-empty-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
/* ---- 投教三级页（文章详情 · 模块色体系） ---- */
.edt-hero {
    background: linear-gradient(130deg, var(--edt-color, #2563eb) 0%, color-mix(in srgb, var(--edt-color, #2563eb) 55%, #0b1e3a) 100%);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.edt-hero::after {
    content: '';
    position: absolute; right: -40px; top: -40px;
    width: 130px; height: 130px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}
.edt-hero-top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; flex-wrap: wrap;
    margin-bottom: 16px;
}
.edt-back {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12.5px; font-weight: 600;
    color: rgba(255,255,255,.92);
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.24);
    padding: 5px 13px; border-radius: 999px;
    text-decoration: none;
    transition: background .2s;
}
.edt-back:hover { background: rgba(255,255,255,.26); color: #fff; }
.edt-back--sub { background: transparent; }
.edt-hero-row { display: flex; align-items: center; gap: 14px; }
.edt-icon {
    font-size: 26px; line-height: 1;
    width: 46px; height: 46px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;
}
.edt-mod-info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.edt-mod-name { font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.edt-mod-stage {
    font-size: 12px; font-weight: 700;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.24);
    padding: 3px 11px; border-radius: 999px;
}

/* 本模块更多内容 */
.edt-rel { margin-top: 34px; }
.edt-rel-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 18px;
}
.edt-rel-head h2 {
    font-family: var(--font-display);
    font-size: 19px; font-weight: 800;
    color: #0f172a;
    display: flex; align-items: center; gap: 8px;
}
.edt-rel-all {
    font-size: 13px; font-weight: 700;
    color: var(--edt-color, #2563eb);
    text-decoration: none;
}
.edt-rel-all:hover { text-decoration: underline; }
.edt-rel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.edt-rel-card {
    position: relative;
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 22px;
    text-decoration: none;
    transition: all .22s ease;
    overflow: hidden;
}
.edt-rel-card::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--edt-color, #2563eb);
    opacity: 0; transition: opacity .22s;
}
.edt-rel-card:hover {
    border-color: color-mix(in srgb, var(--edt-color, #2563eb) 45%, #e2e8f0);
    box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--edt-color, #2563eb) 32%, transparent);
    transform: translateY(-2px);
}
.edt-rel-card:hover::before { opacity: 1; }
.edt-rel-card h3 {
    font-size: 15px; font-weight: 700;
    color: #0f172a; line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.edt-rel-card:hover h3 { color: var(--edt-color, #2563eb); }
.edt-rel-card p {
    font-size: 13px; color: #64748b; line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.edt-rel-meta {
    display: flex; gap: 12px;
    font-size: 12px; color: #94a3b8;
    margin-top: auto;
}
.edt-rel-cta {
    font-size: 12.5px; font-weight: 700;
    color: var(--edt-color, #2563eb);
    margin-top: 8px;
    opacity: 0; transform: translateX(-6px);
    transition: all .22s;
}
.edt-rel-card:hover .edt-rel-cta { opacity: 1; transform: translateX(0); }

/* ---- 响应式（子分类页 v3） ---- */
@media (max-width: 1024px) {
    .edu-stage-timeline { padding-left: 0; }
    .edu-stage-timeline::before { display: none; }
    .edu-stage-badge { margin-left: 0; margin-bottom: 10px; }
    .edu-stage-node { flex-direction: column; padding-left: 0; }
    .edu-stage-arrow { padding-left: 0; text-align: left; padding-left: 14px; }
    .edu-module-grid { grid-template-columns: repeat(2, 1fr); }
    .esv3-explore-grid { grid-template-columns: repeat(2, 1fr); }
    .esv3-art-cta { display: none; }
    .edt-rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .edu-hero-v2 { padding: 48px 0 56px; }
    .edu-hero-v2-title { font-size: 26px; }
    .edu-hero-v2-stats { flex-direction: column; gap: 16px; align-items: flex-start; }
    .edu-hero-v2-divider { display: none; }
    .edu-module-grid { grid-template-columns: 1fr; }
    .edu-v2-featured-grid { grid-template-columns: 1fr; }
    .edu-v2-tips-card { flex-direction: column; gap: 16px; text-align: center; }
    .edu-v2-building-preview { padding: 0 8px; }
    .esv3-hero { padding: 28px 22px 30px; border-radius: 14px; }
    .esv3-title { font-size: 23px; }
    .esv3-title-row { gap: 12px; }
    .esv3-big-icon { width: 54px; height: 54px; font-size: 30px; border-radius: 14px; }
    .esv3-hero-stats { width: 100%; justify-content: space-between; padding: 14px 16px; gap: 10px; }
    .esv3-stat { min-width: 0; flex: 1; }
    .esv3-stat b { font-size: 19px; }
    .esv3-path { padding: 12px 14px; gap: 6px; }
    .esv3-path-label { width: 100%; margin-bottom: 2px; }
    .esv3-art { padding: 16px 16px 16px 18px; gap: 13px; }
    .esv3-art-num { width: 34px; height: 34px; font-size: 13px; border-radius: 10px; }
    .esv3-art-title { font-size: 14.5px; }
    .esv3-art-summary { font-size: 12.5px; }
    .esv3-explore-grid { grid-template-columns: 1fr; }
    .edt-hero { padding: 16px 16px 18px; border-radius: 12px; }
    .edt-rel-card { padding: 16px 18px; }
}

/* ========================================
   联系我们页面 (contact.php v2)
   ======================================== */

/* ---- Hero 区 ---- */
.contact-hero {
    position:relative;overflow:hidden;
    background:radial-gradient(1000px 520px at 78% -10%, #1e3a6b 0%, #0f2140 42%, #0a1628 72%, #060f1e 100%);
    color: #f5f7fa;padding:72px 0 56px;
}
.contact-hero::after {
    content:"";position:absolute;inset:0;
    background-image:linear-gradient(rgba(212,168,83,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(212,168,83,.05) 1px,transparent 1px);
    background-size:44px 44px;pointer-events:none;
    mask-image:linear-gradient(180deg,rgba(0,0,0,.6),transparent 70%);
}
.contact-hero .container { position:relative;z-index:2;text-align:center; }
.contact-hero__badge {
    display:inline-flex;align-items:center;gap:8px;
    border:1px solid rgba(212,168,83,.45);background:rgba(212,168,83,.1);
    color: #f5d8a1;font-size:13px;font-weight:600;padding:7px 16px;border-radius:999px;margin-bottom:20px;
}
.contact-hero__title {
    font-family:var(--font-display);font-size:clamp(28px,4.5vw,44px);font-weight:900;line-height:1.15;margin-bottom:14px;
}
.contact-hero__gold { color: #fbbf24; }
.contact-hero__lead {
    font-size:16px;color: rgba(255,255,255,.7);max-width:58ch;margin:0 auto;line-height:1.7;
}

/* ---- 区域通用 ---- */
.contact-section { padding:64px 0; }
.contact-section__head { margin-bottom:36px;text-align:center; }
.contact-eyebrow {
    display:inline-block;font-size:12px;font-weight:600;letter-spacing:.12em;
    color: #c99a47;text-transform:uppercase;margin-bottom:10px;
}
.contact-section__title {
    font-family:var(--font-display);font-size:clamp(22px,3vw,34px);font-weight:900;line-height:1.2;color: #0f172a;
}
.contact-section__sub {
    margin-top:10px;color: #64748b;max-width:60ch;margin-left:auto;margin-right:auto;font-size:15px;
}

/* ---- 联系卡片 ---- */
.contact-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:24px; }
.contact-card {
    background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 12px 32px rgba(6,15,30,.08);
    padding:32px 26px;text-align:center;display:flex;flex-direction:column;align-items:center;transition:transform .18s ease,box-shadow .18s ease;
}
.contact-card:hover { transform:translateY(-4px);box-shadow:0 18px 40px rgba(6,15,30,.14); }
.contact-card__icon {
    width:60px;height:60px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;color: #fff;
}
.contact-card__icon--qq { background:linear-gradient(135deg,#4f9df8,#2b6fe0); }
.contact-card__icon--wechat { background:linear-gradient(135deg,#46c17b,#1fa55c); }
.contact-card__icon--email { background:linear-gradient(135deg,#e8c07a,#c99a47);color: #1a1406; }
.contact-card__title { font-size:18px;font-weight:700;color: #0f172a;margin-bottom:12px; }
.contact-card__meta { width:100%;max-width:280px;margin-top:4px; }
.contact-card__row { display:flex;justify-content:space-between;font-size:14px;padding:7px 2px;border-bottom:1px dashed #e2e8f0; }
.contact-card__row:last-child { border-bottom:none; }
.contact-card__row span { color: #94a3b8; }
.contact-card__row b { color: #0f172a;font-weight:600;word-break:break-all; }
.contact-card__tip { margin-top:12px;font-size:12px;color: #94a3b8; }
.contact-card__copy {
    margin-top:14px;display:flex;align-items:center;justify-content:center;gap:8px;
}
.contact-card__copy code {
    background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:4px 12px;font-size:13px;color: #0f172a;user-select:all;
}

/* ---- 按钮 ---- */
.contact-btn {
    display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;border-radius:999px;
    padding:10px 24px;font-size:14px;border:1px solid transparent;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease;white-space:nowrap;
}
.contact-btn:hover { transform:translateY(-2px); }
.contact-btn--navy { background:#0f2140;color: #f5f7fa;box-shadow:0 8px 20px rgba(15,33,64,.28); }
.contact-btn--navy:hover { background:#162d54; }
.contact-btn--ghost { border-color:#e2e8f0;color: #64748b;background:transparent; }
.contact-btn--ghost:hover { border-color:#2a4d8a;color: #0f2140;background:#f8fafc; }
.contact-btn--sm { padding:6px 14px;font-size:12px; }
.contact-btn--gold {
    background:linear-gradient(135deg,#d4a853,#c99a47);color:#0f2140;font-weight:700;
    box-shadow:0 8px 20px rgba(201,154,71,.35);
}
.contact-btn--gold:hover { background:linear-gradient(135deg,#e2bc6a,#d4a853);color:#0f2140; }
.contact-btn--full { width:100%;margin-top:14px; }
.contact-btn.copied { border-color:#46c17b;color: #16a34a; }

/* ---- 提醒条 ---- */
.contact-notice {
    background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.3);border-radius:14px;
    padding:14px 20px;margin-top:24px;display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color: #7c5a06;
}
.contact-notice svg { flex-shrink:0;margin-top:2px; }
.contact-notice b { color: #92400e; }

/* ---- 服务时间 ---- */
.contact-hours { background:#0a1628;padding:48px 0; }
.contact-hours__box { max-width:720px;margin:0 auto;text-align:center;color: #e8edf5; }
.contact-hours__box h2 { font-family:var(--font-display);color: #fff;font-size:clamp(24px,3vw,34px);font-weight:900;margin-bottom:12px; }
.contact-hours__box > p { color: #aab7cb;font-size:14.5px; }
.contact-hours__row { display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px; }
.contact-hours__item {
    background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:18px;
}
.contact-hours__item b { display:block;color: #fbbf24;font-size:17px;margin-bottom:4px; }
.contact-hours__item span { font-size:13.5px;color: #93a1b8; }
.contact-hours__note { margin-top:18px;font-size:13.5px;color: #93a1b8; }

/* ---- FAQ ---- */
.contact-guide { display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch; }
.contact-faq { background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden; }
.contact-faq__item { border-bottom:1px solid #e5e7eb; }
.contact-faq__item:last-child { border-bottom:none; }
.contact-faq__item summary {
    list-style:none;cursor:pointer;padding:16px 48px 16px 22px;font-weight:600;font-size:15px;
    display:block;position:relative;color:#1f2937;
}
.contact-faq__item summary::-webkit-details-marker { display:none; }
.contact-faq__item summary::after {
    content:"+";font-size:20px;color:#c99a47;position:absolute;right:22px;top:50%;
    transform:translateY(-50%);transition:transform .2s,color .2s;width:24px;height:24px;
    display:flex;align-items:center;justify-content:center;
}
.contact-faq__item[open] summary::after { content:"×";color:#dc2626; }
.contact-faq__body { padding:0 22px 16px;color:#475569;font-size:14px;line-height:1.7; }
.contact-guide__card {
    background:linear-gradient(135deg,#0a1628,#0f2140);border-radius:14px;padding:30px 26px;color: #e8edf5;box-shadow:0 12px 32px rgba(6,15,30,.12);
    display:flex;flex-direction:column;justify-content:center;
}
.contact-guide__card h3 { font-family:var(--font-display);color: #fff;font-size:20px;font-weight:900;margin-bottom:12px; }
.contact-guide__card > p { font-size:14px;color: #c7d2e4;margin-bottom:18px;line-height:1.6; }
.contact-guide__card a:not(.contact-btn) { color: #ffd88a; text-decoration: underline; text-underline-offset: 3px; }
.contact-guide__card a:not(.contact-btn):hover { color: #ffe7b0; }
.contact-guide__note { margin-top:16px;font-size:12.5px;color: #93a1b8; }

/* ---- 二维码弹窗 ---- */
.qrcode-modal {
    position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;
    background:rgba(0,0,0,.6);backdrop-filter:blur(4px);padding:20px;
}
.qrcode-modal.show { display:flex; }
.qrcode-modal img { max-width:320px;max-height:320px;border-radius:12px;background:#fff;box-shadow:0 20px 50px rgba(0,0,0,.3); }

/* ---- 响应式 ---- */
@media (max-width:900px) {
    .contact-grid { grid-template-columns:1fr;max-width:480px;margin:0 auto; }
    .contact-guide { grid-template-columns:1fr; }
}
@media (max-width:640px) {
    .contact-hero { padding:48px 0 40px; }
    .contact-section { padding:48px 0; }
    .contact-hours__row { grid-template-columns:1fr; }
    .contact-hours__box h2 { font-size:24px; }
    .contact-hero__title { font-size:26px; }
}



/* ============================================================
   文章更新提示（TOC 上方最近一期）+ 更新记录页
   ============================================================ */
.toc-update-box {
    margin: 0 0 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fffdf5, #fff9ea);
    border: 1px solid var(--gold-200, #fbe8c4);
    border-left: 3px solid var(--gold-500, #d4a853);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
}
.toc-update-box .tub-head { display: flex; align-items: center; gap: 8px; }
.toc-update-box .tub-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500, #d4a853), #b8863b);
    font-size: 13px; flex-shrink: 0;
}
.toc-update-box .tub-title { font-size: 13.5px; font-weight: 700; color: var(--navy-700, #1e3a6b); }
.toc-update-box .tub-date { margin-left: auto; font-size: 12px; color: var(--text-muted, #64748b); }
.toc-update-box .tub-summary { margin: 8px 0 6px; font-size: 13px; line-height: 1.7; color: #334155; }
.toc-update-box .tub-items, .upd-ep-items { list-style: none; margin: 0; padding: 0; }
.toc-update-box .tub-items li, .upd-item {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 0; font-size: 12.5px; color: #475569;
}
.toc-update-box .tub-item-title, .upd-item-title {
    flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.upd-item-from { font-style: normal; color: #94a3b8; font-size: 12px; }
.tub-type {
    flex-shrink: 0; padding: 1px 7px; border-radius: 4px;
    font-size: 11px; font-weight: 600; line-height: 1.6;
}
.tub-type--added   { background: #dcfce7; color: #166534; }
.tub-type--renamed { background: #dbeafe; color: #1e40af; }
.tub-type--removed { background: #fee2e2; color: #991b1b; }
.tub-type--moved   { background: #fef3c7; color: #92400e; }
.tub-free {
    flex-shrink: 0; padding: 1px 7px; border-radius: 20px;
    background: #dcfce7; color: #166534; font-size: 11px; font-weight: 600;
}
.tub-free--paid { background: #fef3c7; color: #92400e; }
.toc-update-box .tub-more {
    display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 600;
    color: var(--gold-600, #b8863b); text-decoration: none;
}
.toc-update-box .tub-more:hover { color: var(--navy-700, #1e3a6b); }

/* ---- 更新记录页 ---- */
.updates-page { background: #f6f8fb; min-height: 70vh; padding: 40px 0 64px; }
.updates-container { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.upd-head { text-align: center; margin-bottom: 32px; }
.upd-head-label {
    display: inline-block; padding: 5px 16px; border-radius: 20px;
    background: linear-gradient(135deg, #0f172a, #1e3a5f); color: var(--gold-400, #e8c57c);
    font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.upd-head-title { margin: 0 0 12px; font-size: 26px; color: var(--navy-800, #16294d); }
.upd-head-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: #64748b; }
.upd-head-meta strong { color: var(--gold-600, #b8863b); }
.upd-back { color: #2563eb; text-decoration: none; font-weight: 600; }
.upd-back:hover { text-decoration: underline; }
.upd-empty { text-align: center; padding: 60px 0; color: #94a3b8; font-size: 16px; }
.upd-timeline { position: relative; padding-left: 22px; }
.upd-timeline::before {
    content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px;
    width: 2px; background: linear-gradient(180deg, var(--gold-500, #d4a853), #e2e8f0);
    border-radius: 2px;
}
.upd-episode {
    position: relative; margin-bottom: 18px; padding: 18px 22px;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04);
}
.upd-episode::before {
    content: ''; position: absolute; left: -22px; top: 24px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--gold-500, #d4a853); border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--gold-200, #fbe8c4);
}
.upd-ep-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.upd-ep-version {
    padding: 2px 12px; border-radius: 6px; font-size: 13.5px; font-weight: 700;
    background: linear-gradient(135deg, #0f172a, #1e3a5f); color: #fff;
}
.upd-ep-date { font-size: 13px; color: #64748b; }
.upd-ep-first {
    padding: 1px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 600;
    background: var(--gold-200, #fbe8c4); color: #92400e;
}
.upd-ep-summary { font-size: 14px; color: #334155; line-height: 1.7; margin-bottom: 10px; }
.upd-ep-items { border-top: 1px dashed #e2e8f0; padding-top: 10px; }
.upd-item { font-size: 13px; }

@media (max-width: 760px) {
    .upd-head-title { font-size: 21px; }
    .upd-head-meta { gap: 10px; font-size: 12.5px; }
    .upd-episode { padding: 14px 16px; }
}


/* ============================================================
 * 资讯 v3 — 藏青金融门户风（News Center）
 * 设计 token 对齐 style.css 顶层 --navy / --gold / --ink
 * ============================================================ */

/* ---------- 1. 资讯中心 Hero ---------- */
.n3-hero {
    position: relative;
    padding: 72px 0 64px;
    background: linear-gradient(135deg, #060f1e 0%, #0a1628 45%, #0f2140 100%);
    color: #e2e8f0;
    overflow: hidden;
}
.n3-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212,168,83,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,168,83,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, #000 40%, transparent 100%);
}
.n3-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    opacity: .9;
}
.n3-hero-chip {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .15em;
    color: #d4a853;
    background: rgba(212,168,83,0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(212,168,83,0.25);
}
.n3-hero-date { font-size: 13px; color: #94a3b8; }
.n3-hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 18px;
    color: #ffffff;
}
.n3-hero-hl { color: #d4a853; }
.n3-hero-desc {
    font-size: 15px;
    color: #cbd5e1;
    max-width: 680px;
    line-height: 1.7;
    margin: 0 0 32px;
}
.n3-hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}
.n3-hero-stat { display: flex; flex-direction: column; }
.n3-hero-stat b {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: #d4a853;
    line-height: 1;
}
.n3-hero-stat span { font-size: 12px; color: #94a3b8; margin-top: 4px; }
.n3-hero-divider { width: 1px; height: 36px; background: rgba(148,163,184,0.2); }

/* ---------- 2. 栏目快速导航 ---------- */
.n3-page { background: var(--ink-50); }
.n3-cat-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 12px;
}
.n3-cat-label { font-size: 13px; color: var(--ink-500); font-weight: 600; margin-right: 4px; }
.n3-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--ink-100);
    color: var(--ink-700);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .15s;
}
.n3-cat-pill:hover { background: var(--ink-200); }
.n3-cat-pill.active,
.n3-cat-pill--all.active {
    background: var(--navy-500);
    color: #fff;
    border-color: var(--navy-500);
}
.n3-cat-ico { font-size: 14px; }
.n3-cat-n {
    font-size: 11px;
    background: rgba(0,0,0,0.08);
    padding: 1px 7px;
    border-radius: 10px;
}
.n3-cat-pill.active .n3-cat-n { background: rgba(255,255,255,0.25); }

/* ---------- 3. 整体布局 ---------- */
.n3-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

/* ---------- 4. 头条 ---------- */
.n3-headline {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--ink-200);
    margin-bottom: 28px;
}
.n3-headline-img {
    aspect-ratio: 16/7;
    overflow: hidden;
    background: var(--ink-100);
}
.n3-headline-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.n3-headline:hover .n3-headline-img img { transform: scale(1.03); }
.n3-headline-body { padding: 22px 28px 24px; }
.n3-headline-row { display: flex; gap: 8px; margin-bottom: 10px; }
.n3-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--ink-100);
    color: var(--ink-600);
    letter-spacing: .04em;
}
.n3-tag--hot { background: #fef3c7; color: #b45309; }
.n3-headline-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
}
.n3-headline-title a { color: var(--ink-900); text-decoration: none; }
.n3-headline-title a:hover { color: var(--navy-500); }
.n3-headline-summary {
    font-size: 15px;
    color: var(--ink-600);
    line-height: 1.7;
    margin: 0 0 14px;
}
.n3-headline-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 13px;
    color: var(--ink-500);
}
.n3-read-more {
    margin-left: auto;
    color: var(--navy-500);
    text-decoration: none;
    font-weight: 600;
}
.n3-read-more:hover { color: var(--navy-600); }

/* ---------- 5. 快讯时间线 ---------- */
.n3-flash-sec { background: #fff; border-radius: 14px; border: 1px solid var(--ink-200); padding: 22px 24px; }
.n3-sec-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-900);
}
.n3-sec-bar {
    width: 4px; height: 18px;
    background: var(--gold-500);
    border-radius: 2px;
}
.n3-flash-timeline { list-style: none; padding: 0; margin: 0; }
.n3-flash-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--ink-200);
}
.n3-flash-item:last-child { border-bottom: none; }
.n3-flash-dot {
    flex-shrink: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--navy-500);
    margin-top: 8px;
}
.n3-flash-time {
    flex-shrink: 0;
    width: 68px;
    font-size: 12px;
    color: var(--ink-500);
    line-height: 1.5;
}
.n3-flash-time b { color: var(--ink-700); font-weight: 600; }
.n3-flash-title {
    flex: 1;
    font-size: 14px;
    color: var(--ink-800);
    text-decoration: none;
    line-height: 1.55;
}
.n3-flash-title:hover { color: var(--navy-500); }

/* ---------- 6. 侧栏 ---------- */
.n3-sidebar { display: flex; flex-direction: column; gap: 20px; }
.n3-widget {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--ink-200);
    padding: 20px;
}
.n3-widget-title {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-900);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ink-200);
}

/* 栏目导读 */
.n3-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.n3-cat-card {
    display: block;
    padding: 12px;
    border-radius: 10px;
    background: var(--ink-50);
    border: 1px solid transparent;
    text-decoration: none;
    transition: all .15s;
}
.n3-cat-card:hover {
    background: var(--n3-accent, var(--ink-100));
    background-opacity: .06;
    border-color: var(--n3-accent, var(--ink-200));
    transform: translateY(-1px);
}
.n3-cat-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.n3-cat-icon { font-size: 16px; }
.n3-cat-count { font-size: 11px; color: var(--ink-500); font-weight: 600; }
.n3-cat-name { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--ink-900); }
.n3-cat-latest { font-size: 12px; color: var(--ink-500); margin: 0; line-height: 1.45; }

/* 热门榜 */
.n3-hot-ol { list-style: none; padding: 0; margin: 0; }
.n3-hot-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
.n3-hot-rank {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.n3-hot-a {
    font-size: 13px;
    color: var(--ink-800);
    text-decoration: none;
    line-height: 1.45;
}
.n3-hot-a:hover { color: var(--navy-500); }

/* ---------- 7. 子分类沉浸式 Hero ---------- */
.n3-sub-hero {
    position: relative;
    padding: 48px 0 44px;
    background: var(--n3-accent, var(--navy-600));
    overflow: hidden;
}
.n3-sub-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 70%),
        linear-gradient(135deg, rgba(0,0,0,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.n3-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 16px;
    transition: color .15s;
}
.n3-back:hover { color: #fff; }
.n3-sub-hero-row {
    display: flex;
    align-items: center;
    gap: 20px;
}
.n3-sub-ico {
    font-size: 48px;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}
.n3-sub-info { flex: 1; color: #fff; }
.n3-sub-chip {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 3px 10px;
    background: rgba(255,255,255,0.18);
    border-radius: 4px;
    margin-bottom: 8px;
}
.n3-sub-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}
.n3-sub-desc { font-size: 14px; color: rgba(255,255,255,0.82); margin: 0; line-height: 1.6; }
.n3-sub-stats {
    text-align: center;
    padding: 14px 24px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    backdrop-filter: blur(6px);
}
.n3-sub-stats b {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.n3-sub-stats span { font-size: 12px; color: rgba(255,255,255,0.75); margin-top: 4px; display: block; }

/* ---------- 8. 子分类文章列表 ---------- */
.n3-list-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.n3-list-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0;
}
.n3-list-n { font-size: 13px; color: var(--ink-500); }
.n3-article-list { list-style: none; padding: 0; margin: 0; }
.n3-article-li { margin-bottom: 12px; }
.n3-article-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 18px 22px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--ink-200);
    transition: all .15s;
}
.n3-article-row:hover {
    border-color: var(--n3-accent, var(--navy-500));
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}
.n3-article-time { flex-shrink: 0; width: 96px; }
.n3-article-date { display: block; font-size: 13px; font-weight: 600; color: var(--ink-700); }
.n3-article-views { display: block; font-size: 11px; color: var(--ink-500); margin-top: 6px; }
.n3-article-body { flex: 1; min-width: 0; }
.n3-article-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; line-height: 1.45; }
.n3-article-title a { color: var(--ink-900); text-decoration: none; }
.n3-article-title a:hover { color: var(--navy-500); }
.n3-article-summary { font-size: 13px; color: var(--ink-500); margin: 0; line-height: 1.55; }
.n3-article-cta {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--n3-accent, var(--navy-500));
    text-decoration: none;
    padding-top: 4px;
}
.n3-article-cta:hover { text-decoration: underline; }

/* ---------- 9. 空态 ---------- */
.n3-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--ink-200);
}
.n3-empty-ico { font-size: 48px; margin-bottom: 12px; }
.n3-empty h3 { font-size: 18px; margin: 0 0 6px; color: var(--ink-900); }
.n3-empty p { font-size: 14px; color: var(--ink-500); margin: 0 0 16px; }
.n3-empty-back {
    display: inline-block;
    font-size: 14px;
    color: var(--navy-500);
    text-decoration: none;
    font-weight: 600;
}

/* ---------- 10. 资讯详情页 news 专属 ---------- */
/* 当 news 文章时隐藏左侧 TOC（资讯没章节） */
.article-detail.is-news-article .article-toc { display: none; }
.article-detail.is-news-article .article-main { max-width: 100%; }

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1024px) {
    .n3-layout { grid-template-columns: 1fr; }
    .n3-sidebar { order: -1; }
    .n3-sub-hero-row { flex-wrap: wrap; }
    .n3-sub-stats { width: 100%; margin-top: 12px; }
}
@media (max-width: 640px) {
    .n3-hero { padding: 48px 0 44px; }
    .n3-hero-top { flex-direction: column; align-items: flex-start; gap: 8px; }
    .n3-hero-stats { gap: 20px; flex-wrap: wrap; }
    .n3-cat-grid { grid-template-columns: 1fr; }
    .n3-headline-body { padding: 18px 20px 20px; }
    .n3-headline-title { font-size: 20px; }
    .n3-article-row { flex-wrap: wrap; gap: 8px; }
    .n3-article-time { width: 100%; display: flex; gap: 14px; align-items: center; }
}


/* news 资讯详情徽章 */
.news-detail-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #1e40af;
    background: #dbeafe;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}
