/* roulang page: index */
:root {
  --bg: #161014;
  --bg-2: #24161C;
  --panel: #2C1B24;
  --line: #5C3346;
  --pink: #FF4D86;
  --lime: #D6FF4A;
  --apricot: #FFB089;
  --text: #F7F1EC;
  --muted: #CDB8C2;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0,0,0,.28);
  --pad: 72px;
  --font: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
}
*, *::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;
  letter-spacing: 0;
}
img { max-width: 100%; border: 0; }
a { color: var(--apricot); text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease; }
a:hover { color: var(--pink); text-decoration: underline; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
::selection { background: var(--pink); color: var(--bg); }
.grid-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { font-size: 40px; line-height: 1.28; font-weight: 700; margin: 0 0 16px; color: var(--text); }
h2 { font-size: 28px; line-height: 1.35; font-weight: 700; margin: 0 0 12px; color: var(--text); }
h3 { font-size: 18px; line-height: 1.5; font-weight: 700; margin: 0 0 8px; color: var(--text); }
p { margin: 0; }
.sec-text { color: var(--muted); max-width: 760px; margin-bottom: 28px; }
.block { padding: var(--pad) 0; background: var(--bg); }
.block-alt { background: var(--bg-2); }
.site-header { position: sticky; top: 0; z-index: 80; background: var(--bg-2); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.title-bar { background: var(--bg-2); color: var(--text); padding: 10px 16px; }
.title-bar-title { font-weight: 700; line-height: 1.4; }
.title-bar-title a { color: var(--text); }
.title-bar-title a:hover { color: var(--apricot); text-decoration: none; }
.menu-icon {
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 12px;
  background: var(--apricot);
  position: relative;
  border: 0;
  vertical-align: middle;
}
.menu-icon::before, .menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--apricot);
  box-shadow: none;
}
.menu-icon::before { top: -8px; }
.menu-icon::after { top: 8px; }
.top-bar, .top-bar ul { background: var(--bg-2); }
.top-bar { padding: 0 8px; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; }
.dropdown.menu > li > a, .logo-link {
  color: var(--text);
  padding: 14px 12px;
  font-size: 15px;
  line-height: 1.4;
}
.logo-link {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  padding-left: 8px;
  max-width: 100%;
}
.logo-link:hover { color: var(--apricot); text-decoration: none; }
.dropdown.menu > li.is-active > a {
  color: var(--pink);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--lime);
}
.dropdown.menu > li > a:hover { color: var(--apricot); background: transparent; text-decoration: none; }
.dropdown.menu > li > a:active { color: var(--pink); }
.step-nav { border-top: 1px solid var(--line); background: #1c1218; }
.step-list {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0 auto;
  padding: 10px 16px 12px;
  width: min(1120px, 100%);
  overflow-x: auto;
}
.step-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 132px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  background: transparent;
}
.step-list a:hover { color: var(--text); border-color: var(--apricot); text-decoration: none; }
.step-list a:active { color: var(--pink); }
.step-meter {
  width: 36px;
  height: 8px;
  border: 1px solid var(--lime);
  border-radius: 999px;
  background: transparent;
  flex: 0 0 auto;
}
.step-list .is-current a { color: var(--text); border-color: var(--pink); }
.step-list .is-current .step-meter { background: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.badge {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--lime);
  border-radius: 999px;
  color: var(--lime);
  font-size: 12px;
  line-height: 1.6;
  margin: 0 6px 8px 0;
  background: transparent;
}
.kicker { margin-bottom: 10px; }
.lead { color: var(--muted); margin-bottom: 22px; }
.board-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .85fr); gap: 22px; align-items: stretch; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric, .cut {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 16px;
}
.metric {
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  min-height: 112px;
}
.metric span { display: block; color: var(--muted); font-size: 14px; }
.metric strong {
  display: block;
  margin-top: 8px;
  color: var(--pink);
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px 12px 999px 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--pink); color: var(--apricot); border-color: var(--pink); }
.btn-primary:hover, .btn-primary:focus { color: var(--apricot); border-color: var(--lime); }
.btn-ghost { background: transparent; color: var(--apricot); border-color: var(--apricot); }
.btn-ghost:hover, .btn-ghost:focus { color: var(--apricot); background: #3a2430; border-color: var(--apricot); }
.scorebar { margin-top: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px 16px; }
.scorebar-label, .versus-head, .lane b { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }
.score-name { color: var(--text); }
.track { height: 10px; background: #120d10; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.track i { display: block; height: 100%; background: var(--lime); width: 0; }
.track .dim { background: #6d4a42; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}
.chip:hover { border-color: var(--lime); color: var(--lime); text-decoration: none; }
.chip:active { color: var(--pink); }
.matrix { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-areas: "w1 w1 n1" "w2 n2 n3"; gap: 14px; }
.w1 { grid-area: w1; }
.w2 { grid-area: w2; }
.n1 { grid-area: n1; }
.n2 { grid-area: n2; }
.n3 { grid-area: n3; }
.matrix a {
  display: block;
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
  color: var(--text);
  border-radius: var(--radius);
}
.matrix a:hover { text-decoration: none; border-color: var(--apricot); color: var(--text); }
.matrix .wide {
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  border-radius: 0;
}
.matrix p, .entry-card p, .scene-item p, .node p, .note p, .guard-item p, .related-list p { color: var(--muted); }
.entry-grid, .scene-grid, .quick-grid { display: grid; gap: 14px; }
.entry-grid { grid-template-columns: 1fr 1fr; }
.entry-card, .scene-item, .node, .feed-link, .note, .guard-item, .quick-item, .related-list a, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.entry-card {
  display: block;
  padding: 20px;
  min-height: 150px;
  color: var(--text);
}
.entry-card:hover { border-color: var(--lime); color: var(--text); text-decoration: none; }
.scene-grid { grid-template-columns: 1fr 1fr; }
.scene-item, .node, .note, .guard-item, .quick-item { padding: 18px; }
.scene-item .idx, .guard-item .idx {
  font-family: var(--mono);
  color: var(--lime);
  font-size: 13px;
}
.versus { display: grid; gap: 14px; }
.versus-row { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px 18px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0; }
.lane b { display: block; color: var(--text); font-weight: 700; margin-bottom: 2px; }
.timeline { display: flex; gap: 12px; overflow-x: auto; padding-top: 8px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line); }
.node { position: relative; min-width: 190px; flex: 1 0 190px; }
.node-mark { display: block; width: 12px; height: 12px; border: 2px solid var(--lime); background: var(--bg); border-radius: 50%; margin-bottom: 12px; position: relative; z-index: 1; }
.ticks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.tick {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 132px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
}
.tick:hover { border-color: var(--lime); color: var(--text); text-decoration: none; }
.tick i { display: block; height: 8px; background: var(--lime); border-radius: 999px; margin-bottom: 12px; }
.tick span { color: var(--muted); font-size: 13px; }
.feed-list { display: grid; gap: 14px; }
.feed-link {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  color: var(--text);
}
.feed-link:hover { border-color: var(--apricot); color: var(--text); text-decoration: none; }
.ph { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #120d10; border: 1px solid var(--line); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.more-wrap { margin-top: 18px; }
.note-list, .guard-list, .related-list { display: grid; gap: 12px; }
.note { border-left: 3px solid var(--pink); }
.guard-list { grid-template-columns: 1fr; }
.guard-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; }
.hud {
  width: 52px;
  height: 52px;
  border: 1px solid var(--lime);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 13px;
}
.quick-grid { grid-template-columns: 1fr 1fr; }
.quick-item p { margin-top: 6px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
  border: 0;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  line-height: 1.6;
}
.faq-q:hover { color: var(--apricot); }
.pm { color: var(--lime); font-family: var(--mono); flex: 0 0 auto; }
.faq-a { display: none; margin: 0 16px 14px; padding: 8px 0 8px 12px; border-left: 3px solid var(--pink); color: var(--muted); }
.faq-item.is-open .faq-a { display: block; }
.related-list a { display: block; padding: 14px 16px; color: var(--text); }
.related-list a:hover { border-color: var(--lime); text-decoration: none; color: var(--text); }
.form-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 22px; align-items: start; }
form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field span { color: var(--muted); }
input, select, textarea {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--apricot);
  border-radius: var(--radius);
  padding: 10px 12px;
  line-height: 1.6;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--lime); outline: 2px solid var(--lime); outline-offset: 1px; }
.hint { color: var(--muted); font-size: 14px; }
.form-done { display: none; margin-top: 4px; padding: 12px 14px; border-left: 3px solid var(--lime); background: var(--bg); border-radius: var(--radius); color: var(--text); }
.form-done.is-show { display: block; }
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 36px 0 28px; }
.foot-brand { font-weight: 700; font-size: 18px; margin-bottom: 8px; color: var(--text); }
.foot-col p, .foot-col a { color: var(--muted); }
.foot-col { margin-bottom: 16px; }
.foot-col h2 { font-size: 16px; margin-bottom: 8px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 4px 0; }
.domain { color: var(--apricot); word-break: break-all; }
@media (max-width: 1024px) {
  :root { --pad: 56px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .board-grid, .matrix, .form-grid { grid-template-columns: 1fr; }
  .matrix { grid-template-areas: "w1" "w2" "n1" "n2" "n3"; }
  .ticks { grid-template-columns: repeat(3, 1fr); }
  .feed-link { grid-template-columns: 220px minmax(0, 1fr); }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .entry-grid, .scene-grid, .quick-grid, .duo, .guard-item { grid-template-columns: 1fr; }
  .feed-link { grid-template-columns: 1fr; }
  .metric strong { font-size: 28px; }
  .top-bar-left, .top-bar-right { display: block; width: 100%; }
}
@media (max-width: 520px) {
  .grid-container { width: min(1120px, calc(100% - 24px)); }
  .actions, .btn { width: 100%; }
  .ticks { grid-template-columns: 1fr 1fr; }
  .logo-link, .title-bar-title { font-size: 14px; }
  .step-list a { min-width: 118px; }
}

/* roulang page: category2 */
:root {
  --bg: #161014;
  --bg-2: #24161C;
  --panel: #2C1B24;
  --line: #5C3346;
  --pink: #FF4D86;
  --lime: #D6FF4A;
  --apricot: #FFB089;
  --text: #F7F1EC;
  --muted: #CDB8C2;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0,0,0,.28);
  --pad: 72px;
  --font: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
}
*, *::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;
  letter-spacing: 0;
}
img { max-width: 100%; border: 0; display: block; }
a { color: var(--apricot); text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease; }
a:hover { color: var(--pink); 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; color: var(--text); }
h1, h2, h3, p { letter-spacing: 0; }
h1 { font-size: 40px; line-height: 1.35; margin: 0 0 12px; font-weight: 700; }
h2 { font-size: 28px; line-height: 1.4; margin: 0 0 14px; font-weight: 700; }
h3 { font-size: 18px; line-height: 1.5; margin: 0 0 8px; font-weight: 700; }
p { margin: 0 0 12px; }
.grid-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.title-bar { background: var(--bg-2); color: var(--text); padding: 10px 16px; }
.title-bar-title { font-weight: 700; line-height: 1.4; }
.title-bar-title a { color: var(--text); }
.title-bar-title a:hover { color: var(--apricot); text-decoration: none; }
.menu-icon {
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 12px;
  background: var(--apricot);
  position: relative;
  border: 0;
  vertical-align: middle;
  box-shadow: none;
}
.menu-icon::before, .menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--apricot);
  box-shadow: none;
}
.menu-icon::before { top: -8px; }
.menu-icon::after { top: 8px; }
.top-bar, .top-bar ul { background: var(--bg-2); }
.top-bar { border: 0; padding: 0 8px; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; }
.logo-link {
  display: inline-block;
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  padding: 14px 8px;
  max-width: 100%;
}
.logo-link:hover { color: var(--apricot); text-decoration: none; }
.top-bar .menu { background: transparent; }
.top-bar .menu > li > a {
  color: var(--text);
  padding: 14px 12px;
  font-size: 15px;
  line-height: 1.4;
}
.top-bar .menu > li > a:hover { color: var(--apricot); text-decoration: none; background: transparent; }
.top-bar .menu > li.is-active > a {
  color: var(--pink);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--lime);
}
.step-nav { border-top: 1px solid var(--line); background: #1c1218; }
.step-list {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0 auto;
  padding: 10px 16px 12px;
  width: min(1120px, 100%);
  overflow-x: auto;
}
.step-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 132px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  background: transparent;
}
.step-list a:hover { color: var(--text); border-color: var(--apricot); text-decoration: none; }
.step-list a:active { color: var(--pink); }
.step-meter {
  width: 42px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--lime);
  background: transparent;
  display: inline-block;
  flex: 0 0 auto;
}
.step-list .is-current a { color: var(--text); border-color: var(--pink); }
.step-list .is-current .step-meter { background: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.block { padding: var(--pad) 0; }
.block:nth-of-type(odd) { background: var(--bg); }
.block:nth-of-type(even) { background: var(--bg-2); }
.lead { color: var(--muted); margin: 0 0 22px; max-width: 46rem; }
.kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--lime);
  border-radius: 999px;
  color: var(--lime);
  font-size: 12px;
  line-height: 1.6;
  margin: 0 6px 8px 0;
  background: transparent;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}
.chip:hover { border-color: var(--lime); color: var(--lime); text-decoration: none; }
.chip:active { color: var(--pink); }
.phase {
  margin-top: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px 18px;
}
.phase-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 10px; }
.phase-top strong {
  font-family: var(--mono);
  color: var(--pink);
  font-size: 28px;
  font-weight: 700;
}
.phase-top span { color: var(--muted); }
.phase-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.phase-seg {
  height: 12px;
  border: 1px solid var(--lime);
  border-radius: 999px;
  background: transparent;
}
.phase-seg.is-on { background: var(--lime); }
.phase-names {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.timeline { list-style: none; margin: 8px 0 0; padding: 0 0 0 18px; border-left: 1px solid var(--line); }
.node {
  position: relative;
  margin: 0 0 14px 18px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.node::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--lime);
}
.node.is-now::before { background: var(--lime); }
.node .when { font-family: var(--mono); color: var(--lime); font-size: 13px; margin-bottom: 6px; }
.node p { color: var(--muted); margin: 0; }
.stack-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: stretch; }
.stack-side { display: grid; gap: 16px; }
.stack-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  overflow: hidden;
  transition: border-color .2s ease;
}
.stack-card:hover { border-color: var(--apricot); color: var(--text); text-decoration: none; }
.stack-card:active { border-color: var(--pink); }
.stack-card .txt { padding: 16px 18px 18px; }
.stack-card p { color: var(--muted); margin: 0; }
.ph { aspect-ratio: 16 / 9; background: #24161C; border-bottom: 1px solid var(--line); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.more-list { display: grid; gap: 10px; margin-bottom: 18px; }
.more-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.more-row b { font-weight: 700; }
.more-row span { color: var(--muted); }
.mark { font-family: var(--mono); color: var(--pink); font-size: 13px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px 12px 999px 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--pink); color: var(--apricot); border-color: var(--pink); }
.btn-primary:hover, .btn-primary:focus { color: var(--apricot); border-color: var(--lime); }
.btn-ghost { background: transparent; color: var(--apricot); border-color: var(--apricot); }
.btn-ghost:hover, .btn-ghost:focus { color: var(--apricot); background: #3a2430; border-color: var(--apricot); }
.versus-list, .term-grid { display: grid; gap: 14px; }
.versus-list { grid-template-columns: 1fr 1fr; }
.versus, .term-card, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.versus { padding: 18px; }
.versus p, .term-card dd { color: var(--muted); margin: 0; }
.score {
  height: 10px;
  margin: 10px 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #1b1216;
  overflow: hidden;
}
.score i { display: block; height: 100%; background: var(--lime); }
.score.is-low i { width: 32%; background: var(--pink); }
.score.is-high i { width: 84%; }
.term-grid { grid-template-columns: 1fr 1fr; }
.term-card { padding: 16px 18px; margin: 0; }
.term-card dt { color: var(--apricot); font-weight: 700; margin-bottom: 6px; }
.rhythm-scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rhythm-scale a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 116px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px 4px 14px 4px;
  box-shadow: var(--shadow);
  color: var(--text);
}
.rhythm-scale a:hover { border-color: var(--lime); color: var(--text); text-decoration: none; }
.rhythm-scale a:active { border-color: var(--pink); }
.rhythm-scale em { font-style: normal; font-family: var(--mono); color: var(--pink); font-size: 20px; }
.rhythm-scale span { color: var(--muted); }
.return-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--pink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.return-bar p { color: var(--muted); margin: 0; }
.return-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer {
  background: #120c10;
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
}
.foot-brand { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.foot-col h2 { font-size: 16px; margin-bottom: 8px; }
.foot-col p, .foot-col li { color: var(--muted); }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0 0 6px; }
.domain { font-family: var(--mono); color: var(--apricot); }
input, select, textarea {
  width: 100%;
  background: #1b1216;
  border: 1px solid var(--apricot);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
input:focus, select:focus, textarea:focus { border-color: var(--lime); }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 12px 14px; }
.faq-item p { margin: 0; padding: 0 14px 12px 16px; border-left: 3px solid var(--pink); color: var(--muted); }
@media (max-width: 1024px) {
  :root { --pad: 56px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .stack-grid, .versus-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  body { font-size: 16px; }
  .term-grid, .rhythm-scale, .phase-names { grid-template-columns: 1fr 1fr; }
  .more-row { grid-template-columns: 1fr; }
  .return-bar { flex-direction: column; align-items: flex-start; }
  .top-bar .menu { flex-direction: column; width: 100%; }
}
@media (max-width: 520px) {
  .phase-track, .phase-names, .term-grid, .rhythm-scale { grid-template-columns: 1fr; }
  .grid-container { width: min(1120px, calc(100% - 20px)); }
  .logo-link { font-size: 15px; }
}

/* roulang page: category1 */
:root {
 --bg: #161014;
 --bg-2: #24161C;
 --panel: #2C1B24;
 --line: #5C3346;
 --pink: #FF4D86;
 --lime: #D6FF4A;
 --apricot: #FFB089;
 --text: #F7F1EC;
 --muted: #CDB8C2;
 --radius: 14px;
 --shadow: 0 10px 28px rgba(0,0,0,.28);
 --pad: 72px;
 --font: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
 --mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 background: #161014;
 color: var(--text);
 font-family: var(--font);
 font-size: 16px;
 line-height: 1.75;
 letter-spacing: 0;
}
img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: var(--apricot); text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease; }
a:hover { color: var(--pink); text-decoration: underline; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--text); letter-spacing: 0; line-height: 1.35; font-weight: 700; margin: 0 0 12px; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; }
.grid-container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 80; background: var(--bg-2); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.title-bar { background: #24161C; color: var(--text); padding: 10px 16px; display: flex; align-items: center; }
.title-bar-title { font-weight: 700; line-height: 1.4; }
.title-bar-title a { color: var(--text); }
.title-bar-title a:hover { color: var(--apricot); text-decoration: none; }
.menu-icon {
 display: inline-block;
 width: 28px;
 height: 2px;
 margin: 8px 12px 8px 0;
 background: var(--apricot);
 position: relative;
 border: 0;
 padding: 0;
 cursor: pointer;
}
.menu-icon::before, .menu-icon::after {
 content: "";
 position: absolute;
 left: 0;
 width: 28px;
 height: 2px;
 background: var(--apricot);
 box-shadow: none;
}
.menu-icon::before { top: -8px; }
.menu-icon::after { top: 8px; background: var(--apricot); box-shadow: none; }
.site-header .top-bar {
 background: #24161C;
 border: 0;
 display: flex;
 align-items: center;
 justify-content: space-between;
 flex-wrap: wrap;
 min-height: 64px;
 padding: 8px 12px;
}
.site-header .top-bar-left,
.site-header .top-bar-right { float: none; flex: 0 1 auto; }
.logo-link {
 display: inline-block;
 color: var(--text);
 font-weight: 700;
 font-size: 16px;
 line-height: 1.4;
 padding: 8px 8px 8px 4px;
 max-width: 100%;
}
.logo-link:hover { color: var(--apricot); text-decoration: none; }
.site-header .menu {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 4px;
 background: transparent;
 margin: 0;
}
.site-header .menu > li { list-style: none; }
.site-header .menu > li > a {
 display: inline-block;
 color: var(--text);
 background: transparent;
 padding: 10px 12px;
 font-size: 15px;
 line-height: 1.4;
 border-radius: 999px;
}
.site-header .menu > li > a:hover { color: var(--apricot); text-decoration: none; background: #3a2430; }
.site-header .menu > li > a:focus { outline: 2px solid var(--lime); outline-offset: 2px; }
.site-header .menu .is-active > a {
 color: var(--pink);
 background: transparent;
 box-shadow: inset 0 -2px 0 var(--lime);
}
.step-nav { border-top: 1px solid var(--line); background: #1c1218; }
.step-list {
 list-style: none;
 display: flex;
 gap: 10px;
 margin: 0 auto;
 padding: 10px 16px 12px;
 width: min(1120px, 100%);
 overflow-x: auto;
}
.step-list a {
 display: flex;
 align-items: center;
 gap: 8px;
 min-width: 132px;
 color: var(--muted);
 text-decoration: none;
 border: 1px solid var(--line);
 border-radius: 999px;
 padding: 6px 12px 6px 8px;
 background: transparent;
}
.step-list a:hover { color: var(--text); border-color: var(--apricot); text-decoration: none; }
.step-list a:active { color: var(--pink); }
.step-list a:focus { outline: 2px solid var(--lime); outline-offset: 2px; }
.step-meter {
 width: 42px;
 height: 8px;
 border-radius: 999px;
 border: 1px solid var(--lime);
 background: transparent;
 display: inline-block;
 flex: 0 0 auto;
}
.step-list .is-current a { color: var(--text); border-color: var(--pink); }
.step-list .is-current .step-meter { background: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.band { padding: var(--pad) 0; }
.band-a { background: var(--bg); }
.band-b { background: var(--bg-2); }
.lead { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.scope-head { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .62fr); gap: 22px; align-items: start; }
.latest-panel, .dir-row, .scope-list div, .mark-line, .order-item, .qa-item, .filter-card, .more-panel, .ph {
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.latest-panel { padding: 16px 16px 8px; }
.latest-kicker { color: var(--lime); font-size: 13px; font-family: var(--mono); margin-bottom: 10px; }
.latest-panel ul { list-style: none; }
.latest-panel li { margin: 0 0 12px; color: var(--text); }
.badge {
 display: inline-block;
 padding: 2px 8px;
 border: 1px solid var(--lime);
 border-radius: 999px;
 color: var(--lime);
 font-size: 12px;
 line-height: 1.6;
 margin: 0 8px 0 0;
 background: transparent;
 vertical-align: 1px;
}
.filter-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.filter-card { padding: 14px; }
.filter-label { display: block; color: var(--text); font-weight: 700; margin-bottom: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
 background: transparent;
 color: var(--text);
 border: 1px solid var(--line);
 border-radius: 999px;
 min-height: 36px;
 padding: 4px 12px;
 cursor: pointer;
 transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.filter-btn:hover { border-color: var(--apricot); color: var(--apricot); }
.filter-btn:active { color: var(--pink); }
.filter-btn:focus { outline: 2px solid var(--lime); outline-offset: 2px; }
.filter-btn.is-on { color: var(--text); border-color: var(--lime); box-shadow: inset 0 -2px 0 var(--lime); }
.dir-list { display: grid; gap: 8px; }
.dir-row {
 display: grid;
 grid-template-columns: minmax(0, 1fr) auto;
 gap: 12px;
 align-items: center;
 padding: 12px 14px;
 transition: border-color .2s ease;
}
.dir-row:hover { border-color: var(--apricot); }
.dir-main h3 { margin-bottom: 4px; }
.dir-main h3 a { color: var(--text); }
.dir-main h3 a:hover { color: var(--apricot); text-decoration: underline; }
.dir-main p { color: var(--muted); margin: 0; font-size: 15px; }
.dir-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; align-items: center; max-width: 360px; }
.mark, .len {
 display: inline-flex;
 align-items: center;
 min-height: 28px;
 padding: 0 10px;
 border-radius: 999px;
 border: 1px solid var(--line);
 color: var(--apricot);
 font-size: 13px;
 background: transparent;
}
.empty-note { color: var(--muted); margin: 12px 0 0; }
.more-panel { padding: 18px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.more-panel .lead { margin: 0; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 8px 18px;
 border-radius: 999px 12px 999px 12px;
 border: 1px solid transparent;
 cursor: pointer;
 transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
 text-decoration: none;
 line-height: 1.4;
 white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus { outline: 2px solid var(--lime); outline-offset: 3px; }
.btn:disabled { opacity: .72; cursor: default; transform: none; }
.btn-primary { background: var(--pink); color: var(--apricot); border-color: var(--pink); }
.btn-primary:hover, .btn-primary:focus { color: var(--apricot); border-color: var(--lime); }
.btn-ghost { background: transparent; color: var(--apricot); border-color: var(--apricot); }
.btn-ghost:hover, .btn-ghost:focus { color: var(--apricot); background: #3a2430; border-color: var(--apricot); }
.scope-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .7fr); gap: 18px; align-items: start; }
.scope-list { display: grid; gap: 10px; }
.scope-list div { padding: 12px 14px; }
.scope-list dt { font-weight: 700; margin: 0 0 4px; color: var(--text); }
.scope-list dd { margin: 0; color: var(--muted); }
.ph { overflow: hidden; aspect-ratio: 16 / 9; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.figcap { color: var(--muted); font-size: 14px; margin-top: 8px; }
.mark-list, .order-list, .qa-grid { display: grid; gap: 10px; }
.mark-line { padding: 14px 16px; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 8px 16px; align-items: start; }
.mark-name { color: var(--text); font-weight: 700; }
.mark-line p { color: var(--muted); margin: 0; }
.order-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.order-item { padding: 16px; min-height: 100%; }
.order-item .idx { font-family: var(--mono); color: var(--lime); font-size: 13px; display: block; margin-bottom: 8px; }
.order-item p { color: var(--muted); margin: 0; }
.qa-grid { grid-template-columns: 1fr 1fr; }
.qa-item { padding: 16px 16px 14px; border-left: 3px solid var(--pink); }
.qa-item p { color: var(--muted); margin: 0; }
.site-footer { background: #161014; border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); }
.foot-brand { color: var(--text); font-weight: 700; font-size: 18px; line-height: 1.45; margin-bottom: 8px; }
.site-footer h2 { font-size: 18px; margin: 0 0 10px; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 0 0 6px; }
.site-footer a { color: var(--apricot); }
.site-footer a:hover { color: var(--pink); }
.domain { font-family: var(--mono); color: var(--muted); font-size: 13px; margin: 0; }
.foot-col { margin-bottom: 8px; }
@media (max-width: 1024px) {
 :root { --pad: 56px; }
 h1 { font-size: 32px; }
 h2 { font-size: 24px; }
 .order-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
 .scope-head, .scope-layout, .filter-board, .qa-grid, .mark-line, .more-panel { grid-template-columns: 1fr; display: grid; }
 .more-panel { display: grid; }
 .dir-row { grid-template-columns: 1fr; }
 .dir-meta { justify-content: flex-start; max-width: none; }
 .site-header .top-bar { display: block; }
 .site-header .menu { display: block; width: 100%; }
 .site-header .menu > li > a { display: block; border-radius: 12px; }
}
@media (max-width: 520px) {
 :root { --pad: 40px; }
 h1 { font-size: 28px; }
 h2 { font-size: 22px; }
 body { font-size: 16px; }
 .grid-container { width: min(1120px, calc(100% - 24px)); }
 .order-list { grid-template-columns: 1fr; }
 .step-list a { min-width: 124px; }
 .logo-link, .title-bar-title { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .btn, .dir-row, a, .filter-btn { transition: none; }
}
