.page-faq {
  --faq-onpanel-soft: rgba(243, 237, 224, 0.74);
  --faq-onpanel-rule: rgba(243, 237, 224, 0.16);
  padding-bottom: 56px;
}

.page-faq .crumbs {
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- 首屏 ---------- */

.page-faq .faq-hero {
  padding: 24px 0 42px;
  border-bottom: 1px solid var(--rule);
}

.page-faq .faq-hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-faq .faq-hero__kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--accent);
  flex: 0 0 auto;
}

.page-faq .faq-hero__title {
  margin: 0 0 22px;
  font-size: clamp(30px, 8.2vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 15em;
}

.page-faq .faq-hero__lead {
  margin: 0 0 30px;
  max-width: 46em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
}

.page-faq .faq-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.page-faq .faq-index li {
  display: flex;
  background: var(--paper-2);
}

.page-faq .faq-index__link {
  flex: 1;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 12px;
  align-items: baseline;
  padding: 13px 14px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.28s var(--ease), color 0.28s var(--ease);
}

.page-faq .faq-index__link:hover,
.page-faq .faq-index__link:focus-visible {
  background: var(--paper-2);
}

.page-faq .faq-index__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.28s var(--ease);
}

.page-faq .faq-index__link:hover .faq-index__num,
.page-faq .faq-index__link:focus-visible .faq-index__num {
  color: var(--accent);
}

.page-faq .faq-index__label {
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------- 章节骨架 ---------- */

.page-faq .section {
  padding: 44px 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: calc(var(--bar-h) + 18px);
}

.page-faq .section:last-of-type {
  border-bottom: 0;
  padding-bottom: 24px;
}

.page-faq .sec-head {
  margin-bottom: 24px;
}

/* ---------- 01 三步上手 ---------- */

.page-faq .route-map {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .route-map__step {
  padding: 20px 0 24px;
  border-top: 1px solid var(--rule);
}

.page-faq .route-map__step:first-child {
  border-top-width: 2px;
  border-top-color: var(--ink);
  padding-top: 22px;
}

.page-faq .route-map__step--1 { --step-color: var(--spring); }
.page-faq .route-map__step--2 { --step-color: var(--summer); }
.page-faq .route-map__step--3 { --step-color: var(--autumn); }

.page-faq .route-map__idx {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--step-color, var(--muted));
}

.page-faq .route-map__idx::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.page-faq .route-map__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.page-faq .route-map__text {
  margin: 0;
  max-width: 44em;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink);
}

.page-faq .route-map__link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.24s var(--ease), color 0.24s var(--ease);
}

.page-faq .route-map__link:hover,
.page-faq .route-map__link:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ---------- 图片与图注 ---------- */

.page-faq .figure-frame {
  margin: 0 0 26px;
}

.page-faq figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- 02 定义表与分组切换 ---------- */

.page-faq .tabs {
  position: relative;
  margin-top: 26px;
}

.page-faq .tabs__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-faq .tabs__input:focus-visible ~ .tabs__bar {
  outline: 2px solid var(--winter);
  outline-offset: 4px;
}

.page-faq .tabs__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.page-faq .tabs__tab {
  display: inline-block;
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-bottom-width: 3px;
  cursor: pointer;
  transition: background 0.24s var(--ease), color 0.24s var(--ease),
    border-color 0.24s var(--ease);
}

.page-faq .tabs__tab:hover {
  border-color: var(--ink);
}

.page-faq #mg-flow:checked ~ .tabs__bar .tabs__tab[for="mg-flow"],
.page-faq #mg-player:checked ~ .tabs__bar .tabs__tab[for="mg-player"],
.page-faq #mg-squad:checked ~ .tabs__bar .tabs__tab[for="mg-squad"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.page-faq .tabs__panel {
  display: none;
}

.page-faq #mg-flow:checked ~ #panel-flow,
.page-faq #mg-player:checked ~ #panel-player,
.page-faq #mg-squad:checked ~ #panel-squad {
  display: block;
}

.page-faq .faq-panel {
  padding: 20px 16px 12px;
}

.page-faq .metric-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.68;
}

.page-faq .metric-table thead th {
  padding: 0 14px 10px 0;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: rgba(184, 240, 60, 0.72);
  border-bottom: 1px solid var(--faq-onpanel-rule);
}

.page-faq .metric-table tbody th,
.page-faq .metric-table tbody td {
  padding: 13px 14px 13px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--faq-onpanel-rule);
}

.page-faq .metric-table tbody tr:last-child th,
.page-faq .metric-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-faq .metric-table tbody th {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--fluoro);
  white-space: nowrap;
}

.page-faq .metric-table tbody td {
  color: var(--faq-onpanel-soft);
}

.page-faq .faq-note {
  margin: 24px 0 0;
  max-width: 62ch;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 03 口径边界 ---------- */

.page-faq .faq-p {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--ink);
}

.page-faq .faq-p--wide {
  margin-top: 26px;
  margin-bottom: 0;
}

.page-faq .boundary {
  display: grid;
  gap: 14px;
  margin: 24px 0 28px;
}

.page-faq .boundary__col {
  padding: 16px 16px 18px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-top-width: 4px;
}

.page-faq .boundary__col--in { border-top-color: var(--spring); }
.page-faq .boundary__col--out { border-top-color: var(--accent); }

.page-faq .boundary__head {
  margin: 0 0 12px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-faq .boundary__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .boundary__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  font-size: 14.5px;
  line-height: 1.7;
}

.page-faq .boundary__list li:last-child {
  margin-bottom: 0;
}

.page-faq .boundary__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 2px;
  background: var(--muted);
}

.page-faq .boundary__col--in .boundary__list li::before { background: var(--spring); }
.page-faq .boundary__col--out .boundary__list li::before { background: var(--accent); }

/* ---------- 04 折叠问答 ---------- */

.page-faq .qa {
  margin-top: 22px;
  border-top: 2px solid var(--ink);
}

.page-faq .qa__item {
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: calc(var(--bar-h) + 20px);
}

.page-faq .qa__item:target {
  background: var(--paper-2);
}

.page-faq .qa__q {
  display: flex;
  align-items: baseline;
  gap: 14px;
  position: relative;
  padding: 16px 34px 16px 2px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
  transition: color 0.24s var(--ease);
}

.page-faq .qa__q::-webkit-details-marker {
  display: none;
}

.page-faq .qa__q:hover {
  color: var(--accent);
}

.page-faq .qa__q::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}

.page-faq .qa__item[open] .qa__q::after {
  content: "−";
}

.page-faq .qa__num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-faq .qa__a {
  padding: 0 34px 20px 40px;
  max-width: 64ch;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--ink);
}

.page-faq .qa__a p {
  margin: 0 0 10px;
}

.page-faq .qa__a p:last-child {
  margin-bottom: 0;
}

/* ---------- 05 分列口径面板 ---------- */

.page-faq .split-list {
  margin: 0;
  padding: 0;
}

.page-faq .split-list__row {
  display: grid;
  gap: 5px;
  padding: 13px 0;
  border-bottom: 1px solid var(--faq-onpanel-rule);
}

.page-faq .split-list__row:last-child {
  border-bottom: 0;
}

.page-faq .split-list dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--fluoro);
}

.page-faq .split-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--faq-onpanel-soft);
}

/* ---------- 06 勘误清单 ---------- */

.page-faq .faq-subhead {
  margin: 30px 0 16px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-faq .checklist {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-faq .checklist__item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  font-size: 14.5px;
  line-height: 1.7;
}

.page-faq .checklist__box {
  position: relative;
  width: 15px;
  height: 15px;
  margin-top: 4px;
  border: 1px solid var(--ink);
}

.page-faq .checklist__box::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--spring);
  border-bottom: 2px solid var(--spring);
  transform: rotate(40deg);
}

.page-faq .faq-cta {
  margin-top: 30px;
  padding: 20px 18px 22px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
}

.page-faq .faq-cta__text {
  margin: 0 0 16px;
  max-width: 52ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink);
}

.page-faq .faq-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-faq .faq-index {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-faq .split-list__row {
    grid-template-columns: 128px 1fr;
    gap: 16px;
    align-items: baseline;
  }

  .page-faq .faq-panel {
    padding: 24px 22px 16px;
  }
}

@media (min-width: 900px) {
  .page-faq .route-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 34px;
  }

  .page-faq .route-map__step {
    padding: 0;
    border-top: 0;
  }

  .page-faq .route-map__step::before {
    content: "";
    display: block;
    height: 3px;
    margin-bottom: 16px;
    background: var(--step-color, var(--rule));
  }

  .page-faq .route-map__step:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .page-faq .route-map__idx::after {
    display: none;
  }

  .page-faq .boundary {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .page-faq .faq-index {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-faq .section {
    padding: 54px 0;
  }
}

@media (max-width: 760px) {
  .page-faq .metric-table,
  .page-faq .metric-table tbody,
  .page-faq .metric-table tr,
  .page-faq .metric-table th,
  .page-faq .metric-table td {
    display: block;
    width: 100%;
  }

  .page-faq .metric-table thead {
    display: none;
  }

  .page-faq .metric-table tbody tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--faq-onpanel-rule);
  }

  .page-faq .metric-table tbody tr:first-child {
    padding-top: 4px;
  }

  .page-faq .metric-table tbody tr:last-child {
    border-bottom: 0;
  }

  .page-faq .metric-table tbody th,
  .page-faq .metric-table tbody td {
    padding: 0;
    border-bottom: 0;
    white-space: normal;
  }

  .page-faq .metric-table tbody td {
    margin-top: 7px;
  }

  .page-faq .metric-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: rgba(184, 240, 60, 0.66);
  }

  .page-faq .qa__a {
    padding-left: 2px;
    padding-right: 20px;
  }
}
<<<END>>>
