.page-faq {
  --faq-line: rgba(245, 242, 232, .14);
  --faq-line-2: rgba(245, 242, 232, .28);
  --faq-muted: rgba(245, 242, 232, .74);
  --faq-ghost: rgba(7, 18, 15, .68);
  --faq-y: clamp(46px, 7vw, 84px);
  background: var(--ink);
  color: var(--paper);
  overflow-x: clip;
}

.page-faq [id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-faq h1,
.page-faq h2,
.page-faq h3 {
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.14;
}

.page-faq a {
  color: inherit;
}

.page-faq a:focus-visible,
.page-faq summary:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Hero ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: calc(var(--header-h) + 20px) 0 clamp(34px, 5vw, 58px);
  background:
    radial-gradient(88% 72% at 94% -6%, rgba(255, 122, 47, .26), transparent 62%),
    radial-gradient(64% 60% at 2% 100%, rgba(56, 242, 210, .13), transparent 62%),
    linear-gradient(168deg, var(--green) 0%, var(--ink) 72%);
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 16%;
  width: 46%;
  max-width: 560px;
  height: 260px;
  background: linear-gradient(120deg, rgba(255, 122, 47, .18), rgba(56, 242, 210, 0));
  clip-path: polygon(24% 0, 100% 0, 76% 100%, 0 100%);
  pointer-events: none;
}

.page-faq .faq-hero .shell {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  margin-top: clamp(18px, 3vw, 30px);
  align-items: start;
}

.page-faq .faq-hero__lead .label {
  color: var(--cyan);
}

.page-faq .faq-hero__lead h1 {
  margin-top: 10px;
  font-size: clamp(30px, 5.8vw, 58px);
  font-weight: 900;
}

.page-faq .faq-hero__intro {
  margin-top: 16px;
  max-width: 36em;
  font-size: clamp(14.5px, 1.6vw, 16px);
  line-height: 1.72;
  color: var(--faq-muted);
}

.page-faq .faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-faq .faq-hero__panel {
  position: relative;
  border: 1px solid var(--faq-line-2);
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 26px);
  background: rgba(5, 14, 11, .46);
}

.page-faq .faq-hero__panel::before {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

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

.page-faq .faq-panel__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--faq-line);
}

.page-faq .faq-panel__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-faq .faq-panel__num {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -.01em;
}

.page-faq .faq-panel__txt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--faq-muted);
}

/* ---------- 场景筛选 ---------- */
.page-faq .faq-scenes {
  padding: var(--faq-y) 0;
  background: var(--ink);
}

.page-faq .faq-scenes__head {
  max-width: 640px;
}

.page-faq .faq-scenes__head h2 {
  margin-top: 8px;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
}

.page-faq .faq-scenes__head p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--faq-muted);
}

.page-faq .scene-list {
  display: grid;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-faq .scene-pill {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--faq-line);
  background: linear-gradient(158deg, rgba(20, 66, 55, .62), rgba(7, 18, 15, .28));
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.page-faq .scene-pill:hover {
  transform: translate(3px, -3px);
  border-color: rgba(56, 242, 210, .52);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .34);
}

.page-faq .scene-pill__no {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: .1em;
}

.page-faq .scene-pill__t {
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.page-faq .scene-pill__s {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- 热门问题 ---------- */
.page-faq .faq-hot {
  padding: var(--faq-y) 0;
  background: var(--cream);
  color: var(--ink);
}

.page-faq .faq-hot__head {
  max-width: 680px;
}

.page-faq .faq-hot .label {
  display: inline-block;
  color: #45756a;
}

.page-faq .faq-hot__head h2 {
  margin-top: 10px;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
}

.page-faq .faq-hot__head p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--faq-ghost);
}

.page-faq .qa-list {
  margin-top: clamp(18px, 3vw, 28px);
  border-top: 1px solid rgba(7, 18, 15, .2);
}

.page-faq .qa {
  border-bottom: 1px solid rgba(7, 18, 15, .16);
}

.page-faq .qa summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 17px 0;
  list-style: none;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

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

.page-faq .qa summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 19px;
  line-height: 1;
  color: #0d5f4e;
}

.page-faq .qa[open] summary::after {
  content: "\2212";
}

.page-faq .qa[open] summary {
  color: #0b4a3d;
}

.page-faq .qa__idx {
  flex: 0 0 auto;
  font-size: 12px;
  color: #74958a;
}

.page-faq .qa__a {
  padding: 0 0 18px;
}

.page-faq .qa__a p {
  margin: 0;
  padding-left: 30px;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--faq-ghost);
}

.page-faq .qa__a p + p {
  margin-top: 9px;
}

.page-faq .qa__a a {
  color: #0d5f4e;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: 600;
}

/* ---------- 旧版资料三步 ---------- */
.page-faq .faq-legacy {
  padding: var(--faq-y) 0;
  background: linear-gradient(180deg, var(--green) 0%, var(--ink) 78%);
}

.page-faq .faq-legacy__grid {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}

.page-faq .faq-legacy .label {
  color: var(--amber);
}

.page-faq .faq-legacy h2 {
  margin-top: 10px;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
}

.page-faq .faq-legacy__copy > p {
  margin: 12px 0 0;
  max-width: 42em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--faq-muted);
}

.page-faq .steps {
  position: relative;
  display: grid;
  gap: 20px;
  margin: clamp(22px, 3vw, 30px) 0 0;
  padding: 0;
  list-style: none;
}

.page-faq .steps::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 14px;
  bottom: 14px;
  border-left: 1px dashed rgba(56, 242, 210, .45);
}

.page-faq .step {
  position: relative;
  padding-left: 46px;
}

.page-faq .step__no {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 1px solid rgba(56, 242, 210, .6);
  background: var(--ink);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}

.page-faq .step__t {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.page-faq .step__d {
  display: block;
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--faq-muted);
}

.page-faq .step__more {
  margin-top: 10px;
}

.page-faq .step__more summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  border-bottom: 1px dashed rgba(255, 209, 102, .5);
}

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

.page-faq .step__more summary::after {
  content: "\FF0B";
  font-size: 11px;
}

.page-faq .step__more[open] summary::after {
  content: "\2212";
}

.page-faq .step__more p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.68;
  color: rgba(245, 242, 232, .66);
}

.page-faq .legacy-figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--faq-line);
  background: rgba(5, 14, 11, .5);
}

.page-faq .legacy-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-faq .legacy-figure figcaption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  background: rgba(7, 18, 15, .62);
}

/* ---------- 数据与排名 ---------- */
.page-faq .faq-data {
  padding: var(--faq-y) 0;
  background: var(--ink);
}

.page-faq .faq-data__head {
  max-width: 700px;
}

.page-faq .faq-data .label {
  color: var(--cyan);
}

.page-faq .faq-data h2 {
  margin-top: 10px;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
}

.page-faq .faq-data__head p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--faq-muted);
}

.page-faq .rank-scroll {
  margin-top: clamp(20px, 3vw, 30px);
  overflow-x: auto;
  border: 1px solid var(--faq-line);
  border-radius: var(--r-md);
  background: rgba(20, 66, 55, .26);
  -webkit-overflow-scrolling: touch;
}

.page-faq .rank-fields {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.page-faq .rank-fields caption {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .rank-fields thead th {
  padding: 13px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(20, 66, 55, .62);
  border-bottom: 1px solid var(--faq-line-2);
}

.page-faq .rank-fields tbody th {
  padding: 14px 16px;
  text-align: left;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--paper);
  border-top: 1px solid var(--faq-line);
  border-left: 2px solid transparent;
}

.page-faq .rank-fields tbody tr:hover th {
  border-left-color: var(--cyan);
}

.page-faq .rank-fields tbody td {
  padding: 14px 16px;
  vertical-align: top;
  line-height: 1.62;
  color: rgba(245, 242, 232, .82);
  border-top: 1px solid var(--faq-line);
}

.page-faq .data-notes {
  display: grid;
  gap: 12px;
  margin-top: clamp(18px, 3vw, 26px);
}

.page-faq .data-note {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--faq-line);
  background: rgba(5, 14, 11, .48);
}

.page-faq .data-note__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(56, 242, 210, .14);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
}

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

/* ---------- 移动端设置 ---------- */
.page-faq .faq-mobile {
  padding: var(--faq-y) 0;
  background: linear-gradient(180deg, var(--ink) 0%, #0A1F19 100%);
}

.page-faq .faq-mobile__head {
  max-width: 640px;
}

.page-faq .faq-mobile .label {
  color: var(--ember);
}

.page-faq .faq-mobile h2 {
  margin-top: 10px;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
}

.page-faq .faq-mobile__head p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--faq-muted);
}

.page-faq .set-grid {
  display: grid;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-faq .set-card {
  padding: 18px 18px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--faq-line);
  background: linear-gradient(158deg, rgba(20, 66, 55, .5), rgba(7, 18, 15, .3));
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.page-faq .set-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 47, .45);
}

.page-faq .set-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 122, 47, .16);
  color: var(--ember);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
}

.page-faq .set-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--paper);
}

.page-faq .set-card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.66;
  color: rgba(245, 242, 232, .72);
}

/* ---------- 联系支持 ---------- */
.page-faq .faq-contact {
  padding: var(--faq-y) 0;
  background: var(--cream);
  color: var(--ink);
}

.page-faq .faq-contact__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-faq .faq-contact .label {
  display: inline-block;
  color: #45756a;
}

.page-faq .faq-contact h2 {
  margin-top: 10px;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 800;
}

.page-faq .faq-contact__intro {
  margin: 12px 0 0;
  max-width: 42em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--faq-ghost);
}

.page-faq .faq-contact__card {
  margin-top: clamp(18px, 3vw, 26px);
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(7, 18, 15, .16);
  background: rgba(255, 255, 255, .46);
}

.page-faq .faq-contact__row {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(7, 18, 15, .2);
}

.page-faq .faq-contact__row:first-child {
  padding-top: 0;
}

.page-faq .faq-contact__row:last-of-type {
  border-bottom: 0;
}

.page-faq .faq-contact__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #53796e;
}

.page-faq .faq-contact__val {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

.page-faq .faq-contact__note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--faq-ghost);
}

.page-faq .faq-contact__note a {
  color: #0d5f4e;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .faq-contact__figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(7, 18, 15, .16);
  background: var(--ink);
}

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

.page-faq .faq-contact__figure figcaption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  background: rgba(7, 18, 15, .9);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-faq .scene-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .page-faq .set-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: 1.34fr .86fr;
    gap: clamp(28px, 5vw, 56px);
  }

  .page-faq .faq-contact__grid {
    grid-template-columns: 1.15fr .85fr;
  }

  .page-faq .qa summary {
    font-size: 16.5px;
  }
}

@media (min-width: 960px) {
  .page-faq .faq-legacy__grid {
    grid-template-columns: .94fr 1.06fr;
    gap: clamp(28px, 4vw, 46px);
  }
}

@media (min-width: 1024px) {
  .page-faq .scene-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-faq .set-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .page-faq .faq-panel__row {
    flex-direction: column;
    gap: 2px;
  }

  .page-faq .qa__a p {
    padding-left: 0;
  }

  .page-faq .faq-hero::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .scene-pill,
  .page-faq .set-card {
    transition: none;
  }

  .page-faq .scene-pill:hover,
  .page-faq .set-card:hover {
    transform: none;
  }
}
