/* ============================================================
   学无止境 · 个人学习博客 —— 全站样式
   设计语言：现代 / 精致 / 柔和 / 有层次
   ============================================================ */

/* ===== 全局基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 品牌色 */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-deep: #4338ca;
    --violet: #8b5cf6;
    --pink: #d946ef;

    /* 品牌渐变 */
    --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --grad-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(217, 70, 239, 0.08));

    /* 文字 */
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;

    /* 背景与表面 */
    --bg: #f5f6fa;
    --card-bg: #ffffff;
    --border: #e8eaf0;
    --border-strong: #d8dbe4;

    /* 圆角 */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 8px;

    /* 阴影 */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 16px 40px rgba(79, 70, 229, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 999px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-dark);
    background: rgba(99, 102, 241, 0.08);
}

.nav-links a.active {
    color: #fff;
    background: var(--grad);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.28);
}

/* ===== 头部区域 ===== */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 88px 20px 92px;
    background:
        radial-gradient(1100px 560px at 12% 8%, rgba(139, 92, 246, 0.5), transparent 58%),
        radial-gradient(900px 520px at 88% 92%, rgba(217, 70, 239, 0.4), transparent 58%),
        linear-gradient(135deg, #312e81 0%, #4c1d95 52%, #701a75 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 25%, transparent 78%);
    mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 25%, transparent 78%);
    pointer-events: none;
}

.hero > * {
    position: relative;
}

.hero h1 {
    font-size: 46px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.15;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.96);
}

.hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    margin: 0 auto;
}

/* ===== 区块 ===== */
.section {
    margin: 48px 0;
}

.section > h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section > h2::before {
    content: "";
    width: 5px;
    height: 22px;
    border-radius: 3px;
    background: var(--grad);
}

/* ===== 卡片 ===== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 28px;
    box-shadow: var(--shadow-sm);
}

.feature-list {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.feature-list li {
    padding-left: 22px;
    position: relative;
    color: var(--text-light);
}

.feature-list li strong {
    color: var(--text);
    margin-right: 6px;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad);
}

/* ===== 文章栅格 ===== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.article-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.article-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: var(--grad);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.28);
}

.article-card:hover::after {
    opacity: 1;
}

.article-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.tag-java {
    background: #fff7e6;
    color: #b45309;
}

.tag-fe {
    background: #e6f4ff;
    color: #0369a1;
}

.article-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-card h3 a {
    transition: color 0.2s ease;
}

.article-card h3 a:hover {
    color: var(--primary-dark);
}

.article-card p {
    color: var(--text-light);
    font-size: 14px;
    flex: 1;
    margin-bottom: 14px;
    line-height: 1.6;
}

.article-date {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-date::before {
    content: "🕐";
    font-size: 11px;
    opacity: 0.7;
}

/* ===== 查看全部卡片 ===== */
.view-all {
    align-items: center;
    justify-content: center;
    border-style: dashed;
    border-color: var(--border-strong);
    background: transparent;
    box-shadow: none;
    color: var(--text-light);
    cursor: pointer;
}

.view-all:hover {
    border-color: var(--primary);
    background: var(--grad-soft);
}

.view-all::after {
    display: none;
}

.view-all-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.view-all-icon {
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 24px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    text-align: center;
}

.view-all-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.view-all-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== 学习路线 ===== */
.roadmap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.roadmap-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 18px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.roadmap-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.28);
}

.roadmap-step {
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.roadmap-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.roadmap-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== 页脚 ===== */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 28px 20px;
    margin-top: 48px;
    color: var(--text-light);
    font-size: 14px;
}

.footer .icp {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .article-grid,
    .roadmap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 12px 20px;
        gap: 8px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 60px 20px 64px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .article-grid,
    .roadmap {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   文章内容页通用样式（Tomcat / 数据库 / WebClient / 线程等）
   ============================================================ */

/* 顶部 sticky 目录导航（Tomcat） */
.toc {
    position: sticky;
    top: 64px;
    z-index: 99;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    overflow-x: auto;
    white-space: nowrap;
    text-align: center;
}

.toc a {
    display: inline-block;
    margin: 2px 4px;
    padding: 6px 15px;
    border-radius: 999px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.toc a:hover {
    color: #fff;
    background: var(--grad);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

/* 堆叠式文章卡片 */
section.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 34px;
    margin-bottom: 26px;
    box-shadow: var(--shadow-sm);
}

/* 文章页主体留白 */
.article main.container {
    padding-top: 36px;
    padding-bottom: 48px;
}

/* 文章标题层级 */
section.card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    padding-left: 16px;
    margin-bottom: 20px;
    line-height: 1.4;
    position: relative;
}

section.card h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    border-radius: 3px;
    background: var(--grad);
}

section.card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 22px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--border-strong);
}

section.card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 16px 0 6px;
}

section.card p {
    margin: 8px 0;
}

section.card ul {
    list-style: disc;
    margin: 8px 0 8px 26px;
}

section.card ol {
    list-style: decimal;
    margin: 8px 0 8px 26px;
}

section.card li {
    margin: 5px 0;
}

section.card strong {
    color: var(--primary-deep);
    font-weight: 600;
}

section.card a {
    color: var(--primary-dark);
    text-decoration: underline;
    text-decoration-color: rgba(99, 102, 241, 0.35);
    text-underline-offset: 2px;
}

section.card a:hover {
    text-decoration-color: var(--primary-dark);
}

/* 行内代码 */
code.inline,
section.card code {
    background: #f1f2f8;
    color: #c2410c;
    padding: 2px 7px;
    border-radius: 6px;
    font-family: "SF Mono", ui-monospace, "JetBrains Mono", Consolas, "Courier New", monospace;
    font-size: 0.88em;
}

/* 代码块 */
pre {
    position: relative;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin: 14px 0;
    overflow-x: auto;
    font-family: "SF Mono", ui-monospace, "JetBrains Mono", Consolas, "Courier New", monospace;
    font-size: 13.5px;
    line-height: 1.65;
    white-space: pre;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 16px rgba(15, 23, 42, 0.18);
    border: 1px solid #1e293b;
}

pre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

pre.diagram {
    background: #fbfbfd;
    color: #4a3f35;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

pre.diagram::before {
    background: none;
}

section.card pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

/* 表格 */
section.card table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 14px 0;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

section.card th,
section.card td {
    border-bottom: 1px solid var(--border);
    padding: 11px 14px;
    text-align: left;
}

section.card th {
    background: var(--grad-soft);
    color: var(--primary-dark);
    font-weight: 600;
    border-bottom: 1px solid var(--border-strong);
}

section.card tbody tr:last-child td {
    border-bottom: none;
}

section.card tr:nth-child(even) td {
    background: #fafbfd;
}

section.card tbody tr:hover td {
    background: #f4f5fb;
}

/* 提示框 */
.tip {
    position: relative;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-left: 4px solid #10b981;
    padding: 13px 16px 13px 42px;
    border-radius: var(--radius-xs);
    margin: 14px 0;
    color: #065f46;
}

.tip::before {
    content: "💡";
    position: absolute;
    left: 13px;
    top: 13px;
    font-size: 15px;
}

.warn {
    position: relative;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 4px solid #f97316;
    padding: 13px 16px 13px 42px;
    border-radius: var(--radius-xs);
    margin: 14px 0;
    color: #9a3412;
}

.warn::before {
    content: "⚠️";
    position: absolute;
    left: 13px;
    top: 13px;
    font-size: 15px;
}

/* 标签 / 徽章 */
.tag {
    display: inline-block;
    background: #eef2ff;
    color: #4338ca;
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 6px;
}

.badge {
    display: inline-block;
    background: var(--grad-soft);
    color: var(--primary-dark);
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 6px;
}

/* 高亮 */
mark {
    background: #fef08a;
    padding: 1px 5px;
    border-radius: 4px;
    color: #713f12;
}

/* 文章页脚 */
.article footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 24px;
}

/* ============================================================
   文章页补充组件（WebClient / 线程 / 配置文件 / 认证）
   ============================================================ */

/* 文章内目录卡片 */
.toc-box {
    background: var(--grad-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 28px;
    margin-bottom: 24px;
}

.toc-box h2,
.toc-box .toc-title {
    border: none;
    padding: 0;
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.toc-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.toc-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.toc-box li {
    margin: 7px 0;
}

.toc-box a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.15s ease;
}

.toc-box a:hover {
    color: var(--primary-dark);
}

.toc-box ul ul {
    padding-left: 20px;
}

/* 引用块 */
.article blockquote {
    margin: 16px 0;
    padding: 14px 18px;
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-xs);
    color: #4338ca;
}

/* 分隔线 */
.article hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2em 0;
}

/* 提示框（callout） */
.callout {
    margin: 14px 0;
    padding: 14px 18px;
    background: var(--grad-soft);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-xs);
    color: var(--primary-deep);
    font-size: 15px;
}

.callout.warn {
    background: #fff7ed;
    border-color: #fed7aa;
    border-left-color: #f97316;
    color: #9a3412;
}

/* 行内代码 / 技术词 */
.tech {
    font-family: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
    font-size: 0.88em;
    background: #eef2ff;
    padding: 1px 7px;
    border-radius: 6px;
    color: #4338ca;
    white-space: nowrap;
}

/* 流程图 */
.flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 18px 0 8px;
}

.flow .node {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 12px;
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.flow .node:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: var(--shadow-sm);
}

.flow .node .api {
    font-weight: 700;
    color: var(--primary-dark);
    font-family: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
    font-size: 14px;
}

.flow .node .desc {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 7px;
    line-height: 1.5;
}

.flow .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 20px;
}

/* 表格容器 */
.table-wrap {
    overflow-x: auto;
    margin: 14px 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    background: var(--card-bg);
}

/* 语法高亮 */
.tok-c { color: #94a3b8; font-style: italic; }
.tok-k { color: #e879f9; }
.tok-s { color: #86efac; }

/* 文章 hero 元素 */
.eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: var(--grad-soft);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
    font-weight: 700;
}

.lede {
    font-size: 17px;
    color: var(--text-light);
    margin: 0;
    max-width: 680px;
    line-height: 1.8;
}

.section-sub {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 20px;
    padding-left: 16px;
}

/* 副标题 */
.subtitle {
    color: var(--text-light);
    margin: 0 0 32px;
    font-size: 15px;
}

/* 列表标记颜色 */
.pros li::marker { color: #10b981; }
.cons li::marker { color: #ef4444; }

/* 认证 badge */
.badge-session { background: #eef2ff; color: #4338ca; }
.badge-token { background: #ecfdf5; color: #047857; }

/* 箭头 */
.arrow {
    color: var(--text-muted);
    font-weight: 700;
}

/* 文章 h4 */
.article h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 14px 0 6px;
}

/* 文章 section（threadBase 无 class 的 section） */
.article section:not(.card) {
    margin: 46px 0;
}

/* 文章页容器内顶层标题（居中标题） */
.article .container > h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-align: center;
    padding-bottom: 18px;
    margin: 28px 0;
    position: relative;
}

.article .container > h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    border-radius: 3px;
    background: var(--grad);
}

/* threadBase 专用容器与标题区 */
.article .wrap {
    max-width: 840px;
    margin: 0 auto;
    padding: 44px 28px 80px;
}

.article-hero {
    margin-bottom: 44px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.article-hero h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 16px;
    color: var(--text);
}

/* 通用文章表格 */
.article table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 16px 0;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.article th,
.article td {
    border-bottom: 1px solid var(--border);
    padding: 10px 13px;
    text-align: left;
}

.article th {
    background: var(--grad-soft);
    color: var(--primary-dark);
    font-weight: 600;
}

.article tbody tr:last-child td {
    border-bottom: none;
}

.article tbody tr:nth-child(even) td {
    background: #fafbfd;
}

.article tbody tr:hover td {
    background: #f4f5fb;
}

/* threadBase 标题（无 class 的 section 内 h2） */
.article section:not(.card) h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    position: relative;
    padding-left: 16px;
    color: var(--text);
}

.article section:not(.card) h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 4px;
    border-radius: 3px;
    background: var(--grad);
}

/* div.card 内容（threadBase / CertificateToken） */
.article div.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
}

.article div.card h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 22px 0 8px;
    color: var(--text);
}

.article div.card p {
    margin: 0 0 12px;
}

.article div.card ul {
    list-style: disc;
    margin: 8px 0 12px;
    padding-left: 22px;
}

.article div.card ol {
    list-style: decimal;
    margin: 8px 0 12px;
    padding-left: 24px;
}

.article div.card ul li {
    margin-bottom: 6px;
}

.article div.card strong {
    color: var(--primary-deep);
    font-weight: 600;
}
