.page-faq {
  --faq-space: clamp(40px, 7vw, 78px);
  --faq-line: 1px solid var(--line);
  color: var(--ivory);
}

/* ---------- 首屏 ---------- */

.page-faq .guide-masthead {
  padding: clamp(30px, 5vw, 60px) 0 clamp(6px, 1.5vw, 14px);
  max-width: 940px;
}

.page-faq h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.16;
  letter-spacing: 0.01em;
  margin: 12px 0 20px;
  color: var(--ivory);
}

.page-faq h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 2.7vw, 33px);
  line-height: 1.3;
  margin: 10px 0 14px;
  color: var(--ivory);
}

.page-faq h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--ivory);
}

.page-faq .lede {
  font-size: clamp(16px, 1.3vw, 17px);
  line-height: 1.8;
  color: var(--mist);
  max-width: 62ch;
}

.page-faq .quick-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
}

.page-faq .quick-facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13px;
  color: var(--mist);
  padding: 8px 14px;
  border: var(--faq-line);
  border-radius: 999px;
  background: var(--glass);
}

.page-faq .quick-facts .mono {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
}

/* ---------- 阶梯带 ---------- */

.page-faq .ladder-band {
  position: relative;
  margin: var(--faq-space) 0;
  padding: 0;
  border-top: var(--faq-line);
  border-bottom: var(--faq-line);
  background: linear-gradient(168deg, #14382F 0%, #0B1F1A 72%);
  overflow: hidden;
}

.page-faq .ladder-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.65) contrast(1.08);
  pointer-events: none;
}

.page-faq .ladder-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(125% 95% at 18% 0%, rgba(11, 31, 26, 0.32) 0%, rgba(11, 31, 26, 0.92) 72%);
  pointer-events: none;
}

.page-faq .ladder-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(34px, 5vw, 60px);
}

.page-faq .ladder-lede {
  max-width: 54ch;
}

.page-faq .ladder-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: end;
  gap: clamp(6px, 1vw, 13px);
  margin: clamp(30px, 4.5vw, 48px) 0 0;
  padding: 0;
}

.page-faq .ladder-step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 14px 12px 12px;
  border: var(--faq-line);
  border-bottom: 3px solid var(--gold);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: linear-gradient(180deg, rgba(244, 239, 226, 0.07), rgba(244, 239, 226, 0.015));
  backdrop-filter: blur(3px);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.page-faq .ladder-step:hover,
.page-faq .ladder-step:focus-within {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.16), rgba(244, 239, 226, 0.02));
}

.page-faq .ladder-steps li:nth-child(1) { min-height: 92px; }
.page-faq .ladder-steps li:nth-child(2) { min-height: 114px; }
.page-faq .ladder-steps li:nth-child(3) { min-height: 136px; }
.page-faq .ladder-steps li:nth-child(4) { min-height: 158px; }
.page-faq .ladder-steps li:nth-child(5) { min-height: 182px; }
.page-faq .ladder-steps li:nth-child(6) { min-height: 206px; }
.page-faq .ladder-steps li:nth-child(7) { min-height: 230px; }
.page-faq .ladder-steps li:nth-child(8) { min-height: 254px; }
.page-faq .ladder-steps li:nth-child(9) { min-height: 278px; }

.page-faq .step-no {
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
  letter-spacing: 0.06em;
}

.page-faq .step-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(13px, 1.15vw, 16px);
  color: var(--ivory);
  line-height: 1.2;
}

.page-faq .step-seats {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
}

.page-faq .ladder-foot {
  margin: clamp(20px, 3vw, 28px) 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 66ch;
}

.page-faq .ladder-foot a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .ladder-foot a:hover {
  color: var(--gold);
}

/* ---------- 人数对照表 ---------- */

.page-faq .seats {
  margin: var(--faq-space) 0;
}

.page-faq .seats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 3.5vw, 46px);
  align-items: start;
}

.page-faq .seats-lede {
  max-width: 58ch;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-faq .table-scroll {
  overflow-x: auto;
  border: var(--faq-line);
  border-radius: var(--radius);
  background: rgba(18, 51, 43, 0.5);
  -webkit-overflow-scrolling: touch;
}

.page-faq .seats-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-faq .seats-table thead th {
  background: var(--felt-2);
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-align: left;
  padding: 13px 16px;
  white-space: nowrap;
  border-bottom: var(--faq-line);
}

.page-faq .seats-table tbody th,
.page-faq .seats-table tbody td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(27, 76, 64, 0.7);
  font-weight: 400;
}

.page-faq .seats-table tbody tr:nth-child(even) {
  background: rgba(27, 76, 64, 0.38);
}

.page-faq .seats-table tbody tr:hover {
  background: rgba(201, 162, 39, 0.12);
}

.page-faq .seats-table tbody tr:last-child th,
.page-faq .seats-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-faq .seats-table .seat-tier {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--ivory);
  white-space: nowrap;
}

.page-faq .seats-table td.mono {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
}

.page-faq .table-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 64ch;
}

.page-faq .seats-figure {
  margin: 0;
  display: grid;
  gap: 12px;
}

.page-faq .seats-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border: var(--faq-line);
  border-radius: var(--radius);
}

.page-faq .seats-figure figcaption {
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 三页说明 ---------- */

.page-faq .rules-path {
  margin: var(--faq-space) 0;
}

.page-faq .path-lede {
  max-width: 58ch;
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.page-faq .path-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.page-faq .path-item {
  position: relative;
  padding: 22px 22px 24px;
  border: var(--faq-line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(6px);
  transition: transform var(--ease), border-color var(--ease);
}

.page-faq .path-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.page-faq .path-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--violet);
  margin-bottom: 12px;
}

.page-faq .path-item h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}

.page-faq .path-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 常见疑问 ---------- */

.page-faq .faq-block {
  margin: var(--faq-space) 0;
}

.page-faq .faq-lede {
  max-width: 58ch;
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.page-faq .faq-list {
  display: grid;
  gap: 12px;
}

.page-faq .faq-item {
  border: var(--faq-line);
  border-radius: var(--radius-sm);
  background: rgba(18, 51, 43, 0.55);
  transition: border-color var(--ease), background var(--ease);
}

.page-faq .faq-item[open] {
  border-color: var(--gold);
  background: rgba(18, 51, 43, 0.92);
}

.page-faq .faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 54px 18px 20px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ivory);
  border-radius: var(--radius-sm);
  transition: color var(--ease);
}

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

.page-faq .faq-item summary::marker {
  content: "";
}

.page-faq .faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--gold);
}

.page-faq .faq-item[open] summary::after {
  content: "–";
}

.page-faq .faq-item summary:hover {
  color: var(--gold-soft);
}

.page-faq .faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-faq .faq-body {
  padding: 0 20px 20px;
}

.page-faq .faq-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 62ch;
}

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

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

/* ---------- 房间状态 ---------- */

.page-faq .status-block {
  margin: var(--faq-space) 0;
}

.page-faq .status-lede {
  max-width: 58ch;
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.page-faq .status-lede a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .status-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.page-faq .status-card {
  position: relative;
  padding: 22px 22px 24px 26px;
  border: var(--faq-line);
  border-radius: var(--radius);
  background: rgba(18, 51, 43, 0.6);
  overflow: hidden;
  transition: transform var(--ease), border-color var(--ease);
}

.page-faq .status-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
}

.page-faq .status-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.page-faq .status-card--open::before { background: var(--violet); }
.page-faq .status-card--full::before { background: var(--crimson); }
.page-faq .status-card--care::before { background: var(--gold); }

.page-faq .status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.page-faq .status-dot--open {
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(122, 92, 255, 0.18);
}

.page-faq .status-dot--full {
  background: var(--crimson);
  box-shadow: 0 0 0 4px rgba(200, 56, 47, 0.18);
}

.page-faq .status-dot--care {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18);
}

.page-faq .status-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 10px;
}

.page-faq .status-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 尾声入口 ---------- */

.page-faq .next-steps {
  margin: var(--faq-space) 0 clamp(50px, 8vw, 96px);
}

.page-faq .next-inner {
  padding: clamp(28px, 4.5vw, 52px) clamp(22px, 4vw, 48px);
  border: 1px solid rgba(201, 162, 39, 0.42);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(122, 92, 255, 0.14) 0%, transparent 62%),
    linear-gradient(160deg, #14382F 0%, #0B1F1A 78%);
}

.page-faq .next-inner h2 {
  margin-top: 0;
}

.page-faq .next-inner p {
  margin: 0 0 clamp(20px, 3vw, 28px);
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 60ch;
}

.page-faq .next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */

@media (max-width: 899px) {
  .page-faq .ladder-steps {
    grid-template-columns: repeat(9, 94px);
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }

  .page-faq .ladder-step {
    scroll-snap-align: center;
  }

  .page-faq .ladder-steps li:nth-child(n) {
    min-height: 150px;
  }

  .page-faq .ladder-steps li:nth-child(1) { min-height: 96px; }
  .page-faq .ladder-steps li:nth-child(2) { min-height: 112px; }
  .page-faq .ladder-steps li:nth-child(3) { min-height: 128px; }
  .page-faq .ladder-steps li:nth-child(4) { min-height: 144px; }
  .page-faq .ladder-steps li:nth-child(5) { min-height: 160px; }
  .page-faq .ladder-steps li:nth-child(6) { min-height: 176px; }
  .page-faq .ladder-steps li:nth-child(7) { min-height: 192px; }
  .page-faq .ladder-steps li:nth-child(8) { min-height: 208px; }
  .page-faq .ladder-steps li:nth-child(9) { min-height: 224px; }
}

@media (min-width: 760px) {
  .page-faq .path-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
  }

  .page-faq .path-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    right: -36px;
    width: 36px;
    height: 1px;
    background: var(--gold);
    opacity: 0.55;
  }

  .page-faq .status-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .page-faq .seats-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .ladder-step,
  .page-faq .path-item,
  .page-faq .status-card,
  .page-faq .faq-item {
    transition: none;
  }

  .page-faq .ladder-step:hover,
  .page-faq .path-item:hover,
  .page-faq .status-card:hover {
    transform: none;
  }
}
