/* roulang page: index */
:root {
  --red: #E25B3A;
  --red-deep: #C4472C;
  --red-press: #A53B24;
  --purple: #5C4B73;
  --purple-soft: #D2C4E2;
  --lime: #D6E36A;
  --bg: #161311;
  --surface: #241C19;
  --surface-2: #2C2320;
  --line: #3A2E29;
  --paper: #F7F1EA;
  --ink: #241C19;
  --on-dark: #F3EBE3;
  --muted-dark: #CDBFB6;
  --muted-paper: #6E5C55;
  --radius: 18px;
  --radius-btn: 12px;
  --shadow: 0 10px 30px rgba(22, 19, 17, .18);
  --pad: 64px;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 118px;
  background: var(--bg);
  color: var(--on-dark);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(28px, 5vw, 46px); max-width: 9em; margin-bottom: .35em; }
h2 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: .45em; }
h3 { font-size: 18px; margin-bottom: .35em; }
p { margin-bottom: .9em; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
button, input, select, textarea { font-family: inherit; font-size: 16px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: var(--ink); }
.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
  transition: top .2s ease;
}
.site-header.is-stuck { top: 8px; }
.float-nav {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 14px 10px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.logo {
  color: var(--on-dark);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  max-width: 12em;
}
.logo span { color: var(--red); }
.logo:hover { color: var(--on-dark); text-decoration: none; }
.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--purple);
  background: transparent;
  color: var(--purple-soft);
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--red); color: var(--red); }
.nav-toggle:active { transform: none; }
.nav-panel { display: flex; align-items: center; gap: 18px; }
.nav-panel a {
  color: var(--on-dark);
  font-size: 15px;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-panel a:hover { color: var(--red); text-decoration: underline; }
.nav-panel a[aria-current="page"] { color: var(--red); font-weight: 700; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--red); color: var(--ink); }
.btn-primary:hover { background: var(--red-deep); color: var(--ink); transform: translateY(-1px); }
.btn-primary:active { background: var(--red-press); transform: none; }
.btn-secondary { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-secondary:hover { color: var(--red); border-color: var(--red); transform: translateY(-1px); }
.btn-secondary:active { transform: none; }
.section { padding: var(--pad) 0; }
.section-dark { background: var(--bg); color: var(--on-dark); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-paper a { color: var(--purple); }
.section-paper a:hover { color: var(--red); }
.sec-copy { max-width: 38em; margin-bottom: .9em; }
.section-dark .sec-copy { color: var(--on-dark); }
.section-paper .sec-copy { color: var(--ink); }
.sub { max-width: 38em; font-size: 18px; margin-bottom: .6em; color: var(--muted-dark); }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.badge-line { background: transparent; color: var(--red); }
.badge-watch { background: var(--purple); border-color: var(--purple); color: var(--on-dark); }
.board {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: stretch;
}
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
  min-height: 118px;
}
.metric:hover { border-color: var(--red); }
.metric-label { display: block; color: var(--muted-dark); font-size: 13px; }
.metric-num { display: block; margin-top: 8px; color: var(--lime); font-size: 32px; font-weight: 700; line-height: 1.1; }
.metric-note { display: block; margin-top: 6px; color: var(--muted-dark); font-size: 12px; }
.matrix { display: grid; grid-template-columns: 1.45fr .8fr; gap: 16px; }
.matrix-side { display: grid; gap: 16px; }
.card {
  background: var(--surface);
  color: var(--on-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.section-paper .card { background: #fffdfb; color: var(--ink); }
.card p { margin-bottom: 0; }
.card-wide { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.card h3 { font-size: 26px; }
.card a.btn { align-self: flex-start; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-col {
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.compare-col.is-update { background: #2A2030; border-color: var(--purple); }
.compare-kicker { font-size: 13px; color: var(--muted-dark); margin-bottom: 4px; }
.compare-row {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #1B1614;
  color: var(--on-dark);
}
.compare-col.is-update .compare-row { background: #3A2E40; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--red);
}
.time-item { position: relative; padding-top: 36px; }
.time-item::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--paper);
}
.time-item p { color: var(--muted-paper); margin-bottom: 0; font-size: 14px; }
.progress-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; align-items: start; }
.bar-row { margin-bottom: 16px; }
.bar-head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.done-num { color: var(--lime); font-weight: 700; }
.bar { height: 8px; border-radius: 999px; background: #3A2E29; margin-top: 6px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--red); border-radius: 999px; }
.poster-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.poster {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.poster .badge { position: absolute; top: 10px; left: 10px; }
.poster h3, .poster p {
  position: absolute;
  left: 12px;
  right: 12px;
  margin: 0;
  color: var(--on-dark);
}
.poster h3 { bottom: 36px; font-size: 16px; }
.poster p { bottom: 12px; font-size: 12px; line-height: 1.5; color: var(--on-dark); }
.p1 { background: linear-gradient(165deg, #3A2E29, #E25B3A); }
.p2 { background: linear-gradient(180deg, #5C4B73, #241C19); }
.p3 { background: linear-gradient(165deg, #E25B3A, #5C4B73); }
.p4 { background: linear-gradient(200deg, #2C2420, #C4472C); }
.p5 { background: linear-gradient(150deg, #4A3B55, #E7A090); }
.p6 { background: linear-gradient(190deg, #241C19 10%, #E25B3A); }
.scenes { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 16px; }
.scene-card {
  background: #fffdfb;
  color: var(--ink);
  border: 1px solid #E4D5C8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.scene-card p { color: var(--muted-paper); }
.scene-card a { font-weight: 700; }
.rail-wrap { margin-top: 8px; }
.rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 16px;
}
.rail-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
.rail-card:hover { text-decoration: none; transform: translateY(-2px); transition: transform .2s ease; }
.rail-card .poster h3 { bottom: 12px; }
.news-item {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #E4D5C8;
}
.news-item time { color: var(--muted-paper); font-size: 14px; }
.news-item a { font-weight: 700; color: var(--ink); }
.news-item a:hover { color: var(--red); }
.news-item p { margin: 4px 0 0; color: var(--muted-paper); }
.more-row { display: flex; justify-content: flex-end; padding-top: 14px; }
.more-link { font-weight: 700; color: var(--purple); }
.assure {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.assure-item { padding: 18px 16px; border-right: 1px solid var(--line); }
.assure-item:last-child { border-right: 0; }
.assure-item strong { display: block; margin: 8px 0 4px; }
.assure-item p { margin: 0; color: var(--muted-dark); font-size: 14px; }
.mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}
.quick-item, .faq-item { border-bottom: 1px solid #E4D5C8; }
.quick-item { border-left: 4px solid var(--red); padding-left: 12px; }
.acc-btn {
  width: 100%;
  min-height: 44px;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 0;
}
.acc-panel { padding: 0 0 12px; color: var(--muted-paper); max-width: 38em; }
.faq-item {
  background: #fffdfb;
  border: 1px solid #E4D5C8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  padding: 0 16px;
}
.faq-item .acc-btn { display: flex; justify-content: space-between; gap: 12px; }
.faq-list { margin-top: 8px; }
.rhythm-paper {
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: 28px 28px 12px;
  box-shadow: var(--shadow);
}
.rhythm-paper p { max-width: 38em; }
.replay-note { color: var(--muted-dark); font-size: 14px; }
.replay-row {
  display: grid;
  grid-template-columns: 1.4fr .6fr .5fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.replay-row span:last-child { color: var(--lime); font-weight: 700; }
.channel-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 16px; align-items: stretch; }
.channel-a, .channel-b {
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  min-height: 250px;
}
.channel-a:hover, .channel-b:hover { text-decoration: none; transform: translateY(-2px); transition: transform .2s ease; }
.channel-a {
  display: grid;
  grid-template-columns: 148px 1fr;
  background: var(--surface);
  color: var(--on-dark);
  border: 1px solid var(--line);
  overflow: hidden;
}
.channel-a .swatch { background: linear-gradient(180deg, #E25B3A, #5C4B73); }
.channel-a .inner, .channel-b .inner { padding: 22px; }
.channel-a h3, .channel-b h3 { font-size: 24px; }
.channel-b {
  background: var(--red);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.channel-b p { color: var(--ink); }
.go { font-weight: 700; }
.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 28px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field span { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea {
  min-height: 44px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: #fffdfb;
  color: var(--ink);
  padding: 8px 12px;
}
.field textarea { min-height: 110px; resize: vertical; }
.form-note { color: var(--muted-paper); font-size: 14px; }
.form-success { margin-top: 12px; color: var(--ink); font-weight: 700; }
.site-footer {
  background: #100e0c;
  color: var(--on-dark);
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
}
.foot-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.foot-brand { font-size: 22px; font-weight: 700; margin-bottom: .4em; }
.site-footer a { color: var(--purple-soft); }
.site-footer a:hover { color: var(--red); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.copy { margin-top: 22px; color: var(--muted-dark); font-size: 13px; }
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-panel.is-open { display: flex; }
  .nav-panel .btn { width: 100%; }
  .board, .matrix, .progress-layout, .channel-grid, .foot-grid { grid-template-columns: 1fr; }
  .scenes { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
}
@media (max-width: 767px) {
  body { padding-top: 108px; }
  .section { padding: 40px 0; }
  .scenes, .compare, .assure, .form-grid, .poster-col, .timeline { grid-template-columns: 1fr; }
  .assure-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .news-item, .replay-row, .channel-a { grid-template-columns: 1fr; }
  .channel-a .swatch { min-height: 92px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  h1 { max-width: none; }
  .float-nav { border-radius: 18px; }
}

/* roulang page: category2 */
:root {
  --red: #E25B3A;
  --red-deep: #C4472C;
  --red-press: #A53B24;
  --purple: #5C4B73;
  --purple-soft: #D2C4E2;
  --lime: #D6E36A;
  --bg: #161311;
  --surface: #241C19;
  --surface-2: #2C2320;
  --line: #3A2E29;
  --paper: #F7F1EA;
  --ink: #241C19;
  --on-dark: #F3EBE3;
  --muted-dark: #CDBFB6;
  --muted-paper: #6E5C55;
  --radius: 18px;
  --radius-btn: 12px;
  --shadow: 0 10px 30px rgba(22, 19, 17, .18);
  --pad: 64px;
  --max: 1120px;
}
/* roulang page: category2 */
html { scroll-behavior: smooth; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  padding-top: 118px;
  background: var(--bg);
  color: var(--on-dark);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
p { margin: 0 0 .9em; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; }
h1 { font-size: 40px; margin: 0 0 .45em; letter-spacing: .01em; }
h2 { font-size: 28px; margin: 0 0 .55em; }
h3 { font-size: 20px; margin: 0 0 .35em; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
::selection { background: var(--lime); color: var(--ink); }
.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.measure { max-width: 38em; }
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
  transition: top .2s ease;
}
.site-header.is-stuck { top: 8px; }
.float-nav {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 14px 10px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.logo {
  color: var(--on-dark);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  max-width: 12em;
}
.logo span, h1 span { color: var(--red); }
.logo:hover { color: var(--on-dark); text-decoration: none; }
.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--purple);
  background: transparent;
  color: var(--purple-soft);
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--red); color: var(--red); }
.nav-toggle:active { transform: none; }
.nav-panel { display: flex; align-items: center; gap: 18px; }
.nav-panel a {
  color: var(--on-dark);
  font-size: 15px;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-panel a:hover { color: var(--red); text-decoration: underline; }
.nav-panel a[aria-current="page"] { color: var(--red); font-weight: 700; }
.nav-panel a.btn-primary,
.nav-panel a.btn-primary:hover { color: var(--ink); text-decoration: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--red); color: var(--ink); }
.btn-primary:hover { background: var(--red-deep); color: var(--ink); transform: translateY(-1px); }
.btn-primary:active { background: var(--red-press); transform: none; }
.btn-secondary { background: transparent; color: var(--purple-soft); border-color: var(--purple); }
.btn-secondary:hover { color: var(--red); border-color: var(--red); transform: translateY(-1px); }
.btn-secondary:active { transform: none; }
.section { padding: var(--pad) 0; }
.section-dark { background: var(--bg); color: var(--on-dark); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-paper a { color: var(--purple); }
.section-paper a:hover { color: var(--red); }
.section-dark .sec-copy, .section-dark p.lead { color: var(--muted-dark); }
.section-paper .sec-copy, .section-paper .lead { color: var(--muted-paper); }
.kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--purple-soft);
}
.section-paper .kicker { color: var(--purple); }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.badge-line { background: transparent; color: var(--red); }
.badge-watch { background: var(--purple); border-color: var(--purple); color: var(--on-dark); }
.badge-done { background: transparent; border-color: var(--lime); color: var(--lime); }
.section-paper .badge-done { color: #4d5a16; border-color: #8ea03a; background: #f3f6d4; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mast { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.day-list { display: flex; flex-direction: column; gap: 12px; }
.day-row {
  display: grid;
  grid-template-columns: 4.8em minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: #fffdfb;
  color: var(--ink);
  border: 1px solid #E4D5C8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .2s ease, transform .2s ease;
}
.day-row:hover { border-color: var(--red); transform: translateY(-1px); }
.day-name { font-weight: 700; font-size: 18px; color: var(--purple); }
.day-row p { margin: 0 0 8px; color: var(--muted-paper); font-size: 14px; }
.day-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.meter { height: 8px; border-radius: 999px; background: #E7D9CE; overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--lime); }
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4em;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #241C19;
  color: var(--lime);
  font-weight: 700;
  font-size: 13px;
}
.timeline { display: grid; gap: 0; margin-top: 8px; }
.t-node {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 16px;
  position: relative;
}
.t-node::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px #2a211e;
  z-index: 1;
}
.t-node:not(:last-child) .t-body { border-left: 1px solid var(--line); margin-left: -24px; padding: 0 0 22px 30px; }
.t-node:last-child .t-body { margin-left: -24px; padding-left: 30px; }
.t-body h3 { margin-bottom: 4px; }
.t-body p { color: var(--muted-dark); margin: 0; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-col {
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--on-dark);
  box-shadow: var(--shadow);
}
.compare-col.is-update { background: #2A2030; border-color: var(--purple); }
.compare-col h3 { color: var(--on-dark); }
.compare-row {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #1B1614;
  color: var(--on-dark);
}
.compare-col.is-update .compare-row { background: #3A2E40; }
.device-list { display: flex; flex-direction: column; }
.device-row {
  display: grid;
  grid-template-columns: 8.5em 6em minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.device-row strong { font-size: 18px; }
.device-row span { color: var(--red); font-weight: 700; }
.device-row p { margin: 0; color: var(--muted-dark); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fffdfb;
  border: 1px solid #E4D5C8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 18px;
}
.faq-item summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--red); font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted-paper); margin: 0; padding-bottom: 16px; }
.paper-card {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #E4D5C8;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.paper-card .kicker { color: var(--purple); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  border: 1px solid #E4D5C8;
  background: #fffdfb;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--purple); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.form-tip { margin: 0; color: var(--muted-paper); font-size: 14px; }
.form-done { display: none; margin: 8px 0 0; color: #4d5a16; font-weight: 700; }
.form-done.is-on { display: block; }
.read-list { display: flex; flex-direction: column; }
.read-item {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #E4D5C8;
  color: inherit;
  text-decoration: none;
}
.read-item:hover { text-decoration: none; }
.read-item:hover strong { color: var(--red); }
.read-item time { color: var(--muted-paper); font-size: 14px; }
.read-item strong { display: block; color: var(--ink); font-size: 18px; }
.read-item em { display: block; margin-top: 4px; font-style: normal; color: var(--muted-paper); }
.site-footer {
  background: #100e0c;
  color: var(--on-dark);
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: start; }
.foot-brand { font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.site-footer p { color: var(--muted-dark); max-width: 38em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.foot-links a { color: var(--on-dark); min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--red); }
.copy { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted-dark); font-size: 14px; }
@media (max-width: 1024px) {
  .compare-grid { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
}
@media (max-width: 768px) {
  body { padding-top: 108px; }
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-panel.is-open { display: flex; }
  .nav-panel a { padding: 0 8px; }
  .nav-panel .btn { width: 100%; }
  .day-row, .device-row, .read-item, .foot-grid, .form-grid { grid-template-columns: 1fr; }
  .day-side { flex-direction: row; align-items: center; justify-content: flex-start; }
  .field.full { grid-column: auto; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .section { --pad: 40px; padding: 40px 0; }
}
@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .paper-card { padding: 18px; }
  .t-node:not(:last-child) .t-body, .t-node:last-child .t-body { padding-left: 22px; margin-left: -16px; }
}

/* roulang page: category1 */
:root {
 --red: #E25B3A;
 --red-deep: #C4472C;
 --red-press: #A53B24;
 --purple: #5C4B73;
 --purple-soft: #D2C4E2;
 --lime: #D6E36A;
 --bg: #161311;
 --surface: #241C19;
 --surface-2: #2C2320;
 --line: #3A2E29;
 --paper: #F7F1EA;
 --ink: #241C19;
 --on-dark: #F3EBE3;
 --muted-dark: #CDBFB6;
 --muted-paper: #6E5C55;
 --radius: 18px;
 --radius-btn: 12px;
 --shadow: 0 10px 30px rgba(22, 19, 17, .18);
 --pad: 64px;
 --max: 1120px;
}
/* roulang page: category1 */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 padding-top: 118px;
 background: var(--bg);
 color: var(--on-dark);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: 16px;
 line-height: 1.8;
}
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
 outline: 2px solid var(--lime);
 outline-offset: 2px;
}
button, input, select, textarea { font-family: inherit; font-size: 16px; }
img { max-width: 100%; display: block; }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; }
h1 { font-size: 40px; margin: 0 0 12px; }
h2 { font-size: 28px; margin: 0 0 14px; }
h3 { font-size: 20px; margin: 0 0 8px; }
.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.read { max-width: 38em; }
.site-header {
 position: fixed;
 top: 16px;
 left: 0;
 right: 0;
 z-index: 50;
 pointer-events: none;
 transition: top .2s ease;
}
.site-header.is-stuck { top: 8px; }
.float-nav {
 pointer-events: auto;
 position: relative;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 min-height: 72px;
 padding: 10px 14px 10px 18px;
 background: var(--surface);
 border: 1px solid var(--line);
 border-radius: 22px;
 box-shadow: var(--shadow);
}
.logo {
 color: var(--on-dark);
 font-weight: 700;
 font-size: 15px;
 line-height: 1.35;
 text-decoration: none;
 max-width: 12em;
}
.logo span { color: var(--red); }
.logo:hover { color: var(--on-dark); text-decoration: none; }
.nav-toggle {
 display: none;
 min-height: 44px;
 padding: 0 14px;
 border-radius: var(--radius-btn);
 border: 1px solid var(--purple);
 background: transparent;
 color: var(--purple-soft);
 font-weight: 700;
 cursor: pointer;
}
.nav-toggle:hover { border-color: var(--red); color: var(--red); }
.nav-toggle:active { transform: none; }
.nav-panel { display: flex; align-items: center; gap: 18px; }
.nav-panel a {
 color: var(--on-dark);
 font-size: 15px;
 text-decoration: none;
 min-height: 44px;
 display: inline-flex;
 align-items: center;
}
.nav-panel a:hover { color: var(--red); text-decoration: underline; }
.nav-panel a[aria-current="page"] { color: var(--red); font-weight: 700; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 16px;
 border-radius: var(--radius-btn);
 border: 1px solid transparent;
 font-weight: 700;
 text-decoration: none;
 cursor: pointer;
 transition: background .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary, a.btn-primary, .nav-panel a.btn-primary, .section-paper a.btn-primary { background: var(--red); color: var(--ink); }
.btn-primary:hover, a.btn-primary:hover, .section-paper a.btn-primary:hover { background: var(--red-deep); color: var(--ink); transform: translateY(-1px); text-decoration: none; }
.btn-primary:active, a.btn-primary:active { background: var(--red-press); transform: none; }
.btn-secondary { background: transparent; color: var(--purple); border-color: var(--purple); }
.section-paper a.btn-secondary { color: var(--purple); }
.btn-secondary:hover { color: var(--red); border-color: var(--red); transform: translateY(-1px); text-decoration: none; }
.btn-secondary:active { transform: none; }
.section { padding: var(--pad) 0; }
.section-dark { background: var(--bg); color: var(--on-dark); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-paper a { color: var(--purple); }
.section-paper a:hover { color: var(--red); }
.section-dark .sec-copy, .section-dark .lead { color: var(--muted-dark); }
.section-paper .sec-copy, .section-paper .lead { color: var(--muted-paper); }
.badge {
 display: inline-flex;
 align-items: center;
 min-height: 24px;
 padding: 0 10px;
 border-radius: 999px;
 border: 1px solid var(--red);
 background: var(--red);
 color: var(--ink);
 font-size: 12px;
 font-weight: 700;
 line-height: 1;
}
.badge-line { background: transparent; color: var(--red); }
.badge-watch { background: var(--purple); border-color: var(--purple); color: var(--on-dark); }
.card {
 background: var(--surface);
 color: var(--on-dark);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 22px;
}
.section-paper .card { background: #fffdfb; color: var(--ink); border-color: #E4D5C8; }
.kicker {
 display: inline-flex;
 align-items: center;
 min-height: 24px;
 padding: 0 10px;
 margin-bottom: 12px;
 border-radius: 999px;
 border: 1px solid var(--purple);
 color: var(--purple-soft);
 font-size: 12px;
 font-weight: 700;
}
.lime { color: var(--lime); font-weight: 700; font-variant-numeric: tabular-nums; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 0 0 18px; }
.checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.checks li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: 0 0 auto; }
.cat-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr); gap: 22px; align-items: start; }
.update-row {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 padding: 10px 0;
 border-bottom: 1px solid var(--line);
 font-size: 15px;
}
.update-row:last-child { border-bottom: 0; }
.hint { color: var(--muted-dark); font-size: 13px; margin-top: 10px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.chip {
 min-height: 44px;
 padding: 0 14px;
 border-radius: 999px;
 border: 1px solid var(--purple);
 background: transparent;
 color: var(--purple);
 font-weight: 700;
 cursor: pointer;
 transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-on { background: var(--red); border-color: var(--red); color: var(--ink); }
.chip:active { transform: none; }
.session-item {
 display: grid;
 grid-template-columns: 132px minmax(0, 1fr);
 gap: 16px;
 padding: 16px 0;
 border-bottom: 1px solid #E4D5C8;
}
.session-item[hidden] { display: none; }
.poster {
 position: relative;
 aspect-ratio: 3 / 4;
 border-radius: 14px;
 border: 1px solid var(--line);
 overflow: hidden;
 background: #2C2320;
}
.poster .badge { position: absolute; top: 10px; left: 10px; z-index: 1; }
.poster span.name {
 position: absolute;
 left: 10px;
 right: 10px;
 bottom: 10px;
 z-index: 1;
 color: var(--on-dark);
 font-size: 13px;
 font-weight: 700;
 line-height: 1.4;
}
.poster::after {
 content: "";
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 height: 38%;
 background: rgba(22, 19, 17, .72);
}
.ph-1 { background: #4A3028; }
.ph-2 { background: #5C4B73; }
.ph-3 { background: #3A2E29; }
.ph-4 { background: #6A4034; }
.ph-5 { background: #3E3450; }
.ph-6 { background: #2F2824; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted-paper); font-size: 14px; margin-bottom: 8px; }
.bar { height: 6px; border-radius: 999px; background: #E4D5C8; overflow: hidden; margin-top: 8px; }
.bar > i { display: block; height: 100%; background: var(--lime); border-radius: inherit; }
.more-row { display: flex; justify-content: flex-start; padding-top: 18px; }
.tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tier { min-height: 100%; }
.tier .step { font-size: 13px; color: var(--muted-dark); font-weight: 700; }
.scene-band {
 display: grid;
 grid-template-columns: 1.2fr .9fr .9fr;
 border: 1px solid #E4D5C8;
 border-radius: var(--radius);
 overflow: hidden;
 background: #fffdfb;
 box-shadow: var(--shadow);
}
.scene-seg { padding: 22px 20px; }
.scene-seg + .scene-seg { border-left: 1px solid #E4D5C8; }
.scene-seg strong { display: block; font-size: 18px; margin-bottom: 6px; }
.device-row {
 display: grid;
 grid-template-columns: 8.5em minmax(0, 1fr) auto;
 gap: 16px;
 align-items: center;
 padding: 16px 0;
 border-bottom: 1px solid var(--line);
}
.device-row:first-of-type { border-top: 1px solid var(--line); }
.device-name { font-weight: 700; }
.article-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.article-card {
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 gap: 12px;
 min-height: 180px;
 text-decoration: none;
 color: inherit;
 transition: transform .2s ease, border-color .2s ease;
}
.article-card:hover { transform: translateY(-2px); text-decoration: none; border-color: var(--red); color: inherit; }
.qa-item { border-bottom: 1px solid var(--line); }
.qa-item button {
 width: 100%;
 min-height: 52px;
 padding: 10px 0;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 text-align: left;
 background: transparent;
 color: inherit;
 border: 0;
 font-weight: 700;
 cursor: pointer;
}
.qa-item button:hover { color: var(--red); }
.qa-item .mark { color: var(--red); font-size: 20px; line-height: 1; }
.qa-a { display: none; padding: 0 0 14px; max-width: 38em; color: var(--muted-dark); }
.qa-item.is-open .qa-a { display: block; }
.replay-list { display: flex; flex-direction: column; }
.replay-row {
 display: grid;
 grid-template-columns: 7em minmax(0, 1fr) 6em 5em;
 gap: 12px;
 padding: 12px 0;
 border-bottom: 1px solid #E4D5C8;
}
.replay-row span { color: var(--muted-paper); }
.note { font-size: 13px; color: var(--muted-paper); }
.site-footer { background: #100e0c; color: var(--on-dark); padding: 42px 0 24px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; }
.foot-brand { font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-content: flex-start; }
.foot-links a { color: var(--on-dark); min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--red); }
.copy { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted-dark); font-size: 14px; }
@media (max-width: 1024px) {
 .nav-toggle { display: inline-flex; align-items: center; }
 .nav-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
 }
 .nav-panel.is-open { display: flex; }
 .nav-panel a { padding: 0 8px; }
 .nav-panel .btn { margin-top: 6px; }
 .cat-top, .tier-grid, .article-row { grid-template-columns: 1fr 1fr; }
 .scene-band { grid-template-columns: 1fr; }
 .scene-seg + .scene-seg { border-left: 0; border-top: 1px solid #E4D5C8; }
}
@media (max-width: 768px) {
 :root { --pad: 40px; }
 body { padding-top: 108px; }
 h1 { font-size: 32px; }
 h2 { font-size: 24px; }
 .cat-top, .tier-grid, .article-row, .foot-grid, .replay-row { grid-template-columns: 1fr; }
 .device-row { grid-template-columns: 1fr; gap: 4px; }
 .replay-row span { display: inline; }
}
@media (max-width: 640px) {
 h1 { font-size: 28px; }
 .session-item { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
 .tier-grid, .article-row { grid-template-columns: 1fr; }
}
