.article-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.article-header {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.article-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 20px;
    margin-bottom: 20px;
}
.article-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* 分类与时间/作者/浏览在同一行时，去掉块级下边距，避免与 flex 交叉轴对齐冲突 */
.article-meta .article-category {
    margin-bottom: 0;
    padding: 4px 12px;
    font-size: 12px;
}
.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}
.article-meta-item span {
    font-size: 14px;
    line-height: 1;
}
/* 右侧动作组：分享 + 阅读工具栏，同高同圆角、8px 间距、整体靠右 */
.article-meta-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}
.article-meta-actions .article-toolbar {
    margin-left: 0;
    padding: 3px 4px;
}
.article-meta-actions .article-toolbar-btn {
    height: 26px;
    min-width: 28px;
    padding: 0 6px;
}
/* 文章分享按钮（样式对齐币种/交易所详情页的分享按钮） */
.article-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    box-sizing: border-box;
    background: #fff;
    color: #5a6270;
    border: 1px solid #e4e6ec;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.article-share-btn:hover {
    background: #f3f4ff;
    border-color: #667eea;
    color: #667eea;
}
.article-share-btn:active {
    transform: translateY(1px);
}
.article-content-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.article-content {
    line-height: 1.9;
    font-size: 16px;
    color: #333;
}
/*
 * 全站 style.css 对 a 使用 color: inherit、text-decoration: none，正文中超链会与 #333 正文同色。
 * 这里只作用于新闻正文，恢复可辨别的链接色与下划线（图片外链不加下划线）。
 */
.article-content a {
    color: #4f6ae6;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    font-weight: 500;
}
.article-content a:visited {
    color: #6d28d9;
}
.article-content a:hover {
    color: #5b4dad;
}
.article-content a:active {
    color: #4338ca;
}
.article-content a:has(> img) {
    text-decoration: none;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.article-content p {
    margin-bottom: 18px;
}
.article-content h1,
.article-content h2,
.article-content h3 {
    margin: 30px 0 15px;
    font-weight: 700;
    color: #1a1a1a;
}
.article-content h1 {
    font-size: 28px;
}
.article-content h2 {
    font-size: 24px;
}
.article-content h3 {
    font-size: 20px;
}
.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 24px;
}
.article-content li {
    margin-bottom: 10px 0;
}
.article-content blockquote {
    border-left: 4px solid #667eea;
    padding: 20px 24px;
    background: #f8f9ff;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}
/*
 * 正文表格：后台 UEditor 自带边框样式，前台此前无 table 规则，
 * 表格会退化成无边框文本，看起来"表格消失"。这里补齐边框/表头/斑马纹。
 */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.7;
}
.article-content table th,
.article-content table td {
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}
.article-content table thead th {
    background: #f4f6fb;
    font-weight: 600;
    color: #1a1a1a;
}
.article-content table tbody tr:nth-child(even) {
    background: #fafbfd;
}

.article-adjacent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.article-adjacent-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    border: 1px solid #eef0f4;
    transition: box-shadow 0.2s, border-color 0.2s;
    min-height: 88px;
}
.article-adjacent-link:hover:not(.is-disabled) {
    border-color: #c7d2fe;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}
.article-adjacent-link.is-disabled {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}
.article-adjacent-next {
    text-align: right;
    align-items: flex-end;
}
.article-adjacent-label {
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.article-adjacent-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 640px) {
    .article-adjacent {
        grid-template-columns: 1fr;
    }
    .article-adjacent-next {
        text-align: left;
        align-items: flex-start;
    }
}

.article-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 24px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.article-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
}
.article-back-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
@media (max-width: 768px) {
    .article-sidebar {
        display: none !important;
    }
    
    .article-header {
        padding: 14px 16px;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    .article-content-wrapper,
    .article-footer {
        padding: 18px;
        border-radius: 14px;
        margin-bottom: 16px;
    }
    /* 移动端头部瘦身：隐藏面包屑（重复标题、占两行），标题收紧 */
    .article-breadcrumb {
        display: none;
    }
    .article-title {
        font-size: 20px;
        line-height: 1.35;
        margin-bottom: 10px;
    }
    /* 分类改为紫色纯文字，去掉胶囊背景，与 meta 同行不抢高度 */
    .article-meta .article-category {
        margin-bottom: 0;
        padding: 0;
        background: none;
        color: #667eea;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.4;
        border-radius: 0;
        flex-shrink: 0;
    }
    /* 作者移动端隐藏（固定署名、信息量低，桌面端保留） */
    .article-meta-author {
        display: none;
    }
    /* 相关文章列表移动端隐藏（桌面端保留内链，2026-10-16 用户要求） */
    .related-articles-section {
        display: none !important;
    }
    /* 元信息单行横滑：分类 + 分享/工具(优先可见) + 时间 + 浏览。
       仅 flex order 改视觉顺序，DOM 源码顺序不变（时间仍紧跟标题），对 SEO 无影响 */
    .article-meta {
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
        padding-top: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
        mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
    }
    .article-meta::-webkit-scrollbar {
        display: none;
    }
    .article-meta > * {
        flex-shrink: 0;
    }
    /* 视觉顺序：分类(0) → 分享+工具条(1) → 时间/浏览(2) */
    .article-meta .article-category {
        order: 0;
    }
    .article-meta .article-meta-actions {
        order: 1;
        margin-left: 0;
    }
    .article-meta .article-meta-item {
        order: 2;
        gap: 4px;
        font-size: 12px;
        white-space: nowrap;
    }
    .article-meta-item span {
        font-size: 13px;
        line-height: 1;
    }
    /* 分享按钮移动端只留图标 */
    .article-share-btn {
        height: 28px;
        padding: 0 10px;
        font-size: 12px;
        gap: 0;
    }
    .article-share-btn span {
        display: none;
    }
    /* 工具栏隐藏「恢复」键，保留 A+/A-/全屏 三键 */
    .article-meta-actions .article-toolbar-btn {
        height: 24px;
        min-width: 26px;
    }
    .article-meta-actions .article-toolbar-btn[data-action="restore"] {
        display: none;
    }
    .article-content {
        font-size: 15px;
        line-height: 1.8;
    }
    .article-content img {
        margin: 16px 0;
    }
    .article-content p {
        margin-bottom: 14px;
    }
    .article-content h1,
    .article-content h2,
    .article-content h3 {
        margin: 20px 0 10px;
    }
    .article-content h1 {
        font-size: 24px;
    }
    .article-content h2 {
        font-size: 20px;
    }
    .article-content h3 {
        font-size: 18px;
    }
    .article-content blockquote {
        padding: 14px 16px;
        margin: 16px 0;
    }
    /* 小屏：表格超宽时可横向滚动，避免撑破正文容器 */
    .article-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 14px;
    }
    .article-content table th,
    .article-content table td {
        padding: 8px 10px;
    }
    .article-footer {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        padding: 16px 18px;
    }
    .article-back-btn {
        padding: 10px 20px;
    }
}

@media (min-width: 768px) {
    .related-keywords-section {
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
        border-radius: 16px;
        padding: 24px;
        margin: 30px 0;
        border: 1px solid #e0e7ff;
    }
    
    .related-keywords-title {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a2e;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .related-keywords-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .related-keyword-tag {
        display: inline-block;
        padding: 8px 18px;
        background: white;
        color: #667eea;
        text-decoration: none;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        border: 1px solid #e0e7ff;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
    }
    
    .related-keyword-tag:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
        border-color: transparent;
    }
    
    .article-wrapper {
        max-width: 1300px;
        margin: 0 auto;
    }
    
    .article-content-with-sidebar {
        display: flex;
        gap: 24px;
        align-items: flex-start;
    }
    
    .article-main-content {
        flex: 1;
        min-width: 0;
    }
    
    .article-sidebar {
        width: 320px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .sidebar-card {
        background: white;
        border-radius: 20px;
        padding: 24px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        border: 1px solid #f0f0f0;
    }
    
    .sidebar-title {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a2e;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 2px solid #f0f0f0;
    }
    
    .sidebar-exchange-item {
        display: flex;
        gap: 12px;
        align-items: center;
        padding: 12px;
        border-radius: 12px;
        background: #f8f9fa;
        margin-bottom: 10px;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .sidebar-exchange-item:last-child {
        margin-bottom: 0;
    }
    
    .sidebar-exchange-item:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        transform: translateX(4px);
    }
    
    .sidebar-exchange-item:hover .sidebar-exchange-name,
    .sidebar-exchange-item:hover .sidebar-exchange-desc,
    .sidebar-exchange-item:hover .sidebar-exchange-rating {
        color: white;
    }
    
    .sidebar-exchange-logo {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: white;
        padding: 6px;
        flex-shrink: 0;
    }
    
    .sidebar-exchange-info {
        flex: 1;
        min-width: 0;
    }
    
    .sidebar-exchange-name {
        font-size: 14px;
        font-weight: 600;
        color: #1a1a2e;
        margin-bottom: 2px;
        transition: color 0.3s;
    }
    
    .sidebar-exchange-desc {
        font-size: 11px;
        color: #888;
        line-height: 1.4;
        transition: color 0.3s;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .sidebar-exchange-rating {
        font-size: 14px;
        font-weight: 700;
        color: #10b981;
        flex-shrink: 0;
        transition: color 0.3s;
    }
    
    .sidebar-flash-item {
        padding: 12px;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s;
        margin-bottom: 8px;
        background: #f8f9fa;
    }
    
    .sidebar-flash-item:last-child {
        margin-bottom: 0;
    }
    
    .sidebar-flash-item:hover {
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
        transform: translateX(4px);
    }
    
    .sidebar-flash-header {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
    }
    
    .sidebar-flash-badge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 3px 8px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        font-size: 10px;
        font-weight: 600;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    .sidebar-flash-title {
        font-size: 13px;
        font-weight: 600;
        color: #1a1a2e;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 1.4;
        flex: 1;
        min-width: 0;
    }
    
    .sidebar-flash-item:hover .sidebar-flash-title {
        color: #667eea;
    }
    
    .sidebar-flash-content {
        font-size: 11px;
        color: #888;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .sidebar-coin-item {
        display: flex;
        gap: 20px;
        align-items: center;
        padding: 15px;
        border-radius: 12px;
        background: #f8f9fa;
        margin-bottom: 12px;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .sidebar-coin-item:last-child {
        margin-bottom: 0;
    }
    
    .sidebar-coin-item:hover {
        background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
        transform: translateX(4px);
    }
    
    .sidebar-coin-logo {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: white;
        padding: 4px;
        flex-shrink: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    .sidebar-coin-symbol {
        font-size: 14px;
        font-weight: 700;
        color: #1a1a2e;
        transition: color 0.3s;
    }
    
    .sidebar-coin-item:hover .sidebar-coin-symbol {
        color: #667eea;
    }
    
    .sidebar-coin-supply {
        font-size: 12px;
        color: #667eea;
        font-weight: 600;
    }
    
    .sidebar-coin-year {
        font-size: 11px;
        color: #888;
    }
}

.article-hero {
    margin: 0 0 24px 0;
    border-radius: 20px;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-hero-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.article-summary-lead {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.article-summary-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #334155;
}

/* 正文区子块顺序：移动端 DOM 为「关键词 → 上一篇/下一篇 → 相关文章」，桌面端用 order 将相关文章提前 */
.article-main-content {
    display: flex;
    flex-direction: column;
}

.article-main-content > .article-header {
    order: 10;
}

.article-main-content > .article-hero {
    order: 20;
}

.article-main-content > .article-summary-lead {
    order: 30;
}

.article-main-content > .article-content-wrapper {
    order: 40;
}

.article-main-content > .article-seo-footer {
    order: 50;
}

.article-main-content > .article-adjacent {
    order: 55;
}

.article-main-content > .related-articles-section {
    order: 60;
}

.article-main-content > .article-footer {
    order: 70;
}

@media (min-width: 769px) {
    .article-main-content > .related-articles-section {
        order: 55;
    }

    .article-main-content > .article-adjacent {
        order: 60;
    }
}

.article-seo-footer {
    margin-bottom: 24px;
}

.article-keyword-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 20px;
    border: 1px solid #e0e7ff;
}

.article-subsection-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 14px 0;
}

.article-keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-keyword-chip {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: #667eea;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e0e7ff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.article-keyword-chip:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.28);
}

.related-articles-section {
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 24px;
    border: 1px solid #eef0f4;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-article-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #eef0f4;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.related-article-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.12);
}

.related-article-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    background: #f1f5f9;
}

.related-article-thumb.is-placeholder {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}

.related-article-body {
    flex: 1;
    min-width: 0;
}

.related-article-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a2e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-summary {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .article-hero {
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .article-summary-lead {
        padding: 12px 14px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .article-summary-text {
        font-size: 15px;
    }

    .article-keyword-section,
    .related-articles-section {
        padding: 16px 18px;
        border-radius: 14px;
    }

    .article-keyword-section .article-subsection-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .article-keyword-tags {
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .article-keyword-chip {
        font-size: 11px;
        padding: 4px 10px;
        flex-shrink: 0;
        border-radius: 999px;
    }

    .article-subsection-title {
        font-size: 16px;
    }

    .related-article-thumb {
        width: 88px;
        height: 66px;
    }

    .related-article-title {
        font-size: 14px;
    }
}

/* SSR 面包屑 */
.article-breadcrumb{font-size:13px;color:#64748b;margin:0 0 16px;line-height:1.5;}
.article-breadcrumb a{color:#64748b;text-decoration:none;}
.article-breadcrumb a:hover{color:#334155;text-decoration:underline;}
.article-breadcrumb-sep{margin:0 6px;opacity:.6;}

/* 作者署名链接（E-E-A-T） */
.article-author-link{color:inherit;text-decoration:none;border-bottom:1px dashed #94a3b8;}
.article-author-link:hover{color:#2563eb;border-bottom-color:#2563eb;}
/* 作者页 */
.author-page-content h2{font-size:20px;margin:28px 0 12px;color:#0f172a;}
.author-page-content li{margin-bottom:8px;}
