/* roulang page: index */
:root {
  --bg: #F3F6FB;
  --band: #E7EEF8;
  --card: #FFFFFF;
  --text: #1A2332;
  --muted: #5E6D80;
  --primary: #2F62D6;
  --primary-hover: #1E4BB8;
  --primary-active: #163E96;
  --line: #D5E0F0;
  --accent: #C45B78;
  --shadow: 0 12px 32px rgba(28, 58, 120, 0.08);
  --radius: 18px;
  --btn-radius: 12px;
  --container: 1120px;
  --pad: 100px;
  --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: 28px;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; line-height: 28px; color: inherit; }
a { color: var(--primary-hover); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: 0; }
h2 { font-size: 28px; line-height: 36px; font-weight: 700; }
h3 { font-size: 18px; line-height: 28px; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.note { font-size: 13px; line-height: 20px; color: var(--muted); }
.lead { margin-top: 12px; color: var(--muted); max-width: 720px; }
.section { padding: var(--pad) 0; }
.section.band { background: var(--band); }
.section.plain { background: var(--bg); }
.section-head { margin-bottom: 28px; max-width: 760px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-hover);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}
.badge-pink { color: var(--accent); border-color: #f0d0d8; background: #fff7f8; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--primary-hover); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn:active { background: var(--primary-active); transform: translateY(0); }
.btn-ghost { background: #fff; color: var(--primary-hover); border-color: var(--line); }
.btn-ghost:hover { background: #fff; color: var(--primary-hover); border-color: var(--primary); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-bar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { color: var(--text); font-weight: 700; font-size: 16px; line-height: 22px; max-width: 420px; text-decoration: none; }
.logo:hover { color: var(--primary-hover); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  color: var(--text);
  padding: 22px 14px 20px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.site-nav a:hover { color: var(--primary-hover); text-decoration: none; }
.site-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--text); position: relative; margin: 0 auto;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.board-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch; }
.subhead { margin-top: 14px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.adult-line { margin-top: 18px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px 16px;
  min-height: 132px;
}
.metric b { display: block; font-size: 28px; line-height: 36px; color: var(--primary); margin: 8px 0 4px; }
.metric span { color: var(--muted); font-size: 13px; line-height: 20px; }
.matrix { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.cell { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.wide { grid-column: span 8; grid-row: span 2; }
.s1, .s2 { grid-column: span 4; }
.s3, .s4 { grid-column: span 6; }
.dex { position: relative; border: 1px solid var(--line); }
.dex::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 12px;
  pointer-events: none;
  background:
    linear-gradient(var(--primary), var(--primary)) left top / 16px 2px no-repeat,
    linear-gradient(var(--primary), var(--primary)) left top / 2px 16px no-repeat,
    linear-gradient(var(--primary), var(--primary)) right top / 16px 2px no-repeat,
    linear-gradient(var(--primary), var(--primary)) right top / 2px 16px no-repeat,
    linear-gradient(var(--primary), var(--primary)) left bottom / 16px 2px no-repeat,
    linear-gradient(var(--primary), var(--primary)) left bottom / 2px 16px no-repeat,
    linear-gradient(var(--primary), var(--primary)) right bottom / 16px 2px no-repeat,
    linear-gradient(var(--primary), var(--primary)) right bottom / 2px 16px no-repeat;
}
.cell p, .preview-card p, .news-copy p, .quote p { margin-top: 8px; color: var(--muted); }
.cell .btn, .preview-card .btn { margin-top: 16px; position: relative; z-index: 1; }
.index-no { color: var(--accent); font-size: 13px; line-height: 20px; font-weight: 700; }
.cover {
  height: 148px;
  border-radius: 12px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #d9e4f5 0%, #eef3fb 48%, #f7f9fd 100%);
  border: 1px solid var(--line);
}
.cover i, .cover em, .cover b {
  position: absolute;
  display: block;
  font-style: normal;
}
.cover i { width: 72px; height: 72px; border: 8px solid rgba(47, 98, 214, .28); border-radius: 50%; right: 18px; top: 18px; }
.cover em { width: 92px; height: 12px; background: rgba(47, 98, 214, .2); left: 16px; bottom: 36px; border-radius: 8px; }
.cover b { left: 16px; bottom: 14px; font-size: 13px; line-height: 20px; color: var(--primary-hover); font-weight: 600; }
.scene-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.scene-chip {
  flex: 0 0 250px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px;
  color: var(--text);
  text-decoration: none;
}
.scene-chip:hover { text-decoration: none; transform: translateY(-1px); border-color: #b9caf0; }
.scene-chip strong { display: block; margin-bottom: 6px; }
.scene-chip span { color: var(--muted); font-size: 13px; line-height: 20px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.panel ul { list-style: none; margin-top: 14px; }
.panel li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); }
.panel li strong { color: var(--text); font-weight: 600; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.preview-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.meters { margin-top: 14px; display: grid; gap: 8px; position: relative; z-index: 1; }
.meter { display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: center; font-size: 13px; line-height: 20px; color: var(--muted); }
.meter u { display: block; height: 6px; border-radius: 99px; background: #e6eefb; text-decoration: none; overflow: hidden; }
.meter u i { display: block; height: 100%; background: var(--primary); border-radius: 99px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 2px; background: #c9d7ee; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 16px 16px; }
.step .dot {
  width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); margin-bottom: 14px; position: relative; z-index: 1;
}
.step p { margin-top: 8px; color: var(--muted); }
.news-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.feature, .news-item, .week, .qa, .path-card, .quote, .safe-row {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.feature { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; }
.feature .cover { height: 100%; min-height: 220px; margin: 0; border: 0; border-radius: 0; }
.news-copy { padding: 22px; }
.news-list { display: grid; gap: 12px; }
.news-item { padding: 14px 16px; color: var(--text); text-decoration: none; }
.news-item:hover { text-decoration: none; border-color: #b9caf0; }
.news-item strong { display: block; }
.news-item span { display: block; color: var(--muted); font-size: 13px; line-height: 20px; margin-top: 4px; }
.more-row { margin-top: 16px; }
.weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.week { padding: 18px 16px; color: var(--text); text-decoration: none; }
.week:hover { text-decoration: none; transform: translateY(-1px); }
.week b { display: block; color: var(--primary); font-size: 13px; line-height: 20px; }
.week strong { display: block; margin: 6px 0; }
.week span { color: var(--muted); font-size: 13px; line-height: 20px; }
.safe-list { display: grid; gap: 12px; }
.safe-row { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 16px 18px; align-items: start; }
.safe-row em { font-style: normal; color: var(--accent); font-weight: 700; }
.safe-row p { color: var(--muted); }
.qa-list, .path-grid, .quote-grid { display: grid; gap: 12px; }
.qa-list { grid-template-columns: 1fr; }
.qa, .path-card, .quote { padding: 18px 18px 16px; }
.qa p, .path-card p, .quote p { color: var(--muted); margin-top: 8px; }
.path-grid, .quote-grid { grid-template-columns: repeat(3, 1fr); }
.quote-grid { grid-template-columns: 1fr 1fr; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 0 16px; }
.faq-list summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; margin-left: 12px; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--muted); padding: 0 0 16px; }
.consult { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 13px; line-height: 20px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f8fbff;
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9caf0; }
.form-tip { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #eef4ff; color: var(--primary-active); }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 42px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { color: var(--primary-hover); padding: 4px 0; }
.footer-meta { margin-top: 18px; display: grid; gap: 4px; }
@media (max-width: 1200px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
}
@media (max-width: 992px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 24px 32px;
    transform: translateX(100%);
    transition: transform .2s ease;
    z-index: 30;
  }
  .site-nav.open { transform: none; }
  .site-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a.active { border-bottom-color: var(--line); box-shadow: inset 2px 0 0 var(--primary); padding-left: 10px; }
  .board-grid, .news-wrap, .feature, .consult { grid-template-columns: 1fr; }
  .wide, .s1, .s2, .s3, .s4 { grid-column: span 6; grid-row: auto; }
  .feature .cover { min-height: 160px; }
}
@media (max-width: 768px) {
  :root { --pad: 48px; }
  h1 { font-size: 32px; line-height: 40px; }
  h2 { font-size: 24px; line-height: 32px; }
  .wide, .s1, .s2, .s3, .s4, .compare, .preview-grid, .timeline, .weeks, .path-grid, .quote-grid { grid-template-columns: 1fr; }
  .wide, .s1, .s2, .s3, .s4 { grid-column: span 12; }
  .timeline::before { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .matrix { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
}
@media (max-width: 480px) {
  h1 { font-size: 28px; line-height: 36px; }
  .metrics, .consult, .safe-row { grid-template-columns: 1fr; }
  .actions .btn, .more-row .btn, .form-card .btn { width: 100%; }
  .logo { font-size: 14px; max-width: 220px; }
}

/* roulang page: category1 */
:root {
 --bg: #F3F6FB;
 --band: #E7EEF8;
 --card: #FFFFFF;
 --text: #1A2332;
 --muted: #5E6D80;
 --primary: #2F62D6;
 --primary-hover: #1E4BB8;
 --primary-active: #163E96;
 --line: #D5E0F0;
 --accent: #C45B78;
 --shadow: 0 12px 32px rgba(28, 58, 120, 0.08);
 --radius: 18px;
 --btn-radius: 12px;
 --container: 1120px;
 --pad: 100px;
 --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
/* roulang page: category1 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 font-family: var(--font);
 font-size: 16px;
 line-height: 28px;
 color: var(--text);
 background: var(--bg);
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; line-height: 28px; color: inherit; }
a { color: var(--primary-hover); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
 outline: 2px solid var(--primary);
 outline-offset: 2px;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1 { font-size: 40px; line-height: 48px; font-weight: 700; }
h2 { font-size: 28px; line-height: 36px; font-weight: 700; }
h3 { font-size: 18px; line-height: 28px; font-weight: 700; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.lead { margin-top: 12px; color: var(--muted); max-width: 720px; }
.note { margin: 0; color: var(--muted); font-size: 13px; line-height: 20px; }
.section { padding: var(--pad) 0; }
.section.band { background: var(--band); }
.section.plain { background: var(--bg); }
.section-head { margin-bottom: 28px; max-width: 760px; }
.section-head p { margin-top: 8px; color: var(--muted); }
.badge {
 display: inline-flex;
 align-items: center;
 min-height: 26px;
 padding: 0 8px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: #fff;
 color: var(--primary-hover);
 font-size: 13px;
 line-height: 20px;
 font-weight: 600;
}
.badge-pink { color: var(--accent); border-color: #f0d0d8; background: #fff7f8; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: var(--btn-radius);
 border: 1px solid transparent;
 background: var(--primary);
 color: #fff;
 font-weight: 600;
 cursor: pointer;
 transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--primary-hover); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn:active { background: var(--primary-active); transform: translateY(0); }
.btn-ghost { background: #fff; color: var(--primary-hover); border-color: var(--line); }
.btn-ghost:hover { background: #fff; color: var(--primary-hover); border-color: var(--primary); }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: #fff;
 border-bottom: 1px solid var(--line);
}
.nav-bar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { color: var(--text); font-weight: 700; font-size: 16px; line-height: 22px; max-width: 420px; text-decoration: none; }
.logo:hover { color: var(--primary-hover); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
 color: var(--text);
 padding: 22px 14px 20px;
 font-weight: 600;
 border-bottom: 2px solid transparent;
 text-decoration: none;
}
.site-nav a:hover { color: var(--primary-hover); text-decoration: none; }
.site-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav-toggle {
 display: none;
 width: 44px;
 height: 44px;
 border: 1px solid var(--line);
 border-radius: 12px;
 background: #fff;
 padding: 0;
 cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
 display: block; width: 18px; height: 2px; background: var(--text); position: relative; margin: 0 auto;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.cat-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: start; }
.adult-line { margin-top: 14px; }
.summary-panel {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 8px 18px;
}
.summary-row {
 display: grid;
 grid-template-columns: 72px 1fr;
 gap: 12px;
 padding: 14px 0;
 border-bottom: 1px solid var(--line);
}
.summary-row:last-child { border-bottom: 0; }
.summary-row span { color: var(--muted); font-size: 13px; line-height: 20px; }
.summary-row strong { font-weight: 700; }
.codex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.codex {
 position: relative;
 background: transparent;
 padding: 8px;
}
.codex-frame {
 position: relative;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: 14px;
 box-shadow: var(--shadow);
 padding: 18px 18px 16px;
 transition: transform .2s ease, border-color .2s ease;
}
.codex:hover .codex-frame { transform: translateY(-1px); border-color: #b9caf0; }
.corner { position: absolute; width: 12px; height: 12px; border: 2px solid var(--primary); pointer-events: none; }
.c1 { top: 2px; left: 2px; border-right: 0; border-bottom: 0; }
.c2 { top: 2px; right: 2px; border-left: 0; border-bottom: 0; }
.c3 { bottom: 2px; left: 2px; border-right: 0; border-top: 0; }
.c4 { bottom: 2px; right: 2px; border-left: 0; border-top: 0; }
.codex-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.no {
 font-size: 13px;
 line-height: 20px;
 font-weight: 700;
 color: var(--accent);
 letter-spacing: .04em;
}
.cover-block {
 height: 96px;
 margin: 14px 0 12px;
 border-radius: 12px;
 border: 1px solid var(--line);
 background: var(--band);
 display: flex;
 align-items: flex-end;
 gap: 8px;
 padding: 12px;
}
.cover-block i {
 display: block;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: 8px;
}
.cover-block i:nth-child(1) { width: 48%; height: 58px; }
.cover-block i:nth-child(2) { width: 22%; height: 38px; }
.cover-block i:nth-child(3) { width: 16%; height: 22px; background: #fff7f8; border-color: #f0d0d8; }
.codex h3 { margin-top: 2px; }
.codex p { margin-top: 8px; color: var(--muted); }
.attrs { margin-top: 14px; display: grid; gap: 8px; }
.attrs li {
 display: grid;
 grid-template-columns: 52px 1fr;
 gap: 8px;
 align-items: center;
 color: var(--muted);
 font-size: 13px;
 line-height: 20px;
}
.attrs b {
 display: block;
 height: 6px;
 border-radius: 99px;
 background: var(--band);
 position: relative;
 overflow: hidden;
}
.attrs b::after {
 content: "";
 position: absolute;
 left: 0;
 top: 0;
 bottom: 0;
 width: var(--w);
 background: var(--primary);
 border-radius: 99px;
}
.codex .btn { margin-top: 16px; }
.filter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.filter-box {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px;
}
.filter-box h3 { margin-bottom: 10px; }
.radio-line {
 display: flex;
 align-items: center;
 gap: 10px;
 min-height: 36px;
 color: var(--text);
}
.dot {
 width: 16px;
 height: 16px;
 border-radius: 50%;
 border: 2px solid var(--primary);
 background: #fff;
 position: relative;
 flex: 0 0 16px;
}
.dot.on::after {
 content: "";
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: var(--primary);
 position: absolute;
 left: 2px;
 top: 2px;
}
.filter-note { margin-top: 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
 display: inline-flex;
 align-items: center;
 min-height: 40px;
 padding: 0 14px;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: 999px;
 color: var(--primary-hover);
 font-weight: 600;
 box-shadow: var(--shadow);
}
.tag:hover { text-decoration: underline; border-color: #b9caf0; }
.point-list { margin-top: 16px; display: grid; gap: 10px; }
.point-list li {
 background: #fff;
 border: 1px solid var(--line);
 border-radius: 14px;
 box-shadow: var(--shadow);
 padding: 14px 16px;
}
.news-list { display: grid; gap: 12px; }
.news-item {
 display: block;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 14px 16px;
 color: var(--text);
 text-decoration: none;
}
.news-item:hover { text-decoration: none; border-color: #b9caf0; }
.news-item strong { display: block; }
.news-item span { display: block; color: var(--muted); font-size: 13px; line-height: 20px; margin-top: 4px; }
.more-band {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 22px;
}
.more-band p { margin-top: 8px; color: var(--muted); }
.open-qa { display: grid; gap: 12px; }
.open-qa article {
 background: #fff;
 border: 1px solid var(--line);
 border-left: 3px solid var(--primary);
 border-radius: 0 14px 14px 0;
 box-shadow: var(--shadow);
 padding: 16px 18px;
}
.open-qa p { margin-top: 8px; color: var(--muted); }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--primary-hover); font-weight: 600; }
.footer-meta { margin-top: 18px; display: grid; gap: 4px; }
@media (max-width: 1200px) {
 :root { --pad: 88px; }
}
@media (max-width: 992px) {
 .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
 .site-nav {
 display: none;
 position: fixed;
 inset: 73px 0 0 0;
 background: #fff;
 flex-direction: column;
 align-items: stretch;
 padding: 8px 20px 32px;
 gap: 0;
 overflow: auto;
 }
 .site-nav.open { display: flex; }
 .site-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); }
 .site-nav a.active { border-bottom-color: var(--line); box-shadow: inset 2px 0 0 var(--primary); }
}
@media (max-width: 768px) {
 :root { --pad: 48px; }
 h1 { font-size: 32px; line-height: 40px; }
 h2 { font-size: 24px; line-height: 32px; }
 .cat-layout, .codex-grid, .filter-grid { grid-template-columns: 1fr; }
 .more-band { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
 .container { width: min(var(--container), calc(100% - 28px)); }
 .logo { font-size: 14px; line-height: 20px; }
 .footer-grid { flex-direction: column; align-items: flex-start; }
 .more-band .btn, .codex .btn { width: 100%; }
 .summary-row { grid-template-columns: 1fr; gap: 4px; }
}

/* roulang page: category2 */
:root {
 --bg: #F3F6FB;
 --band: #E7EEF8;
 --card: #FFFFFF;
 --text: #1A2332;
 --muted: #5E6D80;
 --primary: #2F62D6;
 --primary-hover: #1E4BB8;
 --primary-active: #163E96;
 --line: #D5E0F0;
 --accent: #C45B78;
 --shadow: 0 12px 32px rgba(28, 58, 120, 0.08);
 --radius: 18px;
 --btn-radius: 12px;
 --container: 1120px;
 --pad: 100px;
 --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
:root { --pad: 48px; }
/* roulang page: index */
:root {
 --bg: #F3F6FB;
 --band: #E7EEF8;
 --card: #FFFFFF;
 --text: #1A2332;
 --muted: #5E6D80;
 --primary: #2F62D6;
 --primary-hover: #1E4BB8;
 --primary-active: #163E96;
 --line: #D5E0F0;
 --accent: #C45B78;
 --shadow: 0 12px 32px rgba(28, 58, 120, 0.08);
 --radius: 18px;
 --btn-radius: 12px;
 --container: 1120px;
 --pad: 100px;
 --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: 28px;
 color: var(--text);
 background: var(--bg);
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; line-height: 28px; color: inherit; }
a { color: var(--primary-hover); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
 outline: 2px solid var(--primary);
 outline-offset: 2px;
}
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.lead { margin-top: 12px; color: var(--muted); max-width: 720px; }
.section { padding: var(--pad) 0; }
.section.band { background: var(--band); }
.section.plain { background: var(--bg); }
.section-head { margin-bottom: 28px; max-width: 760px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 40px; line-height: 48px; font-weight: 700; }
h2 { font-size: 28px; line-height: 36px; font-weight: 700; }
h3 { font-size: 18px; line-height: 28px; font-weight: 700; }
.badge {
 display: inline-flex;
 align-items: center;
 min-height: 26px;
 padding: 0 8px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: #fff;
 color: var(--primary-hover);
 font-size: 13px;
 line-height: 20px;
 font-weight: 600;
}
.badge-pink { color: var(--accent); border-color: #f0d0d8; background: #fff7f8; }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 0 18px;
 border-radius: var(--btn-radius);
 border: 1px solid transparent;
 background: var(--primary);
 color: #fff;
 font-weight: 600;
 cursor: pointer;
 transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--primary-hover); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn:active { background: var(--primary-active); transform: translateY(0); }
.btn-ghost { background: #fff; color: var(--primary-hover); border-color: var(--line); }
.btn-ghost:hover { background: #fff; color: var(--primary-hover); border-color: var(--primary); }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: #fff;
 border-bottom: 1px solid var(--line);
}
.nav-bar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { color: var(--text); font-weight: 700; font-size: 16px; line-height: 22px; max-width: 420px; text-decoration: none; }
.logo:hover { color: var(--primary-hover); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
 color: var(--text);
 padding: 22px 14px 20px;
 font-weight: 600;
 border-bottom: 2px solid transparent;
 text-decoration: none;
}
.site-nav a:hover { color: var(--primary-hover); text-decoration: none; }
.site-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav-toggle {
 display: none;
 width: 44px;
 height: 44px;
 border: 1px solid var(--line);
 border-radius: 12px;
 background: #fff;
 padding: 0;
 cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
 display: block; width: 18px; height: 2px; background: var(--text); position: relative; margin: 0 auto;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.board-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch; }
.cell p, .preview-card p, .news-copy p, .quote p { margin-top: 8px; color: var(--muted); }
.cell .btn, .preview-card .btn { margin-top: 16px; position: relative; z-index: 1; }
.scene-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.scene-chip {
 flex: 0 0 250px;
 scroll-snap-align: start;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px 16px;
 color: var(--text);
 text-decoration: none;
}
.scene-chip:hover { text-decoration: none; transform: translateY(-1px); border-color: #b9caf0; }
.scene-chip strong { display: block; margin-bottom: 6px; }
.scene-chip span { color: var(--muted); font-size: 13px; line-height: 20px; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.preview-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.feature, .news-item, .week, .qa, .path-card, .quote, .safe-row {
 background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.feature { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; }
.feature .cover { height: 100%; min-height: 220px; margin: 0; border: 0; border-radius: 0; }
.news-list { display: grid; gap: 12px; }
.news-item { padding: 14px 16px; color: var(--text); text-decoration: none; }
.news-item:hover { text-decoration: none; border-color: #b9caf0; }
.news-item strong { display: block; }
.news-item span { display: block; color: var(--muted); font-size: 13px; line-height: 20px; margin-top: 4px; }
.more-row { margin-top: 16px; }
.safe-list { display: grid; gap: 12px; }
.safe-row { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 16px 18px; align-items: start; }
.safe-row em { font-style: normal; color: var(--accent); font-weight: 700; }
.safe-row p { color: var(--muted); }
.qa-list, .path-grid, .quote-grid { display: grid; gap: 12px; }
.qa-list { grid-template-columns: 1fr; }
.qa, .path-card, .quote { padding: 18px 18px 16px; }
.qa p, .path-card p, .quote p { color: var(--muted); margin-top: 8px; }
.path-grid, .quote-grid { grid-template-columns: repeat(3, 1fr); }
.quote-grid { grid-template-columns: 1fr 1fr; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 0 16px; }
.faq-list summary { cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.intro-block { max-width: 760px; }
.intro-block h1 { margin-top: 14px; }
.summary { margin-top: 16px; max-width: 720px; }
.note { margin: 0; color: var(--muted); font-size: 13px; line-height: 20px; }
.intro-block .note { margin-top: 14px; }
.time-list {
 list-style: none;
 margin: 0;
 padding: 0 0 0 18px;
 display: grid;
 gap: 14px;
 border-left: 2px solid var(--line);
}
.time-row {
 display: grid;
 grid-template-columns: 168px 1fr;
 gap: 18px;
 align-items: start;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px 20px;
 transition: border-color .2s ease, transform .2s ease;
}
.time-row:hover { border-color: #b9caf0; transform: translateY(-1px); }
.time-row time {
 color: var(--accent);
 font-weight: 700;
 font-size: 14px;
 line-height: 28px;
}
.time-row h3 a { color: var(--primary-hover); }
.time-row p { margin-top: 6px; color: var(--muted); }
.attrs { display: grid; gap: 6px; margin-top: 12px; max-width: 420px; }
.attrs span {
 display: grid;
 grid-template-columns: 52px 1fr;
 gap: 8px;
 align-items: center;
 color: var(--muted);
 font-size: 13px;
 line-height: 20px;
}
.attrs i {
 display: block;
 height: 6px;
 background: var(--band);
 border-radius: 99px;
 overflow: hidden;
}
.attrs b { display: block; height: 100%; background: var(--primary); border-radius: 99px; }
.bar-hd { width: 86%; }
.bar-up { width: 64%; }
.bar-lang { width: 92%; }
.group-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.atlas {
 position: relative;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 26px 24px 20px;
 transition: border-color .2s ease, transform .2s ease;
}
.atlas::after {
 content: "";
 position: absolute;
 inset: 7px;
 border: 1px solid rgba(47, 98, 214, 0.16);
 border-radius: 12px;
 pointer-events: none;
}
.atlas:hover { border-color: #b9caf0; transform: translateY(-1px); }
.atlas .mark { position: absolute; width: 12px; height: 12px; z-index: 1; }
.atlas .tl { top: 10px; left: 10px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.atlas .tr { top: 10px; right: 10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.atlas .bl { bottom: 10px; left: 10px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.atlas .br { bottom: 10px; right: 10px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.atlas h3 { margin-top: 12px; }
.atlas p { margin-top: 8px; color: var(--muted); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 22px 22px 18px;
}
.panel ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.panel li { position: relative; padding-left: 16px; color: var(--muted); }
.panel li::before {
 content: "";
 width: 6px;
 height: 6px;
 border-radius: 50%;
 background: var(--primary);
 position: absolute;
 left: 0;
 top: 11px;
}
.panel li strong { color: var(--text); margin-right: 6px; }
.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.order-list li {
 display: grid;
 grid-template-columns: 72px 1fr;
 gap: 8px 16px;
 align-items: start;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px 20px;
}
.step-no { color: var(--accent); font-weight: 700; font-size: 18px; line-height: 28px; }
.order-list p { margin-top: 6px; color: var(--muted); }
.order-list .back { display: inline-block; margin-top: 8px; font-weight: 700; }
.related { display: grid; gap: 12px; }
.related-item {
 display: grid;
 grid-template-columns: 92px 1fr auto;
 gap: 16px;
 align-items: center;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 14px;
 transition: border-color .2s ease, transform .2s ease;
}
.related-item:hover { border-color: #b9caf0; transform: translateY(-1px); }
.related-item p { margin-top: 4px; color: var(--muted); }
.swatch {
 height: 72px;
 border-radius: 12px;
 border: 1px solid var(--line);
 position: relative;
 background: #E7EEF8;
}
.swatch::before, .swatch::after {
 content: "";
 position: absolute;
 background: var(--primary);
}
.swatch::before { width: 28px; height: 8px; left: 16px; top: 22px; opacity: .85; }
.swatch::after { width: 18px; height: 18px; right: 16px; bottom: 16px; border-radius: 4px; opacity: .45; }
.swatch-b { background: #F7F1F3; }
.swatch-b::before, .swatch-b::after { background: var(--accent); }
.swatch-c { background: #EEF3FB; }
.end-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.end-copy { max-width: 640px; margin-bottom: 18px; color: var(--muted); }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--primary-hover); font-weight: 600; }
.footer-meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.footer-meta .note + .note { margin-top: 4px; }
@media (max-width: 1200px) {
 :root { --pad: 88px; }
}
@media (max-width: 992px) {
 .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
 .site-nav {
  display: none;
  position: fixed;
  inset: 73px 0 0 0;
  background: #fff;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 20px 32px;
  overflow: auto;
 }
 .site-nav.open { display: flex; }
 .site-nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); }
 .site-nav a.active { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--primary); }
}
@media (max-width: 768px) {
 :root { --pad: 48px; }
 .time-row, .compare, .group-list, .related-item, .order-list li, .footer-grid { grid-template-columns: 1fr; }
 .footer-grid { display: grid; }
 .related-item { grid-template-columns: 72px 1fr; }
 .related-item .read { grid-column: 2; }
}
@media (max-width: 480px) {
 h1 { font-size: 32px; line-height: 40px; }
 h2 { font-size: 24px; line-height: 32px; }
 .logo { max-width: calc(100% - 60px); font-size: 14px; line-height: 20px; }
 .container { width: min(var(--container), calc(100% - 28px)); }
 .time-row, .panel, .atlas, .order-list li { padding: 16px; }
 .end-bar .btn, .end-bar .btn-ghost { width: 100%; }
}
