/* ===== Ling-Universe 小说阅读模式 ===== */

:root {
    --text: #e6edf3;
    --bg: #0d1117;
    --muted: #9da7b1;
    --link: #79c0ff;

    --maxw: 42rem;
    --lh: 2.05;
    --p: 1.2rem;
}

/* ===== 基础排版 ===== */

body {
    background: var(--bg);
    color: var(--text);

    font-family:
        "Noto Serif SC",
        "Source Han Serif SC",
        "Songti SC",
        serif;

    line-height: var(--lh);
}

/* ===== 主体宽度 ===== */

main,
.page-content {
    max-width: var(--maxw);
    margin: 2.5rem auto;
    padding: 0 1.4rem;

    font-size: 20px;
}

/* ===== 中文小说段落优化 ===== */

.page-content p {
    margin-bottom: var(--p);
    text-indent: 2em;
}

/* ===== 标题优化 ===== */

.page-content h1 {
    text-indent: 0;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.page-content h2 {
    text-indent: 0;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ===== 移动端专用优化 ===== */

@media (max-width: 768px) {

    main,
    .page-content {
        font-size: 19px;
        padding: 0 1.1rem;
    }

    .page-content p {
        line-height: 2.15;
    }
}