.page-faq {
  --faq-r: 22px;
  --faq-sec-gap: clamp(44px, 7vw, 88px);
  padding-bottom: clamp(48px, 8vw, 96px);
  color: var(--white);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(18px, 3.4vw, 40px) 0 clamp(26px, 4.6vw, 54px);
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -14%;
  width: 70%;
  height: 168%;
  background: linear-gradient(158deg, rgba(124, 77, 255, .28) 0%, rgba(34, 211, 238, .1) 46%, rgba(6, 8, 18, 0) 78%);
  transform: rotate(8deg);
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .5), rgba(124, 77, 255, .35), transparent);
}

.page-faq .faq-hero__inner {
  display: grid;
  gap: clamp(22px, 3.4vw, 40px);
  align-items: center;
}

@media (min-width: 900px) {
  .page-faq .faq-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }
}

.page-faq .faq-hero__crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(14px, 2vw, 22px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-faq .faq-hero__crumbs a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.page-faq .faq-hero__crumbs a:hover,
.page-faq .faq-hero__crumbs a:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
  outline: none;
}

.page-faq .faq-hero__crumbs [aria-current="page"] {
  color: var(--white);
}

.page-faq .faq-hero__title {
  margin: 0 0 clamp(16px, 2.4vw, 26px);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 6.4vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-faq .faq-hero__lede {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.78;
  color: var(--muted);
}

.page-faq .faq-hero__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-800);
  box-shadow: var(--shadow-panel);
  transform: rotate(-1.2deg);
}

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

/* ---------- 章节通用 ---------- */
.page-faq .faq-sec {
  padding-top: var(--faq-sec-gap);
  scroll-margin-top: calc(var(--bar-h) + 28px);
}

.page-faq .faq-head {
  position: relative;
  max-width: 74ch;
  padding-left: clamp(14px, 2vw, 22px);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-faq .faq-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 4px;
  height: 2.7em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--neon), var(--cyan));
}

.page-faq .faq-head__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-faq .faq-head__title {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-faq .faq-head__note {
  margin: 0;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 分类卡片 ---------- */
.page-faq .faq-cats {
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 224px), 1fr));
}

.page-faq .faq-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--faq-r);
  background: linear-gradient(160deg, rgba(18, 20, 58, .9), rgba(6, 8, 18, .62));
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.page-faq .faq-cat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.page-faq .faq-cat:hover,
.page-faq .faq-cat:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-panel);
  outline: none;
}

.page-faq .faq-cat:hover::after,
.page-faq .faq-cat:focus-visible::after {
  transform: scaleX(1);
}

.page-faq .faq-cat__n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--lilac);
}

.page-faq .faq-cat__t {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  letter-spacing: -.01em;
  color: var(--white);
}

.page-faq .faq-cat__d {
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-faq .faq-cat__go {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--cyan);
}

/* ---------- 吸顶分类胶囊 ---------- */
.page-faq .faq-caps {
  position: sticky;
  top: var(--bar-h);
  z-index: 6;
  display: flex;
  gap: 8px;
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding: 10px 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, rgba(6, 8, 18, .94) 58%, rgba(6, 8, 18, 0));
  backdrop-filter: blur(6px);
}

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

.page-faq .faq-caps a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(18, 20, 58, .72);
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.page-faq .faq-caps a:hover,
.page-faq .faq-caps a:focus-visible {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, .12);
  color: var(--white);
  outline: none;
}

/* ---------- 折叠问答 ---------- */
.page-faq .faq-qs {
  display: grid;
  gap: clamp(10px, 1.4vw, 14px);
}

.page-faq .faq-qs--after {
  margin-top: clamp(20px, 3vw, 34px);
}

.page-faq .faq-q {
  border: 1px solid var(--line);
  border-radius: var(--faq-r);
  background: rgba(18, 20, 58, .55);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}

.page-faq .faq-q:hover {
  border-color: rgba(199, 210, 224, .34);
}

.page-faq .faq-q[open] {
  border-color: rgba(34, 211, 238, .45);
  background: rgba(18, 20, 58, .86);
}

.page-faq .faq-q__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(15px, 2vw, 20px) clamp(16px, 2.2vw, 24px);
  cursor: pointer;
  list-style: none;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--white);
}

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

.page-faq .faq-q__q:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-faq .faq-q__icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 1px solid rgba(199, 210, 224, .4);
  border-radius: 6px;
  transition: border-color .2s ease, transform .22s ease;
}

.page-faq .faq-q__icon::before,
.page-faq .faq-q__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 1.5px;
  background: var(--silver);
  transform: translate(-50%, -50%);
  transition: transform .22s ease, background .22s ease;
}

.page-faq .faq-q__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-faq .faq-q[open] .faq-q__icon {
  border-color: var(--cyan);
}

.page-faq .faq-q[open] .faq-q__icon::before,
.page-faq .faq-q[open] .faq-q__icon::after {
  background: var(--cyan);
}

.page-faq .faq-q[open] .faq-q__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.page-faq .faq-q__body {
  padding: 0 clamp(16px, 2.2vw, 24px) clamp(16px, 2vw, 22px);
}

.page-faq .faq-q__body p {
  margin: 0;
  max-width: 78ch;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.82;
  color: var(--muted);
}

/* ---------- 进入信息与赛程 ---------- */
.page-faq .faq-entry {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
}

@media (min-width: 860px) {
  .page-faq .faq-entry {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
  }
}

.page-faq .faq-entry__lead {
  margin: 0 0 16px;
  max-width: 68ch;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.82;
  color: var(--silver);
}

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

.page-faq .faq-stats {
  list-style: none;
  margin: 0;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--faq-r);
  background: linear-gradient(150deg, rgba(11, 59, 60, .6), rgba(6, 8, 18, .78));
}

.page-faq .faq-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.page-faq .faq-stat:first-child {
  padding-top: 0;
}

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

.page-faq .faq-stat__k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}

.page-faq .faq-stat__v {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  text-align: right;
  color: var(--cyan);
}

.page-faq .faq-stat--wide {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.page-faq .faq-stat--wide .faq-stat__v {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.72;
  font-weight: 500;
  text-align: left;
  color: var(--white);
  white-space: normal;
}

/* ---------- 下载与安装 ---------- */
.page-faq .faq-dl {
  display: grid;
  gap: clamp(18px, 2.6vw, 32px);
}

@media (min-width: 880px) {
  .page-faq .faq-dl {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    align-items: start;
  }
}

.page-faq .faq-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(12px, 1.8vw, 18px);
}

.page-faq .faq-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: clamp(15px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--faq-r);
  background: rgba(18, 20, 58, .55);
  transition: border-color .2s ease, transform .2s ease;
}

.page-faq .faq-step:hover {
  border-color: rgba(34, 211, 238, .4);
  transform: translateX(3px);
}

.page-faq .faq-step__n {
  align-self: start;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--cyan);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.page-faq .faq-step__t {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(15px, 1.25vw, 18px);
  letter-spacing: -.01em;
  color: var(--white);
}

.page-faq .faq-step__d {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-faq .faq-dl__media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--faq-r);
  overflow: hidden;
  background: var(--ink-800);
  box-shadow: var(--shadow-panel);
}

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

/* ---------- 问题反馈 ---------- */
.page-faq .faq-fb {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(58, 16, 36, .62), rgba(18, 20, 58, .72) 55%, rgba(6, 8, 18, .86));
}

.page-faq .faq-fb::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 56%;
  height: 180%;
  background: linear-gradient(160deg, rgba(255, 122, 26, .16), rgba(255, 122, 26, 0) 62%);
  transform: rotate(10deg);
  pointer-events: none;
}

.page-faq .faq-fb > * {
  position: relative;
  z-index: 1;
}

.page-faq .faq-fb__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: -.01em;
  color: var(--white);
}

.page-faq .faq-fb__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

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

.page-faq .faq-fb__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--silver);
}

.page-faq .faq-fb__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--orange);
  transform: rotate(45deg);
}

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

.page-faq .contact-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(6, 8, 18, .62);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.page-faq .contact-chip:hover,
.page-faq .contact-chip:focus-visible {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, .12);
  transform: translateY(-2px);
  outline: none;
}

.page-faq .contact-chip__key {
  color: var(--muted);
  letter-spacing: .08em;
}

.page-faq .contact-chip__val {
  color: var(--white);
}

.page-faq .faq-fb__links {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.page-faq .faq-fb__links a {
  color: var(--lilac);
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 162, 255, .4);
  transition: color .2s ease, border-color .2s ease;
}

.page-faq .faq-fb__links a:hover,
.page-faq .faq-fb__links a:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
  outline: none;
}

/* ---------- 无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-faq *,
  .page-faq *::before,
  .page-faq *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
