/* ========== 黄金智析 · 专业排版 V3.2 ========== */

:root {
    --report-bg: #1a1f2e;
    --report-text: #e0e0e0;
    --report-heading: #ffd700;
    --report-muted: #9aa9c1;
}

/* ═══ 全局字体 ═══ */
.report-content,
.report-content * {
    font-family: 'UKIJ Tuz', 'Alkatip Tor', 'Alkatip', 'Microsoft Uighur', 'Segoe UI', 'PingFang SC', sans-serif !important;
}

/* ═══ 容器 ═══ */
.report-content {
    background-color: var(--report-bg) !important;
    color: var(--report-text) !important;
    padding: 28px 24px !important;
    border-radius: 20px;
    line-height: 1.8;
    font-size: 16px;
    font-weight: 400;
    word-wrap: break-word;
    text-align: justify;
}

/* ═══ 大标题 H1：居中 ═══ */
.report-content .report-main-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--report-heading) !important;
    text-align: center !important;
    margin: 0 0 32px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    text-indent: 0 !important;
}

/* ═══ 二级标题 H2：左对齐 ═══ */
.report-content .section-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--report-heading) !important;
    margin: 40px 0 20px 0 !important;
    padding: 0 !important;
    text-align: left !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-indent: 0 !important;
}

.report-content .section-icon {
    font-size: 22px !important;
    line-height: 1 !important;
    flex-shrink: 0;
}

/* ═══ 三级标题 H3：左对齐 ═══ */
.report-content .subsection-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--report-heading) !important;
    margin: 32px 0 16px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid var(--report-heading) !important;
    text-align: left !important;
    line-height: 1.4 !important;
    text-indent: 0 !important;
}

/* ═══ 所有标题不缩进 ═══ */
.report-content h1,
.report-content h2,
.report-content h3,
.report-content h4,
.report-content h5,
.report-content h6 {
    text-indent: 0 !important;
}

/* ═══ 正文段落：首行缩进 2 字符（覆盖新旧数据） ═══ */
.report-content p {
    text-indent: 2em !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: var(--report-text) !important;
    line-height: 1.8 !important;
    text-align: justify !important;
    word-break: break-word;
}

/* 空段落不缩进 */
.report-content p:empty {
    text-indent: 0 !important;
    margin-bottom: 16px !important;
}

/* 过滤后的 content-line */
.report-content .content-line {
    text-indent: 2em !important;
    margin: 0 0 8px 0 !important;
}

.report-content .content-line:empty {
    text-indent: 0 !important;
    margin-bottom: 16px !important;
}

/* ═══ 列表项不缩进（由浏览器默认处理） ═══ */
.report-content li {
    text-indent: 0 !important;
}

/* ═══ 引用块 ═══ */
.report-content blockquote {
    text-indent: 0 !important;
    margin: 16px 0 !important;
    padding: 12px 20px !important;
    border-left: 3px solid var(--report-heading) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 0 8px 8px 0 !important;
}

.report-content blockquote p {
    text-indent: 0 !important;
    margin-bottom: 4px !important;
}

/* ═══ 加粗强调 ═══ */
.report-content strong,
.report-content b {
    font-weight: 600 !important;
    color: var(--report-heading) !important;
}

/* ═══ RTL：维语缩进方向翻转 ═══ */
[dir="rtl"] .report-content {
    text-align: justify !important;
}

[dir="rtl"] .report-content .section-title,
[dir="rtl"] .report-content .subsection-title {
    text-align: right !important;
}

[dir="rtl"] .report-content blockquote {
    border-left: none !important;
    border-right: 3px solid var(--report-heading) !important;
    border-radius: 8px 0 0 8px !important;
}

/* ═══ 移动端 ═══ */
@media (max-width: 767px) {
    .report-content {
        padding: 18px 16px !important;
        font-size: 15px !important;
    }
    .report-content .report-main-title {
        font-size: 22px !important;
    }
    .report-content .section-title {
        font-size: 18px !important;
    }
    .report-content .subsection-title {
        font-size: 17px !important;
    }
    .report-content p {
        font-size: 15px !important;
    }
}