/* roulang page: index */
:root {
  --paper: #F4F0E8;
  --paper-2: #EBE6DC;
  --card: #FBF9F5;
  --ink: #1C1915;
  --muted: #6F675F;
  --line: #E3DCD0;
  --primary: #8D4B66;
  --press: #6E354C;
  --teal: #3F6A64;
  --amber: #A15C32;
  --radius: 2px;
  --shadow: 0 8px 20px rgba(28, 25, 21, 0.06);
  --pad: 72px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.8;
  font-weight: 400;
}
img { max-width: 100%; display: block; border: 0; }
button, input, textarea { font-family: inherit; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--press); }
p { margin: 0 0 0.9em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 0.55em;
}
h1 { font-size: 46px; font-weight: 600; }
h2 { font-size: 26px; }
h3 { font-size: 18px; line-height: 1.4; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 6px 10px;
  z-index: 20;
}
.skip:focus { top: 8px; color: var(--paper); }
.num, .meta time, .metric b { font-variant-numeric: tabular-nums; }
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 0 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  flex: none;
}
.brand:hover { color: var(--primary); }
.seal {
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-style: normal;
  font-size: 12px;
  font-family: var(--serif);
}
.search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.search input[type="search"] {
  flex: 1;
  height: 42px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0 12px;
  box-shadow: none;
}
.search button { height: 42px; padding: 0 16px; }
.head-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.age {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--amber);
  border: 1px solid var(--line);
  padding: 2px 6px;
  line-height: 1.4;
}
.channel-wrap { position: relative; }
.channel-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 36px;
  background: linear-gradient(90deg, rgba(244, 240, 232, 0), var(--paper));
  pointer-events: none;
}
.channels {
  position: relative;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 0 0;
  margin: 0;
  scrollbar-width: none;
}
.channels::-webkit-scrollbar { display: none; }
.channels a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  padding: 10px 14px 12px;
  border-radius: var(--radius);
  flex: none;
}
.channels a:hover { color: var(--ink); background: rgba(141, 75, 102, 0.06); }
.channels a[aria-current="page"] { color: var(--primary); background: #F3E4EA; }
.tab-ink {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: left 200ms ease, width 200ms ease;
  pointer-events: none;
}
.btn, button, .button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--paper);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: none;
  text-transform: none;
  line-height: 1;
  cursor: pointer;
  margin: 0;
  transition: background 200ms ease, letter-spacing 200ms ease, color 200ms ease, transform 200ms ease;
}
.btn:hover, button:hover, .button:hover, input[type="submit"]:hover,
.btn:focus, button:focus, input[type="submit"]:focus {
  background: var(--press);
  color: var(--paper);
  letter-spacing: 0.08em;
}
.btn:active, button:active, input[type="submit"]:active { transform: translateY(1px); }
.btn-line, a.btn-line {
  background: transparent;
  color: var(--primary);
}
.btn-line:hover, a.btn-line:hover {
  background: var(--primary);
  color: var(--paper);
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.block { padding: var(--pad) 0; background: var(--paper); }
.block-b { background: var(--paper-2); }
.lead {
  max-width: 760px;
  color: var(--ink);
  margin: 0 0 28px;
}
.kicker {
  display: inline-block;
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.hero-copy { max-width: 760px; margin-bottom: 28px; }
.hero-copy p { margin-bottom: 0; }
.search-hit {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 14px 16px;
  margin-bottom: 22px;
  border-radius: var(--radius);
}
.search-hit h2 { font-size: 18px; }
.search-hit ul { margin: 0; padding: 0; list-style: none; }
.search-hit li { padding: 6px 0; border-top: 1px solid var(--line); font-size: 15px; }
.search-hit a { color: var(--ink); }
.search-hit a:hover { color: var(--primary); }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
}
.metric { padding: 18px 16px 16px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric b {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.1;
}
.metric span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.metric em { font-style: normal; font-size: 13px; color: var(--teal); margin-left: 4px; }
.matrix-item, .stack-card, .news-item, .essay, .entry, .scene, .device, .quote-line, .wish-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}
.matrix-item, .stack-card, .news-item, .essay, .entry, .scene {
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.matrix-item:hover, .stack-card:hover, .news-item:hover, .essay:hover, .entry:hover, .scene:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.matrix-list { display: flex; flex-direction: column; gap: 12px; }
.matrix-item { padding: 16px 18px; }
.matrix-item h3 { margin-bottom: 4px; }
.matrix-item p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-card { padding: 18px; min-height: 148px; }
.stack-card .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--teal);
  border: 1px solid var(--line);
  padding: 0 6px;
  margin-bottom: 8px;
}
.text-link { color: var(--primary); font-size: 14px; }
.text-link:hover { letter-spacing: 0.06em; }
.spec-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec-row div { padding: 14px 12px; border-right: 1px solid var(--line); }
.spec-row div:last-child { border-right: 0; }
.spec-row strong { display: block; font-weight: 600; font-size: 15px; }
.spec-row span { display: block; color: var(--muted); font-size: 13px; }
.cmp { border-top: 1px solid var(--line); }
.cmp-row, .cmp-head {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.cmp-head span, .cmp-row span { padding: 14px 12px; }
.cmp-head { color: var(--muted); font-size: 13px; }
.cmp-row span:first-child { color: var(--ink); font-weight: 600; }
.cmp-row span:nth-child(2) { color: var(--muted); }
.cmp-row span:nth-child(3) { background: rgba(63, 106, 100, 0.06); }
.timeline { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.timeline li {
  position: relative;
  padding: 0 0 26px 28px;
  border-left: 1px solid var(--line);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.node {
  position: absolute;
  left: -5px;
  top: 6px;
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 50%;
}
.timeline time { display: block; color: var(--amber); font-size: 13px; }
.timeline h3 { margin: 2px 0 4px; }
.timeline p { margin: 0; color: var(--muted); }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item { display: flex; gap: 18px; padding: 12px; align-items: stretch; }
.cover {
  width: 168px;
  flex: none;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.cover i {
  display: block;
  height: 100%;
  border: 1px solid rgba(244, 240, 232, 0.38);
  transition: transform 200ms ease;
}
.news-item:hover .cover i, .essay:hover .cover i, .scene:hover .cover i { transform: scale(1.02); }
.c1 { background: #8D4B66; }
.c2 { background: #3F6A64; }
.c3 { background: #A15C32; }
.c4 { background: #6E354C; }
.c5 { background: #1C1915; }
.c6 { background: #8A8178; }
.news-body { min-width: 0; padding: 4px 6px 4px 0; }
.news-body h3 { margin: 0 0 4px; font-size: 20px; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { margin: 0; color: var(--muted); font-size: 15px; }
.meta { font-size: 13px; color: var(--amber); margin: 0 0 6px; }
.meta span { color: var(--muted); margin-left: 10px; }
.more-row { margin-top: 16px; }
.assure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--card);
}
.assure article { padding: 18px 16px; border-right: 1px solid var(--line); }
.assure article:last-child { border-right: 0; }
.assure svg { display: block; margin-bottom: 8px; }
.assure h3 { font-size: 17px; margin-bottom: 4px; }
.assure p { margin: 0; color: var(--muted); font-size: 14.5px; }
.qa-list, .faq-list { max-width: 760px; border-top: 1px solid var(--line); }
.qa-list details, .faq-list details { border-bottom: 1px solid var(--line); background: transparent; }
.qa-list summary, .faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 28px 14px 0;
  font-family: var(--serif);
  font-size: 18px;
  position: relative;
}
.qa-list summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker { display: none; }
.qa-list summary::after, .faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  color: var(--primary);
  font-family: var(--sans);
}
details[open] summary::after { content: "–"; }
.qa-list details p, .faq-list details p {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 680px;
}
.scene { padding: 0 0 16px; height: 100%; }
.scene .cover, .essay .cover { width: 100%; aspect-ratio: 16 / 9; }
.scene .pad, .essay .pad { padding: 14px 16px 16px; }
.scene p, .essay p { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.essay-wrap .essay + .essay { margin-top: 12px; }
.essay-narrow { height: 100%; }
.essay-narrow .cover { aspect-ratio: 4 / 5; }
.plist { border-top: 1px solid var(--line); }
.plist a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  align-items: center;
}
.plist a:hover { color: var(--primary); }
.plist a:nth-child(odd) { background: var(--ink); color: var(--paper); }
.plist a:nth-child(odd):hover { color: #F3E4EA; }
.plist b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.plist a:nth-child(odd) b { color: #D7E4E1; }
.plist small { display: block; color: var(--muted); font-size: 13px; }
.plist a:nth-child(odd) small { color: #C8C0B6; }
.entry {
  display: block;
  padding: 28px 24px;
  min-height: 220px;
  color: var(--ink);
  height: 100%;
}
.entry:hover { color: var(--ink); }
.entry .go { color: var(--primary); font-size: 14px; }
.device { padding: 16px; height: 100%; }
.device .cover { width: 100%; margin-bottom: 12px; aspect-ratio: 16 / 8; }
.device p { color: var(--muted); margin: 0; }
.voices { display: flex; flex-direction: column; gap: 10px; }
.quote-line { padding: 14px 16px; }
.quote-line p { margin: 0; }
.quote-line span { display: block; margin-top: 4px; font-size: 13px; color: var(--amber); }
.wish-card { padding: 22px 22px 8px; max-width: 760px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input[type="text"], input[type="search"], textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: none;
  margin: 0 0 0;
}
input[type="text"] { height: 44px; padding: 0 12px; }
textarea { min-height: 120px; padding: 10px 12px; resize: vertical; }
.field { margin-bottom: 14px; }
.form-ok, .form-err { padding: 10px 12px; border: 1px solid var(--line); margin-bottom: 12px; }
.form-ok { color: var(--teal); background: rgba(63, 106, 100, 0.08); }
.form-err { color: var(--press); background: #F8F1F3; }
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}
.site-footer h2 { font-size: 16px; }
.foot-brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { color: var(--ink); display: inline-block; padding: 3px 0; }
.foot-links a:hover { color: var(--primary); }
.copy {
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1024px) {
  h1 { font-size: 40px; }
  .cmp-row, .cmp-head { grid-template-columns: 140px 1fr 1fr; }
  .cover { width: 140px; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  .head-row { flex-wrap: wrap; gap: 12px; }
  .search { order: 3; flex: 1 1 100%; }
  .brand { flex: 1; }
  .metrics, .spec-row, .assure { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(1), .metric:nth-child(2),
  .spec-row div:nth-child(1), .spec-row div:nth-child(2),
  .assure article:nth-child(1), .assure article:nth-child(2) { border-bottom: 1px solid var(--line); }
  .metric:nth-child(2), .spec-row div:nth-child(2), .assure article:nth-child(2) { border-right: 0; }
  .news-item { flex-direction: column; }
  .news-item .cover, .cover { width: 100%; }
  .cmp-row, .cmp-head { grid-template-columns: 1fr; }
  .cmp-head { display: none; }
  .cmp-row span:first-child { background: var(--paper-2); }
  .essay-narrow .cover { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  .head-tools .btn { padding: 0 10px; }
  .metrics, .spec-row { grid-template-columns: 1fr 1fr; }
  .assure { grid-template-columns: 1fr; }
  .assure article { border-right: 0; border-bottom: 1px solid var(--line); }
  .assure article:last-child { border-bottom: 0; }
  .plist a { grid-template-columns: 48px 1fr; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* roulang page: category2 */
:root {
  --paper: #F4F0E8;
  --paper-2: #EBE6DC;
  --card: #FBF9F5;
  --ink: #1C1915;
  --muted: #6F675F;
  --line: #E3DCD0;
  --primary: #8D4B66;
  --press: #6E354C;
  --teal: #3F6A64;
  --amber: #A15C32;
  --radius: 2px;
  --shadow: 0 8px 20px rgba(28, 25, 21, 0.06);
  --pad: 72px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.8;
  font-weight: 400;
}
img { max-width: 100%; display: block; border: 0; }
button, input, textarea { font-family: inherit; }
p { margin: 0 0 1.15em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: 0;
}
h1 { font-size: 44px; margin: 0 0 14px; }
h2 { font-size: 26px; margin: 0 0 16px; }
h3 { font-size: 20px; margin: 0 0 8px; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--press); }
.num, .meta time, .idx, .metric b { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 0 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  flex: none;
}
.brand:hover { color: var(--primary); }
.seal {
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-style: normal;
  font-family: var(--serif);
  font-size: 12px;
  border-radius: var(--radius);
  flex: none;
}
.search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.search input[type="search"] {
  flex: 1;
  height: 42px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0 12px;
  box-shadow: none;
  font-size: 15px;
}
.search input[type="search"]:focus {
  border-color: var(--teal);
  background: #fff;
}
.head-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.age {
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  padding: 2px 6px;
  line-height: 1.4;
  background: var(--card);
}
.channel-wrap { position: relative; }
.channel-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 36px;
  background: linear-gradient(90deg, rgba(244, 240, 232, 0), var(--paper));
  pointer-events: none;
}
.channels {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  position: relative;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.channels::-webkit-scrollbar { display: none; }
.channels a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  padding: 10px 14px 12px;
  border-radius: var(--radius);
  flex: none;
  z-index: 1;
}
.channels a:hover { color: var(--ink); background: rgba(141, 75, 102, 0.06); }
.channels a[aria-current="page"] { color: var(--primary); background: #F3E4EA; }
.tab-ink {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  transform: translateX(0);
  transition: transform 200ms ease, width 200ms ease;
  pointer-events: none;
  z-index: 2;
}
.btn, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--paper);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: none;
  text-transform: none;
  line-height: 1;
  cursor: pointer;
  margin: 0;
  width: auto;
  transition: background 200ms ease, letter-spacing 200ms ease, color 200ms ease, transform 200ms ease;
}
.btn:hover, button:hover, input[type="submit"]:hover,
.btn:focus, button:focus, input[type="submit"]:focus {
  background: var(--press);
  color: var(--paper);
  letter-spacing: 0.08em;
}
.btn:active, button:active, input[type="submit"]:active { transform: translateY(1px); }
.btn-solid { background: var(--primary); color: var(--paper); }
.btn-line, a.btn-line {
  background: transparent;
  color: var(--primary);
}
.btn-line:hover, a.btn-line:hover {
  background: var(--primary);
  color: var(--paper);
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.block { padding: var(--pad) 0; }
.block-alt { background: var(--paper-2); }
.block + .block { border-top: 0; }
.lead {
  max-width: 760px;
  color: var(--ink);
  margin: 0;
}
.crumb {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--amber);
}
.crumb a { color: var(--amber); }
.crumb a:hover { color: var(--press); }
.crumb span { color: var(--muted); margin: 0 6px; }
.narrow { max-width: 760px; }
.theme-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.theme-pills::-webkit-scrollbar { display: none; }
.theme-pills a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 14px;
}
.theme-pills a:hover { color: var(--ink); border-color: #d5cdc0; }
.theme-pills a[aria-current="true"] {
  color: var(--primary);
  background: #F3E4EA;
  border-color: transparent;
}
.pair {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.pair:last-child { border-bottom: 0; }
.pair[hidden] { display: none; }
.cover {
  display: block;
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #E7D5DC;
}
.cover-art {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 18px 18px 16px;
  transition: transform 200ms ease;
}
.pair:hover .cover-art { transform: scale(1.02); }
.cover em {
  font-style: normal;
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.08em;
}
.cover b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 42px;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cover-plum { background: #E7D5DC; }
.cover-teal { background: #D7E3DF; }
.cover-sand { background: #E8DDD2; }
.cover-ink {
  background: #E4D6C8;
}
.idx {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--teal);
}
.pair h2 { margin: 0 0 8px; font-size: 24px; }
.pair h2 a { color: var(--ink); }
.pair h2 a:hover { color: var(--primary); }
.pair .txt p { margin: 0 0 10px; color: var(--muted); }
.meta { font-size: 13px; color: var(--amber); margin: 0 0 8px; }
.meta span { color: var(--muted); margin-left: 10px; }
.text-link { color: var(--primary); font-size: 14px; }
.text-link:hover { letter-spacing: 0.06em; }
.read-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.read-steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.read-steps .n {
  font-family: var(--serif);
  color: var(--teal);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.read-steps h3 { margin-bottom: 4px; font-size: 18px; }
.read-steps p { margin: 0 0 6px; color: var(--muted); }
.diff { border-top: 1px solid var(--line); background: var(--card); }
.diff-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.diff-row span { padding: 14px 16px; }
.diff-head span {
  font-size: 13px;
  color: var(--amber);
  background: var(--paper);
}
.diff-row span:first-child { font-weight: 600; color: var(--ink); }
.diff-row span:nth-child(3) { background: rgba(63, 106, 100, 0.06); }
.excerpt {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  height: 100%;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.excerpt:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.excerpt q {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.55;
  quotes: none;
  margin: 0 0 12px;
}
.excerpt p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.tag {
  display: inline-block;
  font-size: 12px;
  color: var(--teal);
  border: 1px solid var(--line);
  padding: 0 6px;
  margin-bottom: 10px;
  background: var(--paper);
}
.more-row { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); background: transparent; }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--primary);
  font-family: var(--sans);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 16px; color: var(--muted); max-width: 680px; }
.site-footer {
  background: var(--ink);
  color: #E7E1D6;
  padding: 48px 0 28px;
}
.site-footer h2 {
  font-size: 16px;
  color: #F4F0E8;
  margin: 0 0 12px;
}
.site-footer a { color: #E7E1D6; }
.site-footer a:hover { color: #fff; }
.foot-brand {
  font-family: var(--serif);
  font-size: 18px;
  color: #F4F0E8;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
}
.foot-brand .seal { border-color: #E7D5DC; color: #E7D5DC; }
.site-footer .meta { color: var(--amber); }
.site-footer p { color: #C9C1B6; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin: 0 0 6px; }
.copy {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(227, 220, 208, 0.25);
  font-size: 13px;
  color: #A39B92;
}
@media (max-width: 1024px) {
  :root { --pad: 56px; }
  h1 { font-size: 38px; }
  .diff-row { grid-template-columns: 96px 1fr 1fr; }
  .cover, .cover-art { min-height: 200px; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  .head-row { flex-wrap: wrap; gap: 12px; }
  .search { order: 3; flex: 1 1 100%; }
  .read-steps li { grid-template-columns: 48px 1fr; }
  .diff-row { grid-template-columns: 1fr; }
  .diff-row span { display: block; }
  .diff-head { display: none; }
  .pair .txt { padding-top: 14px; }
  .excerpt q { font-size: 20px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand { font-size: 16px; }
  h1 { font-size: 28px; }
  .head-tools .btn { min-height: 38px; padding: 0 10px; }
  .cover b { font-size: 34px; }
  .cover, .cover-art { min-height: 168px; }
  .pair h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .pair:hover .cover-art { transform: none; }
}

/* roulang page: category1 */
:root {
  --paper: #F4F0E8;
  --paper-2: #EBE6DC;
  --card: #FBF9F5;
  --ink: #1C1915;
  --muted: #6F675F;
  --line: #E3DCD0;
  --primary: #8D4B66;
  --press: #6E354C;
  --teal: #3F6A64;
  --amber: #A15C32;
  --radius: 2px;
  --shadow: 0 8px 20px rgba(28, 25, 21, 0.06);
  --pad: 72px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.8;
  font-weight: 400;
}
img { max-width: 100%; display: block; border: 0; }
button, input, textarea { font-family: inherit; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--press); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: 0; }
h1 { font-size: 44px; line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 26px; line-height: 1.35; margin: 0 0 18px; }
h3 { font-size: 20px; line-height: 1.4; margin: 0 0 6px; }
.num, .meta time, .metric b { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 0 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  flex: none;
}
.brand:hover { color: var(--primary); }
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-style: normal;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  flex: none;
}
.search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.search input[type="search"] {
  flex: 1;
  height: 42px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0 12px;
  box-shadow: none;
  font-size: 15px;
}
.search input[type="search"]:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: none;
}
.search button { height: 42px; padding: 0 16px; flex: none; }
.head-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.age {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 2px 6px;
  line-height: 1.4;
}
.channel-wrap { position: relative; }
.channel-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 36px;
  background: linear-gradient(90deg, rgba(244, 240, 232, 0), var(--paper));
  pointer-events: none;
}
.channels {
  position: relative;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  padding-bottom: 0;
}
.channels::-webkit-scrollbar { display: none; }
.channels a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  padding: 10px 14px 12px;
  border-radius: var(--radius);
  flex: none;
}
.channels a:hover { color: var(--ink); background: rgba(141, 75, 102, 0.06); }
.channels a[aria-current="page"] { color: var(--primary); background: #F3E4EA; }
.tab-ink {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  transform: translateX(0);
  transition: transform 200ms ease, width 200ms ease;
  pointer-events: none;
}
.btn, button, .button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--paper);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: none;
  text-transform: none;
  line-height: 1;
  cursor: pointer;
  margin: 0;
  transition: background 200ms ease, letter-spacing 200ms ease, color 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.btn:hover, button:hover, .button:hover, input[type="submit"]:hover,
.btn:focus, button:focus, input[type="submit"]:focus {
  background: var(--press);
  border-color: var(--press);
  color: var(--paper);
  letter-spacing: 0.08em;
}
.btn:active, button:active, input[type="submit"]:active { transform: translateY(1px); }
.btn-line, a.btn-line, .sort-bar button {
  background: transparent;
  color: var(--primary);
}
.btn-line:hover, a.btn-line:hover {
  background: var(--primary);
  color: var(--paper);
}
.sort-bar button:hover { color: var(--paper); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.lead {
  max-width: 760px;
  color: var(--ink);
  margin: 0;
}
.band { padding: var(--pad) 0; }
.band-alt { background: var(--paper-2); }
.band-tight { padding: 22px 0; }
.mast { padding: 48px 0 28px; }
.crumb {
  font-size: 13px;
  color: var(--amber);
  margin: 0 0 14px;
}
.crumb a { color: var(--amber); }
.crumb a:hover { color: var(--press); }
.sort-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sort-line .meta { margin: 0; }
.sort-bar {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}
.sort-bar button {
  min-height: 38px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 0 14px;
  background: transparent;
  color: var(--ink);
}
.sort-bar button:last-child { border-right: 0; }
.sort-bar button.is-on,
.sort-bar button[aria-pressed="true"] {
  background: var(--primary);
  color: var(--paper);
}
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  display: flex;
  gap: 18px;
  padding: 12px;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.news-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.cover {
  width: 188px;
  flex: none;
  overflow: hidden;
  background: #E7E0D4;
  min-height: 124px;
}
.cover i {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  min-height: 124px;
  padding: 12px;
  font-style: normal;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  color: rgba(28, 25, 21, 0.62);
  background:
    linear-gradient(160deg, rgba(141, 75, 102, 0.2), rgba(63, 106, 100, 0.12)),
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(28, 25, 21, 0.04) 14px 15px);
  transition: transform 200ms ease;
}
.news-item:nth-child(3n+2) .cover i {
  background-color: #D7E3DF;
  background-image: linear-gradient(165deg, rgba(63, 106, 100, 0.28), rgba(244, 240, 232, 0.1));
}
.news-item:nth-child(3n) .cover i {
  background-color: #E8D8CC;
  background-image: linear-gradient(165deg, rgba(161, 92, 50, 0.22), rgba(244, 240, 232, 0.15));
}
.news-item:hover .cover i { transform: scale(1.02); }
.news-body { min-width: 0; padding: 4px 8px 4px 0; }
.news-body h3 { margin: 0 0 4px; font-size: 22px; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { margin: 0; color: var(--muted); font-size: 15.5px; }
.meta { font-size: 13px; color: var(--amber); margin: 0 0 6px; }
.meta span { color: var(--muted); margin-left: 10px; }
.tag {
  display: inline-block;
  font-size: 12px;
  color: var(--teal);
  border: 1px solid var(--line);
  padding: 0 6px;
  margin-bottom: 8px;
  line-height: 1.7;
}
.list-essay .is-title-only { display: none; }
.list-title .cover,
.list-title .excerpt { display: none; }
.list-title .news-item { align-items: center; }
.note {
  max-width: 760px;
  border-left: 2px solid var(--teal);
  padding: 2px 0 2px 18px;
}
.note p { margin: 0 0 0.8em; }
.note p:last-child { margin-bottom: 0; }
.week-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.week-list li a {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 16px 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.week-list li:nth-child(odd) a {
  background: var(--ink);
  color: var(--paper);
}
.week-list li:nth-child(odd) a:hover { color: #F3E4EA; }
.week-list li:nth-child(even) a:hover { color: var(--primary); }
.week-list .num {
  color: var(--teal);
  width: 2.2em;
  flex: none;
  font-size: 13px;
}
.week-list li:nth-child(odd) .num { color: #8FBFB6; }
.week-list em {
  font-style: normal;
  font-family: var(--serif);
  font-size: 18px;
}
.scene-bar {
  display: grid;
  grid-template-columns: 1.5fr 1.1fr 0.9fr;
  border: 1px solid var(--line);
  background: var(--card);
}
.scene-bar a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 132px;
  padding: 22px 20px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  transition: background 200ms ease;
}
.scene-bar a:last-child { border-right: 0; }
.scene-bar a:hover { background: #F3E4EA; color: var(--ink); }
.scene-bar strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}
.scene-bar span { color: var(--muted); font-size: 14px; line-height: 1.7; }
.more-row { margin: 0; }
.text-link {
  color: var(--primary);
  font-size: 15px;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 2px;
}
.text-link:hover { letter-spacing: 0.06em; color: var(--press); }
.faq-list { max-width: 760px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); background: transparent; }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--primary);
  font-family: var(--sans);
  font-weight: 500;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0 0 16px; color: var(--muted); max-width: 68ch; }
.site-footer {
  background: var(--ink);
  color: #E7E0D4;
  padding: 52px 0 28px;
}
.site-footer h2 {
  font-size: 18px;
  color: var(--paper);
  margin-bottom: 10px;
}
.site-footer a { color: #E7E0D4; }
.site-footer a:hover { color: #fff; }
.site-footer .meta { color: var(--amber); }
.foot-brand {
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--paper);
  margin: 0 0 8px;
}
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { border-top: 1px solid rgba(227, 220, 208, 0.16); }
.foot-links a { display: block; padding: 8px 0; font-size: 14px; }
.copy {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(227, 220, 208, 0.16);
  font-size: 13px;
  color: #A39A90;
}
@media (max-width: 1024px) {
  h1 { font-size: 38px; }
  .cover { width: 160px; }
  .scene-bar { grid-template-columns: 1fr 1fr; }
  .scene-bar a:nth-child(2) { border-right: 0; }
  .scene-bar a:last-child { border-top: 1px solid var(--line); grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  .head-row { flex-wrap: wrap; gap: 12px; }
  .brand { flex: 1; }
  .search { order: 3; flex: 1 1 100%; }
  .mast { padding-top: 32px; }
  .sort-line { align-items: flex-start; flex-direction: column; }
  .news-item { flex-direction: column; gap: 0; }
  .cover { width: 100%; min-height: 0; }
  .cover i { min-height: 148px; }
  .news-body { padding: 12px 4px 6px; }
  .scene-bar { grid-template-columns: 1fr; }
  .scene-bar a,
  .scene-bar a:nth-child(2),
  .scene-bar a:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    grid-column: auto;
  }
  .scene-bar a:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand { font-size: 16px; }
  .head-tools .btn { padding: 0 10px; }
  .sort-bar { width: 100%; }
  .sort-bar button { flex: 1; padding: 0 8px; }
  .news-body h3 { font-size: 18px; }
  .week-list em { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .news-item:hover, .news-item:hover .cover i { transform: none; }
}
