/* roulang page: index */
:root {
  --bg: #F6F8FB;
  --bg-alt: #EEF3F8;
  --primary: #2F5D8C;
  --primary-hover: #244C73;
  --accent: #5E7C86;
  --text: #1C2833;
  --muted: #5C6B78;
  --line: #D5DEE8;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 14px 36px rgba(47, 93, 140, 0.08);
  --shadow-hover: 0 18px 42px rgba(47, 93, 140, 0.14);
  --btn-radius: 999px;
  --container: 1140px;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
::selection { background: rgba(47, 93, 140, 0.16); }
h1, h2, h3, .serif { font-family: "Noto Serif SC", "Songti SC", "SimSun", serif; font-weight: 700; color: var(--text); }
p { margin: 0 0 0.8em; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; max-width: var(--container); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav-shell { min-height: var(--header-h); }
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  width: 100%;
}
.brand {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.brand:hover { color: var(--primary); }
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span { display: block; width: 16px; height: 1px; background: var(--text); }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 15px;
  padding: 8px 0;
  background: transparent;
}
.menu-link::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
}
.menu-link:hover { color: var(--primary-hover); }
.menu-link.active {
  color: var(--primary-hover);
  box-shadow: inset 0 -1px 0 var(--primary);
}
.section { padding: 88px 0; background: var(--bg); }
.section.alt { background: var(--bg-alt); }
.section-title { font-size: 30px; line-height: 1.4; margin: 0 0 12px; }
.section-lead { max-width: 720px; color: var(--muted); margin: 0 0 28px; font-size: 16px; }
.hero-title { font-size: 40px; line-height: 1.35; margin: 0 0 14px; }
.eyebrow {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--primary);
  margin-bottom: 14px;
}
.hero-sub { font-size: 18px; color: var(--text); margin: 0 0 12px; }
.hero-lead { color: var(--muted); margin-bottom: 18px; }
.hero-note { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.hero-actions, .close-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.badge-soft {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--btn-radius);
  padding: 3px 12px;
  font-size: 13px;
  background: transparent;
  line-height: 1.6;
}
.btn-main, .btn-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--primary);
  font-size: 15px;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.btn-main { background: var(--primary); color: var(--white); }
.btn-main:hover, .btn-main:active { background: var(--primary-hover); color: var(--white); border-color: var(--primary-hover); }
.btn-sub { background: var(--white); color: var(--primary); }
.btn-sub:hover, .btn-sub:active { background: var(--bg-alt); color: var(--primary-hover); }
.player-frame {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.player-top, .player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.player-top { margin-bottom: 12px; }
.player-controls { margin-top: 12px; }
.player-chip {
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: var(--btn-radius);
  padding: 2px 10px;
  font-size: 13px;
}
.stage-ratio {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(28, 40, 51, 0.04), rgba(47, 93, 140, 0.08)),
    repeating-linear-gradient(90deg, #e7eef5 0 12px, #f7f9fc 12px 24px);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background: var(--white);
  position: relative;
  box-shadow: var(--shadow);
}
.play-btn::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--primary);
}
.stage-time {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--btn-radius);
  padding: 2px 10px;
}
.progress {
  flex: 1;
  height: 4px;
  background: #e4ebf2;
  border-radius: var(--btn-radius);
  overflow: hidden;
}
.progress i {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--primary);
}
.metric-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.metric { padding: 26px 22px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric-num {
  font-family: "Noto Serif SC", serif;
  font-size: 32px;
  line-height: 1.2;
  color: var(--primary);
  margin: 0;
}
.metric-label { margin: 6px 0 0; font-size: 16px; font-weight: 700; }
.metric-note { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.feature-card, .scene-card, .plan-card, .review-card, .case-row, .library-bar, .demo-frame, .step-item, .news-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-card, .scene-card, .plan-card, .case-row, .library-bar, .news-row {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover, .scene-card:hover, .plan-card:hover, .case-row:hover, .library-bar:hover, .news-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.feature-card { padding: 26px 24px; height: 100%; }
.feature-card h3, .scene-card h3, .plan-card h3, .demo-caption, .step-item h3 { font-size: 18px; margin: 0 0 10px; line-height: 1.5; }
.cap-list, .plan-list { list-style: none; margin: 0; padding: 0; }
.cap-list li, .plan-list li {
  position: relative;
  padding: 6px 0 6px 16px;
  color: var(--muted);
}
.cap-list li::before, .plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 8px;
  height: 1px;
  background: var(--primary);
}
.library-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
}
.library-link {
  flex: 0 0 auto;
  color: var(--primary);
  font-weight: 700;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 2px;
}
.library-link:hover { color: var(--primary-hover); }
.scene-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
}
.scene-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  padding: 22px;
  min-height: 210px;
}
.scene-kicker { font-size: 13px; color: var(--accent); margin: 0 0 8px; }
.scene-card p { color: var(--muted); margin: 0; }
.guide-grid, .voice-grid, .plan-grid, .demo-stage, .step-line {
  display: grid;
  gap: 22px;
}
.guide-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.spec-list { margin: 0; }
.spec-list div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.spec-list div:last-child { border-bottom: 1px solid var(--line); }
.spec-list dt { font-weight: 700; margin: 0; }
.spec-list dd { margin: 0; color: var(--muted); }
.demo-stage { grid-template-columns: 0.82fr 1.25fr 0.82fr; align-items: end; }
.demo-frame { padding: 12px; }
.demo-frame.is-main { padding: 16px; }
.demo-screen {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #eef3f8;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: var(--text);
  font-size: 13px;
}
.demo-frame.is-main .demo-screen { background: #e7eef6; min-height: 240px; }
.demo-caption { margin: 12px 4px 4px; font-family: "Noto Sans SC", "PingFang SC", sans-serif; font-weight: 700; font-size: 16px; }
.step-line { grid-template-columns: repeat(4, 1fr); position: relative; }
.step-item { padding: 20px 18px 22px; position: relative; }
.step-index {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  font-size: 13px;
  margin-bottom: 12px;
}
.step-item p { color: var(--muted); margin: 0; font-size: 15px; }
.case-list { display: flex; flex-direction: column; gap: 16px; }
.case-row { display: grid; grid-template-columns: 1.05fr 1fr 1.15fr; gap: 18px; padding: 22px 24px; }
.case-field span { display: block; font-size: 13px; color: var(--accent); margin-bottom: 4px; }
.case-field p { margin: 0; }
.plan-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
.plan-card { padding: 28px 26px 26px; }
.plan-card.is-feature { border-color: var(--primary); }
.plan-price {
  font-family: "Noto Serif SC", serif;
  font-size: 40px;
  color: var(--primary);
  line-height: 1.15;
  margin: 8px 0 12px;
}
.plan-price small { font-family: "Noto Sans SC", sans-serif; font-size: 14px; color: var(--muted); margin-left: 4px; }
.review-grid { columns: 2; column-gap: 18px; }
.review-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  padding: 20px 20px 16px;
}
.review-card p { margin: 0; }
.review-scene { display: inline-block; margin-bottom: 8px; }
.voice-grid { grid-template-columns: 1.45fr 0.8fr; align-items: start; }
.voice-copy {
  font-size: 16px;
  margin: 0;
  padding-top: 4px;
}
.point { border-top: 1px solid var(--line); padding: 14px 0; }
.point strong { display: block; font-size: 15px; }
.point span { color: var(--muted); font-size: 13px; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  color: var(--text);
}
.news-date { font-size: 13px; color: var(--accent); }
.news-title { font-size: 16px; font-weight: 700; }
.news-go { font-size: 13px; color: var(--primary); }
.faq-wrap .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.faq-wrap .accordion-button {
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  padding: 18px 22px;
  box-shadow: none;
}
.faq-wrap .accordion-button:not(.collapsed) {
  background: var(--bg);
  color: var(--primary);
  box-shadow: none;
}
.faq-wrap .accordion-button:focus { box-shadow: none; }
.faq-wrap .accordion-body { color: var(--muted); padding: 0 22px 18px; font-size: 16px; }
.close-inner {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.close-inner .section-lead { margin-bottom: 0; }
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
}
.footer-name {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  margin: 0 0 12px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0 0 16px; padding: 0; }
.footer-links a { font-size: 14px; color: var(--muted); border-bottom: 1px solid transparent; }
.footer-links a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.footer-copy { margin: 0; color: var(--muted); font-size: 13px; }
@media (min-width: 992px) {
  #mainNav.collapse { display: flex !important; height: auto !important; visibility: visible; }
  .nav-shell { display: flex; align-items: center; justify-content: space-between; }
  .nav-bar { width: auto; }
}
@media (max-width: 1199.98px) {
  .step-line { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991.98px) {
  .nav-toggle { display: flex; }
  .nav-shell { display: block; }
  #mainNav { width: 100%; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .menu-link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .guide-grid, .voice-grid, .plan-grid, .demo-stage, .case-row { grid-template-columns: 1fr; }
  .demo-frame.is-main { order: -1; }
  .library-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
  .section { padding: 48px 0; }
  .hero-title { font-size: 28px; }
  .section-title { font-size: 24px; }
  .metric-bar { grid-template-columns: 1fr 1fr; }
  .metric { border-bottom: 1px solid var(--line); }
  .metric:nth-child(odd) { border-right: 1px solid var(--line); }
  .metric:nth-child(even) { border-right: 0; }
  .metric:nth-last-child(-n+2) { border-bottom: 0; }
  .step-line, .review-grid { grid-template-columns: 1fr; columns: 1; }
  .news-row { grid-template-columns: 1fr; gap: 4px; }
  .close-inner { flex-direction: column; align-items: flex-start; padding: 24px; }
  .spec-list div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 575.98px) {
  .container { width: min(100% - 24px, var(--container)); }
  .metric-bar { grid-template-columns: 1fr; }
  .metric { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .hero-actions, .close-actions { flex-direction: column; align-items: stretch; }
  .scene-card { flex-basis: 84%; }
  .plan-price { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --bg: #F6F8FB;
  --bg-alt: #EEF3F8;
  --primary: #2F5D8C;
  --primary-hover: #244C73;
  --accent: #5E7C86;
  --text: #1C2833;
  --muted: #5C6B78;
  --line: #D5DEE8;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 14px 36px rgba(47, 93, 140, 0.08);
  --shadow-hover: 0 18px 42px rgba(47, 93, 140, 0.14);
  --btn-radius: 999px;
  --container: 1140px;
  --header-h: 72px;
}
/* roulang page: category1 */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
h1, h2, h3, .brand, .footer-name, .count-num {
  font-family: "Noto Serif SC", "Songti SC", serif;
  color: var(--text);
  font-weight: 700;
}
p { margin: 0; }
.container {
  width: min(100% - 32px, var(--container));
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav-shell { min-height: var(--header-h); }
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  width: 100%;
}
.brand {
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand:hover { color: var(--primary); }
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span { display: block; width: 16px; height: 1px; background: var(--text); }
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}
.menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 15px;
  padding: 8px 0;
  background: transparent;
}
.menu-link::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  flex: 0 0 auto;
}
.menu-link:hover { color: var(--primary-hover); }
.menu-link.active {
  color: var(--primary-hover);
  box-shadow: inset 0 -1px 0 var(--primary);
}
.section { padding: 88px 0; background: var(--bg); }
.section.alt { background: var(--bg-alt); }
.section-tight { padding: 36px 0; }
.section-title { font-size: 30px; line-height: 1.4; margin: 0 0 12px; }
.section-lead { max-width: 720px; color: var(--muted); margin: 0; font-size: 16px; }
.page-title { font-size: 40px; line-height: 1.35; margin: 0 0 12px; }
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--primary);
  margin-bottom: 14px;
}
.btn-main, .btn-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--primary);
  font-size: 15px;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.btn-main { background: var(--primary); color: var(--white); }
.btn-main:hover, .btn-main:active { background: var(--primary-hover); color: var(--white); border-color: var(--primary-hover); }
.btn-sub { background: var(--white); color: var(--primary); }
.btn-sub:hover, .btn-sub:active { background: var(--bg-alt); color: var(--primary-hover); }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.cat-head { padding: 56px 0 40px; }
.cat-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}
.result-panel {
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  text-align: right;
}
.count-num { font-size: 40px; line-height: 1; margin: 0; color: var(--primary); }
.count-label { margin-top: 6px; font-size: 15px; }
.count-note { margin-top: 4px; color: var(--muted); font-size: 13px; }
.filter-board {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px 8px;
}
.filter-group {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--line);
}
.filter-group:last-child { border-bottom: 0; }
.filter-label { font-size: 13px; color: var(--accent); line-height: 34px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: var(--btn-radius);
  padding: 4px 12px;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.chip:hover { color: var(--primary); border-color: var(--primary); }
.chip.active {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--bg-alt);
}
.lib-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.lib-list { display: flex; flex-direction: column; gap: 16px; }
.lib-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lib-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.lib-card[hidden] { display: none !important; }
.stage-ratio {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(28, 40, 51, 0.04), rgba(47, 93, 140, 0.08)),
    repeating-linear-gradient(90deg, #e7eef5 0 12px, #f7f9fc 12px 24px);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.stage-kicker {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--btn-radius);
  padding: 2px 10px;
}
.play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background: var(--white);
  position: relative;
  box-shadow: var(--shadow);
  display: inline-block;
}
.play-btn::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--primary);
}
.stage-time {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--btn-radius);
  padding: 2px 10px;
}
.lib-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.lib-body h3 { font-size: 18px; line-height: 1.5; margin: 4px 0 8px; }
.lib-body h3 a:hover { color: var(--primary-hover); }
.lib-copy { color: var(--muted); margin-bottom: 10px; }
.lib-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}
.lib-meta span { position: relative; }
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.side-card h2 { font-size: 18px; margin: 0 0 14px; }
.side-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.side-row strong { font-weight: 500; color: var(--text); }
.side-row b { color: var(--primary); font-weight: 700; }
.side-note { color: var(--muted); font-size: 13px; margin-top: 12px; }
.empty-note {
  margin-top: 16px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--white);
}
.more-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.more-row p { color: var(--muted); }
.setting-list, .log-list, .article-list { display: flex; flex-direction: column; gap: 14px; }
.setting-item, .log-item, .article-row {
  display: grid;
  gap: 8px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.setting-item { grid-template-columns: 52px minmax(0, 1fr); align-items: center; }
.setting-item:hover, .log-item:hover, .article-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.setting-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.setting-item h3, .article-row h3 { font-size: 18px; margin: 0 0 4px; }
.setting-item p, .article-row p, .log-item p { color: var(--muted); }
.log-item { grid-template-columns: 140px minmax(0, 1fr); align-items: center; }
.log-date { color: var(--primary); font-size: 15px; font-weight: 500; }
.article-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.article-row a.btn-sub { white-space: nowrap; }
.close-band {
  background: var(--white);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.close-band h2 { font-size: 30px; margin: 0 0 6px; }
.close-band p { color: var(--muted); }
.close-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 36px 0 42px;
}
.footer-name { font-size: 20px; margin: 0 0 14px; }
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 16px;
  padding: 0;
}
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { color: var(--muted); font-size: 13px; }
@media (min-width: 992px) {
  .nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .nav-bar { width: auto; flex: 0 0 auto; }
  #mainNav.collapse {
    display: block !important;
    height: auto !important;
    visibility: visible;
  }
  .nav-toggle { display: none !important; }
  .side-card { position: sticky; top: 96px; }
}
@media (max-width: 1199.98px) {
  .lib-card { grid-template-columns: 230px minmax(0, 1fr); }
}
@media (max-width: 991.98px) {
  .nav-toggle { display: flex; }
  #mainNav .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 12px;
  }
  #mainNav .menu li { border-top: 1px solid var(--line); }
  #mainNav .menu-link { width: 100%; padding: 14px 2px; }
  .lib-layout { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .cat-head { padding: 36px 0 28px; }
  .page-title { font-size: 28px; }
  .section-title, .close-band h2 { font-size: 24px; }
  .log-item, .article-row, .close-band, .more-row { grid-template-columns: 1fr; display: flex; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
  .cat-head-grid { grid-template-columns: 1fr; }
  .result-panel { text-align: left; width: 100%; }
  .lib-card { grid-template-columns: 1fr; }
  .filter-group { grid-template-columns: 1fr; gap: 6px; }
  .filter-label { line-height: 1.4; }
  .count-num { font-size: 32px; }
}
@media (max-width: 575.98px) {
  .container { width: min(100% - 24px, var(--container)); }
  .close-actions, .close-actions .btn-main, .close-actions .btn-sub { width: 100%; }
  .setting-item { grid-template-columns: 1fr; }
}

/* roulang: framework shim */
/* 覆盖 Bootstrap 等对 a/btn 的全局默认，避免导航出现下划线/蓝链 */
.site-header a,.site-header a:hover,.navbar a,.navbar a:hover,.nav-links a,.nav-links a:hover,header nav a,header nav a:hover{text-decoration:none}
.site-header .btn,.navbar .btn,.nav-cta{text-decoration:none}
