.page-faq {
  --faq-line: rgba(33, 26, 23, 0.14);
  --faq-line-sky: rgba(159, 176, 200, 0.24);
  --faq-pad: clamp(24px, 4.4vw, 44px);
  overflow-x: hidden;
}

.page-faq [id] {
  scroll-margin-top: 110px;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--sg-sky);
  color: var(--sg-cream);
  padding: clamp(78px, 13vw, 140px) 0 clamp(46px, 7vw, 88px);
}

.page-faq .faq-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: -2;
}

.page-faq .faq-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 85% at 80% 6%, rgba(217, 164, 65, 0.3), transparent 58%),
    linear-gradient(180deg, rgba(11, 27, 58, 0.5) 0%, rgba(11, 27, 58, 0.92) 58%, #0b1b3a 100%);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sg-gold), transparent);
}

.page-faq .faq-hero__inner {
  position: relative;
}

.page-faq .faq-hero .sg-eyebrow {
  margin: clamp(22px, 3.4vw, 34px) 0 0;
  color: var(--sg-gold-bright);
}

.page-faq .faq-hero__title {
  margin: 14px 0 0;
  font-family: var(--sg-serif);
  font-weight: 900;
  font-size: clamp(34px, 6.2vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--sg-cream);
}

.page-faq .faq-hero__lead {
  margin: clamp(16px, 2.4vw, 26px) 0 0;
  max-width: 44ch;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.82;
  color: rgba(247, 241, 228, 0.82);
}

.page-faq .faq-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(26px, 4vw, 42px);
}

.page-faq .faq-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 15px;
  border: 1px solid var(--sg-glass-line);
  border-radius: 999px;
  background: var(--sg-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--sg-cream);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.3s var(--sg-ease), background 0.3s var(--sg-ease), transform 0.3s var(--sg-ease);
}

.page-faq .faq-chip span {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--sg-gold-bright);
}

.page-faq .faq-chip:hover,
.page-faq .faq-chip:focus-visible {
  border-color: var(--sg-gold);
  background: rgba(217, 164, 65, 0.18);
  transform: translateY(-2px);
}

/* ---------- 双栏服务台 ---------- */
.page-faq .faq-desk__head {
  display: grid;
  gap: 12px;
  max-width: 60ch;
}

.page-faq .faq-desk__head .sg-eyebrow {
  margin: 0;
  color: rgba(33, 26, 23, 0.55);
}

.page-faq .faq-desk__head h2 {
  margin: 0;
  font-family: var(--sg-serif);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--sg-ink);
}

.page-faq .faq-desk__head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(33, 26, 23, 0.72);
}

.page-faq .faq-desk__figure {
  margin: clamp(24px, 3.6vw, 38px) 0 clamp(28px, 4vw, 46px);
}

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

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

/* 左侧：深色技术面板 */
.page-faq .faq-adapt {
  position: relative;
  padding: var(--faq-pad);
  border-radius: var(--sg-radius);
  border: 1px solid var(--faq-line-sky);
  background:
    radial-gradient(120% 70% at 90% 0%, rgba(217, 164, 65, 0.16), transparent 62%),
    linear-gradient(180deg, #0b1b3a 0%, #142b55 100%);
  color: var(--sg-cream);
  box-shadow: 0 24px 52px rgba(11, 27, 58, 0.26);
}

.page-faq .faq-adapt .sg-eyebrow {
  margin: 0;
  color: var(--sg-gold-bright);
}

.page-faq .faq-adapt__title {
  margin: 10px 0 0;
  font-family: var(--sg-serif);
  font-weight: 800;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.26;
  color: var(--sg-cream);
}

.page-faq .faq-adapt__note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(247, 241, 228, 0.72);
}

.page-faq .faq-group {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--faq-line-sky);
}

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

.page-faq .faq-group__idx {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: var(--sg-gold);
}

.page-faq .faq-group__name {
  margin: 0;
  font-family: var(--sg-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--sg-cream);
}

.page-faq .faq-group__count {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--sg-mist);
  white-space: nowrap;
}

.page-faq .faq-checks {
  list-style: none;
  margin: 13px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-faq .faq-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(247, 241, 228, 0.86);
}

.page-faq .faq-check__dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.page-faq .faq-check__dot--ok {
  background: var(--sg-celadon);
  box-shadow: 0 0 0 3px rgba(111, 175, 154, 0.2);
}

.page-faq .faq-check__dot--warn {
  background: var(--sg-orange);
  box-shadow: 0 0 0 3px rgba(233, 112, 62, 0.18);
}

.page-faq .faq-check__dot--mid {
  background: var(--sg-mist);
  box-shadow: 0 0 0 3px rgba(159, 176, 200, 0.18);
}

.page-faq .faq-check .sg-tag {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 11px;
  padding: 2px 8px;
  line-height: 1.5;
}

/* 右侧：折叠问答 */
.page-faq .faq-rules__head .sg-eyebrow {
  margin: 0;
  color: rgba(33, 26, 23, 0.55);
}

.page-faq .faq-rules__title {
  margin: 10px 0 0;
  font-family: var(--sg-serif);
  font-weight: 800;
  font-size: clamp(23px, 2.8vw, 34px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--sg-ink);
}

.page-faq .faq-rules__note {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(33, 26, 23, 0.7);
}

.page-faq .faq-qa {
  margin-top: clamp(18px, 2.6vw, 26px);
  display: grid;
  gap: 10px;
}

.page-faq .faq-item {
  border: 1px solid var(--faq-line);
  border-radius: var(--sg-radius-sm);
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: border-color 0.3s var(--sg-ease), background 0.3s var(--sg-ease);
}

.page-faq .faq-item[open] {
  background: #fffdf8;
  border-color: rgba(217, 164, 65, 0.6);
}

.page-faq .faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.62;
  color: var(--sg-ink);
}

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

.page-faq .faq-item__num {
  flex: 0 0 auto;
  padding-top: 3px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--sg-gold);
}

.page-faq .faq-item__text {
  flex: 1 1 auto;
}

.page-faq .faq-item__sign {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.page-faq .faq-item__sign::before,
.page-faq .faq-item__sign::after {
  content: "";
  position: absolute;
  background: var(--sg-gold);
  border-radius: 2px;
  transition: transform 0.3s var(--sg-ease);
}

.page-faq .faq-item__sign::before {
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
}

.page-faq .faq-item__sign::after {
  left: 8px;
  top: 0;
  width: 2px;
  height: 18px;
}

.page-faq .faq-item[open] .faq-item__sign::after {
  transform: scaleY(0);
}

.page-faq .faq-item__a {
  padding: 0 16px 16px 41px;
  font-size: 14.5px;
  line-height: 1.88;
  color: rgba(33, 26, 23, 0.76);
}

.page-faq .faq-item__a p {
  margin: 0;
}

.page-faq .faq-item__a a {
  color: var(--sg-ink);
  text-decoration: underline;
  text-decoration-color: var(--sg-gold);
  text-underline-offset: 3px;
}

/* ---------- 入口说明 ---------- */
.page-faq .faq-entry {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #142b55 0%, #0b1b3a 62%);
  color: var(--sg-cream);
}

.page-faq .faq-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(159, 176, 200, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 176, 200, 0.1) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(72% 72% at 72% 44%, #000 18%, transparent 82%);
  mask-image: radial-gradient(72% 72% at 72% 44%, #000 18%, transparent 82%);
}

.page-faq .faq-entry__grid {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.page-faq .faq-entry .sg-eyebrow {
  margin: 0;
  color: var(--sg-gold-bright);
}

.page-faq .faq-entry__title {
  margin: 12px 0 0;
  font-family: var(--sg-serif);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--sg-cream);
}

.page-faq .faq-entry__text {
  margin: 14px 0 0;
  max-width: 42ch;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(247, 241, 228, 0.78);
}

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

.page-faq .faq-step {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--faq-line-sky);
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(247, 241, 228, 0.86);
}

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

.page-faq .faq-step__n {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--sg-gold);
}

.page-faq .faq-entry__btn {
  margin-top: clamp(20px, 3vw, 28px);
  color: var(--sg-cream);
  border-color: rgba(247, 241, 228, 0.38);
}

.page-faq .faq-entry__btn:hover,
.page-faq .faq-entry__btn:focus-visible {
  border-color: var(--sg-gold);
  color: var(--sg-gold-bright);
}

/* 手机示意 */
.page-faq .faq-entry__demo {
  display: flex;
  justify-content: center;
}

.page-faq .faq-phone {
  width: min(280px, 76%);
  padding: 12px;
  border-radius: 30px;
  border: 1.5px solid rgba(217, 164, 65, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.36);
}

.page-faq .faq-phone__screen {
  border-radius: 20px;
  padding: 12px 10px 18px;
  background: rgba(11, 27, 58, 0.72);
  border: 1px solid var(--faq-line-sky);
}

.page-faq .faq-phone__top {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--faq-line-sky);
}

.page-faq .faq-phone__cell {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sg-mist);
  background: rgba(159, 176, 200, 0.14);
}

.page-faq .faq-phone__cell--live {
  position: relative;
  background: var(--sg-orange);
  color: #fff5ec;
  font-weight: 700;
}

.page-faq .faq-phone__cell--live::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 1px solid rgba(233, 112, 62, 0.55);
  animation: faqPulse 2.8s ease-out infinite;
}

@keyframes faqPulse {
  0% {
    opacity: 0.9;
    transform: scale(0.94);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

.page-faq .faq-phone__body {
  margin-top: 16px;
}

.page-faq .faq-phone__body span {
  display: block;
  height: 10px;
  margin-bottom: 11px;
  border-radius: 5px;
  background: rgba(159, 176, 200, 0.16);
}

.page-faq .faq-phone__body span:nth-child(1) {
  width: 76%;
}

.page-faq .faq-phone__body span:nth-child(2) {
  width: 94%;
}

.page-faq .faq-phone__body span:nth-child(3) {
  width: 58%;
}

.page-faq .faq-phone__body span:nth-child(4) {
  width: 84%;
  margin-bottom: 0;
}

.page-faq .faq-phone__cap {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--sg-gold-bright);
}

/* ---------- 归档刻度 ---------- */
.page-faq .faq-archive {
  background: var(--sg-cream);
}

.page-faq .faq-archive__head {
  max-width: 56ch;
}

.page-faq .faq-archive__head .sg-eyebrow {
  margin: 0;
  color: rgba(33, 26, 23, 0.55);
}

.page-faq .faq-archive__title {
  margin: 10px 0 0;
  font-family: var(--sg-serif);
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--sg-ink);
}

.page-faq .faq-archive__text {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(33, 26, 23, 0.72);
}

.page-faq .faq-scale {
  display: flex;
  list-style: none;
  margin: clamp(22px, 3.4vw, 34px) 0 0;
  padding: 0;
  overflow-x: auto;
  border-top: 1px solid var(--faq-line);
  -webkit-overflow-scrolling: touch;
}

.page-faq .faq-scale__item {
  position: relative;
  flex: 1 0 auto;
  min-width: 118px;
  padding: 20px 14px 22px;
  border-right: 1px dashed var(--faq-line);
}

.page-faq .faq-scale__item:last-child {
  border-right: 0;
}

.page-faq .faq-scale__item::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sg-mist);
}

.page-faq .faq-scale__item--live::before {
  background: var(--sg-orange);
  box-shadow: 0 0 0 4px rgba(233, 112, 62, 0.16);
}

.page-faq .faq-scale__link {
  display: block;
  font-family: var(--sg-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--sg-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s var(--sg-ease), color 0.3s var(--sg-ease);
}

.page-faq .faq-scale__link:hover,
.page-faq .faq-scale__link:focus-visible {
  color: var(--sg-orange);
  border-bottom-color: var(--sg-orange);
}

.page-faq .faq-scale__hint {
  display: block;
  margin-top: 6px;
  font-family: var(--sg-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(33, 26, 23, 0.5);
}

.page-faq .faq-scale__label {
  display: block;
  font-family: var(--sg-serif);
  font-size: 17px;
  font-weight: 700;
  color: rgba(33, 26, 23, 0.42);
}

.page-faq .faq-archive__foot {
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(33, 26, 23, 0.58);
}

/* ---------- 人工支持 ---------- */
.page-faq .faq-help {
  padding: clamp(44px, 6.4vw, 88px) 0;
  background: linear-gradient(180deg, #0b1b3a 0%, #142b55 100%);
}

.page-faq .faq-help__panel {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: calc(var(--sg-radius) + 4px);
  border: 1px solid rgba(217, 164, 65, 0.32);
  background:
    radial-gradient(120% 140% at 6% 0%, rgba(233, 112, 62, 0.26), transparent 56%),
    var(--sg-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--sg-cream);
}

.page-faq .faq-help .sg-eyebrow {
  margin: 0;
  color: var(--sg-gold-bright);
}

.page-faq .faq-help__title {
  margin: 12px 0 0;
  font-family: var(--sg-serif);
  font-weight: 800;
  font-size: clamp(23px, 3vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--sg-cream);
}

.page-faq .faq-help__text {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(247, 241, 228, 0.8);
}

.page-faq .faq-help__note {
  margin: 12px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--sg-orange);
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(247, 241, 228, 0.7);
}

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

.page-faq .faq-help__item {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--faq-line-sky);
}

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

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

.page-faq .faq-help__key {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--sg-mist);
}

.page-faq .faq-help__val {
  font-size: 15px;
  line-height: 1.7;
  color: var(--sg-cream);
  word-break: break-word;
}

.page-faq .faq-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-faq .faq-help__ghost {
  color: var(--sg-cream);
  border-color: rgba(247, 241, 228, 0.38);
}

.page-faq .faq-help__ghost:hover,
.page-faq .faq-help__ghost:focus-visible {
  border-color: var(--sg-gold);
  color: var(--sg-gold-bright);
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-faq .faq-adapt,
  .page-faq .faq-rules {
    padding: var(--faq-pad);
  }

  .page-faq .faq-rules {
    padding-top: 0;
  }
}

@media (min-width: 940px) {
  .page-faq .faq-desk__grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(28px, 3.6vw, 46px);
  }

  .page-faq .faq-rules {
    position: sticky;
    top: 104px;
    align-self: start;
    padding-top: 0;
  }
}

@media (min-width: 860px) {
  .page-faq .faq-entry__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@media (min-width: 880px) {
  .page-faq .faq-help__panel {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: start;
  }

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

@media (max-width: 759px) {
  .page-faq .faq-adapt,
  .page-faq .faq-rules {
    padding: 0;
  }

  .page-faq .faq-adapt {
    padding: var(--faq-pad);
  }

  .page-faq .faq-item__a {
    padding-left: 16px;
  }

  .page-faq .faq-check {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .page-faq .faq-check .sg-tag {
    margin-left: 16px;
  }
}

@media (max-width: 420px) {
  .page-faq .faq-hero__tags {
    gap: 8px;
  }

  .page-faq .faq-chip {
    font-size: 13px;
    padding: 10px 14px 10px 12px;
  }

  .page-faq .faq-scale__item {
    min-width: 104px;
    padding: 18px 10px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-phone__cell--live::after {
    animation: none;
  }

  .page-faq .faq-chip,
  .page-faq .faq-item,
  .page-faq .faq-item__sign::before,
  .page-faq .faq-item__sign::after,
  .page-faq .faq-scale__link {
    transition: none;
  }

  .page-faq .faq-chip:hover,
  .page-faq .faq-chip:focus-visible {
    transform: none;
  }
}
