/* ============================================================
   张群○春秋 · 阅读页样式
   与 index.html 共享水墨丹青配色
   ============================================================ */

:root {
    --ink-deep: #2a241c;
    --ink: #4a3f33;
    --ink-light: #6b5e4f;
    --paper: #f6f1e6;
    --seal: #a93226;
    --line: rgba(74, 63, 51, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(169, 50, 38, 0.05), transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(184, 134, 11, 0.03), transparent 60%),
        var(--paper);
    color: var(--ink);
    font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", "宋体", serif;
    line-height: 2;
    min-height: 100vh;
}

.page {
    max-width: 760px;
    margin: 0 auto;
    padding: 50px 32px 60px;
}

/* ===== Header ===== */
.header {
    position: relative;
    text-align: center;
    padding: 30px 0 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--line);
}

.header .back {
    position: absolute;
    top: 28px;
    left: 0;
    color: var(--ink-light);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    transition: color 0.2s ease;
}

.header .back:hover { color: var(--seal); }

.header .title {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 6px;
    color: var(--ink-deep);
    margin-bottom: 10px;
    padding-left: 6px;
}

.header .subtitle {
    font-size: 12px;
    letter-spacing: 6px;
    color: var(--ink-light);
    opacity: 0.7;
    padding-left: 6px;
}

/* ===== Article ===== */
.article {
    font-size: 19px;
    line-height: 2.05;
    color: var(--ink);
    text-align: justify;
    padding: 0 4px;
}

.article p {
    margin-bottom: 0;
    text-indent: 2em;
}

.article h2 {
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--seal);
    margin: 40px 0 18px;
    padding-left: 4px;
}

.article h2::before,
.article h2::after {
    content: "·";
    margin: 0 12px;
    opacity: 0.5;
    color: var(--ink-light);
}

.article em {
    font-style: normal;
    color: var(--seal);
    font-weight: 500;
}

/* ===== Footer ===== */
.footer {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    text-align: center;
}

.footer .back {
    position: static;
    display: inline-block;
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 3px;
    padding: 7px 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: all 0.2s ease;
    margin-bottom: 18px;
}

.footer .back:hover {
    background: var(--ink-deep);
    color: var(--paper);
    border-color: var(--ink-deep);
}

.footer .copyright {
    font-size: 12px;
    color: var(--ink-light);
    letter-spacing: 1.5px;
    opacity: 0.55;
    line-height: 2;
}

.footer .copyright a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted currentColor;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .page { padding: 30px 18px 40px; }
    .header { padding: 20px 0 30px; margin-bottom: 26px; }
    .header .back { top: 18px; font-size: 12px; }
    .header .title { font-size: 26px; letter-spacing: 4px; }
    .header .subtitle { letter-spacing: 5px; font-size: 11px; }
    .article { font-size: 17px; line-height: 2; }
    .article h2 { font-size: 16px; margin: 32px 0 14px; }
}