:root {
    color-scheme: light dark;
    --background: #ffffff;
    --text: #202124;
    --muted: #5f6368;
    --link: #0b57d0;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px;
    background: var(--background);
    color: var(--text);
    font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    overflow-wrap: anywhere;
}

h1 { margin: 0 0 4px; text-align: center; font-size: 1.7rem; line-height: 1.35; }
h2 { margin: 2rem 0 0.65rem; font-size: 1.18rem; line-height: 1.45; }
h3 { margin: 1.25rem 0 0.45rem; font-size: 1rem; }
p { margin: 0.55rem 0; }
ol, ul { margin: 0.5rem 0; padding-left: 1.4rem; }
li { margin: 0.35rem 0; }
a { color: var(--link); text-underline-offset: 0.15em; }
.update-date { margin-bottom: 1.5rem; color: var(--muted); text-align: center; font-size: 0.875rem; }
.indent { text-indent: 2em; }
.notice {
    margin: 1rem 0;
    padding: 0.25rem 0 0.25rem 1rem;
    border-left: 3px solid var(--text);
    background: transparent;
}
.important { font-weight: 650; }
.highlight {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
}
.meta { color: var(--muted); font-size: 0.9rem; }
footer { margin-top: 2rem; color: var(--muted); text-align: right; font-size: 0.875rem; }
.document-separator {
    margin: 3rem 0;
    border: 0;
    border-top: 1px solid var(--muted);
    opacity: 0.45;
}

@media (max-width: 480px) {
    body { padding: 18px 16px 32px; }
    h1 { font-size: 1.5rem; }
    ol, ul { padding-left: 1.2rem; }
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #121316;
        --text: #e8eaed;
        --muted: #a9adb5;
        --link: #a8c7fa;
    }
}
