.page-faq {
  --fx-card: #FFFFFF;
  --fx-num-w: 2.4rem;
  background: var(--paper);
  color: var(--text);
}

/* ---------- 首屏框景 ---------- */
.page-faq .fx-hero {
  position: relative;
  padding: 1.5rem 0 clamp(2.5rem, 6vw, 4.5rem);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 60px, rgba(255, 255, 255, 0) 60px 120px),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: var(--paper);
  overflow: hidden;
}

.page-faq .fx-hero .crumb {
  margin-bottom: 1.25rem;
}

.page-faq .fx-hero .crumb__link {
  color: rgba(242, 244, 241, .72);
}

.page-faq .fx-hero .crumb__link[aria-current="page"] {
  color: var(--signal);
}

.page-faq .fx-hero__frame {
  position: relative;
  margin-top: 1.75rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(53, 240, 200, .28);
  border-radius: var(--r-lg);
  background: rgba(6, 25, 19, .35);
}

.page-faq .fx-hero__frame::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 9px;
  background-image: repeating-linear-gradient(90deg, var(--signal) 0 1px, transparent 1px 26px);
  opacity: .55;
}

.page-faq .fx-hero__tag {
  position: absolute;
  top: -.95rem;
  right: clamp(1rem, 4vw, 2.5rem);
  padding: .35rem .95rem;
  border-radius: var(--r-pill);
  background: var(--amber);
  color: var(--ink-deep);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}

.page-faq .fx-hero__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: .16em;
  color: var(--signal);
}

.page-faq .fx-hero__title {
  margin: .85rem 0 0;
  max-width: 24ch;
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.02em;
}

.page-faq .fx-hero__lede {
  margin: 1.25rem 0 0;
  max-width: 62ch;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: rgba(242, 244, 241, .82);
}

.page-faq .fx-hero__jump {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.page-faq .fx-hero__jump a {
  display: inline-block;
  padding: .42rem 1rem;
  border: 1px solid rgba(53, 240, 200, .35);
  border-radius: var(--r-pill);
  color: var(--signal);
  font-size: var(--fs-small);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.page-faq .fx-hero__jump a:hover,
.page-faq .fx-hero__jump a:focus-visible {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink-deep);
}

/* ---------- 页面骨架 ---------- */
.page-faq .fx-layout {
  display: grid;
  gap: 2rem;
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.page-faq .fx-toc__title {
  margin: 0 0 .75rem;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: .16em;
  color: var(--muted);
}

.page-faq .fx-toc__list {
  display: flex;
  gap: .5rem;
  margin: 0;
  padding: 0 0 .5rem;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-faq .fx-toc__link {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  padding: .5rem .85rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  background: var(--fx-card);
  color: var(--text);
  font-size: var(--fs-small);
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.page-faq .fx-toc__n {
  font-family: var(--font-mono);
  color: var(--teal);
}

.page-faq .fx-toc__link:hover,
.page-faq .fx-toc__link:focus-visible {
  border-color: var(--signal);
  color: var(--teal);
}

/* ---------- 问答组 ---------- */
.page-faq .fx-body {
  display: grid;
  gap: 0;
  min-width: 0;
}

.page-faq .fx-qa {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
  border-top: 1px solid var(--rule);
}

.page-faq .fx-qa:last-child {
  border-bottom: 1px solid var(--rule);
}

.page-faq .fx-qa__head {
  position: relative;
  display: grid;
  grid-template-columns: var(--fx-num-w) 1fr auto;
  align-items: center;
  gap: .75rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
}

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

.page-faq .fx-qa__head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--signal);
  transition: width 260ms ease;
}

.page-faq .fx-qa[open] .fx-qa__head::after {
  width: 100%;
}

.page-faq .fx-qa__head:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.page-faq .fx-qa__num {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: .08em;
  color: var(--teal);
}

.page-faq .fx-qa__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.45;
  transition: color .2s ease;
}

.page-faq .fx-qa__head:hover .fx-qa__title {
  color: var(--teal);
}

.page-faq .fx-qa__sign {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: background .2s ease, border-color .2s ease;
}

.page-faq .fx-qa__sign::before,
.page-faq .fx-qa__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .24s ease, background .2s ease;
}

.page-faq .fx-qa__sign::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.page-faq .fx-qa__sign::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.page-faq .fx-qa[open] .fx-qa__sign {
  background: var(--signal);
  border-color: var(--signal);
}

.page-faq .fx-qa[open] .fx-qa__sign::before,
.page-faq .fx-qa[open] .fx-qa__sign::after {
  background: var(--ink-deep);
}

.page-faq .fx-qa[open] .fx-qa__sign::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.page-faq .fx-qa__body {
  display: grid;
  gap: 1.5rem;
  padding: 0 0 2.25rem;
  animation: fxFaqIn 200ms ease-out both;
}

.page-faq .fx-qa__main {
  min-width: 0;
}

.page-faq .fx-qa__main > p {
  margin: 0 0 1rem;
  font-size: var(--fs-body);
  line-height: 1.7;
}

.page-faq .fx-qa__main > p:last-child {
  margin-bottom: 0;
}

@keyframes fxFaqIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 侧边判定卡 ---------- */
.page-faq .fx-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--fx-card);
  box-shadow: 0 20px 46px -38px rgba(12, 46, 34, .6);
}

.page-faq .fx-card__eyebrow {
  margin: 0 0 .85rem;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: .1em;
  color: var(--teal);
}

.page-faq .fx-card--dark {
  border-color: transparent;
  background: var(--ink-deep);
  color: var(--paper);
}

.page-faq .fx-card--dark .fx-card__eyebrow {
  color: var(--signal);
}

.page-faq .fx-card .btn {
  margin-top: 1.15rem;
}

/* ---------- 判定表 ---------- */
.page-faq .fx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}

.page-faq .fx-table th,
.page-faq .fx-table td {
  padding: .6rem .45rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}

.page-faq .fx-table thead th {
  padding-top: 0;
  color: var(--muted);
  font-weight: 700;
}

.page-faq .fx-table tbody th {
  font-weight: 700;
  border-left: 3px solid var(--rule);
  padding-left: .6rem;
}

.page-faq .fx-table tr:nth-child(even) td,
.page-faq .fx-table tr:nth-child(even) th {
  background: rgba(12, 46, 34, .04);
}

.page-faq .fx-table tbody tr:hover td,
.page-faq .fx-table tbody tr:hover th {
  background: var(--mist);
}

.page-faq .fx-table__row--regular th { border-left-color: var(--signal); }
.page-faq .fx-table__row--extra th { border-left-color: var(--amber); }
.page-faq .fx-table__row--shootout th { border-left-color: var(--rule); }

/* ---------- 图例 ---------- */
.page-faq .fx-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.page-faq .fx-legend__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .85rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  background: var(--fx-card);
  font-size: var(--fs-small);
}

.page-faq .fx-legend__swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.page-faq .fx-legend__swatch--regular { background: var(--signal); }
.page-faq .fx-legend__swatch--extra { background: var(--amber); }
.page-faq .fx-legend__swatch--shootout { background: var(--rule); }

/* ---------- 深色数据带 ---------- */
.page-faq .fx-band {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(90deg, rgba(53, 240, 200, .06) 0 40px, rgba(0, 0, 0, 0) 40px 80px),
    var(--ink);
  color: var(--paper);
}

.page-faq .fx-band .stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--signal);
  letter-spacing: -.02em;
}

.page-faq .fx-band .stat__value--amber {
  color: var(--amber);
}

.page-faq .fx-band .stat__label {
  display: block;
  margin-top: .6rem;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: rgba(242, 244, 241, .76);
}

/* ---------- 步骤 ---------- */
.page-faq .fx-steps {
  counter-reset: fxstep;
  display: grid;
  gap: .85rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.page-faq .fx-steps li {
  position: relative;
  padding-left: 2.5rem;
  font-size: var(--fs-body);
  line-height: 1.7;
}

.page-faq .fx-steps li::before {
  counter-increment: fxstep;
  content: counter(fxstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .25rem;
  width: 1.85rem;
  text-align: center;
  padding: .1rem 0;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: .6875rem;
  color: var(--amber);
  background: var(--fx-card);
}

/* ---------- 时间线 ---------- */
.page-faq .fx-timeline {
  display: grid;
  gap: 1.75rem;
  margin: 1.5rem 0 0;
  padding: 0 0 0 1.5rem;
  list-style: none;
  border-left: 2px solid var(--rule);
}

.page-faq .fx-timeline__item {
  position: relative;
}

.page-faq .fx-timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1.5rem - 7px);
  top: .4rem;
  width: 12px;
  height: 12px;
  border: 2px solid var(--signal);
  border-radius: 50%;
  background: var(--paper);
}

.page-faq .fx-timeline__time {
  margin: 0 0 .35rem;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: .04em;
  color: var(--teal);
}

.page-faq .fx-timeline__text {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.7;
}

/* ---------- 要点清单 ---------- */
.page-faq .fx-checks {
  display: grid;
  gap: .5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.page-faq .fx-checks li {
  position: relative;
  padding-left: 1.35rem;
  font-size: var(--fs-body);
  line-height: 1.7;
}

.page-faq .fx-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.page-faq .fx-tips {
  display: grid;
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-faq .fx-tips li {
  position: relative;
  padding-left: 1.1rem;
  font-size: var(--fs-small);
  line-height: 1.65;
}

.page-faq .fx-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

/* ---------- 速览表 ---------- */
.page-faq .fx-facts {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-faq .fx-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px dashed var(--rule);
  font-size: var(--fs-small);
}

.page-faq .fx-facts li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-faq .fx-facts__v {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
}

/* ---------- 联系方式 ---------- */
.page-faq .fx-contact {
  display: grid;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-faq .fx-contact li {
  display: grid;
  gap: .2rem;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: rgba(242, 244, 241, .86);
  word-break: break-word;
}

.page-faq .fx-contact__k {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  color: var(--signal);
}

/* ---------- 行内链接 ---------- */
.page-faq .fx-link {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .fx-link:hover,
.page-faq .fx-link:focus-visible {
  color: var(--amber-deep);
}

.page-faq .fx-card--dark .fx-link {
  color: var(--signal);
}

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

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

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

@media (min-width: 720px) {
  .page-faq {
    --fx-num-w: 3rem;
  }

  .page-faq .fx-qa__title {
    font-size: var(--fs-h2);
  }
}

@media (min-width: 860px) {
  .page-faq .fx-qa__body {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .page-faq .fx-layout {
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 3.5rem;
  }

  .page-faq .fx-toc__inner {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }

  .page-faq .fx-toc__list {
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
    overflow: visible;
  }

  .page-faq .fx-toc__link {
    border: 0;
    border-left: 2px solid var(--rule);
    border-radius: 0;
    background: transparent;
    padding: .6rem .9rem;
    white-space: normal;
    line-height: 1.5;
  }

  .page-faq .fx-toc__link:hover,
  .page-faq .fx-toc__link:focus-visible {
    border-left-color: var(--signal);
    background: rgba(53, 240, 200, .08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .fx-qa__body {
    animation: none;
  }

  .page-faq .fx-qa__head::after,
  .page-faq .fx-qa__sign,
  .page-faq .fx-qa__sign::before,
  .page-faq .fx-qa__sign::after,
  .page-faq .fx-toc__link,
  .page-faq .fx-hero__jump a {
    transition: none;
  }
}
