.page-faq {
  --faq-bg: #eef0f7;
  color: var(--text-primary);
  background: var(--bg);
}
.page-faq .page-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 16px 64px;
}
.page-faq .breadcrumb {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  letter-spacing: .01em;
}
.page-faq .breadcrumb a {
  color: var(--nav-primary);
  text-decoration: none;
  font-weight: 600;
}
.page-faq .breadcrumb a:hover {
  text-decoration: underline;
}
.page-faq .crumb-sep {
  margin: 0 8px;
  color: var(--border);
}
.page-faq .crumb-current {
  color: var(--text-secondary);
  font-weight: 600;
}
.page-faq .page-head {
  margin-bottom: 40px;
}
.page-faq .page-kicker {
  display: inline-block;
  background: var(--accent);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.page-faq .page-title {
  font-size: clamp(26px, 4.4vw, 42px);
  line-height: 1.2;
  font-weight: 900;
  margin: 0 0 12px;
  color: var(--text-primary);
}
.page-faq .page-intro {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}
.page-faq .section {
  margin-bottom: 56px;
}
.page-faq .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 20px;
}
.page-faq .section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nav-primary);
  margin: 0 0 4px;
}
.page-faq .section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}
.page-faq .section-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--nav-primary);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.page-faq .section-note {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  opacity: .85;
}
.page-faq .faq-section {
  background: var(--faq-bg);
  border-radius: var(--radius);
  padding: 28px 20px;
}
.page-faq .faq-section .section-kicker {
  color: var(--nav-primary);
}
.page-faq .faq-list {
  margin-top: 4px;
}
.page-faq .faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.page-faq .faq-item[open] {
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}
.page-faq .faq-item summary::-webkit-details-marker {
  display: none;
}
.page-faq .faq-item summary::before {
  content: "问";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--nav-primary), var(--replay-start));
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-faq .faq-item[open] summary::before {
  content: "答";
  background: var(--status-live);
}
.page-faq .faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 22px;
  font-weight: 400;
  color: var(--nav-primary);
  transition: transform .2s ease;
}
.page-faq .faq-item[open] summary::after {
  transform: rotate(45deg);
}
.page-faq .faq-answer {
  padding: 0 20px 18px 56px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.page-faq .faq-item[open] .faq-answer {
  border-top: 1px solid #f0f1f6;
  padding-top: 14px;
}
.page-faq .faq-answer p {
  margin: 0;
}
.page-faq .faq-answer a {
  color: var(--nav-primary);
  font-weight: 600;
  text-decoration: none;
}
.page-faq .faq-answer a:hover {
  text-decoration: underline;
}
.page-faq .guide-section {
  background: var(--grad-live);
  border-radius: var(--radius);
  padding: 32px 20px;
  color: #fff;
}
.page-faq .guide-section .section-kicker {
  color: var(--accent);
}
.page-faq .guide-section .section-title {
  color: #fff;
}
.page-faq .guide-section .section-note {
  color: rgba(255, 255, 255, .85);
}
.page-faq .guide-grid {
  display: grid;
  gap: 20px;
}
.page-faq .guide-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26, 26, 46, .18);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.page-faq .guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(26, 26, 46, .22);
}
.page-faq .guide-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-faq .guide-visual {
  aspect-ratio: 400 / 250;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--nav-primary), var(--replay-end));
  color: #fff;
  padding: 24px 16px;
}
.page-faq .guide-visual--switch {
  background: linear-gradient(135deg, var(--nav-primary), var(--replay-end));
}
.page-faq .guide-visual--replay {
  background: var(--grad-replay);
}
.page-faq .guide-visual-text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.5;
  text-align: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px;
  padding: 12px 18px;
}
.page-faq .guide-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 4px;
}
.page-faq .guide-card-head h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
}
.page-faq .step-num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 900;
}
.page-faq .step-list {
  flex: 1;
  margin: 0;
  padding: 12px 20px 20px;
  list-style: none;
  counter-reset: guide-step;
}
.page-faq .step-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.page-faq .step-list li::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f0f1f6;
  color: var(--nav-primary);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-faq .compare-grid {
  display: grid;
  gap: 20px;
}
.page-faq .compare-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.page-faq .compare-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26, 26, 46, .1);
}
.page-faq .compare-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 14px 0 6px;
}
.page-faq .compare-card--quality {
  border-top: 5px solid var(--live-start);
}
.page-faq .compare-card--danmu {
  border-top: 5px solid var(--replay-start);
}
.page-faq .compare-card--cast {
  border-top: 5px solid var(--nav-primary);
}
.page-faq .compare-badge-area {
  height: 80px;
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
}
.page-faq .compare-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  text-transform: uppercase;
}
.page-faq .compare-badge--live {
  background: var(--grad-live);
}
.page-faq .compare-badge--violet {
  background: var(--grad-nav);
}
.page-faq .compare-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  overflow: hidden;
  background: #f0f1f6;
  margin-bottom: 14px;
}
.page-faq .compare-icon img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-faq .quality-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.page-faq .quality-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #f0f1f6;
  font-size: 14px;
  color: var(--text-secondary);
}
.page-faq .quality-list li:last-child {
  border-bottom: none;
}
.page-faq .quality-tag {
  display: inline-block;
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  margin-right: 10px;
}
.page-faq .quality-tag--sd {
  background: var(--status-live);
}
.page-faq .quality-tag--hd {
  background: var(--replay-start);
}
.page-faq .quality-tag--fhd {
  background: var(--nav-primary);
}
.page-faq .quality-tag--bd {
  background: var(--status-replay);
}
.page-faq .setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f1f6;
}
.page-faq .setting-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.page-faq .setting-value {
  font-size: 13px;
  text-align: right;
  color: var(--text-secondary);
  line-height: 1.5;
}
.page-faq .toggle-switch {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--status-live);
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.page-faq .toggle-dot {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(26, 26, 46, .25);
}
.page-faq .cast-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.page-faq .cast-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.page-faq .cast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad-replay);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}
.page-faq .cast-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  background: #f0f1f6;
  border-radius: 12px;
  padding: 12px 14px;
}
.page-faq .troubleshooting-section {
  background: var(--grad-nav);
  border-radius: var(--radius);
  padding: 32px 20px;
  color: #fff;
}
.page-faq .troubleshooting-section .section-kicker {
  color: var(--accent);
}
.page-faq .troubleshooting-section .section-title {
  color: #fff;
}
.page-faq .troubleshooting-section .section-note {
  color: rgba(255, 255, 255, .85);
}
.page-faq .trouble-list {
  margin-top: 6px;
}
.page-faq .trouble-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 16px;
  background: rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
  border-left: 4px solid rgba(255, 255, 255, .35);
}
.page-faq .trouble-col {
  font-size: 14px;
  line-height: 1.6;
}
.page-faq .trouble-symptom {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #fff;
}
.page-faq .trouble-cause {
  color: rgba(255, 255, 255, .75);
}
.page-faq .trouble-solve {
  color: #fff;
}
.page-faq .trouble-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  border-radius: 6px;
  padding: 2px 6px;
  margin-right: 8px;
}
.page-faq .trouble-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  flex: 0 0 10px;
}
.page-faq .trouble-dot--error {
  background: var(--status-error);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, .3);
}
.page-faq .trouble-dot--live {
  background: var(--status-live);
  box-shadow: 0 0 0 4px rgba(0, 184, 148, .3);
}
.page-faq .trouble-dot--replay {
  background: var(--status-replay);
  box-shadow: 0 0 0 4px rgba(255, 140, 66, .3);
}
.page-faq .trouble-footer {
  margin: 18px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .9);
}
.page-faq .trouble-footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
@media (min-width: 768px) {
  .page-faq .page-wrap {
    padding: 36px 32px 72px;
  }
  .page-faq .faq-section,
  .page-faq .guide-section,
  .page-faq .troubleshooting-section {
    padding: 40px 36px;
    border-radius: 28px;
  }
  .page-faq .guide-grid,
  .page-faq .compare-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-faq .trouble-row {
    grid-template-columns: 1.1fr 1fr 1.2fr;
    align-items: center;
  }
  .page-faq .trouble-label {
    display: none;
  }
}
@media (min-width: 1200px) {
  .page-faq .page-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (hover: hover) {
  .page-faq .faq-item:hover {
    border-color: #c9c9de;
  }
}
