/* Full-stage introduction: the blank Momo paper begins after these two pages. */
.studio.show-prelude { display: block; max-width: 1480px; padding: 0 4vw 22px; }
.show-prelude > .copy,.show-prelude > .scene { display: none !important; }
.prelude { width: 100%; text-align: center; }
.prelude[hidden] { display: none; }
.prelude h1 { font-size: clamp(32px, 4vw, 60px); line-height: 1.08; margin: 6px 0 10px; }
.prelude-lead { max-width: 1050px; margin: 0 auto 14px; font-size: clamp(19px, 2.1vw, 29px); line-height: 1.38; }
.creator-hero { display: block; width: auto; max-width: 100%; height: min(40vh, 340px); aspect-ratio: 4 / 3; object-fit: contain; margin: 0 auto 16px; border-radius: 24px; }
.example-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,2vw,32px); max-width: 1100px; margin: 16px auto 0; }
.example-card { display: flex; flex-direction: column; align-items: center; border: 4px solid #d6cbb2; background: #fffbef; border-radius: 24px; padding: 8px 12px 14px; box-shadow: 0 5px 0 #d6cbb2; min-width: 0; }
.example-card[aria-pressed="true"] { border-color: #254d43; box-shadow: 0 5px 0 #254d43; background: #f5e2ac; }
.example-card img { display: block; width: 100%; height: min(29vh,260px); aspect-ratio: 1; object-fit: contain; }
.example-card strong { font-size: clamp(24px,2.6vw,36px); line-height: 1.1; margin-top: 4px; }
.example-card span { font-size: clamp(19px,1.9vw,27px); line-height: 1.25; margin-top: 5px; }
.example-prompt { min-height: 1.5em; font-size: clamp(20px,2vw,28px); font-weight: 900; margin: 16px auto; }
.prelude .primary { min-height: 62px; font-size: clamp(21px,2vw,27px); padding: 13px 28px; }
.prelude .hint { max-width: 1050px; margin: 18px auto 0; text-align: left; }
@media (max-width: 650px) {
  .studio.show-prelude { padding: 12px 5vw 28px; }
  .creator-hero { width: min(100%,480px); height: auto; }
  .example-cards { grid-template-columns: 1fr; gap: 16px; max-width: 420px; }
  .example-card { display: grid; grid-template-columns: 42% 1fr; grid-template-rows: 1fr 1fr; column-gap: 12px; text-align: left; padding: 8px 14px 8px 8px; }
  .example-card img { grid-row: 1 / 3; width: 100%; height: auto; }
  .example-card strong { align-self: end; font-size: 27px; }
  .example-card span { align-self: start; font-size: 21px; }
  .example-prompt { min-height: 3em; }
  .prelude .primary { width: 100%; }
}
@media (min-width: 651px) and (max-height: 750px) {
  .prelude h1 { font-size: 42px; }
  .prelude-lead { font-size: 23px; }
  .creator-hero { height: 245px; }
  .example-card img { height: 180px; }
  .example-card strong { font-size: 28px; }
  .example-card span { font-size: 22px; }
  .example-prompt { font-size: 22px; margin: 12px auto; }
}
@media (min-width: 651px) {
  .creator-intro { display: grid; grid-template-columns: minmax(0,35fr) minmax(0,65fr); grid-template-rows: auto auto auto auto auto; column-gap: 3vw; align-items: center; text-align: left; min-height: min(540px,calc(100svh - 165px)); }
  .creator-intro > .eyebrow { grid-column: 1; grid-row: 1; align-self: end; }
  .creator-intro h1 { grid-column: 1; grid-row: 2; font-size: clamp(38px,4.2vw,62px); margin: 12px 0; }
  .creator-intro .prelude-lead { grid-column: 1; grid-row: 3; font-size: clamp(21px,2.05vw,29px); margin: 0 0 22px; }
  .creator-intro .creator-hero { grid-column: 2; grid-row: 1 / 6; width: 100%; height: auto; max-height: calc(100svh - 165px); max-width: none; object-fit: contain; margin: 0; border-radius: 28px; }
  .creator-intro .primary { grid-column: 1; grid-row: 4; justify-self: start; align-self: start; }
  .creator-intro .hint { grid-column: 1; grid-row: 5; }
  .examples-intro .example-cards { max-width: 1250px; gap: 2vw; }
  .examples-intro .example-card img { height: min(33vh,310px); }
}
@media (min-width: 651px) and (max-height: 750px) {
  .creator-intro .creator-hero { max-height: calc(100svh - 155px); }
  .examples-intro .example-card img { height: min(30vh,220px); }
}
.creator-art-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; align-self: center; }
.creator-art-stage .creator-hero { width: 100%; height: 100%; max-height: none; margin: 0; object-fit: contain; }
#creatorFrog { position: absolute; left: 70.7576%; top: 33.6364%; width: 18.6364%; height: 18.8889%; object-fit: contain; pointer-events: none; transform-origin: 50% 90%; }
#creatorFrogTarget { position: absolute; left: 65%; top: 23%; width: 31%; height: 34%; min-width: 48px; min-height: 48px; border: 0; border-radius: 24%; background: transparent; cursor: pointer; }
#creatorFrogTarget:disabled { opacity: 1; cursor: default; }
#creatorFrogTarget:focus-visible { outline: 5px solid #f48058; outline-offset: 3px; background: #fff8d51a; }
#creatorFrog.frog-jumping { animation: creator-frog-hop 950ms ease-in-out both; }
#creatorFrog.frog-quiet-result { transform: translateY(-7%) scaleY(1.1); }
@keyframes creator-frog-hop {
  0%,100% { transform: translate(0,0) scale(1); }
  15% { transform: translate(0,3%) scale(1.08,.84); }
  50% { transform: translate(20.3252%,-48.6631%) rotate(5deg) scale(.95,1.05); }
  80% { transform: translate(0,0) scale(1.08,.9); }
}
.frog-cue,.frog-result,.momo-transition { font-size: clamp(18px,1.8vw,25px); font-weight: 900; line-height: 1.3; margin: 10px auto; }
.frog-result { min-height: 2.6em; font-size: clamp(17px,1.6vw,22px); }
.momo-transition { margin: 8px auto 14px; }
@media (min-width: 651px) {
  .creator-intro { grid-template-rows: auto auto auto auto auto auto auto; }
  .creator-intro .creator-art-stage { grid-column: 2; grid-row: 1 / 8; width: 100%; }
  .creator-intro .frog-cue { grid-column: 1; grid-row: 4; margin: 0 0 6px; }
  .creator-intro .frog-result { grid-column: 1; grid-row: 5; margin: 0 0 10px; }
  .creator-intro .primary { grid-row: 6; }
  .creator-intro .hint { grid-row: 7; }
  .examples-intro .example-prompt { margin: 8px auto; }
}
@media (max-width: 650px) {
  .creator-art-stage { max-width: 480px; margin: 0 auto; }
  .frog-cue,.frog-result { margin: 8px auto; }
}
@media (prefers-reduced-motion: reduce) {
  #creatorFrog.frog-jumping { animation: none; transform: translateY(-7%) scaleY(1.1); }
}
@media (min-width: 651px) {
  .prelude:has(.hint:not([hidden])) .hint { margin: 6px 0 0; font-size: 13px; line-height: 1.35; max-height: none; overflow: visible; }
  .creator-intro:has(.hint:not([hidden])) { min-height: 0; }
  .creator-intro:has(.hint:not([hidden])) h1 { font-size: 38px; margin: 8px 0; }
  .creator-intro:has(.hint:not([hidden])) .prelude-lead { font-size: 21px; line-height: 1.3; margin-bottom: 12px; }
  .creator-intro:has(.hint:not([hidden])) .creator-art-stage { max-width: min(100%,calc((100svh - 200px) * 1.333333)); justify-self: center; }
  .creator-intro:has(.hint:not([hidden])) .frog-cue { font-size: 19px; }
  .creator-intro:has(.hint:not([hidden])) .frog-result { font-size: 17px; margin-bottom: 5px; }
  .prelude:has(.hint:not([hidden])) .primary { min-height: 54px; padding: 10px 23px; font-size: 22px; }
  .examples-intro:has(.hint:not([hidden])) h1 { font-size: 38px; margin: 4px 0 8px; }
  .examples-intro:has(.hint:not([hidden])) .prelude-lead { font-size: 21px; margin-bottom: 8px; }
  .examples-intro:has(.hint:not([hidden])) .example-cards { margin-top: 8px; }
  .examples-intro:has(.hint:not([hidden])) .example-card img { height: min(22vh,170px); }
  .examples-intro:has(.hint:not([hidden])) .example-card { padding-bottom: 9px; }
  .examples-intro:has(.hint:not([hidden])) .example-card strong { font-size: 27px; }
  .examples-intro:has(.hint:not([hidden])) .example-card span { font-size: 21px; }
  .examples-intro:has(.hint:not([hidden])) .example-prompt { font-size: 21px; margin: 7px auto; }
  .examples-intro:has(.hint:not([hidden])) .momo-transition { font-size: 21px; margin: 6px auto 9px; }
}
