/* roulang page: index */
:root {
  --bg: #F5F8FC;
  --card: #FFFFFF;
  --text: #1B2430;
  --muted: #5C6B7A;
  --primary: #1F6FEB;
  --primary-dark: #1857C6;
  --accent: #12B5C9;
  --line: #E3EAF2;
  --header: #0E1520;
  --header-text: #D5E4F2;
  --active: #E8FBFF;
  --danger: #D14343;
  --ok: #0E7C8A;
  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow: 0 8px 24px rgba(31,78,140,0.08);
  --shadow-hover: 0 16px 36px rgba(31,78,140,0.16);
  --container: 1120px;
  --header-h: 64px;
  --gap: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  padding-top: var(--header-h);
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
a { color: var(--primary); text-decoration: none; }
p { margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.35; margin: 0; font-weight: 700; color: var(--text); }
h1 { font-size: 38px; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--header);
  z-index: 50;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, #12B5C9, #8B5CFF 52%, #12B5C9);
  box-shadow: 0 0 8px rgba(18,181,201,0.85);
}
.nav-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  color: var(--active);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
}
.logo:hover { color: #fff; text-decoration: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 6px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--header-text);
  font-size: 14px;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}
.nav a:hover { color: #fff; text-decoration: none; }
.nav a.active {
  color: var(--active);
  text-shadow: 0 0 10px rgba(18,181,201,0.75);
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-btn);
  padding: 8px 14px !important;
  text-shadow: none !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  border: 1px solid rgba(18,181,201,0.5);
  background: transparent;
  color: var(--active);
  border-radius: var(--radius-btn);
  height: 36px;
  padding: 0 12px;
}
.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 32px;
  align-items: start;
  padding-bottom: 24px;
}
.primary { min-width: 0; }
.block { padding: 72px 0; }
.block + .block { border-top: 1px solid var(--line); }
.band {
  background: rgba(255,255,255,0.72);
  border-radius: var(--radius-card);
  padding-left: 8px;
  padding-right: 8px;
}
.head { max-width: 760px; margin-bottom: 28px; }
.sub { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.intro { max-width: 760px; margin-bottom: 28px; color: var(--text); }
.board {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: 32px;
  align-items: stretch;
}
.lead { font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--primary); border-color: #C9D8F5; }
.btn-secondary:hover { background: #F3F7FE; color: var(--primary-dark); }
.btn-text { background: transparent; color: var(--primary); padding: 0 4px; min-height: 32px; }
.btn-text:hover { text-decoration: underline; transform: none; }
.info-box, .card, .sum-card, .fresh, .form-card {
  background: var(--card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  border: 1px solid rgba(227,234,242,0.95);
}
.info-box { padding: 24px; }
.info-label { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.metric strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
  color: var(--primary);
  font-weight: 700;
}
.metric span { color: var(--muted); font-size: 13px; }
.nodes {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border-top: 1px solid var(--accent);
  padding-top: 16px;
}
.nodes li { position: relative; padding-top: 8px; }
.nodes li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  top: -21px;
  left: 0;
  box-shadow: 0 0 0 4px rgba(18,181,201,0.15);
}
.nodes .num { color: var(--accent); font-size: 13px; display: block; }
.nodes b { display: block; font-size: 16px; }
.nodes em { font-style: normal; color: var(--muted); font-size: 13px; }
.toc a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.toc a:hover { color: var(--primary); text-decoration: none; }
.toc .num { color: var(--accent); font-weight: 700; }
.toc small { color: var(--muted); }
.bento {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.bento .tall { grid-column: 1; grid-row: 1 / span 2; }
.bento .wide { grid-column: 2 / span 2; grid-row: 1; }
.card { padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.card p:last-child { margin-bottom: 0; }
.swatch {
  height: 8px;
  width: 56px;
  border-radius: 99px;
  background: var(--primary);
  margin-bottom: 16px;
}
.swatch.alt { background: var(--accent); width: 36px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  background: #F7FAFD;
  margin-right: 6px;
}
.tag.on {
  color: var(--ok);
  border-color: rgba(18,181,201,0.45);
  background: rgba(18,181,201,0.1);
}
.slot {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.slot .num { color: var(--accent); font-weight: 700; }
.slot h3 { margin-bottom: 6px; }
.cmp-wrap { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 15px;
}
.cmp th { background: #EAF2FE; font-weight: 650; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 700; width: 18%; }
.toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #D5DEE8;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  font-size: 16px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.toolbar .field { width: min(360px, 100%); }
.scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 2px 16px;
  scroll-snap-type: x mandatory;
}
.scroller .card { flex: 0 0 280px; scroll-snap-align: start; }
.poster {
  height: 92px;
  border-radius: 8px;
  background: #E7F0FA;
  margin-bottom: 14px;
  border-left: 3px solid var(--accent);
}
.poster.b { background: #E5F6F8; }
.poster.c { background: #EAF2FE; }
.poster.d { background: #F3F6FA; }
.empty {
  padding: 28px 24px;
  border-radius: var(--radius-card);
  border: 1px dashed #D5DEE8;
  background: #fff;
  color: var(--muted);
}
.timeline {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}
.timeline li {
  flex: 0 0 230px;
  border-top: 2px solid var(--accent);
  padding: 18px 18px 0 0;
  position: relative;
}
.timeline li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  top: -6px;
  left: 0;
}
.timeline .num { color: var(--accent); font-size: 13px; }
.news {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}
.news-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px 0 16px 14px;
  color: var(--text);
  font-size: 16px;
  border-left: 2px solid transparent;
}
.news-btn small { display: block; color: var(--muted); font-size: 13px; }
.news-btn.is-on { border-left-color: var(--accent); color: var(--primary); }
.sum-card { padding: 24px; min-height: 220px; }
.guard li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.guard .num { color: var(--accent); font-weight: 700; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quick .card h3 { margin-bottom: 8px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 24px;
  border-top: 2px solid var(--accent);
}
.step .num { color: var(--accent); font-weight: 700; display: block; margin-bottom: 8px; }
.faq details {
  background: #F8FBFE;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0 20px;
  margin-bottom: 12px;
}
.faq summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--text); }
.fresh {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-left: 3px solid var(--accent);
}
.fresh p:last-child { margin-bottom: 0; }
.form-card { padding: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.err { color: var(--danger); font-size: 13px; min-height: 18px; }
.field.is-error input, .field.is-error textarea { border-color: var(--danger); }
.ok {
  color: var(--ok);
  background: rgba(18,181,201,0.12);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  margin-top: 8px;
}
.reads a.row {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.reads a.row:hover { color: var(--primary); }
.reads a.row span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.rail {
  position: sticky;
  top: 84px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  border-top: 2px solid var(--accent);
}
.rail-title { font-weight: 700; margin-bottom: 8px; }
.rail li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.rail li b { color: var(--primary); font-weight: 700; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 6px;
}
.dot.wait { background: #C5D0DC; }
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 36px 0 48px;
  margin-top: 12px;
}
.foot-logo {
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 16px 0; }
.foot-links a { color: var(--text); text-decoration: none; }
.foot-links a:hover { color: var(--primary); }
.copy { color: var(--muted); font-size: 13px; margin: 0; }
@media (max-width: 1024px) {
  .block { padding: 56px 0; }
  .shell { grid-template-columns: 1fr; }
  .rail { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .tall, .bento .wide { grid-column: auto; grid-row: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .block { padding: 40px 0; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--header);
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 20px 18px;
    border-bottom: 1px solid rgba(18,181,201,0.45);
    gap: 4px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .board, .news, .quick, .form-grid, .steps, .bento { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 1fr; gap: 6px; }
  .nodes { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .fresh { flex-direction: column; align-items: flex-start; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; width: 100%; }
  .cmp tr {
    margin: 0 12px 16px;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .cmp-wrap { background: transparent; box-shadow: none; }
  .cmp td { border-bottom: 1px solid var(--line); }
  .cmp td::before {
    content: attr(data-h);
    display: block;
    color: var(--muted);
    font-size: 13px;
  }
  .metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .logo { font-size: 15px; }
  .nodes { grid-template-columns: 1fr; }
  .scroller .card { flex-basis: 240px; }
  .card, .info-box, .form-card, .fresh, .sum-card { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --bg: #F5F8FC;
  --card: #FFFFFF;
  --text: #1B2430;
  --muted: #5C6B7A;
  --primary: #1F6FEB;
  --primary-dark: #1857C6;
  --accent: #12B5C9;
  --line: #E3EAF2;
  --header: #0E1520;
  --header-text: #D5E4F2;
  --active: #E8FBFF;
  --danger: #D14343;
  --ok: #0E7C8A;
  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow: 0 8px 24px rgba(31,78,140,0.08);
  --shadow-hover: 0 16px 36px rgba(31,78,140,0.16);
  --container: 1120px;
  --header-h: 64px;
  --gap: 24px;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  padding-top: var(--header-h);
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--header);
  z-index: 50;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, #12B5C9, #8B5CFF 52%, #12B5C9);
  box-shadow: 0 0 8px rgba(18,181,201,0.85);
}
.nav-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  color: var(--active);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
}
.logo:hover { color: #fff; text-decoration: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 6px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--header-text);
  font-size: 14px;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}
.nav a:hover { color: #fff; text-decoration: none; }
.nav a.active {
  color: var(--active);
  text-shadow: 0 0 10px rgba(18,181,201,0.75);
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-btn);
  padding: 8px 14px !important;
  text-shadow: none !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  border: 1px solid rgba(18,181,201,0.5);
  background: transparent;
  color: var(--active);
  border-radius: var(--radius-btn);
  height: 36px;
  padding: 0 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--primary); border-color: #C9D8F5; }
.btn-secondary:hover { background: #F3F7FE; color: var(--primary-dark); }
.btn-text {
  background: transparent;
  color: var(--primary);
  padding: 0 4px;
  min-height: 32px;
  justify-content: flex-start;
}
.btn-text:hover { text-decoration: underline; transform: none; }
.info-box, .card {
  background: var(--card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  border: 1px solid rgba(227,234,242,0.95);
}
.card { padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  background: #F7FAFD;
  margin: 0 6px 6px 0;
}
.tag.on {
  color: var(--ok);
  border-color: rgba(18,181,201,0.45);
  background: rgba(18,181,201,0.1);
}
.faq details {
  background: #F8FBFE;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0 20px;
  margin-bottom: 12px;
}
.faq summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--text); }
.toc a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.toc a:hover { color: var(--primary); text-decoration: none; }
.toc a small { color: var(--muted); font-size: 13px; }
.page-shell {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: start;
}
.main-col { min-width: 0; }
.block { padding: 72px 0; border-top: 1px solid transparent; }
.main-col .block:first-child { padding-top: 0; border-top: 0; }
.block.alt {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  margin: 8px 0 0;
}
.sec-no {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.block h2 {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 8px;
}
.sub { color: var(--muted); margin-bottom: 24px; font-size: 16px; }
.head-block h1 {
  font-size: 38px;
  line-height: 1.28;
  font-weight: 700;
  margin: 10px 0 12px;
}
.scope { font-size: 17px; max-width: 640px; margin-bottom: 16px; }
.crumb { color: var(--muted); font-size: 14px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--primary); }
.tag-row { margin-top: 8px; }
.rail { display: grid; gap: 24px; align-content: start; position: sticky; top: 88px; }
.rail-box { padding: 24px; }
.rail-kicker { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.rail-num { color: var(--accent); font-size: 40px; line-height: 1.1; font-weight: 700; margin-bottom: 8px; }
.rail-state { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 700; margin-bottom: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(18,181,201,0.15);
}
.rail-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.rail-list li:last-child { border-bottom: 0; }
.rail-list span { color: var(--muted); }
.legend-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.legend-line:last-child { border-bottom: 0; }
.swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; flex: 0 0 auto; }
.swatch.s2 { background: var(--primary); }
.swatch.s3 { background: #7A8BA0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 14px;
  font-size: 14px;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.chip:hover { border-color: rgba(18,181,201,0.6); transform: translateY(-1px); }
.chip.is-on {
  color: var(--ok);
  border-color: rgba(18,181,201,0.45);
  background: rgba(18,181,201,0.1);
}
.entry-grid { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 24px; }
.entry { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.entry.span { grid-column: 1 / -1; display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 18px 22px; align-items: center; }
.entry-no { color: var(--accent); font-weight: 700; letter-spacing: 0.04em; }
.entry h3 { font-size: 20px; line-height: 1.4; }
.entry p { color: var(--text); }
.entry-meta { color: var(--muted); font-size: 14px; }
.more-wrap { margin-top: 24px; }
.empty {
  display: none;
  padding: 28px 24px;
  border: 1px dashed rgba(18,181,201,0.45);
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--muted);
}
.empty.show { display: block; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: rgba(18,181,201,0.55);
}
.node {
  position: relative;
  background: #F8FBFE;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 16px 16px;
}
.node-time { color: var(--accent); font-weight: 700; display: block; margin-bottom: 8px; background: #fff; position: relative; z-index: 1; width: fit-content; padding-right: 8px; }
.node strong { display: block; margin-bottom: 6px; }
.node p { color: var(--muted); font-size: 14px; }
.scene-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.scene-row:last-child { border-bottom: 0; }
.scene-no { color: var(--accent); font-weight: 700; font-size: 20px; }
.scene-row h3 { font-size: 18px; margin-bottom: 4px; }
.scene-row p { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.cmp-table th { color: var(--muted); font-weight: 600; background: #F7FAFD; }
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table td:first-child { color: var(--ok); font-weight: 700; }
.note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.article-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.article-row:last-child { border-bottom: 0; }
.article-row:hover { color: var(--primary); }
.article-row strong { display: block; font-size: 17px; }
.article-row small { color: var(--muted); }
.article-row em { font-style: normal; color: var(--primary); font-size: 14px; }
.site-footer {
  background: #0E1520;
  color: #D5E4F2;
  padding: 40px 0 32px;
}
.foot-logo { color: #E8FBFF; font-weight: 700; font-size: 18px; text-decoration: none; }
.foot-logo:hover { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 16px 0; }
.foot-links a { color: #D5E4F2; font-size: 14px; text-decoration: none; }
.foot-links a:hover { color: #fff; }
.copy { color: #8AA0B5; font-size: 13px; margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 1024px) {
  .page-shell { grid-template-columns: 1fr; padding: 56px 0; gap: 0; }
  .rail { display: none; }
  .block { padding: 56px 0; }
  .nav { gap: 6px 12px; }
  .nav a { font-size: 13px; }
  .logo { font-size: 16px; }
}
@media (max-width: 768px) {
  .block { padding: 40px 0; }
  .page-shell { padding: 40px 0; }
  .block.alt { padding: 24px 16px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0E1520;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 20px 18px;
    gap: 2px;
    border-bottom: 1px solid rgba(18,181,201,0.6);
    box-shadow: 0 16px 30px rgba(0,0,0,0.25);
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 10px 0; }
  .entry-grid, .timeline, .entry.span, .article-row { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .head-block h1 { font-size: 32px; }
  .block h2 { font-size: 24px; }
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  .cmp-table thead { display: none; }
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table td { display: block; width: 100%; }
  .cmp-table tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
    box-shadow: var(--shadow);
  }
  .cmp-table td {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
    border: 0;
    padding: 8px 16px;
  }
  .cmp-table td::before { content: attr(data-label); color: var(--muted); font-weight: 500; }
}
@media (max-width: 480px) {
  .container, .page-shell { width: min(var(--container), calc(100% - 28px)); }
  .head-block h1 { font-size: 32px; }
  .scene-row { grid-template-columns: 42px minmax(0, 1fr); }
  .logo { font-size: 15px; }
  .toc a { grid-template-columns: 36px 1fr; }
  .toc a small { grid-column: 2; }
}
