/* 飞镖AI官网 - 文章页共享样式（深色主题） */
:root {
    --primary: #3b82f6;
    --primary-dark: #1e40af;
    --accent: #06b6d4;
    --bg: #0f172a;
    --bg-card: #1e293b;
    --border: #334155;
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --story: #f97316;
    --stock: #10b981;
    --kzz: #8b5cf6;
    --snake: #06b6d4;
    --nv: #7c3aed;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.topbar-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
}

.topbar-brand img { width: 26px; height: 26px; border-radius: 6px; }

.topbar-back {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: all 0.25s;
}

.topbar-back:hover { color: #fff; border-color: var(--primary); }

.article-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 20px 80px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--text-dim);
}

.article-category {
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.article-title {
    font-size: clamp(24px, 4.5vw, 34px);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #fff 30%, #93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-sub {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.article-body p {
    margin-bottom: 22px;
    font-size: 16px;
    color: #cbd5e1;
}

.article-body h2 {
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    margin: 42px 0 18px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    line-height: 1.5;
}

.article-body strong { color: #fff; }

.article-body .lead {
    font-size: 17px;
    color: #e2e8f0;
}

.article-body blockquote {
    margin: 26px 0;
    padding: 18px 22px;
    background: var(--bg-card);
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    color: var(--text-dim);
    font-size: 15px;
}

.article-body blockquote p { margin-bottom: 0; color: inherit; font-size: inherit; }

.article-body .goldline {
    margin: 30px 0;
    padding: 26px 24px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.8;
    background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(6,182,212,0.10));
    border: 1px solid rgba(59,130,246,0.35);
    border-radius: 16px;
}

.article-body ul {
    margin: 0 0 22px;
    padding-left: 0;
    list-style: none;
}

.article-body ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #cbd5e1;
}

.article-body ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 12px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.article-cta {
    margin-top: 48px;
    padding: 32px 26px;
    text-align: center;
    background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(124,58,237,0.12));
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 20px;
}

.article-cta p {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 18px;
}

.article-cta .cta-btn {
    display: inline-block;
    padding: 13px 40px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 8px 24px rgba(59,130,246,0.35);
    transition: transform 0.25s, box-shadow 0.25s;
}

.article-cta .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59,130,246,0.5);
}

.article-disclaimer {
    margin-top: 28px;
    font-size: 12.5px;
    color: #64748b;
    text-align: center;
    line-height: 1.8;
}

.article-footer {
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-dim);
}

.article-footer a { color: var(--primary); text-decoration: none; }
.article-footer a:hover { text-decoration: underline; }

/* 品牌色变体（h2 边线 / 分类徽章 / CTA） */
body.theme-nv .article-category { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
body.theme-nv .article-body h2 { border-left-color: #7c3aed; }
body.theme-nv .article-cta { background: linear-gradient(135deg, rgba(124,58,237,0.14), rgba(167,139,250,0.08)); border-color: rgba(124,58,237,0.35); }
body.theme-nv .article-cta .cta-btn { background: linear-gradient(135deg, #7c3aed, #6d28d9); box-shadow: 0 8px 24px rgba(124,58,237,0.35); }

body.theme-story .article-category { background: linear-gradient(135deg, #f97316, #fb923c); }
body.theme-story .article-body h2 { border-left-color: #f97316; }
body.theme-story .article-cta { background: linear-gradient(135deg, rgba(249,115,22,0.14), rgba(251,146,60,0.08)); border-color: rgba(249,115,22,0.35); }
body.theme-story .article-cta .cta-btn { background: linear-gradient(135deg, #f97316, #ea580c); box-shadow: 0 8px 24px rgba(249,115,22,0.35); }

body.theme-stock .article-category { background: linear-gradient(135deg, #10b981, #34d399); }
body.theme-stock .article-body h2 { border-left-color: #10b981; }
body.theme-stock .article-cta { background: linear-gradient(135deg, rgba(16,185,129,0.14), rgba(52,211,153,0.08)); border-color: rgba(16,185,129,0.35); }
body.theme-stock .article-cta .cta-btn { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 8px 24px rgba(16,185,129,0.35); }

body.theme-kzz .article-category { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
body.theme-kzz .article-body h2 { border-left-color: #8b5cf6; }
body.theme-kzz .article-cta { background: linear-gradient(135deg, rgba(139,92,246,0.14), rgba(167,139,250,0.08)); border-color: rgba(139,92,246,0.35); }
body.theme-kzz .article-cta .cta-btn { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 8px 24px rgba(139,92,246,0.35); }

body.theme-snake .article-category { background: linear-gradient(135deg, #dc2626, #ef4444); }
body.theme-snake .article-body h2 { border-left-color: #dc2626; }
body.theme-snake .article-cta { background: linear-gradient(135deg, rgba(220,38,38,0.14), rgba(239,68,68,0.08)); border-color: rgba(220,38,38,0.35); }
body.theme-snake .article-cta .cta-btn { background: linear-gradient(135deg, #dc2626, #b91c1c); box-shadow: 0 8px 24px rgba(220,38,38,0.35); }

body.theme-yunque .article-category { background: linear-gradient(135deg, #0284c7, #38bdf8); }
body.theme-yunque .article-body h2 { border-left-color: #0284c7; }
body.theme-yunque .article-cta { background: linear-gradient(135deg, rgba(2,132,199,0.14), rgba(56,189,248,0.08)); border-color: rgba(2,132,199,0.35); }
body.theme-yunque .article-cta .cta-btn { background: linear-gradient(135deg, #0ea5e9, #0284c7); box-shadow: 0 8px 24px rgba(2,132,199,0.35); }

body.theme-manmake .article-category { background: linear-gradient(135deg, #d946ef, #f472b6); }
body.theme-manmake .article-body h2 { border-left-color: #d946ef; }
body.theme-manmake .article-cta { background: linear-gradient(135deg, rgba(217,70,239,0.14), rgba(244,114,182,0.08)); border-color: rgba(217,70,239,0.35); }
body.theme-manmake .article-cta .cta-btn { background: linear-gradient(135deg, #d946ef, #a21caf); box-shadow: 0 8px 24px rgba(217,70,239,0.35); }

body.theme-keying .article-category { background: linear-gradient(135deg, #6366f1, #818cf8); }
body.theme-keying .article-body h2 { border-left-color: #6366f1; }
body.theme-keying .article-cta { background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(129,140,248,0.08)); border-color: rgba(99,102,241,0.35); }
body.theme-keying .article-cta .cta-btn { background: linear-gradient(135deg, #6366f1, #4338ca); box-shadow: 0 8px 24px rgba(99,102,241,0.35); }

.article-body .shot { margin: 24px 0; }
.article-body .shot img { width: 100%; border-radius: 14px; border: 1px solid rgba(148,163,184,0.25); display: block; }
.article-body .shot-cap { text-align: center; font-size: 13px; color: #94a3b8; margin-top: 10px; }

@media (max-width: 640px) {
    .article-wrap { padding: 32px 16px 60px; }
    .article-body p, .article-body ul li { font-size: 15px; }
    .article-body h2 { font-size: 19px; }
    .article-body .goldline { font-size: 16px; padding: 20px 16px; }
}


/* 风铃AI 主题 */
body.theme-whistle .article-category { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
body.theme-whistle .article-body h2 { border-left-color: #3b82f6; }
body.theme-whistle .article-cta { background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(96,165,250,0.08)); border-color: rgba(59,130,246,0.35); }
body.theme-whistle .article-cta .cta-btn { background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 8px 24px rgba(59,130,246,0.35); }

body.theme-nexus .article-category { background: linear-gradient(135deg, #e97d49, #ffb67d); }
body.theme-nexus .article-body h2 { border-left-color: #e97d49; }
body.theme-nexus .article-cta { background: linear-gradient(135deg, rgba(233,125,73,0.14), rgba(255,182,125,0.08)); border-color: rgba(233,125,73,0.35); }
body.theme-nexus .article-cta .cta-btn { background: linear-gradient(135deg, #e97d49, #c2571f); box-shadow: 0 8px 24px rgba(233,125,73,0.35); }

