/* FAQ Section — detail page (pastel / cream theme) */
.faq-section {
  margin-top: 0;
  overflow-anchor: auto;
}
.faq-title {
  font-size: 1.05rem;
  color: rgba(22, 25, 34, 0.88);
  margin: 0;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 183, 197, 0.45);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-title::-webkit-details-marker {
  display: none;
}

.faq-title:hover {
  border-color: var(--pink);
  box-shadow: var(--shadow-soft);
}
.faq-section[open] .faq-title {
  border-radius: 14px 14px 0 0;
  border-bottom: none;
  list-style: none;
}
.faq-section-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: var(--pink);
  box-shadow: 0 2px 8px rgba(255, 183, 197, 0.45);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 183, 197, 0.35);
  border-top: none;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.faq-item {
  background: #fff;
  border: 1px solid rgba(255, 183, 197, 0.2);
  border-radius: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 14px 16px;
  font-weight: 700;
  color: var(--text);
  border-left: 4px solid var(--pink);
}
.faq-answer {
  padding: 12px 16px 16px;
  color: rgba(20, 22, 30, 0.78);
  line-height: 1.55;
  border-top: 1px solid rgba(255, 183, 197, 0.15);
}
.faq-answer a {
  color: #e06b88;
}
.faq-section-toggle .fa,
.faq-section-toggle .fa-chevron-right,
.faq-section-toggle i {
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border: none;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: transparent;
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: visible;
  box-sizing: border-box;
}
.faq-section-toggle .fa::before,
.faq-section-toggle .fa-chevron-right::before,
.faq-section-toggle i::before {
  display: none !important;
  content: "" !important;
}
.faq-section[open] .faq-section-toggle .fa,
.faq-section[open] .faq-section-toggle .fa-chevron-right,
.faq-section[open] .faq-section-toggle i {
  transform: rotate(45deg);
}
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Game detail metadata */
.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 6px 0 0;
  padding: 8px 0;
  border-top: 1px solid var(--ink-rule, rgba(0, 0, 0, 0.12));
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink-muted, var(--color-text-muted, #64748b));
}

.detail-facts .game-developer,
.detail-facts .game-publish-date,
.detail-facts .game-update-time {
  margin: 0;
}

.detail-facts + .detail-content-section > h2:first-child,
.detail-facts + .detail-content-section > .detail-split-block:first-child h2,
.detail-facts + .detail-content-sections {
  margin-top: 0;
}

.detail-facts + .detail-content-section > h2:first-child,
.detail-facts + .detail-content-section > .detail-split-block:first-child > h2 {
  margin-top: 12px;
  padding-top: 0;
  border-top: none;
}
