.page-faq {
  --faq-indent: 34px;
  --faq-panel: rgba(18, 58, 51, .78);
  --faq-text-soft: rgba(245, 241, 232, .76);
  position: relative;
  background-color: var(--ink);
  color: var(--warm);
  padding-bottom: clamp(56px, 8vw, 104px);
  overflow-x: hidden;
}

.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-faq ul,
.page-faq ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .faq-stage {
  position: relative;
}

.page-faq .faq-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.page-faq .faq-stage > .container {
  position: relative;
}

.page-faq .breadcrumb {
  margin: clamp(20px, 4vw, 34px) 0 0;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  max-width: 46em;
  padding: clamp(28px, 5vw, 54px) 0 clamp(16px, 2.5vw, 28px);
}

.page-faq .faq-hero-index {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-faq .faq-hero-title {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 5.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.page-faq .faq-hero-title::after {
  content: "";
  display: block;
  width: min(220px, 44%);
  height: 3px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--cyan), rgba(43, 240, 196, 0));
  transform: skewX(-26deg);
  transform-origin: left center;
}

.page-faq .faq-hero-lede {
  margin: 0;
  max-width: 36em;
  font-size: clamp(16px, 1.8vw, 17.5px);
  line-height: 1.78;
  color: var(--faq-text-soft);
}

.page-faq .faq-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 46px);
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.page-faq .faq-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-faq .faq-metric-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-faq .faq-metric-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--grey);
}

/* ---------- 路径主轴 ---------- */
.page-faq .faq-flow {
  position: relative;
  margin-top: clamp(22px, 4vw, 46px);
}

.page-faq .faq-flow::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg,
      rgba(43, 240, 196, 0) 0%,
      var(--cyan) 4%,
      var(--stroke) 38%,
      var(--stroke) 72%,
      var(--cyan) 96%,
      rgba(43, 240, 196, 0) 100%);
  opacity: .55;
}

.page-faq .faq-stop {
  position: relative;
  padding-left: var(--faq-indent);
  margin-bottom: clamp(44px, 7vw, 82px);
}

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

.page-faq .faq-stop::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border: 2px solid var(--cyan);
  background: var(--ink);
  transform: rotate(45deg);
}

.page-faq .faq-stop-head {
  max-width: 44em;
  margin-bottom: clamp(18px, 2.8vw, 28px);
}

.page-faq .faq-stop-index {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-faq .faq-h2 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(23px, 3.4vw, 35px);
  line-height: 1.16;
  letter-spacing: -.015em;
  color: var(--warm);
}

.page-faq .faq-stop-note {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--faq-text-soft);
}

.page-faq .faq-stop-note a,
.page-faq .faq-route a,
.page-faq .faq-migrate-step a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 设备与版本选择 ---------- */
.page-faq .faq-picker {
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--faq-panel);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.page-faq .faq-picker-row {
  display: grid;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--line-soft);
}

.page-faq .faq-picker-row:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.page-faq .faq-picker-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey);
}

.page-faq .faq-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .faq-chip {
  appearance: none;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.page-faq .faq-chip:hover {
  color: var(--warm);
  border-color: var(--cyan);
}

.page-faq .faq-chip:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-faq .faq-chip[aria-pressed="true"] {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

.page-faq .faq-picker-hint {
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--grey);
}

/* ---------- 关注列表恢复 ---------- */
.page-faq .faq-split {
  display: grid;
  gap: 28px;
}

.page-faq .faq-steps {
  border-top: 1px solid var(--line-soft);
}

.page-faq .faq-step {
  border-bottom: 1px solid var(--line-soft);
}

.page-faq .faq-step-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0 16px;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.page-faq .faq-step-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-faq .faq-step-dot {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--stroke);
  background: var(--ink);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.page-faq .faq-step-btn[aria-expanded="true"] .faq-step-dot {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
}

.page-faq .faq-step-title {
  padding-top: 2px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.34;
  letter-spacing: -.005em;
  color: var(--warm);
}

.page-faq .faq-step-panel {
  padding: 0 0 20px 44px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--faq-text-soft);
}

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

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

.page-faq .faq-step-next {
  padding-left: 12px;
  border-left: 2px solid var(--orange);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--amber);
  letter-spacing: .01em;
}

.page-faq .faq-figure {
  margin: 0;
}

.page-faq .faq-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, rgba(18, 58, 51, .9), rgba(8, 23, 20, .92));
}

.page-faq .faq-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-faq .faq-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 23, 20, 0) 55%, rgba(8, 23, 20, .6));
  pointer-events: none;
}

.page-faq figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--grey);
}

/* ---------- 登录异常三岔口 ---------- */
.page-faq .faq-routes {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.page-faq .faq-route {
  padding: 22px 20px 24px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--faq-panel);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.page-faq .faq-route--alert {
  border-color: rgba(255, 122, 43, .5);
}

.page-faq .faq-route h3 {
  margin: 14px 0 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.32;
  color: var(--warm);
}

.page-faq .faq-route p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.76;
  color: var(--faq-text-soft);
}

/* ---------- 版本升级对照 ---------- */
.page-faq .faq-solid {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 14px;
  overflow: hidden;
  color: var(--ink-text);
}

.page-faq .faq-solid-col {
  padding: clamp(22px, 3vw, 32px);
}

.page-faq .faq-keep {
  background: var(--warm);
}

.page-faq .faq-reset {
  background: #DCEFE8;
}

.page-faq .faq-solid-col h3 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.01em;
  color: var(--ink);
}

.page-faq .faq-solid-col ul {
  display: grid;
  gap: 10px;
}

.page-faq .faq-solid-col li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #33322E;
}

.page-faq .faq-solid-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stroke);
}

.page-faq .faq-reset li::before {
  background: var(--orange);
}

.page-faq .faq-order {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.page-faq .faq-order li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0 10px 14px;
  border-left: 2px solid var(--stroke);
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--faq-text-soft);
}

.page-faq .faq-order .mono {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--amber);
}

/* ---------- 换设备 ---------- */
.page-faq .faq-migrate {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.page-faq .faq-migrate-step {
  position: relative;
  padding-top: 22px;
  border-top: 2px solid var(--stroke);
}

.page-faq .faq-migrate-step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--cyan);
}

.page-faq .faq-migrate-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--cyan);
}

.page-faq .faq-migrate-step h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.34;
  color: var(--warm);
}

.page-faq .faq-migrate-step p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.76;
  color: var(--faq-text-soft);
}

/* ---------- 订阅四条检查 ---------- */
.page-faq .faq-checks {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-faq .faq-check {
  display: flex;
  gap: 14px;
  padding: 20px 18px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--cyan);
  border-radius: 10px;
  background: rgba(20, 18, 15, .55);
}

.page-faq .faq-check--hot {
  border-left-color: var(--orange);
}

.page-faq .faq-check-mark {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}

.page-faq .faq-check--hot .faq-check-mark {
  border-color: var(--orange);
  color: var(--orange);
}

.page-faq .faq-check h3 {
  margin: 2px 0 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.005em;
  color: var(--warm);
}

.page-faq .faq-check p {
  margin: 0;
  font-size: 15px;
  line-height: 1.74;
  color: var(--faq-text-soft);
}

/* ---------- 九块路牌目录 ---------- */
.page-faq .faq-banner {
  margin: 0 0 clamp(24px, 4vw, 38px);
}

.page-faq .faq-banner .faq-shot {
  aspect-ratio: 3 / 2;
}

.page-faq .faq-cats {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.page-faq .faq-cat {
  display: flex;
}

.page-faq .faq-cat-link {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 6px 12px;
  padding: 18px 18px 18px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(18, 58, 51, .34);
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.page-faq .faq-cat-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 10px 0 0 10px;
  background: var(--stroke);
  transition: background-color .18s ease;
}

.page-faq .faq-cat-link:hover,
.page-faq .faq-cat-link:focus-visible {
  border-color: var(--cyan);
  background: rgba(18, 58, 51, .62);
  transform: translateX(3px);
}

.page-faq .faq-cat-link:hover::before,
.page-faq .faq-cat-link:focus-visible::before {
  background: var(--cyan);
}

.page-faq .faq-cat-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-faq .faq-cat-name {
  grid-column: 2 / 3;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--warm);
}

.page-faq .faq-cat-count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  white-space: nowrap;
  color: var(--amber);
}

.page-faq .faq-cat-meta {
  grid-column: 1 / -1;
  font-size: 12.5px;
  letter-spacing: .01em;
  color: var(--grey);
}

/* ---------- 客服兜底 ---------- */
.page-faq .faq-support {
  position: relative;
  overflow: hidden;
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(43, 240, 196, .1) 0%, rgba(18, 58, 51, .55) 42%, rgba(8, 23, 20, .94) 100%);
}

.page-faq .faq-support::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 240, 196, .22), rgba(43, 240, 196, 0) 70%);
  pointer-events: none;
}

.page-faq .faq-support-index {
  position: relative;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-faq .faq-support .faq-h2 {
  position: relative;
}

.page-faq .faq-support-lede {
  position: relative;
  max-width: 40em;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--faq-text-soft);
}

.page-faq .faq-support-list {
  position: relative;
  display: grid;
  gap: 10px;
  max-width: 46em;
  margin-bottom: 26px;
}

.page-faq .faq-support-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 15px;
  line-height: 1.66;
  color: rgba(245, 241, 232, .82);
}

.page-faq .faq-support-k {
  flex: 0 0 62px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--cyan);
}

.page-faq .faq-support-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.page-faq .faq-copy-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.page-faq .faq-copy-btn:hover {
  transform: translateY(-1px);
}

.page-faq .faq-copy-btn:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 2px;
}

.page-faq .faq-copy-btn[data-copied="true"] {
  background: var(--amber);
  border-color: var(--amber);
}

.page-faq .faq-support-link {
  text-decoration: none;
}

.page-faq .faq-channels {
  position: relative;
  display: grid;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.page-faq .faq-channel {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 0;
  font-size: 15px;
}

.page-faq .faq-channel-k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--grey);
}

.page-faq .faq-channel a {
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--warm);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--stroke);
  transition: color .18s ease, border-color .18s ease;
}

.page-faq .faq-channel a:hover,
.page-faq .faq-channel a:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}

.page-faq .faq-channel-note {
  margin: 8px 0 0;
  max-width: 48em;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--grey);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-faq .faq-picker-row {
    grid-template-columns: 128px 1fr;
    align-items: center;
    gap: 18px;
  }

  .page-faq .faq-support-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 26px;
  }
}

@media (min-width: 720px) {
  .page-faq {
    --faq-indent: 52px;
  }

  .page-faq .faq-solid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 780px) {
  .page-faq .faq-routes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .page-faq .faq-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .page-faq .faq-migrate {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
  }
}

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

@media (min-width: 920px) {
  .page-faq .faq-split {
    grid-template-columns: minmax(0, 1.62fr) minmax(0, .9fr);
    gap: clamp(28px, 4vw, 54px);
    align-items: start;
  }
}

@media (min-width: 1060px) {
  .page-faq .faq-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .page-faq {
    --faq-indent: 26px;
  }

  .page-faq .faq-stop::before {
    width: 12px;
    height: 12px;
    top: 6px;
  }

  .page-faq .faq-flow::before {
    left: 5px;
  }

  .page-faq .faq-step-panel {
    padding-left: 0;
  }

  .page-faq .faq-cat-link {
    grid-template-columns: auto 1fr;
  }

  .page-faq .faq-cat-count {
    grid-column: 2 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-chip,
  .page-faq .faq-step-dot,
  .page-faq .faq-cat-link,
  .page-faq .faq-copy-btn,
  .page-faq .faq-channel a {
    transition: none;
  }

  .page-faq .faq-cat-link:hover,
  .page-faq .faq-cat-link:focus-visible,
  .page-faq .faq-copy-btn:hover {
    transform: none;
  }
}
