/* roulang page: index */
:root {
  --lilac: #5C3D7A;
  --lilac-deep: #3E2858;
  --leaf: #2F6B45;
  --apricot: #E39B6A;
  --paper: #F4EFE6;
  --ink: #241C22;
  --mist: #E7DDF0;
  --rose: #A84B5A;
  --plum: #2A1E33;
  --line: #D9CBBA;
  --white: #FFFDF8;
  --muted: #5E534C;
  --shadow: 0 8px 24px rgba(36, 28, 34, .06);
  --shadow-hover: 0 10px 28px rgba(36, 28, 34, .10);
  --radius: 10px;
  --radius-btn: 8px;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --max: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--leaf); }
::selection { background: var(--mist); color: var(--ink); }
:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--plum);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 8px; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0;
}
.brand-name { font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-a {
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  border-bottom: 2px solid transparent;
}
.nav-a:hover { color: var(--leaf); }
.nav-a.is-on { color: var(--leaf); border-bottom-color: var(--leaf); }
.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--leaf); color: var(--leaf); }
.block { padding: 48px 0; }
.block-white { background: var(--white); }
.block-mist { background: #EFE6F4; }
.block-plain { background: transparent; }
.block h1, .block h2, .block h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0; }
.block h1 { font-size: 36px; line-height: 1.35; color: var(--lilac-deep); }
.block h2 { font-size: 24px; line-height: 1.4; color: var(--lilac-deep); margin-bottom: 12px; }
.block h3 { font-size: 18px; line-height: 1.5; color: var(--ink); }
.lead { max-width: 46rem; color: var(--ink); margin-bottom: 20px; }
.lead + .lead { margin-top: -8px; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr);
  gap: 28px;
  align-items: start;
}
.hero-copy p { margin-top: 14px; }
.subtitle {
  margin-top: 10px;
  font-size: 17px;
  color: var(--lilac-deep);
}
.nodebar {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nodebar li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 0;
  margin-right: 16px;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.nodebar b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--lilac);
  color: var(--paper);
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.btn-primary { background: var(--lilac); color: var(--paper); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--plum); border-color: var(--apricot); color: var(--paper); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--leaf); border-color: var(--leaf); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(47, 107, 69, .08); }
.btn-paper { background: var(--paper); color: var(--plum); }
.btn-paper:hover { border-color: var(--apricot); background: #fff; }
.infobox {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 18px;
}
.meta-table { width: 100%; border-collapse: collapse; }
.meta-table th, .meta-table td {
  text-align: left;
  font-weight: 500;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(217, 203, 186, .9);
  font-variant-numeric: tabular-nums;
}
.meta-table th { color: var(--muted); width: 42%; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--lilac-deep);
  font-size: 13px;
}
.chip.is-on { border-color: var(--leaf); color: var(--leaf); background: #F3F8F4; }
.chip-btn {
  font: inherit;
  cursor: pointer;
  min-height: 44px;
}
.chip-btn:hover { border-color: var(--leaf); }
.lookup { display: flex; gap: 8px; align-items: center; }
.lookup input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 12px;
}
.lookup input:focus { border-color: var(--leaf); }
.compare { display: flex; flex-direction: column; gap: 12px; }
.compare-row {
  display: grid;
  grid-template-columns: 8px 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.rose-mark { background: var(--rose); }
.compare-body { padding: 14px 16px; }
.compare-body h3 { margin-bottom: 4px; }
.sheet {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px 18px;
}
.def-row, .gloss-row, .metric-row {
  display: grid;
  gap: 8px 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.def-row:last-child, .gloss-row:last-child, .metric-row:last-child { border-bottom: 0; }
.def-row { grid-template-columns: 140px 1fr; }
.gloss-row { grid-template-columns: 140px 1fr; }
.metric-row { grid-template-columns: 120px 1.2fr .9fr; }
.def-row strong, .gloss-row strong, .metric-row strong { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.toc { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.toc a {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--leaf), var(--leaf));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 52px 100%;
  transition: background-size 180ms ease, color 180ms ease;
}
.toc a:hover { color: var(--leaf); background-size: calc(100% - 52px) 1px; }
.toc em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--lilac); font-size: 13px; }
.toc i { font-style: normal; color: var(--muted); font-size: 13px; }
.rail { position: relative; margin-left: 12px; padding-left: 22px; border-left: 1px solid var(--lilac); display: flex; flex-direction: column; gap: 14px; }
.rail article {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.rail article::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 18px;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: var(--apricot);
  box-shadow: 0 0 0 3px var(--paper);
}
.step-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.step {
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  min-height: 148px;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); transition: transform 180ms ease, box-shadow 180ms ease; }
.step-no {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lilac);
  color: var(--paper);
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  margin-bottom: 10px;
}
.checks { display: flex; flex-direction: column; gap: 8px; }
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  min-height: 44px;
}
.box {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 1.5px solid var(--leaf);
  border-radius: 3px;
  flex: none;
  position: relative;
}
.box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid var(--leaf);
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}
.scene-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.scene, .quote, .entry-card, .step, .rail article {
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.scene, .quote, .entry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  height: 100%;
}
.scene:hover, .quote:hover, .entry-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.scene p, .quote p { margin: 8px 0; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.tlink {
  color: var(--leaf);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size 180ms ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.tlink:hover { background-size: 100% 1px; }
.num-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.num {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 12px 14px;
  box-shadow: var(--shadow);
  text-align: left;
}
.num b {
  display: block;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: 40px;
  line-height: 1.1;
  color: var(--lilac);
  font-weight: 650;
}
.num span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.caliber { margin-top: 12px; }
.quote { position: relative; }
.quote::before {
  content: "“";
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  color: var(--lilac);
  display: block;
}
.quote footer { color: var(--muted); font-size: 13px; }
.people-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.people-list article {
  border-top: 2px solid var(--apricot);
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding: 14px 16px;
}
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.entry-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  text-decoration: none;
  color: inherit;
}
.entry-card strong { font-size: 13px; color: var(--leaf); font-variant-numeric: tabular-nums; font-weight: 600; }
.timeline { border-left: 1px solid var(--line); margin-left: 8px; display: flex; flex-direction: column; gap: 8px; }
.timeline article { position: relative; padding: 4px 0 16px 22px; }
.timeline article::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 12px;
  width: 9px;
  height: 9px;
  background: var(--leaf);
  border-radius: 2px;
}
.timeline time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cta {
  background: var(--plum);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.cta h2 { color: var(--paper); }
.cta .lead { color: #F4EFE6; }
.site-footer { background: var(--plum); color: var(--paper); padding: 40px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.15fr .7fr 1.15fr; gap: 28px; }
.site-footer a { color: var(--paper); }
.site-footer h2 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.foot-links { display: flex; flex-direction: column; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; width: fit-content; border-bottom: 1px solid transparent; }
.foot-links a:hover { border-bottom-color: var(--apricot); }
.intent { display: flex; flex-direction: column; gap: 8px; }
.intent input, .intent textarea {
  width: 100%;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(244, 239, 230, .35);
  background: rgba(255, 253, 248, .08);
  color: var(--paper);
  min-height: 44px;
  padding: 8px 12px;
}
.intent textarea { min-height: 88px; resize: vertical; }
.intent input::placeholder, .intent textarea::placeholder { color: rgba(244, 239, 230, .72); }
.fine { margin-top: 18px; font-size: 12px; color: rgba(244, 239, 230, .78); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (min-width: 1024px) {
  .block { padding: 72px 0; }
  .block h1 { font-size: 40px; }
  .block h2 { font-size: 26px; }
}
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .span-7, .span-5 { grid-column: span 6; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .metric-row strong { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .block { padding: 40px 0; }
  .block h1 { font-size: 32px; }
  .block h2 { font-size: 22px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 12px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-a { border-bottom: 1px solid var(--line); }
  .step-rail { flex-direction: column; overflow: visible; }
  .step { flex-basis: auto; }
  .num-row, .people-list, .entry-grid, .foot-grid, .scene-grid { grid-template-columns: 1fr; }
  .span-7, .span-5 { grid-column: auto; }
  .def-row, .gloss-row, .metric-row { grid-template-columns: 1fr; }
  .lookup { flex-direction: column; align-items: stretch; }
  .brand-name { font-size: 14px; }
}
@media (max-width: 520px) {
  .nodebar li { padding-right: 0; margin-right: 0; width: 100%; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .card-foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .scene:hover, .quote:hover, .entry-card:hover, .step:hover, .btn-primary:active { transform: none; }
}

/* roulang page: category1 */
:root {
 --lilac: #5C3D7A;
 --lilac-deep: #3E2858;
 --leaf: #2F6B45;
 --apricot: #E39B6A;
 --paper: #F4EFE6;
 --ink: #241C22;
 --mist: #E7DDF0;
 --rose: #A84B5A;
 --plum: #2A1E33;
 --line: #D9CBBA;
 --white: #FFFDF8;
 --muted: #5E534C;
 --shadow: 0 8px 24px rgba(36, 28, 34, .06);
 --shadow-hover: 0 10px 28px rgba(36, 28, 34, .10);
 --radius: 10px;
 --radius-btn: 8px;
 --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
 --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
 --max: 72rem;
}
/* roulang page: category-dingxiang */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 background: var(--paper);
 color: var(--ink);
 font-family: var(--sans);
 font-size: 16.5px;
 line-height: 1.8;
 text-rendering: optimizeLegibility;
}
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--leaf); }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: var(--paper);
 border-bottom: 1px solid var(--line);
}
.nav-bar {
 min-height: 64px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 position: relative;
}
.brand {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 color: var(--ink);
 text-decoration: none;
 min-height: 44px;
 font-family: var(--serif);
 font-size: 16px;
 letter-spacing: 0;
}
.brand-name { font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-a {
 color: var(--ink);
 text-decoration: none;
 min-height: 44px;
 padding: 0 12px;
 display: inline-flex;
 align-items: center;
 font-size: 15px;
 border-bottom: 2px solid transparent;
}
.nav-a:hover { color: var(--leaf); }
.nav-a.is-on { color: var(--leaf); border-bottom-color: var(--leaf); }
.nav-toggle {
 display: none;
 min-width: 44px;
 min-height: 44px;
 padding: 0 12px;
 border-radius: var(--radius-btn);
 border: 1px solid var(--line);
 background: var(--white);
 color: var(--ink);
 cursor: pointer;
}
.nav-toggle:hover { border-color: var(--leaf); color: var(--leaf); }
.crumb-bar {
 background: #EBE4D8;
 border-bottom: 1px solid var(--line);
}
.crumb-inner {
 min-height: 42px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
}
.crumb-nav {
 display: flex;
 align-items: center;
 gap: 8px;
 overflow-x: auto;
 white-space: nowrap;
 font-size: 13px;
 color: var(--muted);
 min-height: 44px;
}
.crumb-nav a { color: var(--leaf); text-decoration: none; }
.crumb-nav a:hover { text-decoration: underline; }
.crumb-nav [aria-current="page"] { color: var(--ink); }
.back-link {
 flex: 0 0 auto;
 font-size: 13px;
 color: var(--leaf);
 text-decoration: none;
 min-height: 44px;
 display: inline-flex;
 align-items: center;
 background-image: linear-gradient(var(--leaf), var(--leaf));
 background-repeat: no-repeat;
 background-size: 0 1px;
 background-position: 0 72%;
 transition: background-size 180ms ease;
}
.back-link:hover { background-size: 100% 1px; }
.block { padding: 48px 0; }
.block-paper { background: var(--paper); }
.block-sheet { background: #EFE6DA; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block-white { background: var(--white); }
.block-mist { background: #F7F1FA; }
.block-tight { padding-top: 28px; padding-bottom: 22px; }
.block h2 {
 font-family: var(--serif);
 font-size: 24px;
 line-height: 1.35;
 font-weight: 600;
 color: var(--ink);
 margin-bottom: 12px;
}
.block h3 {
 font-family: var(--serif);
 font-size: 18px;
 line-height: 1.45;
 font-weight: 600;
}
.page-title {
 font-family: var(--serif);
 font-size: 30px;
 line-height: 1.32;
 font-weight: 600;
 color: var(--ink);
}
.meta-line {
 display: flex;
 flex-wrap: wrap;
 gap: 6px 18px;
 margin-top: 8px;
 font-size: 13px;
 line-height: 1.7;
 color: var(--muted);
 font-variant-numeric: tabular-nums;
}
.lede { max-width: 46rem; margin-top: 10px; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: var(--radius-btn);
 text-decoration: none;
 border: 1px solid transparent;
 cursor: pointer;
 transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.btn-primary { background: var(--lilac); color: var(--paper); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--plum); border-color: var(--apricot); color: var(--paper); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--leaf); border-color: var(--leaf); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(47, 107, 69, .08); }
.btn-paper { background: var(--paper); color: var(--plum); }
.btn-paper:hover { border-color: var(--apricot); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
 display: inline-flex;
 align-items: center;
 min-height: 32px;
 padding: 0 12px;
 border-radius: 999px;
 background: var(--white);
 border: 1px solid var(--line);
 color: var(--lilac-deep);
 font-size: 13px;
}
.chip.is-on { border-color: var(--leaf); color: var(--leaf); background: #F3F8F4; }
.chip-btn { font: inherit; cursor: pointer; min-height: 44px; }
.chip-btn:hover { border-color: var(--leaf); }
.table-wrap {
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 overflow: hidden;
}
.dir-table { width: 100%; border-collapse: collapse; }
.dir-table th, .dir-table td {
 text-align: left;
 padding: 14px 16px;
 border-bottom: 1px solid var(--line);
 vertical-align: top;
}
.dir-table tr:last-child td { border-bottom: 0; }
.dir-table th {
 font-size: 13px;
 font-weight: 500;
 color: var(--muted);
 background: #F7F1E8;
}
.dir-table tbody tr:hover td { background: #FFFcf7; }
.name-cell {
 font-family: var(--serif);
 font-size: 18px;
 font-weight: 600;
 color: var(--ink);
}
.date-cell { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); font-size: 14px; }
.text-link {
 color: var(--leaf);
 text-decoration: none;
 background-image: linear-gradient(var(--leaf), var(--leaf));
 background-repeat: no-repeat;
 background-size: 0 1px;
 background-position: 0 100%;
 transition: background-size 180ms ease;
}
.text-link:hover { background-size: 100% 1px; }
.more-row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px 18px;
}
.path-rail { display: flex; flex-direction: column; gap: 12px; }
.path-item {
 display: grid;
 grid-template-columns: 28px 1fr;
 gap: 12px;
 align-items: start;
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 14px 16px;
 color: var(--ink);
 text-decoration: none;
 transition: transform 180ms ease, box-shadow 180ms ease;
}
.path-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--ink); }
.step-no {
 width: 28px;
 height: 28px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 background: var(--lilac);
 color: var(--paper);
 border-radius: 2px;
 font-size: 13px;
 font-variant-numeric: tabular-nums;
}
.path-item p { margin-top: 4px; }
.log-list { display: flex; flex-direction: column; }
.log-row {
 display: grid;
 grid-template-columns: 118px 1fr auto;
 gap: 12px 18px;
 align-items: center;
 padding: 14px 0;
 border-bottom: 1px solid var(--line);
}
.log-row:last-child { border-bottom: 0; }
.log-date { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
.rel-list { display: flex; flex-direction: column; }
.rel-list a {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 align-items: center;
 min-height: 56px;
 padding: 8px 0;
 border-bottom: 1px solid var(--line);
 color: var(--ink);
 text-decoration: none;
 font-family: var(--serif);
 font-size: 18px;
 background-image: linear-gradient(var(--leaf), var(--leaf));
 background-repeat: no-repeat;
 background-size: 0 1px;
 background-position: 0 100%;
 transition: background-size 180ms ease, color 180ms ease;
}
.rel-list a:hover { color: var(--leaf); background-size: 100% 1px; }
.rel-list span { font-family: var(--sans); font-size: 13px; color: var(--leaf); }
.cta-band {
 background: var(--plum);
 color: #F4EFE6;
 border-radius: var(--radius);
 padding: 22px 22px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 18px;
}
.cta-band h2 { color: #F4EFE6; margin-bottom: 6px; }
.cta-band p { color: #E7DDF0; }
.site-footer { background: var(--plum); color: #F4EFE6; padding: 48px 0 36px; }
.site-footer a { color: #F4EFE6; }
.site-footer h2 {
 font-family: var(--serif);
 font-size: 18px;
 font-weight: 600;
 margin-bottom: 10px;
 color: #F4EFE6;
}
.foot-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 28px; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-links a {
 text-decoration: none;
 min-height: 36px;
 display: inline-flex;
 align-items: center;
 background-image: linear-gradient(#E39B6A, #E39B6A);
 background-repeat: no-repeat;
 background-size: 0 1px;
 background-position: 0 78%;
 transition: background-size 180ms ease, color 180ms ease;
}
.foot-links a:hover { color: var(--apricot); background-size: 100% 1px; }
.fine { font-size: 13px; color: #E7DDF0; margin-top: 8px; }
.intent { display: flex; flex-direction: column; gap: 8px; }
.intent input, .intent textarea {
 min-height: 44px;
 border-radius: var(--radius-btn);
 border: 1px solid var(--line);
 background: #FFFDF8;
 color: var(--ink);
 padding: 8px 12px;
}
.intent textarea { min-height: 72px; resize: vertical; }
.intent input:focus, .intent textarea:focus { border-color: var(--leaf); }
.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 white-space: nowrap;
 border: 0;
}
@media (min-width: 768px) {
 .path-rail { flex-direction: row; align-items: stretch; }
 .path-item { flex: 1; }
 .page-title { font-size: 32px; }
}
@media (min-width: 1024px) {
 .block { padding: 72px 0; }
 .block-tight { padding-top: 36px; padding-bottom: 28px; }
 .page-title { font-size: 34px; }
 .block h2 { font-size: 26px; }
}
@media (max-width: 767px) {
 .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
 .nav-links {
 display: none;
 position: absolute;
 left: 0;
 right: 0;
 top: 64px;
 flex-direction: column;
 align-items: stretch;
 background: var(--paper);
 border-bottom: 1px solid var(--line);
 padding: 8px 16px 16px;
 box-shadow: var(--shadow);
 }
 .nav-links.is-open { display: flex; }
 .nav-a { width: 100%; }
 .dir-table thead { display: none; }
 .dir-table, .dir-table tbody, .dir-table tr, .dir-table td { display: block; width: 100%; }
 .table-wrap { background: transparent; border: 0; box-shadow: none; overflow: visible; }
 .dir-table tr {
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 margin-bottom: 12px;
 padding: 12px 14px;
 }
 .dir-table td { border: 0; padding: 4px 0; }
 .dir-table td.sum-cell { color: var(--ink); }
 .log-row, .more-row, .cta-band, .foot-grid { grid-template-columns: 1fr; display: grid; }
 .more-row, .cta-band { align-items: flex-start; }
 .log-row { gap: 4px; }
}
@media (max-width: 520px) {
 .brand-name { font-size: 14px; }
 .page-title { font-size: 28px; }
 .cta-band { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after {
 transition: none !important;
 animation: none !important;
 }
}

/* roulang page: category2 */
:root {
  --lilac: #5C3D7A;
  --lilac-deep: #3E2858;
  --leaf: #2F6B45;
  --apricot: #E39B6A;
  --paper: #F4EFE6;
  --ink: #241C22;
  --mist: #E7DDF0;
  --rose: #A84B5A;
  --plum: #2A1E33;
  --line: #D9CBBA;
  --white: #FFFDF8;
  --muted: #5E534C;
  --shadow: 0 8px 24px rgba(36, 28, 34, .06);
  --shadow-hover: 0 10px 28px rgba(36, 28, 34, .10);
  --radius: 10px;
  --radius-btn: 8px;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --max: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--leaf); }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0; color: var(--ink); }
h1 { font-size: 30px; line-height: 1.35; }
h2 { font-size: 24px; line-height: 1.4; margin-bottom: 14px; }
h3 { font-size: 18px; line-height: 1.45; }
p + p { margin-top: 0.8em; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 16px;
}
.brand-name { font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-a {
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  border-bottom: 2px solid transparent;
}
.nav-a:hover { color: var(--leaf); }
.nav-a.is-on { color: var(--leaf); border-bottom-color: var(--leaf); }
.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--leaf); color: var(--leaf); }
.crumb-bar {
  background: #EBE3D6;
  border-bottom: 1px solid var(--line);
}
.crumb-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.crumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
}
.crumb-trail a { color: var(--leaf); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.crumb-trail a:hover { text-decoration: underline; }
.crumb-trail [aria-current="page"] { color: var(--ink); }
.crumb-back {
  flex: none;
  color: var(--leaf);
  text-decoration: none;
  font-size: 13px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.crumb-back:hover { text-decoration: underline; }
.band { padding: 48px 0; }
.band-mist { background: #EFE6F4; }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-sand { background: #F7F1E8; }
.band-plum { background: var(--plum); color: var(--paper); }
.band-plum h2, .band-plum p { color: var(--paper); }
.page-head { padding-top: 36px; padding-bottom: 28px; }
.head-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px 32px;
  border-left: 4px solid var(--lilac);
  padding: 6px 0 6px 16px;
}
.head-note { max-width: 18em; color: var(--muted); font-size: 15px; line-height: 1.7; }
.chip-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--lilac-deep);
  font-size: 13px;
  white-space: nowrap;
}
.chip-btn {
  font: inherit;
  cursor: pointer;
  min-height: 44px;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}
.chip-btn:hover, .chip-btn:focus-visible { border-color: var(--leaf); color: var(--leaf); }
.chip.is-on { border-color: var(--leaf); color: var(--leaf); background: #F3F8F4; }
.time-band { position: relative; padding-left: 22px; display: grid; gap: 16px; }
.time-band::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--lilac);
}
.time-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.time-row:nth-child(1) .scene-card { grid-column: 1 / span 7; }
.time-row:nth-child(2) .scene-card { grid-column: 8 / span 5; }
.time-row:nth-child(3) .scene-card { grid-column: 6 / span 7; }
.time-row:nth-child(4) .scene-card { grid-column: 1 / span 5; }
.time-row:nth-child(5) .scene-card { grid-column: 1 / span 7; }
.time-row:nth-child(6) .scene-card { grid-column: 8 / span 5; }
.scene-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.scene-card::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--apricot);
  left: -21px;
  top: 22px;
  box-shadow: 0 0 0 3px var(--paper);
}
.scene-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.scene-card h3 { margin-bottom: 6px; }
.scene-fact { font-size: 16.5px; }
.scene-date {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--leaf);
  text-decoration: none;
  background-image: linear-gradient(var(--leaf), var(--leaf));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size 180ms ease, color 180ms ease;
}
.text-link:hover { background-size: 100% 1px; }
.more-strip {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  padding-top: 4px;
}
.more-strip p { max-width: 40rem; }
.pair-list, .cmp-list, .excerpt-list { border-top: 1px solid var(--line); }
.pair-row, .cmp-row, .excerpt-row {
  display: grid;
  gap: 8px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.pair-row { grid-template-columns: 148px 1fr; }
.cmp-row { grid-template-columns: 88px 1fr; }
.excerpt-row { grid-template-columns: 118px 1fr auto; align-items: center; }
.pair-row strong, .cmp-row strong, .excerpt-row strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}
.cmp-row strong { color: var(--lilac-deep); }
.meter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 18px;
}
.meter div {
  border-top: 1px solid rgba(244, 239, 230, .35);
  padding-top: 10px;
}
.meter b {
  display: block;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.2;
  color: var(--apricot);
}
.meter span { font-size: 13px; color: #E7DDF0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.btn-primary { background: var(--lilac); color: var(--paper); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--plum); border-color: var(--apricot); color: var(--paper); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--leaf); border-color: var(--leaf); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(47, 107, 69, .08); }
.btn-paper { background: var(--paper); color: var(--plum); }
.btn-paper:hover, .btn-paper:focus-visible { border-color: var(--apricot); background: #fff; color: var(--plum); }
.site-footer { background: var(--plum); color: var(--paper); padding: 40px 0 32px; }
.site-footer h2 { font-size: 18px; color: var(--paper); margin-bottom: 8px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 28px; }
.foot-links { display: grid; }
.foot-links a, .site-footer .brand { color: var(--paper); }
.foot-links a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.foot-links a:hover { color: var(--apricot); }
.fine { font-size: 13px; color: #E7DDF0; margin-top: 8px; }
.intent { display: grid; gap: 8px; }
.intent input, .intent textarea {
  width: 100%;
  min-height: 44px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
}
.intent textarea { min-height: 80px; resize: vertical; }
.intent input:focus, .intent textarea:focus { border-color: var(--leaf); }
@media (min-width: 1024px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .band { padding: 72px 0; }
  .page-head { padding-top: 48px; padding-bottom: 36px; }
}
@media (max-width: 1023px) {
  .time-row .scene-card { grid-column: 1 / -1; width: 100%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .time-row:nth-child(odd) .scene-card { width: 86%; }
  .time-row:nth-child(even) .scene-card { width: 72%; margin-left: auto; }
  .excerpt-row { grid-template-columns: 108px 1fr; }
  .excerpt-row .text-link { grid-column: 2; }
}
@media (max-width: 767px) {
  .nav-bar { position: relative; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 12px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-a { width: 100%; }
  .head-line, .more-strip, .foot-grid { display: block; }
  .head-note, .more-strip .text-link { margin-top: 8px; }
  .meter { grid-template-columns: 1fr 1fr; }
  .pair-row, .cmp-row, .excerpt-row { grid-template-columns: 1fr; }
  .scene-card:hover { transform: none; }
}
@media (max-width: 520px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .brand-name { font-size: 14px; }
  .meter b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .scene-card:hover { transform: none; }
}
