:root {
  --paper: #F2F6F4;
  --surface: #FFFFFF;
  --ink: #192C24;
  --muted: #52675C;
  --green: #145A42;
  --green-hover: #0B4934;
  --lime: #D8F36A;
  --line: #CCD9D1;
  --soft: #E5EEE8;
  --on-green: #FFFFFF;
  --footer: #103C2E;
  --footer-muted: #C3D6C9;
  --focus: #8A4909;
  --max: 1216px;
}
:root[data-mode="night"] {
  --paper: #14221B;
  --surface: #1C2E24;
  --ink: #F1F7F2;
  --muted: #B3C8BA;
  --green: #B9DF93;
  --green-hover: #C9E9AC;
  --lime: #D8F36A;
  --line: #486353;
  --soft: #2C4435;
  --on-green: #172A1F;
  --footer: #0B1B13;
  --footer-muted: #B3C8BA;
  --focus: #F5CD80;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 126px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif; font-size: 16px; line-height: 1.75; letter-spacing: 0; }
button, input, select, textarea { font: inherit; }
button, a, summary, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
button { color: inherit; }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 16px; font-weight: 700; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: 36px; }
h2 { font-size: 27px; }
h3 { font-size: 21px; }
ul, ol { padding-left: 1.4em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[v-cloak], .enhancement { display: none !important; }
.is-ready .enhancement { display: flex !important; }
.is-ready [v-cloak] { display: revert !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.shell { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 16px; padding: 12px 20px; background: var(--lime); color: #192C24; transform: translateY(-180%); z-index: 100; }
.skip:focus { transform: none; }
.utility { background: var(--green); color: var(--on-green); font-size: 13px; }
.utility .shell { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.masthead-row { display: flex; align-items: center; gap: 28px; min-height: 94px; padding-block: 14px; }
.wordmark { display: flex; gap: 12px; align-items: center; min-width: 0; max-width: 360px; }
.wordmark img { width: 48px; height: 48px; flex: 0 0 48px; }
.brand-title { font-weight: 700; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.brand-subtitle { color: var(--muted); font-size: 12px; font-weight: 400; display: block; }
.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; white-space: nowrap; }
.main-nav a { padding: 11px 0; font-size: 15px; border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"] { color: var(--green); border-color: var(--green); font-weight: 700; }
.header-tools { display: flex; gap: 8px; }
.icon-button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); }
.icon-button:hover { background: var(--soft); color: var(--green); }
.icon-button svg { width: 20px; height: 20px; }
.menu-toggle { display: none !important; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; margin: 24px 0; }
.breadcrumbs span[aria-current] { color: var(--ink); }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.cover { position: relative; min-height: 440px; display: flex; align-items: center; background: #244336; color: #FFFFFF; isolation: isolate; overflow: hidden; }
.cover > .cover-photo { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; z-index: -2; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(9, 36, 25, .72); }
.cover-content { padding-block: 44px; }
.cover .nonofficial { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: #E7F2E5; margin-bottom: 16px; }
.cover h1 { max-width: 850px; font-size: 38px; line-height: 1.6; margin-bottom: 14px; }
.cover p { color: #F1F7F0; max-width: 640px; font-size: 17px; }
.cover a:hover { color: #192C24; }
.cover-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 20px; border: 1px solid var(--green); border-radius: 4px; background: var(--green); color: var(--on-green); font-size: 15px; font-weight: 700; line-height: 1.6; }
.button:hover { background: var(--green-hover); color: var(--on-green); }
.button svg { width: 18px; height: 18px; }
.button-lime { background: var(--lime); border-color: var(--lime); color: #192C24; }
.button-lime:hover { background: #E5FA99; color: #192C24; }
.button-outline { background: transparent; color: var(--green); }
.cover .button-outline { border-color: #D4E7D8; color: #FFFFFF; }
.cover .button-outline:hover { background: #FFFFFF; color: #192C24; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: var(--green); font-weight: 700; }
.text-link svg { width: 18px; height: 18px; }
.editor-note { padding: 22px 0; border-bottom: 1px solid var(--line); }
.editor-note .shell { display: flex; gap: 30px; align-items: baseline; }
.editor-note strong { color: var(--green); flex-shrink: 0; font-size: 15px; }
.editor-note p { margin: 0; font-size: 15px; color: var(--muted); max-width: 880px; }
.band { padding-block: 48px; }
.band-white { background: var(--surface); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; }
.section-heading p { color: var(--muted); margin: 5px 0 0; font-size: 15px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.topic-entry { display: flex; gap: 18px; align-items: start; padding: 25px 0; border-bottom: 1px solid var(--line); }
.topic-entry > svg { width: 26px; height: 26px; color: var(--green); margin-top: 3px; }
.topic-entry h3 { font-size: 18px; margin: 0 0 5px; }
.topic-entry p { font-size: 14px; color: var(--muted); margin: 0; }
.topic-entry:hover h3, .story:hover h3 { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 34px 28px; }
.story { min-width: 0; }
.story-image { overflow: hidden; aspect-ratio: 1.7; background: var(--soft); margin-bottom: 17px; border-radius: 4px; position: relative; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-meta { color: var(--muted); font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.story-meta .category { color: var(--green); font-weight: 700; font-size: 13px; }
.story h3 { font-size: 20px; margin-bottom: 9px; }
.story p { font-size: 14px; color: var(--muted); margin-bottom: 12px; line-height: 1.8; }
.story-bottom { font-size: 13px; display: flex; justify-content: space-between; align-items: center; color: var(--green); border-top: 1px solid var(--line); padding-top: 12px; }
.story-bottom svg { width: 17px; height: 17px; }
.reading-strip { display: grid; grid-template-columns: .9fr 1.8fr; gap: 60px; padding: 40px 0; }
.reading-strip h2 { font-size: 27px; }
.reading-strip > div > p { color: var(--muted); font-size: 15px; }
.reading-list { list-style: none; padding: 0; margin: 0; }
.reading-list li { border-bottom: 1px solid var(--line); }
.reading-list a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; }
.reading-list span { color: var(--muted); font-size: 13px; white-space: nowrap; align-self: center; }
.reading-list strong { font-size: 17px; font-weight: 500; }
.risk-band { background: var(--soft); border-block: 1px solid var(--line); padding-block: 32px; }
.risk-layout { display: flex; gap: 24px; align-items: start; }
.risk-layout > svg { width: 28px; height: 28px; color: var(--green); }
.risk-layout > div { flex: 1; min-width: 0; }
.risk-layout h2 { font-size: 21px; margin-bottom: 8px; }
.risk-layout p { font-size: 14px; margin: 0; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 19px 4px; font-weight: 700; line-height: 1.7; }
summary:hover { color: var(--green); }
details > div { padding: 0 4px 19px; color: var(--muted); font-size: 15px; }
.faq-columns { display: grid; grid-template-columns: .75fr 1.4fr; gap: 72px; }
.faq-columns > div:first-child p { color: var(--muted); font-size: 15px; }
.page-intro { padding: 12px 0 28px; max-width: 840px; }
.page-intro p { color: var(--muted); font-size: 17px; margin: 0; }
.page-intro .nonofficial { display: inline-block; padding: 3px 9px; margin-bottom: 12px; font-size: 13px; background: var(--soft); color: var(--green); }
.library-layout { padding-bottom: 60px; }
.filterbar { display: grid; grid-template-columns: 1.8fr 1fr 1fr auto; gap: 16px; align-items: end; background: var(--surface); border-block: 1px solid var(--line); padding: 23px 0; margin: 8px 0 20px; }
.is-ready .filterbar.enhancement { display: grid !important; }
.filterbar label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
input, select, textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 3px; padding: 10px 12px; color: var(--ink); background: var(--surface); font-size: 16px; }
textarea { resize: vertical; min-height: 180px; }
input::placeholder, textarea::placeholder { color: var(--muted); }
.filterbar .button { width: 46px; height: 46px; padding: 0; }
.result-count { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.empty-results { padding: 64px 16px; text-align: center; border-block: 1px solid var(--line); }
.empty-results h2 { font-size: 24px; }
.empty-results p { color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 790px) 280px; gap: 64px; align-items: start; padding-bottom: 60px; }
.article-main { min-width: 0; }
.article-main h1 { font-size: 34px; }
.article-summary { color: var(--muted); font-size: 18px; margin: 16px 0 24px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); margin: 16px 0 24px; }
.article-figure { margin: 24px 0 32px; }
.article-figure img { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; border-radius: 4px; }
figcaption { font-size: 12px; color: var(--muted); padding-top: 9px; }
.takeaway { border-left: 4px solid var(--green); padding: 14px 20px; background: var(--soft); margin: 28px 0; font-size: 17px; }
.article-body { font-size: 17px; line-height: 2; }
.article-body section { scroll-margin-top: 130px; margin-bottom: 32px; }
.article-body h2 { font-size: 24px; margin: 32px 0 16px; }
.article-body p { margin-bottom: 20px; }
.diagram-figure { margin: 32px 0; }
.diagram-figure img { width: 100%; height: auto; background: #F2F6F4; border: 1px solid var(--line); }
.diagram-figure picture { display: block; }
.article-sidebar { position: sticky; top: 122px; }
.article-sidebar h2 { font-size: 15px; margin-bottom: 12px; }
.toc { border-left: 1px solid var(--line); padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.toc a { font-size: 13px; color: var(--muted); padding: 7px 0; line-height: 1.7; }
.toc a[aria-current="location"] { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.sidebar-note { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; color: var(--muted); font-size: 13px; }
.sidebar-note strong { color: var(--ink); }
.article-disclosure { border-top: 1px solid var(--line); padding-top: 24px; font-size: 14px; color: var(--muted); }
.article-disclosure strong { color: var(--green); }
.related { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.related h2 { font-size: 23px; }
.prose { max-width: 800px; padding-bottom: 60px; font-size: 17px; }
.prose h2 { margin-top: 32px; font-size: 24px; }
.prose li { margin-bottom: 10px; }
.contact-form { margin-top: 30px; }
.contact-form label { display: block; margin: 16px 0 6px; font-size: 15px; font-weight: 700; }
.contact-form .button { margin-top: 16px; }
.preview { white-space: pre-wrap; background: var(--soft); padding: 20px; margin-top: 24px; overflow-wrap: anywhere; }
.preview h2 { margin-top: 0; font-size: 20px; }
.site-footer { background: var(--footer); color: #F2F7F1; padding-top: 40px; }
.footer-main { display: grid; grid-template-columns: 1.5fr .7fr .7fr 1fr; gap: 40px; padding-bottom: 30px; }
.footer-brand { display: flex; align-items: start; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; flex: 0 0 44px; }
.footer-brand strong { display: block; font-size: 15px; line-height: 1.8; }
.footer-brand p { font-size: 13px; color: var(--footer-muted); margin: 8px 0 0; }
.footer-main h2 { font-size: 14px; color: #E7F3D5; margin-bottom: 12px; }
.footer-nav { display: flex; flex-direction: column; align-items: start; gap: 3px; font-size: 13px; color: var(--footer-muted); }
.footer-nav a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-nav a:hover { color: var(--lime); }
.footer-reading { font-size: 13px; color: var(--footer-muted); line-height: 1.9; }
.footer-reading .text-link { color: var(--lime); font-size: 13px; }
.footer-statement { border-block: 1px solid #446655; padding-block: 18px; color: var(--footer-muted); font-size: 12px; }
.footer-statement p { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; font-size: 12px; color: var(--footer-muted); overflow-wrap: anywhere; }
.backtop { position: fixed; right: 24px; bottom: 24px; z-index: 25; background: var(--green); color: var(--on-green); border-color: var(--green); }
.broken-image { display: grid; place-items: center; background: var(--soft); }
.broken-image img, .broken-image picture { display: none; }
.broken-image::after { content: "主题配图暂不可用"; padding: 24px; font-size: 14px; color: var(--muted); }
.article-figure.broken-image { aspect-ratio: 1.9; }
.diagram-figure.broken-image { aspect-ratio: 1200 / 540; }
noscript .no-js { padding: 12px; background: var(--soft); font-size: 14px; }
@media (min-width: 1600px) { .cover { min-height: 450px; } }
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .is-ready .menu-toggle { display: inline-flex !important; }
  .header-tools { margin-left: auto; }
  .masthead-row { min-height: 88px; }
  .main-nav.is-open { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); position: absolute; top: 100%; inset-inline: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px 32px 20px; gap: 8px 20px; box-shadow: 0 10px 16px #103C2E14; white-space: normal; }
  .main-nav.is-open a { text-align: center; }
  body:not(.is-ready) .main-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; width: 100%; margin: 0; }
  body:not(.is-ready) .masthead-row { flex-wrap: wrap; }
  .article-layout { grid-template-columns: minmax(0,1fr) 240px; gap: 30px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
  .footer-reading { grid-column: 1 / -1; max-width: 800px; }
  .filterbar { grid-template-columns: 1.5fr 1fr 1fr auto; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .utility .shell > span:last-child { display: none; }
  .cover h1 { font-size: 32px; }
  .cover { min-height: 440px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 24px; }
  .story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reading-strip, .faq-columns { grid-template-columns: 1fr; gap: 16px; }
  .reading-strip { padding-block: 0; }
  .article-layout { display: flex; flex-direction: column; gap: 24px; }
  .article-sidebar { position: static; order: -1; width: 100%; }
  .article-sidebar .sidebar-note { display: none; }
  .toc { display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px 18px; }
  .toc a { font-size: 12px; }
  .article-main h1 { font-size: 30px; }
  .filterbar { grid-template-columns: 1fr 1fr 46px; }
  .filterbar > div:first-child { grid-column: 1 / -1; }
  .editor-note .shell { gap: 12px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; max-width: 650px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 36px); }
  .utility { font-size: 12px; }
  .masthead-row { gap: 8px; padding-block: 12px; min-height: 88px; }
  .wordmark { gap: 8px; flex: 1; }
  .wordmark img { width: 36px; height: 36px; flex-basis: 36px; }
  .brand-title { font-size: 12px; line-height: 1.6; }
  .brand-subtitle { display: none; }
  .header-tools { gap: 4px; }
  .icon-button { width: 44px; flex-basis: 44px; }
  .main-nav.is-open { grid-template-columns: repeat(2,minmax(0,1fr)); padding-inline: 18px; }
  .cover { min-height: 445px; align-items: center; }
  .cover-content { padding-block: 32px; }
  .cover h1 { font-size: 28px; line-height: 1.65; }
  .cover p { font-size: 15px; }
  .cover .nonofficial { font-size: 12px; }
  .cover-links { gap: 10px; margin-top: 20px; }
  .cover-links .button { padding-inline: 14px; font-size: 14px; }
  .editor-note .shell { display: block; }
  .editor-note strong { display: block; margin-bottom: 5px; }
  .editor-note p { font-size: 13px; }
  .band { padding-block: 32px; }
  .section-heading { align-items: start; gap: 12px; }
  .section-heading h2, .faq-columns h2 { font-size: 24px; }
  .section-heading .text-link { font-size: 13px; }
  .section-heading p { font-size: 13px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-entry { padding-block: 18px; }
  .story-grid { grid-template-columns: 1fr; gap: 30px; }
  .story-image { aspect-ratio: 1.8; }
  .story h3 { font-size: 20px; }
  .reading-list a { gap: 12px; }
  .reading-list strong { font-size: 15px; }
  .reading-list span { font-size: 12px; }
  .risk-layout { gap: 13px; }
  .risk-layout > svg { width: 22px; }
  .risk-layout .icon-button { width: 40px; flex-basis: 40px; height: 44px; }
  .breadcrumbs { font-size: 12px; margin-block: 18px; }
  .page-intro h1 { font-size: 28px; }
  .page-intro p { font-size: 15px; }
  .filterbar { gap: 10px; }
  .filterbar label { font-size: 12px; }
  select { padding-inline: 8px; font-size: 14px; }
  .article-main h1 { font-size: 27px; }
  .article-summary { font-size: 16px; }
  .article-body, .prose { font-size: 16px; line-height: 1.95; }
  .article-body h2 { font-size: 22px; }
  .takeaway { font-size: 16px; padding: 12px 16px; }
  .footer-main { gap: 24px; }
  .footer-brand strong { font-size: 14px; }
  .backtop { right: 16px; bottom: 16px; }
  .diagram-figure.broken-image { aspect-ratio: 600 / 900; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .masthead, .utility, .site-footer, .backtop, .header-tools, .article-sidebar, .related, .filterbar, .cover-links { display: none !important; }
  :root { --paper: #FFFFFF; --surface: #FFFFFF; --ink: #192C24; --muted: #52675C; }
  .shell { width: 100%; }
  .article-layout { display: block; }
}
