* { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        :root {
            --accent: #3182ce;
            --accent-light: #7eb3e8;
            --accent-soft: rgba(49, 130, 206, 0.08);
            --accent-border: rgba(49, 130, 206, 0.2);
            --bg1: #f0f4f8; --bg2: #e2ecf5; --bg3: #f7f3ec;
            --card-bg: rgba(255, 255, 255, 0.85);
            --card-border: rgba(255, 255, 255, 0.6);
            --text: #2d3748;
            --text-light: #718096;
            --body-text: #334155;
            --h3-color: #2d5a87;
            --strong-color: #1a3a5c;
            --quote-bg: rgba(49, 130, 206, 0.06);
            --quote-border: #7c9ec9;
            --quote-color: #4a5568;
            --hr-color: #d1d9e2;
            --btn-shadow: rgba(49, 130, 206, 0.4);
        }
        @media (prefers-color-scheme: dark) {
            :root {
                --accent: #7eb3e8;
                --accent-light: #a8cdf0;
                --accent-soft: rgba(126, 179, 232, 0.12);
                --accent-border: rgba(126, 179, 232, 0.3);
                --bg1: #111827; --bg2: #0f172a; --bg3: #1a2332;
                --card-bg: rgba(30, 41, 59, 0.92);
                --card-border: rgba(100, 116, 139, 0.25);
                --text: #e2e8f0;
                --text-light: #94a3b8;
                --body-text: #cbd5e1;
                --h3-color: #93c5fd;
                --strong-color: #f1f5f9;
                --quote-bg: rgba(126, 179, 232, 0.08);
                --quote-border: #475569;
                --quote-color: #a0aec0;
                --hr-color: #334155;
                --btn-shadow: rgba(126, 179, 232, 0.35);
            }
        }
        body {
            font-family: "SF Pro Display", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
            background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 50%, var(--bg3) 100%);
            color: var(--text);
            margin: 0;
            padding: 20px;
            min-height: 100vh;
            -webkit-font-smoothing: antialiased;
        }
        .container { max-width: 820px; margin: 0 auto; }
        .article {
            background: var(--card-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 36px 40px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
            border: 1px solid var(--card-border);
        }
        .top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 10px; }
        .back-link {
            display: inline-block; color: var(--accent); text-decoration: none; font-weight: 500;
            font-size: 14px; padding: 8px 16px; border-radius: 999px;
            background: var(--accent-soft); border: 1px solid var(--accent-border);
            transition: all 0.3s;
        }
        .back-link:hover { background: var(--accent); color: #fff; }
        h1 { font-size: 1.7rem; line-height: 1.45; margin-bottom: 8px; }
        .meta { color: var(--text-light); font-size: 13px; margin-bottom: 26px; }
        .article-body { font-size: var(--read-font-size, 16.5px); font-family: var(--read-font-family, inherit); line-height: 1.9; color: var(--body-text); }
        .article-body h2 { font-size: 1.3rem; margin: 34px 0 14px; padding-left: 12px; border-left: 4px solid var(--accent); line-height: 1.5; }
        .article-body h3 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--h3-color); }
        .article-body p { margin: 0 0 16px; text-align: justify; }
        .article-body blockquote {
            margin: 18px 0; padding: 14px 18px;
            background: var(--quote-bg); border-left: 4px solid var(--quote-border);
            border-radius: 0 10px 10px 0; color: var(--quote-color); font-size: 15.5px;
        }
        .article-body ul, .article-body ol { margin: 0 0 16px 22px; }
        .article-body li { margin-bottom: 6px; }
        .article-body strong { color: var(--strong-color); }
        .article-body hr { border: none; border-top: 1px dashed var(--hr-color); margin: 26px 0; }
        .pager {
            display: flex; justify-content: space-between; gap: 12px;
            margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--accent-border);
        }
        .pager a { color: var(--accent); text-decoration: none; font-size: 14px; max-width: 45%; transition: opacity 0.2s; }
        .pager a:hover { opacity: 0.75; }
        .pager .next { text-align: right; }
        .pager .empty { visibility: hidden; }
        .top-btn {
            position: fixed; bottom: 24px; right: 24px; width: 40px; height: 40px;
            border-radius: 50%; border: none; background: var(--accent); color: #fff; cursor: pointer;
            display: none; align-items: center; justify-content: center;
            box-shadow: 0 4px 14px var(--btn-shadow); transition: all 0.3s; z-index: 100;
        }
        .top-btn:hover { transform: translateY(-2px); }
        .top-btn.show { display: flex; }

        /* ===== 阅读工具条 ===== */
        .reading-toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
        .tool-label { font-size: 12px; color: var(--text-light); margin-right: 2px; }
        .tool-btn {
            border: 1px solid var(--accent-border); background: var(--accent-soft); color: var(--accent);
            border-radius: 8px; padding: 4px 10px; font-size: 12px; cursor: pointer; transition: all 0.2s;
            font-family: inherit; line-height: 1.6;
        }
        .tool-btn:hover { background: var(--accent); color: #fff; }
        .tool-btn.active { background: var(--accent); color: #fff; }
        .tool-divider { width: 1px; height: 18px; background: var(--hr-color); margin: 0 4px; }

        /* ===== 阅读进度条 ===== */
        .reading-progress {
            position: fixed; top: 0; left: 0; height: 3px; width: 0;
            background: linear-gradient(90deg, var(--accent), var(--accent-light));
            z-index: 999; transition: width 0.08s linear;
        }
        @media (max-width: 640px) {
            body { padding: 12px; }
            .article { padding: 24px 18px; border-radius: 16px; }
            h1 { font-size: 1.35rem; }
            .article-body { font-size: calc(var(--read-font-size, 16.5px) - 1px); }
        }
        @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
