.page-faq {
  --faq-step-bg: #FFE600;
  --faq-step-circle: #1A3C34;
  --faq-compare-old: #D0407E;
  --faq-compare-new: #3AA6DD;
  --faq-tag-cloud-bg: #F5F0E8;
  --faq-magnet-rose: #D0407E;
  --faq-font-extra: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, Arial, sans-serif;
  background: var(--bg);
}

.page-faq .faq-hero {
  background: var(--bg);
  padding: 32px 16px 24px;
  border-bottom: 4px solid var(--accent);
}

.page-faq .faq-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-faq .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.page-faq .breadcrumb a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dashed var(--ink-soft);
}

.page-faq .breadcrumb__sep {
  opacity: .5;
}

.page-faq .faq-headline__kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--card-rose);
  margin-bottom: 6px;
}

.page-faq .faq-headline__title {
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--bg-deep);
  margin-bottom: 12px;
  text-shadow: 4px 4px 0 rgba(255, 182, 30, .35);
}

.page-faq .faq-headline__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 760px;
  margin-bottom: 0;
}

.page-faq .faq-headline__desc strong {
  color: var(--bg-deep);
  background: var(--accent);
  padding: 0 6px;
  border-radius: 6px;
}

.page-faq .faq-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 24px 16px 60px;
}

.page-faq .faq-toc {
  display: none;
}

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

.page-faq .faq-section {
  border-radius: var(--radius);
  padding: 28px 18px;
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 100px;
  position: relative;
  overflow: hidden;
}

.page-faq .section--green {
  background: var(--bg-green);
  color: var(--white);
}

.page-faq .section--sun {
  background: var(--card-orange);
  color: var(--ink);
}

.page-faq .section--deep {
  background: var(--bg-deep);
  color: var(--white);
}

.page-faq .section--rose {
  background: var(--card-rose);
  color: var(--white);
}

.page-faq .section--paper {
  background: var(--bg);
  color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.page-faq .chapter {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.page-faq .chapter__no {
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  background: var(--bg-deep);
  border-radius: 16px;
  padding: 2px 14px;
  font-family: var(--faq-font-extra);
}

.page-faq .section--deep .chapter__no {
  background: var(--card-orange);
  color: var(--ink);
}

.page-faq .section--rose .chapter__no {
  background: var(--white);
  color: var(--card-rose);
}

.page-faq .section--sun .chapter__no {
  background: var(--bg-deep);
  color: var(--accent);
}

.page-faq .chapter__title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 4px;
}

.page-faq .chapter__hint {
  font-size: 13px;
  opacity: .8;
  margin: 0;
  line-height: 1.5;
}

.page-faq .on-dark .chapter__title {
  color: var(--white);
}

.page-faq .step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-faq .step-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
}

.page-faq .step-list__no {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--faq-step-bg);
  color: var(--faq-step-circle);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .18);
}

.page-faq .step-list__body h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.4;
}

.page-faq .step-list__body p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  opacity: .92;
}

.page-faq .step-guide__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
  margin-top: 20px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, .3);
}

.page-faq .magnet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-faq .magnet-tile {
  position: relative;
  border-radius: var(--radius-md);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--white);
  min-height: 96px;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 2px solid rgba(255, 255, 255, .4);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .15);
}

.page-faq .magnet-tile:hover {
  transform: translateY(-3px);
  box-shadow: 6px 8px 0 rgba(0, 0, 0, .2);
}

.page-faq .magnet-tile--blue {
  background: var(--card-blue);
}

.page-faq .magnet-tile--orange {
  background: var(--card-orange);
  color: var(--ink);
}

.page-faq .magnet-tile--green {
  background: var(--bg-green);
}

.page-faq .magnet-tile--rose {
  background: var(--card-rose);
}

.page-faq .magnet-tile__no {
  font-size: 22px;
  font-weight: 900;
  opacity: .85;
  line-height: 1;
}

.page-faq .magnet-tile__title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.page-faq .magnet-tile__count {
  font-size: 12px;
  opacity: .9;
  font-weight: 600;
}

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

.page-faq .faq-list details {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.page-faq .faq-list summary {
  padding: 15px 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: var(--white);
  transition: background .2s ease;
}

.page-faq .faq-list summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 900;
  color: var(--card-rose);
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.page-faq .faq-list details[open] summary {
  background: var(--accent);
  color: var(--bg-deep);
}

.page-faq .faq-list details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}

.page-faq .faq-list details p {
  padding: 0 16px 16px;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  color: var(--ink);
}

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

.page-faq .compare-table {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06);
}

.page-faq .compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.page-faq .compare-row + .compare-row {
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.page-faq .compare-col {
  padding: 12px 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--white);
}

.page-faq .compare-col--old {
  background: rgba(208, 64, 126, .28);
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.page-faq .compare-col--new {
  background: rgba(58, 166, 221, .28);
}

.page-faq .compare-row--head .compare-col {
  font-weight: 900;
  font-size: 15px;
  background: rgba(255, 255, 255, .18);
  color: var(--accent);
}

.page-faq .compare-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
  margin-top: 16px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, .25);
}

.page-faq .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.page-faq .tag-block {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  color: var(--white);
  line-height: 1.4;
  transition: transform .15s ease, box-shadow .15s ease;
}

.page-faq .tag-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .12);
}

.page-faq .tag-block--t1 {
  background: var(--tag-1);
  font-size: 12px;
}

.page-faq .tag-block--t2 {
  background: var(--tag-2);
  color: var(--ink);
  font-size: 14px;
}

.page-faq .tag-block--t3 {
  background: var(--tag-3);
  color: var(--ink);
  font-size: 16px;
  padding: 10px 18px;
}

.page-faq .tag-block--t4 {
  background: var(--tag-4);
  font-size: 19px;
  padding: 12px 22px;
}

.page-faq .index-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  background: rgba(255, 255, 255, .6);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
}

.page-faq .index-strip--dark {
  background: var(--bg-deep);
  border-color: var(--bg-deep);
}

.page-faq .index-strip__label {
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
  margin-right: 4px;
}

.page-faq .index-strip--dark .index-strip__label {
  color: var(--accent);
}

.page-faq .index-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.page-faq .index-pill:hover {
  background: var(--accent);
  color: var(--bg-deep);
}

.page-faq .entry-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.page-faq .entry-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
}

.page-faq .entry-row__rank {
  font-size: 20px;
  font-weight: 900;
  color: var(--card-rose);
  background: var(--accent);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.page-faq .entry-row__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-faq .entry-row__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}

.page-faq .entry-row__meta {
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.page-faq .status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
}

.page-faq .status-badge--new {
  background: var(--success);
}

.page-faq .status-badge--updating {
  background: var(--warning);
  color: var(--ink);
}

.page-faq .status-badge--old {
  background: var(--danger);
}

.page-faq .metric-bar {
  grid-column: 1 / -1;
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.page-faq .metric-bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--card-rose), var(--card-orange), var(--accent));
  border-radius: 999px;
}

.page-faq .button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  transition: background .2s ease, transform .2s ease;
}

.page-faq .button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.page-faq .button--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.page-faq .section--paper .button--ghost {
  background: var(--bg-deep);
  border-color: var(--bg-deep);
  color: var(--white);
}

.page-faq .section--rose .button--ghost {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.page-faq .feedback-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.page-faq .feedback-card {
  background: rgba(255, 255, 255, .96);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .14);
}

.page-faq .feedback-card__icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  background: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-deep);
  font-weight: 900;
}

.page-faq .feedback-card__label {
  font-size: 11px;
  font-weight: 900;
  color: var(--card-rose);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
}

.page-faq .feedback-card__value {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  word-break: break-all;
  color: var(--ink);
}

.page-faq .feedback-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--white);
  background: rgba(0, 0, 0, .16);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 0 0 18px;
  border: 1px dashed rgba(255, 255, 255, .5);
}

.page-faq .faq-section__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 820px) {
  .page-faq .faq-hero {
    padding: 48px 24px 36px;
  }

  .page-faq .faq-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
    padding: 36px 24px 80px;
  }

  .page-faq .faq-toc {
    display: block;
    position: sticky;
    top: 110px;
    align-self: start;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 8px;
  }

  .page-faq .faq-toc__inner {
    background: var(--bg-deep);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    box-shadow: var(--shadow-soft);
  }

  .page-faq .faq-toc__caption {
    font-size: 12px;
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 0 0 12px;
  }

  .page-faq .toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .page-faq .toc-link {
    display: block;
    padding: 8px 10px;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: background .2s ease, color .2s ease;
  }

  .page-faq .toc-link:hover {
    background: rgba(255, 255, 255, .12);
    color: var(--accent);
  }

  .page-faq .faq-content {
    gap: 36px;
  }

  .page-faq .faq-section {
    padding: 36px 32px;
  }

  .page-faq .chapter {
    gap: 18px;
  }

  .page-faq .chapter__no {
    font-size: 56px;
    padding: 4px 16px;
  }

  .page-faq .chapter__title {
    font-size: 28px;
  }

  .page-faq .step-list {
    gap: 18px;
  }

  .page-faq .step-list__item {
    padding: 20px 18px;
  }

  .page-faq .magnet-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .page-faq .compare-row {
    grid-template-columns: 1fr 1fr;
  }

  .page-faq .compare-col {
    padding: 16px 18px;
    font-size: 15px;
  }

  .page-faq .faq-list summary {
    padding: 18px 20px;
    font-size: 17px;
  }

  .page-faq .faq-list details p {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 16px;
  }

  .page-faq .entry-row {
    grid-template-columns: 40px 1fr 160px;
    gap: 14px;
    padding: 14px 16px;
  }

  .page-faq .entry-row__rank {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .page-faq .metric-bar {
    grid-column: auto;
    height: 10px;
  }

  .page-faq .feedback-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-faq .feedback-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
