.page-faq {
  --faq-shadow-ring: 0 0 0 3px rgba(123, 47, 190, 0.15);
  --faq-card-radius: 12px;
}

.page-faq .faq-hero {
  background: var(--c-deep);
  color: var(--c-light);
  padding: 28px 0 40px;
}

.page-faq .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 18px;
}

.page-faq .breadcrumbs a {
  color: rgba(245, 247, 247, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-faq .breadcrumbs a:hover {
  color: var(--c-green);
}

.page-faq .breadcrumb-sep {
  color: rgba(245, 247, 247, 0.4);
}

.page-faq .breadcrumb-current {
  color: var(--c-green);
  font-weight: 600;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.3;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

.page-faq .faq-hero-lead {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 247, 247, 0.82);
  max-width: 760px;
  margin: 0 0 22px;
}

.page-faq .faq-hero-index {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 560px) {
  .page-faq .faq-hero-index {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .page-faq .faq-hero-index {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-faq .faq-hero-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--c-light);
  transition: background 0.2s ease, transform 0.2s ease;
}

.page-faq .faq-hero-entry:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.page-faq .faq-hero-entry:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: 2px;
}

.page-faq .faq-hero-entry-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  min-width: 28px;
}

.page-faq .faq-hero-entry:nth-child(1) .faq-hero-entry-num { color: var(--c-green); }
.page-faq .faq-hero-entry:nth-child(2) .faq-hero-entry-num { color: var(--c-pink); }
.page-faq .faq-hero-entry:nth-child(3) .faq-hero-entry-num { color: var(--c-blue); }
.page-faq .faq-hero-entry:nth-child(4) .faq-hero-entry-num { color: var(--c-multi); }

.page-faq .faq-hero-entry-text {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.page-faq .faq-section {
  padding: 44px 0 52px;
}

.page-faq .faq-quickstart {
  background: linear-gradient(180deg, #EDF5EF 0%, var(--c-card) 100%);
}

.page-faq .quickstart-layout {
  display: grid;
  gap: 28px;
}

@media (min-width: 960px) {
  .page-faq .quickstart-layout {
    grid-template-columns: 320px 1fr;
    align-items: start;
  }
}

.page-faq .faq-illustration {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.page-faq .faq-illustration img,
.page-faq .faq-device-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-faq figcaption {
  font-size: 12px;
  line-height: 1.6;
  color: #5B6B6B;
  padding: 10px 14px;
  border-top: 1px solid var(--c-border);
}

.page-faq .step-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

@media (min-width: 700px) {
  .page-faq .step-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-faq .step-card {
  position: relative;
  background: var(--c-card);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
  padding: 20px 18px 18px 58px;
  min-height: 120px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-faq .step-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.page-faq .step-card:nth-child(1) { border-top: 4px solid var(--c-football); }
.page-faq .step-card:nth-child(2) { border-top: 4px solid var(--c-basketball); }
.page-faq .step-card:nth-child(3) { border-top: 4px solid var(--c-tennis); }
.page-faq .step-card:nth-child(4) { border-top: 4px solid var(--c-multi); }
.page-faq .step-card:nth-child(5) { border-top: 4px solid var(--c-violet); }

@media (min-width: 700px) {
  .page-faq .step-card:nth-child(5) {
    grid-column: 1 / -1;
  }
}

.page-faq .step-num {
  position: absolute;
  top: 22px;
  left: 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--c-teal);
  width: 30px;
  height: 30px;
}

.page-faq .step-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--c-ink);
  line-height: 1.4;
}

.page-faq .step-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #3D3D3D;
}

.page-faq .faq-questions {
  background: linear-gradient(150deg, #F2EEFA 0%, #EAF3FA 100%);
}

.page-faq .qa-layout {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .page-faq .qa-layout {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
}

.page-faq .qa-index {
  background: var(--c-card);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 900px) {
  .page-faq .qa-index {
    position: sticky;
    top: 24px;
  }
}

.page-faq .qa-index-title {
  font-family: var(--font-heading);
  font-size: 16px;
  margin: 0 0 14px;
  color: var(--c-deep);
}

.page-faq .qa-index-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-faq .qa-index-list a {
  display: block;
  text-decoration: none;
  color: var(--c-teal);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-faq .qa-index-list a:hover {
  background: var(--c-light);
  color: var(--c-violet);
}

.page-faq .qa-list {
  display: grid;
  gap: 0;
}

.page-faq .disclosure {
  background: var(--c-card);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.page-faq .disclosure:hover {
  box-shadow: var(--shadow-card-hover);
}

.page-faq .disclosure-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s ease;
}

.page-faq .disclosure-trigger:hover {
  background: #FAF8FD;
}

.page-faq .disclosure-trigger:focus-visible {
  outline: 2px solid var(--c-violet);
  outline-offset: -2px;
}

.page-faq .qa-q-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: var(--c-violet);
  border-radius: 6px;
  padding: 4px 8px;
  min-width: 38px;
  text-align: center;
  flex-shrink: 0;
}

.page-faq .qa-q-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.5;
}

.page-faq .qa-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-light);
  position: relative;
}

.page-faq .qa-toggle::before,
.page-faq .qa-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-teal);
  transform: translate(-50%, -50%);
}

.page-faq .qa-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-faq .disclosure[data-open] .qa-toggle::after {
  display: none;
}

.page-faq .disclosure-panel {
  display: block;
  padding: 0 18px 18px 70px;
}

.page-faq .disclosure-panel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #3D3D3D;
}

.page-faq .tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .qa-index .tag {
  font-size: 12px;
  padding: 5px 10px;
  background: var(--c-light);
  border: 1px solid var(--c-border);
  color: var(--c-teal);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-faq .qa-index .tag:hover {
  background: var(--c-deep);
  color: var(--c-light);
  border-color: var(--c-deep);
}

.page-faq .faq-devices {
  background: linear-gradient(135deg, #F1EDFA 0%, #E8F0FA 55%, #F8EDF3 100%);
}

.page-faq .faq-device-figure {
  margin: 0 0 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
}

.page-faq .table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: var(--c-card);
  box-shadow: var(--shadow-card);
}

.page-faq .data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.page-faq .data-table th,
.page-faq .data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
  color: var(--c-ink);
  white-space: nowrap;
}

.page-faq .data-table thead th {
  background: var(--c-deep);
  color: var(--c-light);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.page-faq .data-table tbody tr:nth-child(even) {
  background: #FAFBFB;
}

.page-faq .data-table tbody tr:hover {
  background: #F0ECFA;
}

.page-faq .data-table td:first-child {
  font-weight: 600;
  color: var(--c-deep);
}

.page-faq .data-table tbody tr:last-child td {
  border-bottom: none;
}

.page-faq .faq-device-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.page-faq .faq-device-dot--ok {
  background: var(--c-green);
  box-shadow: 0 0 0 3px rgba(57, 255, 136, 0.22);
}

.page-faq .faq-device-dot--partial {
  background: var(--c-tennis);
  box-shadow: 0 0 0 3px rgba(241, 216, 110, 0.32);
}

.page-faq .faq-device-dot--no {
  background: var(--c-border);
}

.page-faq .faq-venues {
  background: linear-gradient(135deg, #FAF5E9 0%, #F0F7F2 60%, #EDF5EF 100%);
}

.page-faq .venue-layout {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .page-faq .venue-layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

.page-faq .venue-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-faq .venue-step {
  display: flex;
  gap: 16px;
  background: var(--c-card);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-faq .venue-step:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.page-faq .venue-step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--c-violet);
  flex-shrink: 0;
}

.page-faq .venue-step-body h3 {
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--c-ink);
  line-height: 1.4;
}

.page-faq .venue-step-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #3D3D3D;
}

.page-faq .venue-aside {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .page-faq .venue-aside {
    position: sticky;
    top: 24px;
  }
}

.page-faq .venue-card {
  background: var(--c-deep);
  color: var(--c-light);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-header);
}

.page-faq .venue-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--c-light);
}

.page-faq .venue-card p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 247, 247, 0.82);
  margin: 0 0 18px;
}

.page-faq .venue-card .tag {
  font-size: 12px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--c-light);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-faq .venue-card .tag:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--c-green);
}

.page-faq .link-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-faq .link-more:hover {
  color: var(--c-violet);
}
