/* ===== 方式体育 · 帮助中心 page-faq ===== */

.page-faq {
  --faq-hero-pad: calc(var(--header-h) + clamp(20px, 5vw, 48px));
}

.page-faq .faq-main .fs-chapter__title,
.page-faq .faq-contact .fs-chapter__title {
  color: var(--bg-card);
}

.page-faq .faq-main .fs-chapter__desc,
.page-faq .faq-contact .fs-chapter__desc {
  color: var(--steel);
}

.page-faq .faq-group,
.page-faq .faq-guides__grid,
.page-faq .faq-contact__layout {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- 首屏封面 ---------- */
.page-faq .faq-hero {
  position: relative;
  background:
    linear-gradient(115deg, transparent 0%, transparent 60%, rgba(255, 107, 53, 0.16) 60%, rgba(255, 107, 53, 0.08) 100%),
    var(--bg-deep);
  padding: var(--faq-hero-pad) 0 40px;
  overflow: hidden;
  border-bottom: 2px solid var(--nav-blue);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0, var(--accent) 24%, var(--accent-yellow) 24%, var(--accent-yellow) 38%, transparent 38%);
  z-index: 2;
}

.page-faq .faq-hero .fs-breadcrumb {
  color: var(--steel);
}

.page-faq .faq-hero .fs-breadcrumb a {
  color: var(--bg-card);
}

.page-faq .faq-hero .fs-breadcrumb a:hover {
  color: var(--accent-yellow);
}

.page-faq .faq-hero__bg {
  display: none;
  position: absolute;
  right: -18px;
  top: 88px;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-faq .faq-hero__main {
  display: grid;
  gap: 18px;
}

.page-faq .faq-hero__edition {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--steel);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.page-faq .faq-hero h1 {
  font-size: clamp(36px, 8.2vw, 64px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--bg-card);
  margin: 0;
  max-width: 9.5em;
}

.page-faq .faq-hero__lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--steel);
  max-width: 34em;
  margin: 0;
}

.page-faq .faq-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 14px;
  color: var(--accent-yellow);
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(46, 74, 125, 0.38);
}

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

.page-faq .faq-hero__index {
  padding: 22px 20px 16px;
  margin-right: 4px;
}

.page-faq .faq-hero__index-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.04em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.page-faq .faq-hero__index-sn {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.page-faq .faq-hero__index-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.page-faq .faq-hero__index-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  padding: 12px 2px;
  border-bottom: 1px dashed rgba(26, 26, 26, 0.2);
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.page-faq .faq-hero__index-list li a:hover {
  background: rgba(255, 107, 53, 0.12);
  padding-left: 10px;
}

.page-faq .faq-hero__index-list .fs-mono {
  font-size: 13px;
  color: var(--accent);
}

.page-faq .faq-hero__index-count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 1px 8px;
}

.page-faq .faq-hero__index-foot {
  margin: 14px 0 2px;
  font-size: 12px;
  color: var(--ink-muted);
  text-align: right;
  font-family: var(--font-mono);
}

/* ---------- FAQ 主体 ---------- */
.page-faq .faq-main {
  padding: clamp(24px, 5vw, 56px) 0;
}

.page-faq .faq-layout {
  display: grid;
  gap: 28px;
  align-items: start;
  margin-top: 22px;
}

.page-faq .faq-side-card {
  padding: 18px 18px 12px;
}

.page-faq .faq-side-card__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

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

.page-faq .faq-side-nav li a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed rgba(26, 26, 26, 0.22);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-side-nav li a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.page-faq .faq-side-nav .fs-mono {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

.page-faq .faq-side-card__note {
  margin: 14px 0 2px;
  font-size: 12px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
}

.page-faq .faq-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 4px;
  color: var(--bg-card);
  letter-spacing: 0.02em;
}

.page-faq .faq-group__title .fs-mono {
  font-size: 13px;
  color: var(--accent);
  background: rgba(255, 107, 53, 0.14);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.1em;
}

.page-faq .faq-group + .faq-group {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px dashed var(--nav-blue);
}

.page-faq .faq-item {
  margin-top: 14px;
  background: var(--bg-card);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.34);
}

.page-faq .faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
}

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

.page-faq .faq-item__question {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.page-faq .faq-item__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.page-faq .faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--red);
}

.page-faq .faq-item__body {
  padding: 0 18px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: #3A3A3A;
}

.page-faq .faq-item__body p {
  margin: 0 0 10px;
}

.page-faq .faq-item__body p:last-child {
  margin-bottom: 0;
}

.page-faq .faq-item__body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 帮助文档 ---------- */
.page-faq .faq-guides {
  background: var(--bg-card);
  color: var(--ink);
  border-top: 6px solid var(--nav-blue);
  padding: 40px 0;
  margin-top: 48px;
}

.page-faq .faq-guides .fs-chapter__num {
  color: var(--accent);
}

.page-faq .faq-guides .fs-chapter__title {
  color: var(--ink);
}

.page-faq .faq-guides .fs-chapter__desc {
  color: var(--ink-muted);
}

.page-faq .faq-guides__grid {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

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

.page-faq .faq-path__step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed rgba(26, 26, 26, 0.26);
}

.page-faq .faq-path__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 4px 4px 0 rgba(26, 26, 26, 0.22);
}

.page-faq .faq-path__title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ink);
}

.page-faq .faq-path__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0;
}

.page-faq .faq-guides__figure {
  margin: 0;
  border: 2px solid var(--nav-blue);
  box-shadow: 10px 10px 0 rgba(11, 27, 61, 0.18);
  background: var(--surface);
}

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

.page-faq .faq-guides__figure figcaption {
  padding: 10px 12px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--ink-muted);
  border-top: 2px solid var(--nav-blue);
  background: var(--bg-light);
}

/* ---------- 联系支持 ---------- */
.page-faq .faq-contact {
  background: var(--bg-deep);
  color: var(--bg-card);
  padding: 48px 0;
}

.page-faq .faq-contact .fs-chapter__num {
  color: var(--accent-yellow);
}

.page-faq .faq-contact__notice-line {
  margin-top: 20px;
  color: var(--steel);
  font-size: 13px;
}

.page-faq .faq-contact__notice-line a {
  color: var(--accent-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .faq-contact__layout {
  display: grid;
  gap: 26px;
  margin-top: 28px;
}

.page-faq .faq-contact__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-faq .faq-contact__card {
  padding: 18px 20px;
}

.page-faq .faq-contact__card-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent-yellow);
}

.page-faq .faq-contact__card-value {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  word-break: break-word;
}

.page-faq .faq-contact__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--accent-yellow);
  color: #1A1A1A;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.7;
  border-left: 6px solid var(--accent);
}

.page-faq .faq-contact__note .fs-mono {
  font-size: 22px;
  font-weight: 800;
  line-height: 0.9;
}

.page-faq .faq-contact__visual {
  margin: 0;
  border: 2px solid var(--nav-blue);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.32);
}

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

.page-faq .faq-contact__visual figcaption {
  padding: 10px 12px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--steel);
  background: rgba(46, 74, 125, 0.35);
  border-top: 2px solid var(--nav-blue);
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }

  .page-faq .faq-hero__bg {
    display: block;
  }

  .page-faq .faq-contact__cards {
    grid-template-columns: 1fr 1fr;
  }

  .page-faq .faq-contact__note {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .page-faq .faq-layout {
    grid-template-columns: 250px 1fr;
    gap: 36px;
  }

  .page-faq .faq-side-card {
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }

  .page-faq .faq-guides__grid {
    grid-template-columns: 1fr 440px;
    gap: 48px;
    align-items: center;
  }

  .page-faq .faq-contact__layout {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 36px;
    align-items: center;
  }
}
