/* 禁漫天堂：夜间数字书库视觉系统。整个前端使用原生 CSS，不依赖外部字体与框架。 */
:root {
  color-scheme: dark;
  --ink: #15121d;
  --background: #1b1724;
  --surface: #282231;
  --surface-deep: #211b2b;
  --surface-raised: #30283c;
  --violet: #9365dc;
  --violet-light: #c3a5e8;
  --violet-faint: rgba(147, 101, 220, .13);
  --coral: #f3a16f;
  --copy: #f2edf5;
  --muted: #b5aabb;
  --faint: #8d809a;
  --line: rgba(210, 192, 228, .16);
  --line-strong: rgba(210, 192, 228, .28);
  --container: 1240px;
  --pad: clamp(18px, 4.4vw, 64px);
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  --timing: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-width: 320px; background: var(--background); color: var(--copy); font: 400 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
a, button { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--violet); color: white; }
:where(h1,h2,h3,h4,p,ul,ol) { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.025em; }
h1 { font-size: clamp(36px, 5vw, 68px); }
h2 { font-size: clamp(27px, 3vw, 38px); }
h3 { font-size: 20px; }
p { margin-bottom: 1.1em; }
.skip-link { position: fixed; top: -100px; left: 14px; background: var(--coral); color: var(--ink); z-index: 500; font-weight: 700; padding: 10px 15px; }
.skip-link:focus { top: 14px; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
main { width: 100%; flex: 1; }
main > section, main > .inner-hero, main > .article-layout { max-width: var(--container); margin-left: auto; margin-right: auto; }
.site-header { background: rgba(21, 18, 29, .95); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.head-inner { max-width: calc(var(--container) + 2 * var(--pad)); margin: 0 auto; min-height: 82px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 11px; min-height: 48px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 5px; }
.brand-name { font-weight: 800; font-size: 24px; letter-spacing: -.055em; white-space: nowrap; }
.brand-tag { border-left: 1px solid var(--line-strong); padding-left: 11px; color: var(--muted); font-size: 11px; letter-spacing: .06em; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: clamp(8px, 1.7vw, 26px); }
.primary-nav a { color: var(--muted); font-size: 14px; font-weight: 650; padding: 13px 10px; position: relative; transition: color .18s ease; white-space: nowrap; }
.primary-nav a::after { position: absolute; bottom: 7px; left: 10px; right: 10px; height: 2px; background: var(--coral); content: ''; transform: scaleX(0); transition: transform .18s var(--timing); transform-origin: left; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--copy); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-button { display: none; }
.hero-grid { padding: 58px var(--pad) 65px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(28px, 5vw, 70px); border-bottom: 1px solid var(--line); align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { color: var(--violet-light); font-size: 12px; font-weight: 750; letter-spacing: .14em; margin: 0 0 19px; }
.status-dot { display: inline-block; background: var(--coral); width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 5px rgba(243, 161, 111, .10); }
.hero-grid h1 { margin-bottom: 25px; line-height: 1.07; letter-spacing: -.065em; }
.hero-grid h1 span { display: block; margin-top: 15px; font-size: .52em; letter-spacing: -.04em; color: var(--violet-light); line-height: 1.28; }
.hero-lead { color: var(--muted); max-width: 610px; font-size: 15px; line-height: 2.05; margin-bottom: 31px; }
.hero-action { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 19px; background: var(--violet); color: #fff; border: 1px solid var(--violet); border-radius: 3px; padding: 12px 18px; font-size: 14px; font-weight: 800; line-height: 1.5; transition: background .2s, transform .2s, border-color .2s; }
.primary-link:hover { background: #a77be5; border-color: #a77be5; transform: translateY(-2px); }
.primary-link:active { transform: none; }
.text-link { font-size: 14px; font-weight: 750; color: var(--copy); display: inline-flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line-strong); padding: 9px 0; transition: color .18s, border-color .18s; }
.text-link:hover { color: var(--coral); border-color: var(--coral); }
.hero-sub { display: flex; flex-wrap: wrap; gap: 8px 19px; padding-top: 30px; margin-top: 35px; border-top: 1px solid var(--line); }
.hero-sub span { font-size: 12px; color: var(--faint); position: relative; }
.hero-sub span + span::before { content: '·'; position: absolute; left: -13px; color: var(--violet); }
.hero-art { display: grid; height: clamp(340px, 37vw, 470px); grid-template-columns: 1.1fr .88fr; grid-template-rows: 1.1fr .85fr; gap: 11px; min-width: 0; }
.hero-art-panel { position: relative; overflow: hidden; padding: 21px; isolation: isolate; border: 1px solid var(--line-strong); border-radius: 2px; display: flex; flex-direction: column; justify-content: space-between; background-color: var(--surface); }
.hero-art-panel::before, .hero-art-panel::after { content: ''; position: absolute; pointer-events: none; z-index: -1; }
.hero-art-panel span { font-size: 14px; font-weight: 800; letter-spacing: .1em; }
.hero-art-panel b { align-self: flex-end; font-size: clamp(42px, 6vw, 86px); line-height: 1; font-weight: 850; letter-spacing: -.09em; opacity: .6; }
.panel-a { grid-row: span 2; background: linear-gradient(142deg, rgba(195, 165, 232, .17), transparent 55%), radial-gradient(ellipse at 12% 100%, rgba(147, 101, 220, .6), transparent 60%), #302640; }
.panel-a::before { width: 65%; height: 73%; border: 2px solid rgba(195, 165, 232, .5); transform: rotate(17deg); left: -16%; top: 13%; }
.panel-a::after { height: 135%; width: 70%; left: 51%; top: 8%; transform: rotate(-19deg); background: linear-gradient(160deg, rgba(243, 161, 111, .5), transparent 75%); clip-path: polygon(0 0, 100% 13%, 66% 100%, 10% 89%); }
.panel-b { background: radial-gradient(circle at 88% 15%, rgba(243, 161, 111, .42), transparent 35%), linear-gradient(135deg, #3c293b, #201b2a); }
.panel-b::before { width: 54%; height: 200%; transform: rotate(45deg); background: rgba(243, 161, 111, .11); top: -50%; left: 25%; }
.panel-c { background: radial-gradient(circle at 0 100%, rgba(147, 101, 220, .54), transparent 50%), #252039; }
.panel-c::before { width: 75%; height: 84%; right: -15%; top: -10%; border-radius: 50%; border: 30px solid rgba(195, 165, 232, .12); }
.editorial-strip { padding: 68px var(--pad) 82px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { margin: 0; max-width: 790px; }
.section-head > a { color: var(--violet-light); font-size: 13px; line-height: 1.5; font-weight: 750; padding: 8px 0; border-bottom: 1px solid var(--line-strong); flex: none; }
.section-head > a:hover { color: var(--coral); border-color: var(--coral); }
.section-intro { color: var(--muted); max-width: 890px; margin-bottom: 28px; font-size: 14px; line-height: 1.95; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.topic-card { background: var(--surface-deep); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; transition: border-color .2s ease, background .2s ease; }
.topic-card:hover { border-color: rgba(195, 165, 232, .4); background: #292234; }
.topic-visual { height: 138px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; background: var(--surface); isolation: isolate; }
.topic-visual::before, .topic-visual::after { content: ''; position: absolute; z-index: -1; }
.topic-visual span { font-size: 48px; font-weight: 900; opacity: .92; line-height: 1; }
.topic-visual--action { background: linear-gradient(124deg, #5b334e, #372744 70%); }
.topic-visual--action::before { width: 150%; height: 23%; transform: rotate(-35deg); background: rgba(243, 161, 111, .22); }
.topic-visual--action::after { width: 50%; height: 120%; border: 2px solid rgba(243, 161, 111, .5); transform: skewX(-25deg); right: 3%; }
.topic-visual--romance { background: linear-gradient(125deg, #56364e, #2e2540); }
.topic-visual--romance::before { width: 135px; height: 135px; border: 28px solid rgba(243, 161, 111, .2); transform: rotate(45deg); }
.topic-visual--romance::after { height: 2px; width: 200%; top: 65%; left: -20%; background: rgba(195, 165, 232, .31); transform: rotate(-17deg); }
.topic-visual--fantasy { background: linear-gradient(155deg, #293b54, #3b2a58); }
.topic-visual--fantasy::before { width: 140px; height: 140px; border: 2px solid rgba(195, 165, 232, .5); border-radius: 50%; }
.topic-visual--fantasy::after { width: 100px; height: 100px; border: 2px solid rgba(195, 165, 232, .35); transform: rotate(45deg); }
.topic-visual--mystery { background: linear-gradient(115deg, #202c3d, #3f2a49); }
.topic-visual--mystery::before { height: 200%; width: 55px; transform: rotate(24deg); background: rgba(195, 165, 232, .1); }
.topic-visual--mystery::after { width: 120px; height: 120px; border-radius: 50%; border: 2px dashed rgba(243, 161, 111, .36); }
.topic-visual--slice { background: linear-gradient(128deg, #4d3944, #302c45); }
.topic-visual--slice::before { height: 120px; width: 140px; border-left: 1px solid rgba(243, 161, 111, .4); border-right: 1px solid rgba(243, 161, 111, .4); transform: skewX(24deg); }
.topic-visual--slice::after { height: 100%; width: 100%; background: repeating-linear-gradient(90deg, transparent 0 38px, rgba(195, 165, 232, .07) 39px 40px); }
.topic-visual--scifi { background: linear-gradient(135deg, #1f3c47, #332443); }
.topic-visual--scifi::before { height: 150px; width: 150px; border: 1px solid rgba(195, 165, 232, .5); border-radius: 50%; transform: scaleX(.45) rotate(-35deg); }
.topic-visual--scifi::after { height: 150px; width: 150px; border: 1px solid rgba(195, 165, 232, .5); border-radius: 50%; transform: scaleX(.45) rotate(35deg); }
.topic-body { padding: 21px 19px 20px; display: flex; flex-direction: column; flex: 1; }
.topic-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--violet-light); font-size: 11px; font-weight: 700; margin-bottom: 12px; }
.topic-meta span:last-child { color: var(--faint); font-weight: 450; }
.topic-body h3 { margin-bottom: 12px; }
.topic-body > p { font-size: 13px; line-height: 1.87; color: var(--muted); margin-bottom: 19px; }
.topic-note { border-top: 1px solid var(--line); margin-top: auto; padding-top: 14px; display: grid; gap: 5px; }
.topic-note strong { font-size: 11px; font-weight: 750; color: var(--coral); }
.topic-note span { color: var(--muted); font-size: 12px; line-height: 1.72; }
.split-story { padding: 71px var(--pad); border-block: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 7vw, 100px); background: linear-gradient(113deg, rgba(147, 101, 220, .06), transparent 55%); }
.split-heading { position: relative; }
.split-heading h2 { margin: 0 0 25px; }
.split-heading > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 2; }
.region-list { border-top: 1px solid var(--line-strong); }
.region-item { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.region-item > span { color: var(--violet-light); font-weight: 850; font-size: 19px; letter-spacing: -.04em; line-height: 1.45; }
.region-item h3 { margin-bottom: 11px; font-size: 18px; }
.region-item p { margin-bottom: 0; font-size: 13px; color: var(--muted); line-height: 2; }
.chapter-section { padding: 75px var(--pad) 86px; }
.chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.chapter-card { background: var(--surface-deep); border-top: 2px solid var(--violet); padding: 28px 23px 23px; display: flex; flex-direction: column; min-height: 255px; }
.chapter-num { font-size: 31px; font-weight: 850; color: var(--violet-light); line-height: 1; letter-spacing: -.08em; margin-bottom: 22px; }
.chapter-card h3 { font-size: 17px; margin-bottom: 12px; }
.chapter-card p { font-size: 13px; color: var(--muted); line-height: 1.85; }
.chapter-card a { margin-top: auto; font-size: 12px; font-weight: 800; color: var(--coral); padding-top: 8px; }
.chapter-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.brand-explain { border-block: 1px solid var(--line); background: #201b29; padding: 64px var(--pad) 67px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 55px; }
.brand-explain h2 { margin-bottom: 0; }
.brand-explain-body p { color: var(--muted); font-size: 14px; line-height: 2.05; margin-bottom: 15px; }
.brand-explain-body p:last-child { margin-bottom: 0; }
.faq-section { padding: 68px var(--pad) 89px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { font-weight: 750; font-size: 15px; cursor: pointer; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { font-size: 24px; color: var(--violet-light); line-height: 1; flex: none; font-weight: 350; transition: transform .2s; }
.faq-item[open] summary > span { transform: rotate(45deg); color: var(--coral); }
.faq-item p { font-size: 13px; line-height: 2; color: var(--muted); max-width: 880px; margin: -3px 50px 22px 0; }
.site-footer { background: var(--ink); border-top: 1px solid var(--line); }
.footer-main { max-width: calc(var(--container) + 2 * var(--pad)); padding: 53px var(--pad) 43px; display: flex; gap: 35px; justify-content: space-between; margin: 0 auto; }
.footer-brand { font-size: 23px; font-weight: 850; line-height: 1.4; margin-bottom: 15px; }
.footer-main p:not(.footer-brand) { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 10px; }
.footer-main .foot-small { max-width: 530px; font-size: 12px !important; color: var(--faint) !important; }
.footer-main nav { display: flex; align-items: flex-start; gap: 28px; padding-top: 8px; flex-wrap: wrap; }
.footer-main nav a { font-size: 13px; font-weight: 650; color: var(--muted); white-space: nowrap; }
.footer-main nav a:hover { color: var(--coral); }
.footer-bottom { max-width: var(--container); padding: 20px var(--pad) 26px; margin: 0 auto; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; font-size: 11px; color: var(--faint); }
/* 内页：将面包屑与页面导语组合为更紧凑的专题标题区。 */
.inner-hero { padding: 35px var(--pad) 58px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 92% 12%, rgba(147, 101, 220, .11), transparent 60%); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--faint); font-size: 12px; margin-bottom: 55px; }
.breadcrumbs a { color: var(--violet-light); }
.breadcrumbs a:hover { color: var(--coral); }
.breadcrumbs span[aria-hidden] { opacity: .5; }
.inner-hero .eyebrow { margin-bottom: 15px; }
.inner-hero h1 { max-width: 940px; font-size: clamp(33px, 4.6vw, 57px); line-height: 1.2; margin: 0 0 25px; }
.inner-lead { max-width: 890px; font-size: 15px; color: var(--muted); line-height: 2.05; margin: 0; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(35px, 6vw, 90px); padding: 61px var(--pad) 90px; }
.sticky-index { position: sticky; top: 27px; align-self: start; border-left: 1px solid var(--line-strong); padding-left: 17px; }
.sticky-index > p { color: var(--copy); font-size: 13px; font-weight: 800; margin-bottom: 16px; }
.sticky-index nav { display: grid; align-items: start; gap: 2px; }
.sticky-index a { color: var(--faint); font-size: 12px; line-height: 1.7; padding: 10px 7px; border-left: 2px solid transparent; margin-left: -18px; padding-left: 16px; transition: color .2s, border-color .2s; }
.sticky-index a:hover, .sticky-index a[aria-current="location"] { color: var(--violet-light); border-left-color: var(--violet); }
.article-content { min-width: 0; }
.insight-block { padding: 32px 34px 34px; background: var(--surface-deep); border: 1px solid var(--line); }
.insight-block h2 { font-size: 25px; margin-bottom: 20px; }
.insight-block p { font-size: 14px; color: var(--muted); line-height: 2.05; }
.comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 10px; }
.comparison > div { background: rgba(147, 101, 220, .085); border-left: 2px solid var(--violet); padding: 19px 18px; }
.comparison-number { color: var(--coral); font-weight: 850; font-size: 12px; }
.comparison h3 { font-size: 17px; margin: 8px 0; }
.comparison p { margin: 0; font-size: 12px; }
.longform-section { padding-top: 18px; }
.detail-row { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 19px; border-bottom: 1px solid var(--line); padding: 35px 0 36px; scroll-margin-top: 25px; }
.detail-index { font-size: 31px; line-height: 1.1; letter-spacing: -.075em; color: var(--violet-light); font-weight: 850; }
.detail-copy .eyebrow { margin: 0 0 12px; font-size: 11px; }
.detail-copy h3 { margin: 0 0 16px; font-size: 21px; }
.detail-copy > p:not(.eyebrow) { font-size: 14px; color: var(--muted); line-height: 2.03; margin-bottom: 14px; }
.detail-copy .detail-context { background: rgba(195, 165, 232, .055); border-left: 2px solid rgba(195, 165, 232, .4); padding: 12px 17px; margin: 18px 0 0 !important; font-size: 13px !important; }
.insight-block--muted { margin-top: 39px; background: #201b29; }
.insight-block--muted p:last-child { margin-bottom: 0; }
.compact-faq { padding: 50px 0 40px; }
.compact-faq h2 { font-size: 25px; margin-bottom: 20px; }
.next-reading { border: 1px solid rgba(147, 101, 220, .5); padding: 24px 29px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.next-reading p { font-size: 13px; color: var(--muted); margin: 0; }
.next-reading a { color: var(--coral); font-size: 13px; font-weight: 800; }
.next-reading a:hover { text-decoration: underline; }
/* 题材页面：前半以类型索引为主，后半深入解释实际选择维度。 */
.inner-hero--selection { background: radial-gradient(ellipse at 94% 22%, rgba(243, 161, 111, .075), transparent 50%), radial-gradient(ellipse at 0 90%, rgba(147, 101, 220, .09), transparent 40%); }
.selection-content { padding: 65px var(--pad) 66px; }
.topic-grid--large { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic-grid--large .topic-visual { height: 166px; }
.topic-grid--large .topic-body { padding: 24px 23px 23px; }
.topic-grid--large .topic-body h3 { font-size: 21px; }
.topic-grid--large .topic-body > p { font-size: 14px; }
.reading-caution { display: flex; align-items: flex-start; gap: 17px; padding: 23px 24px; margin-top: 20px; background: rgba(243, 161, 111, .065); border-left: 2px solid var(--coral); }
.reading-caution strong { color: var(--coral); font-size: 13px; white-space: nowrap; }
.reading-caution p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }
.selection-advice { padding: 66px var(--pad) 80px; border-top: 1px solid var(--line); background: #201b29; }
.advice-layout { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(25px, 5vw, 75px); }
.advice-slogan { align-self: start; border-left: 3px solid var(--violet); padding: 15px 0 13px 24px; }
.advice-slogan > span { display: block; color: var(--violet-light); font-size: 55px; line-height: 1; font-weight: 850; }
.advice-slogan p { font-size: clamp(19px, 2vw, 29px); line-height: 1.55; font-weight: 800; margin: 0; letter-spacing: -.03em; }
.advice-rows { border-top: 1px solid var(--line-strong); }
.advice-rows .detail-row { padding: 28px 0 32px; grid-template-columns: 60px minmax(0, 1fr); }
.advice-rows .detail-index { font-size: 27px; }
.advice-rows .detail-copy h3 { font-size: 19px; }
.closing-strip { padding: 49px var(--pad) 65px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.closing-strip .eyebrow { margin-bottom: 12px; }
.closing-strip h2 { font-size: clamp(22px, 2.5vw, 31px); max-width: 690px; margin-bottom: 12px; }
.closing-strip p:not(.eyebrow) { font-size: 13px; color: var(--muted); margin-bottom: 0; }
.closing-strip .primary-link { flex: none; }
.notfound { padding: 100px var(--pad) 130px; }
.error-code { font-size: clamp(92px, 13vw, 160px); font-weight: 900; color: var(--violet); line-height: 1; letter-spacing: -.12em; margin-bottom: 18px; }
.notfound h1 { font-size: clamp(31px, 4vw, 48px); }
.notfound > p:not(.error-code) { color: var(--muted); }
/* 大屏保留舒适的阅读行长，避免正文跨越过宽的扫描区域。 */
@media (min-width: 1450px) {
  body { font-size: 17px; }
  .hero-grid { padding-top: 76px; padding-bottom: 80px; }
  .hero-lead { font-size: 16px; }
  .topic-body > p { font-size: 14px; }
  .region-item p { font-size: 14px; }
  .chapter-card p { font-size: 14px; }
  .article-content { max-width: 900px; }
}
/* 常规笔记本：紧凑信息密度优先于纯装饰留白。 */
@media (max-width: 1100px) {
  .brand-tag { display: none; }
  .hero-grid { grid-template-columns: 1fr .87fr; gap: 28px; }
  .hero-art { height: 385px; }
  .hero-grid h1 { font-size: clamp(40px, 4.8vw, 58px); }
  .topic-grid { gap: 10px; }
  .topic-body { padding: 17px 15px 18px; }
  .topic-body h3 { font-size: 18px; }
  .topic-body > p { font-size: 12px; }
  .split-story { gap: 30px; }
  .chapter-card { padding: 22px 18px; }
  .chapter-card h3 { font-size: 16px; }
  .article-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 31px; }
}
/* 平板布局将右侧图形改为更紧凑的连续画格，保留首屏内容。 */
@media (max-width: 900px) {
  .head-inner { min-height: 75px; }
  .brand-name { font-size: 21px; }
  .hero-grid { padding-top: 42px; padding-bottom: 47px; }
  .hero-art { height: 310px; }
  .hero-art-panel { padding: 13px; }
  .hero-art-panel span { font-size: 12px; }
  .hero-lead { font-size: 13px; }
  .hero-sub { padding-top: 17px; margin-top: 23px; }
  .topic-grid, .chapter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-visual { height: 150px; }
  .topic-body > p { font-size: 13px; }
  .split-story { grid-template-columns: 1fr; }
  .split-heading { max-width: 730px; }
  .region-item { grid-template-columns: 55px 1fr; }
  .brand-explain { grid-template-columns: 1fr 1.3fr; gap: 25px; }
  .article-layout { grid-template-columns: 1fr; gap: 22px; }
  .sticky-index { position: static; border: 1px solid var(--line); padding: 12px 17px; }
  .sticky-index > p { margin-bottom: 4px; }
  .sticky-index nav { display: flex; flex-wrap: wrap; gap: 3px 14px; }
  .sticky-index a { margin-left: 0; border-left: 0; border-bottom: 2px solid transparent; padding: 6px 0; }
  .sticky-index a:hover, .sticky-index a[aria-current="location"] { border-bottom-color: var(--violet); }
  .advice-layout { grid-template-columns: 1fr; }
  .advice-slogan { max-width: 740px; }
  .closing-strip { align-items: flex-start; }
}
/* 手机：提供原生可操作导航，正文不依赖 JS 展开才可抓取。 */
@media (max-width: 760px) {
  :root { --pad: 19px; }
  html { scroll-padding-top: 30px; }
  .head-inner { min-height: 68px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 20px; }
  .menu-button { display: flex; width: 40px; height: 40px; flex: none; flex-direction: column; justify-content: center; gap: 5px; align-items: center; background: transparent; border: 1px solid var(--line-strong); border-radius: 2px; }
  .menu-button span { width: 18px; height: 2px; background: var(--copy); transition: transform .2s, opacity .2s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { display: flex; position: static; flex-direction: column; gap: 0; align-items: stretch; width: 100%; order: 3; }
  .head-inner { flex-wrap: wrap; }
  .head-inner > .primary-nav a { width: 100%; }
  .has-js .primary-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 0 var(--pad) 10px; background: var(--ink); border-bottom: 1px solid var(--line-strong); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; align-items: stretch; }
  .has-js .primary-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .primary-nav a { font-size: 14px; padding: 13px 3px; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { bottom: 0; left: 3px; right: auto; width: 35px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 31px; padding-bottom: 35px; }
  .hero-grid h1 { font-size: clamp(39px, 10vw, 56px); }
  .hero-grid h1 span { font-size: .52em; }
  .hero-lead { font-size: 14px; }
  .hero-action { gap: 12px 18px; }
  .hero-art { height: 200px; grid-template-columns: 1.05fr .95fr; gap: 8px; }
  .hero-art-panel { padding: 13px; }
  .hero-art-panel b { font-size: 38px; }
  .hero-art-panel span { font-size: 11px; }
  .hero-sub { gap: 7px 12px; }
  .hero-sub span { font-size: 11px; }
  .hero-sub span + span::before { left: -9px; }
  .editorial-strip, .chapter-section, .selection-content { padding-top: 42px; padding-bottom: 50px; }
  .section-head { display: block; }
  .section-head h2 { font-size: 27px; }
  .section-head > a { display: inline-block; margin-top: 16px; }
  .section-intro { font-size: 13px; }
  .topic-grid, .chapter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .topic-visual { height: 120px; }
  .topic-visual span { font-size: 35px; }
  .topic-body { padding: 15px 13px; }
  .topic-meta { display: block; margin-bottom: 9px; }
  .topic-meta span:last-child { display: none; }
  .topic-body h3 { font-size: 16px; margin-bottom: 9px; }
  .topic-body > p { font-size: 12px; line-height: 1.75; margin-bottom: 15px; }
  .topic-note { padding-top: 11px; }
  .topic-note span { font-size: 11px; }
  .split-story { padding-top: 45px; padding-bottom: 45px; gap: 23px; }
  .split-heading h2 { font-size: 27px; }
  .region-item { padding: 21px 0; grid-template-columns: 39px 1fr; gap: 12px; }
  .region-item > span { font-size: 17px; }
  .region-item h3 { font-size: 17px; }
  .region-item p { font-size: 12px; }
  .chapter-card { min-height: 235px; padding: 19px 15px; }
  .chapter-num { font-size: 26px; margin-bottom: 18px; }
  .chapter-card h3 { font-size: 15px; }
  .chapter-card p { font-size: 12px; }
  .brand-explain { padding-top: 44px; padding-bottom: 46px; grid-template-columns: 1fr; gap: 23px; }
  .brand-explain h2 { font-size: 27px; }
  .brand-explain-body p { font-size: 13px; }
  .faq-section { padding-top: 46px; padding-bottom: 57px; }
  .faq-item summary { font-size: 14px; min-height: 65px; }
  .faq-item p { margin-right: 17px; font-size: 12px; }
  .footer-main { padding-top: 35px; padding-bottom: 26px; display: block; }
  .footer-main nav { gap: 12px 22px; padding-top: 18px; }
  .footer-bottom { flex-direction: column; gap: 5px; padding-top: 15px; padding-bottom: 22px; }
  .inner-hero { padding-top: 23px; padding-bottom: 39px; }
  .breadcrumbs { margin-bottom: 31px; }
  .inner-hero h1 { font-size: clamp(32px, 8vw, 46px); }
  .inner-lead { font-size: 14px; }
  .article-layout { padding-top: 31px; padding-bottom: 58px; }
  .sticky-index { padding: 15px; }
  .sticky-index nav { gap: 3px 13px; }
  .sticky-index a { font-size: 11px; }
  .insight-block { padding: 24px 19px; }
  .insight-block h2 { font-size: 22px; }
  .insight-block p { font-size: 13px; }
  .comparison { gap: 9px; }
  .comparison > div { padding: 14px 12px; }
  .comparison h3 { font-size: 15px; }
  .comparison p { font-size: 11px; }
  .detail-row { grid-template-columns: 47px minmax(0, 1fr); gap: 10px; padding: 29px 0; }
  .detail-index { font-size: 25px; }
  .detail-copy h3 { font-size: 18px; }
  .detail-copy > p:not(.eyebrow) { font-size: 13px; }
  .detail-copy .detail-context { font-size: 12px !important; padding: 12px 13px; }
  .compact-faq { padding-top: 41px; padding-bottom: 39px; }
  .compact-faq h2 { font-size: 23px; }
  .next-reading { display: block; padding: 19px; }
  .next-reading p { margin-bottom: 10px; }
  .topic-grid--large .topic-visual { height: 120px; }
  .topic-grid--large .topic-body { padding: 15px 13px; }
  .topic-grid--large .topic-body h3 { font-size: 16px; }
  .topic-grid--large .topic-body > p { font-size: 12px; }
  .reading-caution { display: block; padding: 17px; }
  .reading-caution strong { display: block; margin-bottom: 7px; }
  .selection-advice { padding-top: 43px; padding-bottom: 48px; }
  .advice-slogan { padding-left: 15px; }
  .advice-slogan p { font-size: 21px; }
  .advice-rows .detail-row { grid-template-columns: 45px minmax(0, 1fr); gap: 10px; }
  .advice-rows .detail-index { font-size: 23px; }
  .advice-rows .detail-copy h3 { font-size: 17px; }
  .closing-strip { padding-top: 39px; padding-bottom: 49px; display: block; }
  .closing-strip .primary-link { margin-top: 24px; }
  .notfound { padding-top: 71px; padding-bottom: 82px; }
}
/* 小屏手机：标题与卡片减小尺寸，而不是让页面产生横向溢出。 */
@media (max-width: 400px) {
  :root { --pad: 15px; }
  .brand { gap: 6px; }
  .brand-name { font-size: 18px; }
  .hero-grid h1 { font-size: 38px; }
  .hero-grid h1 span { font-size: .50em; }
  .topic-grid { gap: 7px; }
  .topic-body { padding: 13px 10px; }
  .topic-body h3 { font-size: 15px; }
  .topic-body > p, .topic-note span { font-size: 11px; }
  .chapter-card { padding: 15px 11px; }
  .chapter-card h3 { font-size: 14px; }
  .chapter-card p { font-size: 11px; }
  .comparison { grid-template-columns: 1fr; }
  .inner-hero h1 { font-size: 31px; }
  .detail-row { grid-template-columns: 38px minmax(0, 1fr); }
  .detail-index { font-size: 22px; }
}
/* 无障碍：减少运动的用户不需要滚动及悬停位移动画。 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* 打印时保留正文与章节关系，隐藏不相关的交互装饰。 */
@media print {
  :root { color-scheme: light; --copy: #17121b; --muted: #34303a; --faint: #5c5361; --background: #fff; --surface: #fff; --surface-deep: #fff; --line: #ccc; }
  body { background: white; color: black; font-size: 12pt; }
  .site-header, .site-footer, .hero-art, .menu-button, .sticky-index, .skip-link, .hero-action, .next-reading, .closing-strip .primary-link { display: none !important; }
  main > section, main > .inner-hero, main > .article-layout { max-width: none; }
  .hero-grid, .article-layout, .split-story, .brand-explain, .advice-layout { display: block; }
  .hero-grid, .inner-hero, .editorial-strip, .chapter-section, .selection-content, .selection-advice, .article-layout { padding: 20px 0; }
  .topic-grid, .chapter-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-card, .chapter-card, .insight-block, .faq-item { break-inside: avoid; }
  .topic-visual { display: none; }
  a { text-decoration: underline; }
}
