:root {
    --bg: #f8fafc;
    --bg2: #ffffff;
    --ink: #0f172a;
    --ink2: #334155;
    --muted: #64748b;
    --muted2: #94a3b8;
    --rule: #e2e8f0;
    --rule2: #f1f5f9;
    --accent: #2563eb;
    --accent2: #1d4ed8;
    --accent-soft: #eff6ff;
    --accent-border: #bfdbfe;
    --danger: #dc2626;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(15,23,42,0.04), 0 4px 12px rgba(15,23,42,0.04);
    --shadow-hover: 0 8px 24px rgba(37,99,235,0.15);
    --shadow-lg: 0 12px 40px rgba(15,23,42,0.08);
    --maxw: 1200px;
    --maxw-read: 780px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent2); }

::selection { background: var(--accent); color: #fff; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--rule);
}
.topbar-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
    flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand-mark {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 15px;
    letter-spacing: 0.5px;
    font-weight: 800;
}
.brand-name { font-size: 18px; }

.topnav {
    display: flex;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
.topnav a {
    color: var(--ink2);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 15px;
    white-space: nowrap;
    font-weight: 500;
    transition: all 0.15s ease;
}
.topnav a:hover { background: var(--accent-soft); color: var(--accent); }

.search {
    display: flex;
    flex-shrink: 0;
    width: 320px;
    max-width: 40vw;
}
.search input {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    border: 1px solid var(--rule);
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    outline: none;
    background: var(--bg2);
    color: var(--ink);
    transition: border-color 0.15s ease;
}
.search input:focus { border-color: var(--accent); }
.search input::placeholder { color: var(--muted2); }
.search button {
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
    transition: background 0.15s ease;
}
.search button:hover { background: var(--accent2); }

main { min-height: calc(100vh - 64px - 140px); }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 32px 24px;
}
.container-read {
    max-width: var(--maxw-read);
    margin: 0 auto;
    padding: 32px 24px;
}

.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 40%, #2563eb 70%, #3b82f6 100%);
    color: #fff;
    padding: 80px 24px 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(147,197,253,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero .lead {
    font-size: 18px;
    opacity: 0.92;
    max-width: 680px;
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}
.btn-primary {
    background: #fff;
    color: var(--accent2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.18); color: var(--accent2); }
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: #fff; }

.stats {
    max-width: var(--maxw);
    margin: -56px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}
.stats-grid {
    background: var(--bg2);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.stat-item {
    padding: 28px 24px;
    text-align: center;
    border-right: 1px solid var(--rule);
    transition: background 0.15s ease;
}
.stat-item:hover { background: var(--accent-soft); }
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: 34px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
}
.stat-label {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
    font-weight: 500;
}

.section {
    max-width: var(--maxw);
    margin: 64px auto;
    padding: 0 24px;
}
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}
.section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-title::before {
    content: '';
    width: 5px;
    height: 26px;
    background: linear-gradient(180deg, var(--accent), var(--accent2));
    border-radius: 3px;
}
.section-more {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    transition: color 0.15s ease;
}
.section-more:hover { color: var(--accent); }

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.cat-card {
    display: block;
    background: var(--bg2);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.2s ease;
    color: var(--ink);
}
.cat-card:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    color: var(--ink);
}
.cat-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.cat-name { font-size: 18px; font-weight: 700; }
.cat-count {
    font-size: 13px;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 12px;
    border-radius: 14px;
    font-weight: 600;
}
.cat-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

.ind-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.ind-card {
    display: block;
    background: var(--bg2);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 22px 18px;
    transition: all 0.2s ease;
    color: var(--ink);
    text-align: center;
}
.ind-card:hover {
    background: var(--accent-soft);
    border-color: var(--accent-border);
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.ind-name { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.ind-count { font-size: 13px; color: var(--muted); }

.list-head {
    margin-bottom: 24px;
}
.list-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}
.list-meta { font-size: 15px; color: var(--muted); }

.breadcrumb {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { margin: 0 6px; color: var(--muted2); }

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.article-card {
    display: flex;
    flex-direction: column;
    background: var(--bg2);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.25s ease;
    color: var(--ink);
}
.article-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--accent-border);
    color: var(--ink);
}
.article-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f1f5f9;
}
.article-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.article-card:hover .article-cover-img {
    transform: scale(1.05) !important;
}
.article-cover-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(37,99,235,0.9);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.article-card.has-real-cover .article-cover img,
.article-card.has-real-image .article-cover img {
    filter: saturate(1.05) contrast(1.02);
}

.article-hero {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    background: #f1f5f9;
    box-shadow: var(--shadow-lg);
}
.article-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-hero .article-cover-decor {
    z-index: 1;
}

.article-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.article-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}
.article-card:hover .article-card-title { color: var(--accent2); }
.article-card-excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    font-size: 13px;
    color: var(--muted2);
}
.article-card-meta .dot { width: 3px; height: 3px; background: var(--rule); border-radius: 50%; }

.article-card.featured {
    grid-column: span 2;
    flex-direction: row;
}
.article-card.featured .article-cover {
    width: 50%;
    aspect-ratio: auto;
    flex-shrink: 0;
}
.article-card.featured .article-body {
    padding: 28px;
    justify-content: center;
}
.article-card.featured .article-card-title {
    font-size: 22px;
    -webkit-line-clamp: 3;
    margin-bottom: 12px;
    line-height: 1.4;
}
.article-card.featured .article-card-excerpt {
    -webkit-line-clamp: 3;
    font-size: 15px;
}

.content-figure {
    margin: 32px 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #eff6ff;
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}
.content-figure img {
    width: 100%;
    height: auto;
    display: block;
}
.content-figure-real .content-figure-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}
.content-figure-real .content-figure-wrap img {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.content-figure-real:hover .content-figure-wrap img {
    transform: scale(1.03) translate(1%, 1%) !important;
}
.content-figure-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.article-detail {
    position: relative;
    background: var(--bg2);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}
.article-detail h1.article-h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--rule2);
    font-size: 14px;
    color: var(--muted);
}
.meta-item {
    background: var(--accent-soft);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 500;
}
.article-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.tag {
    font-size: 13px;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid var(--accent-border);
}

.markdown-body { font-size: 17px; color: var(--ink2); line-height: 1.9; letter-spacing: 0.01em; }
.markdown-body h1 { font-size: 28px; font-weight: 800; margin: 40px 0 20px; color: var(--ink); letter-spacing: -0.3px; }
.markdown-body h2 {
    font-size: 24px; font-weight: 700; margin: 44px 0 20px; color: var(--ink);
    padding-top: 24px; padding-bottom: 12px;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}
.markdown-body h3 { font-size: 20px; font-weight: 700; margin: 32px 0 14px; color: var(--ink); }
.markdown-body h4 { font-size: 17px; font-weight: 700; margin: 24px 0 12px; color: var(--ink); }
.markdown-body p { margin-bottom: 20px; }
.markdown-body ul, .markdown-body ol { margin: 16px 0 20px; padding-left: 28px; }
.markdown-body li { margin-bottom: 10px; line-height: 1.8; }
.markdown-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 16px 22px;
    margin: 24px 0;
    background: linear-gradient(to right, var(--accent-soft), transparent);
    border-radius: 0 10px 10px 0;
    color: var(--ink2);
    font-size: 16px;
}
.markdown-body code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    background: var(--rule2);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--accent2);
    border: 1px solid var(--rule);
}
.markdown-body pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 22px 26px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.7;
}
.markdown-body pre code { background: transparent; color: inherit; padding: 0; border: none; }
.markdown-body table {
    width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.markdown-body th, .markdown-body td {
    border: 1px solid var(--rule);
    padding: 12px 16px;
    text-align: left;
}
.markdown-body th { background: var(--accent-soft); font-weight: 600; color: var(--accent2); }
.markdown-body tr:nth-child(even) td { background: #fafbfc; }
.markdown-body img { max-width: 100%; border-radius: 10px; margin: 20px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.markdown-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.markdown-body a:hover { color: var(--accent2); }
.markdown-body strong { color: var(--ink); font-weight: 700; }
.markdown-body hr { border: none; border-top: 3px solid var(--rule2); margin: 36px 0; border-radius: 2px; }

.section-image {
    margin: 28px 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--rule);
}
.section-image.real-image {
    box-shadow: 0 4px 20px rgba(37,99,235,0.1);
    border-color: var(--accent-border);
}
.section-image img {
    width: 100%;
    display: block;
}
.section-image.real-image img {
    aspect-ratio: 16/9;
    object-fit: cover;
}
.section-image figcaption {
    padding: 12px 18px;
    font-size: 14px;
    color: var(--muted);
    background: var(--rule2);
    text-align: center;
}

.transform-opening {
    margin: 20px 0 32px;
    padding: 24px 28px;
    border-radius: 16px;
    position: relative;
}
.data-opening {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    text-align: center;
}
.data-opening .opening-stat {
    font-size: 48px;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 8px;
}
.data-opening .opening-desc {
    font-size: 15px;
    color: #1e40af;
    font-weight: 500;
}
.quote-opening {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-left: 5px solid #22c55e;
}
.quote-opening .opening-quote-text {
    font-size: 20px;
    font-weight: 600;
    color: #166534;
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}
.question-opening {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.question-opening .question-icon { font-size: 32px; }
.question-opening .question-text {
    font-size: 18px;
    font-weight: 600;
    color: #92400e;
    margin: 0;
    flex: 1;
}
.analogy-opening {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1px solid #ddd6fe;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.analogy-opening .analogy-icon { font-size: 32px; }
.analogy-opening .analogy-text {
    font-size: 17px;
    font-weight: 500;
    color: #5b21b6;
    margin: 0;
    flex: 1;
    line-height: 1.7;
}
.contrarian-opening {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    position: relative;
}
.contrarian-opening .contrarian-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.contrarian-opening .contrarian-text {
    font-size: 18px;
    font-weight: 600;
    color: #991b1b;
    margin: 0;
    line-height: 1.6;
}

.transform-ending {
    margin: 40px 0 20px;
    padding: 28px;
    border-radius: 16px;
    border-top: 3px solid var(--accent);
    background: linear-gradient(to bottom, var(--accent-soft), transparent);
}
.transform-ending h3 {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-bottom: none !important;
    font-size: 20px !important;
    display: block !important;
}
.action-ending { border-top-color: #22c55e; background: linear-gradient(to bottom, #f0fdf4, transparent); }
.action-ending ol { margin-left: 20px; }
.action-ending li { margin-bottom: 10px; }
.question-ending { border-top-color: #f59e0b; background: linear-gradient(to bottom, #fffbeb, transparent); }
.future-ending { border-top-color: #8b5cf6; background: linear-gradient(to bottom, #f5f3ff, transparent); }
.warning-ending { border-top-color: #ef4444; background: linear-gradient(to bottom, #fef2f2, transparent); }
.story-ending { border-top-color: #0ea5e9; background: linear-gradient(to bottom, #f0f9ff, transparent); }

.inline-analogy {
    margin: 20px 0;
    padding: 16px 20px;
    background: #f5f3ff;
    border-left: 4px solid #8b5cf6;
    border-radius: 0 10px 10px 0;
    color: #5b21b6;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}
.inline-analogy .analogy-mark { margin-right: 8px; }

.inline-data-point {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    border: 1px solid #bfdbfe;
}
.inline-data-point .data-stat {
    font-size: 36px;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
    white-space: nowrap;
}
.inline-data-point .data-desc {
    font-size: 15px;
    color: #1e40af;
    font-weight: 500;
    flex: 1;
}

.inline-golden-quote {
    border-left: 4px solid #f59e0b !important;
    background: linear-gradient(to right, #fffbeb, transparent) !important;
    font-style: italic;
    font-size: 18px !important;
    font-weight: 600;
    color: #92400e !important;
}

.extra-module {
    margin: 32px 0;
    padding: 24px 28px;
    background: #fafbfc;
    border: 1px solid var(--rule);
    border-radius: 16px;
}
.extra-module h3 {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-bottom: 2px solid var(--accent) !important;
    padding-bottom: 10px !important;
    font-size: 19px !important;
    display: inline-block !important;
}
.checklist { list-style: none; padding-left: 0; }
.checklist li {
    padding: 8px 0 8px 28px;
    position: relative;
    border-bottom: 1px dashed var(--rule);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
    content: "☑️";
    position: absolute;
    left: 0;
    top: 8px;
}

.faq-list .faq-item {
    padding: 16px 0;
    border-bottom: 1px dashed var(--rule);
}
.faq-list .faq-item:last-child { border-bottom: none; }
.faq-list h4 { margin: 0 0 8px 0; color: var(--accent2); }
.faq-list p { margin: 0; }

.myth-list .myth-item {
    padding: 16px 0;
    border-bottom: 1px dashed var(--rule);
}
.myth-list .myth-item:last-child { border-bottom: none; }
.myth-list strong { color: #dc2626; }

.tool-list { list-style: none; padding-left: 0; }
.tool-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    border-bottom: 1px dashed var(--rule);
}
.tool-list li:last-child { border-bottom: none; }
.tool-list li::before {
    content: "🛠️";
    position: absolute;
    left: 0;
    top: 10px;
}

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--accent);
}
.timeline-item { position: relative; padding: 12px 0; }
.timeline-item::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--accent);
}
.timeline-month {
    font-weight: 700;
    color: var(--accent2);
    font-size: 15px;
    margin-bottom: 4px;
}
.timeline-item p { margin: 0; }

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
}
.compare-table th, .compare-table td {
    padding: 10px 14px;
    text-align: left;
    border: 1px solid var(--rule);
}
.compare-table th {
    background: var(--accent-soft);
    color: var(--accent2);
    font-weight: 600;
}

.featured-quote {
    text-align: center;
    padding: 24px;
}
.featured-quote .quote-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent2);
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 12px 0;
}
.featured-quote .quote-source {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.mini-case {
    background: #f0f9ff;
    padding: 16px 20px;
    border-radius: 10px;
    border-left: 4px solid #0ea5e9;
    margin-top: 12px;
}
.mini-case p { margin: 0 0 10px 0; }
.mini-case p:last-child { margin-bottom: 0; }

.related-articles {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 2px solid var(--rule2);
}
.related-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 20px 0;
    padding: 0;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.related-card {
    display: block;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.25s ease;
}
.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.12);
    border-color: var(--accent-border);
}
.related-cover {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f1f5f9;
}
.related-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-title-text {
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 2px solid var(--rule2);
}
.article-nav a {
    flex: 1;
    max-width: 48%;
    padding: 18px 22px;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    color: var(--ink2);
    font-size: 15px;
    transition: all 0.2s ease;
    line-height: 1.5;
}
.article-nav a:hover { border-color: var(--accent-border); color: var(--accent2); background: var(--accent-soft); transform: translateY(-2px); }
.article-nav .nav-next { text-align: right; }
.nav-label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 6px; font-weight: 500; }

.loading {
    text-align: center;
    padding: 100px 24px;
    color: var(--muted);
}
.loading-spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--rule);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.error-box {
    text-align: center;
    padding: 100px 24px;
    color: var(--danger);
}
.error-box h2 { font-size: 22px; margin-bottom: 12px; color: var(--ink); }
.error-box p { color: var(--muted); font-size: 15px; }

.empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--muted);
    font-size: 15px;
}

.search-result-count {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 20px;
}
.highlight { color: var(--accent); font-weight: 700; }

.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
    padding: 48px 24px;
    margin-top: 80px;
}
.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer-sub { font-size: 14px; color: #94a3b8; }
.footer-meta { font-size: 13px; color: #94a3b8; text-align: right; line-height: 1.8; }

@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--rule); }
    .article-card.featured { grid-column: span 1; flex-direction: column; }
    .article-card.featured .article-cover { width: 100%; aspect-ratio: 16/10; }
    .article-card.featured .article-body { padding: 18px 20px 20px; }
    .article-card.featured .article-card-title { font-size: 16px; }
}
@media (max-width: 768px) {
    .topbar-inner { gap: 12px; padding: 0 16px; }
    .topnav { display: none; }
    .search { width: auto; flex: 1; }
    .hero { padding: 56px 20px 80px; }
    .hero h1 { font-size: 30px; }
    .hero .lead { font-size: 16px; }
    .container, .section { padding-left: 16px; padding-right: 16px; }
    .container-read { padding-left: 16px; padding-right: 16px; }
    .article-detail { padding: 36px 24px 32px; }
    .article-detail h1.article-h1 { font-size: 24px; }
    .article-hero { height: 220px; margin-bottom: -36px; }
    .article-hero-title { padding: 0 24px; bottom: 28px; }
    .article-hero-title h1 { font-size: 24px; }
    .markdown-body { font-size: 16px; line-height: 1.85; }
    .markdown-body h2 { font-size: 20px; }
    .article-nav { flex-direction: column; }
    .article-nav a { max-width: 100%; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-meta { text-align: center; }
    .article-grid { grid-template-columns: 1fr; gap: 16px; }
    .cat-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
