.cue-hero { color: #2a2142; background: #f4eee8; font-size: 1rem; line-height: 1.85; }
.cue-hero *, .cue-hero *::before, .cue-hero *::after { box-sizing: border-box; }
.cue-hero [hidden] { display: none !important; }
.cue-hero :is(h1,h2,h3,p,figure,dl,dd) { margin: 0; }
.cue-hero :is(p,h1,h2,h3,dd,a) { overflow-wrap: anywhere; }
.cue-shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.cue-opening { padding-block: 50px 64px; }
.cue-kicker { font-size: .9rem; font-weight: 700; letter-spacing: .08em; }
.cue-opening h1 { font-size: clamp(2rem, 5.5vw, 5rem); line-height: 1.4; letter-spacing: -.04em; margin-block: 24px 36px; }
.cue-opening h1 span { color: #a63f48; }
.cue-opening-foot { display: flex; align-items: end; gap: 48px; }
.cue-hero .cue-action { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; padding-block: 12px; font-weight: 700; text-decoration: none; }
.cue-action span { display: inline-block; transition: transform 160ms; flex-shrink: 0; }
.cue-action:hover span { transform: translateX(5px); }
.cue-action:hover { color: #a63f48; }
.cue-stage { background: #2a2142; color: #f4eee8; padding-block: 48px; }
.cue-stage-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.cue-stage .cue-kicker { color: #e7b75d; }
.cue-hero h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.5; margin-block: 12px 16px; }
.cue-hero button { font: inherit; cursor: pointer; }
.cue-motion { display: block; min-height: 44px; padding: 8px 16px; border: 1px solid currentColor; border-radius: 4px; background: transparent; color: #f4eee8; margin: 24px 0; }
.cue-motion:hover { background: #f4eee8; color: #2a2142; }
.cue-motion:disabled { cursor: default; }
.cue-board { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: 36px; align-items: start; margin-top: 28px; }
.cue-hero:not([data-cue-ready]) .cue-board { display: block; }
.cue-choices { position: relative; display: grid; gap: 8px; padding-left: 20px; }
.cue-choices button { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0 10px; min-height: 88px; padding: 12px; border: 0; border-radius: 4px; background: transparent; color: #f4eee8; text-align: left; }
.cue-choices button[aria-pressed=true] { background: #493658; }
.cue-choices button:hover { background: #f4eee8; color: #2a2142; }
.cue-choices small { grid-column: 2; font-size: .875rem; }
.cue-number { grid-row: 1 / 3; align-self: center; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.cue-marker { position: absolute; top: 0; left: 0; width: var(--marker-width,10px); height: 24px; background: #e7b75d; clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translate(var(--marker-x,0px), var(--marker-y,0px)); pointer-events: none; }
.cue-transitions .cue-marker { transition: transform 320ms cubic-bezier(.22,1,.36,1), width 320ms cubic-bezier(.22,1,.36,1); }
.cue-paper { background: #f4eee8; color: #2a2142; padding: 32px; }
.cue-paper + .cue-paper { margin-top: 24px; }
.cue-hero[data-cue-ready] .cue-paper { margin: 0; }
.cue-paper-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 22px; font-weight: 700; }
.cue-paper-top span:last-child { color: #685e70; font-variant-numeric: tabular-nums; }
.cue-hero h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.55; }
.cue-paper dl { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-block: 24px; }
.cue-paper dt { font-size: .875rem; color: #685e70; margin-bottom: 8px; font-weight: 700; }
.cue-paper > p { margin-block: 20px; }
.cue-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cue-hero .cue-boundary { margin-top: 24px; max-width: 80ch; }
.cue-boundary a { color: inherit; text-underline-offset: .2em; }
.cue-scene { display: grid; grid-template-columns: 1fr 1.65fr; gap: 48px; padding-block: 64px; }
.cue-notepad { background: #fffaf4; padding: 32px; }
.cue-hero .cue-notepad > p { margin-top: 24px; }
.cue-sentence { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.cue-sentence dt { font-size: 1.25rem; font-weight: 700; }
.cue-sentence dd { color: #685e70; }
.cue-notepad details { margin-top: 24px; }
.cue-notepad summary { cursor: pointer; min-height: 44px; padding-block: 8px; font-weight: 700; }
.cue-notepad ul { padding-left: 1.25em; }
.cue-hero .cue-image { margin-inline: auto; padding-bottom: 48px; }
.cue-image img { display: block; width: 100%; max-width: 900px; height: auto; object-fit: contain; }
.cue-image figcaption { margin-top: 12px; }
.cue-hero :is(a,button,summary):focus-visible { outline: 3px solid #a63f48; outline-offset: 4px; }
.cue-stage :is(a,button):focus-visible { outline-color: #e7b75d; }
.cue-paper a:focus-visible { outline-color: #a63f48; }
#cue-board-title, #cue-scene { scroll-margin-top: 8rem; }
.cue-motion-off *, .cue-motion-off *::before, .cue-motion-off *::after { transition: none !important; animation: none !important; }
.cue-motion-off .cue-action:hover span { transform: none; }
/* This stylesheet is loaded only on this HOME. Keep its existing lower sections
   within the viewport when readers enlarge text, including long English labels. */
.story-home--greenroom .reader-snapshot > *,
.story-home--greenroom .story-journey li,
.story-home--greenroom .story-journey li > div { min-width: 0; overflow-wrap: anywhere; }
.story-home--greenroom .reader-snapshot__body dl,
.story-home--greenroom .guide-card-facts > div { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); }
.story-home--greenroom .reader-snapshot__body dd,
.story-home--greenroom .guide-card-facts dd { min-width: 0; overflow-wrap: anywhere; }
.story-home--greenroom .guide-actions { flex-wrap: wrap; }
.story-home--greenroom .guide-actions button { max-width: 100%; white-space: normal; }
@media(max-width: 1000px) { .cue-board { gap: 20px; grid-template-columns: 190px minmax(0,1fr); } .cue-paper { padding: 24px; } }
@media(max-width: 760px) {
  .cue-shell { width: calc(100% - 40px); }
  .cue-opening { padding-block: 30px 40px; }
  .cue-opening-foot, .cue-stage-heading { display: block; }
  .cue-opening-foot .cue-action { margin-top: 20px; }
  .cue-board { display: block; }
  .cue-choices { grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0 0 16px; gap: 0; margin-bottom: 24px; }
  .cue-choices button { display: block; padding: 10px 3px; text-align: center; min-height: 88px; }
  .cue-choices strong, .cue-number { display: block; }
  .cue-choices strong { font-size: 1rem; }
  .cue-choices small { display: none; }
  .cue-marker { height: 4px; clip-path: none; }
  .cue-paper dl { grid-template-columns: 1fr; gap: 20px; }
  .cue-scene { display: block; padding-block: 40px; }
  .cue-notepad { margin-top: 24px; padding: 20px; }
  .cue-sentence { gap: 10px; }
}
@media(prefers-reduced-motion:reduce) { .cue-hero *, .cue-hero *::before, .cue-hero *::after { animation: none !important; transition: none !important; } .cue-hero .cue-action:hover span { transform: none; } }
