        /* CSS 变量定义 - 确保跨浏览器兼容 */
        :root {
            --dark: #1a0a05;
            --primary: #8B1A1A;
            --primary-dark: #6B1414;
            --primary-light: #A52A2A;
            --gold: #C8A96E;
            --gold-light: #E8D5A3;
            --text: #E8D5A3;
            --text-light: rgba(200,169,110,0.6);
            --bg: #FDF8F0;
            --bg-card: #FFFDF9;
            --border: rgba(232,213,163,0.4);
            --shadow: rgba(139,26,26,0.15);
            /* 使用系统字体，避免外部请求 */
            --font: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', 'SimSun', serif;
        }
        body { background: #f5f5f5; }
        .m-content { padding: 16px; padding-bottom: 80px; }
        .m-article-cover {
            width: 100%;
            aspect-ratio: 16 / 9;
            height: auto;
            object-fit: cover;
            -webkit-object-fit: cover;
            border-radius: 12px;
            margin-bottom: 16px;
            background: #FDF8F0;
        }
        .m-article-cover-placeholder {
            width: 100%;
            aspect-ratio: 16 / 9;
            height: auto;
            background: linear-gradient(135deg, #6B1414 0%, #A52A2A 100%);
            border-radius: 12px;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .m-article-cover-placeholder i { font-size: 3rem; color: rgba(255,255,255,0.4); }
        h1.m-article-title {
            font-family: 'Noto Serif SC', 'Songti SC', serif;
            font-size: 1.25rem !important;
            font-weight: 400 !important;
            color: #1a0a05;
            line-height: 1.6;
            margin-bottom: 12px;
        }
        .m-article-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 0.8rem;
            color: #999;
            margin-bottom: 16px;
            padding-bottom: 16px;
            border-bottom: 1px solid rgba(232,213,163,0.4);
        }
        .m-article-cat { color: #8B1A1A; }
        /* 管理员编辑入口（仅管理员登录时渲染）：40px 高、整行可点，符合手机触控尺寸 */
        .m-admin-edit {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin: -6px 0 16px;
            padding: 10px 0;
            border: 1px dashed rgba(139,26,26,0.45);
            border-radius: 10px;
            background: rgba(139,26,26,0.05);
            color: #8B1A1A;
            font-size: 0.85rem;
            text-decoration: none;
            -webkit-tap-highlight-color: transparent;
        }
        .m-admin-edit:active { background: rgba(139,26,26,0.12); }
        .m-admin-edit svg { flex-shrink: 0; }
        .m-article-body {
            font-size: 1rem;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            word-wrap: break-word;
            line-height: 1.9;
            color: #444;
            padding: 0 10px;
            text-align: justify;
            letter-spacing: .3px;
        }
        .m-article-body h1, .m-article-body h2, .m-article-body h3, .m-article-body h4, .m-article-body h5, .m-article-body h6 {
            font-family: 'Noto Serif SC', 'Songti SC', serif;
            color: #8B1A1A;
            font-weight: 400;
            line-height: 1.3;
            margin: 1rem 0 .5rem;
        }
        .m-article-body h1 { font-size: 22px; }
        .m-article-body h2 { font-size: 20px; color: #8B1A1A; margin: 1.9rem 0 1rem; padding: .4rem 0 .45rem; border-bottom: 1px solid rgba(139,26,26,0.10); line-height: 1.45; background: linear-gradient(180deg, rgba(139,26,26,0.03), rgba(139,26,26,0)); }
        .m-article-body h3 { font-size: 18px; color: #a8472e; margin: 1.4rem 0 .6rem; padding-left: .6rem; border-left: 3px solid rgba(139,26,26,.30); line-height: 1.5; }
        .m-article-body h4 { font-size: 16px; color: #8B1A1A; margin: 1.1rem 0 .5rem; padding-left: 1rem; position: relative; }
        .m-article-body h4::before { content: ''; position: absolute; left: .25rem; top: .65rem; width: .4rem; height: .4rem; border-radius: 50%; background: #d4a017; }
        .m-article-body h5, .m-article-body h6 { font-size: 15px; color: #b5651d; margin: .9rem 0 .4rem; padding-left: 1.3rem; position: relative; }
        .m-article-body h5::before, .m-article-body h6::before { content: '▪'; position: absolute; left: .3rem; top: 0; color: #d4a017; }
        .m-article-body strong, .m-article-body b { font-weight: 700; color: #a8472e; }
        .m-article-body em, .m-article-body i { font-style: italic; }
        .m-article-body u { text-decoration: underline; }
        .m-article-body p { margin-bottom: 1.1rem; }
        .m-article-body p.lead { font-size: 1.02rem; color: #4a3a2a; line-height: 1.9; margin-bottom: 1.4rem; }
        .m-article-body p.note { font-size: .82rem; color: #6b4e00; background: #fff8e1; border-left: 4px solid #d4a017; padding: .85rem 1rem; border-radius: 0 8px 8px 0; margin-top: 1.4rem; line-height: 1.85; }
        /* 枚举列表：卡片式条目，圆点标记 + 浅底卡片，不用左侧竖线 */
        .m-article-body ul.enum { list-style: none; padding-left: 0; margin: .3rem 0 1.1rem; }
        .m-article-body ul.enum li { position: relative; padding: .5rem .75rem .5rem 1.75rem; margin-bottom: .5rem; background: #FDF8F0; border-radius: 8px; line-height: 1.8; box-shadow: inset 0 0 0 1px rgba(139,26,26,0.06); }
        .m-article-body ul.enum li::before { content: ''; position: absolute; left: .65rem; top: 1.05rem; width: .4rem; height: .4rem; border-radius: 50%; background: #8B1A1A; }
        .m-article-body ul.enum li strong { color: #a8472e; }
        .m-article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }
        /* 图片放大查看（lightbox，支持双指缩放/拖动/双击） */
        /* 注意：全局 html 上有 transform:translate3d(硬件加速)，会使 position:fixed 相对
           <html>(=文档全高) 而非视口 → 遮罩相对整篇文章居中而非屏幕。故改用 absolute + JS
           打开时定位到当前视口，规避 fixed 被 transform 祖先劫持。 */
        .m-img-lightbox {
            display: none;
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0,0,0,0.92);
            z-index: 99999;
            overflow: hidden;
            -webkit-user-select: none; user-select: none;
            -webkit-touch-callout: none;
        }
        .m-img-lightbox.open { display: block; }
        .m-img-lightbox .lb-stage {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            width: 100%; height: 100%;
            overflow: hidden;
            touch-action: none;
        }
        .m-img-lightbox img {
            position: absolute;
            top: 50%; left: 50%;
            max-width: 92vw;
            max-height: 92vh;
            width: auto; height: auto;
            -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
            -webkit-transform-origin: center center;
            transform-origin: center center;
            border-radius: 4px;
            will-change: transform;
        }
        .m-img-lightbox .lb-close {
            position: absolute; top: 14px; right: 16px;
            width: 40px; height: 40px; border-radius: 50%;
            background: rgba(255,255,255,0.18);
            border: none; color: #fff; font-size: 24px; line-height: 40px;
            text-align: center; padding: 0; z-index: 2;
            -webkit-tap-highlight-color: transparent;
        }
        .m-img-lightbox .lb-tip {
            position: absolute; bottom: 24px; left: 0; right: 0;
            text-align: center; color: rgba(255,255,255,0.7); font-size: 12px;
            pointer-events: none;
        }
        .m-article-body blockquote {
            border-left: 4px solid #8b6914;
            padding: .7rem 1rem;
            background: #f5efe0;
            border-radius: 0 8px 8px 0;
            margin: 1rem 0;
            color: #5a4a2a;
            font-family: 'Songti SC','STSong','SimSun','Noto Serif SC',serif;
            font-size: 15px;
            line-height: 1.9;
        }
        .m-article-body blockquote p:last-child { margin-bottom: 0; }
        /* 保留 Quill 编辑器的对齐样式 */
        .m-article-body [style*="text-align:justify"],
        .m-article-body [style*="text-align: justify"],
        .m-article-body p[style*="justify"] { text-align: justify !important; }
        .m-article-body [style*="text-align:center"],
        .m-article-body [style*="text-align: center"],
        .m-article-body p[style*="center"] { text-align: center !important; }
        .m-article-body [style*="text-align:right"],
        .m-article-body [style*="text-align: right"],
        .m-article-body p[style*="right"] { text-align: right !important; }
        .m-article-body [style*="text-align:left"],
        .m-article-body [style*="text-align: left"],
        .m-article-body p[style*="left"] { text-align: left !important; }
        /* 字号调节（手机端） */
        .m-font-size-bar {
            display: flex; align-items: center; gap: 5px; margin-bottom: 14px;
            padding: 10px; background: #fff; border-radius: 10px;
            border: 1px solid #e8d5a3;
        }
        .m-font-size-bar .fs-label {
            font-size: .82rem; color: #999; margin-right: 2px;
            display: flex; align-items: center; gap: 3px; white-space: nowrap;
        }
        .m-font-size-bar .fs-btn {
            width: 36px; height: 36px; border-radius: 8px; border: 1px solid #e0d0b0;
            background: #fff; color: #333; font-size: .95rem; font-weight: 400;
            display: flex; align-items: center; justify-content: center;
            -webkit-tap-highlight-color: transparent;
            user-select: none; line-height: 1; cursor: pointer;
        }
        .m-font-size-bar .fs-btn.active { background: #8B1A1A; color: #fff; border-color: #8B1A1A; }
        .m-font-size-bar .fs-reset {
            padding: 0 10px; height: 36px; border-radius: 8px; border: 1px solid #e0d0b0;
            background: #fff; color: #999; font-size: .8rem; cursor: pointer; white-space: nowrap;
            -webkit-tap-highlight-color: transparent;
        }
        /* 页面标题横幅 */
        .m-page-header {
            background: linear-gradient(135deg, #1a0a05 0%, #3D1408 100%);
            padding: 20px 16px 16px;
            text-align: center;
            position: relative;
        }
        .m-page-header h1 {
            font-family: 'Noto Serif SC', 'Songti SC', serif;
            color: #C8A96E;
            font-size: 1.3rem;
            margin: 0;
            letter-spacing: 2px;
        }
        .m-page-header .m-back-btn {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
        }
        /* 表格样式（移动端横向滚动） */
        .m-article-body table {
            width: 100%;
            max-width: 100%;
            border-collapse: collapse;
            margin: 1rem 0;
            table-layout: auto;
            font-size: 13px;
        }
        .m-article-body table th,
        .m-article-body table td {
            border: 1px solid #ddd;
            padding: 6px 8px;
            min-width: 40px;
            text-align: left;
            vertical-align: top;
            word-break: break-word;
        }
        .m-article-body table th {
            background: #f5f0eb;
            font-weight: 400;
            color: #8B1A1A;
            text-align: center;
        }
        .m-article-body table tr:nth-child(even) {
            background: #fdf8f0;
        }
        /* 营销卡片（手机版长条，置于字号调节上方，不占大块面积） */
        .m-mkt-card {
            display: flex; align-items: center; gap: 10px;
            padding: 9px 12px; border-radius: 10px; margin-bottom: 14px;
            background: linear-gradient(135deg,#1a0a05 0%,#3D1408 100%);
            border: 1px solid rgba(200,169,110,0.30);
        }
        .m-mkt-card.m-mkt-gold { background: linear-gradient(135deg,#3D1408 0%,#6B1414 100%); border-color: rgba(200,169,110,0.45); }
        .m-mkt-card.m-mkt-vip  { background: linear-gradient(135deg,#3a1a4d 0%,#5a2a6d 100%); border-color: rgba(200,169,110,0.45); }
        .m-mkt-card.m-mkt-expire { background: linear-gradient(135deg,#6B1414 0%,#A52A2A 100%); border-color: rgba(255,200,160,0.45); }
        .m-mkt-card.m-mkt-back { background: linear-gradient(135deg,#5C2E14 0%,#A0522D 100%); border-color: rgba(255,214,170,0.45); }
        .m-mkt-card .m-mkt-ico { font-size: 1.35rem; line-height: 1; flex-shrink: 0; }
        .m-mkt-card .m-mkt-main { flex: 1; min-width: 0; }
        .m-mkt-card .m-mkt-title { color: #C8A96E; font-size: .86rem; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .m-mkt-card .m-mkt-desc { color: rgba(232,213,163,0.72); font-size: .72rem; line-height: 1.4; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .m-mkt-card .m-mkt-desc a { color: #E8D5A3; text-decoration: underline; }
        .m-mkt-card .m-mkt-btn {
            flex-shrink: 0; background: #C8A96E; color: #1a0a05;
            font-size: .76rem; font-weight: 600; padding: 6px 12px; border-radius: 16px;
            text-decoration: none; white-space: nowrap; line-height: 1.2;
        }
        .m-mkt-card.m-mkt-vip .m-mkt-btn { background: #E8D5A3; }
        .m-mkt-card.m-mkt-expire .m-mkt-btn { background: #FFE3CF; }
        .m-mkt-card.m-mkt-back .m-mkt-btn { background: #FFD9B3; }

/* ===== 易学文章详情（2026-11-20 新增，与养生文章共用 article.css）===== */
.m-article-summary-box {
    background: #FAF7F0;
    border-left: 3px solid #C8A96E;
    border-radius: 0 8px 8px 0;
    padding: 10px 13px;
    margin: 10px 0 14px;
    font-size: .84rem;
    line-height: 1.85;
    color: #6b5b3e;
}
.m-article-note {
    font-size: .74rem;
    color: #999;
    line-height: 1.8;
    background: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 14px;
}
.m-article-related { margin-top: 18px; }
.m-article-related h4 {
    font-family: 'Noto Serif SC', serif;
    color: #1a4d3c;
    font-size: .95rem;
    margin-bottom: .6rem;
}
.m-article-related-item {
    display: block;
    text-decoration: none;
    border: 1px solid #f0ebe3;
    border-radius: 8px;
    padding: 9px 11px;
    margin-bottom: 8px;
    background: #fff;
}
.m-article-related-item .t {
    display: block;
    font-size: .86rem;
    line-height: 1.6;
    color: #2c1810;
}
.m-article-related-item .d {
    display: block;
    font-size: .72rem;
    color: #aaa;
    margin-top: 3px;
}
