/* Spinda decision screens: original context / prompt / choice composition. */
.spinda { --choice-soft: #fff1f6; --choice-wash: #faf8f7; }
.spinda :is(a, button, input, select, summary):focus-visible { outline: 3px solid var(--sp-ink); outline-offset: 4px; }
.hero h1 { font-size: clamp(48px, 5.2vw, 70px); max-width: 570px; min-height: 0; }
.hero-description { max-width: 490px; }
.hero-status > div { grid-template-columns: 125px minmax(0, 1fr); }
.hero-status a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.hero-status > div:last-child dt::before { border-style: solid; background: transparent; }
.hero .receipt { border: 2px solid var(--sp-ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--sp-ink); }
.hero .example-top { background: var(--choice-soft); padding: 16px 20px; border-radius: 16px 16px 0 0; }
.hero .example-label { font: 10px/1.5 var(--mono); }
.hero .question-line p { font-size: 21px; line-height: 1.3; }
.hero .example-state { background: var(--choice-wash); border: 1px solid var(--line); border-radius: 8px; }
.hero .taste-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero .taste-options li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 15px; border: 1px solid var(--sp-ink); border-radius: 9px; background: var(--sp-milk); align-items: start; }
.hero .taste-options li:first-child { grid-column: 1 / -1; background: var(--choice-soft); box-shadow: inset 4px 0 0 var(--sp-naruto-pink); }
.hero .taste-options .opt-text { grid-column: 1 / -1; grid-row: 2; font-size: 13px; line-height: 1.45; }
.hero .taste-options svg { grid-column: 1 / -1; grid-row: 3; width: 100%; height: 4px; }
.hero .taste-options .pct { grid-column: 2; grid-row: 1; font: 13px var(--mono); }
.hero .taste-options code { grid-row: 1; text-transform: uppercase; font-size: 11px; }
.hero .example-bottom { border-radius: 0 0 16px 16px; }
.open-release { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; padding: 42px; margin-block: 20px 64px; border: 2px solid var(--sp-ink); border-radius: 18px; background: var(--choice-soft); box-shadow: 6px 6px 0 var(--sp-ink); }
.release-intro h2 { margin: 22px 0; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.1; overflow-wrap: anywhere; }
.release-intro > p:last-child { font-size: 16px; max-width: 480px; }
.release-facts { min-width: 0; }
.release-facts dl { margin: 0 0 24px; }
.release-facts dl > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.release-facts dt { font: 10px/1.6 var(--mono); text-transform: uppercase; }
.release-facts dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.release-facts code { font-size: 11px; }
.release-note { margin-top: 16px; font-size: 12px; line-height: 1.6; }

/* The gallery is a usable move menu, not a simulated model response. */
.choice-hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 64px; padding-block: 44px 38px; }
.choice-hero h1 { font-size: clamp(48px, 6.2vw, 78px); line-height: 1.05; }
.choice-hero .gallery-eyebrow { margin-bottom: 22px; }
.choice-hero .gallery-lede { margin-top: 20px; max-width: 520px; }
.choice-scene { position: relative; overflow: hidden; isolation: isolate; padding: 20px 24px 0; min-height: 275px; border: 2px solid var(--sp-ink); border-radius: 18px; background: var(--choice-soft); box-shadow: 6px 6px 0 var(--sp-ink); }
.scene-label { display: flex; align-items: center; justify-content: space-between; font-size: 10px; letter-spacing: .05em; }
.scene-dot { width: 8px; height: 8px; background: var(--sp-naruto-pink); border: 1px solid var(--sp-ink); border-radius: 50%; }
.scene-mark { position: relative; display: grid; place-items: center; height: 124px; }
.scene-mark img { z-index: 1; width: 74px; height: 74px; transform: rotate(-12deg); }
.scene-orbit { position: absolute; width: 180px; height: 44px; border: 1px solid var(--sp-ink); border-radius: 50%; bottom: 15px; background: var(--sp-milk); transform: rotate(-7deg); }
.choice-scene > p { position: relative; text-align: center; font-size: 22px; font-weight: 500; line-height: 1.2; padding-bottom: 20px; }
.scene-footer { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--sp-ink); padding: 13px 0; font: 8px/1.5 var(--mono); letter-spacing: .03em; }
.choice-prompt { display: flex; gap: 20px; align-items: center; background: var(--sp-ink); color: var(--sp-milk); border: 2px solid var(--sp-ink); border-radius: 14px; padding: 23px 26px; }
.prompt-pointer { color: var(--sp-naruto-pink); font-size: 32px; line-height: 1; }
.choice-prompt h2 { font-size: 25px; letter-spacing: -.6px; }
.choice-prompt p { font-size: 12px; line-height: 1.55; margin-top: 7px; color: #dfddde; }
.prompt-counter { margin-left: auto; flex-shrink: 0; font-size: 9px; letter-spacing: .08em; color: var(--sp-naruto-pink); }
.gallery-toolbar { border: 0; padding-block: 20px; gap: 16px; }
.gallery-filters { gap: 4px; }
.gallery-filters a { min-height: 44px; font-size: 12px; padding: 9px 12px; }
.demo-grid { gap: 18px; }
.demo-grid .demo-card { display: flex; flex-direction: column; border: 2px solid var(--sp-ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--sp-ink); overflow: hidden; }
.demo-grid .demo-card[hidden] { display: none; }
.demo-grid .demo-card:hover, .demo-grid .demo-card:focus-within { transform: translateY(-2px); box-shadow: 5px 5px 0 var(--sp-ink); }
.demo-grid .demo-card-link { display: flex; gap: 0; flex-direction: column; padding: 19px 22px 0; flex: 1; height: auto; border-radius: 12px 12px 0 0; }
.demo-grid .demo-card:first-child .demo-card-link { background: var(--choice-soft); }
.demo-grid .demo-card-link:hover { background: var(--choice-soft); }
.move-top { display: flex; align-items: center; gap: 12px; }
.move-number { display: grid; place-items: center; border: 1px solid var(--sp-ink); border-radius: 5px; width: 29px; height: 27px; background: var(--sp-naruto-pink); font: 11px var(--mono); }
.move-top .demo-status { font-size: 9px; padding: 4px 8px; }
.move-arrow { margin-left: auto; font-size: 22px; }
.move-body { display: grid; grid-template-columns: 1fr 92px; gap: 20px; padding-block: 19px 18px; }
.move-body > div { min-width: 0; }
.move-project { font: 10px/1.5 var(--mono); }
.move-body h2 { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.2; letter-spacing: -.7px; margin: 7px 0 9px; }
.move-body p { font-size: 12px; line-height: 1.55; max-width: 350px; }
.move-body img { align-self: center; width: 100%; height: 80px; object-fit: cover; border: 1px solid var(--sp-ink); border-radius: 8px; }
.move-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding: 13px 0; margin-top: auto; }
.move-bottom > span { font: 9px/1.5 var(--mono); }
.move-bottom strong { font-size: 11px; font-weight: 500; text-align: right; }
.move-details { display: block; padding: 10px 22px; border-top: 1px solid var(--line); font-size: 11px; background: var(--choice-wash); }
.move-details:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Detail pages follow the same scene, question, then four next actions. */
.demo-page .demo-hero { gap: 40px; padding-block: 26px 32px; }
.demo-cover { border: 2px solid var(--sp-ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--sp-ink); }
.demo-cover > img { aspect-ratio: 12/7; object-fit: cover; }
.demo-hero h1 { font-size: clamp(34px, 4vw, 52px); }
.demo-hero .demo-lede { font-size: 15px; margin-top: 18px; }
.demo-mode { padding: 12px 15px; border-left: 3px solid var(--sp-naruto-pink); background: var(--choice-wash); font-size: 12px; line-height: 1.6; margin-top: 20px; max-width: 680px; }
.decision-menu { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; border: 2px solid var(--sp-ink); border-radius: 16px; background: var(--choice-wash); padding: 24px; margin-bottom: 48px; box-shadow: 5px 5px 0 var(--sp-ink); }
.decision-menu-prompt { display: flex; gap: 18px; align-items: center; }
.decision-menu-prompt .prompt-pointer { color: var(--sp-ink); }
.decision-menu-prompt .eyebrow { font-size: 9px; margin-bottom: 9px; }
.decision-menu-prompt h2 { font-size: 29px; line-height: 1.08; max-width: 240px; }
.decision-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.decision-actions > a { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 15px; min-height: 82px; border: 1px solid var(--sp-ink); border-radius: 8px; box-shadow: 2px 2px 0 var(--sp-ink); background: var(--sp-milk); font-size: 13px; line-height: 1.35; font-weight: 500; }
.decision-actions > a:first-child { background: var(--sp-naruto-pink); }
.decision-actions > a:hover { background: var(--choice-soft); transform: none; text-decoration: underline; text-underline-offset: 3px; }
.decision-actions .action-detail { font: 9px/1.4 var(--mono); font-weight: 400; overflow-wrap: anywhere; }
.play-kicker { margin-bottom: 14px; font: 10px/1.5 var(--mono); letter-spacing: .06em; }
.paste-intro .demo-mode, .music-intro .demo-mode { max-width: 820px; }
.paste-try .example-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.paste-try .example-picker button { min-height: 54px; border: 1px solid var(--sp-ink); border-radius: 8px; box-shadow: 2px 2px 0 var(--sp-ink); padding: 10px; }
.paste-try .example-picker button[aria-pressed="true"] { background: var(--sp-naruto-pink); color: var(--sp-ink); }
.music-try .panel { border: 2px solid var(--sp-ink); border-radius: 12px; }
.music-try .tabs button[aria-pressed="true"] { background: var(--sp-naruto-pink); color: var(--sp-ink); }

@media (max-width: 900px) {
  .hero h1 { font-size: 58px; max-width: 620px; }
  .choice-hero { gap: 32px; grid-template-columns: 1.15fr 1fr; }
  .choice-hero h1 { font-size: 56px; }
  .choice-scene { min-height: 245px; padding-inline: 18px; }
  .scene-mark { height: 106px; }
  .scene-footer { font-size: 7px; gap: 5px; }
  .move-body { grid-template-columns: 1fr; gap: 0; }
  .move-body img { display: none; }
  .open-release { padding: 30px; gap: 30px; }
  .decision-menu { grid-template-columns: 1fr; }
  .decision-menu-prompt h2 { max-width: none; font-size: 28px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(40px, 11.5vw, 58px); }
  .hero .receipt { box-shadow: 4px 4px 0 var(--sp-ink); }
  .hero-status > div { grid-template-columns: 1fr; gap: 5px; }
  .hero .taste-options { grid-template-columns: 1fr; }
  .hero .taste-options li { padding: 13px; }
  .hero .example-top { gap: 10px; padding: 14px; }
  .hero .example-label { font-size: 9px; }
  .open-release { grid-template-columns: 1fr; gap: 22px; padding: 24px; margin-block: 12px 44px; box-shadow: 4px 4px 0 var(--sp-ink); }
  .release-intro h2 { font-size: 30px; }
  .release-facts dl > div { grid-template-columns: 77px minmax(0, 1fr); }
  .release-facts .button { gap: 12px; text-align: left; }
  .choice-hero { grid-template-columns: 1fr; padding-block: 30px 26px; gap: 24px; }
  .choice-hero h1 { font-size: clamp(46px, 12vw, 64px); }
  .choice-hero .gallery-eyebrow { margin-bottom: 16px; }
  .choice-hero .gallery-lede { margin-top: 17px; font-size: 15px; }
  .choice-scene { display: none; }
  .choice-prompt { padding: 19px; gap: 14px; }
  .choice-prompt h2 { font-size: 22px; }
  .choice-prompt p { font-size: 11px; }
  .prompt-counter { display: none; }
  .gallery-toolbar { gap: 9px; padding-block: 15px; }
  .gallery-filters a { padding-inline: 9px; font-size: 11px; }
  .gallery-count { margin-left: 0; }
  .demo-grid { grid-template-columns: 1fr; gap: 17px; }
  .demo-grid .demo-card-link { padding: 17px 18px 0; }
  .move-body h2 { font-size: 26px; }
  .move-body { padding-block: 17px; }
  .move-details { padding-inline: 18px; }
  .demo-page .demo-hero { gap: 25px; padding-bottom: 26px; }
  .demo-hero h1 { font-size: 39px; }
  .decision-menu { padding: 19px; gap: 21px; margin-bottom: 36px; box-shadow: 4px 4px 0 var(--sp-ink); }
  .decision-menu-prompt h2 { font-size: 27px; }
  .decision-actions { gap: 10px; }
  .decision-actions > a { padding: 12px; min-height: 92px; font-size: 12px; }
  .decision-actions .action-detail { font-size: 9px; }
  .paste-try .example-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-mode { font-size: 11px; margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-grid .demo-card, .decision-actions > a { transition: none; transform: none; }
}
