/* roulang page: index */
:root {
  --bg: #F5F8FC;
  --card: #FFFFFF;
  --ink: #1A2332;
  --muted: #5C6B80;
  --primary: #3B6FE0;
  --primary-hover: #2A56B8;
  --accent: #E36A8A;
  --line: #E3EAF3;
  --soft: #EEF4FC;
  --shadow: 0 8px 24px rgba(36, 74, 140, 0.08);
  --shadow-hover: 0 14px 32px rgba(36, 74, 140, 0.14);
  --radius: 16px;
  --radius-btn: 12px;
  --container: 1160px;
  --header: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.page {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input, textarea { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: 0; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(36, 74, 140, 0.04);
}
.nav-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 0 1 auto; }
.brand-mark {
  width: 36px; height: 36px; flex: none;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.brand-name { font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--primary); background: var(--soft); }
.nav-links a.active { color: var(--primary); background: var(--soft); font-weight: 700; }
.nav-links a:focus-visible, .btn:focus-visible, .nav-toggle:focus-visible, .search-inline input:focus-visible, .field input:focus-visible, .field textarea:focus-visible, .faq-item summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.nav-tools { display: flex; align-items: center; gap: 10px; }
.search-inline {
  display: flex; align-items: center; gap: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
}
.search-inline input {
  width: 148px;
  border: 0; outline: 0; background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.search-inline input::placeholder { color: #8A97A8; }
.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;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active, .btn-ghost:active { transform: translateY(1px); }
.btn-ghost { background: #fff; color: var(--primary); border-color: #D5E2F8; }
.btn-ghost:hover { background: var(--soft); }
.btn-block { width: 100%; min-height: 48px; border-radius: var(--radius-btn); }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-panel { display: contents; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg); }
.section-white { background: #fff; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 12px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 111, 224, 0.16);
}
.hero-title { font-size: 40px; line-height: 48px; max-width: 640px; }
.section-title { font-size: 28px; line-height: 36px; }
.card-title { font-size: 20px; line-height: 28px; }
.lead { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 760px; }
.subline { margin-top: 14px; color: var(--ink); font-size: 16px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 36px; align-items: center; }
.hero-copy .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 16px;
}
.shot { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 16px; background: var(--soft); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.stat-chip {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.stat-chip b { display: block; font-size: 20px; line-height: 1.3; color: var(--ink); }
.stat-chip span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.score-card, .card, .side-card, .scene-card, .gate-card, .pick-card, .faq-item, .step-card, .qa-card, .news-item, .chip-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.score-card { padding: 22px 20px; transition: transform .2s ease, box-shadow .2s ease; }
.score-card:hover, .card:hover, .side-card:hover, .scene-card:hover, .gate-card:hover, .pick-card:hover, .qa-card:hover, .news-item:hover, .chip-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.score-num { font-size: 36px; line-height: 1.15; color: var(--primary); font-weight: 800; }
.score-label { margin-top: 8px; color: var(--ink); font-weight: 700; font-size: 15px; }
.score-note { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.matrix { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 18px; margin-top: 28px; }
.card, .side-card { padding: 24px; }
.side-stack { display: grid; gap: 18px; }
.badge {
  display: inline-flex; align-items: center;
  min-height: 26px; padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 12px; font-weight: 700;
  border: 1px solid #D9E5F8;
}
.badge-accent { background: rgba(227, 106, 138, 0.12); color: #C24B6E; border-color: rgba(227, 106, 138, 0.28); }
.badge-ok { background: #EAF8F0; color: #1F8A4C; border-color: #CDEBD8; }
.card p, .side-card p, .scene-card p, .gate-card p, .pick-card p, .qa-card p, .step-card p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.compare-wrap { margin-top: 28px; display: grid; grid-template-columns: 1fr 72px 1fr; gap: 12px; align-items: stretch; }
.compare-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.compare-col h3 { font-size: 20px; line-height: 28px; }
.bar { height: 10px; border-radius: 999px; background: var(--soft); margin-top: 16px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--primary); border-radius: inherit; }
.bar.thin span { width: 38%; background: #B7C6DE; }
.bar.full span { width: 92%; }
.compare-mid { display: grid; place-items: center; color: var(--muted); font-size: 13px; font-weight: 700; }
.conclusion {
  margin-top: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 14px;
}
.scene-rail { margin-top: 28px; display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.scene-card { flex: 0 0 280px; scroll-snap-align: start; padding: 22px; min-height: 210px; }
.scene-card:nth-child(2) { flex-basis: 340px; }
.scene-card:nth-child(4) { flex-basis: 380px; }
.scene-card a { display: inline-flex; margin-top: 16px; color: var(--primary); font-weight: 700; font-size: 14px; }
.timeline { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.timeline::before {
  content: "";
  position: absolute; left: 24px; right: 24px; top: 28px;
  height: 2px; background: #D5E2F8;
}
.node { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.node-index {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  margin-bottom: 12px;
}
.node p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.gate-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gate-card { padding: 28px; min-height: 240px; display: flex; flex-direction: column; }
.gate-card .btn { margin-top: auto; align-self: flex-start; }
.news-layout { margin-top: 28px; display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.news-list { display: grid; gap: 12px; }
.news-item { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 16px 18px; }
.news-date { color: var(--primary); font-weight: 800; font-size: 14px; }
.news-item p { margin-top: 4px; }
.more-row { margin-top: 16px; display: flex; justify-content: flex-end; }
.assure-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.assure-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.assure-ico {
  width: 36px; height: 36px; flex: none; border-radius: 12px;
  background: var(--soft); color: var(--primary);
  display: grid; place-items: center; font-weight: 800;
}
.assure-item strong { display: block; font-size: 15px; }
.assure-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.step-list { margin-top: 28px; display: grid; gap: 14px; }
.step-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 20px; align-items: start; }
.pill-num {
  min-width: 54px; height: 32px; padding: 0 12px;
  border-radius: 999px; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.qa-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qa-card { padding: 20px 22px; }
.qa-card h3 { font-size: 18px; line-height: 1.5; }
.pick-grid { margin-top: 28px; columns: 2; column-gap: 16px; }
.pick-card { break-inside: avoid; margin-bottom: 16px; padding: 20px; display: block; }
.pick-card:nth-child(2), .pick-card:nth-child(5) { padding-bottom: 32px; }
.meta-bar {
  margin-top: 14px;
  display: flex; justify-content: space-between; gap: 8px;
  border-top: 1px solid var(--line); padding-top: 10px;
  color: var(--muted); font-size: 13px;
}
.faq-list { margin-top: 28px; display: grid; gap: 12px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 20px; font-weight: 700; font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; float: right; color: var(--primary); font-weight: 800; }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { padding: 0 20px 18px; }
.rhythm-box {
  margin-top: 22px;
  display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 12px;
}
.rhythm-note, .rhythm-point {
  background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.rhythm-point strong { display: block; }
.rhythm-point span, .rhythm-note { color: var(--muted); font-size: 14px; line-height: 1.7; }
.form-card { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; padding: 12px 14px; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-tip { min-height: 24px; margin-top: 12px; color: var(--primary); font-size: 14px; font-weight: 700; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 42px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer-title { font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--primary); }
.copyright { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.age { color: var(--accent); font-weight: 800; }
@media (max-width: 1280px) {
  .container { width: min(1120px, calc(100% - 36px)); }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-panel { display: none; }
  .nav-panel.open {
    display: flex; flex-direction: column; gap: 12px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 18px 18px; box-shadow: var(--shadow);
  }
  .nav-panel.open .nav-links { display: flex; flex-direction: column; align-items: stretch; margin: 0; }
  .nav-panel.open .nav-tools { flex-direction: column; align-items: stretch; }
  .search-inline input { width: 100%; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .hero-grid, .matrix, .news-layout, .gate-grid, .compare-wrap { grid-template-columns: 1fr; }
  .compare-mid { min-height: 28px; }
  .board-grid, .assure-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .rhythm-box { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .qa-grid, .form-grid, .pick-grid { display: block; }
  .pick-card { margin-bottom: 12px; }
  .news-item { grid-template-columns: 72px 1fr; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  .hero-title { font-size: 28px; line-height: 36px; }
  .section-title { font-size: 24px; line-height: 32px; }
  .board-grid, .assure-grid, .timeline, .rhythm-box, .footer-grid, .qa-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .hero-actions .btn, .gate-card .btn { width: 100%; }
  .copyright { flex-direction: column; }
}

/* roulang page: category1 */
:root {
  --bg: #F5F8FC;
  --card: #FFFFFF;
  --ink: #1A2332;
  --muted: #5C6B80;
  --primary: #3B6FE0;
  --primary-hover: #2A56B8;
  --accent: #E36A8A;
  --line: #E3EAF3;
  --soft: #EEF4FC;
  --shadow: 0 8px 24px rgba(36, 74, 140, 0.08);
  --shadow-hover: 0 14px 32px rgba(36, 74, 140, 0.14);
  --radius: 16px;
  --radius-btn: 12px;
  --container: 1160px;
  --header: 72px;
}
/* roulang page: category1 */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body.page {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; height: auto; }
button, input, textarea { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(36, 74, 140, 0.04);
}
.nav-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 0 1 auto; }
.brand-mark {
  width: 36px; height: 36px; flex: none;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.brand-name { font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--primary); background: var(--soft); }
.nav-links a.active { color: var(--primary); background: var(--soft); font-weight: 700; }
.nav-links a:focus-visible, .btn:focus-visible, .nav-toggle:focus-visible, .search-inline input:focus-visible, .faq-item summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.nav-tools { display: flex; align-items: center; gap: 10px; }
.search-inline {
  display: flex; align-items: center; gap: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
}
.search-inline input {
  width: 148px;
  border: 0; outline: 0; background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.search-inline input::placeholder { color: #8A97A8; }
.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;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active, .btn-ghost:active { transform: translateY(1px); }
.btn-ghost { background: #fff; color: var(--primary); border-color: #D5E2F8; }
.btn-ghost:hover { background: var(--soft); }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-panel { display: contents; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg); }
.section-white { background: #fff; }
.section-title { font-size: 28px; line-height: 36px; font-weight: 700; }
.card-title { font-size: 20px; line-height: 28px; font-weight: 700; }
.lead { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 760px; }
.score-note { color: var(--muted); font-size: 14px; line-height: 1.7; }
.badge {
  display: inline-flex; align-items: center;
  min-height: 26px; padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 12px; font-weight: 700;
  border: 1px solid #D9E5F8;
  white-space: nowrap;
}
.badge-accent { background: rgba(227, 106, 138, 0.12); color: #C24B6E; border-color: rgba(227, 106, 138, 0.28); }
.badge-ok { background: #EAF8F0; color: #1F8A4C; border-color: #CDEBD8; }
.page-head { padding: 48px 0 36px; }
.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 28px;
  align-items: end;
}
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 111, 224, 0.15);
}
.page-title { font-size: 40px; line-height: 48px; font-weight: 800; max-width: 720px; }
.filter-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.filter-label { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.filter-pill span { color: var(--muted); font-weight: 500; }
.result-section { padding: 0 0 8px; background: var(--bg); }
.result-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
}
.result-count { font-size: 18px; line-height: 28px; font-weight: 800; }
.result-count b { color: var(--primary); font-size: 28px; line-height: 1; margin-right: 6px; }
.result-meta { color: var(--muted); font-size: 14px; }
.update-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 8px;
}
.update-list { margin-top: 8px; }
.update-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, transform .2s ease;
}
.update-row:hover { background: rgba(255,255,255,.72); }
.update-date {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.update-main h3 { font-size: 18px; line-height: 1.45; font-weight: 700; }
.update-main h3 a { transition: color .2s ease; }
.update-main h3 a:hover { color: var(--primary); }
.update-main p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.list-more { display: flex; justify-content: center; margin-top: 22px; }
.compare-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 28px;
}
.abstract-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.abstract-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.abstract-note { color: var(--muted); font-size: 14px; line-height: 1.7; }
.chip-stack { display: flex; flex-direction: column; gap: 14px; }
.chip-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.chip-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.chip-index {
  width: 72px; height: 72px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--primary);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 18px;
}
.chip-card h3 { font-size: 18px; line-height: 1.4; }
.chip-card p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.chip-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.rhythm { margin-top: 28px; position: relative; }
.rhythm-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
.rhythm-line::before {
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: 28px;
  height: 2px;
  background: #D5E2F8;
}
.rhythm-node {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px 16px;
  min-height: 168px;
}
.rhythm-node:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); transition: transform .2s ease, box-shadow .2s ease; }
.node-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #D5E2F8;
  margin-bottom: 14px;
}
.rhythm-node time { display: block; color: var(--primary); font-size: 13px; font-weight: 700; }
.rhythm-node h3 { margin-top: 6px; font-size: 18px; line-height: 1.4; }
.rhythm-node p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.step-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.num-pill {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
}
.step-card h3 { font-size: 20px; line-height: 28px; }
.step-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.step-card .btn { margin-top: auto; align-self: flex-start; }
.brief-layout {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
}
.brief-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.news-item time { color: var(--primary); font-size: 13px; font-weight: 700; }
.news-item h3 { font-size: 16px; line-height: 1.5; font-weight: 700; }
.news-item p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.qa-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 18px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: 6px; }
.faq-item p { padding: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 820px; }
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 0.9fr;
  gap: 28px;
}
.footer-title { font-weight: 800; margin-bottom: 12px; font-size: 15px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 14px; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--primary); }
.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(227, 106, 138, 0.12);
  color: #C24B6E;
  font-weight: 800;
  font-size: 12px;
}
.footer-links .age { align-self: flex-start; }
@media (max-width: 1280px) {
  .page-title { font-size: 36px; line-height: 44px; }
}
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .nav-panel {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 20px 16px;
    flex-direction: column;
    gap: 12px;
  }
  .nav-panel.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; margin-left: 0; }
  .nav-links a { padding: 10px 12px; }
  .nav-tools, .search-inline { width: 100%; }
  .search-inline input { flex: 1; width: auto; min-width: 0; }
  .page-head-grid, .compare-layout, .brief-layout, .step-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .brief-layout, .compare-layout { grid-template-columns: 1fr; }
  .rhythm-line { grid-template-columns: 1fr 1fr; }
  .rhythm-line::before { display: none; }
  .section { padding: 64px 0; }
  .page-title { font-size: 32px; line-height: 40px; }
}
@media (max-width: 768px) {
  .page-head-grid, .step-grid, .footer-grid, .rhythm-line { grid-template-columns: 1fr; }
  .chip-card { grid-template-columns: 64px minmax(0, 1fr); }
  .chip-side { align-items: flex-start; grid-column: 2; }
  .update-row, .news-item { grid-template-columns: 1fr; gap: 6px; }
  .result-strip { flex-direction: column; align-items: flex-start; }
  .page-title { font-size: 28px; line-height: 36px; }
  .section-title { font-size: 24px; line-height: 32px; }
}
@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .brand-name { font-size: 13px; }
  .section { padding: 48px 0; }
  .page-head { padding: 32px 0 24px; }
  .copyright { flex-direction: column; align-items: flex-start; }
  .filter-box { padding: 14px; }
}

/* roulang page: category2 */
:root {
 --bg: #F5F8FC;
 --card: #FFFFFF;
 --ink: #1A2332;
 --muted: #5C6B80;
 --primary: #3B6FE0;
 --primary-hover: #2A56B8;
 --accent: #E36A8A;
 --line: #E3EAF3;
 --soft: #EEF4FC;
 --shadow: 0 8px 24px rgba(36, 74, 140, 0.08);
 --shadow-hover: 0 14px 32px rgba(36, 74, 140, 0.14);
 --radius: 16px;
 --radius-btn: 12px;
 --container: 1160px;
 --header: 72px;
}
/* roulang page: category2 */
:root {
 --bg: #F5F8FC;
 --card: #FFFFFF;
 --ink: #1A2332;
 --muted: #5C6B80;
 --primary: #3B6FE0;
 --primary-hover: #2A56B8;
 --accent: #E36A8A;
 --line: #E3EAF3;
 --soft: #EEF4FC;
 --shadow: 0 8px 24px rgba(36, 74, 140, 0.08);
 --shadow-hover: 0 14px 32px rgba(36, 74, 140, 0.14);
 --radius: 16px;
 --radius-btn: 12px;
 --container: 1160px;
 --header: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.page {
 margin: 0;
 background: var(--bg);
 color: var(--ink);
 font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border: 0; }
button, input, textarea { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: #fff;
 border-bottom: 1px solid var(--line);
 box-shadow: 0 4px 16px rgba(36, 74, 140, 0.04);
}
.nav-bar {
 min-height: var(--header);
 display: flex;
 align-items: center;
 gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 0 1 auto; }
.brand-mark {
 width: 36px; height: 36px; flex: none;
 border-radius: 12px;
 background: var(--primary);
 color: #fff;
 display: grid; place-items: center;
 box-shadow: var(--shadow);
}
.brand-name { font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a {
 padding: 8px 12px;
 border-radius: 999px;
 color: var(--muted);
 font-size: 14px;
 line-height: 1.4;
 white-space: nowrap;
 transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--primary); background: var(--soft); }
.nav-links a.active { color: var(--primary); background: var(--soft); font-weight: 700; }
.nav-links a:focus-visible, .btn:focus-visible, .nav-toggle:focus-visible, .search-inline input:focus-visible, .field input:focus-visible, .field textarea:focus-visible, .faq-item summary:focus-visible, .index-group a:focus-visible, .narrow-card:focus-visible {
 outline: 2px solid var(--primary);
 outline-offset: 2px;
}
.nav-tools { display: flex; align-items: center; gap: 10px; }
.search-inline {
 display: flex; align-items: center; gap: 8px;
 background: var(--soft);
 border: 1px solid var(--line);
 border-radius: 999px;
 padding: 4px 4px 4px 14px;
}
.search-inline input {
 width: 148px;
 border: 0; outline: 0; background: transparent;
 color: var(--ink);
 font-size: 14px;
}
.search-inline input::placeholder { color: #8A97A8; }
.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;
 cursor: pointer;
 font-weight: 700;
 line-height: 1;
 transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active, .btn-ghost:active { transform: translateY(1px); }
.btn-ghost { background: #fff; color: var(--primary); border-color: #D5E2F8; }
.btn-ghost:hover { background: var(--soft); }
.btn-block { width: 100%; min-height: 48px; border-radius: var(--radius-btn); }
.nav-toggle {
 display: none;
 width: 42px; height: 42px;
 border-radius: 12px;
 border: 1px solid var(--line);
 background: #fff;
 color: var(--ink);
 cursor: pointer;
}
.nav-toggle:hover { background: var(--soft); }
.nav-panel { display: contents; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg); }
.section-white { background: #fff; }
.hero-title, .dir-title { font-size: 40px; line-height: 48px; font-weight: 800; margin: 0; letter-spacing: 0; }
.section-title { font-size: 28px; line-height: 36px; font-weight: 800; margin: 0; }
.card-title { font-size: 20px; line-height: 28px; font-weight: 700; margin: 0; }
.lead { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 760px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 36px; align-items: center; }
.hero-copy .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-panel {
 background: #fff;
 border: 1px solid var(--line);
 border-radius: 24px;
 box-shadow: var(--shadow);
 padding: 16px;
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.stat-chip {
 background: var(--soft);
 border: 1px solid var(--line);
 border-radius: 14px;
 padding: 12px;
}
.stat-chip b { display: block; font-size: 20px; line-height: 1.3; color: var(--ink); }
.stat-chip span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.score-card, .card, .side-card, .scene-card, .gate-card, .pick-card, .faq-item, .step-card, .qa-card, .news-item, .chip-card {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.score-card { padding: 22px 20px; transition: transform .2s ease, box-shadow .2s ease; }
.score-card:hover, .card:hover, .side-card:hover, .scene-card:hover, .gate-card:hover, .pick-card:hover, .qa-card:hover, .news-item:hover, .chip-card:hover, .dir-card:hover, .narrow-card:hover, .compare-card:hover {
 transform: translateY(-2px);
 box-shadow: var(--shadow-hover);
}
.card, .side-card { padding: 24px; }
.badge {
 display: inline-flex; align-items: center;
 min-height: 26px; padding: 0 10px;
 border-radius: 999px;
 background: var(--soft);
 color: var(--primary);
 font-size: 12px; font-weight: 700;
 border: 1px solid #D9E5F8;
}
.badge-accent { background: rgba(227, 106, 138, 0.12); color: #C24B6E; border-color: rgba(227, 106, 138, 0.28); }
.badge-ok { background: #EAF8F0; color: #1F8A4C; border-color: #CDEBD8; }
.card p, .side-card p, .scene-card p, .gate-card p, .pick-card p, .qa-card p, .step-card p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.compare-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.compare-col h3 { font-size: 20px; line-height: 28px; }
.scene-card { flex: 0 0 280px; scroll-snap-align: start; padding: 22px; min-height: 210px; }
.scene-card:nth-child(2) { flex-basis: 340px; }
.scene-card:nth-child(4) { flex-basis: 380px; }
.scene-card a { display: inline-flex; margin-top: 16px; color: var(--primary); font-weight: 700; font-size: 14px; }
.gate-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dot {
 width: 8px; height: 8px; border-radius: 50%;
 background: var(--primary); display: inline-block; flex: none;
}
.badge .dot { width: 6px; height: 6px; margin-right: 6px; }
.badge-ok .dot { background: #1F8A4C; }
.badge-accent .dot { background: var(--accent); }
.kicker { margin-bottom: 10px; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.dir-head { padding: 64px 0 56px; }
.dir-head-grid {
 display: grid;
 grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
 gap: 32px;
 align-items: end;
}
.summary-line {
 margin: 16px 0 0;
 padding: 12px 14px;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: 14px;
 color: var(--ink);
 font-size: 14px;
 line-height: 1.7;
 box-shadow: var(--shadow);
}
.summary-line strong { color: var(--primary); font-weight: 700; }
.count-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.count-pill {
 background: #fff;
 border: 1px solid var(--line);
 border-radius: 999px;
 padding: 10px 16px;
 box-shadow: var(--shadow);
 min-width: 132px;
}
.count-pill b { display: block; font-size: 20px; line-height: 1.2; color: var(--ink); }
.count-pill span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.index-bar {
 display: flex;
 gap: 12px;
 overflow-x: auto;
 padding-bottom: 4px;
 scroll-snap-type: x mandatory;
}
.index-group {
 flex: 0 0 240px;
 scroll-snap-align: start;
 background: var(--soft);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 16px;
}
.index-label { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.index-links { display: flex; flex-wrap: wrap; gap: 8px; }
.index-links a {
 display: inline-flex;
 align-items: center;
 min-height: 30px;
 padding: 0 12px;
 border-radius: 999px;
 background: #fff;
 border: 1px solid var(--line);
 color: var(--primary);
 font-size: 13px;
 font-weight: 700;
 transition: background .2s ease, border-color .2s ease;
}
.index-links a:hover { background: var(--soft); border-color: #C9D8F4; }
.masonry { columns: 2 320px; column-gap: 16px; }
.dir-card {
 break-inside: avoid;
 display: inline-block;
 width: 100%;
 margin: 0 0 16px;
 padding: 20px;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 transition: transform .2s ease, box-shadow .2s ease;
}
.dir-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dir-card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.mock-list {
 margin-top: 14px;
 background: var(--soft);
 border: 1px solid var(--line);
 border-radius: 12px;
 padding: 12px;
 display: grid;
 gap: 8px;
}
.mock-list span {
 display: block;
 height: 8px;
 border-radius: 999px;
 background: #D7E4F8;
}
.mock-list span:nth-child(1) { width: 86%; background: #C5D7F6; }
.mock-list span:nth-child(2) { width: 64%; }
.mock-list span:nth-child(3) { width: 74%; }
.mock-list span:nth-child(4) { width: 48%; background: rgba(227, 106, 138, 0.35); }
.dir-meta {
 margin-top: 14px;
 padding-top: 12px;
 border-top: 1px solid var(--line);
 display: flex;
 justify-content: space-between;
 gap: 10px;
 color: var(--muted);
 font-size: 13px;
}
.dir-meta b { color: var(--ink); font-size: 14px; }
.hot-caps { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; }
.hot-caps a {
 flex: none;
 min-height: 34px;
 padding: 0 14px;
 display: inline-flex;
 align-items: center;
 border-radius: 999px;
 background: #fff;
 border: 1px solid var(--line);
 color: var(--ink);
 font-size: 14px;
 font-weight: 700;
 box-shadow: var(--shadow);
}
.hot-caps a:hover { color: var(--primary); background: var(--soft); }
.narrow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.narrow-card {
 display: block;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px;
 min-height: 168px;
 transition: transform .2s ease, box-shadow .2s ease;
}
.narrow-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.narrow-card .go { display: inline-flex; margin-top: 14px; color: var(--primary); font-size: 13px; font-weight: 800; }
.compare-wrap {
 display: grid;
 grid-template-columns: 280px minmax(0, 1fr);
 gap: 18px;
 align-items: stretch;
}
.compare-side {
 background: var(--soft);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 24px;
}
.compare-side p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.compare-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.compare-card {
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px;
 transition: transform .2s ease, box-shadow .2s ease;
}
.compare-card .idx {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 36px; height: 28px;
 border-radius: 999px;
 background: var(--soft);
 color: var(--primary);
 font-size: 12px;
 font-weight: 800;
 margin-bottom: 12px;
}
.compare-card ul { margin: 12px 0 0; padding: 0; list-style: none; }
.compare-card li {
 position: relative;
 padding-left: 14px;
 color: var(--muted);
 font-size: 14px;
 line-height: 1.7;
}
.compare-card li::before {
 content: "";
 position: absolute;
 left: 0; top: 0.65em;
 width: 6px; height: 6px;
 border-radius: 50%;
 background: var(--primary);
}
.compare-note {
 margin-top: 16px;
 background: #fff;
 border: 1px solid var(--line);
 border-left: 4px solid var(--accent);
 border-radius: 12px;
 padding: 12px 14px;
 color: var(--ink);
 font-size: 14px;
}
.step-rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step-rail li {
 display: grid;
 grid-template-columns: 72px minmax(0, 1fr);
 gap: 16px;
 position: relative;
 padding-bottom: 8px;
}
.step-rail li:not(:last-child) .step-num::after {
 content: "";
 position: absolute;
 left: 27px;
 top: 56px;
 bottom: -8px;
 width: 2px;
 background: #D5E2F8;
}
.step-num {
 width: 56px; height: 56px;
 border-radius: 999px;
 background: var(--primary);
 color: #fff;
 display: grid;
 place-items: center;
 font-weight: 800;
 position: relative;
 z-index: 1;
 box-shadow: var(--shadow);
}
.step-body {
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px 18px 18px;
 margin-bottom: 12px;
}
.step-body p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.note-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.note-item {
 display: grid;
 grid-template-columns: 42px minmax(0, 1fr);
 gap: 14px;
 align-items: center;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 16px 18px;
}
.note-ico {
 width: 42px; height: 42px;
 border-radius: 14px;
 background: var(--soft);
 color: var(--primary);
 display: grid;
 place-items: center;
}
.note-item p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.cta-band {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 24px;
 background: var(--soft);
 border: 1px solid var(--line);
 border-radius: 24px;
 padding: 28px;
 box-shadow: var(--shadow);
}
.cta-band .btn { min-height: 48px; padding: 0 22px; flex: none; }
.site-footer {
 background: #fff;
 border-top: 1px solid var(--line);
 padding: 48px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .8fr 1fr; gap: 28px; }
.footer-title { font-weight: 800; margin-bottom: 12px; font-size: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 14px; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--primary); }
.score-note { color: var(--muted); font-size: 14px; line-height: 1.7; }
.copyright {
 margin-top: 28px;
 padding-top: 16px;
 border-top: 1px solid var(--line);
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 12px;
 color: var(--muted);
 font-size: 13px;
}
.age {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 36px;
 height: 24px;
 padding: 0 8px;
 border-radius: 999px;
 background: rgba(227, 106, 138, .12);
 color: #C24B6E;
 font-weight: 800;
 font-size: 12px;
 border: 1px solid rgba(227, 106, 138, .28);
}
.footer-links .age { margin-right: 8px; }
@media (max-width: 1280px) {
 .nav-links a { padding: 8px 10px; }
 .search-inline input { width: 120px; }
}
@media (max-width: 1023px) {
 .nav-bar { flex-wrap: wrap; padding: 10px 0; }
 .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
 .nav-panel {
  display: none;
  width: 100%;
  flex-basis: 100%;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0 12px;
 }
 .nav-panel.is-open { display: flex; }
 .nav-links { flex-direction: column; align-items: stretch; margin-left: 0; width: 100%; gap: 4px; }
 .nav-tools, .search-inline { width: 100%; }
 .search-inline input { flex: 1; width: auto; min-width: 0; }
 .compare-wrap { grid-template-columns: 1fr; }
 .narrow-grid { grid-template-columns: 1fr 1fr; }
 .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
 .dir-head-grid { grid-template-columns: 1fr; align-items: start; }
 .count-pills { justify-content: flex-start; }
 .compare-cards { grid-template-columns: 1fr; }
 .section { padding: 64px 0; }
 .dir-head { padding: 40px 0 36px; }
}
@media (max-width: 640px) {
 .container { width: min(var(--container), calc(100% - 32px)); }
 .dir-title { font-size: 28px; line-height: 36px; }
 .section-title { font-size: 24px; line-height: 32px; }
 .brand-name { font-size: 14px; }
 .count-pills { display: grid; grid-template-columns: 1fr 1fr; }
 .count-pill { min-width: 0; border-radius: 16px; }
 .masonry { columns: 1; }
 .narrow-grid, .footer-grid { grid-template-columns: 1fr; }
 .step-rail li { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
 .cta-band { flex-direction: column; align-items: flex-start; padding: 20px; }
 .cta-band .btn { width: 100%; }
 .copyright { flex-direction: column; align-items: flex-start; }
 .dir-top { flex-direction: column; }
}
