/* roulang page: index */
:root {
  --ink: #161311;
  --deep: #221C19;
  --paper: #F3EEE6;
  --paper-2: #F8F4EE;
  --text: #1A1614;
  --muted: #6E675F;
  --muted-dark: #C9C0B6;
  --accent: #C4623A;
  --accent-deep: #A34E2C;
  --olive: #7E8A72;
  --line: #E4DDD2;
  --line-dark: rgba(243, 238, 230, .16);
  --radius: 2px;
  --shadow: 0 8px 24px rgba(22, 19, 17, .06);
  --header: 64px;
  --max: 1120px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Roboto Mono", ui-monospace, monospace;
  --move: .28s ease;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
::selection { background: var(--accent); color: var(--paper); }
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
  background-image: none;
}
.logo:hover { color: var(--paper); }
.mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(243, 238, 230, .72);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1;
}
.logo-name {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.top-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.btn-solid, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  background-image: none;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--move), color var(--move), border-color var(--move), transform var(--move);
}
.btn-solid { background: var(--accent); color: var(--paper); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--accent-deep); color: var(--paper); transform: translateY(-2px); }
.btn-solid:active { transform: translateY(0); background: var(--accent-deep); }
.btn-line { background: transparent; color: var(--text); border-color: var(--text); }
.band-ink .btn-line, .band-deep .btn-line, .topbar .btn-line { color: var(--paper); border-color: rgba(243, 238, 230, .7); }
.btn-line:hover, .btn-line:focus-visible { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.burger {
  width: 44px;
  height: 40px;
  border: 1px solid rgba(243, 238, 230, .35);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 0 11px;
  cursor: pointer;
}
.burger span { display: block; height: 1px; background: currentColor; }
.mask {
  position: fixed;
  inset: 0;
  background: rgba(22, 19, 17, .48);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--move), visibility var(--move);
  z-index: 35;
}
.mask.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: var(--ink);
  color: var(--paper);
  z-index: 40;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .36s ease, visibility .36s ease;
  padding: 22px 28px 40px;
  overflow: auto;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer-close {
  margin-left: auto;
  display: block;
  min-width: 72px;
  height: 40px;
  border: 1px solid rgba(243, 238, 230, .35);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.drawer-nav { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 6px; }
.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 86%;
  transition: background-size var(--move), color var(--move);
}
.drawer-nav a:hover, .drawer-nav a:focus-visible { color: var(--accent); background-size: 100% 1px; }
.drawer-nav a.is-current::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  margin-right: 12px;
  flex: 0 0 auto;
}
.band { padding: 88px 0; position: relative; }
.band + .band { border-top: 1px solid var(--line); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-deep { background: var(--deep); color: var(--paper); }
.band-ink + .band, .band-deep + .band, .band-paper + .band-ink, .band-paper + .band-deep { border-top-color: transparent; }
.band-paper { background: var(--paper); color: var(--text); }
.kicker {
  margin: 0 0 12px;
  color: var(--olive);
  font-size: 13px;
  line-height: 1.4;
}
.band h1, .band h2, .band h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; }
.band h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.15;
  max-width: 8em;
}
.band h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.22;
}
.band h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.35; }
.lead, .sec-copy {
  max-width: 38em;
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.75;
}
.muted { color: var(--muted); }
.band-ink .muted, .band-deep .muted { color: var(--muted-dark); }
.sec-head { margin-bottom: 28px; }
.metric {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  min-height: 124px;
  padding: 16px 14px 14px;
  background: rgba(243, 238, 230, .03);
}
.metric b {
  display: block;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  animation: rise .45s ease both;
}
.metric span { display: block; margin-top: 12px; font-size: 13px; color: var(--muted-dark); }
.metric-row .col-6:nth-child(2) b { animation-delay: .06s; }
.metric-row .col-6:nth-child(3) b { animation-delay: .12s; }
.metric-row .col-6:nth-child(4) b { animation-delay: .18s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.matrix {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.path-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: var(--shadow);
  padding: 22px 20px 18px;
  min-height: 168px;
  transition: transform var(--move), border-color var(--move);
}
.path-card:hover { transform: translateY(-2px); border-color: #d5c9b8; }
.path-card:nth-child(1) { grid-column: span 7; }
.path-card:nth-child(2) { grid-column: span 5; }
.path-card:nth-child(3) { grid-column: span 4; }
.path-card:nth-child(4) { grid-column: span 8; }
.path-card:nth-child(5) { grid-column: span 6; }
.path-card:nth-child(6) { grid-column: span 6; }
.path-no {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-size: 13px;
  display: block;
  margin-bottom: 14px;
}
.path-card p, .scene-row p, .slide p, .guard p, .quote p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.scene-list { display: grid; gap: 12px; }
.scene-row {
  display: grid;
  grid-template-columns: 148px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
}
.scene-row:last-child { border-bottom: 1px solid var(--line-dark); }
.scene-row h3 { margin: 0; font-size: 26px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
}
.band-ink .badge, .band-deep .badge { color: #E7B39A; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 28px;
  align-items: start;
}
.compare-rule { background: var(--line); }
.side h3 { font-size: 26px; }
.plain { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.plain li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.ok::before, .no::before {
  font-family: var(--mono);
  flex: 0 0 auto;
}
.ok::before { content: "✓"; color: var(--olive); }
.no::before { content: "×"; color: var(--accent); }
.conclude { margin-top: 22px; }
.text-link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size var(--move), color var(--move);
}
.text-link:hover, .text-link:focus-visible { color: var(--accent); background-size: 100% 1px; }
.chip-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}
.chip {
  flex: 0 0 210px;
  scroll-snap-align: start;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  background: rgba(243, 238, 230, .03);
}
.chip strong { display: block; font-weight: 500; margin-bottom: 6px; }
.chip em { display: block; font-style: normal; color: var(--muted-dark); font-size: 13px; margin-bottom: 12px; }
.mini-bar, .bar {
  display: block;
  height: 2px;
  background: rgba(243, 238, 230, .2);
  border-radius: var(--radius);
  overflow: hidden;
}
.band-paper .mini-bar, .band-paper .bar { background: #E7E0D6; }
.mini-bar i, .bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 0;
  animation: fill .6s ease forwards;
}
@keyframes fill { to { width: var(--w); } }
.axis { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.axis li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.axis li:last-child { border-bottom: 1px solid var(--line); }
.axis-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 42px;
  line-height: .9;
  color: var(--accent);
}
.axis h3 { font-size: 22px; }
.axis p { margin: 0; max-width: 36em; color: var(--muted); }
.device-list { list-style: none; margin: 0; padding: 0; }
.device-list li {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
}
.device-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.device-list h3 { margin: 0; font-size: 24px; }
.device-list p { margin: 0; color: var(--muted-dark); }
.news { list-style: none; margin: 0; padding: 0; }
.news li { border-top: 1px solid var(--line); }
.news li:last-child { border-bottom: 1px solid var(--line); }
.news a {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  text-decoration: none;
  color: inherit;
  background-image: none;
}
.news a:hover strong, .news a:focus-visible strong { color: var(--accent); }
.news strong { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.news small { color: var(--muted); font-size: 13px; }
.more-row { margin-top: 18px; }
.entry-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}
.rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.slide {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  background-image: none;
  transition: transform var(--move);
}
.slide:hover { transform: translateY(-2px); color: var(--text); }
.poster { width: 100%; height: auto; }
.slide-body { padding: 14px 14px 16px; }
.slide-body h3 { font-size: 18px; margin: 8px 0; }
.slide-body p { min-height: 3.4em; }
.guard-list { display: grid; gap: 0; }
.guard {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
}
.guard:last-child { border-bottom: 1px solid var(--line-dark); }
.guard-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 40px;
  line-height: 1;
  color: #E7B39A;
}
.guard h3 { margin-bottom: 6px; }
.guard p { color: var(--muted-dark); }
.qa { margin: 0; display: grid; gap: 0; }
.qa div { padding: 16px 0; border-top: 1px solid var(--line); }
.qa div:last-child { border-bottom: 1px solid var(--line); }
.qa dt { font-family: var(--serif); font-size: 20px; line-height: 1.4; }
.qa dd { margin: 6px 0 0; max-width: 40em; color: var(--muted); }
.quote-list { display: grid; gap: 18px; }
.quote {
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid var(--accent);
}
.quote p {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.55;
  color: var(--paper);
}
.quote footer { margin-top: 8px; color: var(--muted-dark); font-size: 13px; }
.faq { display: grid; gap: 8px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 0 16px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--serif);
  font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 20px;
}
.faq details[open] { border-color: #d7c3b4; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; max-width: 40em; color: var(--muted); }
.intent {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}
.field { display: grid; gap: 6px; margin: 0; }
.field span { font-size: 13px; color: var(--muted-dark); }
.field input, .field textarea {
  width: 100%;
  border: 1px solid rgba(243, 238, 230, .28);
  border-radius: var(--radius);
  background: #1B1614;
  color: var(--paper);
  padding: 12px 12px;
  font-size: 16px;
  line-height: 1.5;
}
.field textarea { min-height: 120px; resize: vertical; }
.success {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(126, 138, 114, .7);
  border-radius: var(--radius);
  color: var(--paper);
}
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 28px;
  border-top: 1px solid var(--line-dark);
}
.foot-logo { margin-bottom: 28px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr .9fr;
  gap: 28px;
}
.footer h2 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0 0 12px;
  color: var(--muted-dark);
}
.footer a {
  display: block;
  width: fit-content;
  margin: 6px 0;
  color: var(--paper);
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size var(--move), color var(--move);
}
.footer a:hover, .footer a:focus-visible { color: var(--accent); background-size: 100% 1px; }
.footer p { margin: 0; color: var(--muted-dark); max-width: 28em; }
.copyline {
  width: min(var(--max), calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 13px;
}
@media (max-width: 991px) {
  .path-card { grid-column: span 6; min-height: 0; }
  .scene-row, .device-list li { grid-template-columns: 1fr; gap: 8px; }
  .entry-layout, .intent, .compare { grid-template-columns: 1fr; }
  .compare-rule { height: 1px; width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .news a { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 575px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .band { padding: 56px 0; }
  .logo-name { font-size: 13px; }
  .top-cta { padding: 0 10px; font-size: 13px; }
  .path-card, .foot-grid { grid-column: auto; }
  .path-card { grid-column: 1 / -1; }
  .matrix { grid-template-columns: 1fr; }
  .axis li, .guard { grid-template-columns: 1fr; gap: 6px; }
  .slide { flex-basis: 78%; }
  .drawer-nav a { font-size: 24px; }
  .quote p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .btn-solid:hover, .btn-line:hover, .path-card:hover, .slide:hover { transform: none; }
  .mini-bar i, .bar i { width: var(--w); }
}

/* roulang page: category1 */
:root {
  --ink: #161311;
  --deep: #221C19;
  --paper: #F3EEE6;
  --paper-2: #F8F4EE;
  --text: #1A1614;
  --muted: #6E675F;
  --muted-dark: #C9C0B6;
  --accent: #C4623A;
  --accent-deep: #A34E2C;
  --olive: #7E8A72;
  --line: #E4DDD2;
  --line-dark: rgba(243, 238, 230, .16);
  --radius: 2px;
  --shadow: 0 8px 24px rgba(22, 19, 17, .06);
  --header: 64px;
  --max: 1120px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Roboto Mono", ui-monospace, monospace;
  --move: .28s ease;
}
/* roulang page: category-lianbo */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.wrap {
  width: min(var(--max), calc(100% - 24px));
  margin: 0 auto;
  padding: 0 12px;
}
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: calc(100% - 168px);
  color: var(--paper);
  text-decoration: none;
  background-image: none;
}
.logo:hover { color: var(--paper); }
.mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 238, 230, .72);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1;
}
.logo-name {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.btn-solid, .btn-line, .filter-btn, .burger, .drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  background-image: none;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--move), color var(--move), border-color var(--move), transform var(--move);
}
.btn-solid { background: var(--accent); color: var(--paper); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--accent-deep); color: var(--paper); transform: translateY(-2px); }
.btn-solid:active { transform: translateY(0); background: var(--accent-deep); }
.btn-line { background: transparent; color: var(--text); border-color: var(--text); }
.band-ink .btn-line, .band-deep .btn-line { color: var(--paper); border-color: rgba(243, 238, 230, .7); }
.btn-line:hover, .btn-line:focus-visible { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.burger {
  width: 44px;
  padding: 0;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border-color: rgba(243, 238, 230, .35);
  color: var(--paper);
}
.burger span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--paper);
}
.burger:hover, .burger:focus-visible { border-color: var(--accent); }
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 19, 17, .46);
  opacity: 0;
  visibility: hidden;
  transition: opacity .36s ease, visibility .36s ease;
  z-index: 35;
}
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: var(--ink);
  color: var(--paper);
  z-index: 40;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .36s ease, visibility .36s ease;
  padding: 22px 28px 40px;
  overflow: auto;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer-close {
  margin-left: auto;
  display: block;
  min-width: 72px;
  height: 40px;
  border: 1px solid rgba(243, 238, 230, .35);
  background: transparent;
  color: var(--paper);
}
.drawer-close:hover, .drawer-close:focus-visible { border-color: var(--accent); color: var(--accent); }
.drawer-nav { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 6px; }
.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 86%;
  transition: background-size var(--move), color var(--move);
}
.drawer-nav a:hover, .drawer-nav a:focus-visible { color: var(--accent); background-size: 100% 1px; }
.drawer-nav a.is-current::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  margin-right: 12px;
  flex: 0 0 auto;
}
body.lock { overflow: hidden; }
.band { padding: 72px 0; }
.band-paper { background: var(--paper); color: var(--text); }
.band-soft { background: var(--paper-2); color: var(--text); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-deep { background: var(--deep); color: var(--paper); }
.cat-head { padding-top: calc(var(--header) + 56px); border-bottom: 1px solid var(--line); }
.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .12em;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
h1 { margin: 0; font-size: clamp(34px, 5vw, 60px); max-width: 9em; }
h2 { margin: 0; font-size: clamp(28px, 3vw, 36px); }
h3 { margin: 0; font-size: 22px; line-height: 1.35; }
.lead, .sec-copy { max-width: 38em; margin: 16px 0 0; font-size: 17px; line-height: 1.75; }
.muted { color: var(--muted); }
.band-ink .muted, .band-deep .muted { color: var(--muted-dark); }
.cat-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 36px;
  align-items: end;
}
.head-poster { margin: 0; }
.poster-art {
  min-height: 240px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(196, 98, 58, .72), transparent 46%),
    linear-gradient(180deg, #4a342b 0%, #241915 58%, #161311 100%);
  box-shadow: var(--shadow);
}
.head-poster figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.filter-band {
  padding: 18px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.filter-copy h2 { font-size: 22px; }
.filter-copy p { margin: 4px 0 0; max-width: 38em; color: var(--muted); font-size: 14px; }
.filter-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; align-items: center; }
.filter-btn {
  min-height: 34px;
  padding: 0 12px;
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.filter-btn:hover, .filter-btn:focus-visible { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.filter-btn.is-on { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.result-count {
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--olive);
  min-width: 5.5em;
  text-align: right;
}
.entry-list { --bs-gutter-x: 22px; --bs-gutter-y: 18px; }
.entry {
  height: 100%;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--move), border-color var(--move);
}
.entry:hover { transform: translateY(-2px); border-color: #d5c9b8; }
.entry[hidden] { display: none !important; }
.entry-art {
  min-height: 132px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(196, 98, 58, .55), transparent 50%),
    linear-gradient(180deg, #3c2b24, #1b1613);
}
.entry:nth-child(3n) .entry-art {
  background:
    linear-gradient(200deg, rgba(126, 138, 114, .7), transparent 52%),
    linear-gradient(180deg, #3a332b, #1a1614);
}
.entry:nth-child(3n+2) .entry-art {
  background:
    linear-gradient(20deg, rgba(196, 98, 58, .35), transparent 40%),
    linear-gradient(180deg, #5a4034, #221c19);
}
.entry-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
}
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--muted);
}
.entry h3 a {
  color: inherit;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size var(--move), color var(--move);
}
.entry h3 a:hover, .entry h3 a:focus-visible { color: var(--accent); background-size: 100% 1px; }
.entry p { margin: 8px 0 12px; max-width: 38em; font-size: 15px; line-height: 1.7; color: var(--muted); }
.text-link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size var(--move), color var(--move);
}
.text-link:hover, .text-link:focus-visible { color: var(--accent); background-size: 100% 1px; }
.sec-head { margin-bottom: 28px; max-width: 38em; }
.rest-mark {
  margin: 8px 0 18px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--olive);
  font-family: var(--mono);
  font-size: 12px;
}
@media (min-width: 768px) {
  .entry-col:nth-child(even) { margin-top: 34px; }
}
.step-row {
  display: grid;
  grid-template-columns: 1.2fr .9fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.step {
  padding: 22px 22px 8px 0;
  border-right: 1px solid var(--line-dark);
  min-height: 180px;
}
.step:last-child { border-right: 0; padding-right: 0; }
.step + .step { padding-left: 22px; }
.step b {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: #E7B39A;
}
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { margin: 0; max-width: 18em; color: var(--muted-dark); font-size: 15px; }
.timeline {
  width: min(640px, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}
.timeline li {
  position: relative;
  padding: 0 0 26px 22px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--accent);
}
.timeline .when {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--olive);
}
.timeline h3 { margin: 4px 0; font-size: 22px; }
.timeline p { margin: 0; max-width: 34em; color: var(--muted); font-size: 15px; }
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list li { border-top: 1px solid var(--line-dark); }
.article-list a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  color: var(--paper);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 64px 100%;
  transition: background-size var(--move), color var(--move);
}
.article-list a:hover, .article-list a:focus-visible { color: #E7B39A; background-size: calc(100% - 64px) 1px; }
.article-list span { font-family: var(--mono); font-size: 13px; color: #E7B39A; }
.article-list small { color: var(--muted-dark); font-size: 13px; }
.qa { margin: 0; max-width: 40em; }
.qa div { padding: 16px 0; border-top: 1px solid var(--line); }
.qa div:last-child { border-bottom: 1px solid var(--line); }
.qa dt { font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.qa dd { margin: 6px 0 0; max-width: 38em; color: var(--muted); }
.close-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.close-row p { max-width: 38em; margin: 12px 0 0; color: var(--muted-dark); }
.close-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.footer { background: var(--ink); color: var(--paper); padding: 56px 0 28px; border-top: 1px solid var(--line-dark); }
.foot-logo { margin-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.15fr 1.25fr; gap: 28px; }
.foot-grid h2 { font-size: 16px; margin-bottom: 12px; letter-spacing: 0; }
.foot-grid a, .foot-grid p {
  display: block;
  margin: 0 0 8px;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.7;
  max-width: 36em;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size var(--move), color var(--move);
}
.foot-grid a:hover, .foot-grid a:focus-visible { color: var(--accent); background-size: 100% 1px; }
.copyline {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 13px;
}
@media (max-width: 991px) {
  .cat-head-grid { grid-template-columns: 1fr; gap: 22px; }
  .step-row { grid-template-columns: 1fr; }
  .step, .step + .step { border-right: 0; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
  .step:last-child { border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .article-list a { grid-template-columns: 48px minmax(0, 1fr); }
  .article-list small { display: none; }
}
@media (max-width: 767px) {
  .band { padding: 48px 0; }
  .cat-head { padding-top: calc(var(--header) + 36px); }
  .filter-row, .close-row { flex-direction: column; align-items: flex-start; }
  .filter-actions { justify-content: flex-start; }
  .entry { grid-template-columns: 1fr; }
  .entry-art { min-height: 96px; }
  .entry-col:nth-child(even) { margin-top: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .drawer-nav a { font-size: 24px; }
}
@media (max-width: 575px) {
  .topbar { padding: 0 12px; }
  .logo { max-width: calc(100% - 132px); }
  .logo-name { font-size: 14px; }
  .top-cta { padding: 0 10px; font-size: 13px; }
  h1 { font-size: 34px; }
  .poster-art { min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* 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}
