/* roulang page: index */
:root {
  --ink: #3E6B99;
  --ink-deep: #1E3A5F;
  --ink-hover: #385f88;
  --slot: #E7EEF6;
  --paper: #F6F3EE;
  --card: #FFFFFF;
  --line: #D5DEE8;
  --clay: #8C5E52;
  --apricot: #F3E2C8;
  --text: #1E3A5F;
  --muted: #5C6E82;
  --ok: #1E3A5F;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(30, 58, 95, .08);
  --shadow-hover: 0 16px 36px rgba(30, 58, 95, .14);
  --bs-primary: #3E6B99;
  --bs-primary-rgb: 62, 107, 153;
  --bs-body-bg: #F6F3EE;
  --bs-body-color: #1E3A5F;
  --bs-link-color: #1E3A5F;
  --bs-link-hover-color: #1E3A5F;
  --bs-border-color: #D5DEE8;
  --bs-border-radius: 16px;
  --bs-border-radius-sm: 12px;
  --bs-border-radius-lg: 16px;
  --bs-border-radius-pill: 999px;
  --bs-font-sans-serif: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bs-body-font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bs-heading-color: #1E3A5F;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
p { margin: 0; }
a { color: var(--ink-deep); text-decoration-color: var(--clay); text-underline-offset: 3px; }
a:hover { color: var(--ink-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(62, 107, 153, .45);
  outline-offset: 2px;
}
h1, h2, h3, .brand-name, .toc-no, .metric b, .cd-nums b {
  font-family: "Noto Serif SC", "Songti SC", serif;
  color: var(--ink-deep);
}
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.block { padding: 84px 0; }
.block-head { margin-bottom: 24px; max-width: 760px; }
.section-title { font-size: 28px; line-height: 1.35; margin: 0 0 12px; font-weight: 700; }
.lead-copy { margin: 0; color: var(--ink-deep); font-size: 16.5px; line-height: 1.75; }
.meta { color: var(--muted); font-size: 13px; line-height: 1.6; }
.mark { box-shadow: inset 0 -0.38em 0 var(--apricot); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #F6F3EE;
}
.site-header.is-stuck { border-bottom: 1px solid var(--line); }
.header-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
  flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 4px 8px 4px 4px;
  background:
    linear-gradient(135deg, transparent 50%, var(--apricot) 50%) top right / 10px 10px no-repeat,
    #fff;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: 0; }
.seg-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  padding: 6px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.chip, .chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-deep);
  white-space: nowrap;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.chip:hover, .chip-btn:hover { text-decoration: none; border-color: var(--ink); background: var(--slot); }
.chip.is-current, .chip[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip.is-current:hover { background: var(--ink-hover); color: #fff; }
.header-cta { margin-left: auto; flex: 0 0 auto; }
.btn-ink, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-ink { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-ink:hover { background: var(--ink-hover); border-color: var(--ink-hover); color: #fff; text-decoration: none; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--slot); color: var(--ink-deep); text-decoration: none; }
.btn-ink:active, .btn-line:active, .chip:active, .chip-btn:active { transform: translateY(1px); }
.kv {
  position: relative;
  background: var(--slot);
  padding: 42px 0 0;
  overflow: hidden;
}
.kv::before {
  content: "01";
  position: absolute;
  right: 3vw;
  top: 8px;
  font-family: "Noto Serif SC", serif;
  font-size: 128px;
  line-height: 1;
  color: rgba(30, 58, 95, .06);
  pointer-events: none;
}
.kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--clay);
}
.h1-title { font-size: 40px; line-height: 1.28; margin: 0 0 12px; max-width: 16em; font-weight: 700; }
.subtitle { margin: 0 0 16px; font-size: 17px; }
.hero-copy { max-width: 760px; margin: 0 0 22px; }
.kv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  min-height: 148px;
  position: relative;
}
.metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.metric b { display: block; font-size: 32px; line-height: 1.15; margin: 4px 0 8px; }
.metric .meta { display: block; }
.countdown-bar { background: var(--ink-deep); color: var(--paper); margin-top: 36px; }
.cd-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; }
.cd-label { margin: 0; color: var(--paper); font-size: 16px; }
.cd-nums { display: flex; gap: 18px; }
.cd-nums div { display: flex; align-items: baseline; gap: 4px; min-width: 56px; }
.cd-nums b { color: #fff; font-size: 28px; line-height: 1; }
.cd-nums span { color: var(--apricot); font-size: 13px; }
.toc-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.toc-card {
  flex: 0 0 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
  min-height: 148px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.toc-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-hover); text-decoration: none; }
.toc-no { font-size: 13px; color: var(--clay); }
.toc-name { font-family: "Noto Serif SC", serif; font-size: 22px; font-weight: 700; }
.toc-page { margin-top: auto; color: var(--clay); font-size: 13px; }
.paper-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.paper-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.has-fold::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(225deg, var(--apricot) 50%, transparent 50%);
  border-top-right-radius: 16px;
  pointer-events: none;
}
.matrix-main, .matrix-side .paper-card, .scene-card, .pair-card, .cover-body, .assure-item, .step-card, .qa-chip {
  padding: 20px;
}
.matrix-main { min-height: 100%; border-left: 2px solid var(--ink); }
.matrix-kicker, .card-kicker { font-size: 13px; color: var(--clay); margin-bottom: 6px; }
.matrix-main h3, .paper-card h3, .cover-body h3, .assure-item h3, .step-card h3 {
  font-size: 22px;
  margin: 0 0 8px;
  line-height: 1.4;
}
.matrix-side { display: grid; gap: 14px; }
.matrix-side .paper-card h3 { font-size: 18px; }
.scene-rail { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.scene-card { min-height: 230px; height: 100%; }
.scene-card.tall { min-height: 280px; }
.scene-card h3 { font-size: 20px; }
.scene-card a, .cover-body a, .news-copy a, .toc-name { text-decoration: none; }
.scene-card a:hover, .cover-body a:hover, .news-copy a:hover { text-decoration: underline; text-decoration-color: var(--clay); }
.pair-card { height: 100%; }
.def { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px 10px; margin: 12px 0 0; }
.def dt { margin: 0; color: var(--clay); font-size: 13px; font-weight: 500; }
.def dd { margin: 0; }
.cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: var(--slot);
}
.cover-card { overflow: hidden; height: 100%; }
.cover-card .cover { border-radius: 16px 16px 0 0; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 28px 8px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  position: absolute;
  left: -34px;
  top: 8px;
}
.node-no { color: var(--clay); font-size: 13px; }
.timeline h3 { font-size: 20px; margin: 2px 0 6px; }
.news-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.news-item:first-child { border-top: 1px solid var(--line); }
.news-no { color: var(--clay); font-family: "Noto Serif SC", serif; font-size: 20px; }
.news-copy h3 { font-size: 20px; margin: 0 0 6px; }
.list-more { margin-top: 18px; }
.list-more a {
  color: var(--ink-deep);
  text-decoration: underline;
  text-decoration-color: var(--clay);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.assure-item { height: 100%; border-top: 2px solid var(--ink); }
.assure-item h3 { font-size: 20px; }
.step-card { height: 100%; background: #fff; }
.step-no {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  margin-bottom: 10px;
}
.step-card h3 { font-size: 18px; }
.step-card h3 a { text-decoration: none; }
.step-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--clay); }
.qa-chip { height: 100%; background: #fff; border-left: 2px solid var(--clay); }
.qa-q {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--slot);
  color: var(--ink-deep);
  font-size: 14px;
  margin-bottom: 10px;
}
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: transparent; }
.accordion-item {
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.accordion-button {
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  color: var(--ink-deep);
  background: #fff;
  min-height: 58px;
  box-shadow: none;
}
.accordion-button:not(.collapsed) {
  color: var(--ink-deep);
  background: #fff;
  box-shadow: inset 0 -1px 0 var(--line);
}
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(62, 107, 153, .28); border-color: transparent; }
.accordion-body { color: var(--ink-deep); padding: 16px 20px 20px; }
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.form-label { font-size: 14px; color: var(--ink-deep); margin-bottom: 6px; }
.form-control {
  border-radius: 12px;
  border: 1px solid var(--line);
  min-height: 44px;
  color: var(--ink-deep);
  background: #fff;
  box-shadow: none;
}
textarea.form-control { min-height: 120px; }
.form-control:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(62, 107, 153, .28);
}
.form-control.is-invalid { border-color: var(--clay); background: #fff; box-shadow: none; }
.form-status { margin-top: 12px; border-radius: 12px; padding: 10px 12px; display: none; }
.form-status.is-error { display: block; background: var(--apricot); color: var(--clay); }
.form-status.is-ok { display: block; background: var(--slot); color: var(--ink-deep); }
.form-note { margin-top: 10px; }
.offcanvas { background: var(--paper); }
.offcanvas-title { font-family: "Noto Serif SC", serif; font-size: 22px; margin: 0; }
.chapter-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink-deep);
}
.chapter-link:hover { text-decoration: underline; text-decoration-color: var(--clay); }
.site-footer { background: var(--ink-deep); color: var(--paper); padding: 48px 0 28px; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--apricot); }
.footer-brand .brand-name, .footer-brand { color: var(--paper); }
.footer-brand .brand-mark { background: linear-gradient(135deg, transparent 50%, var(--apricot) 50%) top right / 10px 10px no-repeat, #F6F3EE; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; }
.footer-label { color: var(--apricot); font-size: 13px; margin-bottom: 8px; }
.footer-links { display: grid; gap: 6px; }
.footer-links a { min-height: 32px; display: inline-flex; align-items: center; }
.footer-copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 243, 238, .18);
  color: #D5DEE8;
  font-size: 13px;
}
.bg-paper { background: var(--paper); }
.bg-white { background: #fff; }
.bg-slot { background: var(--slot); }
@media (max-width: 1199.98px) {
  .h1-title { font-size: 36px; }
}
@media (max-width: 991.98px) {
  .block { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .matrix-side { margin-top: 14px; }
}
@media (max-width: 767.98px) {
  .block { padding: 56px 0; }
  .header-bar { flex-wrap: wrap; min-height: 0; padding: 8px 0; }
  .seg-nav { order: 3; flex: 1 0 100%; }
  .h1-title { font-size: 32px; }
  .section-title { font-size: 24px; }
  .kv::before { font-size: 88px; }
  .news-item { grid-template-columns: 64px 1fr; }
}
@media (max-width: 575.98px) {
  .cd-inner { flex-direction: column; align-items: flex-start; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .brand-name { font-size: 16px; }
  .header-cta { padding: 0 12px; font-size: 14px; }
  .def { grid-template-columns: 1fr; gap: 2px; }
  .h1-title { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --ink: #3E6B99;
  --ink-deep: #1E3A5F;
  --ink-hover: #385f88;
  --slot: #E7EEF6;
  --paper: #F6F3EE;
  --card: #FFFFFF;
  --line: #D5DEE8;
  --clay: #8C5E52;
  --apricot: #F3E2C8;
  --text: #1E3A5F;
  --muted: #5C6E82;
  --ok: #1E3A5F;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(30, 58, 95, .08);
  --shadow-hover: 0 16px 36px rgba(30, 58, 95, .14);
  --bs-primary: #3E6B99;
  --bs-primary-rgb: 62, 107, 153;
  --bs-body-bg: #F6F3EE;
  --bs-body-color: #1E3A5F;
  --bs-link-color: #1E3A5F;
  --bs-link-hover-color: #1E3A5F;
  --bs-border-color: #D5DEE8;
  --bs-border-radius: 16px;
  --bs-border-radius-sm: 12px;
  --bs-border-radius-lg: 16px;
  --bs-border-radius-pill: 999px;
  --bs-font-sans-serif: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bs-body-font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --bs-heading-color: #1E3A5F;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16.5px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
p, h1, h2, h3, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--ink-deep); text-decoration-color: var(--clay); text-underline-offset: 3px; }
a:hover { color: var(--ink-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(62, 107, 153, .45);
  outline-offset: 2px;
}
h1, h2, h3, .brand-name, .toc-no, .metric b {
  font-family: "Noto Serif SC", "Songti SC", serif;
  color: var(--ink-deep);
}
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
section { scroll-margin-top: 78px; }
.band { padding: 84px 0; }
.band-paper { background: var(--paper); }
.band-slot { background: var(--slot); }
.band-white { background: #fff; }
.section-title { font-size: 26px; line-height: 1.35; margin: 0 0 12px; font-weight: 700; }
.lead-copy { margin: 0; color: var(--ink-deep); font-size: 16.5px; line-height: 1.75; }
.meta { color: var(--muted); font-size: 13px; line-height: 1.6; }
.site-header { position: sticky; top: 0; z-index: 1030; background: #F6F3EE; }
.site-header.is-stuck { border-bottom: 1px solid var(--line); }
.header-bar { min-height: 64px; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 4px 8px 4px 4px;
  background: linear-gradient(135deg, transparent 50%, var(--apricot) 50%) top right / 10px 10px no-repeat, #fff;
  box-shadow: var(--shadow); flex: 0 0 auto;
}
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: 0; }
.seg-nav {
  display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; overflow-x: auto;
  padding: 6px 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.chip, .chip-btn, .filter-chip {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-deep);
  white-space: nowrap; font-size: 14px; line-height: 1; text-decoration: none; cursor: pointer;
}
.chip:hover, .chip-btn:hover, .filter-chip:hover { text-decoration: none; border-color: var(--ink); background: var(--slot); }
.chip.is-current, .chip[aria-current="page"], .filter-chip.is-current {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
.chip.is-current:hover, .filter-chip.is-current:hover { background: var(--ink-hover); color: #fff; }
.header-cta { margin-left: auto; flex: 0 0 auto; }
.btn-ink, .btn-line {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-ink { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-ink:hover { background: var(--ink-hover); border-color: var(--ink-hover); color: #fff; text-decoration: none; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--slot); color: var(--ink-deep); text-decoration: none; }
.btn-ink:active, .btn-line:active, .chip:active, .chip-btn:active, .filter-chip:active { transform: translateY(1px); }
.cat-title { font-size: 32px; line-height: 1.35; font-weight: 700; max-width: 14em; }
.ink-rule { width: 72px; height: 8px; border-radius: 999px; background: var(--apricot); box-shadow: inset 0 -2px 0 var(--clay); }
.cat-head-card {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 28px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 28px 24px; position: relative;
}
.cat-head-card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: var(--ink); border-radius: 2px; }
.cat-copy { display: flex; flex-direction: column; gap: 12px; padding-left: 14px; max-width: 680px; }
.micro-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 360px; }
.micro-tags li {
  min-height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px;
  background: var(--slot); border: 1px solid var(--line); color: var(--ink-deep); font-size: 13px;
}
.filter-row { display: flex; align-items: center; gap: 16px; }
.filter-label { flex: 0 0 auto; font-size: 13px; color: var(--clay); min-width: 7em; }
.filter-scroller { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; flex: 1; scrollbar-width: thin; }
.filter-note { margin-top: 16px; max-width: 46em; }
.note-list { display: flex; flex-direction: column; gap: 14px; }
.paper-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.paper-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.note-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .85fr); gap: 18px; align-items: center; padding: 18px 22px; overflow: hidden; }
.note-row::after {
  content: ""; position: absolute; top: 0; right: 0; width: 16px; height: 16px;
  background: linear-gradient(135deg, transparent 50%, var(--apricot) 50%);
}
.note-main { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.toc-no { font-size: 22px; color: var(--clay); line-height: 1; min-width: 2ch; padding-top: 4px; }
.card-kicker { font-size: 13px; color: var(--clay); margin-bottom: 4px; }
.note-main h3, .side-card h3, .node-card h3, .qa-mini h3 { font-size: 20px; line-height: 1.4; font-weight: 700; }
.note-main h3 a, .side-card h3 a, .node-card h3 a { text-decoration: none; }
.note-main h3 a:hover, .side-card h3 a:hover, .node-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--clay); }
.note-sum { margin: 0; padding-left: 16px; border-left: 1px solid var(--line); color: var(--text); }
.list-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 22px; }
.page-mark { font-family: "Noto Serif SC", serif; color: var(--clay); font-size: 13px; }
.more-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.more-copy { max-width: 680px; display: flex; flex-direction: column; gap: 8px; }
.serial-head { margin-bottom: 22px; max-width: 720px; }
.serial-track { height: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.serial-track span { display: block; height: 100%; width: 72%; background: var(--ink); border-radius: 999px; }
.serial-caption { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 18px; font-size: 13px; color: var(--muted); }
.node-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.node-card { padding: 16px; min-height: 148px; background: #fff; }
.node-card .meta { color: var(--clay); }
.scene-layout { display: grid; grid-template-columns: 1.35fr .75fr; gap: 16px; }
.scene-stack { display: grid; gap: 16px; }
.side-card { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 8px; min-height: 180px; }
.side-card.tall { min-height: 100%; justify-content: space-between; }
.side-card p { color: var(--text); }
.update-list { border-left: 2px solid var(--ink); margin-left: 6px; }
.update-list li { position: relative; padding: 0 0 22px 22px; }
.update-list li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--clay);
  position: absolute; left: -6px; top: 8px;
}
.update-list h3 { font-size: 18px; margin-bottom: 4px; }
.update-list a { text-decoration: none; }
.update-list a:hover { text-decoration: underline; text-decoration-color: var(--clay); }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qa-mini { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow); }
.qa-mini h3 { font-size: 16px; margin-bottom: 6px; }
.qa-mini p { font-size: 15px; color: var(--text); }
.block-intro { max-width: 720px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.chapter-drawer { background: var(--paper); color: var(--text); width: min(360px, 92vw); }
.chapter-drawer .offcanvas-header { border-bottom: 1px solid var(--line); }
.chapter-drawer .offcanvas-title { font-family: "Noto Serif SC", serif; font-size: 22px; color: var(--ink-deep); }
.chapter-links { display: flex; flex-direction: column; }
.chapter-links a {
  display: flex; align-items: center; min-height: 44px; padding: 8px 2px; text-decoration: none;
  border-bottom: 1px solid var(--line); color: var(--ink-deep);
}
.chapter-links a:hover { background: var(--slot); }
.site-footer { background: var(--ink-deep); color: var(--paper); padding: 48px 0 28px; }
.site-footer p, .site-footer a, .footer-brand .brand-name { color: #F6F3EE; }
.site-footer a { text-decoration-color: var(--apricot); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; }
.footer-label { font-size: 13px; color: var(--apricot); margin: 0 0 8px; }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-links a { text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--apricot); }
.footer-copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(246, 243, 238, .2); font-size: 13px; color: #F6F3EE; }
.note-row[hidden] { display: none !important; }
@media (max-width: 1199px) {
  .node-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
  .band { padding: 64px 0; }
  .note-row, .scene-layout, .cat-head-card, .more-bar, .footer-grid { grid-template-columns: 1fr; display: grid; }
  .cat-head-card, .more-bar { display: flex; flex-direction: column; align-items: flex-start; }
  .micro-tags { justify-content: flex-start; }
  .note-sum { padding-left: 0; border-left: 0; padding-top: 8px; border-top: 1px solid var(--line); }
}
@media (max-width: 768px) {
  .header-bar { flex-wrap: wrap; padding: 8px 0; }
  .seg-nav { order: 3; flex: 1 0 100%; }
  .header-cta { margin-left: auto; }
  .cat-title { font-size: 28px; }
  .section-title { font-size: 24px; }
  .qa-grid { grid-template-columns: 1fr; }
  .filter-row { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (max-width: 576px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .band { padding: 48px 0; }
  .node-row { grid-template-columns: 1fr; }
  .note-row { padding: 16px; }
  .cat-head-card { padding: 20px 16px 16px; }
}

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
