.page-faq {
  --faq-red: #C8102E;
  --faq-black: #0A0A0A;
  --faq-gray: #2A2A2A;
  --faq-silver: #B0B5B9;
  --faq-gold: #D6A85C;
  --faq-cream: #F5F5EF;
  --faq-glass: rgba(255, 255, 255, 0.06);
  --faq-border: rgba(176, 181, 185, 0.16);
  --faq-font-mono: 'Roboto Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  background: var(--faq-black);
  color: var(--faq-cream);
  min-height: 100vh;
  position: relative;
}

.page-faq .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-faq .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px 0;
  padding: 16px 0 0 0;
  font-family: var(--faq-font-mono);
  font-size: 12px;
  color: var(--faq-silver);
  border-bottom: 1px solid var(--faq-border);
}

.page-faq .breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-faq .breadcrumb li + li::before {
  content: "/";
  color: var(--faq-gold);
}

.page-faq .breadcrumb a {
  color: var(--faq-silver);
  text-decoration: none;
  transition: color 0.22s ease;
}

.page-faq .breadcrumb a:hover {
  color: var(--faq-cream);
}

.page-faq .breadcrumb a[aria-current="page"] {
  color: var(--faq-cream);
  font-weight: 700;
}

.page-faq .faq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: 40px 0 52px 0;
  border-bottom: 1px solid var(--faq-border);
  position: relative;
  margin-bottom: 8px;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--faq-red), var(--faq-red) 60%, transparent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%);
  opacity: 0.9;
}

.page-faq .faq-hero__index {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-faq .faq-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--faq-font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--faq-gold);
  text-transform: uppercase;
}

.page-faq .faq-hero__kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--faq-red);
  transform: skewX(-20deg);
}

.page-faq .faq-hero__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--faq-cream);
  max-width: 640px;
}

.page-faq .faq-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-faq .faq-hero__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--faq-silver);
  max-width: 640px;
}

.page-faq .faq-filter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
  padding: 16px 0 0 0;
  border-top: 1px dashed var(--faq-border);
}

.page-faq .faq-filter__label {
  font-family: var(--faq-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--faq-gold);
}

.page-faq .faq-filter__box {
  display: flex;
  align-items: center;
  border: 1px solid var(--faq-border);
  background: var(--faq-glass);
  transition: border-color 0.22s ease, background 0.22s ease;
}

.page-faq .faq-filter__box:focus-within {
  border-color: var(--faq-red);
  background: rgba(255, 255, 255, 0.08);
}

.page-faq .faq-filter__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--faq-cream);
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Noto Sans SC', 'PingFang SC', -apple-system, sans-serif;
}

.page-faq .faq-filter__input::placeholder {
  color: rgba(176, 181, 185, 0.6);
}

.page-faq .faq-filter__slash {
  padding: 0 16px;
  font-family: var(--faq-font-mono);
  color: var(--faq-red);
  font-size: 18px;
  font-weight: 700;
}

.page-faq .faq-filter__status {
  font-size: 13px;
  color: var(--faq-silver);
  min-height: 20px;
  margin: 0;
  font-family: var(--faq-font-mono);
}

.page-faq .faq-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: 48px 0 44px 0;
  border-bottom: 1px solid var(--faq-border);
}

.page-faq .faq-section__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  padding-left: 20px;
}

.page-faq .faq-section__head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 32px;
  background: var(--faq-red);
  transform: skewX(-20deg);
}

.page-faq .faq-section__title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--faq-cream);
}

.page-faq .faq-section__note {
  margin: 0;
  font-size: 13px;
  color: var(--faq-silver);
  font-family: var(--faq-font-mono);
  letter-spacing: 0.04em;
}

.page-faq .faq-section__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.page-faq .faq-section__body--full {
  display: block;
}

.page-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .faq-item {
  border: 1px solid var(--faq-border);
  background: var(--faq-gray);
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-faq .faq-item:hover {
  border-color: rgba(200, 16, 46, 0.45);
}

.page-faq .faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--faq-red);
  transform: skewX(-20deg) translateX(-1px);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.page-faq .faq-item:hover::before {
  opacity: 1;
}

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

.page-faq .faq-item__btn {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 16px 16px 16px 20px;
  cursor: pointer;
  text-align: left;
  color: var(--faq-cream);
  font-family: 'Noto Sans SC', 'PingFang SC', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.page-faq .faq-item__btn:hover {
  color: #ffffff;
}

.page-faq .faq-item__num {
  font-family: var(--faq-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--faq-gold);
  background: rgba(214, 168, 92, 0.1);
  padding: 4px 8px;
  border-left: 2px solid var(--faq-red);
  line-height: 1;
  flex-shrink: 0;
}

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

.page-faq .faq-item__icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--faq-silver);
  border-bottom: 2px solid var(--faq-silver);
  transform: rotate(45deg);
  margin-right: 8px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.page-faq .faq-item__btn[aria-expanded="true"] .faq-item__icon {
  transform: rotate(-135deg);
  border-color: var(--faq-red);
}

.page-faq .faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
  box-sizing: border-box;
  color: var(--faq-silver);
  font-size: 14px;
  line-height: 1.7;
}

.page-faq .faq-item__btn[aria-expanded="true"] + .faq-item__a {
  max-height: 600px;
  padding: 0 20px 20px 20px;
}

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

.page-faq .faq-item__a a {
  color: var(--faq-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 168, 92, 0.3);
  transition: border-color 0.2s ease;
}

.page-faq .faq-item__a a:hover {
  border-color: var(--faq-gold);
}

.page-faq .faq-item[data-filter-hidden="true"] {
  display: none;
}

.page-faq .faq-diagram {
  margin: 0;
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.page-faq .faq-diagram__frame {
  width: 100%;
  max-width: 460px;
  border: 1px solid var(--faq-border);
  background: linear-gradient(135deg, #141414 0%, #1e1e1e 100%);
  padding: 8px;
  position: relative;
  box-sizing: border-box;
}

.page-faq .faq-diagram__frame::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-right: 3px solid var(--faq-red);
  border-top: 3px solid var(--faq-red);
}

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

.page-faq .faq-diagram__cap {
  font-size: 12px;
  color: var(--faq-silver);
  line-height: 1.5;
  font-family: var(--faq-font-mono);
  max-width: 320px;
  align-self: center;
  border-left: 2px solid var(--faq-gold);
  padding-left: 12px;
}

.page-faq .faq-subcribe-card {
  margin: 8px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.page-faq .faq-subcribe-card__imgwrap {
  max-width: 400px;
  border: 1px solid var(--faq-border);
  background: linear-gradient(135deg, #141414 0%, #1e1e1e 100%);
  padding: 8px;
  box-sizing: border-box;
}

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

.page-faq .faq-subcribe-card__cap {
  font-size: 12px;
  color: var(--faq-silver);
  font-family: var(--faq-font-mono);
  line-height: 1.5;
  border-left: 2px solid var(--faq-red);
  padding-left: 12px;
}

.page-faq .faq-guide {
  margin-top: 32px;
  display: flex;
  align-items: stretch;
  max-width: 960px;
  border: 1px solid var(--faq-border);
  background: linear-gradient(90deg, rgba(200, 16, 46, 0.12), rgba(138, 0, 0, 0.05));
}

.page-faq .faq-guide__bar {
  width: 6px;
  flex-shrink: 0;
  background: var(--faq-red);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.page-faq .faq-guide__content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-faq .faq-guide__label {
  font-family: var(--faq-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--faq-gold);
}

.page-faq .faq-guide__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--faq-cream);
}

.page-faq .faq-guide__text strong {
  color: #ffffff;
}

.page-faq[data-filter-empty="true"] .faq-filter__status::after {
  content: "未找到匹配问题，请直接使用页面底部联系渠道反馈。";
  color: var(--faq-red);
}

@media (min-width: 768px) {
  .page-faq .container {
    padding: 0 32px;
  }

  .page-faq .faq-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 48px;
    padding: 56px 0 64px 0;
  }

  .page-faq .faq-hero::before {
    left: -32px;
  }

  .page-faq .faq-hero__title {
    font-size: 38px;
  }

  .page-faq .faq-hero__desc {
    font-size: 16px;
  }

  .page-faq .faq-section {
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 32px;
    padding: 56px 0 52px 0;
  }

  .page-faq .faq-section__head {
    padding-left: 24px;
  }

  .page-faq .faq-section__title {
    font-size: 24px;
  }

  .page-faq .faq-section__note {
    font-size: 13px;
  }

  .page-faq .faq-section__body {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .page-faq .faq-section__body--full {
    display: block;
  }

  .page-faq .faq-section__body--full .faq-list {
    max-width: 960px;
  }

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

  .page-faq .faq-diagram {
    width: 260px;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
  }

  .page-faq .faq-diagram__frame {
    max-width: 260px;
    width: 100%;
  }

  .page-faq .faq-subcribe-card {
    width: 260px;
    flex-shrink: 0;
  }

  .page-faq .faq-subcribe-card__imgwrap {
    max-width: 260px;
  }

  .page-faq .faq-item__btn {
    font-size: 15px;
    padding: 18px 20px 18px 24px;
  }

  .page-faq .faq-item__num {
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .page-faq .container {
    padding: 0 48px;
  }

  .page-faq .faq-hero {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
  }

  .page-faq .faq-hero::before {
    left: -48px;
  }

  .page-faq .faq-hero__title {
    font-size: 44px;
    max-width: 720px;
  }

  .page-faq .faq-hero__desc {
    font-size: 16px;
  }

  .page-faq .faq-section {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }
}
