/* roulang page: index */
:root {
  --bg: #1C1422;
  --bg-2: #2A1C30;
  --panel: #34243C;
  --ink: #F6F0E6;
  --muted: #C9B8C4;
  --primary: #8D6AAD;
  --accent: #2F8F7A;
  --warm: #E3A36A;
  --line: #6E5878;
  --danger: #A85B78;
  --shadow: 0 14px 30px rgba(80, 40, 110, 0.28);
  --radius: 16px;
  --pill: 999px;
  --space: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  color-scheme: dark;
}
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--warm); }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(227, 163, 106, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 2px; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(28, 20, 34, 0.45);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--warm); }
.crest {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--warm);
  transform: rotate(45deg);
  position: relative;
  box-shadow: inset 0 0 0 4px rgba(47, 143, 122, 0.35);
}
.crest::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--primary);
}
.brand-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--warm); border-bottom-color: var(--warm); }
.nav-links a[aria-current="page"] { color: var(--warm); border-bottom-color: var(--warm); }
.adult-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--danger);
  color: #F6D5DE;
  background: rgba(168, 91, 120, 0.16);
  border-radius: var(--pill);
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.progress-wrap { padding: 0 0 14px; }
.progress { display: flex; gap: 10px; }
.progress-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 12px;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.progress-step:hover { color: var(--ink); border-color: var(--warm); }
.progress-step .num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--warm);
  color: var(--warm);
  font-size: 12px;
  flex: 0 0 auto;
}
.progress-step.is-current {
  background: var(--warm);
  color: #2A1C18;
  border-color: var(--warm);
  font-weight: 700;
}
.progress-step.is-current .num {
  background: #2A1C18;
  color: var(--warm);
  border-color: #2A1C18;
}
.progress-step.is-done { border-color: var(--accent); color: var(--ink); }
.progress-step.is-done .num { border-color: var(--accent); color: var(--accent); }
main > section { padding: var(--space) 0; }
main > section:nth-child(odd) { background: var(--bg); }
main > section:nth-child(even) { background: var(--bg-2); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.kicker {
  color: var(--warm);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
h1 { font-size: 40px; line-height: 1.25; font-weight: 760; }
h2 { font-size: 30px; line-height: 1.35; font-weight: 740; }
h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 10px;
  background: var(--warm);
}
h3 { font-size: 18px; line-height: 1.45; font-weight: 700; }
.subhead { margin-top: 12px; font-size: 18px; color: var(--ink); }
.lead { margin-top: 12px; color: var(--muted); max-width: 70ch; }
.hero-grid, .compare-grid, .entry-grid, .form-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}
.metric-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 12px;
}
.metric, .panel, .tile, .topic, .guard-item, .qa-item, .step, .faq-item, .entry-main, .soon, .review, .form-panel, .scene, .node, .news-wrap {
  position: relative;
  background-color: var(--panel);
  background-image:
    linear-gradient(var(--warm), var(--warm)) left 8px top 8px / 12px 1px no-repeat,
    linear-gradient(var(--warm), var(--warm)) left 8px top 8px / 1px 12px no-repeat,
    linear-gradient(var(--warm), var(--warm)) right 8px top 8px / 12px 1px no-repeat,
    linear-gradient(var(--warm), var(--warm)) right 8px top 8px / 1px 12px no-repeat,
    linear-gradient(var(--warm), var(--warm)) left 8px bottom 8px / 12px 1px no-repeat,
    linear-gradient(var(--warm), var(--warm)) left 8px bottom 8px / 1px 12px no-repeat,
    linear-gradient(var(--warm), var(--warm)) right 8px bottom 8px / 12px 1px no-repeat,
    linear-gradient(var(--warm), var(--warm)) right 8px bottom 8px / 1px 12px no-repeat,
    repeating-linear-gradient(-45deg, rgba(110, 88, 120, 0.28) 0 1px, transparent 1px 13px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.metric { padding: 16px 16px 14px; min-height: 112px; }
.metric:first-child { grid-column: 1 / -1; min-height: 132px; }
.metric:last-child { grid-column: 1 / -1; }
.metric b {
  display: block;
  margin-top: 6px;
  font-size: 40px;
  line-height: 1.1;
  color: var(--warm);
  font-weight: 760;
}
.metric span, .tiny { color: var(--muted); font-size: 14px; }
.panel { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.zone-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag, .badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 3px 10px;
  color: var(--ink);
  background: rgba(28, 20, 34, 0.35);
  font-size: 13px;
}
.tag-accent { border-color: var(--accent); color: #D7F3EB; }
.hero-actions, .entry-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary { background: var(--primary); color: var(--ink); }
.btn-primary:hover { background: #9B78BE; color: var(--ink); transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--warm); border-color: var(--warm); }
.btn-line:hover { background: rgba(227, 163, 106, 0.12); color: var(--warm); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.tile {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 18px;
  min-height: 180px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.tile:hover { transform: translateY(-3px); border-color: var(--warm); color: var(--ink); }
.tile-eu { grid-column: span 7; }
.tile-jk { grid-column: span 5; }
.tile-a { grid-column: span 3; }
.tile-b { grid-column: span 5; }
.tile-c { grid-column: span 4; }
.tile .badge { margin-bottom: 10px; }
.tile p, .topic p, .scene p, .node p, .guard-item p, .soon p, .review p { color: var(--muted); margin-top: 8px; }
.time-scroll, .mile-scroll { overflow-x: auto; padding-bottom: 6px; }
.timebar, .mile-grid {
  display: flex;
  gap: 14px;
  min-width: 860px;
  position: relative;
}
.timebar::before, .mile-grid::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  height: 1px;
  background: var(--line);
}
.scene, .node { flex: 1; min-width: 210px; padding: 16px; }
.when, .node-no {
  display: inline-grid;
  place-items: center;
  min-width: 64px;
  height: 28px;
  padding: 0 8px;
  border-radius: var(--pill);
  background: var(--warm);
  color: #2A1C18;
  font-size: 13px;
  font-weight: 740;
  position: relative;
  z-index: 1;
}
.node-no { min-width: 36px; }
.compare-col { display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 92px 1fr 48px; gap: 10px; align-items: center; }
.bar {
  height: 8px;
  border-radius: var(--pill);
  background: #241828;
  border: 1px solid var(--line);
  overflow: hidden;
}
.bar span { display: block; height: 100%; width: var(--w); background: var(--accent); }
.bar.warm span { background: var(--warm); }
.zone-note {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.zone-note article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(28, 20, 34, 0.35);
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.topic { grid-column: span 2; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; padding: 16px; min-height: 220px; }
.topic:nth-child(1), .topic:nth-child(6) { grid-column: span 3; }
.topic:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.ph {
  margin-top: auto;
  min-height: 84px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(141, 106, 173, 0.45), rgba(47, 143, 122, 0.2)),
    repeating-linear-gradient(135deg, rgba(246, 240, 230, 0.12) 0 1px, transparent 1px 11px);
}
.news-wrap { padding: 8px 18px 18px; }
.news-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.news-item time { color: var(--warm); font-weight: 700; }
.news-item h3 { font-size: 17px; }
.news-item p { color: var(--muted); }
.more-row { display: flex; justify-content: flex-start; margin-top: 16px; }
.guard, .qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guard-item, .qa-item, .step { padding: 18px; }
.index-no { color: var(--warm); font-weight: 760; font-size: 13px; letter-spacing: 0.06em; }
.qa-item { border-left: 3px solid var(--accent); }
.qa-item:nth-child(even) { border-left-color: var(--warm); }
.qa-item h3, .faq-item summary { font-size: 17px; }
.steps { display: grid; gap: 14px; max-width: 860px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; }
.step-no {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--warm);
  color: var(--warm);
  font-weight: 760;
}
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--warm); font-size: 22px; line-height: 1; }
.faq-item[open] summary { color: var(--warm); }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--warm); }
.faq-item p { padding: 0 18px 16px; color: var(--muted); }
.entry-main { padding: 22px; }
.soon-list { display: grid; gap: 10px; }
.soon { padding: 14px 16px; opacity: 0.78; }
.soon b { display: block; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.review {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 18px;
  min-height: 180px;
}
.review:nth-child(2) { margin-top: 28px; }
.review:hover { border-color: var(--accent); color: var(--ink); }
.review footer { margin-top: 14px; color: var(--warm); font-size: 13px; }
.form-panel { padding: 22px; }
.form-grid label, .field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.form-grid .wide { grid-column: 1 / -1; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #241828;
  padding: 12px 14px;
  outline: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--warm); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 12px;
  cursor: pointer;
}
.radio:has(input:checked) { background: var(--primary); border-color: var(--primary); }
.radio input { width: auto; accent-color: var(--warm); }
.form-ok {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: rgba(47, 143, 122, 0.14);
}
.form-ok[hidden] { display: none; }
.site-footer {
  background: #140E18;
  border-top: 1px solid var(--line);
  padding: 36px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 22px;
}
.footer-brand { font-size: 18px; font-weight: 740; }
.site-footer p { color: var(--muted); margin-top: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copy {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1100px) {
  .container { width: min(1160px, calc(100% - 36px)); }
  h1 { font-size: 34px; }
  .tile-eu, .tile-jk { grid-column: span 6; }
}
@media (max-width: 1024px) {
  .hero-grid, .compare-grid, .entry-grid, .footer-grid { grid-template-columns: 1fr; }
  .review:nth-child(2) { margin-top: 0; }
}
@media (max-width: 768px) {
  main > section { padding: 40px 0; }
  .nav-row { align-items: flex-start; padding: 12px 0; }
  .nav-right { flex-direction: column; align-items: flex-end; gap: 8px; }
  .progress-wrap { overflow-x: auto; }
  .progress { width: max-content; min-width: 100%; }
  .progress-step { flex: 0 0 auto; }
  .bento, .topic-grid, .guard, .qa-grid, .zone-note, .review-grid, .form-grid, .metric-grid {
    grid-template-columns: 1fr;
  }
  .tile, .tile-eu, .tile-jk, .tile-a, .tile-b, .tile-c, .topic, .topic:nth-child(1), .topic:nth-child(6), .metric, .metric:first-child, .metric:last-child, .form-grid .wide {
    grid-column: auto;
  }
  .step { grid-template-columns: 52px 1fr; }
  .news-item { grid-template-columns: 72px 1fr; }
}
@media (max-width: 480px) {
  main > section { padding: 36px 0; }
  .container { width: calc(100% - 28px); }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .brand-name { font-size: 14px; }
  .btn, .hero-actions, .entry-actions { width: 100%; }
  .hero-actions, .entry-actions { flex-direction: column; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .nav-links { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --bg: #1C1422;
  --bg-2: #2A1C30;
  --panel: #34243C;
  --ink: #F6F0E6;
  --muted: #C9B8C4;
  --primary: #8D6AAD;
  --accent: #2F8F7A;
  --warm: #E3A36A;
  --line: #6E5878;
  --danger: #A85B78;
  --shadow: 0 14px 30px rgba(80, 40, 110, 0.28);
  --radius: 16px;
  --pill: 999px;
  --space: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  color-scheme: dark;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--warm); }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 36px; line-height: 1.28; letter-spacing: 0.01em; }
h2 { font-size: 28px; line-height: 1.35; }
h3 { font-size: 18px; line-height: 1.45; }
p + p { margin-top: 10px; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 2px; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(28, 20, 34, 0.45);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--warm); }
.crest {
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--warm);
  border-radius: 6px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 14px no-repeat,
    var(--panel);
}
.brand-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--warm); border-bottom-color: var(--warm); }
.nav-links a[aria-current="page"] { color: var(--warm); border-bottom-color: var(--warm); }
.adult-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--danger);
  color: #F6D5DE;
  background: rgba(168, 91, 120, 0.16);
  border-radius: var(--pill);
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.progress-wrap { border-top: 1px solid rgba(110, 88, 120, 0.45); }
.progress {
  display: flex;
  gap: 10px;
  padding: 10px 0 14px;
}
.progress-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 6px 12px;
  background: transparent;
  white-space: nowrap;
}
.progress-step:hover { color: var(--warm); border-color: var(--warm); }
.progress-step .num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--warm);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.progress-step.is-current {
  background: var(--warm);
  color: #1C1422;
  border-color: var(--warm);
}
.progress-step.is-current .num { border-color: #1C1422; color: #1C1422; }
main > section { padding: var(--space) 0; }
main > section:nth-child(odd) { background: var(--bg); }
main > section:nth-child(even) { background: var(--bg-2); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.lead { margin-top: 12px; color: var(--muted); max-width: 70ch; }
.panel, .item, .scope-row, .rhythm-node, .related-item, .faq-item, .form-panel, .cat-summary {
  position: relative;
  background-color: var(--panel);
  background-image:
    linear-gradient(var(--warm), var(--warm)) left 8px top 8px / 12px 1px no-repeat,
    linear-gradient(var(--warm), var(--warm)) left 8px top 8px / 1px 12px no-repeat,
    linear-gradient(var(--warm), var(--warm)) right 8px top 8px / 12px 1px no-repeat,
    linear-gradient(var(--warm), var(--warm)) right 8px top 8px / 1px 12px no-repeat,
    linear-gradient(var(--warm), var(--warm)) left 8px bottom 8px / 12px 1px no-repeat,
    linear-gradient(var(--warm), var(--warm)) left 8px bottom 8px / 1px 12px no-repeat,
    linear-gradient(var(--warm), var(--warm)) right 8px bottom 8px / 12px 1px no-repeat,
    linear-gradient(var(--warm), var(--warm)) right 8px bottom 8px / 1px 12px no-repeat,
    repeating-linear-gradient(-45deg, rgba(110, 88, 120, 0.28) 0 1px, transparent 1px 13px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tag, .badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 3px 10px;
  color: var(--ink);
  background: rgba(28, 20, 34, 0.35);
  font-size: 13px;
}
.tag-accent { border-color: var(--accent); color: #D7F3EB; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary { background: var(--primary); color: var(--ink); }
.btn-primary:hover { background: #9B78BE; color: var(--ink); transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--warm); border-color: var(--warm); }
.btn-line:hover { background: rgba(227, 163, 106, 0.12); color: var(--warm); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.cat-head {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 22px;
  align-items: stretch;
}
.kicker {
  color: var(--warm);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.cat-summary { padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.count-line { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.count-line:last-child { border-bottom: 0; }
.count-line b { color: var(--warm); font-size: 22px; font-weight: 700; }
.count-line span { color: var(--muted); }
.filter-board { display: grid; gap: 14px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { min-width: 72px; color: var(--muted); }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: var(--pill);
  min-height: 36px;
  padding: 0 14px;
  cursor: default;
}
.chip.is-on { background: var(--warm); color: #1C1422; border-color: var(--warm); }
.catalog { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.item { padding: 16px; transition: transform 0.18s ease, border-color 0.18s ease; }
.item:hover { transform: translateY(-2px); border-color: var(--warm); }
.ph {
  height: 92px;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-bottom: 12px;
  background:
    linear-gradient(180deg, rgba(141, 106, 173, 0.35), rgba(47, 143, 122, 0.18)),
    repeating-linear-gradient(90deg, rgba(227, 163, 106, 0.18) 0 8px, transparent 8px 18px);
}
.item-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.item p { color: var(--muted); }
.more-row { display: flex; justify-content: flex-start; margin-top: 16px; }
.scope-list { display: grid; gap: 10px; }
.scope-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 18px;
  align-items: start;
}
.term { color: var(--warm); font-weight: 700; }
.def { color: var(--muted); }
.rhythm { display: grid; gap: 0; position: relative; max-width: 760px; }
.rhythm::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--line);
}
.rhythm-node {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.dot {
  width: 22px;
  height: 22px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--warm);
  color: #1C1422;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.rhythm-node p { color: var(--muted); margin-top: 6px; }
.related-list { display: grid; gap: 12px; }
.related-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  color: var(--ink);
  text-decoration: none;
}
.related-item:hover { border-color: var(--accent); color: var(--warm); }
.related-item p { color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--warm); font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item:hover summary, .faq-item summary:focus { color: var(--warm); }
.faq-item p { color: var(--muted); padding: 0 18px 16px; }
.form-panel { padding: 22px; }
.form-grid { display: grid; gap: 14px; max-width: 720px; }
.field { display: grid; gap: 6px; }
.field span { color: var(--muted); }
input, textarea {
  width: 100%;
  background: #241828;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
textarea { min-height: 110px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-ok {
  margin-top: 14px;
  border: 1px solid var(--accent);
  color: #D7F3EB;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(47, 143, 122, 0.12);
}
.site-footer {
  background: #140e18;
  border-top: 1px solid var(--line);
  padding: 36px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr;
  gap: 22px;
}
.footer-brand { font-weight: 700; margin-bottom: 8px; }
.site-footer p { color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--warm); }
.copy {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 1100px) {
  .container { width: min(1160px, calc(100% - 32px)); }
  .cat-head { grid-template-columns: 1.2fr 0.8fr; }
}
@media (max-width: 1024px) {
  h1 { font-size: 32px; }
  .related-item { grid-template-columns: 96px 1fr; }
  .related-item .go { grid-column: 2; }
}
@media (max-width: 768px) {
  :root { --space: 40px; }
  .nav-row { flex-wrap: wrap; min-height: 0; padding: 12px 0; }
  .nav-right { width: 100%; justify-content: space-between; }
  .progress-wrap { overflow-x: auto; }
  .progress { width: max-content; min-width: 100%; }
  .cat-head, .catalog, .footer-grid, .scope-row { grid-template-columns: 1fr; }
  .related-item { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .container { width: min(1160px, calc(100% - 24px)); }
  .brand-name { font-size: 14px; }
  .nav-links { gap: 12px; }
  .btn, .form-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .adult-badge { display: none; }
}
