.page-faq {
  --faq-red: #D4000E;
  --faq-ink: #1A1A2E;
  --faq-paper: #F5F5FA;
  --faq-white: #FFFFFF;
  background: var(--faq-paper);
  color: var(--faq-ink);
  overflow-x: hidden;
}

/* ===== 首屏 Hero ===== */
.faq-hero {
  position: relative;
  background: var(--faq-ink);
  color: var(--faq-white);
  padding: 30px 0 54px;
  overflow: hidden;
}
.faq-hero::before {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -18%;
  width: 52%;
  height: 74%;
  background: var(--faq-red);
  transform: rotate(-7deg);
  border-radius: 6px;
  opacity: 0.92;
}
.faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--banner-blue) 0 20%,
    var(--banner-white) 0 40%,
    var(--banner-red) 0 60%,
    var(--banner-green) 0 80%,
    var(--banner-yellow) 0 100%);
}
.faq-hero .breadcrumb {
  position: relative;
  z-index: 1;
}
.faq-hero .breadcrumb-link {
  color: var(--banner-blue);
}
.faq-hero [aria-current="page"] {
  color: var(--faq-white);
}
.faq-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  margin-top: 26px;
}
.faq-hero-main .kicker {
  color: var(--banner-yellow);
}
.faq-hero-main h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 7vw, 66px);
  line-height: 1.06;
  margin: 12px 0 18px;
  letter-spacing: -0.01em;
}
.faq-hero-lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34em;
  margin: 0 0 22px;
}
.faq-hero-em {
  font-style: normal;
  color: var(--banner-yellow);
  font-weight: 600;
}
.faq-hero-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.faq-hero-hint {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--faq-white);
  text-decoration: none;
  padding: 7px 14px;
  font-size: 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.faq-hero-hint:hover {
  background: var(--faq-red);
  border-color: var(--faq-red);
}
.faq-pinball {
  position: relative;
  height: 240px;
  border: 2px dashed rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.faq-pinball-rail {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18%;
  height: 64%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-10deg);
}
.faq-pinball-ball {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f5f5fa 34%, #c9c9cf 72%, #8f8f9e 100%);
  box-shadow: inset -4px -4px 8px rgba(0, 0, 0, 0.22), 0 8px 16px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  animation: faq-ball-bounce 2.8s ease-in-out infinite;
}
.faq-pinball-node {
  position: absolute;
  top: var(--node-y);
  left: var(--node-x);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--banner-yellow);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.22);
  transform: translate(-50%, -50%);
}
.faq-pinball-caption {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  text-align: right;
}
@keyframes faq-ball-bounce {
  0%, 100% {
    top: 20%;
    left: 14%;
  }
  18% {
    top: 72%;
    left: 30%;
  }
  38% {
    top: 24%;
    left: 46%;
  }
  58% {
    top: 70%;
    left: 64%;
  }
  78% {
    top: 30%;
    left: 80%;
  }
  90% {
    top: 72%;
    left: 88%;
  }
}

/* ===== 通用区块 ===== */
.faq-section {
  padding: clamp(44px, 8vw, 96px) 0;
  background: var(--faq-paper);
}
.faq-section + .faq-section {
  border-top: 1px solid var(--silver);
}
.faq-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}
.faq-section-title .kicker {
  margin-bottom: 8px;
}
.faq-section-title h2 {
  font-family: var(--font-head);
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.15;
  margin: 0;
}

/* ===== 折叠面板 ===== */
.faq-accordion {
  border-top: 2px solid var(--faq-ink);
}
.faq-q {
  background: var(--faq-white);
  border-bottom: 2px solid var(--faq-ink);
}
.faq-q summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
  min-height: 58px;
  padding: 15px 16px;
  cursor: pointer;
  transition: background 0.22s ease;
}
.faq-q summary::-webkit-details-marker {
  display: none;
}
.faq-q summary:hover {
  background: #f0f0f5;
}
.faq-q[open] summary {
  background: var(--faq-ink);
  color: var(--faq-white);
}
.faq-q-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--faq-red);
  border: 1px solid currentColor;
  border-radius: 2px;
  padding: 2px 6px;
  white-space: nowrap;
}
.faq-q[open] .faq-q-index {
  color: var(--banner-yellow);
  border-color: var(--banner-yellow);
}
.faq-q-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.faq-q-toggle {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  opacity: 0.8;
}
.faq-q[open] .faq-q-toggle {
  transform: rotate(225deg);
}
.faq-a {
  padding: 18px 16px 26px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--faq-ink);
  background: var(--faq-white);
  border-top: 1px solid var(--silver);
}
.faq-a p {
  margin-top: 0;
}
.faq-a p:last-child {
  margin-bottom: 0;
}
.faq-a ul {
  padding-left: 20px;
  margin: 8px 0 14px;
}

/* ===== 浏览器查找提示 ===== */
.faq-browser-hint {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--faq-white);
  border: 1px solid var(--silver);
  font-size: 14px;
  line-height: 1.6;
}
.faq-browser-hint-mark {
  color: var(--faq-red);
  font-size: 20px;
  line-height: 1;
}
.faq-browser-hint p {
  margin: 0;
}

/* ===== 查询技巧 ===== */
.faq-tips {
  background: var(--faq-paper);
}
.faq-tips-grid {
  display: grid;
  gap: 30px;
  align-items: start;
}
.faq-tips-guide h3 {
  font-family: var(--font-head);
  font-size: 24px;
  margin: 0 0 18px;
}
.faq-steps {
  margin: 0 0 24px;
  padding-left: 22px;
  display: grid;
  gap: 14px;
  font-size: 15px;
  line-height: 1.7;
}
.faq-steps li {
  padding-left: 2px;
}
.faq-steps strong {
  color: var(--faq-red);
}
.faq-tips-img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--faq-ink);
  box-shadow: 10px 10px 0 var(--faq-red);
  background: var(--faq-white);
}
.faq-tips-note {
  margin-top: 22px;
  padding: 13px 16px;
  background: var(--faq-white);
  border-left: 4px solid var(--banner-blue);
  font-size: 14px;
  line-height: 1.65;
}
.faq-accordion--compact .faq-q-text {
  font-size: 15px;
}
.faq-accordion--compact .faq-a {
  padding: 16px;
}

/* ===== 乒乓球更新时间导航 ===== */
.faq-timeline {
  background: var(--faq-white);
}
.faq-timeline .editorial-grid {
  align-items: start;
}
.faq-timeline .editorial-aside h2 {
  font-family: var(--font-head);
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.15;
  margin: 10px 0 14px;
}
.faq-timeline .editorial-aside > p {
  line-height: 1.7;
  font-size: 15px;
}
.faq-aside-list {
  margin: 18px 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.55;
}
.faq-award {
  margin: 22px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--silver);
  background: var(--faq-paper);
  font-size: 13px;
  line-height: 1.6;
}
.faq-award-mark {
  color: var(--banner-yellow);
  font-size: 16px;
}
.faq-timeline-doc {
  margin-top: 28px;
}
.faq-timeline-visual {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--faq-ink);
  box-shadow: 8px 8px 0 var(--faq-red);
  background: var(--faq-paper);
}
.faq-timeline-board {
  margin-top: 26px;
  border: 2px solid var(--faq-ink);
  background: var(--faq-paper);
  padding: 20px;
}
.faq-timeline-track {
  position: relative;
  height: 36px;
  border-bottom: 2px dashed var(--faq-ink);
}
.faq-timeline-node {
  position: absolute;
  top: 50%;
  left: var(--node-x);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--faq-red);
  box-shadow: 0 0 0 4px rgba(212, 0, 14, 0.18);
  transform: translate(-50%, -50%);
}
.faq-timeline-node--hot {
  background: var(--banner-yellow);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.24);
}
.faq-timeline-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.faq-timeline-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.faq-timeline-dot {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--faq-ink);
  color: var(--faq-white);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-timeline-item strong {
  display: block;
  color: var(--faq-red);
  font-size: 15px;
}
.faq-timeline-item p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--faq-ink);
}

/* ===== 账号与反馈 ===== */
.faq-account {
  background: var(--faq-paper);
}
.faq-account-grid {
  display: grid;
  gap: 26px;
  align-items: start;
}
.faq-contact-card {
  position: relative;
  overflow: hidden;
  background: var(--faq-white);
  border: 2px solid var(--faq-ink);
  box-shadow: 8px 8px 0 var(--faq-ink);
  padding: 26px;
}
.faq-contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--faq-red);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.faq-contact-card h3 {
  font-family: var(--font-head);
  font-size: 24px;
  margin: 0 0 8px;
  padding-right: 48px;
}
.faq-contact-lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
}
.faq-contact-dl {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0;
}
.faq-contact-dl dt {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--silver);
  margin: 0;
}
.faq-contact-dl dd {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  word-break: break-word;
}
.faq-contact-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--silver);
  border-top: 1px solid var(--silver);
  padding-top: 12px;
  margin: 0;
}
.faq-contact-privacy {
  display: inline-block;
  margin-top: 12px;
  color: var(--faq-red);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

/* ===== 底部帮助目录 ===== */
.faq-help-index {
  background: var(--faq-ink);
  color: var(--faq-white);
  padding: 56px 0;
}
.faq-help-index .kicker {
  color: var(--banner-yellow);
}
.faq-help-index-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  margin: 10px 0 14px;
}
.faq-help-index-inner > p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.86;
}
.faq-help-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.faq-help-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--faq-white);
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.faq-help-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--banner-yellow);
}
.faq-help-num {
  font-family: var(--font-mono);
  color: var(--banner-yellow);
}
.faq-help-note {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.78;
}
.faq-help-outline {
  margin-top: 20px;
  border-color: var(--faq-white);
  color: var(--faq-white);
}

/* ===== 响应式布局 ===== */
@media (min-width: 640px) {
  .faq-timeline-list {
    grid-template-columns: 1fr 1fr;
  }
  .faq-help-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 860px) {
  .faq-hero-grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    margin-top: 40px;
  }
  .faq-pinball {
    height: 260px;
  }
  .faq-section-head {
    margin-bottom: 40px;
  }
  .faq-tips-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  .faq-timeline .editorial-grid {
    grid-template-columns: 3fr 7fr;
    grid-gap: 40px;
  }
  .faq-timeline-doc {
    margin-top: 0;
  }
  .faq-account-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  }
}

.page-faq {
  --node-x: inherit;
  --node-y: inherit;
}
