.page-faq {
  --faq-stream-max: 880px;
  --faq-cyan-soft: rgba(53, 242, 214, 0.35);
  --faq-blue-soft: rgba(47, 107, 255, 0.38);
  display: block;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 5vw, 56px) 0 clamp(18px, 3vw, 34px);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -130px;
  width: min(640px, 84vw);
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 34% 34%, var(--faq-blue-soft), transparent 62%),
    radial-gradient(circle at 70% 66%, rgba(53, 242, 214, 0.2), transparent 58%);
  transform: rotate(-8deg);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

.page-faq .crumb-sep {
  margin: 0 6px;
  color: var(--dim);
}

.page-faq .faq-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 7vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 18px 0 16px;
  text-wrap: balance;
}

.page-faq .faq-lede {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.page-faq .faq-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.page-faq .tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(18, 36, 31, 0.5);
}

/* ---------- 区块标题 ---------- */
.page-faq .sec-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 8px;
}

.page-faq .sec-title--sm {
  font-size: clamp(19px, 2.6vw, 24px);
  margin-bottom: 0;
}

.page-faq .sec-sub {
  max-width: 54ch;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

/* ---------- 分类索引矩阵 ---------- */
.page-faq .faq-index-sec {
  padding: clamp(24px, 4vw, 44px) 0 clamp(20px, 3vw, 34px);
}

.page-faq .faq-index {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-faq .idx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  min-height: 126px;
  padding: 18px 18px 20px;
  background: linear-gradient(152deg, var(--ink-1) 0%, var(--ink-1) 58%, rgba(18, 36, 31, 0.92) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.page-faq .idx-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  opacity: 0.78;
}

.page-faq .idx-card:hover {
  border-color: currentColor;
  transform: translateY(-2px);
}

.page-faq .idx-card--entry {
  color: var(--blue);
}

.page-faq .idx-card--collection {
  color: var(--cyan);
}

.page-faq .idx-card--login {
  color: var(--white);
}

.page-faq .idx-card--legacy {
  color: var(--cyan);
}

.page-faq .idx-card--lineup {
  color: var(--orange);
}

.page-faq .idx-count {
  display: block;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.page-faq .idx-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--white);
}

.page-faq .idx-desc {
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}

/* ---------- 筛选工具条 ---------- */
.page-faq .faq-stream-sec {
  padding: clamp(26px, 4vw, 46px) 0 0;
}

.page-faq .faq-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

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

.page-faq .faq-filter {
  font: inherit;
  font-size: 13px;
  line-height: 1;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18, 36, 31, 0.55);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-faq .faq-filter:hover {
  color: var(--white);
  border-color: var(--muted);
}

.page-faq .faq-filter[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.28);
}

.page-faq .faq-filter .mono {
  margin-left: 6px;
  font-size: 11px;
  opacity: 0.68;
}

/* ---------- 问答分组 ---------- */
.page-faq .faq-stream {
  max-width: var(--faq-stream-max);
}

.page-faq .faq-group {
  padding: clamp(20px, 3.4vw, 30px) 0 clamp(22px, 3.6vw, 34px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--hdr-h-sm) + 22px);
}

.page-faq .faq-group:target {
  animation: faq-hit 1.8s var(--ease) 1;
}

@keyframes faq-hit {
  0%,
  38% {
    background: rgba(53, 242, 214, 0.07);
  }
  100% {
    background: transparent;
  }
}

.page-faq .faq-group-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.page-faq .faq-group-idx {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.page-faq .faq-group-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.page-faq .faq-group-lede {
  max-width: 58ch;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

/* ---------- 问答条目 ---------- */
.page-faq .qa {
  border-top: 1px solid rgba(37, 64, 58, 0.6);
}

.page-faq .qa summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 2px;
  list-style: none;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.58;
  color: var(--white);
  transition: color 0.2s var(--ease);
}

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

.page-faq .qa summary:hover,
.page-faq .qa summary:focus-visible {
  color: var(--cyan);
}

.page-faq .qa-q-mark {
  flex: 0 0 auto;
  padding-top: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.page-faq .qa-title {
  flex: 1 1 auto;
  min-width: 0;
}

.page-faq .qa-caret {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--muted);
  transition: transform 0.28s var(--ease), color 0.28s var(--ease);
}

.page-faq .qa[open] .qa-caret {
  transform: rotate(180deg);
  color: var(--cyan);
}

.page-faq .qa-body {
  padding: 0 24px 16px 26px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.page-faq .qa-body p {
  margin: 0 0 8px;
}

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

.page-faq .qa-body a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--faq-cyan-soft);
}

.page-faq .qa-body a:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 三步流程条 ---------- */
.page-faq .step-rail {
  list-style: none;
  margin: 16px 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.page-faq .step-rail li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  background: rgba(10, 22, 20, 0.88);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.page-faq .step-node {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(140deg, var(--blue) 0%, rgba(47, 107, 255, 0.32) 100%);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.page-faq .step-rail p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.66;
}

/* ---------- 图片 ---------- */
.page-faq .media-frame {
  margin: 0;
}

.page-faq .media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: inherit;
}

.page-faq .entry-figure {
  margin: 4px 0 12px;
}

.page-faq .legacy-figure {
  margin: 6px 0 0;
}

/* ---------- 旧版分组双栏 ---------- */
.page-faq .legacy-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.page-faq .legacy-main {
  min-width: 0;
}

/* ---------- 人工支持 ---------- */
.page-faq .faq-help-sec {
  padding: clamp(30px, 5vw, 62px) 0 clamp(40px, 6vw, 80px);
}

.page-faq .help-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(136deg, rgba(47, 107, 255, 0.15) 0%, transparent 48%),
    var(--ink-1);
}

.page-faq .help-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 106, 26, 0.26), transparent 68%);
  pointer-events: none;
}

.page-faq .help-panel h2 {
  position: relative;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 30px);
  letter-spacing: -0.01em;
}

.page-faq .help-panel > p {
  position: relative;
  max-width: 62ch;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.page-faq .help-list {
  position: relative;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.page-faq .help-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(5, 16, 14, 0.6);
  color: var(--white);
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}

.page-faq .help-key {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.page-faq .help-note {
  position: relative;
  margin: 0 0 20px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.7;
}

.page-faq .help-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-faq .faq-lede {
    font-size: 17px;
  }

  .page-faq .faq-index {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "entry entry collection login"
      "legacy legacy lineup lineup";
    gap: 14px;
  }

  .page-faq .idx-card--entry {
    grid-area: entry;
  }

  .page-faq .idx-card--collection {
    grid-area: collection;
  }

  .page-faq .idx-card--login {
    grid-area: login;
  }

  .page-faq .idx-card--legacy {
    grid-area: legacy;
  }

  .page-faq .idx-card--lineup {
    grid-area: lineup;
  }

  .page-faq .step-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .page-faq .help-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-faq .faq-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .page-faq .qa-body {
    padding-left: 32px;
    padding-right: 40px;
  }
}

@media (min-width: 980px) {
  .page-faq .legacy-body {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .idx-card,
  .page-faq .qa-caret,
  .page-faq .qa summary,
  .page-faq .faq-filter {
    transition: none;
  }

  .page-faq .faq-group:target {
    animation: none;
    background: rgba(53, 242, 214, 0.06);
  }
}

<<<END>>>
