/* roulang page: index */
:root {
  --persimmon: #C4623A;
  --persimmon-hover: #9A3F24;
  --persimmon-active: #7C3A22;
  --moss: #5C6B4A;
  --night: #2A211C;
  --paper: #F4EFE6;
  --card: #FFFBF6;
  --dusk: #6E6278;
  --dusk-deep: #5C5166;
  --ink: #1C1714;
  --muted: #5E564E;
  --line: #E4D9CC;
  --sand: #F7F1E8;
  --on-dark: #F4EFE6;
  --muted-dark: #E4D9CC;
  --radius-card: 14px;
  --radius-btn: 10px;
  --shadow: 0 8px 24px rgba(36, 28, 24, 0.08);
  --header-h: 72px;
  --max: 1120px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Source Han Mono", "Noto Sans Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--dusk); color: var(--on-dark); }
:focus-visible {
  outline: 2px solid var(--dusk);
  outline-offset: 2px;
}
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sec { padding: 88px 0; }
.sec-paper { background: var(--paper); }
.sec-card { background: var(--card); }
.sec-sand { background: var(--sand); }
.sec-night { background: var(--night); color: var(--on-dark); }
.kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--persimmon);
}
.sec-night .kicker { color: #E8C4B4; }
.sec-title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.sec-lead { max-width: 68em; color: var(--muted); margin-bottom: 28px; }
.sec-night .sec-lead { color: var(--muted-dark); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  background: var(--persimmon);
  color: #FFFBF6;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--persimmon-hover); color: #FFFBF6; }
.btn:active { background: var(--persimmon-active); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-line {
  background: transparent;
  color: var(--on-dark);
  border-color: #8A7568;
}
.btn-line:hover { background: #3A302A; color: var(--on-dark); }
.btn-line:active { background: #241C18; }
.site-header { background: var(--night); }
.brand-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  background: var(--night);
  border-bottom: 1px solid #4A403A;
}
.logo {
  color: var(--on-dark);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  max-width: 9em;
}
.logo:hover { color: #E8C4B4; }
.brand-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.adult-tag {
  border: 1px solid #8A7568;
  border-radius: var(--radius-btn);
  color: var(--on-dark);
  font-size: 12px;
  line-height: 1;
  padding: 8px 10px;
  white-space: nowrap;
}
.chip-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 49;
  background: var(--night);
  border-bottom: 1px solid #6A5C53;
}
.chip-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 20px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--dusk) transparent;
}
.chip-scroller::-webkit-scrollbar { height: 4px; }
.chip-scroller::-webkit-scrollbar-thumb { background: var(--dusk); border-radius: 999px; }
.chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #6A5C53;
  background: transparent;
  color: var(--on-dark);
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { background: #3A302A; color: var(--on-dark); }
.chip:active { background: #241C18; }
.chip.is-current {
  background: var(--dusk);
  border-color: var(--dusk);
  color: var(--on-dark);
}
.chip.is-current:hover { background: var(--dusk-deep); color: var(--on-dark); }
.board {
  background-color: var(--night);
  background-image:
    linear-gradient(rgba(244, 239, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--on-dark);
  padding: 72px 0 80px;
}
.board h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  max-width: 12em;
  color: var(--on-dark);
  margin-bottom: 16px;
}
.board-lead { max-width: 46em; color: var(--muted-dark); margin-bottom: 28px; }
.board-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.metric {
  border: 1px solid #4A403A;
  border-radius: var(--radius-card);
  padding: 16px 16px 12px;
  background: rgba(42, 33, 28, 0.72);
}
.metric dt { font-size: 14px; color: var(--muted-dark); }
.metric dd {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--on-dark);
}
.entry-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--dusk) transparent;
}
.entry {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 18px;
  color: var(--ink);
  transition: background-color .18s ease, border-color .18s ease;
}
.entry:hover { background: var(--sand); border-color: var(--persimmon); }
.entry:active { background: #EFE4D6; }
.entry-lg { flex: 0 0 68%; min-height: 300px; }
.entry-sm { flex: 0 0 42%; min-height: 240px; }
.entry h3 { font-size: 28px; }
.entry p { color: var(--muted); }
.entry-go { margin-top: auto; color: var(--persimmon); font-weight: 600; }
.frame {
  display: block;
  border-radius: 10px;
  border: 1px solid #C9B8A6;
  background:
    linear-gradient(180deg, rgba(244, 239, 230, 0.08), rgba(42, 33, 28, 0.45)),
    repeating-linear-gradient(90deg, #3A312B 0 10px, #2A211C 10px 18px);
  position: relative;
  overflow: hidden;
}
.frame::before, .frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background: repeating-linear-gradient(90deg, transparent 0 12px, #F4EFE6 12px 18px, transparent 18px 28px);
  opacity: 0.45;
}
.frame::before { top: 6px; }
.frame::after { bottom: 6px; }
.frame-wide { aspect-ratio: 16 / 8; }
.frame-tall { aspect-ratio: 16 / 10; }
.frame-sq { aspect-ratio: 4 / 3; }
.matrix {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.cell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.cell:hover { background: var(--sand); }
.cell-main { grid-column: 1 / span 7; grid-row: 1 / span 2; background: var(--night); color: var(--on-dark); }
.cell-main:hover { background: #322822; }
.cell-cn { grid-column: 8 / span 5; }
.cell-stack { grid-column: 8 / span 5; display: grid; gap: 16px; }
.cell h3 { font-size: 24px; }
.cell p { color: var(--muted); }
.cell-main p { color: var(--muted-dark); }
.cell a { margin-top: auto; color: var(--persimmon); font-weight: 600; }
.cell-main a { color: #E8C4B4; }
.cell a:hover { color: var(--persimmon-hover); }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.compare-col {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 22px;
}
.compare-col h3 { font-size: 22px; margin-bottom: 12px; }
.col-after { background: var(--night); color: var(--on-dark); border-color: #4A403A; }
.col-after .plain-list li { border-color: #4A403A; }
.plain-list { list-style: none; }
.plain-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.plain-list li:last-child { border-bottom: 0; }
.text-link { display: inline-block; margin-top: 14px; color: var(--persimmon); font-weight: 600; }
.col-after .text-link { color: #E8C4B4; }
.text-link:hover { color: var(--persimmon-hover); }
.timeline {
  list-style: none;
  display: flex;
  gap: 0;
}
.timeline li {
  flex: 1;
  min-width: 0;
  padding: 18px 16px 0 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--persimmon);
}
.timeline strong {
  display: block;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--persimmon);
  margin-bottom: 6px;
}
.timeline h3 { font-size: 20px; margin-bottom: 8px; }
.timeline p { color: var(--muted); }
.mag-list { border-top: 1px solid var(--line); }
.mag {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  transition: background-color .18s ease;
}
.mag:hover { background: var(--sand); }
.mag:active { background: #EFE4D6; }
.mag time {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.mag-title { font-family: var(--serif); font-weight: 600; font-size: 18px; }
.mag-tag {
  font-style: normal;
  font-size: 13px;
  color: var(--moss);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 4px 8px;
  background: var(--card);
  white-space: nowrap;
}
.empty-line {
  margin-top: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  color: var(--muted);
}
.more-row { margin-top: 18px; }
.topic-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: #8A7568 transparent;
}
.topic-card {
  scroll-snap-align: start;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background-color .18s ease;
}
.topic-card:hover { background: var(--sand); }
.topic-card p { color: var(--muted); }
.topic-card span.linkish { color: var(--persimmon); font-weight: 600; }
.w-a { flex: 0 0 340px; }
.w-b { flex: 0 0 460px; }
.w-c { flex: 0 0 260px; }
.w-d { flex: 0 0 390px; }
.assure-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.15fr;
  gap: 16px;
  align-items: start;
}
.assure-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  padding: 20px;
}
.assure-item:nth-child(2) { margin-top: 36px; }
.assure-item:nth-child(3) { margin-top: 14px; }
.assure-item h3 { font-size: 22px; margin: 10px 0; }
.assure-item p { color: var(--muted); }
.ico {
  width: 28px;
  height: 28px;
  display: inline-block;
  position: relative;
  border: 1px solid var(--moss);
  border-radius: 8px;
}
.ico-src::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 8px;
  border-top: 1px solid var(--moss);
  box-shadow: 0 5px 0 var(--moss), 0 10px 0 var(--moss);
}
.ico-time::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--moss);
  border-radius: 50%;
}
.ico-time::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 7px;
  background: var(--moss);
  left: 13px;
  top: 7px;
}
.ico-path::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 1px;
  background: var(--moss);
  left: 5px;
  top: 14px;
}
.ico-path::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--moss);
  border-top: 1px solid var(--moss);
  right: 6px;
  top: 10px;
  transform: rotate(45deg);
}
.scene-list { display: grid; gap: 12px; }
.scene-band {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--card);
}
.scene-band:nth-child(2) { background: var(--sand); }
.scene-band:nth-child(3) { background: var(--night); color: var(--on-dark); border-color: #4A403A; }
.scene-band h3 { font-size: 20px; }
.scene-band p { color: var(--muted); }
.scene-band:nth-child(3) p { color: var(--muted-dark); }
.qa-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}
.qa-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 20px;
}
.qa-card:nth-child(2) { margin-top: 32px; }
.qa-card:nth-child(3) { grid-column: 1 / -1; }
.qa-card h3 { font-size: 20px; margin-bottom: 8px; }
.qa-card p { color: var(--muted); }
.quote-list { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; }
.quote {
  margin: 0;
  background: var(--card);
  border-left: 3px solid var(--persimmon);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  box-shadow: var(--shadow);
  padding: 20px 22px;
}
.quote p { font-family: var(--serif); font-size: 18px; }
.quote footer { margin-top: 12px; color: var(--muted); font-size: 14px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}
.faq-q {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-card);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
}
.faq-q:hover { background: var(--sand); }
.faq-q:active { background: #EFE4D6; }
.pm { width: 16px; height: 16px; position: relative; flex: 0 0 auto; }
.pm::before, .pm::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
}
.pm::before { width: 16px; height: 2px; left: 0; top: 7px; }
.pm::after { width: 2px; height: 16px; left: 7px; top: 0; }
.faq-item.open .pm::after { display: none; }
.faq-a { display: none; padding: 0 16px 16px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.relate-list { list-style: none; border-top: 1px solid var(--line); }
.relate-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color .18s ease;
}
.relate-list a:hover { background: var(--sand); }
.relate-list small { color: var(--muted); }
.relate-list em { font-style: normal; color: var(--persimmon); font-weight: 600; white-space: nowrap; }
.form-wrap {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px;
  max-width: 760px;
}
.form-grid { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span, .choice legend { font-weight: 600; }
input, textarea {
  width: 100%;
  background: #FFFBF6;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  line-height: 1.5;
}
textarea { min-height: 120px; resize: vertical; }
.choice {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 12px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.choice legend { grid-column: 1 / -1; padding: 0; }
.choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 0 12px;
  background: var(--paper);
}
.choice input { width: auto; }
.error-text { display: none; color: var(--moss); font-size: 14px; }
.is-error input, .is-error textarea, .is-error.choice { border-color: var(--moss); }
.is-error .error-text { display: block; }
.form-ok {
  margin-top: 12px;
  color: var(--moss);
  font-weight: 600;
}
.form-wrap .btn { margin-top: 4px; }
.index-list { display: flex; flex-wrap: wrap; gap: 10px; }
.index-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: background-color .18s ease, border-color .18s ease;
}
.index-list a:hover { background: var(--sand); border-color: var(--persimmon); }
.site-footer {
  background: var(--night);
  color: var(--on-dark);
  padding: 48px 0 36px;
}
.foot-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 16px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 18px; }
.foot-links a { color: var(--muted-dark); min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: #E8C4B4; }
.foot-note, .copy { color: var(--muted-dark); font-size: 14px; }
.copy { margin-top: 8px; }
@media (max-width: 1280px) {
  .container { width: min(var(--max), calc(100% - 48px)); }
}
@media (max-width: 1024px) {
  .entry-lg { flex-basis: 78%; }
  .entry-sm { flex-basis: 56%; }
  .assure-grid { grid-template-columns: 1fr; }
  .assure-item:nth-child(2), .assure-item:nth-child(3) { margin-top: 0; }
  .qa-grid, .quote-list { grid-template-columns: 1fr; }
  .qa-card:nth-child(2) { margin-top: 0; }
}
@media (max-width: 768px) {
  .sec { padding: 48px 0; }
  .board { padding: 48px 0 52px; }
  .metrics, .compare, .matrix { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .cell-main, .cell-cn, .cell-stack { grid-column: 1 / -1; grid-row: auto; }
  .matrix { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; }
  .timeline li {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 0 0 22px 16px;
  }
  .timeline li::before { top: 4px; left: -5px; }
  .mag, .scene-band, .relate-list a { grid-template-columns: 1fr; }
  .metric dd { font-size: 32px; }
  .entry-lg { flex-basis: 86%; }
  .entry-sm { flex-basis: 72%; }
}
@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .sec { padding: 40px 0; }
  .container { width: calc(100% - 32px); }
  .brand-bar { padding: 0 12px; }
  .logo { font-size: 14px; }
  .chip-scroller { padding-inline: 12px; }
  .board h1 { font-size: 30px; }
  .metric dd { font-size: 28px; }
  .choice { grid-template-columns: 1fr; }
  .form-wrap { padding: 18px; }
  .form-wrap .btn, .board-actions .btn { width: 100%; }
  .w-a, .w-b, .w-c, .w-d { flex-basis: 82vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .chip, .entry, .mag, .topic-card, .index-list a { transition: none; }
}

/* roulang page: category2 */
:root {
 --persimmon: #C4623A;
 --persimmon-hover: #9A3F24;
 --persimmon-active: #7C3A22;
 --moss: #5C6B4A;
 --night: #2A211C;
 --paper: #F4EFE6;
 --card: #FFFBF6;
 --dusk: #6E6278;
 --dusk-deep: #5C5166;
 --ink: #1C1714;
 --muted: #5E564E;
 --line: #E4D9CC;
 --sand: #F7F1E8;
 --on-dark: #F4EFE6;
 --muted-dark: #E4D9CC;
 --radius-card: 14px;
 --radius-btn: 10px;
 --shadow: 0 8px 24px rgba(36, 28, 24, 0.08);
 --header-h: 72px;
 --max: 1120px;
 --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
 --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 --mono: ui-monospace, "SFMono-Regular", "Source Han Mono", "Noto Sans Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 font-family: var(--sans);
 font-size: 16px;
 line-height: 1.75;
 color: var(--ink);
 background-color: var(--paper);
 background-image: radial-gradient(rgba(42, 33, 28, 0.035) 0.6px, transparent 0.6px);
 background-size: 4px 4px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-inline-size: 0; }
::selection { background: #E8C4B4; color: var(--ink); }
:focus-visible {
 outline: 2px solid var(--dusk);
 outline-offset: 2px;
}
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.35; }
.sec-title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.sec-lead { max-width: 42em; color: var(--muted); margin-bottom: 28px; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: var(--radius-btn);
 border: 1px solid transparent;
 background: var(--persimmon);
 color: #FFFBF6;
 transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--persimmon-hover); color: #FFFBF6; }
.btn:active { background: var(--persimmon-active); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.site-header { background: var(--night); }
.brand-bar {
 position: sticky;
 top: 0;
 z-index: 50;
 min-height: var(--header-h);
 display: flex;
 align-items: center;
 gap: 12px;
 padding: 10px 20px;
 background: var(--night);
 border-bottom: 1px solid #4A403A;
}
.logo {
 color: var(--on-dark);
 font-family: var(--serif);
 font-weight: 600;
 font-size: 16px;
 line-height: 1.25;
 max-width: 12em;
}
.logo:hover { color: #E8C4B4; }
.brand-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.adult-tag {
 border: 1px solid #8A7568;
 border-radius: var(--radius-btn);
 color: var(--on-dark);
 font-size: 12px;
 line-height: 1;
 padding: 8px 10px;
 white-space: nowrap;
}
.chip-bar {
 position: sticky;
 top: var(--header-h);
 z-index: 49;
 background: var(--night);
 border-bottom: 1px solid #6A5C53;
}
.chip-scroller {
 display: flex;
 gap: 8px;
 overflow-x: auto;
 scroll-snap-type: x mandatory;
 padding: 10px 20px 12px;
 scrollbar-width: thin;
 scrollbar-color: var(--dusk) transparent;
}
.chip-scroller::-webkit-scrollbar { height: 4px; }
.chip-scroller::-webkit-scrollbar-thumb { background: var(--dusk); border-radius: 999px; }
.chip {
 flex: 0 0 auto;
 scroll-snap-align: start;
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 padding: 0 16px;
 border-radius: 999px;
 border: 1px solid #6A5C53;
 background: transparent;
 color: var(--on-dark);
 white-space: nowrap;
 transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { background: #3A302A; color: var(--on-dark); }
.chip:active { background: #241C18; }
.chip.is-current { background: var(--dusk); border-color: var(--dusk); color: var(--on-dark); }
.chip.is-current:hover { background: var(--dusk-deep); color: var(--on-dark); }
.block { padding: 88px 0; }
.block-paper { background: transparent; }
.block-card { background: var(--card); }
.block-sand { background: var(--sand); }
.page-head {
 position: relative;
 background:
  linear-gradient(180deg, rgba(244, 239, 230, 0.05), transparent 42%),
  var(--night);
 color: var(--on-dark);
 padding: 36px 0 32px;
 overflow: hidden;
}
.page-head::before {
 content: "";
 position: absolute;
 top: 22px;
 bottom: 22px;
 right: max(20px, calc((100% - 1120px) / 2));
 width: 168px;
 border: 1px solid #6A5C53;
 background:
  linear-gradient(#6A5C53, #6A5C53) center / 1px 100% no-repeat,
  linear-gradient(#6A5C53, #6A5C53) center / 100% 1px no-repeat;
 pointer-events: none;
}
.page-head .container { position: relative; z-index: 1; padding-right: 210px; }
.kicker {
 color: #E8C4B4;
 font-size: 13px;
 letter-spacing: 0.12em;
 margin-bottom: 8px;
}
.page-head h1 { font-size: clamp(28px, 3.4vw, 40px); max-width: 14em; }
.page-head .lead { max-width: 38em; color: var(--muted-dark); margin-top: 12px; }
.axis { position: relative; }
.axis::before {
 content: "";
 position: absolute;
 left: 7px;
 top: 6px;
 bottom: 6px;
 width: 1px;
 background: var(--line);
}
.axis-node {
 position: relative;
 padding: 0 0 8px 34px;
}
.axis-node::before {
 content: "";
 position: absolute;
 left: 1px;
 top: 18px;
 width: 13px;
 height: 13px;
 border-radius: 50%;
 background: var(--paper);
 border: 2px solid var(--persimmon);
}
.axis-main {
 border-radius: var(--radius-card);
 padding: 12px 14px 14px;
 transition: background-color .18s ease;
}
.axis-node:hover .axis-main { background: var(--sand); }
.axis-main time {
 display: block;
 font-family: var(--mono);
 font-size: 13px;
 color: var(--muted);
 letter-spacing: 0.02em;
}
.axis-main h3 { font-size: 20px; margin: 2px 0 6px; }
.axis-main h3 a { color: var(--ink); }
.axis-main h3 a:hover { color: var(--persimmon-hover); }
.axis-main p { color: var(--muted); margin-bottom: 8px; }
.mag-tag {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 font-style: normal;
 font-size: 13px;
 color: var(--moss);
 border: 1px solid var(--line);
 border-radius: var(--radius-btn);
 padding: 2px 8px;
 background: var(--card);
 white-space: nowrap;
}
.empty-line { color: var(--muted); padding: 8px 0 0 34px; }
.note-strip {
 background: var(--night);
 color: var(--on-dark);
 border: 1px solid #4A403A;
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 padding: 28px 28px 24px;
}
.note-strip p { color: var(--muted-dark); max-width: 46em; }
.text-link {
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 margin-top: 8px;
 color: #E8C4B4;
 font-weight: 600;
}
.text-link:hover { color: #F4EFE6; }
.len-list { display: flex; flex-direction: column; gap: 18px; }
.len-row {
 display: grid;
 grid-template-columns: 168px 1fr;
 gap: 16px;
 align-items: center;
 padding: 12px 0;
 border-bottom: 1px solid var(--line);
}
.len-row:last-child { border-bottom: 0; }
.len-name { font-family: var(--serif); font-weight: 600; font-size: 20px; display: block; }
.len-meta { color: var(--muted); font-size: 14px; }
.len-track {
 height: 10px;
 background: #EFE6DA;
 border-radius: 999px;
 overflow: hidden;
}
.len-track span {
 display: block;
 height: 100%;
 background: var(--persimmon);
 border-radius: 999px;
}
.link-list { border-top: 1px solid var(--line); }
.link-list a {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 16px;
 min-height: 56px;
 padding: 12px 8px;
 border-bottom: 1px solid var(--line);
 font-family: var(--serif);
 font-weight: 600;
 font-size: 18px;
 transition: background-color .18s ease;
}
.link-list a:hover { background: var(--sand); }
.link-list a span { color: var(--persimmon); font-family: var(--sans); font-size: 14px; font-weight: 600; white-space: nowrap; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
 width: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 min-height: 56px;
 padding: 12px 0;
 background: transparent;
 border: 0;
 text-align: left;
 font-family: var(--serif);
 font-weight: 600;
 font-size: 18px;
}
.faq-item button:hover { color: var(--persimmon-hover); }
.pm {
 position: relative;
 width: 16px;
 height: 16px;
 flex: 0 0 16px;
}
.pm::before, .pm::after {
 content: "";
 position: absolute;
 left: 50%;
 top: 50%;
 background: currentColor;
 transform: translate(-50%, -50%);
}
.pm::before { width: 12px; height: 1.5px; }
.pm::after { width: 1.5px; height: 12px; }
.faq-item.is-open .pm::after { display: none; }
.faq-a { display: none; padding: 0 28px 14px 0; color: var(--muted); }
.faq-item.is-open .faq-a { display: block; }
.toc-list { display: flex; flex-wrap: wrap; gap: 10px; }
.toc-list a {
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 padding: 0 16px;
 border: 1px solid var(--line);
 border-radius: 999px;
 background: var(--card);
 transition: background-color .18s ease, border-color .18s ease;
}
.toc-list a:hover { background: var(--sand); border-color: #D9CBBA; }
.form-card {
 max-width: 460px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 padding: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field legend, .field label { font-weight: 600; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; border-radius: 12px; }
.radio {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 min-height: 44px;
 padding: 0 12px;
 border: 1px solid var(--line);
 border-radius: 999px;
 background: var(--paper);
}
.radio:hover { background: var(--sand); }
input[type="text"] {
 min-height: 44px;
 border: 1px solid var(--line);
 border-radius: var(--radius-btn);
 padding: 0 12px;
 background: #FFFBF6;
}
input[type="text"]:hover { border-color: #D3C4B4; }
.is-error { border-color: var(--moss) !important; }
.err, .ok { min-height: 1.5em; font-size: 14px; margin-bottom: 10px; }
.err { color: var(--moss); }
.ok { color: var(--moss); }
.site-footer { background: var(--night); color: var(--on-dark); padding: 48px 0 32px; }
.foot-brand { font-family: var(--serif); font-weight: 600; font-size: 20px; margin-bottom: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.foot-links a { color: var(--muted-dark); min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: #E8C4B4; }
.foot-note, .copy { color: var(--muted-dark); font-size: 14px; }
.copy { margin-top: 4px; }
@media (max-width: 1280px) {
 .page-head .container { padding-right: 190px; }
}
@media (max-width: 1024px) {
 .page-head::before { width: 120px; }
 .page-head .container { padding-right: 146px; }
 .block { padding: 72px 0; }
}
@media (max-width: 768px) {
 .container { width: min(var(--max), calc(100% - 32px)); }
 .block { padding: 48px 0; }
 .page-head { padding: 28px 0 24px; }
 .page-head::before { display: none; }
 .page-head .container { padding-right: 0; }
 .len-row { grid-template-columns: 1fr; gap: 8px; }
 .form-card .btn { width: 100%; }
 .link-list a { align-items: flex-start; flex-direction: column; gap: 2px; }
}
@media (max-width: 480px) {
 .block { padding: 40px 0; }
 .logo { font-size: 14px; }
 .sec-title { font-size: 24px; }
 .brand-bar { padding-inline: 14px; }
 .chip-scroller { padding-inline: 14px; }
 .note-strip, .form-card { padding: 18px; }
 .axis-main h3, .link-list a, .faq-item button { font-size: 17px; }
}

/* roulang page: category1 */
:root {
 --persimmon: #C4623A;
 --persimmon-hover: #9A3F24;
 --persimmon-active: #7C3A22;
 --moss: #5C6B4A;
 --night: #2A211C;
 --paper: #F4EFE6;
 --card: #FFFBF6;
 --dusk: #6E6278;
 --dusk-deep: #5C5166;
 --ink: #1C1714;
 --muted: #5E564E;
 --line: #E4D9CC;
 --sand: #F7F1E8;
 --on-dark: #F4EFE6;
 --muted-dark: #E4D9CC;
 --radius-card: 14px;
 --radius-btn: 10px;
 --shadow: 0 8px 24px rgba(36, 28, 24, 0.08);
 --header-h: 72px;
 --max: 1120px;
 --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
 --sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 --mono: ui-monospace, "SFMono-Regular", "Source Han Mono", "Noto Sans Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 font-family: var(--sans);
 font-size: 16px;
 line-height: 1.75;
 color: var(--ink);
 background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
 font-family: var(--serif);
 font-weight: 600;
 line-height: 1.35;
}
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sec { padding: 84px 0; }
.sec-card { background: var(--card); }
.sec-sand { background: var(--sand); }
.sec-title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.sec-lead { max-width: 68em; color: var(--muted); margin-bottom: 28px; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: var(--radius-btn);
 border: 1px solid transparent;
 background: var(--persimmon);
 color: #FFFBF6;
 text-decoration: none;
 transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--persimmon-hover); color: #FFFBF6; }
.btn:active { background: var(--persimmon-active); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-line {
 background: transparent;
 color: var(--on-dark);
 border-color: #8A7568;
}
.btn-line:hover { background: #3A302A; color: var(--on-dark); }
.btn-line:active { background: #241C18; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
 outline: 2px solid var(--dusk);
 outline-offset: 2px;
}
.site-header { background: var(--night); }
.brand-bar {
 position: sticky;
 top: 0;
 z-index: 50;
 min-height: var(--header-h);
 display: flex;
 align-items: center;
 gap: 12px;
 padding: 8px 20px;
 background: var(--night);
 border-bottom: 1px solid #4A403A;
}
.logo {
 color: var(--on-dark);
 font-family: var(--serif);
 font-weight: 600;
 font-size: 16px;
 line-height: 1.25;
 max-width: 9em;
}
.logo:hover { color: #E8C4B4; }
.logo:active { color: #D7B2A2; }
.brand-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.adult-tag {
 border: 1px solid #8A7568;
 border-radius: var(--radius-btn);
 color: var(--on-dark);
 font-size: 12px;
 line-height: 1;
 padding: 8px 10px;
 white-space: nowrap;
}
.chip-bar {
 position: sticky;
 top: var(--header-h);
 z-index: 49;
 background: var(--night);
 border-bottom: 1px solid #6A5C53;
}
.chip-scroller {
 display: flex;
 gap: 8px;
 overflow-x: auto;
 scroll-snap-type: x mandatory;
 -webkit-overflow-scrolling: touch;
 padding: 10px 20px 12px;
 scrollbar-width: thin;
 scrollbar-color: var(--dusk) transparent;
}
.chip-scroller::-webkit-scrollbar { height: 4px; }
.chip-scroller::-webkit-scrollbar-thumb { background: var(--dusk); border-radius: 999px; }
.chip {
 flex: 0 0 auto;
 scroll-snap-align: start;
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 padding: 0 16px;
 border-radius: 999px;
 border: 1px solid #6A5C53;
 background: transparent;
 color: var(--on-dark);
 white-space: nowrap;
 transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { background: #3A302A; color: var(--on-dark); }
.chip:active { background: #241C18; }
.chip.is-current {
 background: var(--dusk);
 border-color: var(--dusk);
 color: var(--on-dark);
}
.chip.is-current:hover { background: var(--dusk-deep); color: var(--on-dark); }
.page-head {
 background: var(--night);
 color: var(--on-dark);
 padding: 28px 0 24px;
 border-bottom: 1px solid #4A403A;
}
.head-grid {
 display: grid;
 grid-template-columns: minmax(0, 1fr) 260px;
 gap: 28px;
 align-items: end;
}
.page-head h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.head-lead { color: var(--muted-dark); max-width: 36em; }
.head-metrics {
 display: grid;
 gap: 10px;
 border-left: 1px solid #4A403A;
 padding-left: 18px;
}
.metric b {
 display: block;
 font-family: var(--mono);
 font-variant-numeric: tabular-nums;
 font-size: 28px;
 font-weight: 600;
 line-height: 1.2;
 letter-spacing: 0;
}
.metric span { color: var(--muted-dark); font-size: 13px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-chip {
 min-height: 44px;
 padding: 0 16px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: var(--card);
 color: var(--ink);
 transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.filter-chip:hover { background: var(--sand); }
.filter-chip:active { background: var(--line); }
.filter-chip.is-on {
 background: var(--dusk);
 border-color: var(--dusk);
 color: var(--on-dark);
}
.filter-chip.is-on:hover { background: var(--dusk-deep); color: var(--on-dark); }
.mag-list { border-top: 1px solid var(--line); }
.mag-row {
 display: grid;
 grid-template-columns: 88px minmax(0, 1fr) auto auto;
 gap: 12px 16px;
 align-items: center;
 padding: 16px 10px;
 border-bottom: 1px solid var(--line);
 color: var(--ink);
 transition: background-color .18s ease;
}
.mag-row:hover { background: #F7F1E8; }
.mag-row:active { background: var(--line); }
.mag-row time {
 font-family: var(--mono);
 font-variant-numeric: tabular-nums;
 color: var(--muted);
 font-size: 14px;
}
.mag-title { font-family: var(--serif); font-weight: 600; font-size: 18px; }
.mag-meta { color: var(--muted); font-size: 14px; white-space: nowrap; }
.mag-tag {
 font-style: normal;
 font-size: 13px;
 color: var(--muted);
 border: 1px solid var(--line);
 border-radius: var(--radius-btn);
 padding: 4px 8px;
 background: var(--card);
 white-space: nowrap;
}
.empty-line {
 margin: 0;
 padding: 18px 10px;
 color: var(--muted);
 border-bottom: 1px solid var(--line);
}
.more-line {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 18px;
}
.more-line .sec-title { margin-bottom: 0; }
.more-copy { color: var(--muted); margin-top: 8px; }
.note-grid {
 display: grid;
 grid-template-columns: minmax(0, 1.4fr) minmax(220px, .7fr);
 gap: 28px;
 align-items: center;
}
.note-grid p { color: var(--muted); margin-top: 12px; max-width: 40em; }
.film {
 min-height: 168px;
 border-radius: var(--radius-card);
 border: 1px solid #4A403A;
 background-color: var(--night);
 background-image:
  linear-gradient(rgba(244, 239, 230, .07) 1px, transparent 1px),
  linear-gradient(90deg, rgba(244, 239, 230, .07) 1px, transparent 1px);
 background-size: 22px 22px;
 box-shadow: var(--shadow);
 position: relative;
}
.film::after {
 content: "";
 position: absolute;
 inset: 12px;
 border: 1px solid rgba(228, 217, 204, .45);
 border-radius: 8px;
}
.line-list { border-top: 1px solid var(--line); }
.line-list a {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 16px;
 padding: 16px 8px;
 border-bottom: 1px solid var(--line);
 transition: background-color .18s ease;
}
.line-list a:hover { background: #F7F1E8; }
.line-list a:active { background: var(--line); }
.qa-list { display: grid; gap: 14px; }
.qa-item {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-card);
 box-shadow: var(--shadow);
 padding: 18px 20px;
}
.qa-item:nth-child(2) { margin-left: 8%; }
.qa-item:nth-child(3) { margin-left: 3%; margin-right: 12%; }
.qa-item h3 { font-size: 20px; margin-bottom: 8px; }
.qa-item p { color: var(--muted); }
.narrow-wrap { max-width: 460px; }
.narrow-form { display: grid; gap: 14px; margin-top: 18px; }
.narrow-form label { display: grid; gap: 6px; font-weight: 600; }
.narrow-form input, .narrow-form select {
 min-height: 44px;
 width: 100%;
 border: 1px solid var(--line);
 border-radius: var(--radius-btn);
 background: #fff;
 padding: 8px 12px;
 transition: border-color .18s ease, box-shadow .18s ease;
}
.narrow-form input:hover, .narrow-form select:hover { border-color: #C9B8A8; }
.narrow-form .is-error { border-color: var(--moss); box-shadow: 0 0 0 1px var(--moss); }
.form-msg { color: var(--moss); font-size: 14px; margin: 0; }
.site-footer {
 background: var(--night);
 color: var(--on-dark);
 padding: 48px 0 36px;
}
.foot-brand {
 font-family: var(--serif);
 font-weight: 600;
 font-size: 20px;
 margin: 0 0 16px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 16px; }
.foot-links a {
 color: var(--muted-dark);
 border-bottom: 1px solid transparent;
 min-height: 44px;
 display: inline-flex;
 align-items: center;
}
.foot-links a:hover { color: #fff; border-bottom-color: #E8C4B4; }
.foot-links a:active { color: #E8C4B4; }
.foot-note, .copy { color: var(--muted-dark); margin: 6px 0; font-size: 14px; }
@media (max-width: 1280px) {
 .container { width: min(var(--max), calc(100% - 40px)); }
}
@media (max-width: 1024px) {
 .head-grid { grid-template-columns: minmax(0, 1fr) 220px; }
 .note-grid { grid-template-columns: minmax(0, 1.2fr) minmax(180px, .8fr); }
 .qa-item:nth-child(3) { margin-right: 6%; }
}
@media (max-width: 768px) {
 .sec { padding: 48px 0; }
 .page-head { padding: 22px 0 18px; }
 .head-grid, .note-grid { grid-template-columns: 1fr; gap: 16px; }
 .head-metrics {
  border-left: 0;
  border-top: 1px solid #4A403A;
  padding: 12px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
 }
 .mag-row {
  grid-template-columns: 72px minmax(0, 1fr);
 }
 .mag-meta, .mag-tag { grid-column: 2; justify-self: start; }
 .mag-meta { white-space: normal; }
 .more-line { align-items: flex-start; flex-direction: column; }
 .more-line .btn { width: 100%; }
 .qa-item:nth-child(n) { margin: 0; }
 .narrow-form .btn { width: 100%; }
 .film { min-height: 120px; }
}
@media (max-width: 520px) {
 .container { width: calc(100% - 28px); }
 .head-metrics { grid-template-columns: 1fr 1fr; }
 .metric:last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
 .brand-bar { padding: 8px 12px; gap: 8px; }
 .logo { font-size: 14px; }
 .chip-scroller { padding: 10px 12px 12px; }
 .adult-tag { padding: 6px 8px; }
 .brand-bar .btn { padding: 0 12px; }
 .mag-title { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; }
}
