/* roulang page: index */
:root {
  --bg: #F3EBE1;
  --bg-alt: #E8DDD2;
  --ink: #241E1C;
  --muted: #5E564F;
  --line: #E0D4C8;
  --plum: #6E3A4A;
  --plum-2: #7d4556;
  --olive: #6D7A62;
  --apricot: #E0A07C;
  --dark: #2C2422;
  --cream: #F6F1EA;
  --paper: #F7F1EA;
  --radius: 14px;
  --pill: 999px;
  --shadow: 0 8px 24px rgba(36, 30, 28, 0.08);
  --space: 72px;
  --h1: 46px;
  --h2: 30px;
  --body: 17px;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: var(--body);
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-2); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
::selection { background: #e7cfc8; color: var(--ink); }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0; font-size: var(--h1); line-height: 1.25; font-weight: 700; }
h2 { margin: 0 0 12px; font-size: var(--h2); line-height: 1.3; font-weight: 700; }
h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.4; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { margin: 0; color: var(--muted); max-width: 46em; }
.section-head { margin-bottom: 28px; }
section { padding: var(--space) 0; scroll-margin-top: 132px; }
.alt { background: var(--bg-alt); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: var(--shadow); }
.nav-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  line-height: 1.25;
}
.logo-name { font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }
.logo-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--pill);
}
.nav a:hover { color: var(--plum); background: rgba(110, 58, 74, 0.06); }
.nav a.active { color: var(--plum); background: var(--bg-alt); font-weight: 700; }
.nav a:active { transform: translateY(1px); }
.tools { display: flex; align-items: center; gap: 10px; }
.badge-18, .badge, .badge-no, .scene-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pill);
  font-style: normal;
  line-height: 1.2;
}
.badge-18 {
  background: var(--plum);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  letter-spacing: 0.04em;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--apricot); }
.nav-toggle:active { transform: translateY(1px); }
.progress-wrap { overflow-x: auto; padding-bottom: 12px; }
.progress {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 2px 0 8px;
  position: relative;
  min-width: 640px;
}
.progress::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 1px;
  background: var(--line);
}
.progress a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 14px;
  font-size: 15px;
}
.progress a:hover { border-color: var(--apricot); }
.progress .is-current a, .progress .is-done a {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--cream);
  font-weight: 700;
}
.step-no {
  width: 22px;
  height: 22px;
  border-radius: var(--pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  font-size: 12px;
}
.hero-grid, .cta-grid, .entry-grid, .bento, .stats, .steps, .scene-grid, .quote-grid, .foot-grid {
  display: grid;
  gap: 16px;
}
.hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 36px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--plum);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.sub { font-size: 18px; margin: 14px 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: var(--pill);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-2); color: #fff; box-shadow: inset 0 0 0 1px var(--apricot); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { color: var(--plum); box-shadow: inset 0 0 0 1px var(--apricot); }
.btn:active { transform: translateY(1px); }
.sheet {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px 10px;
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 700;
}
.ribbon {
  background: var(--plum);
  color: var(--cream);
  border-radius: var(--pill);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
}
.sheet-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 12px 8px;
  border-top: 1px solid var(--line);
  border-radius: 10px;
}
.sheet-row:hover { background: #f3e7df; }
.sheet-row b { color: var(--plum); }
.sheet-row span { color: var(--muted); font-size: 14px; }
.bento { grid-template-columns: 1.45fr 1fr 1fr; }
.bento-card, .clip, .scene, .quote, .entry, .collect, .faq-item, .news-row, .node, .step, .stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.bento-card, .clip, .scene, .quote, .entry, .collect, .step {
  padding: 18px;
  transition: transform .2s ease, border-color .2s ease;
}
.bento-card:hover, .clip:hover, .scene:hover, .quote:hover, .entry:hover, .step:hover, .collect:hover {
  transform: translateY(-2px);
  border-color: var(--plum);
}
.is-big { grid-row: span 2; display: flex; flex-direction: column; }
.badge-no, .badge {
  background: var(--olive);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  margin-bottom: 10px;
}
.card-link { color: var(--ink); text-decoration: none; display: block; height: 100%; }
.card-link:hover { color: var(--plum); }
.card-text { color: var(--muted); margin: 0; font-size: 16px; }
.stats { grid-template-columns: repeat(4, 1fr); }
.stat {
  border-radius: var(--pill);
  padding: 18px 12px;
  text-align: center;
  box-shadow: none;
}
.stat b { display: block; font-size: 32px; line-height: 1.2; color: var(--plum); }
.stat span { display: block; font-weight: 700; }
.stat em { color: var(--olive); font-size: 13px; }
.steps { grid-template-columns: repeat(4, 1fr); }
.step { text-decoration: none; color: inherit; display: block; }
.step:hover { color: inherit; }
.step small { display: block; color: var(--plum); font-weight: 700; margin-bottom: 6px; }
.scene-grid { grid-template-columns: 1.35fr 1fr 0.82fr; align-items: stretch; }
.frame {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 12px;
  background: #c4a484;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.tone-b { background: #8c6a5a; }
.tone-c { background: #6d7a62; }
.tone-d { background: #b08978; }
.wall { columns: 3; column-gap: 16px; }
.clip { break-inside: avoid; margin: 0 0 16px; display: inline-block; width: 100%; }
.clip .frame { margin-bottom: 12px; }
.ratio-tall { aspect-ratio: 4 / 5; }
.ratio-mid { aspect-ratio: 1 / 1; }
.scene-tag { background: #efe4d8; color: var(--ink); padding: 2px 8px; font-size: 12px; margin-right: 6px; }
.meta-line { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.node {
  margin: 0 0 12px 0;
  padding: 14px 16px 14px 48px;
  position: relative;
  box-shadow: none;
}
.node::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 22px;
  width: 13px;
  height: 13px;
  border-radius: var(--pill);
  background: var(--bg);
  border: 2px solid var(--olive);
}
.node strong { display: block; }
.node span { color: var(--muted); font-size: 14px; }
.news { display: grid; }
.news-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 14px 12px;
  box-shadow: none;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
.news-row:first-child { border-top: 1px solid var(--line); }
.news-row:hover { background: var(--bg-alt); }
.news-row a { color: var(--ink); }
.news-row a:hover { color: var(--plum); }
.more-row { margin-top: 16px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tag, .pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--pill);
  padding: 7px 12px;
}
.tag:hover, .pill:hover { border-color: var(--plum); color: var(--plum); }
.tag:active, .pill:active { transform: translateY(1px); }
.hscroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.collect { min-width: min(520px, 86vw); scroll-snap-align: start; }
.partners { display: flex; flex-wrap: wrap; gap: 10px; }
.legend { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.track { height: 10px; background: #e7d9cc; border-radius: var(--pill); overflow: hidden; }
.track i { display: block; height: 100%; background: var(--plum); border-radius: var(--pill); }
.bar em { font-style: normal; color: var(--muted); font-size: 14px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 0; overflow: hidden; box-shadow: none; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--plum); }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] { border-left: 3px solid var(--plum); background: var(--paper); }
.faq-item p { margin: 0; padding: 0 16px 14px; color: var(--muted); }
.safety {
  background: #e4e6dc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.safety-row, .promise-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.promise-row { margin-top: 14px; }
.promise {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 6px 12px;
}
.quote-grid { grid-template-columns: 1.15fr 0.82fr 1fr; align-items: start; }
.quote p { margin: 0; }
.quote footer { margin-top: 12px; color: var(--olive); font-size: 14px; }
.quote-b { margin-top: 28px; }
.quote-c { margin-top: 10px; }
.entry-grid { grid-template-columns: 1fr 1fr; }
.entry h3 { margin-top: 8px; }
.cta { background: var(--dark); color: var(--cream); }
.cta .lead { color: #ddd4cb; }
.cta-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field span { font-size: 14px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--apricot); }
input:focus, select:focus, textarea:focus { border-color: var(--plum); }
.invalid { border-color: var(--plum); background: #f3e6e4; }
.form-ok, .form-err { min-height: 1.8em; color: var(--cream); margin: 8px 0 0; }
.site-footer { background: var(--dark); color: var(--cream); padding: 48px 0 28px; }
.site-footer a { color: var(--cream); }
.foot-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; }
.site-footer h2 { font-size: 18px; }
.foot-note { margin-top: 22px; color: #ddd4cb; font-size: 14px; }
@media (max-width: 1024px) {
  :root { --h1: 36px; --h2: 28px; --space: 56px; }
  .hero-grid, .cta-grid, .entry-grid, .quote-grid, .foot-grid, .scene-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .is-big { grid-column: span 2; grid-row: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .wall { columns: 2; }
  .quote-b, .quote-c { margin-top: 0; }
}
@media (max-width: 768px) {
  :root { --h1: 32px; --space: 40px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 8px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .bento, .steps, .scene-grid { grid-template-columns: 1fr; }
  .is-big { grid-column: auto; }
  .wall { columns: 1; }
  .news-row { grid-template-columns: 88px minmax(0, 1fr); }
  .bar { grid-template-columns: 64px minmax(0, 1fr); }
  .bar em { grid-column: 2; }
}
@media (max-width: 520px) {
  :root { --h1: 30px; --body: 16px; }
  .container { width: min(var(--max), calc(100% - 32px)); }
  .stats, .foot-grid { grid-template-columns: 1fr; }
  .sheet-row { grid-template-columns: 36px minmax(0, 1fr); }
  .logo-name { font-size: 18px; }
  .stat { border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category2 */
:root {
  --bg: #F3EBE1;
  --bg-alt: #E8DDD2;
  --ink: #241E1C;
  --muted: #5E564F;
  --line: #E0D4C8;
  --plum: #6E3A4A;
  --plum-2: #7d4556;
  --olive: #6D7A62;
  --apricot: #E0A07C;
  --dark: #2C2422;
  --cream: #F6F1EA;
  --paper: #F7F1EA;
  --radius: 14px;
  --pill: 999px;
  --shadow: 0 8px 24px rgba(36, 30, 28, 0.08);
  --space: 72px;
  --h1: 46px;
  --h2: 30px;
  --body: 17px;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: var(--body);
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-2); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
}
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: var(--h1); font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
h2 { font-size: var(--h2); font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
h3 { font-size: 20px; line-height: 1.4; margin-bottom: 8px; }
.lead { margin: 0; color: var(--muted); max-width: 40em; }
.section-head { margin-bottom: 22px; }
section { padding: var(--space) 0; scroll-margin-top: 132px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: var(--shadow); }
.nav-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  line-height: 1.25;
}
.logo-name { font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }
.logo-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--pill);
}
.nav a:hover { color: var(--plum); background: rgba(110, 58, 74, 0.06); }
.nav a.active { color: var(--plum); background: var(--bg-alt); font-weight: 700; }
.nav a:active { transform: translateY(1px); }
.badge-18, .badge, .badge-no, .scene-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pill);
  font-style: normal;
  line-height: 1.2;
}
.badge-18 {
  background: var(--plum);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  letter-spacing: 0.04em;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--apricot); }
.nav-toggle:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.nav-toggle:active { transform: translateY(1px); }
.progress-wrap { padding-bottom: 12px; }
.progress {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  overflow-x: auto;
}
.progress li { flex: 1 0 auto; }
.progress a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 14px;
  font-size: 15px;
}
.progress a:hover { border-color: var(--apricot); }
.progress .is-current a, .progress .is-done a {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--cream);
  font-weight: 700;
}
.step-no {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  font-size: 12px;
  font-weight: 700;
}
.progress .is-current .step-no, .progress .is-done .step-no {
  background: rgba(255, 255, 255, 0.22);
  color: var(--cream);
}
.tools { display: flex; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: var(--pill);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-2); color: #fff; box-shadow: inset 0 0 0 1px var(--apricot); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { color: var(--plum); box-shadow: inset 0 0 0 1px var(--apricot); }
.btn:active { transform: translateY(1px); }
.badge-no, .badge {
  background: var(--olive);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
}
.scene-tag {
  background: #efe4d8;
  color: var(--ink);
  padding: 2px 8px;
  font-size: 12px;
}
.cat-head { padding-top: 28px; padding-bottom: 32px; background: var(--bg); }
.cat-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: end;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--plum);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
}
.ruler {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 12px;
}
.ruler ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 18px 0 0;
  position: relative;
}
.ruler ol::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 6px;
  height: 2px;
  background: var(--plum);
}
.ruler li {
  position: relative;
  text-align: center;
  font-size: 14px;
}
.ruler li::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--plum);
  transform: translateX(-50%);
}
.ruler li.is-on::before { background: var(--olive); border-color: var(--olive); }
.ruler strong { display: block; font-size: 15px; }
.ruler span { color: var(--muted); font-size: 13px; }
.sheet {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.chapter-list { list-style: none; margin: 0; padding: 0; }
.chapter {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, border-color .2s ease;
}
.chapter:hover { background: rgba(247, 241, 234, 0.72); }
.ch-no {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--plum);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chapter h3 { margin: 0 0 4px; font-size: 18px; }
.chapter p { margin: 0; color: var(--muted); font-size: 15px; }
.chapter-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.chapter time { color: var(--plum); font-weight: 700; font-size: 16px; }
.more-band {
  padding: 28px 0;
  background: var(--dark);
  color: var(--cream);
}
.more-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.more-band h2 { margin: 0; font-size: 26px; color: var(--cream); }
.more-band p { margin: 6px 0 0; color: rgba(246, 241, 234, 0.78); }
.acts { background: var(--bg); }
.act-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}
.act {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.act:hover { transform: translateY(-2px); border-color: var(--plum); }
.act img { width: 100%; height: 168px; object-fit: cover; }
.act div { padding: 16px 16px 18px; }
.act p { margin: 0; color: var(--muted); }
.duration { background: var(--bg-alt); }
.band-list { display: grid; gap: 14px; }
.band {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px 16px;
}
.band-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
}
.band-top span { color: var(--muted); font-size: 14px; }
.track {
  height: 12px;
  background: #efe4d8;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  overflow: hidden;
}
.fill { display: block; height: 100%; background: var(--plum); width: 34%; }
.fill.mid { width: 57%; background: var(--olive); }
.fill.long { width: 84%; }
.update-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.update-row i {
  font-style: normal;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 6px 12px;
  font-size: 14px;
}
.reads { background: var(--bg); }
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.link-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.link-list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.link-list a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.link-list small { color: var(--muted); }
.notes { background: var(--bg-alt); }
.note-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}
.note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.note p { margin: 0; color: var(--muted); }
.note + .note { border-left: 4px solid var(--plum); }
.site-footer {
  background: var(--dark);
  color: var(--cream);
  padding: 48px 0 28px;
}
.site-footer h2 { font-size: 18px; margin: 0 0 8px; color: var(--cream); }
.site-footer p { margin: 0; color: rgba(246, 241, 234, 0.82); }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--apricot); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; }
.foot-note {
  border-top: 1px solid rgba(246, 241, 234, 0.16);
  margin-top: 22px;
  padding-top: 16px;
  color: rgba(246, 241, 234, 0.72);
  font-size: 14px;
}
@media (max-width: 1024px) {
  :root { --h1: 36px; --h2: 28px; --space: 56px; }
  .cat-top, .act-grid, .note-grid, .foot-grid { grid-template-columns: 1fr; }
  .act img { height: 200px; }
}
@media (max-width: 768px) {
  :root { --h1: 32px; --space: 40px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    order: 5;
    padding-bottom: 8px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 12px; }
  .tools { margin-left: auto; }
  .more-line { flex-direction: column; align-items: flex-start; }
  .link-list li { grid-template-columns: 72px minmax(0, 1fr); }
  .link-list .scene-tag { grid-column: 2; justify-self: start; }
}
@media (max-width: 520px) {
  :root { --h1: 30px; --body: 16px; }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .chapter { grid-template-columns: 56px minmax(0, 1fr); }
  .chapter-side { grid-column: 2; flex-direction: row; align-items: center; }
  .ruler ol { grid-template-columns: 1fr; gap: 16px; padding-top: 0; }
  .ruler ol::before { display: none; }
  .ruler li { text-align: left; padding-left: 22px; }
  .ruler li::before { left: 0; top: 6px; transform: none; }
}

/* roulang page: category1 */
:root {
 --bg: #F3EBE1;
 --bg-alt: #E8DDD2;
 --ink: #241E1C;
 --muted: #5E564F;
 --line: #E0D4C8;
 --plum: #6E3A4A;
 --plum-2: #7d4556;
 --olive: #6D7A62;
 --apricot: #E0A07C;
 --dark: #2C2422;
 --cream: #F6F1EA;
 --paper: #F7F1EA;
 --radius: 14px;
 --pill: 999px;
 --shadow: 0 8px 24px rgba(36, 30, 28, 0.08);
 --space: 72px;
 --h1: 46px;
 --h2: 30px;
 --body: 17px;
 --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: var(--body);
 line-height: 1.8;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: var(--h1); line-height: 1.25; font-weight: 700; margin-bottom: 12px; }
h2 { font-size: var(--h2); line-height: 1.3; font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 18px; line-height: 1.45; font-weight: 700; margin-bottom: 8px; }
p { margin-bottom: 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--plum-2); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
::selection { background: rgba(110, 58, 74, 0.18); }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.lead { margin: 0; color: var(--muted); max-width: 40em; }
.section-head { margin-bottom: 28px; }
.section-head p { margin-bottom: 0; color: var(--muted); }
section { padding: var(--space) 0; scroll-margin-top: 140px; }
.band-alt { background: var(--bg-alt); }
.band-paper { background: #efe4d8; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 30;
 background: var(--bg);
 border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: var(--shadow); }
.nav-row {
 display: flex;
 align-items: center;
 gap: 16px;
 min-height: 74px;
 flex-wrap: wrap;
}
.logo {
 display: flex;
 flex-direction: column;
 justify-content: center;
 text-decoration: none;
 color: var(--ink);
 margin-right: auto;
 line-height: 1.25;
}
.logo-name { font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }
.logo-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
 color: var(--ink);
 text-decoration: none;
 padding: 8px 12px;
 border-radius: var(--pill);
}
.nav a:hover { color: var(--plum); background: rgba(110, 58, 74, 0.06); }
.nav a.active { color: var(--plum); background: var(--bg-alt); font-weight: 700; }
.nav a:active { transform: translateY(1px); }
.badge-18, .badge, .badge-no, .scene-tag {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 border-radius: var(--pill);
 font-style: normal;
 line-height: 1.2;
}
.badge-18 {
 background: var(--plum);
 color: var(--cream);
 font-size: 12px;
 font-weight: 700;
 padding: 4px 8px;
 letter-spacing: 0.04em;
}
.tools { display: flex; align-items: center; }
.nav-toggle {
 display: none;
 border: 1px solid var(--line);
 background: var(--paper);
 border-radius: var(--radius);
 min-height: 44px;
 padding: 0 14px;
 cursor: pointer;
}
.nav-toggle:hover { border-color: var(--apricot); }
.nav-toggle:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.nav-toggle:active { transform: translateY(1px); }
.progress-wrap { overflow-x: auto; padding-bottom: 14px; }
.progress {
 display: flex;
 gap: 10px;
 list-style: none;
 margin: 0;
 padding: 0 0 4px;
 min-width: max-content;
}
.progress a {
 position: relative;
 z-index: 1;
 display: flex;
 align-items: center;
 gap: 8px;
 text-decoration: none;
 color: var(--ink);
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: var(--pill);
 padding: 8px 14px;
 font-size: 15px;
 white-space: nowrap;
}
.progress a:hover { border-color: var(--apricot); }
.progress a:active { transform: translateY(1px); }
.progress .is-current a, .progress .is-done a {
 background: var(--olive);
 border-color: var(--olive);
 color: var(--cream);
 font-weight: 700;
}
.step-no {
 width: 22px;
 height: 22px;
 border-radius: 50%;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 background: var(--bg-alt);
 font-size: 12px;
 font-weight: 700;
}
.progress .is-current .step-no { background: rgba(246, 241, 234, 0.22); color: var(--cream); }
.cat-head { padding: 32px 0 28px; }
.cat-head-grid {
 display: grid;
 grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.7fr);
 gap: 28px;
 align-items: end;
}
.cat-head h1 { font-size: 40px; max-width: 12em; }
.eyebrow {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 color: var(--plum);
 font-size: 14px;
 font-weight: 700;
 margin: 0 0 12px;
}
.chip-panel {
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px 16px 18px;
}
.chip-label { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 40px;
 padding: 6px 16px;
 border-radius: var(--pill);
 border: 1px solid var(--line);
 background: var(--bg);
 color: var(--ink);
 text-decoration: none;
 transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.chip:hover { border-color: var(--apricot); color: var(--plum); }
.chip:active { transform: translateY(1px); }
.chip.is-on { background: var(--plum); border-color: var(--plum); color: #fff; }
.home-list {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 16px;
}
.wide-card, .note, .excerpt, .more-grid, .day {
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.wide-card { transition: transform .2s ease, border-color .2s ease; }
.wide-card:hover { transform: translateY(-2px); border-color: var(--plum); }
.card-link {
 display: grid;
 grid-template-columns: 180px minmax(0, 1fr);
 gap: 14px;
 align-items: center;
 padding: 12px;
 color: var(--ink);
 text-decoration: none;
 height: 100%;
}
.card-link:hover { color: var(--plum); }
.frame {
 aspect-ratio: 16 / 10;
 border-radius: 12px;
 overflow: hidden;
 background: #e7d3c4;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.badge-no, .badge {
 background: var(--olive);
 color: var(--cream);
 font-size: 12px;
 font-weight: 700;
 padding: 3px 8px;
 margin-bottom: 10px;
}
.meta-line { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.card-text { color: var(--muted); margin: 0; font-size: 16px; }
.compare {
 display: grid;
 grid-template-columns: 1.25fr 0.9fr 0.95fr 1.05fr;
 gap: 16px;
}
.note { padding: 18px; box-shadow: none; }
.note .badge { margin-bottom: 12px; }
.note p { margin: 0; color: var(--muted); }
.cal-block { display: grid; gap: 18px; }
.cal-week h3 { margin-bottom: 10px; }
.cal-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.day {
 flex: 1 0 96px;
 box-shadow: none;
 padding: 12px 10px;
 min-height: 92px;
}
.day b { display: block; font-size: 15px; }
.day span { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.day.is-mark { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.day.is-mark span { color: var(--cream); }
.cal-legend { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.excerpt-list { display: grid; gap: 12px; }
.excerpt {
 display: grid;
 grid-template-columns: 92px minmax(0, 1fr) auto;
 gap: 12px;
 align-items: center;
 padding: 14px 16px;
 color: var(--ink);
 text-decoration: none;
 transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.excerpt:hover { transform: translateY(-2px); border-color: var(--plum); color: var(--plum); background: #fbf6f1; }
.excerpt .badge { margin: 0; }
.excerpt strong { font-size: 17px; }
.excerpt em { font-style: normal; color: var(--muted); font-size: 14px; }
.band-dark { background: var(--dark); color: var(--cream); }
.band-dark h2, .band-dark p { color: var(--cream); }
.bound-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.bound-row .badge { margin: 0; }
.promise { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.promise li { position: relative; padding-left: 16px; }
.promise li::before {
 content: "";
 width: 7px;
 height: 7px;
 border-radius: 50%;
 background: var(--apricot);
 position: absolute;
 left: 0;
 top: 0.72em;
}
.more-sec { padding-top: 28px; padding-bottom: 28px; }
.more-grid {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 18px;
 padding: 22px;
}
.more-grid h2 { margin-bottom: 6px; }
.more-grid p { margin: 0; color: var(--muted); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 46px;
 padding: 10px 22px;
 border-radius: var(--pill);
 text-decoration: none;
 border: 1px solid transparent;
 cursor: pointer;
 white-space: nowrap;
 transition: background .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-2); color: #fff; box-shadow: inset 0 0 0 1px var(--apricot); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { color: var(--plum); box-shadow: inset 0 0 0 1px var(--apricot); }
.btn:active { transform: translateY(1px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
 background: transparent;
 border: 0;
 border-bottom: 1px solid var(--line);
 border-radius: 0;
 box-shadow: none;
 border-left: 3px solid transparent;
}
.faq-item.is-open { border-left-color: var(--plum); background: rgba(247, 241, 234, 0.7); }
.faq-q {
 width: 100%;
 text-align: left;
 background: transparent;
 border: 0;
 padding: 16px 8px;
 font-weight: 700;
 font-size: 17px;
 line-height: 1.6;
}
.faq-q:hover { color: var(--plum); }
.faq-a { display: none; padding: 0 8px 14px 16px; }
.faq-item.is-open .faq-a { display: block; }
.faq-a p { margin: 0; color: var(--muted); max-width: 48em; }
.site-footer { background: var(--dark); color: var(--cream); padding: 48px 0 28px; }
.site-footer h2 { font-size: 20px; color: var(--cream); }
.site-footer p, .site-footer a { color: var(--cream); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--apricot); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: 24px; }
.foot-note {
 margin-top: 22px;
 padding-top: 16px;
 border-top: 1px solid rgba(246, 241, 234, 0.16);
 color: rgba(246, 241, 234, 0.78);
 font-size: 14px;
}
@media (max-width: 1024px) {
 :root { --h1: 36px; --h2: 28px; --space: 56px; }
 .cat-head h1 { font-size: 34px; }
 .cat-head-grid, .home-list, .compare { grid-template-columns: 1fr 1fr; }
 .cat-head-grid { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 768px) {
 :root { --h1: 32px; --space: 40px; }
 .nav-toggle { display: inline-flex; align-items: center; }
 .nav {
 display: none;
 width: 100%;
 flex-direction: column;
 align-items: stretch;
 order: 5;
 padding: 0 0 12px;
 }
 .nav.is-open { display: flex; }
 .nav a { padding: 12px; }
 .tools { margin-left: 0; }
 .home-list, .compare, .foot-grid { grid-template-columns: 1fr; }
 .card-link { grid-template-columns: 1fr; }
 .excerpt { grid-template-columns: 1fr; }
 .more-grid { flex-direction: column; align-items: flex-start; }
 .cat-head { padding: 28px 0 12px; }
}
@media (max-width: 520px) {
 :root { --h1: 30px; --body: 16px; }
 .container { width: min(var(--max), calc(100% - 28px)); }
 .logo-name { font-size: 17px; }
 .wide-card h3, .excerpt strong { font-size: 16px; }
 .day { flex-basis: 84px; }
 .btn { width: 100%; }
}
