/* V57 — Behind the Story typography refinement + gentle gate invitation. */

/* Locked gate: quieter, more readable hierarchy. */
body[data-page="spoiler"] .gate-question {
  max-width: 650px !important;
  padding: 26px 28px !important;
}

body[data-page="spoiler"] .gate-question h1 {
  max-width: 620px !important;
  margin: 0 auto 11px !important;
  font-size: clamp(2rem, 2.7vw, 2.55rem) !important;
  line-height: 1.13 !important;
  letter-spacing: -.015em !important;
}

body[data-page="spoiler"] .gate-question > p:not(.gate-treasure-note):not(.gate-hint) {
  max-width: 540px !important;
  font-size: clamp(.98rem, 1.25vw, 1.08rem) !important;
  line-height: 1.55 !important;
}

body[data-page="spoiler"] .gate-treasure-note {
  max-width: 520px !important;
  margin: 13px auto 0 !important;
  color: #b9ad94 !important;
  font-size: .91rem !important;
  line-height: 1.55 !important;
  font-style: italic;
}

body[data-page="spoiler"] .lock-symbol {
  width: 50px !important;
  height: 50px !important;
  margin-bottom: 13px !important;
  font-size: 1.35rem !important;
}

body[data-page="spoiler"] .gate-question form {
  margin-top: 18px !important;
}

body[data-page="spoiler"] .gate-question input {
  min-height: 50px !important;
  font-size: 1rem !important;
}

body[data-page="spoiler"] .gate-question .btn {
  min-height: 46px !important;
  font-size: .92rem !important;
}

/* Unlocked room: keep section titles clear without oversized display type. */
body[data-page="spoiler"] .beyond-music-card h2,
body[data-page="spoiler"] .beyond-artwork-section h2 {
  font-size: clamp(1.55rem, 2vw, 1.85rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -.01em !important;
}

@media (max-width: 640px) {
  body[data-page="spoiler"] .gate-question {
    padding: 19px 17px !important;
  }

  body[data-page="spoiler"] .gate-question h1 {
    max-width: 360px !important;
    font-size: clamp(1.75rem, 8vw, 2.15rem) !important;
    line-height: 1.14 !important;
  }

  body[data-page="spoiler"] .gate-question > p:not(.gate-treasure-note):not(.gate-hint) {
    font-size: .96rem !important;
  }

  body[data-page="spoiler"] .gate-treasure-note {
    margin-top: 11px !important;
    font-size: .86rem !important;
  }

  body[data-page="spoiler"] .beyond-music-card h2,
  body[data-page="spoiler"] .beyond-artwork-section h2 {
    font-size: 1.55rem !important;
  }
}
