/* roulang page: index */
:root {
  --paper: #F4F0E8;
  --paper-2: #E9E2D6;
  --ink: #211C19;
  --soft: #5E564E;
  --plum: #6E3E45;
  --bronze: #8F7344;
  --bronze-2: #C4A574;
  --line: #DDD4C6;
  --card: #FCFAF7;
  --shadow: 0 8px 24px rgba(33, 28, 25, .06);
  --radius: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--ink); text-underline-offset: 3px; transition: color .15s ease; }
a:hover { color: var(--bronze); }
::selection { background: #eadcc8; color: var(--ink); }
:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}
h1, h2, h3, .logo-name, .num, .ring em, summary {
  font-family: "Songti SC", STSong, SimSun, serif;
}
h1 { font-size: 40px; line-height: 1.2; font-weight: 600; letter-spacing: 0.01em; }
h2 { font-size: 30px; line-height: 1.25; font-weight: 600; }
h3 { font-size: 22px; line-height: 1.35; font-weight: 600; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
.container { width: min(1120px, 100%); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.measure { max-width: 38em; }
.idx {
  color: var(--bronze);
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  margin: 0 0 8px;
}
.aux { font-size: 13px; letter-spacing: 0.08em; color: var(--soft); }
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -2px 0 var(--bronze-2);
}
.nav-bar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo-name { font-size: 18px; letter-spacing: 0.06em; white-space: nowrap; }
.logo:hover .logo-name { color: var(--bronze); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--plum); border-color: var(--plum); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--bronze); border-color: var(--bronze); }
.btn-ghost:hover { color: var(--plum); border-color: var(--plum); }
.btn-short { display: none; }
.section { padding: 48px 0; scroll-margin-top: 80px; }
.bg-a { background: var(--paper); }
.bg-b { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink h2, .bg-ink .lede, .bg-ink .sub { color: var(--paper); }
.bg-ink .idx, .bg-ink .aux { color: var(--bronze-2); }
.sub { font-size: 18px; line-height: 1.7; margin: 10px 0 14px; max-width: 28em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.metrics { display: grid; grid-template-columns: 1.35fr .9fr 1.05fr .75fr; gap: 12px; align-items: end; }
.metric {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px 14px;
}
.metric:nth-child(1) { min-height: 150px; }
.metric:nth-child(2) { min-height: 112px; }
.metric:nth-child(3) { min-height: 134px; }
.metric:nth-child(4) { min-height: 100px; }
.num {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.metric .aux { display: block; margin-top: 10px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--bronze);
  border-radius: 999px;
  color: var(--bronze);
  text-decoration: none;
  background: transparent;
}
.tag:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tag:active { transform: scale(0.98); }
.ring {
  width: 36px;
  height: 36px;
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.ring svg { position: absolute; inset: 0; width: 36px; height: 36px; }
.ring circle {
  fill: none;
  stroke: var(--bronze);
  stroke-width: 1;
  stroke-dasharray: 100.5;
  stroke-dashoffset: 100.5;
}
.ring.is-in circle { animation: ringdraw 800ms ease forwards; }
.ring em { position: relative; z-index: 1; font-style: normal; font-size: 13px; color: var(--bronze); }
@keyframes ringdraw { to { stroke-dashoffset: 0; } }
.card {
  display: block;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: transform .15s ease, border-color .15s ease;
}
a.card:hover { color: inherit; transform: translateY(-2px); border-color: var(--bronze); }
a.card:hover h3 { color: var(--bronze); }
.card h3 { text-decoration: underline; text-decoration-color: var(--bronze-2); text-underline-offset: 3px; margin: 10px 0; }
.card p { color: var(--soft); font-size: 15px; }
.card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.mini { margin-top: 16px; }
.mini li { padding: 7px 0; border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; }
.bento { display: grid; grid-template-columns: 1.25fr .85fr .9fr; gap: 14px; align-items: stretch; }
.bento .big { grid-column: 1; grid-row: 1 / span 2; }
.bento .s2 { grid-column: 2; grid-row: 1; }
.bento .s3 { grid-column: 3; grid-row: 1; min-height: 148px; }
.bento .s4 { grid-column: 2; grid-row: 2; min-height: 196px; }
.bento .s5 { grid-column: 3; grid-row: 2; }
.topics { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.topics .tall { grid-row: span 2; min-height: 100%; }
.paths { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: end; }
.platform {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--bronze);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.platform.tall { min-height: 340px; }
.platform.short { min-height: 248px; }
.bg-ink .platform h3, .bg-ink .platform p, .bg-ink .platform span { color: var(--ink); }
.rows { display: grid; gap: 0; margin-top: 8px; }
.rows div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.rows span:first-child { color: var(--bronze); font-size: 13px; letter-spacing: 0.08em; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  height: 1px;
  background: var(--bronze-2);
}
.node { position: relative; padding-top: 4px; }
.node h3 { margin: 12px 0 6px; font-size: 20px; }
.node p { color: var(--soft); font-size: 15px; }
.records { display: grid; grid-template-columns: 1.35fr 1fr .82fr; gap: 14px; align-items: start; }
.records .card:nth-child(1) { min-height: 230px; }
.records .card:nth-child(2) { min-height: 270px; }
.records .card:nth-child(3) { min-height: 200px; }
.news li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.news time { color: var(--bronze); font-size: 13px; letter-spacing: 0.06em; }
.news a { text-decoration: underline; text-decoration-color: var(--bronze-2); text-underline-offset: 3px; font-size: 18px; }
.news p { grid-column: 2; color: var(--soft); font-size: 15px; }
.more-row { display: flex; justify-content: flex-end; padding-top: 16px; }
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.step p { color: var(--soft); }
.assure {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.assure li { padding: 18px 16px; border-left: 1px solid var(--line); }
.assure li:first-child { border-left: 0; }
.assure strong { display: block; font-size: 18px; font-family: "Songti SC", STSong, SimSun, serif; font-weight: 600; }
.assure span { display: block; margin-top: 6px; color: var(--soft); font-size: 14px; }
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.entry {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.entry.alt { min-height: 290px; background: var(--paper); }
.entry p { color: var(--soft); }
.qa { display: grid; gap: 12px; }
.qa article {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 12px 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.qa h3 { font-size: 20px; }
.qa p { color: var(--soft); }
.quotes { display: grid; gap: 14px; }
.quote {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote p { font-size: 18px; line-height: 1.7; }
.quote .aux { margin-top: 6px; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 18px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; color: var(--bronze); }
details[open] summary::after { content: "－"; }
details p { color: var(--soft); margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 18px; }
.span-2 { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: 14px; }
.bg-ink label { color: var(--paper); }
input, select, textarea {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
}
textarea { min-height: 120px; resize: vertical; }
::placeholder { color: var(--soft); opacity: 1; }
.bg-ink .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.bg-ink .btn-primary:hover { background: var(--bronze-2); border-color: var(--bronze-2); color: var(--ink); }
.form-status { min-height: 1.8em; margin-top: 12px; color: var(--bronze-2); font-size: 14px; }
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 28px 0 36px; }
.footer-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; }
.footer a { text-decoration: underline; text-decoration-color: var(--bronze-2); text-underline-offset: 3px; }
@media (min-width: 1024px) {
  body { font-size: 17px; }
  h1 { font-size: 52px; }
  h2 { font-size: 34px; }
  .container { padding-left: 32px; padding-right: 32px; }
  .section { padding: 72px 0; }
}
@media (max-width: 1023px) {
  .metrics, .records { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .big, .bento .s2, .bento .s3, .bento .s4, .bento .s5 { grid-column: auto; grid-row: auto; min-height: 0; }
  .bento .big, .records .card:last-child { grid-column: 1 / -1; }
  .paths { grid-template-columns: 1fr 1fr; align-items: stretch; }
}
@media (max-width: 768px) {
  .timeline { grid-template-columns: 1fr; gap: 8px; }
  .timeline::before { left: 18px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .assure { grid-template-columns: 1fr 1fr; }
  .assure li:nth-child(odd) { border-left: 0; }
  .assure li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .node { padding-left: 54px; }
  .node .ring { position: absolute; left: 0; top: 0; }
}
@media (max-width: 640px) {
  .logo-name { font-size: 15px; }
  .nav-cta .btn-long { display: none; }
  .nav-cta .btn-short { display: inline; }
  .metrics, .bento, .topics, .paths, .records, .entries, .qa article, .quote, .news li, .step, .form-grid, .assure, .footer-row {
    grid-template-columns: 1fr;
  }
  .bento .big, .records .card:last-child, .topics .tall { grid-column: auto; grid-row: auto; }
  .metric, .platform.tall, .platform.short, .entry, .records .card { min-height: 0; }
  .news p { grid-column: 1; }
  .assure li { border-left: 0; border-top: 1px solid var(--line); }
  .assure li:first-child { border-top: 0; }
  .footer-row { display: grid; }
  .num { font-size: 36px; }
}
@media (max-width: 520px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .sub { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ring circle { stroke-dashoffset: 0; }
  .card:hover, .btn:active, .tag:active { transform: none; }
}

/* roulang page: category2 */
:root {
 --paper: #F4F0E8;
 --paper-2: #E9E2D6;
 --ink: #211C19;
 --soft: #5E564E;
 --plum: #6E3E45;
 --bronze: #8F7344;
 --bronze-2: #C4A574;
 --line: #DDD4C6;
 --card: #FCFAF7;
 --shadow: 0 8px 24px rgba(33, 28, 25, .06);
 --radius: 8px;
}
/* roulang page: changci */
:root {
 --paper: #F4F0E8;
 --paper-2: #E9E2D6;
 --ink: #211C19;
 --soft: #5E564E;
 --plum: #6E3E45;
 --bronze: #8F7344;
 --bronze-2: #C4A574;
 --line: #DDD4C6;
 --card: #FCFAF7;
 --shadow: 0 8px 24px rgba(33, 28, 25, .06);
 --radius: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: var(--paper);
 color: var(--ink);
 font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.8;
}
img { max-width: 100%; display: block; }
svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--ink); text-underline-offset: 3px; transition: color .15s ease; }
a:hover { color: var(--bronze); }
h1, h2, h3, .logo-name, .num, .ring em, .idx {
 font-family: "Songti SC", STSong, SimSun, serif;
 font-weight: 500;
}
h1 { font-size: 36px; line-height: 1.2; margin: 0 0 18px; letter-spacing: 0.02em; }
h2 { font-size: 28px; line-height: 1.3; margin: 0 0 18px; }
h3 { font-size: 22px; line-height: 1.4; margin: 0 0 8px; }
p { margin: 0 0 1.15em; }
::selection { background: var(--bronze-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.container { width: min(1120px, 100%); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.header {
 position: sticky;
 top: 0;
 z-index: 30;
 height: 64px;
 background: var(--paper);
 border-bottom: 1px solid var(--line);
 box-shadow: inset 0 -2px 0 var(--bronze-2);
}
.nav-bar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo-name { font-size: 18px; letter-spacing: 0.06em; white-space: nowrap; }
.logo:hover .logo-name { color: var(--bronze); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 42px;
 padding: 0 16px;
 border-radius: var(--radius);
 text-decoration: none;
 cursor: pointer;
 border: 1px solid transparent;
 transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--plum); border-color: var(--plum); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--bronze); border-color: var(--bronze); }
.btn-ghost:hover { color: var(--plum); border-color: var(--plum); }
.btn-short { display: none; }
.section { padding: 48px 0; scroll-margin-top: 80px; }
.bg-a { background: var(--paper); }
.bg-b { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink h2, .bg-ink p, .bg-ink .idx { color: var(--paper); }
.eyebrow, .aux { font-size: 13px; letter-spacing: 0.08em; color: var(--soft); margin: 0 0 10px; }
.idx { color: var(--bronze); font-size: 13px; letter-spacing: 0.12em; margin-right: 8px; }
.ring {
 width: 36px;
 height: 36px;
 position: relative;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 flex: none;
}
.ring svg { position: absolute; inset: 0; width: 36px; height: 36px; }
.ring svg circle {
 fill: none;
 stroke: var(--bronze);
 stroke-width: 1;
 stroke-dasharray: 100.5;
 stroke-dashoffset: 0;
}
.js-motion .ring svg circle { stroke-dashoffset: 100.5; }
.js-motion .ring.is-drawn svg circle { animation: ringdraw .8s ease forwards; }
.ring em { position: relative; z-index: 1; font-style: normal; font-size: 13px; line-height: 1; color: var(--ink); }
@keyframes ringdraw { to { stroke-dashoffset: 0; } }
.card, .longcard, .side-list {
 background: var(--card);
 color: inherit;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.longcard {
 display: grid;
 grid-template-columns: 1fr;
 gap: 8px;
 padding: 20px 18px;
 margin-bottom: 16px;
 text-decoration: none;
 transition: transform .15s ease, border-color .15s ease;
}
.longcard:hover { color: inherit; transform: translateY(-2px); border-color: var(--bronze); }
.longcard h3 { text-decoration: underline; text-decoration-color: var(--bronze-2); text-underline-offset: 3px; }
.longcard p, .soft { color: var(--soft); }
.num {
 font-size: 40px;
 line-height: 1;
 color: var(--bronze);
 letter-spacing: 0.04em;
}
.longcard:nth-child(1) { min-height: 0; }
.side-list { padding: 18px 18px 8px; }
.rows { display: grid; gap: 0; margin-top: 8px; }
.rows div {
 display: grid;
 grid-template-columns: 36px 1fr;
 gap: 10px;
 align-items: start;
 padding: 12px 0;
 border-bottom: 1px solid var(--line);
 font-size: 15px;
}
.rows div:last-child { border-bottom: 0; }
.rows span:first-child { color: var(--bronze); font-size: 13px; letter-spacing: 0.08em; }
.timeline { position: relative; margin-top: 8px; }
.timeline::before {
 content: "";
 position: absolute;
 left: 17px;
 top: 18px;
 bottom: 18px;
 width: 1px;
 background: var(--bronze-2);
}
.station {
 position: relative;
 display: grid;
 grid-template-columns: 36px 1fr;
 gap: 16px;
 align-items: start;
}
.station.s1 { margin-bottom: 16px; }
.station.s2 { margin-bottom: 40px; }
.station.s3 { margin-bottom: 22px; }
.station.s4 { margin-bottom: 54px; }
.station.s5 { margin-bottom: 0; }
.station h3 { font-size: 20px; margin-top: 2px; }
.date { color: var(--bronze); font-size: 13px; letter-spacing: 0.08em; }
.diff-head, .diff-row {
 display: grid;
 grid-template-columns: 1fr;
 gap: 6px;
 padding: 14px 0;
 border-bottom: 1px solid var(--line);
}
.diff-head { color: var(--bronze); font-size: 13px; letter-spacing: 0.08em; }
.diff-row strong { font-family: "Songti SC", STSong, SimSun, serif; font-weight: 500; }
.term {
 display: grid;
 grid-template-columns: 1fr;
 gap: 6px;
 padding: 18px 0;
 border-top: 1px solid var(--line);
}
.term h3 { color: var(--ink); }
.rel a.piece {
 display: block;
 text-decoration: none;
 padding: 18px 0;
 border-bottom: 1px solid var(--line);
 color: inherit;
}
.rel a.piece:hover { color: inherit; }
.rel a.piece h3 { text-decoration: underline; text-decoration-color: var(--bronze-2); text-underline-offset: 3px; }
.rel a.piece:hover h3 { color: var(--bronze); }
.rel a.piece:nth-child(1) { padding-top: 6px; }
.rel a.piece:nth-child(2) { padding-top: 22px; padding-bottom: 22px; }
.cta-strip { display: grid; gap: 16px; align-items: center; }
.cta-strip p { margin: 0; max-width: 40em; }
.bg-ink .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.bg-ink .btn-primary:hover { background: var(--bronze-2); border-color: var(--bronze-2); color: var(--ink); }
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 28px 0 36px; }
.footer-row { display: grid; gap: 18px; align-items: start; }
.footer a { text-decoration: underline; text-decoration-color: var(--bronze-2); text-underline-offset: 3px; }
.open-grid { display: grid; gap: 22px; align-items: start; }
.stack { display: grid; gap: 0; }
@media (min-width: 768px) {
 body { font-size: 17px; }
 h1 { font-size: 44px; }
 h2 { font-size: 32px; }
 .longcard { grid-template-columns: 92px 1fr; gap: 18px; align-items: start; padding: 22px 24px; }
 .longcard:nth-of-type(1) { min-height: 168px; }
 .longcard:nth-of-type(2) { min-height: 210px; }
 .longcard:nth-of-type(3) { min-height: 156px; }
 .diff-head, .diff-row { grid-template-columns: 88px 1fr 1fr; gap: 16px; align-items: start; }
 .term { grid-template-columns: 160px 1fr; gap: 18px; }
 .cta-strip { grid-template-columns: 1fr auto; }
 .footer-row { display: flex; justify-content: space-between; align-items: flex-end; }
}
@media (min-width: 1024px) {
 body { font-size: 17px; }
 h1 { font-size: 52px; }
 h2 { font-size: 34px; }
 .container { padding-left: 32px; padding-right: 32px; }
 .section { padding: 72px 0; }
 .open-grid { grid-template-columns: 1.35fr .78fr; gap: 48px; }
 .station.s2 { margin-bottom: 52px; }
 .station.s4 { margin-bottom: 68px; }
}
@media (max-width: 640px) {
 .logo-name { font-size: 15px; }
 .nav-cta .btn-long { display: none; }
 .nav-cta .btn-short { display: inline; }
 h1 { font-size: 32px; }
 h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .ring svg circle { animation: none !important; stroke-dashoffset: 0 !important; }
 .longcard:hover, .btn:active { transform: none; }
}

/* roulang page: category1 */
:root {
  --paper: #F4F0E8;
  --paper-2: #E9E2D6;
  --ink: #211C19;
  --soft: #5E564E;
  --plum: #6E3E45;
  --bronze: #8F7344;
  --bronze-2: #C4A574;
  --line: #DDD4C6;
  --card: #FCFAF7;
  --shadow: 0 8px 24px rgba(33, 28, 25, .06);
  --radius: 8px;
}
/* roulang page: heji */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s ease; }
a:hover { color: var(--bronze); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 2px;
}
h1, h2, h3, .logo-name, .num, .ring em, summary {
  font-family: "Songti SC", STSong, SimSun, serif;
  font-weight: 500;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: 40px; line-height: 1.2; }
h2 { font-size: 30px; line-height: 1.25; }
h3 { font-size: 22px; line-height: 1.35; }
p + p { margin-top: 18px; }
.container { width: min(1120px, 100%); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.aux { font-size: 13px; letter-spacing: 0.08em; color: var(--soft); line-height: 1.7; }
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -2px 0 var(--bronze-2);
}
.nav-bar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo-name { font-size: 18px; letter-spacing: 0.06em; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo:hover .logo-name { color: var(--bronze); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--plum); border-color: var(--plum); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--bronze); border-color: var(--bronze); }
.btn-ghost:hover { color: var(--plum); border-color: var(--plum); background: transparent; }
.btn-short { display: none; }
.section { padding: 48px 0; scroll-margin-top: 80px; }
.bg-a { background: var(--paper); }
.bg-b { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink h2, .bg-ink p { color: var(--paper); }
.bg-ink .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.bg-ink .btn-primary:hover { background: var(--bronze-2); border-color: var(--bronze-2); color: var(--ink); }
.kicker, .sec-kicker {
  color: var(--bronze);
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--bronze);
  border-radius: 999px;
  color: var(--bronze);
  text-decoration: none;
  background: transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.tag:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tag:active { transform: scale(0.98); }
.tag.is-on, .tag[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.card, .feature, .dir-row, .read-card {
  background: var(--card);
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover, .feature:hover, .dir-row:hover, .read-card:hover {
  transform: translateY(-2px);
  border-color: var(--bronze);
}
.ring {
  width: 36px;
  height: 36px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 50%;
}
.ring svg { width: 100%; height: 100%; display: block; }
.ring circle { fill: none; stroke: var(--bronze); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ring em {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 13px;
  line-height: 1;
  color: var(--ink);
}
.ring-lg { width: 148px; height: 148px; }
.ring-lg em { font-size: 42px; }
.head-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.head-copy { max-width: 640px; }
.head-copy p { color: var(--soft); margin-top: 16px; }
.head-side { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.split { display: grid; gap: 18px; }
.sort-note { margin-top: 14px; }
.dir {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dir-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 14px 16px;
  align-items: center;
  padding: 14px 16px;
}
.dir-row.pin {
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  padding: 28px 24px;
  gap: 18px;
}
.dir-row.pin .ring { width: 52px; height: 52px; }
.dir-row.pin .ring em { font-size: 18px; }
.dir-title {
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 20px;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: var(--bronze-2);
  text-underline-offset: 3px;
}
.dir-row.pin .dir-title { font-size: 28px; }
.scope { color: var(--soft); font-size: 15px; margin-top: 6px; }
.dir-row.pin .scope { font-size: 16px; max-width: 46em; }
.meta { color: var(--soft); font-size: 13px; letter-spacing: 0.06em; white-space: nowrap; }
.dir-row.pin .meta { margin-top: 12px; }
.more-row { display: flex; justify-content: flex-end; padding-top: 16px; }
.feature {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  padding: 28px 24px;
  text-decoration: none;
}
.feature h3 { text-decoration: underline; text-decoration-color: var(--bronze-2); text-underline-offset: 3px; }
.feature p { color: var(--soft); margin-top: 10px; }
.feature a { display: inline-block; margin-top: 14px; text-decoration: underline; text-decoration-color: var(--bronze-2); text-underline-offset: 3px; }
.rail { margin-top: 8px; border-left: 1px solid var(--bronze); display: grid; }
.rail article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  position: relative;
  padding-left: 22px;
}
.rail article:nth-child(1) { padding-bottom: 28px; }
.rail article:nth-child(2) { padding-top: 18px; padding-bottom: 56px; }
.rail article:nth-child(3) { padding-top: 6px; }
.rail h3 { font-size: 22px; }
.rail p { color: var(--soft); }
.reads { display: grid; gap: 12px; }
.read-card { display: block; padding: 18px; text-decoration: none; color: inherit; }
.read-card:hover { color: inherit; }
.read-card h3 { font-size: 20px; text-decoration: underline; text-decoration-color: var(--bronze-2); text-underline-offset: 3px; }
.read-card p { color: var(--soft); margin-top: 8px; font-size: 15px; }
.qa-narrow { max-width: 760px; }
.qa-narrow article { padding: 16px 0 18px; border-top: 1px solid var(--line); }
.qa-narrow h3 { font-size: 20px; }
.qa-narrow p { color: var(--soft); margin-top: 8px; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.cta-inner p { margin-top: 10px; max-width: 40em; }
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 28px 0 36px; }
.footer-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; }
.footer a { text-decoration: underline; text-decoration-color: var(--bronze-2); text-underline-offset: 3px; }
.footer .logo { text-decoration: none; }
#dir-list[data-mode="new"] .dir-row { order: var(--new); }
#dir-list[data-mode="rank"] .dir-row { order: var(--rank); }
#dir-list[data-mode="session"] .dir-row { order: var(--session); }
#dir-list .dir-row.pin { order: -1; }
@media (min-width: 768px) {
  .reads { grid-template-columns: 1fr 1fr; }
  .reads .read-card:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  body { font-size: 17px; }
  h1 { font-size: 52px; }
  h2 { font-size: 34px; }
  .container { padding-left: 32px; padding-right: 32px; }
  .section { padding: 72px 0; }
  .head-grid { grid-template-columns: 1.45fr .55fr; align-items: center; }
  .split { grid-template-columns: .72fr 1.28fr; gap: 48px; align-items: start; }
  .split-mid { align-items: center; }
  .feature { grid-template-columns: 72px minmax(0, 1fr); padding: 36px 40px; }
  .rail-wrap .rail { margin-top: 0; }
}
@media (max-width: 1023px) {
  .cta-inner { align-items: flex-start; }
}
@media (max-width: 768px) {
  .cta-inner { flex-direction: column; }
  .dir-row.pin .dir-title { font-size: 24px; }
}
@media (max-width: 640px) {
  .head-grid, .dir-row, .dir-row.pin { grid-template-columns: 1fr; }
  .head-side { align-items: flex-start; }
  .meta { white-space: normal; }
  .ring-lg { width: 112px; height: 112px; }
  .ring-lg em { font-size: 34px; }
  .logo-name { font-size: 15px; letter-spacing: 0.02em; }
  .nav-cta .btn-long { display: none; }
  .nav-cta .btn-short { display: inline; }
  .footer-row { display: grid; }
}
@media (max-width: 520px) {
  .container { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .dir-title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .feature, .dir-row, .read-card, .btn, .tag { transition: none; }
  .card:hover, .feature:hover, .dir-row:hover, .read-card:hover, .btn:active, .tag:active { transform: none; }
}
