/* roulang page: index */
:root {
  --bg: #F4F7FB;
  --bg-alt: #E7EEF8;
  --card: #FFFFFF;
  --ink: #1C2430;
  --muted: #5C6B80;
  --line: #D5E0EE;
  --blue: #2C6BED;
  --blue-d: #1E4EAB;
  --lilac: #6B3F86;
  --lilac-s: #F3EAF7;
  --wood: #C6A36A;
  --danger: #A23B6C;
  --shadow: 0 10px 30px rgba(28,52,92,.08);
  --r-card: 16px;
  --r-btn: 999px;
  --r-input: 12px;
  --header: 64px;
  --side: 240px;
  --max: 1160px;
  --pad: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: var(--ink);
  background: var(--bg);
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--lilac); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 2px;
}
::selection { background: var(--lilac-s); color: var(--ink); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--lilac);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--r-btn);
  z-index: 80;
}
.skip:focus { top: 8px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header);
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: none;
  text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--lilac);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: inset 0 -2px 0 var(--wood);
}
.logo-text { font-weight: 800; font-size: 16px; line-height: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 6px; flex: none; }
.nav-links a {
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  padding: 6px 12px;
  border-radius: var(--r-btn);
}
.nav-links a:hover { background: var(--bg); text-decoration: none; }
.nav-links a.active { background: var(--lilac-s); color: var(--lilac); }
.search { position: relative; flex: 1; min-width: 160px; }
.search svg { position: absolute; left: 12px; top: 10px; width: 18px; height: 18px; stroke: var(--muted); fill: none; }
.search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: #fff;
  color: var(--ink);
  padding: 0 12px 0 38px;
}
.switches { display: flex; gap: 8px; flex: none; }
.seg {
  display: flex;
  padding: 3px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: var(--r-btn);
  padding: 4px 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 20px;
}
.seg button.is-on { background: var(--lilac); color: #fff; }
.seg button:hover { color: var(--ink); }
.seg button.is-on:hover { color: #fff; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-btn);
  height: 40px;
  padding: 0 14px;
  cursor: pointer;
}
.mask { display: none; }
.frame { display: flex; align-items: stretch; }
.docs {
  width: var(--side);
  flex: none;
  position: sticky;
  top: var(--header);
  height: calc(100vh - var(--header));
  overflow: auto;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 22px 14px 32px;
}
.docs-label {
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
  padding: 0 10px 8px;
}
.docs a {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 2px;
}
.docs a:hover { background: var(--bg); text-decoration: none; }
.docs a.current { background: var(--lilac-s); color: var(--lilac); font-weight: 700; }
.docs-quick { display: none; gap: 8px; margin-bottom: 16px; }
.docs-quick a { margin-bottom: 0; }
.content { flex: 1; min-width: 0; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: var(--pad) 0; background: var(--bg); }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: 28px; line-height: 36px; font-weight: 800; letter-spacing: -0.02em; }
.block-head { max-width: 740px; margin-bottom: 28px; }
.block-head p, .prose { margin-top: 10px; color: var(--muted); }
h1 { font-size: 40px; line-height: 48px; font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 18px; line-height: 28px; font-weight: 750; font-weight: 700; }
.aux { font-size: 13px; line-height: 20px; color: var(--muted); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.btn, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--r-btn);
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-decoration: none;
}
.btn { background: var(--blue); color: #fff; border: 0; }
.btn:hover { background: var(--blue-d); color: #fff; transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-line { background: #fff; color: var(--blue-d); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--blue-d); color: var(--blue-d); transform: translateY(-1px); text-decoration: none; }
.btn-line:active { transform: translateY(0); }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--r-btn);
  background: var(--lilac-s);
  color: var(--lilac);
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.badge.warm { background: #F8F1E6; color: #8A6230; }
.badge.blue { background: #E8F0FF; color: var(--blue-d); }
.hero-grid, .split, .entry-grid, .compare, .news-grid, .contact-grid, .device-grid {
  display: grid;
  gap: 22px;
}
.hero-grid { grid-template-columns: 1.25fr .75fr; align-items: stretch; }
.subline { margin-top: 12px; font-size: 18px; line-height: 30px; color: var(--muted); }
.lead { margin-top: 16px; max-width: 68ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.live { margin-top: 16px; }
.spec { padding: 22px; }
.spec-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--wood);
  margin-bottom: 8px;
}
.spec-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; }
.spec-top strong { color: var(--blue); font-size: 20px; line-height: 24px; }
.track { margin-top: 8px; height: 6px; background: var(--bg-alt); border-radius: var(--r-btn); overflow: hidden; }
.track span { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.entry-grid { grid-template-columns: 7fr 5fr; }
.entry-side { display: grid; gap: 18px; }
a.entry-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  color: inherit;
  min-height: 180px;
  transition: transform .18s ease, box-shadow .18s ease;
}
a.entry-card:hover { transform: translateY(-2px); text-decoration: none; color: inherit; }
.entry-main { min-height: 100%; background:
  linear-gradient(#fff, #fff) padding-box,
  linear-gradient(90deg, var(--wood), var(--wood)) border-box;
}
.entry-no {
  font-size: 40px;
  line-height: 48px;
  font-weight: 800;
  color: var(--blue);
}
.split { grid-template-columns: .82fr 1.18fr; align-items: start; }
.meter { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.meter + .meter { margin-top: 12px; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; }
.meter-top b { color: var(--blue); font-size: 28px; line-height: 32px; }
.compare { grid-template-columns: 1fr 1fr; }
.compare article { padding: 22px; }
body.lang-sc .col-sc, body.lang-tc .col-tc { box-shadow: 0 0 0 2px var(--lilac), var(--shadow); }
.quote { padding: 12px 0; border-top: 1px solid var(--line); }
.quote:first-of-type { border-top: 0; }
.scene-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 18px; }
.scene { padding: 22px; }
.scene.s1 { min-height: 250px; }
.scene.s2 { min-height: 180px; }
.scene.s3 { min-height: 210px; }
.scene.s4 { min-height: 280px; }
.scene .idx { color: var(--blue); font-weight: 800; font-size: 13px; line-height: 20px; }
.masonry { columns: 3; column-gap: 18px; }
.case {
  break-inside: avoid;
  margin: 0 0 18px;
  padding: 18px;
  display: inline-block;
  width: 100%;
}
.case.tall { min-height: 230px; }
.case.mid { min-height: 180px; }
.case.short { min-height: 140px; }
.pct { color: var(--blue); font-size: 32px; line-height: 36px; font-weight: 800; margin: 10px 0; }
.sheet { display: flex; flex-direction: column; gap: 10px; }
.sheet-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.6fr) auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.sheet-row:hover { border-color: #C9D6EA; }
.sheet-no {
  width: 48px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 10px 10px 14px 14px;
  color: var(--blue);
  font-weight: 800;
  background: #fff;
}
.news-grid { grid-template-columns: 1.7fr .85fr; align-items: start; }
.news-item, .side-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.news-item h3 a, .side-item a { color: var(--ink); }
.news-item h3 a:hover, .side-item a:hover { color: var(--lilac); }
.more-link { margin-top: 16px; }
.side-panel { padding: 8px 18px 18px; }
.chapter-list a {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 16px;
  margin-bottom: 12px;
  color: inherit;
  align-items: center;
}
.chapter-list a:hover { text-decoration: none; transform: translateY(-1px); }
.logo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wordmark {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 112px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.wordmark strong { font-size: 20px; letter-spacing: 0.04em; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  padding: 18px 0;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faq-item button i { font-style: normal; color: var(--lilac); transition: transform .18s ease; }
.faq-item button[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-a { color: var(--muted); padding-bottom: 16px; }
.assure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.assure article { padding: 22px; }
.assure article + article { border-left: 2px solid var(--wood); }
.device { padding: 22px; }
.device dl { margin-top: 12px; }
.device dl div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.device dt { color: var(--muted); font-size: 13px; line-height: 20px; }
.timeline { margin-left: 10px; border-left: 2px solid var(--wood); display: flex; flex-direction: column; gap: 8px; }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
  position: absolute;
  left: -7px;
  top: 6px;
  box-shadow: 0 0 0 2px var(--lilac-s);
}
.steps { position: relative; display: flex; flex-direction: column; gap: 16px; }
.field-line { position: absolute; left: 28px; top: 10px; bottom: 10px; width: 80px; height: calc(100% - 20px); }
.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  position: relative;
}
.jersey {
  width: 68px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 12px 12px 18px 18px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  background: #fff;
  box-shadow: inset 0 -8px 0 var(--bg-alt);
}
.step-body { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; box-shadow: var(--shadow); }
.contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
form .field { margin-bottom: 14px; }
form label { display: block; font-size: 13px; line-height: 20px; color: var(--muted); margin-bottom: 6px; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
}
textarea { min-height: 120px; resize: vertical; }
.is-error { border-color: var(--danger) !important; background: #FDF6F8; }
.form-note { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.form-note.is-success { background: var(--lilac-s); color: var(--lilac); border-color: #E3D2EE; }
.form-note.is-error { border-color: var(--danger); color: var(--danger); background: #FDF6F8; }
.form-panel { padding: 22px; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 20px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr .8fr; gap: 28px; }
.site-footer h2 { font-size: 16px; line-height: 24px; margin-bottom: 10px; }
.site-footer a { color: var(--ink); display: inline-block; margin: 4px 0; }
.site-footer a:hover { color: var(--lilac); }
.legal {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 2px solid var(--wood);
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
@media (max-width: 1200px) {
  .masonry { columns: 2; }
  .logo-text { font-size: 15px; }
  .scene-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .topbar { height: auto; flex-wrap: wrap; padding: 10px 14px; }
  .search { order: 5; flex: 1 1 100%; }
  .docs {
    position: fixed;
    z-index: 35;
    left: 0;
    top: 108px;
    height: calc(100vh - 108px);
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: var(--shadow);
  }
  body.drawer-open .docs { transform: none; }
  body.drawer-open .mask { display: block; position: fixed; inset: 108px 0 0 0; background: rgba(28,36,48,.28); z-index: 30; }
  .docs-quick { display: flex; flex-direction: column; }
  .frame { display: block; }
  .hero-grid, .split, .entry-grid, .news-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  h1 { font-size: 32px; line-height: 40px; }
  .section h2 { font-size: 24px; line-height: 32px; }
  .container { width: min(var(--max), calc(100% - 32px)); }
  .compare, .scene-grid, .device-grid, .assure, .foot-grid, .logo-wall { grid-template-columns: 1fr; }
  .assure article + article { border-left: 0; border-top: 2px solid var(--wood); }
  .masonry { columns: 1; }
  .sheet-row { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn, .hero-actions .btn-line, .form-panel .btn { width: 100%; }
  .switches { width: 100%; }
  .seg { flex: 1; }
  .seg button { flex: 1; }
}
@media (max-width: 480px) {
  .logo-text { font-size: 14px; max-width: 9.2em; }
  .step { grid-template-columns: 72px 1fr; }
  .jersey { width: 56px; height: 64px; font-size: 22px; }
  .spec-top strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --bg: #F4F7FB;
  --bg-alt: #E7EEF8;
  --card: #FFFFFF;
  --ink: #1C2430;
  --muted: #5C6B80;
  --line: #D5E0EE;
  --blue: #2C6BED;
  --blue-d: #1E4EAB;
  --lilac: #6B3F86;
  --lilac-s: #F3EAF7;
  --wood: #C6A36A;
  --danger: #A23B6C;
  --shadow: 0 10px 30px rgba(28,52,92,.08);
  --r-card: 16px;
  --r-btn: 999px;
  --r-input: 12px;
  --header: 64px;
  --side: 240px;
  --max: 1160px;
  --pad: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: var(--ink);
  background: var(--bg);
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: var(--lilac); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 2px;
}
::selection { background: var(--lilac-s); color: var(--ink); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header);
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: none;
  text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--lilac);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: inset 0 -2px 0 var(--wood);
}
.logo-text { font-weight: 800; font-size: 16px; line-height: 20px; letter-spacing: -0.02em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 6px; flex: none; }
.nav-links a {
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  padding: 6px 12px;
  border-radius: var(--r-btn);
}
.nav-links a:hover { background: var(--bg); text-decoration: none; }
.nav-links a.active { background: var(--lilac-s); color: var(--lilac); font-weight: 700; }
.search { position: relative; flex: 1; min-width: 160px; }
.search svg { position: absolute; left: 12px; top: 11px; width: 18px; height: 18px; stroke: var(--muted); fill: none; }
.search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: #fff;
  color: var(--ink);
  padding: 0 12px 0 38px;
}
.search input:hover { border-color: #C9D6EA; }
.switches { display: flex; align-items: center; gap: 8px; flex: none; }
.seg {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: var(--r-btn);
  padding: 4px 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 20px;
}
.seg button.is-on { background: var(--lilac); color: #fff; }
.seg button:hover { color: var(--ink); }
.seg button.is-on:hover { color: #fff; }
.seg button:active { transform: translateY(1px); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-btn);
  height: 40px;
  padding: 0 14px;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--lilac); color: var(--lilac); }
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(28,36,48,.35);
  z-index: 45;
}
.scrim[hidden] { display: none; }
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); align-items: start; }
.docs {
  position: sticky;
  top: var(--header);
  height: calc(100vh - var(--header));
  overflow: auto;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 22px 14px;
  z-index: 30;
}
.docs-label {
  margin: 0 10px 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
}
.docs a {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 2px;
}
.docs a:hover { background: var(--bg); text-decoration: none; }
.docs a.current { background: var(--lilac-s); color: var(--lilac); font-weight: 700; }
.page { min-width: 0; }
.page-inner { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: var(--pad) 0; background: var(--bg); }
.section.alt { background: var(--bg-alt); }
.section h2, .block-title {
  font-size: 28px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.subhead { color: var(--muted); margin-bottom: 22px; max-width: 68ch; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.btn, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--r-btn);
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  text-decoration: none;
}
.btn { background: var(--blue); color: #fff; border: 0; }
.btn:hover { background: var(--blue-d); color: #fff; transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-line { background: #fff; color: var(--blue-d); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--blue-d); color: var(--blue-d); transform: translateY(-1px); text-decoration: none; }
.btn-line:active { transform: translateY(0); }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--r-btn);
  background: var(--lilac-s);
  color: var(--lilac);
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.badge.warm { background: #F8F1E6; color: #8A6230; }
.badge.blue { background: #E8F0FF; color: var(--blue-d); }
.page-head { padding: 32px 0 28px; border-bottom: 2px solid var(--wood); }
.crumb { color: var(--muted); font-size: 13px; line-height: 20px; }
.crumb a { color: var(--blue-d); }
.page-head h1 {
  margin-top: 10px;
  font-size: 40px;
  line-height: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.lead { margin-top: 12px; max-width: 42em; }
.kicker { margin-bottom: 0; }
.head-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.filterbar {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}
.field label, .side-box legend {
  display: block;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
  padding: 0;
}
.field select, .text-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}
.field select:hover, .text-input:hover { border-color: #C9D6EA; }
.field select.is-bad, .text-input.is-bad { border-color: var(--danger); background: #FDF6F9; }
.count-line { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 20px; }
.count-line strong { color: var(--blue); font-size: 22px; line-height: 28px; font-weight: 800; margin-right: 4px; }
.catalog {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.filter-side { position: sticky; top: 88px; padding: 16px; }
.side-box + .side-box { margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--wood); }
.opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}
.opt:hover { background: var(--bg); }
.opt input { accent-color: var(--lilac); width: 16px; height: 16px; }
.film-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.film {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.film:hover { transform: translateY(-2px); border-color: #C9D6EA; }
.film.span {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}
.film-top, .tag-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.jersey {
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.film h3 { font-size: 20px; line-height: 28px; font-weight: 800; }
.film p { color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 13px; line-height: 20px; }
.meta li { position: relative; }
.empty { padding: 28px; text-align: left; color: var(--muted); }
.ver-row { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 16px; }
.ver-card { padding: 22px; min-height: 180px; display: flex; flex-direction: column; gap: 12px; }
.ver-card strong { font-size: 20px; line-height: 28px; }
.ver-card p { color: var(--muted); }
.ver-card .markline { height: 2px; width: 56px; background: var(--wood); border: 0; }
.scale {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.scale::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 46px;
  height: 2px;
  background: var(--wood);
}
.scale-item { position: relative; padding: 22px 18px 20px; min-width: 0; }
.scale-item + .scale-item { border-left: 1px solid var(--line); }
.scale-item b { display: block; margin: 18px 0 6px; font-size: 18px; }
.scale-item span { display: block; color: var(--muted); font-size: 13px; line-height: 20px; }
.scale-item.is-key { background: linear-gradient(#fff, #F3EAF7); }
.scale-item.is-key .jersey { color: var(--lilac); }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.node { padding: 18px; min-height: 210px; position: relative; }
.node .jersey { display: block; margin-bottom: 12px; }
.node h3 { font-size: 18px; line-height: 26px; margin-bottom: 8px; }
.node p { color: var(--muted); font-size: 14px; line-height: 24px; }
.node time { display: inline-block; margin-bottom: 8px; color: var(--blue-d); font-size: 13px; line-height: 20px; font-weight: 700; }
.checks { display: grid; gap: 12px; }
.check {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.check h3 { font-size: 18px; line-height: 26px; }
.check p { color: var(--muted); }
.article-list { display: grid; grid-template-columns: 1.45fr .8fr; gap: 12px; }
.article {
  display: block;
  padding: 18px 18px 16px;
  color: inherit;
  min-height: 120px;
  transition: transform .18s ease, border-color .18s ease;
}
.article:first-child { grid-row: span 3; padding: 28px; background:
  linear-gradient(#fff, #fff) padding-box,
  linear-gradient(var(--wood), var(--wood)) border-box;
  border-top: 2px solid var(--wood);
}
.article:hover { transform: translateY(-2px); text-decoration: none; color: inherit; border-color: #C9D6EA; }
.article h3 { margin: 10px 0 6px; font-size: 20px; line-height: 28px; color: var(--ink); }
.article p { color: var(--muted); }
.more-bar, .close-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
}
.more-bar { border-top: 2px solid var(--wood); }
.close-bar { margin-top: 14px; }
.more-bar h2, .close-bar h2 { margin-bottom: 6px; }
.more-bar p, .close-bar p { color: var(--muted); }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 28px; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; gap: 28px; }
.site-footer h2 { font-size: 16px; line-height: 24px; font-weight: 800; margin: 0 0 10px; }
.site-footer a { color: var(--ink); font-size: 14px; line-height: 28px; }
.site-footer a:hover { color: var(--lilac); }
.aux { color: var(--muted); font-size: 13px; line-height: 20px; }
.legal {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 2px solid var(--wood);
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
.legal a { color: var(--blue-d); font-size: 13px; }
body.lang-sc .only-tc, body.lang-tc .only-sc { display: none; }
body.ver-sub .only-ver-raw, body.ver-raw .only-ver-sub { display: none; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 84px; }
@media (max-width: 1200px) {
  .ver-row { grid-template-columns: 1fr 1fr; }
  .ver-row .ver-card:first-child { grid-column: 1 / -1; }
  .film.span { grid-template-columns: 64px minmax(0, 1fr); }
  .film.span .tag-row { grid-column: 1 / -1; }
}
@media (max-width: 992px) {
  .topbar { height: auto; flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .logo { order: 1; }
  .nav-toggle { display: inline-flex; align-items: center; order: 2; margin-left: auto; }
  .search { order: 3; flex: 1 1 100%; }
  .switches { order: 4; }
  .nav-links { order: 5; width: 100%; overflow-x: auto; }
  .docs {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: min(300px, 86vw);
    height: 100vh;
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: var(--shadow);
    border-right: 1px solid var(--line);
  }
  body.drawer-open .docs { transform: none; }
  .shell { grid-template-columns: 1fr; }
  .catalog, .timeline, .scale { grid-template-columns: 1fr 1fr; }
  .filter-side { position: static; }
  .scale::before { display: none; }
  .scale-item + .scale-item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  .page-inner { width: min(100% - 32px, 1080px); }
  .page-head h1 { font-size: 32px; line-height: 40px; }
  .section h2, .block-title { font-size: 24px; line-height: 32px; }
  .filterbar, .catalog, .film-grid, .ver-row, .timeline, .scale, .article-list, .foot-grid { grid-template-columns: 1fr; }
  .film.span, .check, .more-bar, .close-bar { display: flex; flex-direction: column; align-items: flex-start; }
  .article:first-child { grid-row: auto; }
  .logo-text { font-size: 14px; }
  .switches { width: 100%; justify-content: space-between; }
}
@media (max-width: 480px) {
  .page-head h1 { font-size: 28px; line-height: 36px; }
  .btn, .btn-line, .head-actions .btn, .head-actions .btn-line { width: 100%; }
  .head-actions { flex-direction: column; }
  .topbar { padding-inline: 12px; }
  .logo-text { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
}

/* roulang page: category2 */
:root {
  --bg: #F4F7FB;
  --bg-alt: #E7EEF8;
  --card: #FFFFFF;
  --ink: #1C2430;
  --muted: #5C6B80;
  --line: #D5E0EE;
  --blue: #2C6BED;
  --blue-d: #1E4EAB;
  --lilac: #6B3F86;
  --lilac-s: #F3EAF7;
  --wood: #C6A36A;
  --danger: #A23B6C;
  --shadow: 0 10px 30px rgba(28,52,92,.08);
  --r-card: 16px;
  --r-btn: 999px;
  --r-input: 12px;
  --header: 64px;
  --header-h: 64px;
  --side: 240px;
  --max: 1160px;
  --pad: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: var(--ink);
  background: var(--bg);
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
a { color: var(--lilac); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 2px;
}
h1, h2, h3, p { margin: 0; }
h1 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
h3 { font-size: 18px; line-height: 26px; font-weight: 800; }
::selection { background: var(--lilac-s); color: var(--ink); }
[hidden] { display: none !important; }
.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;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header);
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: none;
  text-decoration: none;
  min-width: 0;
}
.logo:hover { text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--lilac);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: inset 0 -2px 0 var(--wood);
  flex: none;
}
.logo-text { font-weight: 800; font-size: 16px; line-height: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 6px; flex: none; }
.nav-links a {
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  padding: 6px 12px;
  border-radius: var(--r-btn);
}
.nav-links a:hover { background: var(--bg); text-decoration: none; }
.nav-links a.active { background: var(--lilac-s); color: var(--lilac); }
.search { position: relative; flex: 1; min-width: 0; }
.search svg {
  position: absolute;
  left: 12px;
  top: 10px;
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
}
.search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: #fff;
  color: var(--ink);
  padding: 0 12px 0 38px;
  transition: border-color .18s ease, background .18s ease;
}
.search input.is-error { border-color: var(--danger); background: #fff7fb; }
.search input.is-ok { border-color: var(--lilac); background: var(--lilac-s); }
.switches { display: flex; align-items: center; gap: 8px; flex: none; }
.seg {
  display: flex;
  background: var(--bg);
  border-radius: var(--r-btn);
  padding: 3px;
  border: 1px solid var(--line);
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: var(--r-btn);
  padding: 4px 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 20px;
}
.seg button.is-on { background: var(--lilac); color: #fff; }
.seg button:hover { color: var(--ink); }
.seg button.is-on:hover { color: #fff; }
.seg button:active { transform: translateY(1px); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-btn);
  height: 40px;
  padding: 0 14px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.nav-toggle:hover { border-color: var(--lilac); color: var(--lilac); }
.nav-toggle:active { transform: translateY(1px); }
.nav-toggle[aria-expanded="true"] { background: var(--lilac-s); color: var(--lilac); border-color: transparent; }
.backdrop { display: none; }
.page-shell {
  display: grid;
  grid-template-columns: var(--side) minmax(0, 1fr);
  align-items: start;
}
.page-main { min-width: 0; }
.docs {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow: auto;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 18px 12px 28px;
  z-index: 35;
}
.docs::-webkit-scrollbar { width: 8px; }
.docs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.docs-label {
  margin: 4px 10px 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
}
.docs a {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 2px;
}
.docs a:hover { background: var(--bg); text-decoration: none; }
.docs a.current { background: var(--lilac-s); color: var(--lilac); font-weight: 700; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: var(--pad) 0; background: var(--bg); }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: 28px; line-height: 36px; font-weight: 800; letter-spacing: -0.02em; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.btn, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--r-btn);
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-decoration: none;
}
.btn { background: var(--blue); color: #fff; border: 0; }
.btn:hover { background: var(--blue-d); color: #fff; transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-line { background: #fff; color: var(--blue-d); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--blue-d); color: var(--blue-d); transform: translateY(-1px); text-decoration: none; }
.btn-line:active { transform: translateY(0); }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--r-btn);
  background: var(--lilac-s);
  color: var(--lilac);
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.badge.warm { background: #F8F1E6; color: #8A6230; }
.badge.blue { background: #E8F0FF; color: var(--blue-d); }
.aux { color: var(--muted); font-size: 13px; line-height: 20px; }
.lead { margin-top: 16px; max-width: 68ch; color: var(--muted); }
.deck { color: var(--muted); margin: -6px 0 18px; max-width: 62ch; }
.doc-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.doc-mark { width: 48px; height: 48px; flex: none; }
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
.doc-meta strong { color: var(--ink); font-weight: 800; }
.dochead h1 {
  border-left: 2px solid var(--wood);
  padding-left: 14px;
}
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.empty-note { margin-top: 14px; color: var(--danger); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-top: 2px solid var(--wood);
  transition: transform .18s ease, border-color .18s ease;
}
.step:nth-child(odd) { margin-right: 36px; }
.step:nth-child(even) { margin-left: 48px; }
.step:hover { transform: translateY(-2px); }
.jersey {
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  width: 56px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px 10px 12px 12px;
  background: var(--lilac);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--wood);
  flex: none;
}
.jersey.idx { width: 44px; height: 36px; font-size: 16px; box-shadow: inset 0 -2px 0 var(--wood); }
.step-body { min-width: 0; }
.step-body h3 { margin-bottom: 6px; }
.step-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.sample {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
}
body.ver-sub .only-raw { display: none; }
body.ver-raw .only-sub { display: none; }
body.lang-sc .col-sc, body.lang-tc .col-tc { box-shadow: 0 0 0 2px var(--lilac), var(--shadow); }
body.lang-sc .line-tc, body.lang-tc .line-sc { opacity: .72; }
.meter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.meter span {
  text-align: center;
  font-size: 13px;
  line-height: 20px;
  padding: 8px 4px;
  border-radius: var(--r-btn);
  background: var(--bg);
  color: var(--muted);
  border-top: 2px solid var(--wood);
}
.meter span.on { background: #E8F0FF; color: var(--blue-d); font-weight: 800; }
.meter-note { margin-top: 8px; }
.fault-list { display: grid; gap: 14px; }
.fault {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  padding: 0;
  transition: transform .18s ease;
}
.fault:hover { transform: translateY(-2px); }
.phen, .fix { padding: 18px 20px; min-width: 0; }
.fix { background: var(--lilac-s); border-left: 2px solid var(--wood); }
.fault-title { font-weight: 800; margin: 8px 0 6px; }
.terms {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
  margin: 0;
}
.term { padding: 18px 20px; transition: transform .18s ease; }
.term:hover { transform: translateY(-2px); }
.term:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px 22px;
  align-items: center;
}
.term dt { font-weight: 800; font-size: 18px; line-height: 26px; }
.term dd { margin: 0; color: var(--muted); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-h { margin: 0; font-size: inherit; line-height: inherit; font-weight: inherit; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 16px 4px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
  line-height: 26px;
}
.faq-q span { min-width: 0; }
.faq-q svg { width: 18px; height: 18px; flex: none; transition: transform .18s ease; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-q:hover { color: var(--lilac); }
.faq-a { padding: 0 8px 16px 4px; max-width: 70ch; }
.ver-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 18px; align-items: start; }
.ver-card { padding: 22px 22px 10px; transition: transform .18s ease, box-shadow .18s ease; }
.ver-card:hover { transform: translateY(-2px); }
body.ver-sub .ver-card.is-sub,
body.ver-raw .ver-card.is-raw { box-shadow: 0 0 0 2px var(--lilac), var(--shadow); }
.ver-card ul { margin: 12px 0 8px; padding: 0; list-style: none; }
.ver-card li {
  position: relative;
  padding: 10px 0 10px 16px;
  border-top: 1px solid var(--line);
  line-height: 26px;
}
.ver-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lilac);
}
.list-card { padding: 6px 22px; }
.news-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.news-item:last-child { border-bottom: 0; }
.news-item h3 { margin-bottom: 4px; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--lilac); }
.feedback-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-top: 2px solid var(--wood);
}
.feedback-inner p { margin-top: 8px; color: var(--muted); max-width: 52ch; }
.hero-grid, .split, .entry-grid, .compare, .news-grid, .contact-grid, .device-grid { display: grid; gap: 22px; }
.hero-grid { grid-template-columns: 1.25fr .75fr; align-items: stretch; }
.entry-grid { grid-template-columns: 7fr 5fr; }
.spec-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; gap: 28px; }
.site-footer h2 { font-size: 16px; line-height: 24px; margin: 0 0 12px; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--lilac); }
.site-footer .aux { margin-top: 8px; }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}
.legal a { color: var(--lilac); }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (max-width: 1200px) {
  :root { --side: 220px; }
  .logo-text { font-size: 15px; }
  .topbar { height: auto; min-height: var(--header); flex-wrap: wrap; row-gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .ver-grid { gap: 16px; }
  .step:nth-child(odd) { margin-right: 16px; }
  .step:nth-child(even) { margin-left: 24px; }
}
@media (max-width: 1024px) {
  .fault { grid-template-columns: 1fr 1fr; }
  .doc-meta { gap: 8px; }
}
@media (max-width: 992px) {
  .page-shell { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .logo { order: 1; }
  .nav-toggle { order: 2; margin-left: auto; }
  .nav-links { order: 3; flex: 1 0 100%; overflow-x: auto; }
  .search { order: 4; flex: 1 1 100%; }
  .switches { order: 5; }
  .docs {
    position: fixed;
    left: 0;
    width: min(280px, 86vw);
    transform: translateX(-105%);
    visibility: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s ease;
  }
  body.drawer-open .docs { transform: translateX(0); visibility: visible; }
  body.drawer-open .backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(28, 36, 48, .28);
    z-index: 30;
  }
}
@media (min-width: 993px) {
  .backdrop { display: none !important; }
}
@media (max-width: 768px) {
  :root { --pad: 40px; }
  h1 { font-size: 32px; line-height: 40px; }
  .section h2, h2 { font-size: 24px; line-height: 32px; }
  .btn, .btn-line { width: 100%; }
  .doc-actions, .feedback-inner { flex-direction: column; align-items: stretch; }
  .step, .step:nth-child(odd), .step:nth-child(even) { margin-left: 0; margin-right: 0; }
  .fault, .terms, .ver-grid, .foot-grid { grid-template-columns: 1fr; }
  .term:first-child { grid-template-columns: 1fr; }
  .fix { border-left: 0; border-top: 2px solid var(--wood); }
  .hero-grid, .entry-grid, .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .topbar { padding-left: 12px; padding-right: 12px; gap: 8px; }
  h1 { font-size: 30px; line-height: 38px; }
  .logo-text { font-size: 13px; line-height: 18px; }
  .meter { grid-template-columns: 1fr 1fr; }
  .step { flex-direction: column; }
  .switches { width: 100%; }
  .seg { flex: 1; }
  .seg button { flex: 1; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .doc-kicker { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.faq-a[hidden]{display:block !important}
