.page-faq {
  --faq-rail: 200px;
  --faq-gap: clamp(24px, 4vw, 72px);
  background: var(--night);
  color: var(--white);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 76px) 0 clamp(32px, 5vw, 72px);
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 78%);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: min(760px, 96vw);
  height: min(760px, 96vw);
  background: radial-gradient(circle at 58% 42%, rgba(30, 91, 224, .36), rgba(5, 7, 14, 0) 62%);
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(127, 216, 255, .055) 0 1px, rgba(5, 7, 14, 0) 1px 10px);
  opacity: .6;
  pointer-events: none;
}

.page-faq .faq-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--faq-gap);
  align-items: center;
}

.page-faq .faq-hero__tag {
  margin: clamp(20px, 3vw, 34px) 0 0;
  color: var(--cyan);
}

.page-faq .faq-hero__title {
  margin: 12px 0 0;
  font-size: clamp(2.25rem, 7.4vw, 4.5rem);
  font-weight: 250;
  font-style: italic;
  line-height: 1.06;
  letter-spacing: -.03em;
}

.page-faq .faq-hero__lede {
  margin: 18px 0 0;
  max-width: 60ch;
  color: var(--mist);
  font-size: 16.5px;
  line-height: 1.8;
}

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

.page-faq .faq-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--mist);
}

.page-faq .faq-hero__media {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night-2);
  transform: rotate(-3deg);
  box-shadow: 0 24px 60px rgba(5, 7, 14, .7);
}

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

.page-faq .faq-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 14, 0) 42%, rgba(5, 7, 14, .78) 100%),
    linear-gradient(122deg, rgba(18, 58, 140, .38), rgba(5, 7, 14, 0) 58%);
  pointer-events: none;
}

@media (min-width: 900px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  }
  .page-faq .faq-hero__media {
    max-width: 420px;
    justify-self: end;
  }
}

/* ---------- 左右分栏：索引 + 步骤 ---------- */
.page-faq .faq-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--faq-gap);
  padding-bottom: clamp(48px, 7vw, 110px);
}

.page-faq .faq-rail__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 10px;
  list-style: none;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.page-faq .faq-rail__list::-webkit-scrollbar {
  display: none;
}

.page-faq .faq-rail__link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--mist);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}

.page-faq .faq-rail__link .mono {
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--electric);
}

.page-faq .faq-rail__link:hover {
  color: var(--white);
  border-color: var(--line);
}

.page-faq .faq-rail__link.is-active,
.page-faq .faq-rail__link[aria-current="true"] {
  color: var(--gold);
  border-color: rgba(242, 193, 78, .42);
}

.page-faq .faq-rail__link.is-active .mono,
.page-faq .faq-rail__link[aria-current="true"] .mono {
  color: var(--gold);
}

@media (min-width: 1024px) {
  .page-faq .faq-split {
    grid-template-columns: var(--faq-rail) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 92px);
    align-items: start;
  }

  .page-faq .faq-rail {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }

  .page-faq .faq-rail__list {
    flex-direction: column;
    gap: 0;
    overflow: visible;
    padding: 0;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .page-faq .faq-rail__link {
    position: relative;
    padding: 13px 0 13px 18px;
    border: 0;
    border-radius: 0;
  }

  .page-faq .faq-rail__link::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: transparent;
    transition: background .22s var(--ease);
  }

  .page-faq .faq-rail__link.is-active::before,
  .page-faq .faq-rail__link[aria-current="true"]::before {
    background: var(--gold);
  }
}

/* ---------- 通用区块 ---------- */
.page-faq .faq-block {
  padding: clamp(34px, 5vw, 66px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 26px);
}

.page-faq .faq-body > .faq-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-faq .faq-block__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 2.4vw, 30px);
  align-items: start;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-faq .faq-block__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(38px, 6.6vw, 80px);
  font-weight: 200;
  line-height: .84;
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
}

.page-faq .faq-block__title {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -.01em;
  line-height: 1.24;
}

.page-faq .faq-block__lede {
  margin: 10px 0 0;
  max-width: 62ch;
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-faq .faq-note {
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 16px 18px;
  border-left: 2px solid var(--inter-blue);
  background: var(--panel-soft);
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

.page-faq .faq-link {
  color: var(--electric);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 155, 255, .45);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-faq .faq-link:hover {
  color: var(--gold);
  border-color: rgba(242, 193, 78, .6);
}

/* ---------- 01 准备 ---------- */
.page-faq .prep-list {
  display: grid;
  gap: 22px;
}

.page-faq .act {
  padding-left: 18px;
  border-left: 2px solid var(--blue);
}

.page-faq .act__do {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.6;
}

.page-faq .act__why {
  margin: 8px 0 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.78;
}

@media (min-width: 820px) {
  .page-faq .prep-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.6vw, 34px);
  }
}

/* ---------- 02 注册三步 ---------- */
.page-faq .reg-steps {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-faq .reg-step {
  position: relative;
  padding-top: 30px;
}

.page-faq .reg-step::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
}

.page-faq .reg-step::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(242, 193, 78, .6);
}

.page-faq .reg-step__no {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--electric);
}

.page-faq .reg-step__title {
  margin: 8px 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
}

.page-faq .reg-step__list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.page-faq .reg-step__row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
}

.page-faq .reg-step__row dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-faq .reg-step__row dd {
  margin: 0;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.72;
}

@media (min-width: 780px) {
  .page-faq .reg-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 38px);
  }
}

/* ---------- 03 名单 ---------- */
.page-faq .roster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 44px);
  align-items: start;
}

.page-faq .roster__text {
  margin: 0 0 14px;
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-faq .field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-faq .field-tags li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-faq .roster-order {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
  padding: 0 0 0 20px;
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.78;
}

.page-faq .roster-order b {
  color: var(--white);
  font-weight: 700;
}

.page-faq .roster__media {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night-2);
}

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

.page-faq .roster__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(18, 58, 140, .34), rgba(5, 7, 14, .55) 70%);
  pointer-events: none;
}

@media (min-width: 920px) {
  .page-faq .roster {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }
}

/* ---------- 04 收藏同步 ---------- */
.page-faq .sync-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-faq .sync-card {
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--panel);
}

.page-faq .sync-card__k {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold);
}

.page-faq .sync-card__v {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.78;
}

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

/* ---------- 05 阅读顺序 ---------- */
.page-faq .timeline {
  margin: 0;
  padding: 0 0 0 22px;
  list-style: none;
  border-left: 1px solid var(--line-strong);
}

.page-faq .timeline__item {
  position: relative;
  padding-bottom: clamp(22px, 3vw, 34px);
}

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

.page-faq .timeline__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 10px rgba(46, 155, 255, .55);
}

.page-faq .timeline__item:last-child::before {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(242, 193, 78, .55);
}

.page-faq .timeline__time {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold);
}

.page-faq .timeline__title {
  margin: 7px 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.page-faq .timeline__text {
  margin: 0;
  max-width: 66ch;
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.78;
}

/* ---------- 06 卡点 ---------- */
.page-faq .filter-bar {
  margin-bottom: 18px;
}

.page-faq .q-list {
  display: grid;
  gap: 10px;
}

.page-faq .q-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
  transition: border-color .22s var(--ease), background .22s var(--ease);
}

.page-faq .q-item:hover {
  border-color: var(--line-strong);
}

.page-faq .q-item[open] {
  border-color: rgba(242, 193, 78, .38);
  background: var(--panel);
}

.page-faq .q-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
}

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

.page-faq .q-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1;
  color: var(--electric);
  transition: transform .22s var(--ease), color .22s var(--ease);
}

.page-faq .q-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--gold);
}

.page-faq .q-item__q {
  flex: 1 1 auto;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
}

.page-faq .q-item__tag {
  flex: none;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mist);
}

.page-faq .q-item__a {
  margin: 0;
  padding: 0 18px 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.82;
}

.page-faq .faq-cta {
  display: grid;
  gap: 18px;
  margin-top: clamp(26px, 4vw, 44px);
  padding: clamp(22px, 3.4vw, 38px);
  border: 1px solid rgba(242, 193, 78, .34);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(18, 58, 140, .44), rgba(5, 7, 14, .28) 62%);
}

.page-faq .faq-cta__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -.01em;
}

.page-faq .faq-cta__text {
  margin: 10px 0 0;
  max-width: 60ch;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

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

@media (min-width: 820px) {
  .page-faq .faq-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-hero__media {
    transform: none;
  }
}
</main>
