/* roulang page: index */
:root {
  --bs-primary: #2A63D6;
  --bs-primary-rgb: 42, 99, 214;
  --bs-body-bg: #F3F6FB;
  --bs-body-color: #1C2430;
  --bs-body-font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --bs-border-radius: 12px;
  --bs-link-color: #2A63D6;
  --bs-link-hover-color: #1E4CAD;
  --c-primary: #2A63D6;
  --c-primary-deep: #1E4CAD;
  --c-accent: #5B7CFA;
  --c-bg: #F3F6FB;
  --c-card: #FFFFFF;
  --c-text: #1C2430;
  --c-muted: #5C6778;
  --c-line: #E4EAF3;
  --c-gold: #C6A15B;
  --c-silver: #9AA3B2;
  --c-bronze: #B7844A;
  --shadow: 0 8px 24px rgba(28, 55, 110, .08);
  --shadow-hover: 0 14px 32px rgba(28, 55, 110, .12);
  --radius: 16px;
  --gap: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
::selection { background: rgba(42, 99, 214, .18); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
h3 { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
p { margin-bottom: 0; }
.num { font-variant-numeric: tabular-nums; }
.container-page, .container-rank {
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.container-page { max-width: 1140px; }
.container-rank { max-width: 1200px; }
.site-header {
  background: rgba(243, 246, 251, .96);
  border-bottom: 1px solid var(--c-line);
  padding: 14px 0 12px;
  position: relative;
  z-index: 30;
}
.head-row {
  display: grid;
  grid-template-columns: minmax(132px, auto) minmax(220px, 560px) auto;
  align-items: center;
  gap: 16px 22px;
  justify-content: space-between;
}
.brand { justify-self: start; color: var(--c-text); }
.brand-mark {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 560px;
  justify-self: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 4px 6px 4px 8px;
  box-shadow: 0 8px 24px rgba(28, 55, 110, .06);
  transition: border-color .2s, box-shadow .2s;
}
.search-form:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 2px rgba(42, 99, 214, .2);
}
.search-submit, .search-clear {
  border: 0;
  background: transparent;
  color: var(--c-primary);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.search-submit:hover, .search-clear:hover { background: rgba(42, 99, 214, .1); color: var(--c-primary-deep); }
.search-clear { width: auto; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--c-muted); }
.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 8px 8px;
  font-size: 15px;
  color: var(--c-text);
}
.search-input::placeholder { color: #8A94A6; }
.nav-scroll {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--c-text);
  background: transparent;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}
.nav-chip:hover { background: rgba(42, 99, 214, .08); color: var(--c-primary-deep); }
.nav-chip:active { transform: translateY(1px); }
.nav-chip.active { background: rgba(42, 99, 214, .12); color: var(--c-primary-deep); }
.block { padding: 44px 0; }
.block:nth-of-type(odd) { background: var(--c-bg); }
.block:nth-of-type(even) { background: #fff; }
.desc { margin: 12px 0 28px; color: var(--c-muted); max-width: 760px; }
.board-head { position: relative; padding: 8px 4px 4px; margin-bottom: 8px; }
.board-head::before {
  content: "";
  position: absolute;
  left: -12px;
  right: 8%;
  top: -16px;
  bottom: -8px;
  background: #E7EEF8;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 78%);
  border-radius: 18px;
  z-index: 0;
}
.board-head > * { position: relative; z-index: 1; }
.metric-card, .entry-card, .matrix-card, .panel, .topic-card, .qa-item, .path-item, .step {
  background: var(--c-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.metric-card, .entry-card, .matrix-card, .topic-card, .qa-item, .path-item {
  padding: 24px;
  height: 100%;
  transition: transform .2s, box-shadow .2s;
}
.metric-card:hover, .entry-card:hover, .matrix-card:hover, .topic-card:hover, .path-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.medal {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #1C2430;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.medal.gold { background: var(--c-gold); }
.medal.silver { background: var(--c-silver); }
.medal.bronze { background: var(--c-bronze); }
.medal.plain { background: var(--c-primary); color: #fff; }
.medal.shield { border-radius: 8px 8px 12px 12px; }
.metric-label { color: var(--c-muted); font-size: 14px; margin-bottom: 4px; }
.metric-num { font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 10px; }
.metric-text, .entry-text, .card-text { color: var(--c-text); }
.frame {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #E7EEF8;
  border: 1px solid var(--c-line);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: var(--c-muted);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.frame::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -30px;
  width: 120px;
  height: 120px;
  background: rgba(42, 99, 214, .08);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}
.entry-card { display: flex; flex-direction: column; gap: 14px; color: inherit; }
.entry-card:hover { color: inherit; }
.entry-title { font-size: 22px; line-height: 1.35; }
.text-link { color: var(--c-primary); font-weight: 700; }
.entry-card:hover .text-link { color: var(--c-primary-deep); }
.matrix { display: grid; grid-template-columns: 1.45fr .85fr; gap: 20px; align-items: stretch; }
.matrix-side { display: grid; gap: 20px; }
.matrix-card h3 { margin-top: 8px; }
.matrix-main { display: flex; flex-direction: column; gap: 16px; }
.step-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.step {
  box-shadow: none;
  border-radius: 0;
  padding: 24px;
  border-right: 1px solid var(--c-line);
  background: transparent;
}
.step:last-child { border-right: 0; }
.step-no {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}
.compare { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.compare-row {
  display: grid;
  grid-template-columns: 76px 1.1fr 1fr 1.1fr 1.1fr;
  gap: 8px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--c-line);
}
.compare-row:last-child { border-bottom: 0; }
.compare-head { background: #F7F9FD; color: var(--c-muted); font-size: 14px; font-weight: 700; }
.compare-row .medal { margin: 0; }
.timeline { margin-left: 8px; }
.tl-item { position: relative; padding: 0 0 28px 36px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: -8px;
  width: 2px;
  background: var(--c-line);
}
.tl-item:last-child::before { display: none; }
.tl-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-primary);
}
.tl-time { color: var(--c-primary); font-weight: 700; font-size: 14px; }
.panel { padding: 8px 24px 20px; }
.rank-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}
.rank-row:last-of-type { border-bottom: 0; }
.rank-rail { display: flex; justify-content: center; position: relative; }
.rank-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--c-line);
}
.rank-rail .medal { position: relative; z-index: 1; margin-top: 2px; }
.rank-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--c-muted); font-size: 14px; margin: 8px 0; }
.bar { height: 4px; background: #E7EEF8; border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--c-accent); border-radius: inherit; }
.w98 { width: 98%; } .w95 { width: 95%; } .w93 { width: 93%; } .w90 { width: 90%; } .w88 { width: 88%; } .w86 { width: 86%; }
.list-more { display: flex; justify-content: flex-start; padding-top: 8px; }
.btn-main, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn-main { background: var(--c-primary); color: #fff; }
.btn-main:hover { background: var(--c-primary-deep); color: #fff; transform: translateY(-1px); }
.btn-main:active { transform: translateY(0); }
.btn-line { background: #fff; color: var(--c-primary); border-color: rgba(42, 99, 214, .35); }
.btn-line:hover { background: rgba(42, 99, 214, .08); color: var(--c-primary-deep); transform: translateY(-1px); }
.news-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: start;
}
.news-row:last-child { border-bottom: 0; }
.news-time { color: var(--c-primary); font-weight: 700; }
.news-title { font-weight: 700; font-size: 18px; display: inline-block; margin-bottom: 6px; }
.news-title:hover { color: var(--c-primary-deep); }
.assure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.assure-item { display: flex; gap: 14px; align-items: flex-start; padding: 24px; border-right: 1px solid var(--c-line); }
.assure-item:last-child { border-right: 0; }
.assure-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  background: rgba(91, 124, 250, .1);
  flex: 0 0 auto;
}
.qa-grid, .topic-grid { display: grid; gap: 16px; }
.qa-grid { grid-template-columns: repeat(4, 1fr); }
.topic-grid { grid-template-columns: repeat(4, 1fr); }
.qa-item { padding: 0; overflow: hidden; }
.qa-toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 24px 24px 16px;
  font-weight: 700;
  font-size: 16px;
  color: var(--c-text);
  cursor: pointer;
}
.qa-toggle:hover { color: var(--c-primary-deep); }
.qa-body { padding: 0 24px 24px; color: var(--c-text); }
.qa-item:has(.show), .qa-item:has(.collapsing) { border-left: 3px solid var(--c-primary); }
.topic-kicker { color: var(--c-primary); font-weight: 700; font-size: 14px; }
.topic-card { display: flex; flex-direction: column; gap: 8px; color: inherit; }
.topic-card:hover { color: inherit; }
.accordion { --bs-accordion-border-color: var(--c-line); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: #fff; --bs-accordion-active-color: var(--c-text); }
.accordion-item {
  border: 1px solid var(--c-line) !important;
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.accordion-button {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  padding: 18px 20px;
  color: var(--c-text);
  background: #fff;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--c-primary-deep); }
.accordion-button:focus { outline: 2px solid var(--c-primary); outline-offset: -2px; }
.accordion-body { padding: 0 20px 18px; color: var(--c-text); }
.accordion-item:has(.accordion-collapse.show) { border-left: 3px solid var(--c-primary) !important; }
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}
.form-label { font-weight: 700; margin-bottom: 8px; }
.form-control {
  border: 1px solid var(--c-line);
  border-radius: 12px;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--c-text);
  background: #fff;
  box-shadow: none;
}
.form-control:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 2px rgba(42, 99, 214, .2);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-control.is-invalid {
  border-color: var(--c-primary-deep);
  box-shadow: 0 0 0 2px rgba(30, 76, 173, .15);
  background-image: none;
}
.notice { border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; word-break: break-word; }
.notice-ok { background: #EAF0FB; border: 1px solid var(--c-primary); }
.notice-error { background: #F4F7FC; border: 1px solid var(--c-primary-deep); }
.form-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.site-footer { background: #F3F6FB; border-top: 1px solid var(--c-line); padding: 36px 0 42px; }
.foot { display: grid; grid-template-columns: 1.2fr 1.4fr .8fr; gap: 24px; align-items: start; }
.foot-brand { font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--c-text); }
.foot-links, .foot-addr { display: flex; flex-direction: column; gap: 8px; }
.foot-links a, .foot-addr a { color: var(--c-muted); }
.foot-links a:hover, .foot-addr a:hover { color: var(--c-primary-deep); }
.copy { color: var(--c-muted); font-size: 14px; }
@media (min-width: 992px) {
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .block { padding: 80px 0; }
}
@media (max-width: 1199.98px) {
  .head-row { grid-template-columns: auto minmax(180px, 1fr) auto; }
}
@media (max-width: 991.98px) {
  .head-row { grid-template-columns: 1fr; gap: 10px; }
  .search-form { position: sticky; top: 0; z-index: 40; max-width: none; background: #fff; }
  .nav-scroll { justify-self: start; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .matrix, .step-track, .qa-grid, .topic-grid, .path, .assure, .foot { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--c-line); }
  .assure-item { border-right: 0; border-bottom: 1px solid var(--c-line); }
  .compare-row { grid-template-columns: 56px 1fr; }
  .compare-row span:nth-child(n+3) { grid-column: 2; }
}
@media (max-width: 767.98px) {
  .matrix, .qa-grid, .topic-grid, .path, .assure, .foot, .step-track { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; gap: 4px; }
  .metric-num { font-size: 30px; }
  .entry-title { font-size: 20px; }
}
@media (max-width: 575.98px) {
  .container-page, .container-rank { padding-left: 14px; padding-right: 14px; }
  .panel, .form-panel { padding-left: 16px; padding-right: 16px; }
  .rank-row { grid-template-columns: 48px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* roulang page: category2 */
:root {
 --bs-primary: #2A63D6;
 --bs-primary-rgb: 42, 99, 214;
 --bs-body-bg: #F3F6FB;
 --bs-body-color: #1C2430;
 --bs-body-font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 --bs-border-radius: 12px;
 --bs-link-color: #2A63D6;
 --bs-link-hover-color: #1E4CAD;
 --c-primary: #2A63D6;
 --c-primary-deep: #1E4CAD;
 --c-accent: #5B7CFA;
 --c-bg: #F3F6FB;
 --c-card: #FFFFFF;
 --c-text: #1C2430;
 --c-muted: #5C6778;
 --c-line: #E4EAF3;
 --c-gold: #C6A15B;
 --c-silver: #9AA3B2;
 --c-bronze: #B7844A;
 --shadow: 0 8px 24px rgba(28, 55, 110, .08);
 --shadow-hover: 0 14px 32px rgba(28, 55, 110, .12);
 --radius: 16px;
 --gap: 20px;
}
/* roulang page: category2 */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
 margin: 0;
 background: var(--c-bg);
 color: var(--c-text);
 font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
 font-size: 16px;
 line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
 outline: 2px solid var(--c-primary);
 outline-offset: 2px;
}
.container-page, .container-rank {
 width: 100%;
 margin: 0 auto;
 padding-left: 16px;
 padding-right: 16px;
}
.container-page { max-width: 1140px; }
.container-rank { max-width: 1200px; }
.site-header.navbar {
 display: block;
 background: rgba(243, 246, 251, .96);
 border-bottom: 1px solid var(--c-line);
 padding: 14px 0 12px;
 position: relative;
 z-index: 30;
 --bs-navbar-padding-x: 0;
 --bs-navbar-padding-y: 0;
 --bs-navbar-color: var(--c-text);
 --bs-navbar-hover-color: var(--c-primary-deep);
 --bs-navbar-brand-color: var(--c-text);
 --bs-navbar-brand-hover-color: var(--c-text);
}
.head-row {
 display: grid;
 grid-template-columns: minmax(132px, auto) minmax(220px, 560px) auto;
 align-items: center;
 gap: 16px 22px;
 justify-content: space-between;
}
.brand { justify-self: start; color: var(--c-text); }
.brand-mark {
 display: block;
 font-size: 15px;
 font-weight: 700;
 line-height: 1.25;
 letter-spacing: -0.03em;
}
.search-form {
 display: flex;
 align-items: center;
 width: 100%;
 max-width: 560px;
 justify-self: center;
 background: #fff;
 border: 1px solid var(--c-line);
 border-radius: 999px;
 padding: 4px 6px 4px 8px;
 box-shadow: 0 8px 24px rgba(28, 55, 110, .06);
 transition: border-color .2s, box-shadow .2s;
}
.search-form:focus-within {
 border-color: var(--c-primary);
 box-shadow: 0 0 0 2px rgba(42, 99, 214, .2);
}
.search-submit, .search-clear {
 border: 0;
 background: transparent;
 color: var(--c-primary);
 width: 36px;
 height: 36px;
 border-radius: 999px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 flex: 0 0 auto;
 cursor: pointer;
 transition: background .2s, color .2s;
}
.search-submit:hover, .search-clear:hover { background: rgba(42, 99, 214, .1); color: var(--c-primary-deep); }
.search-clear { width: auto; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--c-muted); }
.search-input {
 flex: 1;
 min-width: 0;
 border: 0;
 outline: none;
 background: transparent;
 padding: 8px 8px;
 font-size: 15px;
 color: var(--c-text);
}
.search-input::placeholder { color: #8A94A6; }
.nav-scroll {
 justify-self: end;
 display: flex;
 align-items: center;
 gap: 8px;
}
.nav-chip {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 36px;
 padding: 6px 14px;
 border-radius: 999px;
 color: var(--c-text);
 background: transparent;
 border: 1px solid transparent;
 font-size: 14px;
 font-weight: 600;
 white-space: nowrap;
 transition: background .2s, color .2s, transform .2s;
}
.nav-chip:hover { background: rgba(42, 99, 214, .08); color: var(--c-primary-deep); }
.nav-chip:active { transform: translateY(1px); }
.nav-chip.active { background: rgba(42, 99, 214, .12); color: var(--c-primary-deep); }
.btn, .btn-main, .btn-line {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 padding: 10px 18px;
 border-radius: 12px;
 font-weight: 700;
 border: 1px solid transparent;
 cursor: pointer;
 text-decoration: none;
 transition: background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn-primary, .btn-main { background: var(--c-primary); color: #fff; box-shadow: none; }
.btn-primary:hover, .btn-main:hover, .btn-primary:focus, .btn-main:focus { background: var(--c-primary-deep); color: #fff; transform: translateY(-1px); }
.btn-primary:active, .btn-main:active { transform: translateY(0); }
.btn-line { background: #fff; color: var(--c-primary-deep); border-color: var(--c-line); }
.btn-line:hover { border-color: var(--c-primary); color: var(--c-primary-deep); transform: translateY(-1px); }
.card, .panel, .dir-item, .preview-card, .scene-card, .qa-item, .read-item, .status-card {
 background: var(--c-card);
 border: 1px solid transparent;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.form-control, .form-select {
 border: 1px solid var(--c-line);
 border-radius: 12px;
 min-height: 44px;
 color: var(--c-text);
 background: #fff;
 box-shadow: none;
}
.form-control:focus, .form-select:focus {
 border-color: var(--c-primary-deep);
 box-shadow: 0 0 0 2px rgba(42, 99, 214, .2);
}
.accordion { --bs-accordion-border-color: var(--c-line); --bs-accordion-btn-focus-box-shadow: 0 0 0 2px rgba(42, 99, 214, .2); --bs-accordion-active-color: var(--c-primary-deep); --bs-accordion-active-bg: rgba(42, 99, 214, .08); --bs-accordion-btn-color: var(--c-text); border-radius: 16px; overflow: hidden; }
.section { padding: 80px 0; }
.section-compact { padding: 36px 0 28px; }
.band { background: #fff; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.kicker {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 min-height: 28px;
 padding: 2px 10px;
 border-radius: 999px;
 background: rgba(42, 99, 214, .1);
 color: var(--c-primary-deep);
 font-size: 13px;
 font-weight: 700;
}
.crumb { display: flex; flex-wrap: wrap; gap: 6px; color: var(--c-muted); font-size: 13px; margin-bottom: 12px; }
.crumb a { color: var(--c-primary); font-weight: 700; }
.crumb a:hover { color: var(--c-primary-deep); }
h1 {
 margin: 10px 0 8px;
 font-size: 40px;
 font-weight: 700;
 line-height: 1.25;
 letter-spacing: -0.03em;
}
h2 {
 margin: 0 0 8px;
 font-size: 30px;
 font-weight: 700;
 line-height: 1.3;
 letter-spacing: -0.02em;
}
.lead-one { margin: 0; max-width: 720px; color: var(--c-muted); font-size: 16px; }
.section-head { margin-bottom: 22px; max-width: 760px; }
.section-head p { margin: 0; color: var(--c-muted); }
.catalog-grid { align-items: stretch; }
.dir-list { display: flex; flex-direction: column; gap: 10px; }
.dir-item {
 width: 100%;
 text-align: left;
 padding: 14px 14px 14px 12px;
 display: grid;
 grid-template-columns: 36px 1fr;
 gap: 10px;
 align-items: center;
 cursor: pointer;
 color: var(--c-text);
 transition: transform .2s, box-shadow .2s, border-color .2s;
}
.dir-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.dir-item.active { border-color: rgba(42, 99, 214, .45); box-shadow: var(--shadow-hover); }
.dir-item strong { display: block; font-size: 15px; line-height: 1.4; }
.dir-item span { display: block; color: var(--c-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.medal {
 width: 32px;
 height: 32px;
 border-radius: 50%;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 color: #fff;
 font-weight: 700;
 font-size: 13px;
 font-variant-numeric: tabular-nums;
 flex: 0 0 auto;
}
.medal.gold { background: var(--c-gold); }
.medal.silver { background: var(--c-silver); }
.medal.bronze { background: var(--c-bronze); }
.medal.num { background: var(--c-primary); }
.preview-card { padding: 24px; height: 100%; }
.frame {
 aspect-ratio: 16 / 9;
 border-radius: 12px;
 background:
  linear-gradient(135deg, rgba(42, 99, 214, .16), rgba(91, 124, 250, .08) 42%, rgba(255, 255, 255, .4)),
  #E8EEF8;
 border: 1px solid var(--c-line);
 margin-bottom: 16px;
 position: relative;
 overflow: hidden;
}
.frame::after {
 content: "";
 position: absolute;
 width: 72px;
 height: 72px;
 border-radius: 50%;
 right: 18px;
 bottom: 16px;
 background: rgba(255, 255, 255, .72);
 border: 1px solid var(--c-line);
}
.preview-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag {
 display: inline-flex;
 align-items: center;
 min-height: 26px;
 padding: 0 10px;
 border-radius: 999px;
 background: rgba(42, 99, 214, .08);
 color: var(--c-primary-deep);
 font-size: 12px;
 font-weight: 700;
}
.tag.muted { background: #F3F6FB; color: var(--c-muted); }
.heat {
 font-variant-numeric: tabular-nums;
 font-size: 28px;
 font-weight: 700;
 color: var(--c-primary-deep);
 line-height: 1;
}
.stars { color: var(--c-gold); letter-spacing: 2px; font-size: 14px; }
.preview-card h3 { margin: 8px 0; font-size: 22px; line-height: 1.35; }
.preview-card p { margin: 0 0 10px; color: var(--c-text); }
.scene-scroll {
 display: flex;
 gap: 16px;
 overflow-x: auto;
 padding-bottom: 8px;
 scroll-snap-type: x mandatory;
}
.scene-card {
 flex: 0 0 280px;
 scroll-snap-align: start;
 padding: 24px;
 transition: transform .2s, box-shadow .2s;
}
.scene-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.scene-card b { display: block; font-size: 18px; margin: 8px 0; }
.scene-card p { margin: 0; color: var(--c-muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-bar {
 background: #fff;
 border-radius: 12px;
 box-shadow: var(--shadow);
 padding: 14px 16px;
}
.stat-bar em { font-style: normal; color: var(--c-muted); font-size: 13px; font-weight: 700; }
.stat-bar strong {
 display: block;
 margin-top: 2px;
 font-size: 22px;
 font-variant-numeric: tabular-nums;
 line-height: 1.2;
}
.bar {
 margin-top: 8px;
 height: 4px;
 border-radius: 999px;
 background: #E7EDF7;
 overflow: hidden;
}
.bar i { display: block; height: 100%; background: var(--c-accent); border-radius: inherit; }
.status-card { padding: 8px 8px 8px 0; }
.status-row {
 display: grid;
 grid-template-columns: 88px 1.1fr 1.4fr 1fr;
 gap: 8px;
 align-items: center;
 padding: 16px 18px;
 border-bottom: 1px solid var(--c-line);
}
.status-row:last-child { border-bottom: 0; }
.status-row.head { color: var(--c-muted); font-size: 13px; font-weight: 700; }
.status-name { font-weight: 700; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qa-item { padding: 0; overflow: hidden; }
.qa-item summary {
 list-style: none;
 cursor: pointer;
 padding: 18px 20px;
 font-weight: 700;
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item p { margin: 0; padding: 0 20px 18px; color: var(--c-muted); border-left: 3px solid transparent; }
.qa-item[open] { box-shadow: var(--shadow-hover); }
.qa-item[open] p { border-left-color: var(--c-primary); margin-left: 16px; padding-left: 14px; }
.read-list { display: flex; flex-direction: column; }
.read-item {
 display: grid;
 grid-template-columns: 92px 1fr auto;
 gap: 16px;
 align-items: center;
 padding: 18px 8px;
 border-bottom: 1px solid var(--c-line);
 color: inherit;
}
.read-item:hover .read-title { color: var(--c-primary-deep); }
.read-no {
 font-variant-numeric: tabular-nums;
 font-weight: 700;
 color: var(--c-primary);
}
.read-title { font-weight: 700; font-size: 17px; }
.read-item small { color: var(--c-muted); }
.more-bar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 16px;
 background: #fff;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 24px;
}
.more-bar p { margin: 6px 0 0; color: var(--c-muted); }
.site-footer {
 background: #fff;
 border-top: 1px solid var(--c-line);
 padding: 28px 0;
}
.foot {
 display: grid;
 grid-template-columns: 1.2fr 1.6fr auto;
 gap: 18px;
 align-items: center;
}
.foot-brand { font-weight: 700; letter-spacing: -0.03em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-links a { color: var(--c-muted); font-weight: 600; }
.foot-links a:hover { color: var(--c-primary-deep); }
.foot-addr { text-align: right; color: var(--c-muted); font-size: 14px; }
.foot-addr a { color: var(--c-primary); font-weight: 700; }
.copy { display: block; }
@media (max-width: 1199.98px) {
 .container-rank { max-width: 1140px; }
}
@media (max-width: 991.98px) {
 .site-header.navbar { position: sticky; top: 0; }
 .head-row { grid-template-columns: 1fr; gap: 10px; }
 .search-form { max-width: none; }
 .nav-scroll { justify-self: start; width: 100%; overflow-x: auto; padding-bottom: 2px; }
 .section { padding: 44px 0; }
 h1 { font-size: 32px; }
 h2 { font-size: 26px; }
 .status-row { grid-template-columns: 64px 1fr; }
 .status-row span:nth-child(3), .status-row span:nth-child(4) { grid-column: 2; }
 .qa-grid, .stat-row { grid-template-columns: 1fr; }
 .foot { grid-template-columns: 1fr; }
 .foot-addr { text-align: left; }
 .read-item { grid-template-columns: 64px 1fr; }
 .read-item small:last-child { grid-column: 2; }
}
@media (max-width: 575.98px) {
 h1 { font-size: 28px; }
 h2 { font-size: 22px; }
 .brand-mark { font-size: 14px; }
 .search-input { font-size: 16px; }
 .scene-card { flex-basis: 78%; }
 .more-bar { flex-direction: column; align-items: flex-start; }
 .preview-card, .scene-card { padding: 18px; }
 .status-row { padding: 14px 12px; }
}

/* roulang page: category1 */
:root {
  --bs-primary: #2A63D6;
  --bs-primary-rgb: 42, 99, 214;
  --bs-body-bg: #F3F6FB;
  --bs-body-color: #1C2430;
  --bs-body-font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --bs-border-radius: 12px;
  --bs-link-color: #2A63D6;
  --bs-link-hover-color: #1E4CAD;
  --c-primary: #2A63D6;
  --c-primary-deep: #1E4CAD;
  --c-accent: #5B7CFA;
  --c-bg: #F3F6FB;
  --c-card: #FFFFFF;
  --c-text: #1C2430;
  --c-muted: #5C6778;
  --c-line: #E4EAF3;
  --c-gold: #C6A15B;
  --c-silver: #9AA3B2;
  --c-bronze: #B7844A;
  --shadow: 0 8px 24px rgba(28, 55, 110, .08);
  --shadow-hover: 0 14px 32px rgba(28, 55, 110, .12);
  --radius: 16px;
  --gap: 20px;
}
/* roulang page: category1 */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: left;
}
h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  margin-bottom: 18px;
}
h3 { font-size: 18px; font-weight: 700; line-height: 1.45; text-align: left; }
.container-page, .container-rank {
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.container-page { max-width: 1140px; }
.container-rank { max-width: 1200px; }
.site-header.navbar {
  display: block;
  background: rgba(243, 246, 251, .96);
  border-bottom: 1px solid var(--c-line);
  padding: 14px 0 12px;
  position: sticky;
  top: 0;
  z-index: 30;
  --bs-navbar-padding-x: 0;
  --bs-navbar-padding-y: 0;
  --bs-navbar-color: var(--c-text);
  --bs-navbar-hover-color: var(--c-primary-deep);
  --bs-navbar-brand-color: var(--c-text);
  --bs-navbar-brand-hover-color: var(--c-text);
}
.head-row {
  display: grid;
  grid-template-columns: minmax(132px, auto) minmax(220px, 560px) auto;
  align-items: center;
  gap: 16px 22px;
  justify-content: space-between;
}
.brand { justify-self: start; color: var(--c-text); }
.brand-mark {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 560px;
  justify-self: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 4px 6px 4px 8px;
  box-shadow: 0 8px 24px rgba(28, 55, 110, .06);
  transition: border-color .2s, box-shadow .2s;
}
.search-form:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 2px rgba(42, 99, 214, .2);
}
.search-form.is-invalid {
  border-color: var(--c-primary-deep);
  box-shadow: 0 0 0 2px rgba(30, 76, 173, .18);
}
.search-submit, .search-clear {
  border: 0;
  background: transparent;
  color: var(--c-primary);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.search-submit:hover, .search-clear:hover { background: rgba(42, 99, 214, .1); color: var(--c-primary-deep); }
.search-clear { width: auto; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--c-muted); }
.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 8px 8px;
  font-size: 15px;
  color: var(--c-text);
}
.search-input::placeholder { color: #8A94A6; }
.form-control, .form-control:focus {
  border-color: var(--c-line);
  box-shadow: none;
  border-radius: 12px;
}
.nav-scroll {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--c-text);
  background: transparent;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}
.nav-chip:hover { background: rgba(42, 99, 214, .08); color: var(--c-primary-deep); }
.nav-chip:active { transform: translateY(1px); }
.nav-chip.active { background: rgba(42, 99, 214, .12); color: var(--c-primary-deep); }
.section { padding: 80px 0; }
.band {
  background: #fff;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.page-head.section { padding: 32px 0 24px; }
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.crumb a { color: var(--c-primary); font-weight: 700; }
.crumb a:hover { color: var(--c-primary-deep); }
.crumb span[aria-hidden="true"] { color: #C5CEDB; }
.head-lead {
  max-width: 640px;
  color: var(--c-muted);
  margin: 10px 0 0;
}
.status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-text);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(28, 55, 110, .04);
}
.status-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  display: inline-block;
}
.num { font-variant-numeric: tabular-nums; }
.filter-sec.section { padding: 22px 0; }
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.filter-label {
  color: var(--c-muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.chip-btn {
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-text);
  border-radius: 999px;
  min-height: 36px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.chip-btn:hover { border-color: rgba(42, 99, 214, .35); color: var(--c-primary-deep); }
.chip-btn:active { transform: translateY(1px); }
.chip-btn.active {
  background: rgba(42, 99, 214, .12);
  color: var(--c-primary-deep);
  border-color: transparent;
}
.rank-list { display: flex; flex-direction: column; gap: 16px; }
.rank-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background: var(--c-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.rank-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.rank-card.top { box-shadow: var(--shadow-hover); }
.medal {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: var(--c-primary);
  margin-top: 2px;
}
.medal.gold { background: var(--c-gold); }
.medal.silver { background: var(--c-silver); }
.medal.bronze { background: var(--c-bronze); }
.rank-main {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
}
.cover {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--c-line);
  background:
    linear-gradient(180deg, rgba(42, 99, 214, .12), rgba(91, 124, 250, .04)),
    #f7f9fd;
}
.rank-title { margin: 0 0 8px; font-size: 18px; }
.rank-title .split { color: #C5CEDB; padding: 0 4px; }
.stars { letter-spacing: 1px; font-size: 14px; }
.stars .on { color: var(--c-gold); }
.stars .off { color: #D5DCE6; }
.rank-meta, .rank-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--c-muted);
  font-size: 14px;
  margin: 0;
}
.rank-note { margin-top: 6px; }
.peek {
  margin-top: 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  padding: 16px 18px;
  color: var(--c-text);
}
.peek strong { font-weight: 700; }
.list-more { display: flex; justify-content: flex-start; padding-top: 18px; }
.btn, .btn-main, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn-primary, .btn-main { background: var(--c-primary); color: #fff; }
.btn-primary:hover, .btn-main:hover { background: var(--c-primary-deep); color: #fff; transform: translateY(-1px); }
.btn-main:active, .btn-primary:active { transform: translateY(0); }
.btn-line {
  background: #fff;
  color: var(--c-primary-deep);
  border-color: rgba(42, 99, 214, .28);
}
.btn-line:hover { background: rgba(42, 99, 214, .08); color: var(--c-primary-deep); transform: translateY(-1px); }
.diff {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.diff-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--c-line);
}
.diff-row:last-child { border-bottom: 0; }
.diff-head { background: #F7F9FD; color: var(--c-muted); font-size: 13px; font-weight: 700; }
.diff-row b { font-weight: 700; }
.tl { max-width: 720px; }
.tl-item { position: relative; padding: 0 0 28px 36px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: -8px;
  width: 2px;
  background: var(--c-line);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item:last-child::before { display: none; }
.tl-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-primary);
}
.tl-item h3 { margin-bottom: 4px; }
.tl-item p { margin: 0; color: var(--c-muted); }
.guard-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
}
.guard-row li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  min-height: 84px;
}
.guard-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  background: rgba(91, 124, 250, .1);
  flex: 0 0 auto;
}
.guard-row strong { display: block; line-height: 1.3; }
.guard-row span { color: var(--c-muted); font-size: 14px; }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.news-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: inherit; }
.news-item h3 { margin: 0 0 6px; }
.news-item p { margin: 0; color: var(--c-muted); font-size: 14px; }
.faq-panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 24px 12px;
}
.accordion { --bs-accordion-border-width: 0; --bs-accordion-btn-focus-box-shadow: none; }
.accordion-item { border: 0; border-bottom: 1px solid var(--c-line); background: transparent; }
.accordion-item:last-child { border-bottom: 0; }
.accordion-button {
  font-weight: 700;
  color: var(--c-text);
  background: #fff;
  box-shadow: none;
  padding: 18px 8px;
  border-left: 3px solid transparent;
  border-radius: 0;
}
.accordion-button:not(.collapsed) {
  color: var(--c-primary-deep);
  background: #fff;
  box-shadow: none;
  border-left-color: var(--c-primary);
}
.accordion-button:focus { box-shadow: none; }
.accordion-body { color: var(--c-muted); padding: 0 8px 18px 11px; }
.site-footer {
  background: #fff;
  border-top: 1px solid var(--c-line);
  padding: 28px 0 32px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}
.foot-brand { font-weight: 700; color: var(--c-text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.foot-links a { color: var(--c-muted); font-weight: 600; }
.foot-links a:hover { color: var(--c-primary-deep); }
.foot-addr { display: flex; flex-direction: column; gap: 2px; color: var(--c-muted); font-size: 14px; }
.foot-addr a { color: var(--c-primary); font-weight: 700; }
.foot-addr a:hover { color: var(--c-primary-deep); }
.search-error { display: none; margin: 6px 0 0; color: var(--c-primary-deep); font-size: 13px; font-weight: 700; }
.search-form.is-invalid + .search-error { display: block; }
@media (max-width: 991.98px) {
  .head-row { grid-template-columns: 1fr; gap: 10px; }
  .search-form { max-width: none; }
  .nav-scroll { justify-self: start; width: 100%; overflow-x: auto; }
  .rank-main, .news-item { grid-template-columns: 180px minmax(0, 1fr); }
  .diff-row { grid-template-columns: 1fr; gap: 4px; }
  .diff-head { display: none; }
}
@media (max-width: 767.98px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .section { padding: 44px 0; }
  .page-head.section { padding: 24px 0 16px; }
  .guard-row { grid-template-columns: 1fr; }
  .rank-main, .news-item { grid-template-columns: 1fr; }
  .foot { align-items: flex-start; }
}
@media (max-width: 575.98px) {
  .rank-card { grid-template-columns: 36px minmax(0, 1fr); padding: 18px; }
  .filter-bar { gap: 8px; }
}

/* 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}
