/* roulang page: index */
:root {
  --bg: #F4EFE8;
  --ink: #2A1528;
  --plum: #5C2E55;
  --plum-deep: #4A2446;
  --bronze: #8A6742;
  --moss: #5F7360;
  --text: #241820;
  --muted: #5E5460;
  --line: #E3D6CB;
  --card: #FBF8F4;
  --band: #EFE4D8;
  --neutral: #E9E0D6;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(42, 21, 40, .06);
  --container: 1160px;
  --pad: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--plum); color: var(--card); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 239, 232, .96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  color: var(--ink);
  font-weight: 650;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: .01em;
  max-width: 62%;
}
.logo:hover { color: var(--plum); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 15px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav-link svg { width: 14px; height: 14px; flex: none; }
.nav-link:hover { color: var(--plum); }
.nav-link.active {
  color: var(--plum);
  background: rgba(92, 46, 85, .07);
}
.nav-link.active .dot-nav {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--plum);
}
.nav-toggle {
  display: none;
  position: relative;
  z-index: 50;
  min-width: 72px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--plum); color: var(--plum); }
.section { padding: var(--pad) 0; }
.section.alt { background: var(--card); }
.section.band { background: var(--band); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bronze);
  font-size: 13px;
  letter-spacing: .12em;
  margin-bottom: 12px;
}
h1 {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 680;
  color: var(--ink);
  letter-spacing: -.02em;
}
h2 {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 670;
  color: var(--ink);
}
h3 { font-size: 18px; line-height: 1.5; color: var(--ink); font-weight: 650; }
.lead { color: var(--muted); margin-top: 16px; max-width: 680px; }
.claim {
  margin-top: 18px;
  color: var(--plum);
  font-weight: 640;
  font-size: 17px;
}
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head p { margin-top: 12px; color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--plum); color: #FBF8F4; }
.btn-primary:hover { background: #6d3a66; }
.btn-ghost { background: transparent; color: var(--plum); border-color: rgba(92, 46, 85, .35); }
.btn-ghost:hover { background: rgba(92, 46, 85, .06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr);
  gap: 48px;
  align-items: center;
}
.medal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.medal {
  background: var(--card);
  border-radius: 50%;
  width: 148px;
  height: 148px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
  border: 2px solid var(--bronze);
  box-shadow: inset 0 0 0 7px var(--card), inset 0 0 0 9px var(--bronze), var(--shadow);
}
.medal b {
  display: block;
  color: var(--plum);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}
.medal span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.rank-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scroll-snap-type: x mandatory;
}
.rank-scroller::-webkit-scrollbar { height: 8px; }
.rank-scroller::-webkit-scrollbar-thumb { background: #d9c7b6; border-radius: 999px; }
.rank-pill {
  min-width: 292px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.rank-pill:hover { transform: translateY(-1px); border-color: #d2bba8; transition: .2s ease; }
.rank-medal {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--plum);
  font-weight: 700;
  border: 2px solid var(--bronze);
  box-shadow: inset 0 0 0 4px #FBF8F4, inset 0 0 0 6px var(--bronze);
  background: #F8F3EE;
}
.ribbon {
  position: absolute;
  top: 10px;
  right: -6px;
  background: var(--bronze);
  color: #FBF8F4;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px 6px 12px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8px 50%);
}
.rank-pill h3 { font-size: 16px; padding-right: 42px; }
.rank-pill p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.matrix-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-8 { grid-column: span 8; }
.span-4 { grid-column: span 4; }
.matrix-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.section.alt .matrix-card { background: var(--bg); }
.matrix-card:hover { transform: translateY(-1px); border-color: #c9b09a; }
.matrix-card p { color: var(--muted); margin-top: 12px; }
.tag {
  align-self: flex-start;
  border: 1px solid var(--line);
  color: var(--plum);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  letter-spacing: .06em;
}
.scene-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.scene-item { padding: 22px 18px; border-right: 1px solid var(--line); }
.scene-item:last-child { border-right: 0; }
.scene-item em {
  display: block;
  font-style: normal;
  color: var(--bronze);
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.scene-item p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 26px 24px 18px;
  box-shadow: var(--shadow);
}
.compare-high { border-top: 3px solid var(--bronze); }
.compare-low { background: var(--neutral); }
.compare-card li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(227, 214, 203, .9);
  color: var(--muted);
}
.compare-card li strong { color: var(--ink); font-weight: 640; }
.topic-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.topic-main {
  display: block;
  min-height: 280px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #F6EFE8;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.topic-main::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 10px solid var(--bronze);
  opacity: .85;
}
.topic-main:hover { transform: translateY(-1px); transition: .2s ease; }
.topic-main h3 { color: #FBF8F4; font-size: 28px; line-height: 1.35; max-width: 460px; }
.topic-main p { color: rgba(251, 248, 244, .78); margin-top: 14px; max-width: 460px; }
.topic-side { display: grid; gap: 12px; }
.topic-mini {
  display: block;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
}
.topic-mini:hover { border-color: var(--plum); transform: translateY(-1px); transition: .2s ease; }
.topic-mini span { color: var(--bronze); font-size: 12px; letter-spacing: .08em; }
.topic-mini strong { display: block; margin-top: 4px; font-weight: 640; }
.podium {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.step {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px 18px 8px 8px;
  padding: 18px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.step:nth-child(1) { min-height: 190px; }
.step:nth-child(2) { min-height: 240px; }
.step:nth-child(3) { min-height: 290px; }
.step:nth-child(4) { min-height: 340px; }
.step i {
  font-style: normal;
  color: var(--plum);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
}
.step p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.news-list { border-top: 1px solid var(--line); }
.news-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
}
.news-row:hover { background: rgba(92, 46, 85, .04); }
.news-row b { color: var(--plum); font-size: 20px; }
.news-row small { color: var(--muted); }
.more-wrap { margin-top: 22px; }
.line-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.line-list b { color: var(--plum); font-size: 18px; }
.line-list p { color: var(--muted); margin-top: 4px; }
.qa-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.qa-item { padding: 18px 0; border-top: 1px solid var(--line); }
.qa-item h3 { font-size: 17px; }
.qa-item p { color: var(--muted); margin-top: 6px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 650;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--bronze); font-weight: 500; }
.faq-item[open] summary { color: var(--plum); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding: 0 0 16px; max-width: 820px; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  box-shadow: var(--shadow);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--bronze);
  box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 6px var(--bronze);
  color: var(--plum);
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
}
.quote-card p { margin-top: 16px; }
.quote-card span { color: var(--muted); font-size: 13px; }
.cal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cal-col {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px 16px;
  min-height: 230px;
  box-shadow: var(--shadow);
}
.section.alt .cal-col { background: var(--bg); }
.cal-col:hover { transform: translateY(-1px); border-color: #c9b09a; transition: .2s ease; }
.cal-col strong { display: block; margin: 10px 0 8px; }
.cal-col p { color: var(--muted); font-size: 14.5px; }
.moss {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--moss);
  font-size: 13px;
}
.moss i, .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moss);
  display: inline-block;
}
.form-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 36px;
  align-items: start;
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field span { color: var(--ink); font-size: 14px; }
.field input, .field select {
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 14px;
  color: var(--text);
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(92, 46, 85, .12);
}
.form-ok {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(95, 115, 96, .1);
  color: var(--ink);
}
.site-footer {
  background: var(--ink);
  color: rgba(251, 248, 244, .82);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(227, 214, 203, .18);
}
.site-footer strong { color: #FBF8F4; font-size: 18px; font-weight: 650; display: block; }
.site-footer p { margin-top: 12px; max-width: 640px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-links a:hover { color: #FBF8F4; }
.copy {
  padding-top: 18px;
  color: rgba(251, 248, 244, .62);
  font-size: 13px;
}
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
@media (max-width: 1280px) {
  :root { --container: 1120px; }
}
@media (max-width: 1024px) {
  h1 { font-size: 36px; }
  .board-grid, .topic-layout, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .scene-row { grid-template-columns: 1fr 1fr; }
  .scene-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .scene-item:nth-child(2) { border-right: 0; }
  .medal { width: 132px; height: 132px; }
  .quote-grid, .cal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --pad: 44px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    padding: 88px 32px;
    gap: 8px;
    z-index: 30;
  }
  .site-nav.is-open { display: flex; }
  .nav-link { font-size: 28px; min-height: 56px; padding: 0; background: transparent; }
  .compare-grid, .qa-list, .quote-grid, .cal-grid, .podium { grid-template-columns: 1fr; display: grid; }
  .podium { align-items: stretch; }
  .step, .step:nth-child(n) { min-height: 0; }
  .span-7, .span-5, .span-8, .span-4 { grid-column: span 12; }
  .news-row { grid-template-columns: 56px minmax(0, 1fr); }
  .news-row small { grid-column: 2; }
  .logo { font-size: 14px; }
}
@media (max-width: 640px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .container { width: min(var(--container), calc(100% - 28px)); }
  .scene-row { display: flex; overflow-x: auto; }
  .scene-item { min-width: 240px; border-right: 1px solid var(--line); border-bottom: 0; }
  .medal-grid { gap: 10px; }
  .medal { width: 124px; height: 124px; }
  .medal b { font-size: 24px; }
  .matrix-card { min-height: 0; }
}
@media (max-width: 520px) {
  .header-inner { min-height: 64px; }
  .btn { width: 100%; }
  .btn-row { display: grid; }
  .rank-pill { min-width: 250px; }
  .line-list li, .compare-card li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category1 */
:root {
 --bg: #F4EFE8;
 --ink: #2A1528;
 --plum: #5C2E55;
 --plum-deep: #4A2446;
 --bronze: #8A6742;
 --moss: #5F7360;
 --text: #241820;
 --muted: #5E5460;
 --line: #E3D6CB;
 --card: #FBF8F4;
 --band: #EFE4D8;
 --neutral: #E9E0D6;
 --radius: 18px;
 --shadow: 0 8px 24px rgba(42, 21, 40, .06);
 --container: 1160px;
 --pad: 84px;
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 background: var(--bg);
 color: var(--text);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: 16.5px;
 line-height: 1.8;
 text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; font-size: 16px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.num { font-variant-numeric: tabular-nums; }
.site-header {
 position: sticky;
 top: 0;
 z-index: 40;
 background: rgba(244, 239, 232, .96);
 border-bottom: 1px solid var(--line);
}
.header-inner {
 min-height: 76px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 24px;
}
.logo {
 color: var(--ink);
 font-weight: 650;
 font-size: 16px;
 line-height: 1.35;
 letter-spacing: .01em;
 max-width: 62%;
}
.logo:hover { color: var(--plum); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 min-height: 40px;
 padding: 0 14px;
 color: var(--muted);
 font-size: 15px;
 border-radius: 999px;
 transition: color .2s ease, background .2s ease;
}
.nav-link svg { width: 14px; height: 14px; flex: none; }
.nav-link:hover { color: var(--plum); }
.nav-link.active {
 color: var(--plum);
 background: rgba(92, 46, 85, .07);
}
.nav-link.active .dot-nav {
 width: 6px;
 height: 6px;
 border-radius: 50%;
 background: var(--plum);
 display: inline-block;
}
.nav-toggle {
 display: none;
 position: relative;
 z-index: 50;
 min-width: 72px;
 height: 40px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: var(--card);
 color: var(--ink);
 cursor: pointer;
}
.nav-toggle:hover { border-color: var(--plum); color: var(--plum); }
.nav-toggle:focus-visible, .nav-link:focus-visible, .btn:focus-visible, .chip:focus-visible, a:focus-visible {
 outline: 2px solid var(--plum);
 outline-offset: 3px;
}
.section { padding: var(--pad) 0; }
.section.alt { background: var(--card); }
.section.band { background: var(--band); }
.section.ink {
 background: var(--ink);
 color: #F6EFE8;
}
h1 { font-size: 42px; line-height: 1.28; color: var(--ink); font-weight: 680; letter-spacing: .01em; }
h2 { font-size: 26px; line-height: 1.4; color: var(--ink); font-weight: 650; }
h3 { font-size: 18px; line-height: 1.5; color: var(--ink); font-weight: 640; }
.lead { color: var(--muted); margin-top: 16px; max-width: 640px; }
.kicker {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 color: var(--bronze);
 font-size: 13px;
 letter-spacing: .12em;
 margin-bottom: 14px;
}
.kicker i {
 width: 7px;
 height: 7px;
 border-radius: 50%;
 background: var(--moss);
 display: inline-block;
}
.cat-hero-grid {
 display: grid;
 grid-template-columns: minmax(0, 1.35fr) minmax(260px, .72fr);
 gap: 48px;
 align-items: center;
}
.ribbon {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px 18px 8px;
 position: relative;
}
.ribbon::before {
 content: "";
 position: absolute;
 left: 0;
 top: 18px;
 bottom: 18px;
 width: 6px;
 background: var(--bronze);
 border-radius: 0 6px 6px 0;
}
.ribbon-row {
 display: flex;
 align-items: center;
 gap: 12px;
 padding: 12px 8px 12px 14px;
 border-top: 1px solid var(--line);
}
.ribbon-row:first-of-type { border-top: 0; }
.seal {
 width: 42px;
 height: 42px;
 border-radius: 50%;
 border: 2px solid var(--bronze);
 box-shadow: inset 0 0 0 4px rgba(138, 103, 66, .22);
 display: grid;
 place-items: center;
 color: var(--plum);
 font-weight: 700;
 flex: none;
}
.ribbon-row p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.filter-bar {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 10px 14px;
 padding-bottom: 18px;
 border-bottom: 1px solid var(--line);
}
.filter-label { color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
 min-height: 36px;
 padding: 0 14px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: transparent;
 color: var(--muted);
 cursor: pointer;
 transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.chip:hover { color: var(--plum); border-color: rgba(92, 46, 85, .35); transform: translateY(-1px); }
.chip.is-on {
 color: #FBF8F4;
 background: var(--plum);
 border-color: var(--plum);
}
.v-line { width: 1px; height: 22px; background: var(--line); }
.rank-list { border-top: 1px solid var(--line); margin-top: 8px; }
.rank-row {
 display: grid;
 grid-template-columns: 74px minmax(0, 1fr) 108px;
 gap: 18px;
 align-items: center;
 padding: 22px 4px;
 border-bottom: 1px solid var(--line);
 transition: background .2s ease;
}
.rank-row:hover { background: rgba(92, 46, 85, .04); }
.rank-row[hidden] { display: none; }
.medal {
 width: 58px;
 height: 58px;
 border-radius: 50%;
 border: 2px solid var(--bronze);
 display: grid;
 place-items: center;
 color: var(--plum);
 font-weight: 700;
 font-size: 16px;
 background: var(--card);
}
.medal.double { box-shadow: inset 0 0 0 4px rgba(138, 103, 66, .28); }
.rank-main p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.rank-meta { text-align: right; color: var(--muted); font-size: 14px; }
.rank-meta b {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 color: var(--plum);
 font-weight: 600;
 font-size: 13px;
}
.moss {
 width: 6px;
 height: 6px;
 border-radius: 50%;
 background: var(--moss);
 display: inline-block;
}
.stat-line {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 border-top: 1px solid var(--line);
 border-bottom: 1px solid var(--line);
}
.stat-cell { padding: 22px 8px; }
.stat-cell + .stat-cell { border-left: 1px solid var(--line); }
.stat-cell strong {
 display: block;
 font-size: 34px;
 line-height: 1.1;
 color: var(--plum);
 font-weight: 680;
}
.stat-cell span { color: var(--muted); font-size: 14px; }
.step-grid {
 display: grid;
 grid-template-columns: 1.1fr repeat(3, 1fr);
 gap: 18px;
 align-items: stretch;
}
.step {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 22px 20px;
 box-shadow: var(--shadow);
}
.section.alt .step { background: var(--bg); }
.step em {
 font-style: normal;
 color: var(--bronze);
 font-size: 13px;
 letter-spacing: .08em;
}
.step p { color: var(--muted); margin-top: 8px; }
.article-list { border-top: 1px solid var(--line); }
.article-row {
 display: grid;
 grid-template-columns: 86px minmax(0, 1fr) auto;
 gap: 16px;
 align-items: center;
 padding: 16px 4px;
 border-bottom: 1px solid var(--line);
}
.article-row:hover { background: rgba(92, 46, 85, .04); }
.article-row span { color: var(--bronze); font-size: 13px; letter-spacing: .06em; }
.article-row small { color: var(--muted); }
.qa details {
 border-bottom: 1px solid var(--line);
 padding: 16px 0;
}
.qa summary {
 cursor: pointer;
 list-style: none;
 font-weight: 640;
 color: var(--ink);
 display: flex;
 justify-content: space-between;
 gap: 16px;
 align-items: center;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
 content: "+";
 color: var(--plum);
 font-weight: 500;
 font-size: 20px;
 line-height: 1;
}
.qa details[open] summary::after { content: "–"; }
.qa details p { color: var(--muted); margin-top: 8px; max-width: 760px; }
.remind-row {
 display: flex;
 justify-content: space-between;
 gap: 28px;
 align-items: flex-end;
}
.section.ink h2, .section.ink p { color: #F6EFE8; }
.section.ink .lead { color: rgba(246, 239, 232, .74); }
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 46px;
 padding: 0 22px;
 border-radius: 999px;
 border: 1px solid transparent;
 cursor: pointer;
 transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--plum); color: #FBF8F4; }
.btn-primary:hover { background: #6d3a66; }
.btn-ghost { background: transparent; color: var(--plum); border-color: rgba(92, 46, 85, .35); }
.btn-ghost:hover { background: rgba(92, 46, 85, .06); }
.section.ink .btn-primary { background: #FBF8F4; color: var(--ink); }
.section.ink .btn-primary:hover { background: #fff; }
.section.ink .btn-ghost { color: #F6EFE8; border-color: rgba(246, 239, 232, .4); }
.section.ink .btn-ghost:hover { background: rgba(251, 248, 244, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer {
 background: var(--ink);
 color: #F6EFE8;
 padding: 56px 0 28px;
}
.footer-grid {
 display: grid;
 grid-template-columns: 1.4fr .8fr;
 gap: 36px;
}
.site-footer strong { font-size: 16px; font-weight: 650; }
.site-footer p { color: rgba(246, 239, 232, .72); margin-top: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-links a { color: rgba(246, 239, 232, .84); border-bottom: 1px solid transparent; }
.footer-links a:hover { color: #fff; border-bottom-color: var(--bronze); }
.copy {
 margin-top: 28px;
 padding-top: 18px;
 border-top: 1px solid rgba(246, 239, 232, .14);
 font-size: 13px;
 color: rgba(246, 239, 232, .58);
}
@media (max-width: 1024px) {
 .cat-hero-grid, .step-grid, .footer-grid { grid-template-columns: 1fr; }
 .step-grid { gap: 12px; }
}
@media (max-width: 768px) {
 :root { --pad: 44px; }
 .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
 .site-nav {
 display: none;
 position: fixed;
 inset: 76px 0 0 0;
 background: var(--bg);
 flex-direction: column;
 align-items: flex-start;
 padding: 28px 22px;
 gap: 6px;
 overflow: auto;
 }
 .site-nav.open { display: flex; }
 .nav-link { width: 100%; font-size: 18px; min-height: 52px; justify-content: flex-start; }
 .logo { font-size: 14px; max-width: 68%; }
 h1 { font-size: 28px; }
 h2 { font-size: 24px; }
 .v-line { display: none; }
 .rank-row, .article-row { grid-template-columns: 58px minmax(0, 1fr); }
 .rank-meta, .article-row small { grid-column: 2; text-align: left; }
 .stat-line { grid-template-columns: 1fr; }
 .stat-cell + .stat-cell { border-left: 0; border-top: 1px solid var(--line); }
 .remind-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
 .container { width: min(var(--container), calc(100% - 28px)); }
 .medal { width: 48px; height: 48px; font-size: 14px; }
 .stat-cell strong { font-size: 28px; }
}
