.page-faq {
  --faq-rail: 264px;
  --faq-gap: clamp(24px, 4vw, 48px);
  background: var(--yx-deep);
  color: var(--yx-read);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  padding-top: clamp(104px, 15vw, 150px);
  padding-bottom: clamp(44px, 6vw, 76px);
  background:
    radial-gradient(120% 80% at 80% 8%, rgba(53, 227, 212, .14), transparent 58%),
    radial-gradient(90% 70% at 4% 96%, rgba(255, 122, 41, .10), transparent 62%),
    var(--yx-deep);
  border-bottom: 1px solid var(--yx-line-soft);
}

.page-faq .faq-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--faq-gap);
  align-items: center;
}

.page-faq .faq-hero__crumbs {
  margin-bottom: clamp(18px, 3vw, 26px);
}

.page-faq .faq-hero__title {
  margin: 12px 0 18px;
  max-width: 20ch;
}

.page-faq .faq-hero__lede {
  max-width: 58ch;
  margin: 0;
}

.page-faq .faq-hero__search {
  margin-top: clamp(24px, 3.5vw, 34px);
}

.page-faq .faq-hero__searchlabel {
  display: block;
  margin-bottom: 10px;
  font-family: var(--yx-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--yx-slate);
}

.page-faq .faq-hero__input {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-pill);
  background: rgba(20, 41, 74, .72);
  color: var(--yx-read);
  font-family: var(--yx-font-body);
  font-size: 16px;
  line-height: 1.5;
  appearance: none;
  transition: border-color .2s ease, background .2s ease;
}

.page-faq .faq-hero__input::placeholder {
  color: var(--yx-slate);
}

.page-faq .faq-hero__input:focus-visible {
  outline: 2px solid var(--yx-cyan);
  outline-offset: 2px;
  border-color: var(--yx-cyan);
  background: rgba(20, 41, 74, .92);
}

.page-faq .faq-hero__searchhint {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--yx-slate);
}

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

.page-faq .faq-hero__quick a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-pill);
  color: var(--yx-read);
  font-size: 14px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.page-faq .faq-hero__quick a:hover,
.page-faq .faq-hero__quick a:focus-visible {
  background: var(--yx-cyan-soft);
  border-color: var(--yx-cyan);
  color: var(--yx-white);
  transform: translateY(-2px);
}

.page-faq .faq-hero__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-lg);
  overflow: hidden;
  background: var(--yx-layer);
  box-shadow: var(--yx-shadow-lift);
}

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

.page-faq .faq-hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(11, 27, 51, 0), rgba(11, 27, 51, .88));
  font-size: 13px;
  line-height: 1.6;
  color: var(--yx-read);
}

/* ---------- 热门问题 ---------- */
.page-faq .faq-hot {
  padding: clamp(48px, 7vw, 84px) 0;
  background: var(--yx-layer);
  border-bottom: 1px solid var(--yx-line-soft);
}

.page-faq .faq-hot__head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 3.5vw, 38px);
}

.page-faq .faq-hot__head .yx-title {
  margin: 10px 0 14px;
}

.page-faq .faq-hot__lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--yx-read);
}

.page-faq .faq-hot__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: faqhot;
}

.page-faq .faq-hot__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: clamp(20px, 2.6vw, 26px);
  border: 1px solid var(--yx-line-soft);
  border-radius: var(--yx-r-md);
  background: rgba(11, 27, 51, .58);
  transition: transform .2s ease, border-color .2s ease;
}

.page-faq .faq-hot__item:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 227, 212, .42);
}

.page-faq .faq-hot__num {
  padding-top: 3px;
  font-family: var(--yx-font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--yx-cyan);
}

.page-faq .faq-hot__body h3 {
  margin: 0 0 8px;
  font-family: var(--yx-font-display);
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--yx-white);
}

.page-faq .faq-hot__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--yx-read);
}

/* ---------- 分类索引 ---------- */
.page-faq .faq-index {
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--yx-deep);
}

.page-faq .faq-index__head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.page-faq .faq-index__head .yx-title {
  margin: 10px 0 14px;
}

.page-faq .faq-index__lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--yx-read);
}

.page-faq .faq-index__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.5vw, 44px);
}

.page-faq .faq-index__navlist {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 4px 2px 10px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.page-faq .faq-index__navlist > li {
  flex: 0 0 auto;
}

.page-faq .faq-index__navlink {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--yx-line-soft);
  border-radius: var(--yx-pill);
  background: rgba(20, 41, 74, .55);
  color: var(--yx-read);
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.page-faq .faq-index__navlink::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 58%;
  border-radius: var(--yx-pill);
  background: var(--yx-cyan);
  transform: translateY(-50%) scaleY(0);
  transition: transform .22s ease;
}

.page-faq .faq-index__navlink:hover,
.page-faq .faq-index__navlink:focus-visible {
  color: var(--yx-white);
  border-color: rgba(53, 227, 212, .5);
  background: var(--yx-cyan-soft);
}

.page-faq .faq-index__navlink:hover::before,
.page-faq .faq-index__navlink:focus-visible::before {
  transform: translateY(-50%) scaleY(1);
}

.page-faq .faq-index__count {
  padding: 2px 9px;
  border-radius: var(--yx-pill);
  background: rgba(122, 135, 152, .14);
  font-family: var(--yx-font-mono);
  font-size: 12px;
  color: var(--yx-slate);
}

.page-faq .faq-index__body {
  min-width: 0;
}

.page-faq .faq-group {
  padding-top: clamp(24px, 3.5vw, 36px);
  scroll-margin-top: calc(var(--yx-header-h) + 28px);
}

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

.page-faq .faq-group__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 6px;
  font-family: var(--yx-font-display);
  font-size: clamp(21px, 2.8vw, 28px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--yx-white);
}

.page-faq .faq-group__title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(53, 227, 212, .5), rgba(53, 227, 212, 0));
}

.page-faq .faq-q {
  border-bottom: 1px solid var(--yx-line-soft);
}

.page-faq .faq-q__summary {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--yx-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--yx-read);
  transition: color .2s ease;
}

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

.page-faq .faq-q__summary:hover,
.page-faq .faq-q__summary:focus-visible,
.page-faq .faq-q[open] .faq-q__summary {
  color: var(--yx-cyan);
}

.page-faq .faq-q__q {
  flex: 1 1 auto;
  min-width: 0;
}

.page-faq .faq-q__icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 6px;
}

.page-faq .faq-q__icon::before,
.page-faq .faq-q__icon::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: var(--yx-cyan);
  transition: transform .22s ease, opacity .22s ease;
}

.page-faq .faq-q__icon::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.page-faq .faq-q__icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.page-faq .faq-q[open] .faq-q__icon::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.page-faq .faq-q__answer {
  padding: 0 4px 22px;
  max-width: 66ch;
}

.page-faq .faq-q__answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--yx-read);
}

.page-faq .faq-q__answer a {
  color: var(--yx-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 自助排查 ---------- */
.page-faq .faq-check {
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--yx-layer);
  border-top: 1px solid var(--yx-line-soft);
  border-bottom: 1px solid var(--yx-line-soft);
}

.page-faq .faq-check__head {
  max-width: 62ch;
  margin-bottom: clamp(24px, 3.5vw, 38px);
}

.page-faq .faq-check__head .yx-title {
  margin: 10px 0 14px;
}

.page-faq .faq-check__lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--yx-read);
}

.page-faq .faq-check__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 30px);
}

.page-faq .faq-check__col {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--yx-line-soft);
  border-radius: var(--yx-r-md);
  background: rgba(11, 27, 51, .5);
}

.page-faq .faq-check__colhead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--yx-line);
}

.page-faq .faq-check__colhead h3 {
  margin: 0;
  font-family: var(--yx-font-display);
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--yx-white);
}

.page-faq .faq-check__badge {
  padding: 4px 11px;
  border-radius: var(--yx-pill);
  background: var(--yx-cyan-soft);
  font-family: var(--yx-font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--yx-cyan);
}

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

.page-faq .faq-check__item {
  position: relative;
  padding-left: 20px;
}

.page-faq .faq-check__item + .faq-check__item::after {
  content: "";
  position: absolute;
  left: 10px;
  top: -8px;
  height: 14px;
  border-left: 1px dashed rgba(122, 135, 152, .34);
}

.page-faq .faq-check__label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.75;
  color: var(--yx-read);
  transition: color .2s ease;
}

.page-faq .faq-check__label:hover {
  color: var(--yx-white);
}

.page-faq .faq-check__box {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  border: 1.5px dashed var(--yx-slate);
  border-radius: 50%;
  background: transparent;
  appearance: none;
  cursor: pointer;
  transition: border-color .2s ease, border-style .2s ease, background .2s ease;
}

.page-faq .faq-check__box:checked {
  border-style: solid;
  border-color: var(--yx-cyan);
  background: var(--yx-cyan-soft);
}

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

.page-faq .faq-check__text {
  min-width: 0;
}

/* ---------- 账号与跨端 ---------- */
.page-faq .faq-sync {
  padding: clamp(48px, 7vw, 90px) 0;
  background:
    radial-gradient(90% 70% at 12% 10%, rgba(53, 227, 212, .09), transparent 60%),
    var(--yx-deep);
}

.page-faq .faq-sync__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--faq-gap);
  align-items: center;
}

.page-faq .faq-sync__text .yx-title {
  margin: 10px 0 16px;
  max-width: 22ch;
}

.page-faq .faq-sync__lede {
  margin: 0 0 26px;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--yx-read);
}

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

.page-faq .faq-sync__list li {
  position: relative;
  padding-left: 22px;
}

.page-faq .faq-sync__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--yx-cyan);
}

.page-faq .faq-sync__list h3 {
  margin: 0 0 6px;
  font-family: var(--yx-font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--yx-white);
}

.page-faq .faq-sync__list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--yx-read);
}

.page-faq .faq-sync__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--yx-line);
  border-radius: var(--yx-r-lg);
  overflow: hidden;
  background: var(--yx-layer);
}

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

.page-faq .faq-sync__caption {
  padding: 14px 20px;
  border-top: 1px solid var(--yx-line-soft);
  font-size: 13px;
  line-height: 1.6;
  color: var(--yx-slate);
  background: rgba(11, 27, 51, .6);
}

/* ---------- 人工客服 ---------- */
.page-faq .faq-help {
  padding: clamp(40px, 6vw, 78px) 0 clamp(56px, 8vw, 100px);
  background: var(--yx-deep);
}

.page-faq .faq-help__card {
  padding: clamp(24px, 4vw, 46px);
  border-radius: var(--yx-r-lg);
}

.page-faq .faq-help__eyebrow {
  margin: 0;
}

.page-faq .faq-help__title {
  margin: 10px 0 16px;
  max-width: 24ch;
}

.page-faq .faq-help__lede {
  margin: 0 0 28px;
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.85;
}

.page-faq .faq-help__channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 28px;
  margin: 0 0 28px;
  padding: 0;
}

.page-faq .faq-help__channel {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(11, 27, 51, .14);
}

.page-faq .faq-help__channel dt {
  margin-bottom: 6px;
  font-family: var(--yx-font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(11, 27, 51, .56);
}

.page-faq .faq-help__channel dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--yx-deep);
  word-break: break-word;
}

.page-faq .faq-help__channel dd a {
  color: var(--yx-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .faq-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.page-faq .faq-help__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(11, 27, 51, .68);
}

.page-faq .faq-help__note a {
  color: var(--yx-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-faq .faq-hot__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-faq .faq-check__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-faq .faq-help__channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: 1.06fr .94fr;
  }

  .page-faq .faq-index__split {
    grid-template-columns: var(--faq-rail) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
  }

  .page-faq .faq-index__nav {
    position: sticky;
    top: calc(var(--yx-header-h) + 20px);
    align-self: start;
  }

  .page-faq .faq-index__navlist {
    flex-direction: column;
    overflow: visible;
    padding: 0;
  }

  .page-faq .faq-index__navlist > li {
    width: 100%;
  }

  .page-faq .faq-index__navlink {
    width: 100%;
    justify-content: space-between;
  }

  .page-faq .faq-sync__split {
    grid-template-columns: .96fr 1.04fr;
  }
}

@media (min-width: 1120px) {
  .page-faq {
    --faq-rail: 288px;
  }

  .page-faq .faq-help__channels {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-hot__item,
  .page-faq .faq-hero__quick a,
  .page-faq .faq-index__navlink,
  .page-faq .faq-q__icon::before,
  .page-faq .faq-q__icon::after {
    transition: none;
  }

  .page-faq .faq-hot__item:hover,
  .page-faq .faq-hero__quick a:hover {
    transform: none;
  }
}
