.page-faq {
  --faq-line: rgba(11, 43, 35, 0.14);
  --faq-line-inv: rgba(201, 214, 206, 0.22);
  --faq-card: #fffdf6;
  background: var(--paper);
  color: var(--char);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.page-faq *,
.page-faq *::before,
.page-faq *::after {
  box-sizing: border-box;
}

.page-faq img {
  max-width: 100%;
  height: auto;
}

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

.page-faq a {
  color: var(--pitch);
}

/* ---------- 首屏 ---------- */

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 34px) 0 clamp(44px, 8vw, 80px);
  background:
    radial-gradient(120% 85% at 88% -12%, #1c5642 0%, rgba(11, 43, 35, 0) 58%),
    linear-gradient(180deg, #0b2b23 0%, #08201b 100%);
  color: var(--paper);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -46%;
  width: 74%;
  height: 82%;
  background: radial-gradient(circle, rgba(201, 255, 61, 0.2) 0%, rgba(201, 255, 61, 0) 64%);
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--flare) 58%, rgba(255, 90, 43, 0) 100%);
  opacity: 0.85;
  transform: skewY(-0.6deg);
  transform-origin: left bottom;
}

.page-faq .faq-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.page-faq .faq-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 228, 0.55);
}

.page-faq .faq-crumbs a {
  color: var(--lime-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.16s var(--ease-out);
}

.page-faq .faq-crumbs a:hover,
.page-faq .faq-crumbs a:focus-visible {
  border-bottom-color: currentColor;
}

.page-faq .faq-h1 {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(1.85rem, 6.6vw, 3.35rem);
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: #ffffff;
}

.page-faq .faq-lede {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(0.94rem, 2.4vw, 1.02rem);
  line-height: 1.8;
  color: rgba(245, 240, 228, 0.82);
}

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

.page-faq .faq-jump-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201, 255, 61, 0.5);
  background: rgba(201, 255, 61, 0.06);
  color: var(--lime);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}

.page-faq .faq-jump-link:hover,
.page-faq .faq-jump-link:focus-visible {
  background: var(--lime);
  color: var(--ink-900);
  transform: translateY(-2px);
}

.page-faq .faq-hero-facts {
  list-style: none;
  margin: 12px 0 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  border-top: 1px solid rgba(201, 214, 206, 0.18);
}

.page-faq .faq-fact-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 1.95rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--flare);
}

.page-faq .faq-fact-label {
  display: block;
  margin-top: 5px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 228, 0.6);
}

/* ---------- 章节外壳 ---------- */

.page-faq .faq-block {
  position: relative;
  padding: clamp(44px, 7vw, 84px) 0;
}

.page-faq .faq-block--dark {
  background: var(--ink-900);
  color: var(--paper);
}

.page-faq .faq-block--deep {
  background: var(--ink-800);
  color: var(--paper);
}

.page-faq .faq-block--dark,
.page-faq .faq-block--deep {
  --faq-line: var(--faq-line-inv);
  --faq-card: rgba(245, 240, 228, 0.06);
}

.page-faq .faq-block--paperline {
  background: linear-gradient(180deg, var(--paper) 0%, #f0eadb 100%);
}

.page-faq .faq-head {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
  max-width: 720px;
}

.page-faq .faq-no {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 8vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--lime);
  opacity: 0.85;
}

.page-faq .faq-no--inv {
  color: var(--lime);
  opacity: 0.95;
}

.page-faq .faq-h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.6vw, 1.95rem);
  line-height: 1.34;
  color: var(--ink-900);
}

.page-faq .faq-h2--inv {
  color: var(--paper);
}

.page-faq .faq-block--dark .faq-h2,
.page-faq .faq-block--deep .faq-h2 {
  color: var(--paper);
}

.page-faq .faq-lead {
  margin: 0;
  max-width: 60ch;
  font-size: 0.95rem;
  line-height: 1.78;
  color: rgba(29, 33, 31, 0.74);
}

.page-faq .faq-block--dark .faq-lead,
.page-faq .faq-block--deep .faq-lead {
  color: rgba(245, 240, 228, 0.76);
}

.page-faq .faq-inline-link {
  margin: 22px 0 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(29, 33, 31, 0.7);
}

.page-faq .faq-block--dark .faq-inline-link,
.page-faq .faq-block--deep .faq-inline-link {
  color: rgba(245, 240, 228, 0.72);
}

.page-faq .faq-inline-link a {
  color: var(--pitch);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 255, 61, 0.9);
}

.page-faq .faq-block--dark .faq-inline-link a,
.page-faq .faq-block--deep .faq-inline-link a {
  color: var(--lime);
}

/* ---------- 三步开始 ---------- */

.page-faq .faq-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: faq-step;
}

.page-faq .faq-step {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--faq-card);
  border: 1px solid var(--faq-line);
  box-shadow: 0 12px 26px -22px rgba(11, 43, 35, 0.6);
}

.page-faq .faq-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-faq .faq-step-no {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
}

.page-faq .faq-step h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink-900);
}

.page-faq .faq-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(29, 33, 31, 0.76);
}

.page-faq .faq-step .faq-tip {
  padding: 10px 12px;
  border-left: 3px solid var(--lime);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(201, 255, 61, 0.14);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--pitch);
}

/* ---------- 筛选 ---------- */

.page-faq .faq-filters {
  display: grid;
  gap: 14px;
}

.page-faq .faq-filter {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--faq-card);
  border: 1px solid var(--faq-line);
}

.page-faq .faq-chip {
  justify-self: start;
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  background: rgba(201, 255, 61, 0.16);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.page-faq .faq-filter h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper);
}

.page-faq .faq-filter p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(245, 240, 228, 0.76);
}

.page-faq .faq-filter .faq-mono {
  padding-top: 10px;
  border-top: 1px dashed rgba(201, 214, 206, 0.24);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--lime-soft);
}

/* ---------- 图文区块 ---------- */

.page-faq .faq-feature {
  display: grid;
  gap: 22px;
  align-items: center;
}

.page-faq .faq-feature-copy {
  min-width: 0;
}

.page-faq .faq-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-faq .faq-points li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  line-height: 1.78;
  color: rgba(29, 33, 31, 0.78);
}

.page-faq .faq-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--lime);
  transform: skewX(-12deg);
}

.page-faq .faq-points strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
  color: var(--ink-900);
}

.page-faq .faq-points--inv li {
  color: rgba(245, 240, 228, 0.78);
}

.page-faq .faq-points--inv strong {
  color: var(--paper);
}

.page-faq .faq-points--inv li::before {
  background: var(--flare);
}

.page-faq .faq-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--faq-line);
  background: rgba(11, 43, 35, 0.06);
  position: relative;
}

.page-faq .faq-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.page-faq .faq-figure--tall img {
  aspect-ratio: 5 / 6;
}

.page-faq .faq-figure figcaption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(29, 33, 31, 0.66);
  background: #fffdf6;
}

.page-faq .faq-block--dark .faq-figure figcaption,
.page-faq .faq-block--deep .faq-figure figcaption {
  color: rgba(245, 240, 228, 0.7);
  background: rgba(245, 240, 228, 0.06);
}

.page-faq .faq-mono {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--faq-line);
  background: rgba(201, 255, 61, 0.08);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--lime-soft);
}

.page-faq .faq-mono--inv {
  color: var(--lime-soft);
}

/* ---------- 反馈记录对照 ---------- */

.page-faq .faq-records {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-faq .faq-record {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px 12px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(245, 240, 228, 0.06);
  border: 1px solid var(--faq-line-inv);
}

.page-faq .faq-record-time {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--flare);
}

.page-faq .faq-record-tag {
  justify-self: start;
  padding: 2px 11px;
  border-radius: var(--radius-pill);
  background: rgba(201, 255, 61, 0.16);
  color: var(--lime);
  font-size: 0.72rem;
  line-height: 1.8;
}

.page-faq .faq-record-state {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mist);
}

.page-faq .faq-record-score {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(245, 240, 228, 0.7);
  padding-top: 4px;
  border-top: 1px dashed rgba(201, 214, 206, 0.18);
}

/* ---------- 比分刷新 ---------- */

.page-faq .faq-live {
  display: grid;
  gap: 14px;
}

.page-faq .faq-live-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--faq-card);
  border: 1px solid var(--faq-line);
}

.page-faq .faq-live-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--flare);
}

.page-faq .faq-live-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-900);
}

.page-faq .faq-live-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(29, 33, 31, 0.76);
}

/* ---------- 问答 ---------- */

.page-faq .faq-qa-list {
  display: grid;
  gap: 10px;
  max-width: 880px;
}

.page-faq .faq-qa {
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-md);
  background: #fffdf6;
  padding: 0 16px;
  overflow: hidden;
  transition: border-color 0.18s var(--ease-out);
}

.page-faq .faq-qa[open] {
  border-color: rgba(46, 107, 79, 0.5);
}

.page-faq .faq-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  list-style: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink-900);
}

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

.page-faq .faq-qa summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--pitch);
}

.page-faq .faq-qa[open] summary::after {
  content: "−";
  color: var(--flare);
}

.page-faq .faq-qa summary:focus-visible {
  outline: 2px solid var(--pitch);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.page-faq .faq-qa-body {
  padding: 0 0 16px;
}

.page-faq .faq-qa-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.82;
  color: rgba(29, 33, 31, 0.78);
}

/* ---------- 联系收束 ---------- */

.page-faq .faq-help {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 80px) 0 clamp(38px, 6vw, 64px);
  background: linear-gradient(160deg, var(--ink-800) 0%, #0a2520 100%);
  color: var(--paper);
}

.page-faq .faq-help::before {
  content: "";
  position: absolute;
  left: -12%;
  top: -30%;
  width: 56%;
  height: 120%;
  background: radial-gradient(circle, rgba(201, 255, 61, 0.16) 0%, rgba(201, 255, 61, 0) 66%);
  pointer-events: none;
}

.page-faq .faq-help-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
}

.page-faq .faq-help-copy {
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-faq .faq-help-copy p {
  margin: 0;
  max-width: 52ch;
  font-size: 0.94rem;
  line-height: 1.8;
  color: rgba(245, 240, 228, 0.78);
}

.page-faq .faq-help-copy .btn {
  justify-self: start;
  margin-top: 6px;
}

.page-faq .faq-contact {
  list-style: none;
  margin: 0;
  padding: 22px;
  display: grid;
  gap: 16px;
  border-radius: var(--radius-lg);
  background: rgba(245, 240, 228, 0.06);
  border: 1px solid var(--faq-line-inv);
}

.page-faq .faq-contact li {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.page-faq .faq-contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--lime);
}

.page-faq .faq-contact-value {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--paper);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.page-faq .faq-contact-value--mono {
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.page-faq .faq-privacy-note {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 214, 206, 0.16);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.7;
  color: rgba(245, 240, 228, 0.58);
}

.page-faq .faq-privacy-note a {
  color: var(--lime-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 断点 ---------- */

@media (min-width: 640px) {
  .page-faq .faq-record {
    grid-template-columns: 72px 130px 1fr auto;
    column-gap: 14px;
  }

  .page-faq .faq-record-score {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
    text-align: right;
  }

  .page-faq .faq-hero-facts {
    gap: 20px;
  }
}

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

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

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

  .page-faq .faq-head {
    margin-bottom: 32px;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-feature {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }

  .page-faq .faq-feature--reverse .faq-figure {
    order: 2;
  }

  .page-faq .faq-figure--tall img {
    aspect-ratio: 4 / 5;
  }

  .page-faq .faq-help-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 44px;
  }
}

@media (min-width: 1100px) {
  .page-faq .faq-h1 {
    max-width: 22ch;
  }

  .page-faq .faq-hero-inner {
    gap: 20px;
  }

  .page-faq .faq-figure--tall img {
    aspect-ratio: 5 / 6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-jump-link {
    transition: none;
  }

  .page-faq .faq-jump-link:hover {
    transform: none;
  }
}
