:root {
    --ink: #1d2939;
    --muted: #667085;
    --line: #e4e7ec;
    --surface: #f7f8fa;
    --paper: #ffffff;
    --blue: #2f6fed;
    --blue-dark: #1f4fb8;
    --orange: #e8834f;
    --green: #419b78;
    --purple: #7165c1;
    --yellow: #d4a72c;
    --shadow: 0 16px 40px rgba(16, 24, 40, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Aptos", "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--ink); font-size: 17px; }
.site-header nav { min-width: 0; display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.site-header nav::-webkit-scrollbar { display: none; }
.nav-topic { color: var(--muted); }
.site-header nav a:hover, .back-link:hover, .sidebar-topic:hover { color: var(--blue); }
.nav-admin { color: var(--ink); font-weight: 700; }
.home-intro { padding: 108px 0 76px; }
.eyebrow { color: var(--blue); font-size: 12px; line-height: 1.2; letter-spacing: .14em; font-weight: 800; }
.home-intro h1 { margin: 22px 0 18px; max-width: 740px; font-size: clamp(42px, 6vw, 76px); line-height: 1.09; letter-spacing: -.065em; font-weight: 800; }
.home-intro h1 span { color: var(--blue); }
.lead { max-width: 510px; color: var(--muted); font-size: 19px; line-height: 1.7; margin: 0; }
.home-meta { margin-top: 27px; display: flex; align-items: center; gap: 10px; color: #98a2b3; font-size: 13px; }
.meta-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--green); }
.meta-divider { display: inline-block; width: 24px; height: 1px; background: var(--line); vertical-align: middle; margin: 0 5px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.topic-card { min-height: 292px; padding: 25px 24px 22px; display: flex; flex-direction: column; border: 1px solid transparent; border-radius: 17px; transition: transform .2s ease, box-shadow .2s ease; }
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.topic-card-1 { background: #eaf1ff; border-color: #d9e6ff; }.topic-card-1 h2 { color: #275cc7; }
.topic-card-2 { background: #fff1e9; border-color: #ffe2d3; }.topic-card-2 h2 { color: #bb5f2e; }
.topic-card-3 { background: #eaf7f1; border-color: #d6efe3; }.topic-card-3 h2 { color: #2b7c5c; }
.topic-card-4 { background: #f1efff; border-color: #e4e0ff; }.topic-card-4 h2 { color: #5d51ae; }
.topic-card-top { display: flex; justify-content: space-between; align-items: center; color: rgba(29,41,57,.47); font-size: 12px; font-weight: 800; }
.arrow-icon { display: inline-block; position: relative; width: 18px; height: 18px; flex: 0 0 18px; color: currentColor; vertical-align: -4px; transition: transform .22s ease, color .22s ease; }
.arrow-icon::before, .arrow-icon::after { content: ""; position: absolute; display: block; }
.arrow-icon::before { left: 3px; top: 8px; width: 11px; height: 1.5px; background: currentColor; border-radius: 999px; }
.arrow-icon::after { top: 4px; right: 2px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; border-radius: 0 2px 0 0; transform: rotate(45deg); }
.arrow-icon-left { transform: rotate(180deg); }
.arrow-icon-up { transform: rotate(-45deg); }
.arrow-icon-right { transform: rotate(0deg); }
.topic-arrow { width: 22px; height: 22px; flex-basis: 22px; color: rgba(29,41,57,.52); vertical-align: 0; }
.topic-card:hover .topic-arrow { transform: rotate(-45deg) translate(3px, -2px); color: var(--ink); }
.topic-card h2 { margin: 58px 0 9px; font-size: 26px; letter-spacing: -.04em; line-height: 1.2; }.topic-card p { margin: 0; color: #667085; font-size: 14px; line-height: 1.65; }
.topic-link { display: inline-flex; align-items: center; width: fit-content; margin-top: auto; padding-top: 23px; font-size: 14px; font-weight: 800; }.topic-link .arrow-icon { margin-left: 8px; vertical-align: -5px; }.topic-link:hover { text-decoration: underline; }.topic-link:hover .arrow-icon { transform: translateX(3px); }.topic-link-muted { color: #98a2b3; }
.article-list-section { padding: 102px 0 118px; }.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; }.section-heading h2 { margin: 12px 0 0; font-size: 31px; letter-spacing: -.04em; }.section-count { color: #98a2b3; font-size: 13px; }
.article-list { border-top: 1px solid var(--line); }.article-row { display: flex; justify-content: space-between; gap: 30px; padding: 25px 4px; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }.article-row:hover { padding-left: 14px; padding-right: 14px; background: var(--surface); }.article-row-main { min-width: 0; }.article-topic-label { color: var(--blue); font-size: 12px; font-weight: 800; }.article-row h3 { margin: 3px 0 3px; font-size: 21px; letter-spacing: -.025em; }.article-row p { margin: 0; color: var(--muted); font-size: 14px; }.article-row-side { display: flex; gap: 21px; align-items: center; color: #98a2b3; font-size: 13px; white-space: nowrap; }.row-arrow { width: 20px; height: 20px; flex-basis: 20px; color: var(--ink); vertical-align: -5px; }.article-row:hover .row-arrow { transform: rotate(-45deg) translate(3px, -2px); }
.site-footer { padding: 25px 0; border-top: 1px solid var(--line); color: #98a2b3; font-size: 12px; }.site-footer .shell { display: flex; justify-content: space-between; gap: 15px; }
.reading-shell { padding: 55px 0 100px; }.reading-layout { display: grid; grid-template-columns: 190px minmax(0, 700px) 190px; justify-content: space-between; gap: 45px; }.reading-sidebar, .toc { position: sticky; top: 112px; align-self: start; }.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; margin-bottom: 44px; }.back-link .arrow-icon { width: 15px; height: 15px; flex-basis: 15px; vertical-align: -3px; }.sidebar-label { color: #98a2b3; font-size: 12px; letter-spacing: .1em; font-weight: 800; margin-bottom: 13px; }.sidebar-topic-group + .sidebar-topic-group { margin-top: 10px; }.sidebar-topic { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; color: var(--muted); font-size: 14px; border-bottom: 1px solid transparent; }.sidebar-topic.is-active { color: var(--blue); font-weight: 800; }.sidebar-arrow { width: 16px; height: 16px; flex-basis: 16px; color: #98a2b3; vertical-align: -4px; }.sidebar-topic:hover .sidebar-arrow { transform: rotate(-45deg) translate(2px, -1px); }.sidebar-topic.is-active .sidebar-arrow { color: var(--blue); }.sidebar-article-list { margin: 1px 0 2px 7px; padding: 4px 0 5px 12px; border-left: 1px solid var(--line); }.sidebar-article { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; color: #98a2b3; font-size: 12px; line-height: 1.45; transition: color .2s ease; }.sidebar-article:hover { color: var(--blue); }.sidebar-article.is-active { color: var(--ink); font-weight: 700; }.sidebar-article-marker { width: 4px; height: 4px; flex: 0 0 4px; margin-top: 7px; border: 1px solid #cfd5df; border-radius: 50%; }.sidebar-article.is-active .sidebar-article-marker { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 3px #edf3ff; }.sidebar-note { margin-top: 47px; display: flex; gap: 9px; color: #98a2b3; font-size: 12px; line-height: 1.5; }
.article-kicker { color: var(--blue); font-size: 12px; font-weight: 800; }.article-kicker time { color: #98a2b3; font-weight: 500; }.reading-content h1 { margin: 17px 0 15px; font-size: clamp(36px, 5vw, 56px); letter-spacing: -.06em; line-height: 1.15; }.article-excerpt { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }.reading-rule { height: 1px; background: var(--line); margin: 39px 0 37px; }.toc-item { display: block; padding: 6px 0 6px 12px; color: #98a2b3; font-size: 13px; border-left: 1px solid var(--line); }.toc-item:hover { color: var(--blue); border-color: var(--blue); }.toc-level-2 { padding-left: 23px; }.toc-level-3 { padding-left: 34px; font-size: 12px; }
.markdown-body { font-size: 17px; line-height: 1.9; color: #344054; }.markdown-body h1, .markdown-body h2, .markdown-body h3 { color: var(--ink); line-height: 1.35; letter-spacing: -.035em; scroll-margin-top: 100px; }.markdown-body h1 { font-size: 32px; margin: 45px 0 17px; }.markdown-body h2 { font-size: 25px; margin: 39px 0 13px; }.markdown-body h3 { font-size: 20px; margin: 30px 0 10px; }.markdown-body p { margin: 0 0 21px; }.markdown-body strong { color: var(--ink); }.markdown-body a { color: var(--blue); text-decoration: underline; text-decoration-color: #b8caf6; text-underline-offset: 3px; }.markdown-body ul, .markdown-body ol { padding-left: 26px; margin: 0 0 23px; }.markdown-body li { padding-left: 5px; margin: 5px 0; }.markdown-body blockquote { margin: 25px 0; padding: 15px 20px; color: #475467; background: var(--surface); border-left: 3px solid var(--blue); }.markdown-body pre { overflow-x: auto; margin: 25px 0; padding: 18px 20px; background: #17202f; color: #dbe5f4; border-radius: 10px; font: 14px/1.7 Consolas, monospace; }.markdown-body code { padding: 2px 6px; color: #1c4eac; background: #edf3ff; border-radius: 5px; font: .88em Consolas, monospace; }.markdown-body pre code { padding: 0; color: inherit; background: transparent; }.markdown-body img { display: block; max-width: 100%; margin: 25px auto; border-radius: 10px; }.markdown-body hr { margin: 35px 0; border: 0; border-top: 1px solid var(--line); }
.article-pager { display: flex; justify-content: space-between; gap: 18px; margin-top: 75px; padding-top: 23px; border-top: 1px solid var(--line); }.article-pager a { display: flex; flex-direction: column; gap: 5px; max-width: 48%; }.article-pager span { color: #98a2b3; font-size: 12px; }.article-pager strong { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; }.article-pager strong .arrow-icon { width: 15px; height: 15px; flex-basis: 15px; color: currentColor; vertical-align: -3px; }.pager-next { text-align: right; margin-left: auto; }
.error-page { padding: 120px 0; min-height: 58vh; }.error-page h1 { margin: 18px 0 10px; font-size: 42px; letter-spacing: -.05em; }.error-page p { color: var(--muted); }.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; padding: 10px 16px; font: inherit; cursor: pointer; }.button-dark { color: #fff; background: var(--ink); }.button-primary { color: #fff; background: var(--blue); }.button-light { color: var(--ink); background: #eef2f6; }.button-danger { color: #b42318; background: #fff0ee; }.button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 1000px) { .reading-layout { grid-template-columns: 170px minmax(0, 1fr); }.toc { display: none; } }
@media (max-width: 720px) { .shell { width: min(100% - 32px, 560px); }.nav-inner { height: 62px; }.site-header nav { gap: 13px; flex: 1 1 auto; }.home-intro { padding: 67px 0 51px; }.home-intro h1 { font-size: 46px; }.lead { font-size: 17px; }.home-meta { flex-wrap: wrap; }.topic-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.topic-card { min-height: 246px; padding: 19px 17px; }.topic-card h2 { margin-top: 35px; font-size: 21px; }.topic-card p { font-size: 13px; }.article-list-section { padding: 74px 0 82px; }.section-heading h2 { font-size: 26px; }.article-row { gap: 12px; }.article-row p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }.article-row-side { flex-direction: column; justify-content: space-between; gap: 3px; align-items: end; }.row-arrow { width: 18px; height: 18px; flex-basis: 18px; }.site-footer .shell { flex-direction: column; gap: 4px; }.reading-shell { padding-top: 31px; }.reading-layout { display: block; }.reading-sidebar { position: static; margin-bottom: 43px; }.back-link { margin-bottom: 22px; }.sidebar-topic { display: inline-flex; margin: 3px 16px 3px 0; padding: 4px 0; }.sidebar-note { display: none; }.reading-content h1 { font-size: 38px; }.markdown-body { font-size: 16px; line-height: 1.85; }.article-pager { margin-top: 55px; }.error-page h1 { font-size: 34px; } }
@media (max-width: 720px) { .sidebar-topic-group + .sidebar-topic-group { margin-top: 5px; }.sidebar-topic { display: flex; margin: 0; padding: 5px 0; }.sidebar-article-list { margin: 0 0 3px 5px; padding-top: 3px; }.sidebar-article { padding: 4px 0; } }
