/* roulang page: index */
:root {
  --bg: #1C1612;
  --surface: #261E19;
  --card: #31261F;
  --line: #4A3A30;
  --ember: #E25B2A;
  --ember-2: #FF7A45;
  --plum: #8E3D62;
  --lime: #D6F25C;
  --text: #F4EBE3;
  --muted: #C9B5A6;
  --dim: #8C776A;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(40, 18, 8, .35);
  --header-h: 116px;
  --mono: "SFMono-Regular", "Cascadia Mono", "Sarasa Mono SC", ui-monospace, Menlo, Consolas, monospace;
  --sans: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
}
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
::selection { background: var(--ember); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(220px, 420px) minmax(160px, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 10px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  min-width: 0;
}
.brand-bar {
  width: 8px;
  height: 26px;
  background: var(--ember);
  border-radius: 2px;
  flex: 0 0 8px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text b { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.brand-text span { font-size: 12px; color: var(--muted); }
.search { width: 100%; justify-self: center; }
.search input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  transition: border-color .16s;
}
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--ember); outline: 2px solid var(--ember); outline-offset: 1px; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.icon-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color .16s, color .16s, transform .16s;
}
.icon-btn:hover { border-color: var(--ember); color: var(--ember-2); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
.channel-row { border-top: 1px solid rgba(74, 58, 48, .65); }
.channel-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding-bottom: 2px;
}
.channel-scroll::-webkit-scrollbar { height: 4px; }
.channel-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.channel-link {
  flex: 0 0 auto;
  color: var(--muted);
  padding: 12px 14px 10px;
  border-bottom: 2px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .16s, border-color .16s;
}
.channel-link:hover { color: var(--text); }
.channel-link.is-active,
.channel-link[aria-current="page"] {
  color: var(--lime);
  border-radius: 0;
  border-bottom-color: var(--ember);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .16s, color .16s, border-color .16s, transform .16s;
}
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ember); color: #1C1612; font-weight: 700; }
.btn-primary:visited { color: #1C1612; }
.btn-primary:hover { background: var(--ember-2); color: #1C1612; transform: translateY(-1px); }
.btn-ghost { color: var(--text); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ember); color: var(--ember-2); transform: translateY(-1px); }
main > section { padding: 72px 0; scroll-margin-top: calc(var(--header-h) + 8px); }
main > section:nth-child(odd) { background: var(--bg); }
main > section:nth-child(even) { background: var(--surface); }
h1 { font-size: 40px; line-height: 1.25; font-weight: 700; margin-bottom: .45em; }
h2 { font-size: 28px; line-height: 1.35; font-weight: 700; margin-bottom: .45em; }
h3 { font-size: 18px; line-height: 1.4; font-weight: 700; margin-bottom: .35em; }
p { margin-bottom: .75em; }
.lead { font-size: 18px; color: var(--muted); margin-bottom: .75em; }
.section-head { max-width: 760px; margin-bottom: 24px; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 28px;
  align-items: center;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  margin-bottom: 14px;
  font-size: 13px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  flex: 0 0 8px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.console {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  min-height: 320px;
}
.console-top, .frame-top, .row-line, .mini-list li, .stat, .news-row, .scene, .timeline li {
  display: flex;
  align-items: center;
}
.console-top { justify-content: space-between; margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.fake-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.fake-tabs span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--dim);
  font-size: 12px;
}
.fake-tabs span.on { color: var(--lime); border-color: var(--ember); }
.sketch-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
  transition: border-color .16s;
}
.sketch-row:hover { border-color: var(--ember); }
.sketch-row b { font-weight: 650; }
.sketch-row em { font-style: normal; color: var(--dim); font-size: 12px; display: block; }
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 12px;
  padding: 2px 8px;
}
.fresh-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: center;
}
.fresh-layout p { color: var(--muted); margin: 0; }
.fresh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat {
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  align-items: flex-start;
}
.stat:hover { border-color: var(--ember); }
.stat div { display: flex; flex-direction: column; }
.stat small { color: var(--dim); }
.stat strong { font-family: var(--mono); font-size: 28px; font-weight: 650; line-height: 1.2; }
.stat a { color: var(--lime); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.stack { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.stack .card { flex: 1; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .16s;
}
.card:hover { border-color: var(--ember); }
.card p { color: var(--muted); }
.text-link, .text-link:visited { color: var(--ember); }
.text-link:hover { color: var(--ember-2); }
.scene-track, .demo-track { display: grid; gap: 20px; }
.scene-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.scene {
  align-items: flex-start;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 180px;
  transition: border-color .16s;
}
.scene:hover { border-color: var(--ember); }
.num { color: var(--lime); font-size: 20px; flex: 0 0 auto; }
.scene p, .frame-cap, .review p, .case p { color: var(--muted); }
.demo-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.frame-screen {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 230px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: border-color .16s;
}
.frame:hover .frame-screen { border-color: var(--ember); }
.frame-top { justify-content: space-between; color: var(--lime); font-size: 13px; margin-bottom: 16px; }
.mini-list li {
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.bar { height: 8px; background: #1C1612; border-radius: 999px; margin: 28px 0 12px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 46%; background: var(--ember); }
.remain { font-size: 28px; color: var(--text); }
.frame-cap { margin-top: 12px; }
.pill-row, .text-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-row { margin: 8px 0 18px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  transition: border-color .16s, color .16s;
}
.pill:hover { border-color: var(--ember); color: var(--text); }
.path { display: grid; grid-template-columns: 1.35fr 1fr .78fr; gap: 20px; }
.case h3 a:hover { color: var(--ember-2); }
.timeline { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 8px; padding: 12px 0; color: var(--muted); }
.timeline li + li { border-top: 1px solid var(--line); }
.timeline time { color: var(--lime); }
.price-grid {
  display: grid;
  grid-template-columns: .82fr 1.36fr .82fr;
  gap: 20px;
  align-items: stretch;
}
.price-card { display: flex; flex-direction: column; gap: 8px; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-card ul { color: var(--muted); }
.price-card li { padding: 6px 0; border-bottom: 1px solid rgba(74, 58, 48, .7); }
.price-main { border-color: var(--ember); background: #3A2C24; padding: 28px 24px; }
.price-num { font-family: var(--mono); font-size: 36px; line-height: 1.1; color: var(--text); }
.price-num small { font-size: 14px; color: var(--dim); margin-left: 4px; }
.note { color: var(--dim); font-size: 13px; margin-top: 14px; }
.review-grid { columns: 2; column-gap: 20px; }
.review {
  break-inside: avoid;
  margin-bottom: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .16s;
}
.review:hover { border-color: var(--ember); }
.who { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--dim); font-size: 13px; }
.who b { color: var(--text); font-size: 15px; }
.koubei { display: grid; grid-template-columns: minmax(0, 8fr) minmax(220px, 4fr); gap: 20px; }
.metrics { display: flex; flex-direction: column; gap: 12px; }
.metric {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color .16s;
}
.metric:hover { border-color: var(--ember); }
.metric b { display: block; font-family: var(--mono); font-size: 26px; line-height: 1.2; }
.metric span { color: var(--dim); font-size: 13px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { color: var(--dim); font-weight: 650; font-size: 13px; background: #2A211C; }
td:nth-child(2), td:nth-child(3) { font-family: var(--mono); }
tbody tr:hover { background: #3A2C24; }
.news-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(260px, 5fr); gap: 20px; align-items: start; }
.news-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 8px 12px; }
.news-row {
  justify-content: space-between;
  gap: 16px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  transition: background-color .16s;
}
.news-row:hover { background: #3A2C24; }
.news-row h3 { margin: 0 0 4px; font-size: 16px; }
.news-row p { margin: 0; color: var(--dim); font-size: 13px; }
.pin h3 { font-size: 22px; }
.more-row { padding: 14px 12px 6px; }
.empty {
  margin: 12px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
}
.faq { border-bottom: 1px solid var(--line); background: transparent; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 8px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember); font-family: var(--mono); }
.faq[open] summary::after { content: "–"; }
.faq[open] { border-left: 2px solid var(--ember); padding-left: 12px; }
.faq-a { color: var(--muted); padding: 0 8px 16px 0; }
#kaitong { background: #120E0B; }
.kaitong-box {
  background: #1A1411;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 8px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { color: var(--muted); font-size: 13px; }
.field input, .field select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color .16s;
}
.field select { padding-right: 28px; }
.field input:focus, .field select:focus { border-color: var(--ember); }
.field.is-error input, .field.is-error select { border-color: var(--plum); }
.form-ok { color: var(--lime); margin-top: 12px; }
.form-err { color: #E7B0C8; margin-top: 12px; }
.site-footer { background: #120E0B; border-top: 1px solid var(--line); padding: 48px 0 20px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h2 { font-size: 16px; margin-bottom: 10px; }
.site-footer p, .site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ember-2); }
.foot-brand b { display: block; color: var(--text); margin-bottom: 8px; }
.legal { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.domain { font-family: var(--mono); font-size: 12px; }
@media (max-width: 1200px) {
  .fresh-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 1024px) {
  .price-grid { grid-template-columns: 1fr 1.2fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-grid, .fresh-layout, .koubei, .news-layout { grid-template-columns: 1fr; }
  .span-7, .span-5 { grid-column: 1 / -1; }
  .stack { display: grid; grid-template-columns: 1fr 1fr; }
  .scene-track { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: 1fr 1fr; }
  .timeline { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .metrics { display: grid; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  main > section { padding: 48px 0; }
  .header-row { display: flex; flex-wrap: wrap; min-height: 58px; }
  .brand { margin-right: auto; }
  .search { display: none; order: 3; flex: 1 0 100%; }
  .site-header.is-search .search { display: block; }
  .icon-btn { display: inline-flex; }
  .fresh-grid, .scene-track, .price-grid, .review-grid { grid-template-columns: 1fr; }
  .review-grid { columns: 1; }
  .demo-track, .scene-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .demo-track .frame, .scene-track .scene { min-width: 78%; scroll-snap-align: start; }
  .stack, .path, .metrics, .form-grid, .foot-grid { grid-template-columns: 1fr; }
  .news-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .container { width: min(1120px, calc(100% - 28px)); }
  .stat strong { font-size: 24px; }
}
@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .lead { font-size: 16px; }
  main .btn, .hero-actions .btn { width: 100%; }
  .brand-text b { font-size: 16px; }
  .legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
 --bg: #1C1612;
 --surface: #261E19;
 --card: #31261F;
 --line: #4A3A30;
 --ember: #E25B2A;
 --ember-2: #FF7A45;
 --plum: #8E3D62;
 --lime: #D6F25C;
 --text: #F4EBE3;
 --muted: #C9B5A6;
 --dim: #8C776A;
 --radius: 12px;
 --radius-sm: 8px;
 --shadow: 0 8px 24px rgba(40, 18, 8, .35);
 --header-h: 116px;
 --mono: "SFMono-Regular", "Cascadia Mono", "Sarasa Mono SC", ui-monospace, Menlo, Consolas, monospace;
 --sans: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
 color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 padding-top: var(--header-h);
 background: var(--bg);
 color: var(--text);
 font-family: var(--sans);
 font-size: 16px;
 line-height: 1.75;
 -webkit-font-smoothing: antialiased;
 overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 36px; line-height: 1.3; font-weight: 760; margin-bottom: 12px; }
h2 { font-size: 26px; line-height: 1.35; font-weight: 700; margin-bottom: 12px; }
p + p { margin-top: 0.75em; }
.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 white-space: nowrap;
 border: 0;
}
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0; }
.site-header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 40;
 background: var(--bg);
 border-bottom: 1px solid var(--line);
}
.header-row {
 display: grid;
 grid-template-columns: minmax(160px, 1fr) minmax(220px, 420px) minmax(160px, 1fr);
 gap: 16px;
 align-items: center;
 min-height: 68px;
 padding: 10px 0;
}
.brand {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 justify-self: start;
 min-width: 0;
}
.brand-bar {
 width: 8px;
 height: 26px;
 background: var(--ember);
 border-radius: 2px;
 flex: 0 0 8px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text b { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.brand-text span { font-size: 12px; color: var(--muted); }
.search { width: 100%; justify-self: center; }
.search input {
 width: 100%;
 min-height: 42px;
 padding: 0 14px;
 border-radius: var(--radius-sm);
 border: 1px solid var(--line);
 background: var(--surface);
 color: var(--text);
 transition: border-color .16s;
}
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--ember); outline: 2px solid var(--ember); outline-offset: 1px; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.icon-btn {
 display: none;
 width: 42px;
 height: 42px;
 align-items: center;
 justify-content: center;
 border-radius: var(--radius-sm);
 border: 1px solid var(--line);
 background: var(--surface);
 color: var(--text);
 cursor: pointer;
 transition: border-color .16s, color .16s, transform .16s;
}
.icon-btn:hover { border-color: var(--ember); color: var(--ember-2); transform: translateY(-1px); }
.icon-btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.icon-btn svg { width: 18px; height: 18px; }
.channel-row { border-top: 1px solid rgba(74, 58, 48, .65); }
.channel-scroll {
 display: flex;
 gap: 4px;
 overflow-x: auto;
 white-space: nowrap;
 scrollbar-width: thin;
 scrollbar-color: var(--line) transparent;
 padding: 0;
}
.channel-scroll::-webkit-scrollbar { height: 4px; }
.channel-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.channel-link {
 flex: 0 0 auto;
 color: var(--muted);
 padding: 10px 14px 12px;
 border-bottom: 2px solid transparent;
 font-size: 14px;
 transition: color .16s, border-color .16s;
}
.channel-link:hover { color: var(--text); }
.channel-link.is-active,
.channel-link[aria-current="page"] {
 color: var(--lime);
 border-radius: 0;
 border-bottom-color: var(--ember);
}
.channel-link:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 42px;
 padding: 0 16px;
 border-radius: var(--radius-sm);
 border: 1px solid transparent;
 background: transparent;
 cursor: pointer;
 font-size: 15px;
 line-height: 1;
 white-space: nowrap;
 transition: background-color .16s, color .16s, border-color .16s, transform .16s;
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.btn-primary { background: var(--ember); color: #1C1612; font-weight: 700; }
.btn-primary:visited { color: #1C1612; }
.btn-primary:hover { background: var(--ember-2); color: #1C1612; transform: translateY(-1px); }
.btn-ghost { color: var(--text); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ember); color: var(--ember-2); transform: translateY(-1px); }
.btn.is-done {
 background: var(--card);
 color: var(--lime);
 border: 1px solid var(--line);
 pointer-events: none;
}
main.cat-main { position: relative; z-index: 1; }
main > section {
 position: relative;
 padding: 72px 0;
 scroll-margin-top: calc(var(--header-h) + 8px);
}
main > section::before {
 content: "";
 position: absolute;
 top: 0;
 bottom: 0;
 left: 50%;
 width: 100vw;
 transform: translateX(-50%);
 z-index: -1;
 background: inherit;
}
main > section:nth-child(odd) { background: var(--bg); }
main > section:nth-child(even) { background: var(--surface); }
#zixun, #s-status, #s-points { background: var(--surface); }
#changjing { background: transparent; }
#kaitong { background: #16110E; }
.lead { font-size: 18px; color: var(--muted); margin-top: 0; margin-bottom: .75em; }
.section-head { max-width: 760px; margin-bottom: 20px; }
.section-head p { color: var(--muted); }
.crumb {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 align-items: center;
 color: var(--dim);
 font-size: 13px;
 margin-bottom: 14px;
}
.crumb a:hover { color: var(--ember-2); }
.hero-status {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 color: var(--lime);
 margin-bottom: 14px;
 font-size: 13px;
}
.dot {
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: var(--lime);
 display: inline-block;
 box-shadow: 0 0 0 4px rgba(214, 242, 92, .12);
}
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pill {
 display: inline-flex;
 align-items: center;
 min-height: 36px;
 padding: 0 14px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: var(--bg);
 color: var(--muted);
 cursor: pointer;
 appearance: none;
 -webkit-appearance: none;
 transition: border-color .16s, color .16s, background-color .16s;
}
.pill:hover { border-color: var(--ember); color: var(--text); }
.pill:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.pill.is-on {
 color: var(--lime);
 border-color: var(--ember);
 background: var(--card);
}
#zixun { padding: 72px 0 20px; }
#s-status { padding: 8px 0 12px; }
#s-points { padding: 20px 0 72px; }
#changjing { padding: 72px 0 24px; }
.entry-list { border-top: 1px solid var(--line); }
.entry {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 16px;
 padding: 14px 16px;
 border-bottom: 1px solid var(--line);
 background: transparent;
 transition: background-color .16s;
}
.entry:hover { background: #31261F; }
.entry[hidden] { display: none !important; }
.entry-main { min-width: 0; }
.entry-main b { display: block; font-size: 17px; font-weight: 700; }
.entry-main em {
 font-style: normal;
 color: var(--dim);
 font-size: 13px;
 display: block;
 margin-top: 2px;
}
.entry-meta {
 display: flex;
 align-items: center;
 justify-content: flex-end;
 gap: 10px;
 flex-wrap: wrap;
 flex: 0 0 auto;
}
.tag {
 display: inline-flex;
 align-items: center;
 border-radius: 999px;
 border: 1px solid var(--line);
 color: var(--lime);
 font-family: var(--mono);
 font-size: 12px;
 padding: 2px 8px;
}
.empty {
 margin-top: 16px;
 padding: 28px 16px;
 text-align: left;
 color: var(--muted);
 border: 1px dashed var(--line);
 border-radius: var(--radius);
 background: var(--card);
}
.empty[hidden] { display: none !important; }
.status-bar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 12px;
 flex-wrap: wrap;
 border: 1px solid var(--line);
 background: var(--card);
 border-radius: var(--radius-sm);
 padding: 14px 16px;
 box-shadow: var(--shadow);
}
.status-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.status-meta .mono { color: var(--lime); }
#clearFilter {
 appearance: none;
 -webkit-appearance: none;
 background: transparent;
 border: 1px solid var(--line);
 color: var(--text);
 border-radius: var(--radius-sm);
 min-height: 36px;
 padding: 0 12px;
 cursor: pointer;
 transition: border-color .16s, color .16s, transform .16s;
}
#clearFilter:hover { border-color: var(--ember); color: var(--ember-2); transform: translateY(-1px); }
#clearFilter:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.point-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.point-list li {
 display: grid;
 grid-template-columns: 52px minmax(0, 1fr);
 gap: 12px;
 align-items: start;
 padding: 18px 20px;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 background: var(--card);
 transition: border-color .16s;
}
.point-list li:hover { border-color: var(--ember); }
.point-list .mono { color: var(--lime); font-size: 14px; padding-top: 4px; }
.point-list p { color: var(--muted); margin-top: 4px; }
.text-link, .text-link:visited { color: var(--ember); }
.text-link:hover { color: var(--ember-2); }
.scene-card {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 20px 20px 8px;
 box-shadow: var(--shadow);
 position: sticky;
 top: calc(var(--header-h) + 12px);
}
.scene-card:hover { border-color: var(--ember); }
.scene-card h2 { font-size: 20px; }
.scene-link {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 8px;
 padding: 12px 0;
 border-top: 1px solid var(--line);
 color: var(--text);
 transition: color .16s;
}
.scene-link:hover { color: var(--ember-2); }
.scene-link:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.rel-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rel-list li {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 12px;
 padding: 16px 0;
 border-bottom: 1px solid var(--line);
}
.rel-list a { font-weight: 700; }
.rel-list a:hover { color: var(--ember-2); }
.quote-row { display: grid; grid-template-columns: 1.35fr .75fr; gap: 20px; align-items: stretch; }
.quote {
 margin: 0;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 22px;
 box-shadow: var(--shadow);
 transition: border-color .16s;
}
.quote:hover { border-color: var(--ember); }
.quote p { font-size: 18px; line-height: 1.75; }
.who {
 display: flex;
 justify-content: space-between;
 gap: 8px;
 margin-top: 16px;
 color: var(--dim);
 font-size: 13px;
}
.who .tag { color: var(--lime); }
.end-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
.end-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.end-grid .lead { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
 border-bottom: 1px solid var(--line);
 border-left: 2px solid transparent;
 padding-left: 12px;
 transition: border-color .16s;
}
.faq-item.is-open { border-left-color: var(--ember); }
.faq-q {
 width: 100%;
 text-align: left;
 background: transparent;
 border: 0;
 color: var(--text);
 min-height: 52px;
 padding: 12px 0;
 cursor: pointer;
 font-weight: 700;
}
.faq-q:hover { color: var(--ember-2); }
.faq-q:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.faq-a { display: none; padding: 0 0 14px; color: var(--muted); }
.faq-item.is-open .faq-a { display: block; }
.site-footer {
 border-top: 1px solid var(--line);
 background: #1A1410;
 padding: 48px 0 28px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot-brand b { display: block; margin-bottom: 8px; font-size: 18px; }
.site-footer h2 { font-size: 15px; margin: 0 0 10px; font-weight: 700; }
.site-footer p { color: var(--muted); margin: 0 0 8px; }
.site-footer a:hover { color: var(--ember-2); }
.legal {
 display: flex;
 justify-content: space-between;
 gap: 12px;
 margin-top: 28px;
 padding-top: 16px;
 border-top: 1px solid var(--line);
 color: var(--dim);
 font-size: 13px;
}
.domain { font-family: var(--mono); }
@media (min-width: 961px) {
 main.cat-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  column-gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  align-items: start;
 }
 main.cat-main > section { grid-column: 1 / -1; }
 main.cat-main .container { width: auto; margin: 0; }
 #s-head { grid-column: 1 / -1; grid-row: 1; }
 #zixun { grid-column: 1; grid-row: 2; }
 #s-status { grid-column: 1; grid-row: 3; }
 #s-points { grid-column: 1; grid-row: 4; }
 #changjing { grid-column: 2; grid-row: 2 / span 3; }
 #s-related { grid-column: 1 / -1; grid-row: 5; }
 #s-voice { grid-column: 1 / -1; grid-row: 6; }
 #kaitong { grid-column: 1 / -1; grid-row: 7; }
}
@media (max-width: 1024px) {
 h1 { font-size: 32px; }
 .header-row { gap: 10px; }
}
@media (max-width: 960px) {
 main.cat-main { display: flex; flex-direction: column; width: auto; }
 #s-head { order: 1; }
 #zixun { order: 2; }
 #changjing { order: 3; padding: 28px 0 48px; }
 #s-status { order: 4; }
 #s-points { order: 5; }
 #s-related { order: 6; }
 #s-voice { order: 7; }
 #kaitong { order: 8; }
 .scene-card { position: static; }
 .quote-row, .end-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
 main > section { padding: 48px 0; }
 #zixun { padding: 48px 0 16px; }
 #s-points { padding: 16px 0 48px; }
 .header-row { grid-template-columns: minmax(0, 1fr) auto; min-height: 60px; }
 .search { display: none; }
 .site-header.is-search .search { display: block; grid-column: 1 / -1; }
 .icon-btn { display: inline-flex; }
 .entry { flex-direction: column; align-items: flex-start; }
 .entry-meta { justify-content: flex-start; }
 .foot-grid { grid-template-columns: 1fr 1fr; }
 h1 { font-size: 30px; }
 h2 { font-size: 22px; }
}
@media (max-width: 520px) {
 .foot-grid, .status-bar, .point-list li { grid-template-columns: 1fr; }
 .status-bar { align-items: flex-start; }
 .legal { flex-direction: column; }
 .rel-list li { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
 h1 { font-size: 28px; }
 h2 { font-size: 22px; }
 .brand-text b { font-size: 16px; }
 .end-actions .btn, .header-actions .btn { width: 100%; }
 .header-actions { gap: 6px; }
}
