/* roulang page: index */
:root {
  --rose: #6E3A4B;
  --copper: #8C6A4A;
  --clay: #C46B4A;
  --clay-hover: #A85638;
  --bg: #F6F1E8;
  --card: #FFFCF7;
  --ink: #2C2826;
  --muted: #6F675F;
  --line: #E4D9CC;
  --wiki: #E7EFE6;
  --tag: #F3E3D6;
  --sand: #F3EDE4;
  --radius: 10px;
  --radius-tag: 6px;
  --radius-input: 4px;
  --shadow: 0 8px 24px rgba(44, 40, 38, .08);
  --space: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
p { margin: 0 0 0.85em; }
a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--clay-hover); }
[id] { scroll-margin-top: 112px; }
[hidden] { display: none !important; }
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}
.grid-container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  color: var(--rose);
  text-decoration: none;
  max-width: 280px;
}
.brand:hover { color: var(--rose); text-decoration: none; }
.brand-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}
.brand-sub {
  font-size: 12px;
  color: var(--copper);
  line-height: 1.4;
}
.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1 1 460px;
}
.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--ink);
  border-radius: var(--radius-input);
  text-decoration: none;
}
.top-nav a:hover { background: var(--sand); color: var(--rose); text-decoration: none; }
.top-nav a.is-active {
  background: var(--tag);
  color: var(--rose);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--rose);
}
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mega-wrap { position: relative; }
.mega-trigger {
  min-height: 44px;
  padding: 8px 12px;
  background: transparent;
  color: var(--copper);
  border: 1px solid var(--copper);
  border-radius: var(--radius-input);
  font-weight: 600;
  cursor: pointer;
}
.mega-trigger:hover, .mega-wrap:hover .mega-trigger, .mega-wrap:focus-within .mega-trigger {
  background: var(--tag);
  color: var(--rose);
}
.mega-panel {
  position: absolute;
  right: 0;
  top: calc(100% - 2px);
  width: min(640px, 72vw);
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.mega-wrap:hover .mega-panel, .mega-wrap:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-label {
  margin: 0 0 8px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
}
.mega-col a, .stack-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 8px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.mega-col a:hover, .stack-link:hover { background: var(--tag); color: var(--rose); text-decoration: none; }
.mini-card {
  display: block;
  margin-bottom: 10px;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}
.mini-card strong { display: block; color: var(--rose); margin-bottom: 4px; }
.mini-card span { color: var(--muted); font-size: 14px; line-height: 1.75; }
.mini-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.nav-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  background: var(--card);
  color: var(--rose);
  border: 1px solid var(--rose);
  border-radius: var(--radius-input);
  font-weight: 700;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 12px 16px 20px;
}
.mobile-nav.is-open { display: block; }
.mobile-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 8px;
  padding: 8px 12px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  text-decoration: none;
}
.mobile-link.is-active { background: var(--tag); color: var(--rose); font-weight: 700; }
.mobile-nav .accordion-item { border: 0; }
.mobile-nav .accordion-title {
  min-height: 44px;
  color: var(--ink);
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  background: var(--card);
}
.mobile-nav .accordion-title:hover, .mobile-nav .is-active > .accordion-title {
  background: var(--tag);
  color: var(--rose);
}
.mobile-nav .accordion-content {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 0;
  padding: 8px 12px 12px;
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-input);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--clay); color: #fff; border: 1px solid var(--clay); }
.btn-primary:hover { background: var(--clay-hover); border-color: var(--clay-hover); color: #fff; }
.btn-primary:active, .btn-ghost:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--copper); border: 1px solid var(--copper); }
.btn-ghost:hover { background: var(--tag); color: var(--rose); border-color: var(--rose); }
.block { padding: var(--space) 0; border-top: 1px solid var(--line); }
.block-hero { border-top: 0; background: var(--bg); }
.block-card { background: var(--card); }
.block-paper { background: var(--bg); }
.block-wiki { background: var(--wiki); }
.block-sand { background: var(--sand); }
.sec-title {
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--rose);
  color: var(--ink);
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
}
.block-head { margin-bottom: 24px; max-width: 820px; }
.lead { color: var(--muted); font-size: 16px; }
.subhead { margin: 0 0 0.85em; color: var(--copper); font-size: 18px; font-weight: 600; line-height: 1.6; }
h1.hero-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.35;
  font-weight: 700;
}
h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; line-height: 1.5; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.wiki-box, .summary-box, .card, .case-item, .entry-card, .dir-group, .step, .stat, .faq-item, .path-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.wiki-box { padding: 18px 18px 8px; background: var(--wiki); }
.wiki-box h2 {
  margin: 0 0 8px;
  color: var(--rose);
  font-size: 18px;
  border-left: 3px solid var(--rose);
  padding-left: 10px;
}
.wiki-box dt { margin-top: 12px; color: var(--copper); font-weight: 700; }
.wiki-box dd { margin: 0 0 8px; color: var(--ink); }
.matrix-list { display: grid; gap: 16px; }
.entry-card {
  display: grid;
  grid-template-columns: 148px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  color: var(--ink);
  text-decoration: none;
}
.entry-card:hover { transform: translateY(-2px); color: var(--ink); text-decoration: none; }
.entry-card h3 { color: var(--rose); }
.entry-card p { margin: 0; color: var(--muted); }
.slab {
  min-height: 112px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--tag);
  background-image: repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(140, 106, 74, .18) 23px);
  color: var(--rose);
  font-weight: 700;
  display: flex;
  align-items: flex-end;
}
.entry-go {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: var(--clay);
  color: #fff;
  border-radius: var(--radius-input);
  font-weight: 600;
  white-space: nowrap;
}
.duo-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.duo-item .slab { min-height: 88px; }
.duo-item p { margin: 0 0 8px; }
.stat-row { margin: 0; }
.stat { padding: 16px 18px; }
.stat dt { color: var(--copper); font-weight: 700; }
.stat dd { margin: 6px 0 0; color: var(--rose); font-size: 34px; font-weight: 700; line-height: 1.2; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { padding: 16px; background: var(--card); position: relative; }
.step-no { display: block; color: var(--copper); font-weight: 700; font-size: 20px; }
.step h3 { font-size: 18px; }
.step p { margin: 0; color: var(--muted); }
.compare-band {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.compare-band:first-of-type { border-top: 0; padding-top: 0; }
.anchor-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.anchor-row a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--card);
  border-bottom: 2px solid var(--copper);
  color: var(--ink);
  text-decoration: none;
}
.anchor-row a:hover { background: var(--tag); color: var(--rose); text-decoration: none; }
.case-wall { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.case-item { padding: 16px; }
.case-item:nth-child(1) { grid-column: 1 / 2; grid-row: span 2; background: var(--sand); }
.case-item:nth-child(2) { grid-column: 2 / 4; }
.case-item:nth-child(5) { grid-column: 1 / 3; }
.case-item:hover { transform: translateY(-2px); }
.kicker { margin: 0 0 6px; color: var(--copper); font-size: 13px; font-weight: 700; }
.case-item p, .news-item p { color: var(--muted); }
.dir-grid { margin-top: 8px; }
.dir-group { padding: 14px 16px 8px; height: 100%; }
.dir-list { list-style: none; margin: 0; padding: 0; counter-reset: item; }
.dir-list li {
  counter-increment: item;
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}
.dir-list li::before {
  content: counter(item, decimal-leading-zero);
  color: var(--copper);
  font-weight: 700;
  margin-right: 10px;
}
.dir-list a { color: var(--ink); text-decoration: none; }
.dir-list a:hover { color: var(--rose); }
.news-list { display: grid; gap: 0; }
.news-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
.news-item time { color: var(--copper); font-size: 14px; }
.news-item h3 { margin: 0; font-size: 18px; }
.more-row { margin: 16px 0 0; }
.more-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--copper);
  border-radius: var(--radius-input);
  color: var(--copper);
  font-weight: 700;
  text-decoration: none;
}
.more-link:hover { background: var(--tag); color: var(--rose); text-decoration: none; }
.summary-box { padding: 18px; background: var(--wiki); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--tag);
  color: var(--rose);
  border: 1px solid var(--line);
  border-radius: var(--radius-tag);
  text-decoration: none;
  font-weight: 600;
}
.tag:hover, .tag:focus-visible { background: var(--wiki); color: var(--ink); text-decoration: none; }
.source-line { list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 0; }
.source-line li {
  color: var(--ink);
  padding: 8px 16px;
  border-right: 1px solid var(--copper);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.source-line li:last-child { border-right: 0; }
.path-list { display: grid; gap: 12px; }
.path-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--ink);
}
.path-item:hover { transform: translateY(-2px); color: var(--ink); text-decoration: none; }
.path-no { color: var(--copper); font-weight: 700; font-size: 22px; }
.path-item p { margin: 0; color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 0 16px; background: var(--card); }
.faq-item summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; margin-left: auto; color: var(--copper); }
.faq-item[open] { border-color: var(--rose); background: #fff; }
.faq-item[open] summary { color: var(--rose); }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { color: var(--muted); }
.assure-item { padding: 8px 16px 8px 0; }
.assure-item h3 { color: var(--rose); }
.assure-item p { margin: 0; }
.log-list { border-top: 1px solid var(--line); }
.log-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
}
.log-item time { color: var(--copper); font-weight: 700; }
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--clay);
  border-color: var(--clay);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--clay); }
.error { min-height: 1.2em; margin: 4px 0 0; color: #8C2F2F; font-size: 14px; }
.success {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--wiki);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  color: var(--rose);
  font-weight: 700;
}
.site-footer { background: var(--card); border-top: 1px solid var(--line); padding: 36px 0 20px; color: var(--ink); }
.foot-title { margin: 0 0 8px; color: var(--rose); font-weight: 700; }
.foot-links { display: grid; gap: 4px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--rose); }
.foot-text { margin: 0; color: var(--muted); }
.copyright {
  margin: 20px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
@media screen and (max-width: 1023px) {
  .top-nav, .mega-wrap { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-tools { margin-left: 0; }
  .brand { max-width: none; flex: 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .case-wall { grid-template-columns: 1fr 1fr; }
  .case-item, .case-item:nth-child(n) { grid-column: auto; grid-row: auto; }
  .case-item:nth-child(1) { grid-column: 1 / -1; }
  .entry-card, .path-item { grid-template-columns: 1fr; }
  .mobile-nav.is-open {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    z-index: 45;
  }
}
@media screen and (max-width: 639px) {
  :root { --space: 32px; }
  h1.hero-title { font-size: 28px; }
  .sec-title { font-size: 22px; }
  .steps, .anchor-row, .case-wall, .stat-row.grid-x { display: block; }
  .case-item:nth-child(1) { grid-column: auto; }
  .log-item { grid-template-columns: 1fr; gap: 0; padding: 10px 0; }
  .duo-item { grid-template-columns: 1fr; }
  .source-line li { border-right: 0; padding-left: 0; }
  .header-bar { min-height: 64px; }
}
@media screen and (max-width: 520px) {
  .grid-container { width: min(1140px, calc(100% - 24px)); }
  .hero-actions .btn, .contact-actions .btn, .more-link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* roulang page: category2 */
:root {
 --rose: #6E3A4B;
 --copper: #8C6A4A;
 --clay: #C46B4A;
 --clay-hover: #A85638;
 --bg: #F6F1E8;
 --card: #FFFCF7;
 --ink: #2C2826;
 --muted: #6F675F;
 --line: #E4D9CC;
 --wiki: #E7EFE6;
 --tag: #F3E3D6;
 --sand: #F3EDE4;
 --radius: 10px;
 --radius-tag: 6px;
 --radius-input: 4px;
 --shadow: 0 8px 24px rgba(44, 40, 38, .08);
 --space: 56px;
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: 16px;
 line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--clay-hover); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.grid-container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 50;
 background: var(--card);
 border-bottom: 1px solid var(--line);
}
.header-bar {
 display: flex;
 align-items: center;
 gap: 16px;
 min-height: 76px;
 padding: 10px 0;
 flex-wrap: wrap;
}
.brand {
 display: flex;
 flex-direction: column;
 justify-content: center;
 min-height: 44px;
 color: var(--rose);
 text-decoration: none;
 max-width: 280px;
}
.brand:hover { color: var(--rose); text-decoration: none; }
.brand-name { font-size: 15px; font-weight: 700; line-height: 1.35; }
.brand-sub { font-size: 12px; color: var(--copper); line-height: 1.4; }
.top-nav {
 display: flex;
 align-items: center;
 justify-content: flex-end;
 gap: 6px;
 flex: 1 1 460px;
}
.top-nav a {
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 padding: 8px 12px;
 color: var(--ink);
 border-radius: var(--radius-input);
 text-decoration: none;
}
.top-nav a:hover { background: var(--sand); color: var(--rose); text-decoration: none; }
.top-nav a.is-active {
 background: var(--tag);
 color: var(--rose);
 font-weight: 700;
 box-shadow: inset 0 -2px 0 var(--rose);
}
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mega-wrap { position: relative; }
.mega-trigger {
 min-height: 44px;
 padding: 8px 12px;
 background: transparent;
 color: var(--copper);
 border: 1px solid var(--copper);
 border-radius: var(--radius-input);
 font-weight: 600;
 cursor: pointer;
}
.mega-trigger:hover, .mega-wrap:hover .mega-trigger, .mega-wrap:focus-within .mega-trigger {
 background: var(--tag);
 color: var(--rose);
}
.mega-panel {
 position: absolute;
 right: 0;
 top: calc(100% - 2px);
 width: min(640px, 72vw);
 padding: 16px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 display: grid;
 grid-template-columns: 1fr 1fr 1.15fr;
 gap: 14px;
 opacity: 0;
 visibility: hidden;
 transform: translateY(6px);
 transition: opacity .2s ease, transform .2s ease;
}
.mega-wrap:hover .mega-panel, .mega-wrap:focus-within .mega-panel {
 opacity: 1;
 visibility: visible;
 transform: translateY(0);
}
.mega-label { margin: 0 0 8px; color: var(--copper); font-size: 13px; font-weight: 700; }
.mega-col a, .stack-link {
 display: flex;
 align-items: center;
 min-height: 44px;
 padding: 6px 8px;
 color: var(--ink);
 border-bottom: 1px solid var(--line);
 text-decoration: none;
}
.mega-col a:hover, .stack-link:hover { background: var(--tag); color: var(--rose); text-decoration: none; }
.mini-card {
 display: block;
 margin-bottom: 10px;
 padding: 12px;
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 color: var(--ink);
 text-decoration: none;
}
.mini-card strong { display: block; color: var(--rose); margin-bottom: 4px; }
.mini-card span { color: var(--muted); font-size: 14px; line-height: 1.75; }
.mini-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.nav-toggle {
 display: none;
 min-height: 44px;
 min-width: 44px;
 padding: 8px 14px;
 background: var(--card);
 color: var(--rose);
 border: 1px solid var(--rose);
 border-radius: var(--radius-input);
 font-weight: 700;
 cursor: pointer;
}
.nav-toggle:hover { background: var(--tag); }
.nav-toggle[aria-expanded="true"] { background: var(--rose); color: #fff; }
.mobile-nav {
 display: none;
 background: var(--bg);
 border-top: 1px solid var(--line);
 padding: 12px 16px 20px;
}
.mobile-nav.is-open { display: block; }
.mobile-link {
 display: flex;
 align-items: center;
 min-height: 44px;
 margin-bottom: 8px;
 padding: 8px 12px;
 background: var(--card);
 color: var(--ink);
 border: 1px solid var(--line);
 border-radius: var(--radius-input);
 text-decoration: none;
}
.mobile-link.is-active { background: var(--tag); color: var(--rose); font-weight: 700; }
.mobile-nav .accordion-item { border: 0; margin-bottom: 8px; }
.mobile-nav .accordion-title {
 min-height: 44px;
 color: var(--ink);
 font-size: 16px;
 border: 1px solid var(--line);
 border-radius: var(--radius-input);
 background: var(--card);
}
.mobile-nav .accordion-title:hover, .mobile-nav .is-active > .accordion-title {
 background: var(--tag);
 color: var(--rose);
}
.mobile-nav .accordion-content {
 background: var(--card);
 border: 1px solid var(--line);
 border-top: 0;
 padding: 8px 12px 12px;
 color: var(--ink);
}
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 10px 16px;
 border-radius: var(--radius-input);
 font-weight: 600;
 line-height: 1.2;
 text-decoration: none;
 cursor: pointer;
 transition: background .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--clay); color: #fff; border: 1px solid var(--clay); }
.btn-primary:hover { background: var(--clay-hover); border-color: var(--clay-hover); color: #fff; }
.btn-primary:active, .btn-ghost:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--copper); border: 1px solid var(--copper); }
.btn-ghost:hover { background: var(--tag); color: var(--rose); border-color: var(--rose); }
main { display: block; }
.section { padding: var(--space) 0; }
.section + .section { border-top: 1px solid var(--line); }
.band-paper { background: var(--bg); }
.band-card { background: var(--card); }
.band-sand { background: var(--sand); }
.sec-title {
 margin: 0 0 12px;
 padding-left: 12px;
 border-left: 3px solid var(--rose);
 color: var(--ink);
 font-size: 26px;
 line-height: 1.4;
 font-weight: 700;
}
.lead { margin: 0; color: var(--muted); font-size: 16px; }
p { margin: 0 0 .85em; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; color: var(--copper); font-size: 14px; }
.crumb a { color: var(--copper); min-height: 44px; display: inline-flex; align-items: center; }
.crumb span[aria-current="page"] { color: var(--rose); font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.page-head { display: grid; grid-template-columns: 1.4fr .6fr; gap: 28px; align-items: end; }
.page-title { margin: 0 0 10px; color: var(--ink); font-size: 34px; line-height: 1.35; font-weight: 700; }
.count-box {
 background: var(--wiki);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 16px 18px;
}
.count-box strong { display: block; color: var(--rose); font-size: 28px; line-height: 1.2; }
.count-box span { color: var(--copper); font-size: 14px; }
.filter-bar {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 align-items: center;
 justify-content: space-between;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 padding: 6px 12px;
 background: var(--tag);
 color: var(--ink);
 border: 1px solid var(--line);
 border-radius: var(--radius-tag);
 font-weight: 600;
}
.chip:hover { background: var(--sand); color: var(--rose); text-decoration: none; }
.chip.is-on { background: var(--rose); color: #fff; border-color: var(--rose); }
.sort-note { margin: 0; color: var(--copper); font-weight: 700; }
.entry-list { display: flex; flex-direction: column; gap: 14px; }
.entry-card {
 display: grid;
 grid-template-columns: 72px 1fr;
 gap: 14px;
 padding: 16px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: none;
 transition: transform .2s ease, box-shadow .2s ease;
}
.band-card .entry-card { background: var(--bg); }
.entry-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.entry-no {
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 72px;
 background: var(--tag);
 color: var(--copper);
 border-radius: var(--radius-tag);
 font-weight: 700;
}
.entry-card h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.4; }
.entry-card h3 a { color: var(--ink); }
.entry-card h3 a:hover { color: var(--rose); }
.meta-line { margin: 0 0 6px; color: var(--copper); font-size: 14px; }
.entry-card p { margin: 0; color: var(--muted); }
.more-row { margin-top: 16px; }
.wiki-box {
 background: var(--wiki);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 18px;
}
.wiki-box h2 { font-size: 20px; }
.wiki-box dl { margin: 0; }
.wiki-box dt { color: var(--copper); font-weight: 700; margin-top: 10px; }
.wiki-box dd { margin: 0; color: var(--ink); }
.side-anchor { margin-top: 16px; }
.point-list { margin: 0; display: grid; gap: 0; }
.point-list div {
 display: grid;
 grid-template-columns: 160px 1fr;
 gap: 16px;
 padding: 14px 0;
 border-bottom: 1px solid var(--line);
}
.point-list dt { margin: 0; color: var(--copper); font-weight: 700; }
.point-list dd { margin: 0; }
.scene-row {
 display: grid;
 grid-template-columns: 180px 1fr auto;
 gap: 18px;
 align-items: center;
 padding: 16px 0;
 border-bottom: 1px solid var(--line);
}
.scene-row h3 { margin: 0; font-size: 20px; color: var(--rose); }
.scene-row p { margin: 0; color: var(--muted); }
.scene-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.scene-links a {
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 padding: 4px 10px;
 background: var(--tag);
 border-radius: var(--radius-tag);
 color: var(--ink);
}
.scene-links a:hover { background: var(--rose); color: #fff; }
.rel-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rel-list a {
 display: flex;
 align-items: center;
 min-height: 64px;
 padding: 12px 14px;
 background: var(--card);
 border: 1px solid var(--line);
 border-left: 3px solid var(--copper);
 border-radius: var(--radius);
 color: var(--ink);
}
.rel-list a:hover { border-left-color: var(--rose); box-shadow: var(--shadow); color: var(--rose); text-decoration: none; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 10px; }
.faq-item summary {
 min-height: 44px;
 padding: 12px 16px;
 cursor: pointer;
 font-weight: 700;
 color: var(--ink);
 list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { background: var(--tag); color: var(--rose); }
.faq-item p { margin: 0; padding: 0 16px 14px; color: var(--muted); }
.action-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.action-bar h2 { margin: 0; }
.action-links { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer { background: var(--card); border-top: 1px solid var(--line); padding: 36px 0 20px; }
.foot-title { margin: 0 0 8px; color: var(--rose); font-weight: 700; }
.foot-text { margin: 0 0 6px; color: var(--muted); }
.foot-links { display: flex; flex-direction: column; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); }
.foot-links a:hover { color: var(--rose); }
.copyright { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--copper); font-size: 14px; }
@media (max-width: 1023px) {
 .top-nav, .mega-wrap { display: none; }
 .nav-toggle { display: inline-flex; }
 .page-head, .scene-row, .point-list div { grid-template-columns: 1fr; }
 .scene-links { justify-content: flex-start; }
 .page-title { font-size: 30px; }
 .section { padding: 36px 0; }
}
@media (max-width: 767px) {
 .rel-list, .entry-card { grid-template-columns: 1fr; }
 .header-bar { align-items: flex-start; }
 .brand { max-width: 70%; }
 .action-bar { align-items: flex-start; }
}
@media (max-width: 520px) {
 .section { padding: 28px 0; }
 .page-title { font-size: 26px; }
 .sec-title { font-size: 22px; }
 .grid-container { width: min(1140px, calc(100% - 20px)); }
 .btn, .chip, .top-nav a, .mobile-link { min-height: 44px; }
}

/* roulang page: category1 */
:root {
 --rose: #6E3A4B;
 --copper: #8C6A4A;
 --clay: #C46B4A;
 --clay-hover: #A85638;
 --bg: #F6F1E8;
 --card: #FFFCF7;
 --ink: #2C2826;
 --muted: #6F675F;
 --line: #E4D9CC;
 --wiki: #E7EFE6;
 --tag: #F3E3D6;
 --sand: #F3EDE4;
 --radius: 10px;
 --radius-tag: 6px;
 --radius-input: 4px;
 --shadow: 0 8px 24px rgba(44, 40, 38, .08);
 --space: 56px;
}
html { scroll-behavior: smooth; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: 16px;
 line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--clay-hover); }
p { margin: 0 0 0.85em; }
.grid-container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 50;
 background: var(--card);
 border-bottom: 1px solid var(--line);
}
.header-bar {
 display: flex;
 align-items: center;
 gap: 16px;
 min-height: 76px;
 padding: 10px 0;
 flex-wrap: wrap;
}
.brand {
 display: flex;
 flex-direction: column;
 justify-content: center;
 min-height: 44px;
 color: var(--rose);
 text-decoration: none;
 max-width: 280px;
}
.brand:hover { color: var(--rose); text-decoration: none; }
.brand-name { font-size: 15px; font-weight: 700; line-height: 1.35; }
.brand-sub { font-size: 12px; color: var(--copper); line-height: 1.4; }
.top-nav {
 display: flex;
 align-items: center;
 justify-content: flex-end;
 gap: 6px;
 flex: 1 1 460px;
}
.top-nav a {
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 padding: 8px 12px;
 color: var(--ink);
 border-radius: var(--radius-input);
 text-decoration: none;
}
.top-nav a:hover { background: var(--sand); color: var(--rose); text-decoration: none; }
.top-nav a.is-active {
 background: var(--tag);
 color: var(--rose);
 font-weight: 700;
 box-shadow: inset 0 -2px 0 var(--rose);
}
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mega-wrap { position: relative; }
.mega-trigger {
 min-height: 44px;
 padding: 8px 12px;
 background: transparent;
 color: var(--copper);
 border: 1px solid var(--copper);
 border-radius: var(--radius-input);
 font-weight: 600;
 cursor: pointer;
}
.mega-trigger:hover, .mega-wrap:hover .mega-trigger, .mega-wrap:focus-within .mega-trigger {
 background: var(--tag);
 color: var(--rose);
}
.mega-panel {
 position: absolute;
 right: 0;
 top: calc(100% - 2px);
 width: min(640px, 72vw);
 padding: 16px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 display: grid;
 grid-template-columns: 1fr 1fr 1.15fr;
 gap: 14px;
 opacity: 0;
 visibility: hidden;
 transform: translateY(6px);
 transition: opacity .2s ease, transform .2s ease;
}
.mega-wrap:hover .mega-panel, .mega-wrap:focus-within .mega-panel {
 opacity: 1;
 visibility: visible;
 transform: translateY(0);
}
.mega-label { margin: 0 0 8px; color: var(--copper); font-size: 13px; font-weight: 700; }
.mega-col a, .stack-link {
 display: flex;
 align-items: center;
 min-height: 44px;
 padding: 6px 8px;
 color: var(--ink);
 border-bottom: 1px solid var(--line);
 text-decoration: none;
}
.mega-col a:hover, .stack-link:hover { background: var(--tag); color: var(--rose); text-decoration: none; }
.mini-card {
 display: block;
 margin-bottom: 10px;
 padding: 12px;
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 color: var(--ink);
 text-decoration: none;
}
.mini-card strong { display: block; color: var(--rose); margin-bottom: 4px; }
.mini-card span { color: var(--muted); font-size: 14px; line-height: 1.75; }
.mini-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.nav-toggle {
 display: none;
 min-height: 44px;
 min-width: 44px;
 padding: 8px 14px;
 background: var(--card);
 color: var(--rose);
 border: 1px solid var(--rose);
 border-radius: var(--radius-input);
 font-weight: 700;
 cursor: pointer;
}
.mobile-nav { display: none; background: var(--bg); border-top: 1px solid var(--line); padding: 12px 16px 20px; }
.mobile-nav.is-open { display: block; }
.mobile-link {
 display: flex;
 align-items: center;
 min-height: 44px;
 margin-bottom: 8px;
 padding: 8px 12px;
 background: var(--card);
 color: var(--ink);
 border: 1px solid var(--line);
 border-radius: var(--radius-input);
 text-decoration: none;
}
.mobile-link.is-active { background: var(--tag); color: var(--rose); font-weight: 700; }
.mobile-nav .accordion-item { border: 0; }
.mobile-nav .accordion-title {
 min-height: 44px;
 color: var(--ink);
 font-size: 16px;
 border: 1px solid var(--line);
 border-radius: var(--radius-input);
 background: var(--card);
}
.mobile-nav .accordion-title:hover, .mobile-nav .is-active > .accordion-title { background: var(--tag); color: var(--rose); }
.mobile-nav .accordion-content { background: var(--card); border: 1px solid var(--line); border-top: 0; padding: 8px 12px 12px; color: var(--ink); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 10px 16px;
 border-radius: var(--radius-input);
 font-weight: 600;
 line-height: 1.2;
 text-decoration: none;
 cursor: pointer;
 transition: background .2s ease, color .2s ease, transform .15s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--clay); color: #fff; border: 1px solid var(--clay); }
.btn-primary:hover { background: var(--clay-hover); border-color: var(--clay-hover); color: #fff; }
.btn-primary:active, .btn-ghost:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--copper); border: 1px solid var(--copper); }
.btn-ghost:hover { background: var(--tag); color: var(--rose); border-color: var(--rose); }
.btn:focus, .mega-trigger:focus, .chip:focus, .nav-toggle:focus, a:focus-visible, summary:focus {
 outline: 2px solid var(--clay);
 outline-offset: 2px;
}
.sec-title {
 margin: 0 0 12px;
 padding-left: 12px;
 border-left: 3px solid var(--rose);
 color: var(--ink);
 font-size: 26px;
 line-height: 1.4;
 font-weight: 700;
}
.lead { color: var(--muted); font-size: 16px; margin-bottom: 0; }
main { display: block; }
.block { padding: var(--space) 0; }
.block-pagehead { background: var(--sand); border-bottom: 1px solid var(--line); }
.block-filter { background: var(--card); border-bottom: 1px solid var(--line); padding: 28px 0; }
.block-list { background: var(--bg); }
.block-points { background: var(--wiki); }
.block-scenes { background: var(--card); }
.block-related { background: var(--sand); }
.block-faq { background: var(--bg); }
.block-end { background: #F8E7DF; border-top: 1px solid var(--line); }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.crumb a { color: var(--copper); min-height: 44px; display: inline-flex; align-items: center; }
.page-kicker { margin: 0 0 8px; color: var(--copper); font-size: 13px; font-weight: 700; letter-spacing: 0; }
h1.page-title { margin: 0 0 10px; color: var(--ink); font-size: 34px; line-height: 1.35; font-weight: 700; }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.count-pill, .range-pill {
 display: inline-flex;
 align-items: center;
 min-height: 36px;
 padding: 4px 10px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-tag);
 color: var(--rose);
 font-weight: 700;
 font-size: 14px;
}
.filter-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
 min-height: 44px;
 padding: 8px 14px;
 background: var(--tag);
 color: var(--ink);
 border: 1px solid transparent;
 border-radius: var(--radius-tag);
 font-weight: 600;
 cursor: pointer;
}
.chip:hover { border-color: var(--copper); color: var(--rose); }
.chip.is-on { background: var(--rose); color: #fff; border-color: var(--rose); }
.sort-note { margin: 0; color: var(--copper); font-weight: 700; }
.entry-card {
 display: grid;
 grid-template-columns: 108px 1fr;
 gap: 14px;
 margin-bottom: 14px;
 padding: 14px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 transition: transform .18s ease, box-shadow .18s ease;
}
.entry-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(44, 40, 38, .1); }
.entry-card.is-hidden { display: none; }
.paper-mark {
 min-height: 92px;
 border: 1px dashed var(--copper);
 border-radius: var(--radius-tag);
 background:
 repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(140, 106, 74, .15) 11px),
 var(--sand);
 display: flex;
 align-items: flex-end;
 padding: 8px;
 color: var(--rose);
 font-size: 13px;
 font-weight: 700;
}
.entry-card h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.4; }
.entry-card h3 a { color: var(--ink); }
.entry-card h3 a:hover { color: var(--rose); }
.entry-date { margin: 0 0 6px; color: var(--copper); font-size: 13px; font-weight: 700; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 padding: 2px 8px;
 background: var(--tag);
 color: var(--rose);
 border-radius: var(--radius-tag);
 font-size: 13px;
 font-weight: 700;
}
.list-more { margin-top: 8px; }
.info-box {
 padding: 16px;
 background: var(--wiki);
 border: 1px solid #C9D8C7;
 border-radius: var(--radius);
}
.info-box h2 { margin-top: 0; }
.def-list { margin: 0; }
.def-list div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.def-list dt { color: var(--copper); font-weight: 700; }
.def-list dd { margin: 0; color: var(--ink); }
.side-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.point-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; align-items: start; }
.point-copy { padding: 8px 8px 0 0; }
.wiki-box { padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.scene-row {
 display: grid;
 grid-template-columns: 180px 1fr;
 gap: 16px;
 align-items: center;
 padding: 16px 0;
 border-bottom: 1px solid var(--line);
}
.scene-row:last-child { border-bottom: 0; }
.scene-index { color: var(--copper); font-weight: 700; font-size: 18px; }
.scene-links { display: flex; flex-wrap: wrap; gap: 8px; }
.scene-links a {
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 padding: 6px 12px;
 background: var(--bg);
 border: 1px solid var(--line);
 border-radius: var(--radius-tag);
 color: var(--ink);
}
.scene-links a:hover { background: var(--tag); color: var(--rose); }
.related-list { margin: 0; padding: 0; list-style: none; }
.related-list li { border-bottom: 1px solid var(--line); }
.related-list a {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 align-items: center;
 min-height: 56px;
 padding: 10px 4px;
 color: var(--ink);
}
.related-list a:hover { background: var(--card); color: var(--rose); }
.related-list span { color: var(--copper); font-size: 14px; white-space: nowrap; }
.faq-item {
 margin-bottom: 10px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
}
.faq-item summary {
 min-height: 44px;
 padding: 12px 16px;
 cursor: pointer;
 font-weight: 700;
 color: var(--rose);
 list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; float: right; color: var(--copper); }
.faq-item[open] summary { background: var(--tag); }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { margin: 0; padding: 0 16px 14px; color: var(--ink); }
.end-bar { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.end-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer { background: #2C2826; color: #F6F1E8; padding: 36px 0 20px; }
.site-footer a { color: #F3E3D6; }
.site-footer a:hover { color: #fff; }
.foot-title { margin: 0 0 8px; color: #fff; font-weight: 700; }
.foot-text { margin: 0 0 6px; color: #E4D9CC; }
.foot-links { display: flex; flex-direction: column; }
.foot-links a { min-height: 36px; display: inline-flex; align-items: center; }
.copyright { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(228, 217, 204, .25); color: #E4D9CC; }
@media screen and (max-width: 1023px) {
 .top-nav, .header-tools .mega-wrap { display: none; }
 .nav-toggle { display: inline-flex; }
 .header-tools { margin-left: 0; }
 .point-grid, .scene-row, .entry-card { grid-template-columns: 1fr; }
 h1.page-title { font-size: 30px; }
 .block { padding: 36px 0; }
}
@media screen and (max-width: 639px) {
 .brand { max-width: calc(100% - 92px); }
 .header-bar { align-items: flex-start; }
 h1.page-title { font-size: 26px; }
 .sec-title { font-size: 22px; }
 .block { padding: 28px 0; }
 .end-bar, .filter-row, .related-list a { align-items: flex-start; flex-direction: column; }
 .mega-panel { grid-template-columns: 1fr; width: min(640px, 92vw); }
}
