.page-faq {
  --faq-gap: clamp(20px, 3vw, 34px);
  --faq-radius: 24px;
  --faq-tint: rgba(19, 28, 61, 0.55);
  display: block;
}

/* ---------- 面包屑上下文 ---------- */
.page-faq .breadcrumbs {
  padding-block: 18px 4px;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  padding-block: clamp(24px, 4vw, 44px) clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: min(560px, 70vw);
  height: min(560px, 70vw);
  background: radial-gradient(circle at 60% 40%, rgba(255, 210, 90, 0.16), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.page-faq .faq-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--faq-gap);
  align-items: center;
}
.page-faq .faq-hero__copy h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0.01em;
  transform: skewX(-2deg);
  color: var(--white);
  margin-block: 12px 18px;
}
.page-faq .faq-hero__copy .lead {
  max-width: 56ch;
  margin-bottom: 22px;
}
.page-faq .faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.page-faq .faq-hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 14px 18px;
  margin: 0;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(255, 210, 90, 0.08), transparent 78%);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.page-faq .faq-hero__stats li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.page-faq .faq-hero__stats .mono {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.page-faq .faq-hero__stats em {
  font-style: normal;
}
.page-faq .faq-hero__figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--table);
  box-shadow: var(--shadow-card);
  position: relative;
}
.page-faq .faq-hero__figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--violet), var(--jade));
}
.page-faq .faq-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-faq .faq-hero__caption {
  display: block;
  padding: 12px 16px 14px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- 分类胶囊条 ---------- */
.page-faq .faq-cats {
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(14, 21, 48, 0.9), rgba(7, 11, 24, 0.6));
  margin-block: 8px 0;
}
.page-faq .faq-cats__inner {
  display: flex;
  gap: 10px;
  padding-block: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.page-faq .faq-cats__inner::-webkit-scrollbar {
  display: none;
}
.page-faq .faq-cats .chip {
  flex: 0 0 auto;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.page-faq .faq-cats .chip:hover,
.page-faq .faq-cats .chip:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -8px rgba(255, 210, 90, 0.65);
}

/* ---------- 板块基础 ---------- */
.page-faq .faq-block {
  scroll-margin-top: 96px;
}
.page-faq .faq-block--tint {
  background:
    linear-gradient(180deg, rgba(19, 28, 61, 0.55), rgba(7, 11, 24, 0)) ,
    var(--faq-tint);
  border-block: 1px solid var(--line-soft);
  border-radius: 0;
}
.page-faq .faq-block__lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: 16px;
  margin-top: 8px;
}
.page-faq .faq-block h2 {
  font-family: var(--font-head);
  font-weight: 800;
  transform: skewX(-1.5deg);
  color: var(--white);
}

/* ---------- 注册步骤 ---------- */
.page-faq .tut-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  counter-reset: step;
}
.page-faq .tut-steps__item {
  position: relative;
  padding: 22px 22px 22px 84px;
  border-radius: var(--r-md);
  background: var(--table);
  border: 1px solid var(--line-soft);
  transition: border-color 240ms ease, transform 240ms ease;
}
.page-faq .tut-steps__item:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}
.page-faq .tut-steps__num {
  position: absolute;
  left: 20px;
  top: 22px;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px rgba(255, 210, 90, 0.4);
}
.page-faq .tut-steps__num::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0.7;
}
.page-faq .tut-steps__item h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--gold-soft);
  margin-bottom: 6px;
}
.page-faq .tut-steps__item p {
  color: var(--white);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ---------- 手风琴 ---------- */
.page-faq .faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.page-faq .faq-list--wide {
  margin-top: 20px;
}
.page-faq .faq-item {
  border-radius: var(--r-md);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color 260ms ease, background 260ms ease;
}
.page-faq .faq-item[open] {
  border-color: rgba(255, 210, 90, 0.55);
  background: linear-gradient(180deg, rgba(255, 210, 90, 0.05), rgba(19, 28, 61, 0.9));
  box-shadow: -3px 0 0 var(--gold), var(--shadow-card);
}
.page-faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
  transition: color 200ms ease;
}
.page-faq .faq-item summary::-webkit-details-marker {
  display: none;
}
.page-faq .faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--muted);
  transition: transform 260ms ease, color 200ms ease;
}
.page-faq .faq-item[open] summary::after {
  content: "–";
  color: var(--gold);
  transform: rotate(180deg);
}
.page-faq .faq-item summary:hover {
  color: var(--gold-soft);
}
.page-faq .faq-item__q {
  flex: 1 1 auto;
  line-height: 1.5;
}
.page-faq .faq-item__a {
  padding: 0 20px 20px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.78;
  border-top: 1px dashed rgba(154, 166, 199, 0.18);
  margin-top: 2px;
  padding-top: 14px;
}
.page-faq .faq-item__a p {
  margin: 0;
}

/* ---------- 开服表卡片 ---------- */
.page-faq .faq-cards {
  margin-top: 26px;
}
.page-faq .faq-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: var(--r-md);
  transition: transform 260ms ease, border-color 260ms ease;
}
.page-faq .faq-card:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
}
.page-faq .faq-card .tag {
  align-self: flex-start;
}
.page-faq .faq-card .card__title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.page-faq .faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- 设备自查矩阵 ---------- */
.page-faq .device-check {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--faq-gap);
  margin-top: 26px;
  align-items: start;
}
.page-faq .device-check__matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.page-faq .device-check__cell {
  position: relative;
  padding: 18px 18px 18px 46px;
  border-radius: var(--r-sm);
  background: rgba(14, 21, 48, 0.85);
  border: 1px solid var(--line-soft);
}
.page-faq .device-check__light {
  position: absolute;
  left: 18px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: rotate(45deg);
}
.page-faq .device-check__light[data-state="open"] {
  background: var(--jade);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.16);
}
.page-faq .device-check__light[data-state="test"] {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 210, 90, 0.16);
  animation: faq-pulse 2.4s ease-in-out infinite;
}
.page-faq .device-check__cell h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 4px;
}
.page-faq .device-check__cell p {
  margin: 0;
  font-size: 14px;
  line-height: 1.66;
  color: var(--muted);
}
.page-faq .device-check__figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--table);
  box-shadow: var(--shadow-card);
}
.page-faq .device-check__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-faq .device-check__figure .media-frame__caption {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
}

@keyframes faq-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}
@media (prefers-reduced-motion: reduce) {
  .page-faq .device-check__light[data-state="test"] {
    animation: none;
  }
}

/* ---------- 账号安全 ---------- */
.page-faq .security-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--faq-gap);
  margin-top: 26px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 88% 12%, rgba(224, 69, 90, 0.16), transparent 58%),
    var(--table);
  border: 1px solid rgba(224, 69, 90, 0.32);
}
.page-faq .security-panel__copy p {
  color: var(--white);
  font-size: 15.5px;
  line-height: 1.8;
  margin: 0 0 14px;
}
.page-faq .security-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.page-faq .security-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-faq .security-panel__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.6;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(7, 11, 24, 0.6);
  border-left: 2px solid var(--pomegranate);
}
.page-faq .security-panel__list .mono {
  color: var(--pomegranate);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ---------- 底部 CTA ---------- */
.page-faq .faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-lg);
  background: linear-gradient(115deg, rgba(139, 92, 246, 0.18), rgba(255, 210, 90, 0.12));
  border: 1px solid var(--line);
}
.page-faq .faq-cta h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  color: var(--gold-soft);
  margin: 0 0 6px;
}
.page-faq .faq-cta p {
  margin: 0;
  color: var(--white);
  font-size: 15px;
  line-height: 1.7;
  max-width: 48ch;
}
.page-faq .faq-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 复制按钮兜底 ---------- */
.page-faq .copy-btn {
  cursor: pointer;
}

/* ---------- 媒体查询：平板 ---------- */
@media (min-width: 720px) {
  .page-faq .tut-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .page-faq .tut-steps__item {
    padding: 74px 20px 24px;
  }
  .page-faq .tut-steps__num {
    top: 22px;
    left: 20px;
  }
  .page-faq .tut-steps__num::after {
    bottom: auto;
    top: 44px;
    left: 50%;
  }
  .page-faq .device-check__matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-faq .security-panel {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

/* ---------- 媒体查询：桌面 ---------- */
@media (min-width: 1024px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .page-faq .faq-hero__figure {
    transform: rotate(-1.1deg);
  }
  .page-faq .faq-list {
    grid-template-columns: 1fr;
  }
  .page-faq .device-check {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  .page-faq .device-check__matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-faq .device-check__cell:last-child {
    grid-column: span 2;
  }
  .page-faq .faq-cats__inner {
    justify-content: flex-start;
  }
}
<<<END>>>
