/* roulang page: index */
:root {
  --paper: #F6F3EE;
  --panel: #FFFCF8;
  --blue: #2F5D73;
  --blue-2: #24485A;
  --copper: #8C5A3C;
  --ink: #1E2428;
  --muted: #5E6A72;
  --line: #E4DDD4;
  --shadow: 0 10px 28px rgba(47, 93, 115, .08);
  --radius: 12px;
  --btn-radius: 8px;
  --space: 72px;
  --pad: 24px;
  --max: 1120px;
  --side: 220px;
  --top: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.shell {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--side);
  background: var(--panel);
  border-right: 1px solid var(--line);
  z-index: 40;
  overflow: auto;
  padding: 22px 16px 28px;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.brand span:first-child { font-size: 18px; }
.brand span:last-child { font-size: 13px; color: var(--ink); font-weight: 600; }
.shell nav { display: flex; flex-direction: column; gap: 4px; }
.shell a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  border-left: 3px solid transparent;
  line-height: 1.45;
  font-size: 14px;
}
.shell a:hover { color: var(--blue-2); }
.shell a.is-current {
  border-left-color: var(--blue);
  color: var(--blue);
  font-weight: 700;
}
.shell .split {
  height: 1px;
  background: var(--line);
  margin: 12px 8px;
}
.topbar, .mask { display: none; }
.page { margin-left: var(--side); min-width: 0; }
.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.section { padding: var(--space) 0; }
.section.alt { background: var(--panel); }
.section h2 {
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 12px;
}
.lede {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--blue-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); background: var(--blue-2); }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--copper);
  font-size: 12px;
  line-height: 1.6;
  background: var(--panel);
}
.board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.board-copy { grid-column: span 6; }
h1 {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  margin: 12px 0 8px;
}
.sub {
  color: var(--copper);
  font-size: 16px;
  margin-bottom: 14px;
}
.intro { margin-bottom: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.stat-wrap { grid-column: span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--pad);
}
.stat b {
  display: block;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.progress {
  grid-column: 1 / -1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px var(--pad);
  box-shadow: var(--shadow);
}
.progress p { font-size: 14px; margin-bottom: 8px; }
.meter { height: 8px; background: var(--line); border-radius: 8px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--blue); width: 76%; }
.matrix, .scene-grid, .safe-grid, .step-grid, .topic-grid, .spec-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--pad);
  transition: transform .2s ease, border-color .2s ease;
}
a.card:hover, .row a:hover, .rank a:hover, .entry:hover, .topic:hover {
  transform: translateY(-1px);
  border-color: var(--blue);
}
.matrix .card { grid-column: span 3; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p, .entry p, .topic p, .scene p, .safe-grid p, .step-grid p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.entry {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--pad);
}
.entry h3 { font-size: 20px; margin-bottom: 6px; }
.chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-top: 2px solid var(--blue);
  transform: rotate(45deg);
  flex: none;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pane h3 { margin-bottom: 16px; font-size: 18px; }
.metric-line { margin-bottom: 14px; }
.metric-line .lab {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.pane.miss .meter span { background: var(--copper); }
.axis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.axis li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--pad);
  border-top: 3px solid var(--copper);
}
.axis time { color: var(--copper); font-variant-numeric: tabular-nums; font-size: 13px; }
.axis h3 { font-size: 16px; margin: 8px 0; }
.axis p { color: var(--muted); font-size: 14px; }
.scene-grid .scene { display: flex; flex-direction: column; gap: 12px; min-height: 100%; }
.scene:nth-child(1) { grid-column: span 5; }
.scene:nth-child(2) { grid-column: span 7; }
.scene:nth-child(3), .scene:nth-child(4), .scene:nth-child(5) { grid-column: span 4; }
.poster {
  background: #E7EEF1;
  border-radius: 8px;
  color: var(--blue);
  font-weight: 700;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.scene:nth-child(1) .poster { height: 92px; }
.scene:nth-child(2) .poster { height: 148px; }
.scene:nth-child(3) .poster { height: 78px; }
.scene:nth-child(4) .poster { height: 132px; }
.scene:nth-child(5) .poster { height: 104px; }
.meta-line { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.meta-line em { font-style: normal; color: var(--copper); font-variant-numeric: tabular-nums; font-size: 13px; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.flow li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--blue);
}
.flow b { display: block; color: var(--copper); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.rows a, .rank a {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
}
.rows time, .rank .no { color: var(--copper); font-variant-numeric: tabular-nums; }
.rows p, .rank small { display: block; color: var(--muted); font-size: 14px; }
.more { margin-top: 18px; }
.more a { color: var(--blue); font-weight: 700; }
.more a:hover { color: var(--blue-2); }
.rank a { grid-template-columns: 42px 1fr auto; }
.rank .no { font-weight: 700; }
.rank em { font-style: normal; color: var(--copper); font-variant-numeric: tabular-nums; }
.safe-grid .card, .step-grid .card { grid-column: span 4; }
.step-grid .card b { color: var(--blue); font-variant-numeric: tabular-nums; display: block; margin-bottom: 8px; }
.qa details, .faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 var(--pad);
  margin-bottom: 12px;
}
.faq details { padding-top: 4px; padding-bottom: 4px; }
summary {
  cursor: pointer;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  transform: rotate(45deg);
  flex: none;
}
details[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
details p { color: var(--muted); padding-bottom: 16px; }
.topic { grid-column: span 4; display: block; }
.ask-card { max-width: 760px; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--btn-radius);
  padding: 12px 14px;
  line-height: 1.6;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { min-height: 1.6em; color: var(--blue); font-size: 14px; }
.foot {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
}
.foot strong { display: block; color: var(--blue); font-size: 18px; margin-bottom: 8px; }
.age { color: var(--copper); margin-bottom: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; }
.foot-links a:hover { color: var(--blue); }
.copy { color: var(--muted); font-size: 13px; }
@media (max-width: 1200px) {
  h1 { font-size: 34px; }
  .section h2 { font-size: 26px; }
}
@media (max-width: 1024px) {
  .board-copy, .stat-wrap { grid-column: span 12; }
  .matrix .card { grid-column: span 6; }
  .scene:nth-child(1), .scene:nth-child(2) { grid-column: span 6; }
  .scene:nth-child(3), .scene:nth-child(4), .scene:nth-child(5) { grid-column: span 4; }
  .axis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .axis li { grid-column: span 2; }
  .axis li:nth-child(4), .axis li:nth-child(5) { grid-column: span 3; }
}
@media (max-width: 960px) {
  .shell {
    top: var(--top);
    height: calc(100% - var(--top));
    transform: translateX(-105%);
    transition: transform .2s ease;
    width: min(86vw, 320px);
  }
  .shell.is-open { transform: none; }
  .topbar {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--top);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
  }
  .top-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
  }
  .menu-btn {
    min-height: 36px;
    padding: 0 12px;
    border-radius: var(--btn-radius);
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--blue);
    cursor: pointer;
  }
  .menu-btn:hover { border-color: var(--blue); }
  .mask {
    display: block;
    position: fixed;
    inset: var(--top) 0 0 0;
    background: rgba(30, 36, 40, .35);
    z-index: 35;
  }
  .mask[hidden] { display: none; }
  .page { margin-left: 0; }
  .entries, .compare, .flow { grid-template-columns: 1fr; }
  .safe-grid .card, .topic { grid-column: span 6; }
}
@media (max-width: 768px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 56px 0; }
  .matrix .card, .scene, .scene:nth-child(n), .safe-grid .card, .topic, .step-grid .card {
    grid-column: span 6;
  }
  .axis { grid-template-columns: 1fr; }
  .axis li, .axis li:nth-child(n) { grid-column: auto; }
  .rows a { grid-template-columns: 72px 1fr; }
  .rows .tag { grid-column: 2; justify-self: start; }
}
@media (max-width: 640px) {
  h1 { font-size: 30px; }
  .section h2 { font-size: 22px; }
  .stat-wrap { grid-template-columns: 1fr; }
  .matrix .card, .scene, .scene:nth-child(n), .safe-grid .card, .topic { grid-column: span 12; }
  .step-grid { grid-template-columns: 1fr 1fr; }
  .step-grid .card { grid-column: auto; }
  .poster { height: 88px !important; }
  .rank a { grid-template-columns: 32px 1fr; }
  .rank em { grid-column: 2; }
}
@media (max-width: 520px) {
  .actions, .entry { align-items: flex-start; }
  .entry { flex-direction: column; }
  .step-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rows a, .rank a { padding-left: 0; padding-right: 0; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category2 */
:root {
  --paper: #F6F3EE;
  --panel: #FFFCF8;
  --blue: #2F5D73;
  --blue-2: #24485A;
  --copper: #8C5A3C;
  --ink: #1E2428;
  --muted: #5E6A72;
  --line: #E4DDD4;
  --shadow: 0 10px 28px rgba(47, 93, 115, .08);
  --radius: 12px;
  --btn-radius: 8px;
  --space: 72px;
  --pad: 24px;
  --max: 1120px;
  --side: 220px;
  --top: 56px;
}
/* roulang page: category2 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}
.topbar, .mask { display: none; }
.shell {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--side);
  z-index: 40;
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 20px 12px;
  overflow: auto;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.brand span:first-child { font-size: 18px; }
.brand span:last-child { font-size: 13px; color: var(--ink); font-weight: 600; }
.shell nav { display: flex; flex-direction: column; gap: 4px; }
.shell a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  border-left: 3px solid transparent;
  line-height: 1.45;
  font-size: 14px;
  border-radius: 0;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.shell a:hover { color: var(--blue-2); background: rgba(47, 93, 115, .04); }
.shell a:active { color: var(--blue); }
.shell a.is-current {
  border-left-color: var(--blue);
  color: var(--blue);
  font-weight: 700;
}
.split { height: 1px; background: var(--line); margin: 10px 8px; }
.main-wrap { margin-left: var(--side); min-height: 100vh; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: var(--space) 0; }
.section.alt { background: var(--panel); }
.section h2 { font-size: 28px; line-height: 1.35; font-weight: 700; margin-bottom: 8px; }
.lead { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.page-head { padding: 48px 0 36px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.eyebrow { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; }
h1 { font-size: 36px; line-height: 1.3; font-weight: 700; margin-bottom: 8px; }
.head-row .lead { margin: 0; max-width: 36em; }
.sort { display: flex; flex-direction: column; gap: 6px; min-width: 200px; color: var(--muted); font-size: 13px; }
select, input[type="text"], textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--btn-radius);
  padding: 10px 14px;
  min-height: 44px;
  line-height: 1.6;
  transition: border-color .2s ease, box-shadow .2s ease;
}
select:hover, input:hover, textarea:hover { border-color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--blue-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); background: var(--blue-2); }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--copper);
  font-size: 12px;
  line-height: 1.6;
  background: var(--panel);
  white-space: nowrap;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--pad);
  transition: transform .2s ease, border-color .2s ease;
}
a.card:hover { transform: translateY(-1px); border-color: var(--blue); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p, .side-list small, .rows small { color: var(--muted); font-size: 14px; line-height: 1.7; }
.bench { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
.filter-pane { display: flex; flex-direction: column; gap: 14px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); padding: 16px 18px 12px; }
legend { font-weight: 700; font-size: 14px; padding: 0 6px; color: var(--ink); }
.check { display: flex; align-items: center; gap: 8px; min-height: 34px; font-size: 14px; color: var(--ink); }
.check input { width: 16px; height: 16px; accent-color: var(--blue); }
.side-list h3 { font-size: 18px; margin-bottom: 12px; }
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.rows .row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
a.row:hover { transform: translateY(-1px); background: rgba(47, 93, 115, .03); }
a.row:active { background: rgba(47, 93, 115, .06); }
.row[hidden] { display: none !important; }
.no, .rows time, .count-num {
  color: var(--copper);
  font-variant-numeric: tabular-nums;
  font-style: normal;
  font-weight: 700;
}
.rows strong { display: block; font-size: 16px; line-height: 1.45; }
.rows small { display: block; }
.empty {
  padding: 28px 8px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.bars { max-width: 760px; }
.bar {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 52px;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}
.bar span { font-size: 14px; }
.track { height: 8px; background: var(--line); border-radius: 8px; overflow: hidden; }
.fill { height: 100%; background: var(--blue); border-radius: 8px; }
.bar b { color: var(--copper); font-variant-numeric: tabular-nums; text-align: right; font-size: 18px; }
.mark-grid, .axis {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.mark-grid .card { grid-column: span 3; }
.axis { list-style: none; }
.axis li {
  grid-column: span 3;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--pad);
}
.axis b { display: block; color: var(--blue); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.axis span { color: var(--muted); font-size: 14px; display: block; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 var(--pad);
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--copper); font-weight: 700; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 14px; padding-bottom: 14px; }
.more a { color: var(--blue); font-weight: 700; }
.more a:hover { color: var(--blue-2); }
.more-sec .more {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px var(--pad);
}
.foot { background: var(--panel); border-top: 1px solid var(--line); padding: 36px 0 48px; }
.foot strong { display: block; color: var(--blue); margin-bottom: 8px; }
.age { color: var(--copper); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 14px 0; }
.foot-links a { color: var(--ink); font-size: 14px; }
.foot-links a:hover { color: var(--blue); }
.copy { color: var(--muted); font-size: 13px; }
.topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--top);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.top-brand { display: flex; flex-direction: column; line-height: 1.2; font-size: 12px; font-weight: 700; color: var(--blue); }
.menu-btn {
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--blue);
  cursor: pointer;
}
.menu-btn:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.menu-btn:active { background: var(--blue-2); color: #fff; }
.mask { position: fixed; inset: 0; background: rgba(30, 36, 40, .35); z-index: 55; }
@media (max-width: 1200px) {
  h1 { font-size: 32px; }
  .section h2 { font-size: 26px; }
  .mark-grid, .axis { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .mark-grid .card, .axis li { grid-column: span 4; }
}
@media (max-width: 1024px) {
  .bench { grid-template-columns: 260px minmax(0, 1fr); }
  .rows .row { gap: 10px; }
}
@media (max-width: 960px) {
  .topbar { display: flex; }
  .shell {
    transform: translateX(-105%);
    transition: transform .2s ease;
    z-index: 70;
  }
  .shell.open { transform: none; }
  .main-wrap { margin-left: 0; }
  .mask { display: none; }
  .mask.show { display: block; }
  .bench { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 56px 0; }
  .head-row { flex-direction: column; align-items: stretch; }
  .rows .row { grid-template-columns: 40px minmax(0, 1fr); }
  .rows .tag, .rows time, .count-num { grid-column: 2; justify-self: start; }
  .mark-grid .card, .axis li { grid-column: span 8; }
}
@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .section h2 { font-size: 22px; }
  .mark-grid, .axis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mark-grid .card, .axis li { grid-column: span 4; border-top: 1px solid var(--line); border-left: 3px solid var(--copper); }
  .axis { display: flex; flex-direction: column; }
  .bar { grid-template-columns: 72px minmax(0, 1fr) 40px; gap: 8px; }
}
@media (max-width: 520px) {
  .page-head { padding: 32px 0 20px; }
  .section { padding: 48px 0; }
  .sort { min-width: 0; }
  .faq summary { align-items: flex-start; padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
 --paper: #F6F3EE;
 --panel: #FFFCF8;
 --blue: #2F5D73;
 --blue-2: #24485A;
 --copper: #8C5A3C;
 --ink: #1E2428;
 --muted: #5E6A72;
 --line: #E4DDD4;
 --shadow: 0 10px 28px rgba(47, 93, 115, .08);
 --radius: 12px;
 --btn-radius: 8px;
 --space: 72px;
 --pad: 24px;
 --max: 1120px;
 --side: 220px;
 --top: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 color: var(--ink);
 background: var(--paper);
 line-height: 1.7;
 font-size: 16px;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible {
 outline: 2px solid var(--copper);
 outline-offset: 2px;
}
.topbar, .mask { display: none; }
.shell {
 position: fixed;
 left: 0;
 top: 0;
 bottom: 0;
 width: var(--side);
 z-index: 40;
 overflow: auto;
 padding: 20px 14px 28px;
 background: var(--panel);
 border-right: 1px solid var(--line);
}
.brand {
 display: flex;
 flex-direction: column;
 gap: 2px;
 color: var(--blue);
 font-weight: 700;
 line-height: 1.35;
 margin-bottom: 22px;
 padding: 0 8px 16px;
 border-bottom: 1px solid var(--line);
}
.brand span:first-child { font-size: 18px; }
.brand span:last-child { font-size: 13px; color: var(--ink); font-weight: 600; }
.shell nav { display: flex; flex-direction: column; gap: 4px; }
.shell nav a {
 display: block;
 padding: 10px 12px;
 color: var(--ink);
 border-left: 3px solid transparent;
 line-height: 1.45;
 font-size: 14px;
 transition: color .2s ease, border-color .2s ease;
}
.shell nav a:hover { color: var(--blue-2); }
.shell nav a.is-current {
 border-left-color: var(--blue);
 color: var(--blue);
 font-weight: 700;
}
.split { height: 1px; background: var(--line); margin: 10px 8px; }
.page-main { margin-left: var(--side); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: var(--space) 0; }
.section.alt { background: var(--panel); }
.section.tight { padding: 36px 0 28px; }
.section.bar { padding: 28px 0; }
.section h2 { font-size: 28px; line-height: 1.35; font-weight: 700; margin-bottom: 18px; }
h1 { font-size: 36px; line-height: 1.3; font-weight: 700; }
.subline { margin-top: 8px; color: var(--copper); font-size: 16px; }
.page-head {
 display: grid;
 grid-template-columns: minmax(0, 1fr) 220px;
 gap: 28px;
 align-items: end;
}
.sort-box { display: grid; gap: 6px; }
.sort-box span, .filter-bar label span { font-size: 13px; color: var(--muted); }
select, input, textarea {
 width: 100%;
 min-height: 44px;
 border: 1px solid var(--line);
 background: #fff;
 border-radius: var(--btn-radius);
 padding: 10px 12px;
 line-height: 1.6;
 transition: border-color .2s ease;
}
select:hover, input:hover, textarea:hover { border-color: var(--blue); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 background: var(--blue);
 color: #fff;
 border: 0;
 border-radius: var(--btn-radius);
 cursor: pointer;
 transition: background .2s ease, transform .2s ease;
 white-space: nowrap;
}
.btn, .btn:visited, .btn:hover, .btn:focus-visible { color: #fff; }
.btn:hover { background: var(--blue-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); background: var(--blue-2); }
.tag {
 display: inline-flex;
 align-items: center;
 padding: 2px 8px;
 border: 1px solid var(--line);
 border-radius: 8px;
 color: var(--copper);
 font-size: 12px;
 line-height: 1.6;
 background: var(--panel);
}
.filter-bar {
 display: grid;
 grid-template-columns: 1fr 1fr 1fr auto;
 gap: 16px;
 align-items: end;
}
.filter-bar label { display: grid; gap: 6px; }
.poster-grid, .spec-grid {
 display: grid;
 grid-template-columns: repeat(12, minmax(0, 1fr));
 gap: 18px;
}
.card {
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: var(--pad);
 transition: transform .2s ease, border-color .2s ease;
}
a.card:hover {
 transform: translateY(-1px);
 border-color: var(--blue);
}
.poster { grid-column: span 6; display: flex; flex-direction: column; gap: 8px; }
.poster h3 { font-size: 18px; line-height: 1.4; }
.poster p, .spec p, .scene-notes span, .clock p, .faq p, .more-row p {
 color: var(--muted);
 font-size: 14px;
 line-height: 1.7;
}
.poster-art {
 height: 168px;
 border-radius: 8px;
 display: flex;
 align-items: flex-end;
 padding: 14px;
 color: #fff;
 font-weight: 700;
 letter-spacing: 0;
}
.art-a { background: #2F5D73; }
.art-b { background: #8C5A3C; }
.art-c { background: #24485A; }
.art-d { background: #5E6A72; }
.art-e { background: #3E6A5A; }
.art-f { background: #7A4E45; }
.art-g { background: #3D5160; }
.art-h { background: #6A5A3C; }
.meta-line { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.dur, .clock time { color: var(--copper); font-style: normal; font-variant-numeric: tabular-nums; }
.empty { padding-top: 16px; color: var(--muted); }
.empty[hidden] { display: none; }
.scene-notes { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.scene-notes li {
 display: grid;
 grid-template-columns: 180px minmax(0, 1fr);
 gap: 18px;
 align-items: baseline;
 padding: 16px 0;
 border-bottom: 1px solid var(--line);
}
.scene-notes strong { font-size: 16px; }
.spec { grid-column: span 4; }
.spec h3 { font-size: 18px; margin: 12px 0 8px; }
.clock { max-width: 640px; margin: 0; padding: 0; }
.clock li {
 display: grid;
 grid-template-columns: 72px minmax(0, 1fr);
 gap: 16px;
 padding: 0 0 18px 16px;
 border-left: 2px solid var(--line);
 position: relative;
}
.clock li::before {
 content: "";
 position: absolute;
 left: -5px;
 top: 6px;
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: var(--copper);
}
.clock strong { display: block; margin-bottom: 4px; }
.faq details {
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 0 var(--pad);
 margin-bottom: 12px;
}
.faq summary {
 min-height: 52px;
 display: flex;
 align-items: center;
 gap: 12px;
 cursor: pointer;
 font-weight: 700;
 list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
 content: "";
 margin-left: auto;
 width: 8px;
 height: 8px;
 border-right: 2px solid var(--blue);
 border-bottom: 2px solid var(--blue);
 transform: rotate(45deg);
 flex: none;
}
.faq details[open] summary::after { transform: rotate(225deg); translate: 0 3px; }
.faq details p { padding-bottom: 16px; }
.more-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.more-row h2 { margin-bottom: 8px; }
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; background: var(--panel); margin-top: auto; }
.foot strong { color: var(--blue); display: block; margin-bottom: 8px; font-size: 18px; }
.age { color: var(--copper); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0; }
.foot-links a { color: var(--ink); }
.foot-links a:hover { color: var(--blue); }
.copy { color: var(--muted); font-size: 13px; }
#form, #metrics, #playlist, #qa { scroll-margin-top: 16px; }
.menu-btn {
 min-height: 36px;
 padding: 0 12px;
 border-radius: var(--btn-radius);
 border: 1px solid var(--line);
 background: var(--panel);
 color: var(--blue);
 cursor: pointer;
}
.menu-btn:hover { border-color: var(--blue); }
.top-brand {
 display: flex;
 flex-direction: column;
 line-height: 1.2;
 font-size: 12px;
 font-weight: 700;
 color: var(--blue);
}
@media (max-width: 1200px) {
 h1 { font-size: 32px; }
 .section h2 { font-size: 26px; }
}
@media (max-width: 1024px) {
 .filter-bar { grid-template-columns: 1fr 1fr; }
 .filter-bar .btn { grid-column: 1 / -1; justify-self: start; min-width: 140px; }
}
@media (max-width: 960px) {
 .topbar {
 display: flex;
 position: sticky;
 top: 0;
 z-index: 50;
 height: var(--top);
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 padding: 0 16px;
 background: var(--panel);
 border-bottom: 1px solid var(--line);
 }
 .mask {
 display: block;
 position: fixed;
 inset: 0;
 background: rgba(30, 36, 40, .35);
 opacity: 0;
 pointer-events: none;
 transition: opacity .2s ease;
 z-index: 60;
 }
 body.nav-open .mask { opacity: 1; pointer-events: auto; }
 .shell {
 width: min(280px, 86vw);
 transform: translateX(-105%);
 transition: transform .2s ease;
 z-index: 70;
 }
 body.nav-open .shell { transform: translateX(0); }
 .page-main { margin-left: 0; }
 .container { width: calc(100% - 32px); }
 .section { padding: 56px 0; }
 .section.tight { padding: 28px 0 20px; }
 #form, #metrics, #playlist, #qa { scroll-margin-top: 72px; }
 .scene-notes li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 768px) {
 .spec { grid-column: span 12; }
 .page-head { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
 h1 { font-size: 28px; }
 .section h2 { font-size: 22px; }
 .poster { grid-column: span 12; }
 .filter-bar { grid-template-columns: 1fr; }
 .filter-bar .btn, .more-row .btn { width: 100%; }
 .more-row { flex-direction: column; align-items: stretch; }
 .clock li { grid-template-columns: 64px minmax(0, 1fr); }
}
@media (max-width: 520px) {
 .poster-art { height: 132px; }
 .container { width: calc(100% - 24px); }
 .card { padding: 18px; }
}
