/* ============================================================
   1. 全局重置
   ============================================================ */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', Roboto, 'Helvetica Neue', sans-serif;
    background: #f5f5f5;
    color: #1a2a3a;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
}


/* ============================================================
   2. 全局布局
   ============================================================ */
.container {
    max-width: 1000px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 0 0 20px 0;
    overflow: hidden;
    border: 1px solid #eaeef2;
}


/* ============================================================
   3. 顶部图片
   ============================================================ */
.header-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #dce4ea;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 30px 18px 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.header-overlay h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    letter-spacing: 2px;
}

.header-sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    margin-top: 2px;
}


/* ============================================================
   4. 菜单栏
   ============================================================ */
.menu {
    display: flex;
    gap: 0;
    padding: 0 24px;
    background: #ffffff;
    border-bottom: 1px solid #eaeef2;
    flex-wrap: wrap;
}

.menu-item {
    padding: 14px 20px 12px 20px;
    font-size: 0.9rem;
    color: #5a7a8e;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.15s ease;
    font-weight: 500;
}

.menu-item:hover {
    color: #1a3a5a;
    border-bottom-color: #8fcbff;
}

.menu-item.active {
    color: #1a3a5a;
    border-bottom-color: #2c7cb0;
}


/* ============================================================
   5. 主内容区域
   ============================================================ */
.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    padding: 20px 24px;
}

.menu-display {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px 24px;
    min-height: 80px;
    border: 1px solid #eaeef2;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
}

.menu-display p {
    font-size: 1.1rem;
    color: #1a3a5a;
    margin: 0;
}

.follow-item {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ============================================================
   6. 底部
   ============================================================ */
footer {
    text-align: center;
    padding: 16px 24px 6px 24px;
    border-top: 1px solid #eaeef2;
    color: #8aa8c0;
    font-size: 0.8rem;
}

.footer-small {
    font-size: 0.7rem;
    color: #b0c8d8;
    margin-top: 2px;
}


/* ============================================================
   7. 初雪标尺
   ============================================================ */
.scale-panel {
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px 20px 14px 20px;
    border: 1px solid #eaeef2;
    grid-column: 1 / -1 !important;
    margin-bottom: 4px;
}

.scale-loading,
.scale-error {
    text-align: center;
    padding: 20px 0;
    color: #8aa8c0;
    font-size: 0.95rem;
}

.scale-error {
    color: #e74c3c;
}

.scale-header {
    text-align: center;
    font-size: 1.05rem;
    color: #1a2a3a;
    padding-bottom: 12px;
    border-bottom: 1px solid #eaeef2;
    margin-bottom: 14px;
}

.scale-title {
    font-weight: 500;
}

.zone-red { color: #e74c3c; font-weight: 600; }
.zone-orange { color: #e67e22; font-weight: 600; }
.zone-yellow { color: #d4a017; font-weight: 600; }
.zone-green { color: #27ae60; font-weight: 600; }

.scale-body {
    position: relative;
    padding: 0 0 6px 0;
}

.pin-wrapper {
    position: relative;
    height: 45px;
    margin-bottom: 2px;
}

.pin {
    position: absolute;
    top: -0px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.pin-arrow {
    font-size: 16px;
    color: #2c3e50;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.pin-label {
    font-size: 0.65rem;
    background: #2c3e50;
    color: #ffffff;
    padding: 0 8px;
    border-radius: 8px;
    margin-top: -2px;
    white-space: nowrap;
    font-weight: 500;
}

.scale-bar {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    border-radius: 6px;
    overflow: hidden;
    height: 10px;
    border: 1px solid #dce4ea;
}

.segment {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.segment.red { background: #e74c3c; }
.segment.orange { background: #e67e22; }
.segment.yellow { background: #f1c40f; color: rgba(0, 0, 0, 0.55); text-shadow: none; }
.segment.green { background: #2ecc71; color: rgba(255, 255, 255, 0.9); }

.scale-marks {
    position: relative;
    height: 36px;
    margin-top: 4px;
}

.mark-item {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.6rem;
    color: #5a7a8e;
    line-height: 1.3;
}

.mark-date {
    font-weight: 500;
    color: #1a2a3a;
}

.mark-sigma {
    font-size: 0.5rem;
    color: #8aa8c0;
}

.scale-legend {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2px 6px;
    padding-top: 10px;
    border-top: 1px solid #eaeef2;
    margin-top: 4px;
    font-size: 0.65rem;
    color: #5a7a8e;
}


/* ============================================================
   8. 卡片通用（月份 / 过程 / 首页）
   ============================================================ */
.rank-select-container {
    grid-column: 1 / -1;
    padding: 10px 0;
}

.rank-select-title {
    text-align: center;
    font-size: 1.6rem;
    color: #1a2a3a;
    margin-bottom: 24px;
}

.rank-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rank-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.rank-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/placeholder.jpg') center/cover no-repeat;
    background-color: #dce4ea;
}

.rank-card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
    font-weight: 700;
}

.month-label {
    font-size: 1.4rem;
    font-weight: 700;
}

.count-label {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.count-num {
    font-size: 1.4rem;
    font-weight: 700;
}

.count-unit {
    font-size: 0.9rem;
    font-weight: 400;
    margin-left: -3px;
}

.proc-name {
    font-size: 1.2rem;
}

.rank-card-snow {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 1.2rem;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 10px;
    z-index: 2;
}

.snow-1 { background: rgba(100, 180, 255, 0.85); }
.snow-0 { background: rgba(255, 120, 80, 0.85); }
.snow-2 { background: rgba(150, 150, 150, 0.85); }


/* ============================================================
   9. 首页 - 卡片 + 关注栏目
   ============================================================ */
.home-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.rank-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.rank-card-sub {
    font-size: 0.75rem;
    opacity: 0.85;
    margin-top: 4px;
    line-height: 1.3;
}

.follow-panel {
    grid-column: 1 / -1;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #eaeef2;
    padding: 24px 20px;
    text-align: center;
}

.follow-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 12px;
}

.follow-item {
    font-size: 0.95rem;
    color: #5a7a8e;
    line-height: 1.8;
}


/* ============================================================
   10. 排行榜
   ============================================================ */
.rank-table-container {
    grid-column: 1 / -1;
}

.rank-table-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 4px 0 16px 0;
    border-bottom: 1px solid #eaeef2;
    margin-bottom: 16px;
}

.rank-back-btn {
    color: #5a7a8e;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #dce4ea;
    transition: all 0.2s ease;

    /* 新增：抹平 <button> 与 <a> 的 UA 差异 */
    background: transparent;
    font-family: inherit;
    font-weight: normal;
    line-height: inherit;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.rank-back-btn:hover {
    background: #f0f4f8;
    border-color: #b0c8d8;
}

.rank-table-title {
    font-size: 1.3rem;
    color: #1a2a3a;
    margin: 0;
}

.rank-coming-soon {
    text-align: center;
    padding: 60px 20px;
}

.rank-coming-soon p:first-child {
    font-size: 2.4rem;
    color: #1a2a3a;
    margin-bottom: 8px;
}

.rank-coming-soon-sub {
    font-size: 1rem;
    color: #8aa8c0;
}

.rank-table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eaeef2;
}

.rank-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-family: 'Segoe UI', 'PingFang SC', sans-serif;
}

.rank-table thead th {
    background-color: #4472C4;
    color: #ffffff;
    font-weight: 600;
    padding: 6px 8px;
    text-align: center;
    border: 1px solid #4472C4;
    font-size: 18px;
}

.rank-table tbody td {
    padding: 6px 6px;
    text-align: center;
    border: 1px solid #d0d8e0;
    font-size: 18px;
    color: #1a2a3a;
}

.rank-table tbody tr:nth-child(even) td {
    background-color: #f8fafc;
}

.rank-detail-btn {
    padding: 4px 12px;
    background: #4472C4;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rank-detail-btn:hover {
    background: #2a5a9e;
}

/* ============================================================
   排行榜 - 排序三角形
   ============================================================ */
   .th-text {
    display: block;
}

.th-arrow {
    display: block;
    color: #ffffff;
    font-size: 0.7em;
    line-height: 1;
}

/* ============================================================
   11. 追雪文章
   ============================================================ */
.posts-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 4px 0;
}

.posts-empty {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: #8aa8c0;
}

.post-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.post-card {
    display: flex;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #eaeef2;
    overflow: hidden;
    padding: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    border-color: #c8d8e4;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.post-card-left {
    flex: 0 0 180px;
    height: 130px;
    overflow: hidden;
    background: #dce4ea;
}

.post-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card-right {
    flex: 1;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.posts-notice {
    grid-column: 1 / -1;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #eaeef2;
    padding: 12px 20px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #5a7a8e;
    text-align: center;
}

.post-date {
    font-size: 1.2rem;
    color: #8aa8c0;
    margin-bottom: 4px;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2a3a;
    line-height: 1.4;
}

.detail-container {
    grid-column: 1 / -1;
}

.detail-header {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #eaeef2;
    padding: 18px 24px 16px 24px;
    margin-bottom: 16px;
}

.detail-back-btn {
    display: inline-block;
    color: #5a7a8e;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid #dce4ea;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.detail-back-btn:hover {
    background: #f0f4f8;
    border-color: #b0c8d8;
}

.detail-notice {
    grid-column: 1 / -1;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #eaeef2;
    padding: 12px 20px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #5a7a8e;
    text-align: center;
}

.detail-meta {
    padding: 0 2px;
}

.detail-date {
    font-size: 0.8rem;
    color: #8aa8c0;
    display: block;
    margin-bottom: 2px;
}

.detail-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0;
    line-height: 1.4;
}

.detail-images {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #eaeef2;
    overflow: hidden;
}

.detail-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}


/* ============================================================
   12. 雪景大片 - 媒体卡片
   ============================================================ */
.media-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #dce4ea;
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.media-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-time {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    letter-spacing: 0.3px;
    align-items: center;
}

.media-badge {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    white-space: nowrap;
}

.media-timestamp {
    white-space: nowrap;
}

.ts-date, .ts-time {
    display: inline;
}

.ts-date {
    margin-right: 0.3em;
}

/* ============================================================
   13. 媒体悬浮窗
   ============================================================ */
.media-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.media-modal-content {
    position: relative;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.media-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 32px;
    font-weight: 300;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transition: background 0.2s;
}

.media-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.media-modal-body {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    min-height: 300px;
    overflow: hidden;
}

.media-modal-media {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    object-fit: contain;
}

.media-modal-info {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #eaeef2;
    flex-shrink: 0;
}

.media-info-row {
    font-size: 0.9rem;
    color: #1a2a3a;
    line-height: 1.8;
}

.media-info-row:first-child {
    font-weight: 600;
    color: #2c7cb0;
}

/* ============================================================
   实拍验证按钮
   ============================================================ */
   .verify-panel {
    text-align: center;
    padding: 12px 0 16px 0;
}

.verify-btn {
    display: inline-block;
    background: #4472C4;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(68, 114, 196, 0.3);
    transition: background 0.2s ease, transform 0.2s ease;
}

.verify-btn:hover {
    background: #2a5a9e;
    transform: translateY(-2px);
}

/* ============================================================
   实拍验证页
   ============================================================ */
.verify-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 0 20px 0;
}

.verify-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #eaeef2;
    display: block;
}

/* ============================================================
   14. 响应式 - 平板（≤960px）
   ============================================================ */
@media (max-width: 960px) {
    /* 卡片网格 */
    .rank-select-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    /* 排行榜表格 */
    .rank-table {
        font-size: 18px;
    }

    .rank-table thead th,
    .rank-table tbody td {
        padding: 6px 4px;
        font-size: 16px;
    }

    .rank-table-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .rank-table-title {
        font-size: 1.1rem;
    }

    .verify-grid {
        grid-template-columns: 1fr;
    }

    /*雪景大片*/
    .month-label {
        font-size: 1.6rem;
    }
    
    .count-num {
        font-size: 1.6rem;
    }
    
    .count-unit {
        font-size: 1.0rem;
    }
    
    .proc-name {
        font-size: 1.2rem;
    }
    
    .media-time {
        font-size: 1.2rem;
    }

    .ts-date, .ts-time {
        display: block;
    }
    
    .ts-date {
        margin-right: 0;
    }
    
    .rank-card-snow {
        font-size: 1.2rem;
        padding: 1px 6px;
    }
    
}

/* ============================================================
   15. 响应式 - 手机（≤480px）
   ============================================================ */
@media (max-width: 480px) {
    /* 排行榜表格 */
    .rank-table {
        font-size: 12px;
    }

    .rank-table thead th,
    .rank-table tbody td {
        padding: 6px 4px;
        font-size: 11px;
    }

    /* 初雪标尺 */
    .scale-panel {
        padding: 12px 10px 10px 10px;
    }
    .scale-header {
        font-size: 0.85rem;
        padding-bottom: 8px;
        margin-bottom: 10px;
    }
    .scale-bar {
        height: 12px;
    }
    .segment {
        font-size: 0.5rem;
    }
    .pin-wrapper {
        height: 28px;
        margin-bottom: 16px;
    }
    .pin-arrow {
        font-size: 13px;
    }
    .pin-label {
        font-size: 0.5rem;
        padding: 0 6px;
    }
    .scale-marks {
        height: 30px;
    }
    .mark-item {
        font-size: 0.5rem;
    }
    .mark-sigma {
        font-size: 0.45rem;
    }
    .scale-legend {
        font-size: 0.55rem;
        gap: 2px 4px;
    }

    /* 验证按钮 */
    .verify-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    .follow-item {
        flex-direction: column;
        gap: 8px;
    }

    /* 追雪文章 */
    .post-card-left {
        flex: 0 0 110px;
        height: 85px;
    }
    .post-card-right {
        padding: 12px 16px;
    }
    .post-title {
        font-size: 0.95rem;
    }
    .detail-header {
        padding: 14px 16px 12px 16px;
    }
    .detail-title {
        font-size: 1.1rem;
    }

    /* 媒体悬浮窗 */
    .media-modal {
        padding: 10px;
    }
    .media-modal-content {
        max-height: 95vh;
    }
    .media-modal-media {
        max-height: 60vh;
    }
    .media-modal-info {
        padding: 12px 16px;
    }
    .media-info-row {
        font-size: 0.8rem;
    }

    /* 卡片网格 */
    .rank-select-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .rank-card-text {
        font-size: 1.0rem;
        padding: 10px 14px;
    }

    .rank-card-title {
        font-size: 0.9rem;
    }

    .rank-card-sub {
        font-size: 0.65rem;
    }

    /*雪景大片*/
    .month-label {
        font-size: 0.8rem;
    }
    
    .count-num {
        font-size: 0.8rem;
    }
    
    .count-label{
        gap: 5px;
    }
    .count-unit {
        font-size: 0.5rem;
        margin-left: -2px;
    }

    .proc-name {
        font-size: 0.6rem;
    }
    
    .media-time {
        font-size: 0.7rem;
    }

    .rank-card-snow {
        font-size: 0.7rem;
        padding: 1px 5px;
    }
}

/* ============================================================
   图文页面
   ============================================================ */
   .article-container {
    grid-column: 1 / -1 !important;
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid #eaeef2;
    line-height: 1.8;
    color: #1a2a3a;
}

.article-container h1 {
    font-size: 1.8rem;
    margin: 20px 0 12px 0;
    color: #1a2a3a;
}

.article-container h2 {
    font-size: 1.4rem;
    margin: 18px 0 10px 0;
    color: #1a2a3a;
}

.article-container h3 {
    font-size: 1.2rem;
    margin: 16px 0 8px 0;
    color: #1a2a3a;
}

.article-container p {
    margin: 10px 0;
}

.article-container img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block;
    margin: 12px auto;
    border-radius: 8px;
}

.article-container blockquote {
    border-left: 4px solid #4472C4;
    padding-left: 12px;
    color: #5a7a8e;
    margin: 12px 0;
}

.article-container code {
    background: #f0f4f8;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.article-container pre {
    background: #f0f4f8;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
}

.article-container table {
    border-collapse: collapse;
    margin: 8px auto;
    width: auto;
}

.article-container table td,
.article-container table th {
    border: 1px solid #d0d8e0;
    padding: 4px 10px;
    text-align: center !important;
}

.article-container table th {
    background: #4472C4;
    color: #ffffff;
}

/* ============================================================
   MathML 样式
   ============================================================ */
   .article-container math {
    font-size: 1.1em;
    display: inline-block;
    vertical-align: middle;
}

.article-container math[display="block"] {
    display: block;
    margin: 16px auto;
    text-align: center;
}