/* roulang page: index */
:root {
  --bg: #140E16;
  --bg-2: #1B1320;
  --surface: #221824;
  --surface-2: #2A1E2E;
  --text: #F7F1EA;
  --muted: #C8B8C2;
  --brand: #D946A6;
  --brand-deep: #BE2E90;
  --mint: #7CFFB2;
  --apricot: #F0A06A;
  --line: rgba(247,241,234,.14);
  --radius: 16px;
  --radius-btn: 12px;
  --shadow: 0 12px 28px rgba(217,70,166,.12);
  --space: 28px;
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.25; margin: 0; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(20,14,22,.96); border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 6px 0; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.domain { letter-spacing: .04em; white-space: nowrap; }
.tip { flex: 1; text-align: center; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-row { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); font-weight: 760; font-size: 16px; letter-spacing: 0; }
.brand-mark { width: 10px; height: 10px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 4px rgba(217,70,166,.16); flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav-scroll { display: flex; gap: 6px; overflow-x: auto; max-width: min(760px, 62vw); scrollbar-width: thin; scrollbar-color: rgba(217,70,166,.45) transparent; }
.nav-scroll::-webkit-scrollbar { height: 6px; }
.nav-scroll::-webkit-scrollbar-thumb { background: rgba(217,70,166,.4); border-radius: 999px; }
.nav-link { flex: none; color: var(--muted); padding: 8px 12px; border-radius: 999px; border: 1px solid transparent; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.nav-link:hover { color: var(--text); border-color: var(--line); }
.nav-link:focus-visible, .btn:focus-visible, .fold-btn:focus-visible, .acc-btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.nav-link.active { color: #102018; background: var(--mint); border-color: var(--mint); }
.fold-btn { display: none; border: 1px solid var(--apricot); color: var(--apricot); background: transparent; border-radius: var(--radius-btn); padding: 8px 12px; }
.fold-panel { display: none; padding: 0 0 14px; }
.fold-panel a { display: block; padding: 10px 12px; border-top: 1px solid var(--line); color: var(--text); }
.fold-panel a.active { color: var(--mint); }
main { display: block; }
.section { padding: 76px 0; }
.band { background: var(--bg-2); }
.section h2 { font-size: 30px; margin-bottom: 12px; }
.lede { max-width: 760px; color: var(--muted); margin-bottom: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--radius-btn); border: 1px solid transparent; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover, .btn-primary:active { background: var(--brand-deep); }
.btn-line { background: transparent; color: var(--apricot); border-color: var(--apricot); }
.btn-line:hover { background: rgba(240,160,106,.12); }
.btn-text { background: transparent; color: var(--mint); padding: 0; min-height: auto; }
.btn-text:hover { color: #b8ffd4; }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 12px; }
.board-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr); gap: 28px; align-items: stretch; }
.kicker { color: var(--apricot); font-size: 13px; letter-spacing: .08em; margin-bottom: 12px; }
.board h1 { font-size: 42px; max-width: 14em; }
.sub { margin: 14px 0 12px; color: var(--text); font-size: 18px; }
.hero-copy { color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); transition: border-color .2s ease; }
.metric:hover { border-color: rgba(217,70,166,.7); }
.metric b { display: block; font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 28px; color: var(--mint); line-height: 1.1; }
.metric span { color: var(--muted); font-size: 13px; }
.playhead { margin-top: 22px; }
.playhead-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.play-track { height: 6px; background: #3a2a38; border-radius: 999px; position: relative; }
.play-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 68%; background: linear-gradient(90deg, var(--brand), var(--apricot)); border-radius: 999px; }
.play-track i::after { content: ""; position: absolute; right: -5px; top: -4px; width: 14px; height: 14px; border-radius: 2px; background: var(--text); transform: rotate(45deg); }
.rail-wrap { position: relative; }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 16px; scrollbar-color: rgba(240,160,106,.5) transparent; }
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: rgba(240,160,106,.45); border-radius: 999px; }
.poster { flex: 0 0 260px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s ease; }
.poster:hover { border-color: rgba(217,70,166,.72); }
.poster-face { height: 148px; position: relative; }
.poster-face span { position: absolute; left: 10px; bottom: 10px; background: rgba(20,14,22,.78); color: var(--mint); border-radius: 999px; padding: 2px 8px; font-size: 12px; font-variant-numeric: tabular-nums; }
.ph-a { background: linear-gradient(145deg, #3a1830, #D946A6 70%, #F0A06A); }
.ph-b { background: linear-gradient(160deg, #221824, #7a3058 55%, #F0A06A); }
.ph-c { background: linear-gradient(180deg, #2a1a22, #6d2748); }
.ph-d { background: linear-gradient(135deg, #1b2420, #2e6b52 60%, #D946A6); }
.ph-e { background: linear-gradient(200deg, #311826, #8a4a32); }
.ph-f { background: linear-gradient(145deg, #24141c, #D946A6 40%, #221824); }
.sprocket { background-image: radial-gradient(circle at 8px 50%, rgba(247,241,234,.18) 3px, transparent 4px); background-size: 22px 100%; background-repeat: repeat-x; }
.poster-body, .card-body { padding: 14px 14px 16px; }
.poster h3, .card h3, .news-item h3, .related a strong { font-size: 16px; }
.card p, .poster p, .news-item p, .mini { color: var(--muted); font-size: 14px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-height: 150px; box-shadow: var(--shadow); transition: border-color .2s ease; }
.tile:hover { border-color: rgba(240,160,106,.75); }
.tile .tag { display: inline-flex; border-radius: 999px; padding: 2px 10px; background: rgba(124,255,178,.12); color: var(--mint); font-size: 12px; margin-bottom: 10px; }
.t1 { grid-column: span 7; grid-row: span 2; min-height: 320px; background: linear-gradient(180deg, #2a1a28, #221824 48%); }
.t2, .t3 { grid-column: span 5; }
.t4, .t5, .t6 { grid-column: span 4; }
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.scene { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); min-height: 168px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; transition: border-color .2s ease; }
.scene:hover { border-color: rgba(217,70,166,.7); }
.scene.large { grid-column: span 2; min-height: 250px; }
.scene h3 { font-size: 22px; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cmp-col { background: var(--surface); }
.cmp-col + .cmp-col { border-left: 1px solid var(--line); background: #291824; }
.cmp-head, .cmp-row { padding: 14px 16px; }
.cmp-head { font-weight: 700; border-bottom: 1px solid var(--line); }
.cmp-row { display: grid; grid-template-columns: 72px 1fr; gap: 10px; border-bottom: 1px solid var(--line); color: var(--muted); }
.cmp-row strong { color: var(--text); font-weight: 600; }
.cmp-col.hot .cmp-head { color: var(--mint); }
.scale-list { display: grid; gap: 16px; }
.scale-row { display: grid; grid-template-columns: 120px 1fr 52px; gap: 12px; align-items: center; }
.bar { height: 10px; background: #342430; border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--apricot)); border-radius: inherit; }
.bar.alt i { background: linear-gradient(90deg, #2f8f68, var(--mint)); }
.num { font-variant-numeric: tabular-nums; color: var(--mint); text-align: right; }
.group-label { margin: 8px 0 4px; color: var(--apricot); font-size: 14px; }
.timeline { margin-left: 8px; border-left: 1px solid rgba(217,70,166,.45); display: grid; gap: 0; }
.tl-item { position: relative; padding: 0 0 22px 22px; }
.tl-item::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 4px rgba(217,70,166,.15); }
.tl-item time { color: var(--mint); font-variant-numeric: tabular-nums; font-size: 13px; }
.news-list { display: grid; gap: 12px; }
.news-item { display: grid; grid-template-columns: 168px 1fr; gap: 14px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease; }
.news-item:hover { border-color: rgba(217,70,166,.7); }
.news-item img { width: 168px; height: 104px; object-fit: cover; border-radius: 12px; }
.news-meta { color: var(--apricot); font-size: 12px; font-variant-numeric: tabular-nums; }
.more-row { margin-top: 16px; }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.entry { display: block; min-height: 210px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); transition: border-color .2s ease; }
.entry:hover { border-color: rgba(240,160,106,.8); }
.entry em { font-style: normal; color: var(--mint); font-size: 13px; }
.night { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; align-items: stretch; }
.night-visual { position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.night-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.night-caption { position: absolute; left: 16px; bottom: 16px; right: 16px; }
.chapters { display: grid; gap: 10px; }
.chapter { display: grid; grid-template-columns: 72px 1fr; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s ease; }
.chapter:hover { border-color: rgba(124,255,178,.7); }
.chapter b { color: var(--mint); font-variant-numeric: tabular-nums; font-weight: 600; }
.guarantee { display: grid; gap: 10px; }
.g-bar { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.g-bar b { color: var(--apricot); }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qa { padding: 16px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 16px 16px 0; }
.qa h3 { font-size: 17px; margin-bottom: 6px; }
.acc { display: grid; gap: 8px; }
.acc-item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.acc-btn { width: 100%; text-align: left; background: transparent; color: var(--text); border: 0; padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; }
.acc-btn[aria-expanded="true"] { color: var(--mint); }
.acc-panel { padding: 0 16px 14px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-word { border: 1px solid var(--line); color: var(--text); background: #241821; border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.related a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s ease; }
.related a:hover { border-color: rgba(217,70,166,.7); }
.related small { color: var(--mint); font-variant-numeric: tabular-nums; }
.lead-box { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; background: #241820; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field span { color: var(--muted); font-size: 13px; }
input, select, textarea { width: 100%; background: #140E16; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 10px 12px; }
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8d7d86; }
.form-note { margin-top: 12px; color: var(--mint); }
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 42px; background: #100b12; }
.foot-grid { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.foot-brand { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.foot-links { display: flex; gap: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.copy { color: var(--muted); font-size: 13px; margin-top: 8px; }
[hidden] { display: none !important; }
@media (max-width: 1024px) {
  .board h1 { font-size: 34px; }
  .board-grid, .night, .lead-box { grid-template-columns: 1fr; }
  .t1 { grid-column: span 12; }
  .t2, .t3 { grid-column: span 6; }
  .scene-grid { grid-template-columns: 1fr 1fr; }
  .scene.large { grid-column: span 2; }
  .nav-scroll { max-width: 48vw; }
}
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .section h2 { font-size: 26px; }
  .fold-btn { display: inline-flex; }
  .nav-scroll { max-width: 42vw; }
  .t2, .t3, .t4, .t5, .t6 { grid-column: span 12; }
  .news-item { grid-template-columns: 112px 1fr; }
  .news-item img { width: 112px; height: 84px; }
  .scale-row, .g-bar { grid-template-columns: 1fr; gap: 6px; }
  .entry-grid, .quick-grid, .related, .cmp, .form-grid { grid-template-columns: 1fr; }
  .cmp-col + .cmp-col { border-left: 0; border-top: 1px solid var(--line); }
  .scene.large { grid-column: span 2; }
}
@media (max-width: 520px) {
  .container { width: min(1120px, calc(100% - 20px)); }
  .topbar { flex-wrap: wrap; }
  .tip { order: 3; flex: 1 0 100%; text-align: left; }
  .nav-row { align-items: flex-start; flex-wrap: wrap; padding: 8px 0; }
  .nav-tools { width: 100%; margin-left: 0; }
  .nav-scroll { max-width: none; flex: 1; }
  .board h1 { font-size: 28px; }
  .metric b { font-size: 24px; }
  .poster { flex-basis: 78vw; }
  .scene-grid, .scene.large { grid-template-columns: 1fr; }
  .scene.large { grid-column: auto; }
  .news-item { grid-template-columns: 1fr; }
  .news-item img { width: 100%; height: 160px; }
  .foot-grid { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --bg: #140E16;
  --bg-2: #1B1320;
  --surface: #221824;
  --surface-2: #2A1E2E;
  --text: #F7F1EA;
  --muted: #C8B8C2;
  --brand: #D946A6;
  --brand-deep: #BE2E90;
  --mint: #7CFFB2;
  --apricot: #F0A06A;
  --line: rgba(247,241,234,.14);
  --radius: 16px;
  --radius-btn: 12px;
  --shadow: 0 12px 28px rgba(217,70,166,.12);
  --space: 28px;
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 10px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; font-weight: 760; letter-spacing: 0; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.wide { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(20,14,22,.96); border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 6px 0; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.domain { letter-spacing: .04em; white-space: nowrap; }
.tip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.nav-row { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); font-weight: 760; font-size: 16px; }
.brand-mark { display: inline-block; width: 10px; height: 10px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 4px rgba(217,70,166,.16); flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav-scroll { display: flex; gap: 6px; overflow-x: auto; max-width: min(760px, 62vw); scrollbar-width: thin; scrollbar-color: rgba(217,70,166,.45) transparent; }
.nav-scroll::-webkit-scrollbar { height: 6px; }
.nav-scroll::-webkit-scrollbar-thumb { background: rgba(217,70,166,.4); border-radius: 999px; }
.nav-link { flex: none; color: var(--muted); padding: 8px 12px; border-radius: 999px; border: 1px solid transparent; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.nav-link:hover { color: var(--text); border-color: var(--line); }
.nav-link:focus-visible, .btn:focus-visible, .fold-btn:focus-visible, .acc-btn:focus-visible, .chip:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.nav-link.active { color: #102018; background: var(--mint); border-color: var(--mint); }
.fold-btn { display: none; border: 1px solid var(--apricot); color: var(--apricot); background: transparent; border-radius: var(--radius-btn); padding: 8px 12px; }
.fold-btn:hover { background: rgba(240,160,106,.12); }
.fold-panel[hidden] { display: none !important; }
.fold-panel a { display: block; padding: 10px 12px; border-top: 1px solid var(--line); color: var(--text); }
.fold-panel a.active { color: var(--mint); }
main { display: block; }
.section { padding: 76px 0; position: relative; }
.section h2 { font-size: 30px; }
.band { background: var(--bg-2); }
.band-deep { background: #180f1b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--radius-btn); border: 1px solid transparent; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover, .btn-primary:active { background: var(--brand-deep); }
.btn-line { background: transparent; color: var(--apricot); border-color: var(--apricot); }
.btn-line:hover { background: rgba(240,160,106,.12); }
.btn-text { background: transparent; color: var(--mint); padding: 0; min-height: auto; }
.btn-text:hover { color: #b8ffd4; }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 12px; }
.tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 10px; background: rgba(124,255,178,.12); color: var(--mint); font-size: 12px; line-height: 1.6; }
.tag.apricot { background: rgba(240,160,106,.14); color: var(--apricot); }
.mini { color: var(--muted); font-size: 14px; }
.cat-head { padding: 64px 0 56px; overflow: hidden; }
.cat-head::before {
  content: "";
  position: absolute;
  inset: 0 0 0 46%;
  background: linear-gradient(155deg, rgba(217,70,166,.42), rgba(240,160,106,.16) 58%, transparent 80%);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.slant { position: relative; z-index: 1; max-width: 680px; }
.eyebrow { color: var(--apricot); font-size: 13px; letter-spacing: .08em; margin-bottom: 10px; }
.cat-head h1 { font-size: 46px; max-width: 12em; }
.lead { color: var(--muted); max-width: 38em; margin: 8px 0 18px; }
.playhead { max-width: 460px; margin-top: 22px; }
.playhead-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.playhead-track { height: 3px; background: rgba(247,241,234,.14); border-radius: 999px; position: relative; }
.playhead-track span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--brand); border-radius: 999px; }
.playhead-track span::after { content: ""; position: absolute; right: -5px; top: -4px; width: 11px; height: 11px; border-radius: 999px; background: var(--mint); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 18px 0 16px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.filter-label { color: var(--apricot); font-size: 13px; min-width: 42px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; min-height: 34px; padding: 0 12px; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.chip:hover { color: var(--text); border-color: rgba(240,160,106,.7); transform: translateY(1px); }
.chip.active { color: #102018; background: var(--mint); border-color: var(--mint); }
.film-list { display: grid; gap: 12px; }
.film-row { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 14px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: border-color .2s ease; }
.film-row:hover { border-color: rgba(217,70,166,.75); }
.film-row[hidden] { display: none !important; }
.poster-svg { width: 196px; height: 118px; border-radius: 12px; }
.film-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.film-meta time, .card time, .relate time { color: var(--mint); font-variant-numeric: tabular-nums; font-size: 13px; }
.film-main h3 { font-size: 18px; }
.film-main p { color: var(--muted); font-size: 14px; }
.sprocket { height: 8px; margin-top: 8px; background: repeating-linear-gradient(90deg, rgba(247,241,234,.28) 0 6px, transparent 6px 16px); opacity: .45; }
.empty-note { color: var(--apricot); padding: 14px 0; }
.chapter-rail { list-style: none; margin: 18px 0 0; padding: 18px 8px 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.chapter-rail::before { content: ""; position: absolute; left: 8px; right: 8px; top: 27px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--apricot)); opacity: .7; }
.chapter-rail li { position: relative; padding-top: 18px; }
.chapter-rail li::before { content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 4px rgba(217,70,166,.16); }
.chapter-rail time { display: block; color: var(--mint); font-size: 12px; font-variant-numeric: tabular-nums; }
.chapter-rail strong { display: block; font-size: 15px; margin: 4px 0; }
.chapter-rail span { color: var(--muted); font-size: 13px; }
.extend-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-top: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 100%; transition: border-color .2s ease; }
.card:hover { border-color: rgba(217,70,166,.75); }
.card-visual { height: 92px; }
.ph-a { background: linear-gradient(145deg, #3a1830, #D946A6 72%, #F0A06A); }
.ph-b { background: linear-gradient(160deg, #241820, #7CFFB2 140%); }
.ph-c { background: linear-gradient(145deg, #2A1E2E, #F0A06A 78%, #D946A6); }
.ph-d { background: linear-gradient(180deg, #1b1320, #4a2340 70%, #7CFFB2); }
.card-body { padding: 14px 14px 16px; }
.card h3 { font-size: 16px; }
.card p { color: var(--muted); font-size: 14px; }
.extend-grid .card:nth-child(1) { grid-row: span 2; }
.extend-grid .card:nth-child(1) .card-visual { height: 168px; }
.more-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.extra-list { display: grid; gap: 12px; margin-top: 16px; }
.tip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.tip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 16px; border-top: 3px solid var(--brand); }
.tip:nth-child(2) { border-top-color: var(--mint); }
.tip:nth-child(3) { border-top-color: var(--apricot); }
.tip h3 { font-size: 18px; }
.tip p { color: var(--muted); margin: 0; font-size: 14px; }
.relate-list { display: grid; gap: 10px; margin-top: 16px; }
.relate { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease; }
.relate:hover { border-color: rgba(240,160,106,.75); }
.relate strong { display: block; font-size: 16px; }
.relate p { margin: 0; color: var(--muted); font-size: 14px; }
.acc { margin-top: 8px; border-top: 1px solid var(--line); }
.acc-btn { width: 100%; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--text); padding: 16px 4px; display: flex; justify-content: space-between; gap: 12px; }
.acc-btn:hover { color: var(--apricot); }
.acc-btn i { font-style: normal; color: var(--mint); }
.acc-panel { color: var(--muted); padding: 4px 4px 14px; }
.acc-panel[hidden] { display: none !important; }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 42px; background: #100910; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; }
.foot-brand { font-weight: 760; font-size: 18px; margin-bottom: 8px; }
.site-footer p { color: var(--muted); margin: 0 0 6px; }
.copy { font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-content: flex-start; }
.foot-links a { color: var(--muted); border-bottom: 1px solid transparent; }
.foot-links a:hover { color: var(--text); border-bottom-color: var(--brand); }
@media (max-width: 1024px) {
  .cat-head h1 { font-size: 38px; }
  .chapter-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .extend-grid { grid-template-columns: 1fr 1fr; }
  .extend-grid .card:nth-child(1) { grid-row: auto; }
  .extend-grid .card:nth-child(1) .card-visual { height: 92px; }
  .nav-scroll { max-width: 48vw; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section h2 { font-size: 26px; }
  .fold-btn { display: inline-flex; }
  .nav-scroll { max-width: 42vw; }
  .cat-head::before { inset: auto 0 0 0; height: 42%; clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%); }
  .tip-grid, .extend-grid { grid-template-columns: 1fr; }
  .relate { grid-template-columns: 1fr; }
  .film-row { grid-template-columns: 1fr; }
  .poster-svg { width: 100%; height: 150px; }
  .foot-grid { flex-direction: column; }
  .chapter-rail { display: flex; overflow-x: auto; padding-bottom: 8px; }
  .chapter-rail li { min-width: 148px; }
}
@media (max-width: 520px) {
  .container, .wide { width: min(100% - 20px, 1180px); }
  .topbar { gap: 8px; }
  .domain { font-size: 11px; }
  .cat-head h1 { font-size: 32px; }
  .brand { font-size: 14px; max-width: 46vw; }
  .nav-scroll { max-width: 34vw; }
  .more-head { flex-direction: column; align-items: flex-start; }
}

/* roulang page: category2 */
:root {
 --bg: #140E16;
 --bg-2: #1B1320;
 --surface: #221824;
 --surface-2: #2A1E2E;
 --text: #F7F1EA;
 --muted: #C8B8C2;
 --brand: #D946A6;
 --brand-deep: #BE2E90;
 --mint: #7CFFB2;
 --apricot: #F0A06A;
 --line: rgba(247,241,234,.14);
 --radius: 16px;
 --radius-btn: 12px;
 --shadow: 0 12px 28px rgba(217,70,166,.12);
 --space: 28px;
 --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
/* roulang page: category2 */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--text);
 font-family: var(--font);
 font-size: 16px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: var(--text); }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 42px; line-height: 1.22; font-weight: 760; letter-spacing: 0; }
h2 { font-size: 30px; line-height: 1.28; font-weight: 720; }
h3 { font-size: 16px; line-height: 1.5; font-weight: 680; }
p { color: var(--muted); }
[hidden] { display: none !important; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(20,14,22,.96); border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 6px 0; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.domain { letter-spacing: .04em; white-space: nowrap; }
.tip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-row { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); font-weight: 760; font-size: 16px; letter-spacing: 0; }
.brand-mark { width: 10px; height: 10px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 4px rgba(217,70,166,.16); flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav-scroll { display: flex; gap: 6px; overflow-x: auto; max-width: min(760px, 62vw); scrollbar-width: thin; scrollbar-color: rgba(217,70,166,.45) transparent; }
.nav-scroll::-webkit-scrollbar { height: 6px; }
.nav-scroll::-webkit-scrollbar-thumb { background: rgba(217,70,166,.4); border-radius: 999px; }
.nav-link { flex: none; color: var(--muted); padding: 8px 12px; border-radius: 999px; border: 1px solid transparent; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.nav-link:hover { color: var(--text); border-color: var(--line); }
.nav-link:focus-visible, .btn:focus-visible, .fold-btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .poster-card:focus-visible, .stack-item:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.nav-link.active { color: #102018; background: var(--mint); border-color: var(--mint); }
.fold-btn { display: none; border: 1px solid var(--apricot); color: var(--apricot); background: transparent; border-radius: var(--radius-btn); padding: 8px 12px; }
.fold-btn:hover { background: rgba(240,160,106,.12); }
.fold-panel a { display: block; padding: 10px 12px; border-top: 1px solid var(--line); color: var(--text); }
.fold-panel a.active { color: var(--mint); }
main { display: block; }
.section { padding: 76px 0; }
.section + .section { border-top: 1px solid var(--line); }
.band { background: var(--bg-2); }
.section h2 { margin-bottom: 10px; }
.lead { max-width: 640px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--radius-btn); border: 1px solid transparent; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover, .btn-primary:active { background: var(--brand-deep); }
.btn-line { background: transparent; color: var(--apricot); border-color: var(--apricot); }
.btn-line:hover { background: rgba(240,160,106,.12); }
.btn-text { background: transparent; color: var(--mint); padding: 0; min-height: auto; }
.btn-text:hover { color: #b8ffd4; }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 12px; }
.narrow { max-width: 680px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--mint); font-size: 12px; letter-spacing: .04em; }
.eyebrow i { width: 6px; height: 6px; border-radius: 999px; background: var(--brand); display: block; }
.cat-hero { padding-top: 64px; padding-bottom: 42px; background: radial-gradient(900px 240px at 50% 0%, rgba(217,70,166,.16), transparent 70%); }
.cat-hero h1 { margin-bottom: 12px; }
.head-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; margin-bottom: 18px; }
.head-row .lead { margin: 0; }
.badge { flex: none; border-radius: 999px; padding: 6px 12px; background: rgba(124,255,178,.12); color: var(--mint); font-size: 13px; font-variant-numeric: tabular-nums; }
.rail-shell { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow); overflow: hidden; }
.sprocket { position: absolute; left: 0; top: 0; bottom: 0; width: 16px; background: repeating-linear-gradient(to bottom, rgba(247,241,234,.28) 0 5px, transparent 5px 18px); opacity: .45; }
.film-rail { display: flex; gap: 14px; overflow-x: auto; padding: 16px 16px 16px 26px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(217,70,166,.45) transparent; }
.film-rail::-webkit-scrollbar { height: 8px; }
.film-rail::-webkit-scrollbar-thumb { background: rgba(217,70,166,.45); border-radius: 999px; }
.poster-card { flex: 0 0 232px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s ease; }
.poster-card:hover { border-color: rgba(217,70,166,.7); }
.poster-visual { position: relative; height: 132px; }
.ph-a { background: linear-gradient(145deg, #3a1830, #D946A6 68%, #F0A06A); }
.ph-b { background: linear-gradient(160deg, #2a1428, #7a2a58 60%, #F0A06A); }
.ph-c { background: linear-gradient(145deg, #241820, #D946A6 40%, #1d2a22 100%); }
.ph-d { background: linear-gradient(180deg, #4a2438, #221824 70%); }
.ph-e { background: linear-gradient(135deg, #F0A06A, #7a2458 55%, #140E16); }
.ph-f { background: linear-gradient(160deg, #1b1320, #D946A6 45%, #7CFFB2 140%); }
.timecode { position: absolute; left: 10px; bottom: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(20,14,22,.78); color: var(--text); font-size: 12px; font-variant-numeric: tabular-nums; }
.res { position: absolute; right: 10px; top: 10px; color: #102018; background: var(--mint); border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.poster-body { padding: 12px 14px 14px; }
.poster-body span, .meta { color: var(--apricot); font-size: 12px; font-variant-numeric: tabular-nums; }
.playhead { display: flex; align-items: center; gap: 10px; padding: 0 16px 14px 26px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.playhead b { flex: 1; height: 2px; background: var(--line); position: relative; display: block; }
.playhead b i { position: absolute; left: 0; top: -1px; height: 4px; width: 64%; background: var(--brand); border-radius: 999px; }
.stack-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 16px; align-items: start; }
.stack-col { display: grid; gap: 12px; }
.stack-item { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease; }
.stack-item:hover { border-color: rgba(217,70,166,.7); }
.stack-item.compact { grid-template-columns: 72px 1fr; background: var(--surface-2); }
.still { border-radius: 12px; min-height: 84px; }
.stack-item h3 { margin-bottom: 4px; }
.mini { color: var(--muted); font-size: 14px; }
.clarity-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 22px; align-items: center; }
.clarity-copy { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.clarity-copy ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.clarity-copy li { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); }
.clarity-copy strong { color: var(--text); font-weight: 650; }
.scale-list { display: grid; gap: 16px; }
.scale-row { display: grid; grid-template-columns: 72px 1fr 128px; gap: 12px; align-items: center; }
.scale-row span, .scale-row b { font-variant-numeric: tabular-nums; }
.scale-row b { color: var(--mint); font-weight: 600; text-align: right; }
.bar { height: 8px; border-radius: 999px; background: rgba(247,241,234,.08); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--apricot)); }
.note-layout { display: grid; grid-template-columns: 1.35fr .75fr; gap: 16px; }
.note-main { padding: 22px; border-radius: var(--radius); background: linear-gradient(180deg, #2a1a28, #221824); border: 1px solid var(--line); }
.note-main ol { margin: 16px 0 0; padding-left: 18px; color: var(--muted); }
.note-main li + li { margin-top: 8px; }
.note-side { display: grid; gap: 12px; }
.side-card { padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.side-card:hover { border-color: rgba(240,160,106,.65); }
.side-card em { display: block; font-style: normal; color: var(--apricot); font-size: 12px; margin-bottom: 6px; }
.continue-bar { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: center; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.continue-visual { position: relative; min-height: 180px; border-radius: 12px; background: linear-gradient(145deg, #3a1830, #D946A6 62%, #F0A06A); }
.continue-copy h2 { margin: 8px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.lead-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { color: var(--text); font-size: 14px; }
.field input, .field select { width: 100%; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #1a121c; }
.field input:hover, .field select:hover { border-color: rgba(217,70,166,.55); }
.form-note { margin-top: 12px; color: var(--mint); }
.site-footer { border-top: 1px solid var(--line); background: #100b12; padding: 36px 0; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; }
.foot-brand { color: var(--text); font-weight: 760; font-size: 18px; margin-bottom: 8px; }
.copy { color: var(--muted); font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; align-content: flex-start; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--apricot); }
@media (max-width: 1024px) {
 .nav-scroll { max-width: 48vw; }
 .stack-grid, .clarity-grid, .note-layout, .continue-bar, .lead-grid { grid-template-columns: 1fr; }
 .continue-visual { min-height: 200px; }
 h1 { font-size: 34px; }
}
@media (max-width: 768px) {
 .fold-btn { display: inline-flex; }
 .section { padding: 52px 0; }
 .head-row, .foot-grid, .topbar { flex-wrap: wrap; }
 .nav-scroll { max-width: 42vw; }
 .scale-row { grid-template-columns: 64px 1fr; }
 .scale-row b { grid-column: 2; text-align: left; }
 .stack-item, .stack-item.compact { grid-template-columns: 76px 1fr; }
}
@media (max-width: 520px) {
 .container { width: min(1120px, calc(100% - 20px)); }
 h1 { font-size: 28px; }
 h2 { font-size: 24px; }
 .nav-row { min-height: 60px; }
 .brand { font-size: 14px; max-width: 58vw; }
 .poster-card { flex-basis: 210px; }
 .tip { max-width: 100%; }
}
