/* roulang page: index */
:root {
  --lilac: #6E3C86;
  --ink: #241424;
  --peach: #E4A07A;
  --bronze: #A56B45;
  --silver: #C5C8D0;
  --gold: #8C6239;
  --rice: #F6F1EA;
  --mist: #F3E8F4;
  --paper: #fffdf9;
  --muted: #6c5868;
  --line: rgba(110, 60, 134, .14);
  --shadow: 0 16px 36px rgba(36, 20, 36, .10);
  --shadow-deep: 0 22px 46px rgba(36, 20, 36, .16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;
  --space: 88px;
  --serif: "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --h1: 46px;
  --h2: 30px;
  --h3: 21px;
  --body: 16.5px;
  --small: 13.5px;
  --header: 126px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rice);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.75;
  letter-spacing: 0;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--lilac); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, .accordion-button:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
}
button, input, select { font-family: inherit; }
h1, h2, h3, .logo-name, .accordion-button, .cover span {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: 0;
}
h1 { font-size: var(--h1); line-height: 1.35; font-weight: 700; margin: 0 0 12px; }
h2 { font-size: var(--h2); line-height: 1.35; font-weight: 700; margin: 0 0 12px; }
h3 { font-size: var(--h3); line-height: 1.45; font-weight: 700; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.rich, .section-lead { max-width: 42em; }
.muted { color: var(--muted); font-size: var(--small); line-height: 1.7; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(36, 20, 36, .04);
}
.site-nav { padding: 12px 0; background: #fff !important; }
.brand-cluster { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.logo:hover { text-decoration: none; color: var(--ink); }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-name { font-size: 16px; line-height: 1.3; font-weight: 700; }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--lilac);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.site-nav .nav-link {
  color: var(--ink);
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: var(--radius-pill);
}
.site-nav .nav-link:hover { background: var(--mist); color: var(--lilac); text-decoration: none; }
.site-nav .nav-link.is-active { background: var(--mist); color: var(--lilac); }
.site-nav .navbar-toggler {
  border: 1px solid rgba(110, 60, 134, .28);
  border-radius: var(--radius-pill);
  padding: 8px 12px;
}
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(110, 60, 134, .28); }
.site-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%236E3C86' stroke-width='2' stroke-linecap='round' d='M5 8h20M5 15h20M5 22h20'/%3E%3C/svg%3E");
}
.step-bar { padding: 0 0 12px; background: #fff; }
.step-track { position: relative; }
.step-fill {
  position: absolute;
  left: 0;
  top: 18px;
  height: 3px;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(118deg, #6E3C86, #E4A07A);
  z-index: 0;
  transition: width .35s ease;
}
.progress-steps {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}
.progress-steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 3px;
  background: var(--silver);
  border-radius: var(--radius-pill);
  z-index: -1;
}
.step-node a, .mobile-steps a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--silver);
  border-radius: var(--radius-pill);
  padding: 4px 12px 4px 4px;
  font-size: var(--small);
  font-weight: 500;
}
.step-node .num, .mobile-steps .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--silver);
  font-size: 13px;
}
.step-node.is-current a, .step-node.is-reached a,
.mobile-steps a.is-current, .mobile-steps a.is-reached {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(118deg, #6E3C86, #E4A07A);
}
.step-node.is-current .num, .step-node.is-reached .num { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.step-node a:hover, .mobile-steps a:hover { text-decoration: none; transform: translateY(-2px); }
.mobile-steps { display: none; }
.block { padding: var(--space) 0; scroll-margin-top: var(--header); }
.block-rice { background: var(--rice); }
.block-mist { background: var(--mist); }
.block-gradient {
  background: linear-gradient(118deg, #6E3C86 0%, #E4A07A 100%);
  color: #fff8f3;
}
.block-gradient h1, .block-gradient h2, .block-gradient h3 { color: #fff8f3; }
.block-gradient .rich, .block-gradient .section-lead { color: rgba(255, 248, 243, .9); }
.section-head { margin-bottom: 28px; }
.kicker {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  color: var(--lilac);
  font-size: var(--small);
  padding: 4px 12px;
  margin-bottom: 12px;
}
.block-gradient .kicker { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.28); }
.stat-row, .badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.stat-pill, .data-badge, .score-badge, .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: var(--small);
  line-height: 1.4;
}
.stat-pill strong, .data-badge strong, .score-badge strong {
  font-family: var(--serif);
  color: var(--lilac);
  font-size: 18px;
  font-weight: 700;
}
.btn-brand, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform .2s ease, filter .2s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none !important;
  cursor: pointer;
}
.btn-brand {
  color: #fff !important;
  background: linear-gradient(118deg, #6E3C86, #E4A07A);
  box-shadow: 0 10px 24px rgba(110, 60, 134, .22);
}
.btn-brand:hover { color: #fff; filter: brightness(.92); transform: translateY(-2px); }
.btn-brand:active { transform: translateY(1px); filter: brightness(.88); }
.btn-brand:disabled { opacity: .72; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--lilac) !important; border-color: rgba(110, 60, 134, .45); }
.btn-ghost:hover { background: var(--mist); color: var(--lilac); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(1px); }
.block-gradient .btn-ghost { color: #fff8f3 !important; border-color: rgba(255,248,243,.72); }
.block-gradient .btn-ghost:hover { background: rgba(255,248,243,.14); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
.podium-card, .panel, .step-card, .matrix-card, .scene-card, .compare-card, .topic-banner, .remind-card, .assure-item, .quick-item, .voice-item, .rank-item, .news-item, .time-node {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.podium-card { padding: 14px; color: var(--ink); }
.podium-card h3, .podium-card p { color: var(--ink); }
.podium-card.rank-1 { box-shadow: var(--shadow-deep); padding-top: 18px; }
.cover {
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  margin-bottom: 12px;
}
.cover span { color: #fff8f3; font-size: 20px; line-height: 1.35; text-shadow: 0 2px 8px rgba(36,20,36,.28); }
.tone-lilac { background: #6E3C86; }
.tone-dusk { background: linear-gradient(165deg, #5c3270 0%, #9a6484 48%, #E4A07A 100%); }
.tone-peach { background: #E4A07A; }
.tone-peach span, .tone-soft span { color: var(--ink); text-shadow: none; }
.tone-soft { background: linear-gradient(180deg, #f7eef8, #f0d2c2); }
.card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rank-seal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: #fff;
  border: 2px solid var(--silver);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
}
.rank-seal small { display: block; font-size: 11px; font-family: var(--sans); font-weight: 500; line-height: 1; }
.rank-seal b { font-size: 16px; line-height: 1.1; }
.seal-gold { border: 2px solid var(--gold); background: var(--lilac); color: #fff; }
.seal-silver { border: 2px solid var(--silver); }
.seal-bronze { border: 2px solid var(--bronze); }
.meta-line { color: var(--muted); font-size: var(--small); margin-bottom: 8px; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { display: block; padding: 20px; color: var(--ink); min-height: 180px; }
.step-card:hover { text-decoration: none; color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-deep); }
.step-index {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: var(--mist);
  color: var(--lilac);
  font-family: var(--serif);
  font-weight: 700;
}
.matrix-card, .scene-card, .compare-card, .time-node, .assure-item, .quick-item, .voice-item { padding: 22px; height: 100%; }
.matrix-card:hover, .scene-card:hover, .compare-card:hover, .voice-item:hover, .rank-item:hover, .news-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep);
}
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item, .news-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  color: var(--ink);
}
.rank-item:hover, .news-item:hover { text-decoration: none; color: var(--ink); }
.rank-copy { min-width: 0; flex: 1; }
.rank-copy h3 { font-size: 20px; }
.compare-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.compare-line:last-child { border-bottom: 0; }
.compare-line span:first-child { color: var(--muted); font-size: var(--small); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(110, 60, 134, .25);
}
.time-node { position: relative; }
.time-node .rank-seal { margin-bottom: 12px; }
.scene-card .cover { margin-bottom: 14px; }
.thumb {
  width: 128px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  flex: none;
}
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-main { flex: 1; min-width: 0; }
.more-row { margin-top: 18px; }
.topic-banner {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topic-banner .section-lead { margin-bottom: 0; }
.assure-item h3, .quick-item h3, .voice-item h3 { font-size: 18px; }
.quick-item { background: var(--paper); }
.quick-item h3 {
  display: inline-flex;
  border-radius: var(--radius-pill);
  background: var(--mist);
  color: var(--lilac);
  padding: 4px 12px;
  font-size: 15px;
  margin-bottom: 10px;
}
.accordion-item {
  background: var(--rice);
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  margin-bottom: 12px;
}
.accordion-button {
  background: var(--rice);
  color: var(--ink);
  font-size: 18px;
  box-shadow: none !important;
  padding: 18px 20px;
}
.accordion-button:not(.collapsed) { background: var(--mist); color: var(--ink); }
.accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236E3C86' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
}
.accordion-body { background: #fffdf9; color: var(--ink); padding: 4px 20px 18px; }
.voice-item p { margin: 0; }
.remind-card { padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.full { grid-column: 1 / -1; }
label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.form-control, .form-select {
  border-radius: 16px !important;
  border: 1px solid rgba(110, 60, 134, .22) !important;
  background: #fff !important;
  min-height: 48px;
  color: var(--ink);
  box-shadow: none !important;
}
.form-control:focus, .form-select:focus { border-color: var(--lilac) !important; box-shadow: 0 0 0 3px rgba(110, 60, 134, .2) !important; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check-line input { accent-color: var(--lilac); width: 18px; height: 18px; margin-top: 4px; }
.field-error { color: #8c3a4a; font-size: 13px; min-height: 0; margin-top: 4px; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--mist);
  border: 1px solid var(--line);
}
.form-success.show { display: block; }
.site-footer { background: #2a1830; color: #f6efe8; padding: 48px 0 28px; }
.site-footer a { color: #f3e8f4; }
.site-footer .logo-name, .site-footer h2 { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 24px; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { display: inline-block; padding: 4px 0; }
.copyright { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(246,239,232,.78); font-size: var(--small); }
@media (max-width: 991.98px) {
  :root { --h1: 38px; --h2: 28px; --space: 64px; --header: 118px; }
  .navbar-collapse {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-top: 10px;
    box-shadow: var(--shadow);
  }
  .mobile-steps { display: grid; gap: 8px; margin-top: 10px; }
  .mobile-steps a { width: 100%; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
  :root { --h1: 32px; --h2: 26px; --h3: 20px; --space: 44px; --body: 16px; }
  .logo-name { font-size: 15px; }
  .podium, .step-grid, .timeline, .form-grid { grid-template-columns: 1fr; }
  .podium { display: flex; flex-direction: column; }
  .step-grid { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .step-card { min-width: 240px; scroll-snap-align: start; }
  .topic-banner, .rank-item, .news-item { flex-direction: column; align-items: flex-start; }
  .thumb { width: 100%; max-width: 220px; }
  .progress-steps { gap: 4px; }
  .step-node a { padding-right: 8px; font-size: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-row .btn-brand, .cta-row .btn-ghost { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* roulang page: category1 */
:root {
  --lilac: #6E3C86;
  --ink: #241424;
  --peach: #E4A07A;
  --bronze: #A56B45;
  --silver: #C5C8D0;
  --gold: #8C6239;
  --rice: #F6F1EA;
  --mist: #F3E8F4;
  --paper: #fffdf9;
  --muted: #6c5868;
  --line: rgba(110, 60, 134, .14);
  --shadow: 0 16px 36px rgba(36, 20, 36, .10);
  --shadow-deep: 0 22px 46px rgba(36, 20, 36, .16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;
  --space: 88px;
  --serif: "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --h1: 46px;
  --h2: 30px;
  --h3: 21px;
  --body: 16.5px;
  --small: 13.5px;
  --header: 126px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rice);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.75;
  letter-spacing: 0;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--lilac); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, .accordion-button:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
}
button, input, select { font-family: inherit; }
h1, h2, h3, .logo-name, .accordion-button, .cover-title, .topic-word {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: 0;
}
h1 { font-size: var(--h1); line-height: 1.35; margin: 0 0 12px; }
h2 { font-size: var(--h2); line-height: 1.35; margin: 0 0 8px; }
h3 { font-size: var(--h3); line-height: 1.45; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.rich, .section-lead { max-width: 40em; }
.muted { color: var(--muted); font-size: var(--small); line-height: 1.7; }
.block { padding: var(--space) 0; scroll-margin-top: calc(var(--header) + 18px); }
.block-rice { background: var(--rice); }
.block-mist { background: var(--mist); }
.block-paper { background: #fff; }
.section-head { margin-bottom: 26px; max-width: 40em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(36, 20, 36, .04);
}
.site-nav { padding: 12px 0; background: #fff !important; }
.site-nav > .container { display: flex; flex-wrap: wrap; align-items: center; }
.brand-cluster { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.logo:hover { text-decoration: none; color: var(--ink); }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-mark svg { width: 42px; height: 42px; }
.logo-name { font-size: 16px; line-height: 1.3; font-weight: 700; }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: var(--lilac);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.site-nav .nav-link {
  color: var(--ink);
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: var(--radius-pill);
}
.site-nav .nav-link:hover { background: var(--mist); color: var(--lilac); text-decoration: none; }
.site-nav .nav-link.is-active { background: var(--mist); color: var(--lilac); }
.site-nav .navbar-toggler {
  border: 1px solid rgba(110, 60, 134, .28);
  border-radius: var(--radius-pill);
  padding: 8px 12px;
}
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(110, 60, 134, .28); }
.site-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%236E3C86' stroke-width='2' stroke-linecap='round' d='M5 8h20M5 15h20M5 22h20'/%3E%3C/svg%3E");
}
.mobile-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.step-bar { background: var(--rice); border-top: 1px solid var(--line); padding: 10px 0 12px; }
.step-track { position: relative; }
.step-track::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  height: 3px;
  background: #e7e2ea;
  border-radius: var(--radius-pill);
}
.step-fill {
  position: absolute;
  left: 18px;
  top: 18px;
  height: 3px;
  width: 25%;
  max-width: calc(100% - 36px);
  background: linear-gradient(118deg, #6E3C86, #E4A07A);
  border-radius: var(--radius-pill);
  z-index: 0;
  transition: width .25s ease;
}
.progress-steps {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}
.step-node a, .mobile-steps a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--silver);
  border-radius: var(--radius-pill);
  padding: 4px 12px 4px 4px;
  font-size: var(--small);
  font-weight: 500;
  transition: transform .2s ease, background .2s ease;
}
.step-node .num, .mobile-steps .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--silver);
  font-size: 13px;
  color: var(--ink);
}
.step-node.is-current a, .step-node.is-reached a,
.mobile-steps a.is-current, .mobile-steps a.is-reached {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(118deg, #6E3C86, #E4A07A);
}
.step-node.is-current .num, .step-node.is-reached .num,
.mobile-steps a.is-current .num, .mobile-steps a.is-reached .num {
  background: rgba(255, 255, 255, .16);
  border-color: transparent;
  color: #fff;
}
.step-node a:hover, .mobile-steps a:hover { text-decoration: none; transform: translateY(-2px); }
.step-node a:active, .mobile-steps a:active { transform: translateY(1px); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; font-size: var(--small); color: var(--muted); }
.crumb li { display: flex; align-items: center; gap: 8px; }
.crumb li + li::before { content: "/"; color: #b7a8b6; }
.pagehead-grid, .split-faq, .split-form, .filter-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}
.pagehead-grid { grid-template-columns: minmax(0, 1.45fr) minmax(240px, .7fr); }
.filter-layout { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.split-faq { grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); align-items: start; }
.split-form { grid-template-columns: minmax(220px, .75fr) minmax(0, 1.15fr); align-items: start; }
.topic-badge-card {
  position: relative;
  min-height: 230px;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 86% 16%, rgba(228, 160, 122, .48), transparent 46%),
    linear-gradient(165deg, #f8f3fb, #f8e6da);
  overflow: hidden;
}
.topic-ring {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 7px rgba(140, 98, 57, .12);
  margin-bottom: 16px;
}
.topic-word { font-size: 22px; line-height: 1; margin: 0; }
.topic-badge-card .tag { background: var(--lilac); color: #fff; border-color: transparent; }
.stat-row, .badge-row, .filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tag, .data-badge, .stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: var(--small);
  line-height: 1.4;
}
.data-badge strong, .stat-pill strong { font-family: var(--serif); color: var(--lilac); font-size: 18px; font-weight: 700; }
.pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(110, 60, 134, .45);
  background: transparent;
  color: var(--lilac);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, filter .2s ease;
}
.pill:hover { background: var(--mist); transform: translateY(-2px); }
.pill:active { transform: translateY(1px); }
.pill.is-current {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(118deg, #6E3C86, #E4A07A);
}
.pill.is-current:hover { color: #fff; filter: brightness(.92); }
.btn-brand, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: transform .2s ease, filter .2s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none !important;
  cursor: pointer;
}
.btn-brand {
  color: #fff !important;
  background: linear-gradient(118deg, #6E3C86, #E4A07A);
  box-shadow: 0 10px 24px rgba(110, 60, 134, .22);
}
.btn-brand:hover { color: #fff; filter: brightness(.92); transform: translateY(-2px); }
.btn-brand:active { transform: translateY(1px); filter: brightness(.88); }
.btn-brand:disabled { opacity: .72; cursor: wait; transform: none; filter: none; }
.btn-ghost { background: transparent; color: var(--lilac) !important; border-color: rgba(110, 60, 134, .45); }
.btn-ghost:hover { background: var(--mist); color: var(--lilac); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(1px); }
.entry-card, .rule-card, .path-card, .related-card, .form-card, .side-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.entry-card { height: 100%; padding: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.entry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.entry-card.is-first { box-shadow: var(--shadow-deep); }
.feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: stretch; }
.entry-cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.entry-cover:hover { text-decoration: none; color: #fff; }
.entry-cover.is-wide { aspect-ratio: 16 / 10; }
.cover-a { background: linear-gradient(168deg, #5a2d72 0%, #8a5478 58%, #e4b08a 100%); }
.cover-b { background: linear-gradient(200deg, #6E3C86 0%, #9a6d86 70%, #f0c2a4 100%); }
.cover-c { background: #6E3C86; }
.cover-d { background: linear-gradient(145deg, #4e285f, #a56b45 140%); }
.cover-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.4;
  text-shadow: 0 10px 22px rgba(36, 20, 36, .35);
}
.rank-seal {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--lilac);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
}
.rank-seal.gold { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 4px rgba(140, 98, 57, .16); }
.rank-seal.silver { border-color: var(--silver); color: #5e6270; }
.rank-seal.bronze { border-color: var(--bronze); color: var(--bronze); }
.entry-body { padding: 12px 6px 4px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.entry-meta time { color: var(--muted); font-size: var(--small); }
.entry-card h3 a { color: var(--ink); }
.entry-card h3 a:hover { color: var(--lilac); }
.entry-card p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.list-more { margin: 26px 0 0; }
.entry-col.is-hidden { display: none !important; }
.rule-row { display: grid; grid-template-columns: 1.15fr .9fr .95fr; gap: 16px; }
.rule-card { padding: 22px 22px 18px; height: 100%; }
.rule-card .data-badge { margin-bottom: 12px; }
.path-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.path-card { padding: 22px; min-height: 180px; display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; }
.path-card:hover { text-decoration: none; color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-deep); }
.path-card .num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--lilac);
  font-family: var(--serif);
  font-weight: 700;
}
.path-card strong { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.related-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
}
.related-row::-webkit-scrollbar { height: 8px; }
.related-row::-webkit-scrollbar-thumb { background: rgba(110, 60, 134, .35); border-radius: var(--radius-pill); }
.related-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  padding: 18px 18px 16px;
  min-height: 168px;
}
.related-card a { color: var(--ink); font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.45; }
.related-card a:hover { color: var(--lilac); }
.side-note { padding: 26px 24px; background: transparent; box-shadow: none; }
.topic-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.topic-accordion .accordion-button {
  background: var(--rice);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  padding: 16px 18px;
  box-shadow: none;
}
.topic-accordion .accordion-button:not(.collapsed) { background: var(--mist); color: var(--ink); }
.topic-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236E3C86' d='M1.5 5.5l6.5 6 6.5-6'/%3E%3C/svg%3E");
}
.topic-accordion .accordion-body { background: #fff; color: var(--ink); font-size: 15.5px; line-height: 1.75; }
.form-card { padding: 26px 24px 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input[type="text"] {
  width: 100%;
  border: 1px solid rgba(110, 60, 134, .28);
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 16px;
}
.field input[type="text"]:focus { border-color: var(--lilac); box-shadow: 0 0 0 3px rgba(110, 60, 134, .16); outline: none; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin: 8px 0 12px; }
.checkline input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--lilac); flex: none; }
.form-error { color: #8a3d55; font-size: var(--small); min-height: 1.4em; margin: 0 0 8px; }
.success-box { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.success-box[hidden], form[hidden] { display: none !important; }
.site-footer { background: #241424; color: #f6efe8; padding: 56px 0 28px; }
.site-footer .logo-name, .site-footer h2, .site-footer .logo { color: #f6efe8; }
.site-footer a { color: #f3e8f4; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 28px; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin: 6px 0; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.copyright {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(243, 232, 244, .2);
  color: rgba(246, 239, 232, .78);
  font-size: var(--small);
}
@media (max-width: 991.98px) {
  :root { --h1: 38px; --h2: 28px; --space: 64px; --header: 150px; }
  .brand-cluster { flex: 1 1 auto; }
  .pagehead-grid, .filter-layout, .split-faq, .split-form, .rule-row, .path-row { grid-template-columns: 1fr 1fr; }
  .pagehead-grid, .split-faq, .split-form, .filter-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .rule-row { grid-template-columns: 1fr; }
  .path-row { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
  :root { --h1: 32px; --h2: 26px; --h3: 20px; --space: 44px; --body: 16px; }
  .block { scroll-margin-top: 168px; }
  .path-row, .foot-grid { grid-template-columns: 1fr; }
  .progress-steps { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
  .step-node { flex: 0 0 auto; }
  .step-fill, .step-track::before { display: none; }
  .cover-title { font-size: 18px; }
}
@media (max-width: 520px) {
  .logo-name { font-size: 13px; }
  h1 { font-size: 28px; }
  .pill { padding: 8px 12px; }
  .topic-badge-card { min-height: 0; }
  .form-card, .entry-card, .path-card { border-radius: 22px; }
}

/* 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}
