.stage { aspect-ratio: 3 / 2; position: relative; overflow: hidden; isolation: isolate; background: #233b53; }
.room { width: 100%; height: 100%; display: block; object-fit: cover; }
.actor { position: absolute; bottom: 12%; height: 53%; width: 20%; object-fit: contain; object-position: center bottom; transform: translateX(-50%); filter: drop-shadow(2px 4px 2px #301c3459); }
.pepper { z-index: 2; }
.exit-door { position: absolute; inset: 29.7% 1.6% 32.5% 85.7%; clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%); background: linear-gradient(90deg, #132738, #091824 78%, #2d4b69 79%); pointer-events: none; }
.arrival { position: absolute; top: 12px; left: 12px; border-radius: 6px; color: #152e46; background: #f4cb7a; padding: 5px 9px; font-size: .82rem; font-weight: 760; z-index: 3; }
.transport { padding: 12px 15px 14px; }
.transport .btn { background: #f3cb7d; color: #152e46; }
.transport .btn:hover { background: #ffdc99; }
.transport .btn.light { background: #274c70; color: #edf5fc; }
.transport .btn.light:hover { background: #315d86; }
#scrubber { width: 100%; accent-color: #f5c675; margin: 10px 0 1px; height: 24px; cursor: pointer; }
.ticks { display: grid; grid-template-columns: repeat(3, 1fr); font-size: .8rem; color: #c9dbee; }
.ticks span:nth-child(2) { text-align: center; }
.ticks span:last-child { text-align: right; }
.diagram { margin-top: 13px; padding-top: 9px; border-top: 1px solid #5b7791; }
.diagram-labels { display: flex; gap: 9px 20px; flex-wrap: wrap; font-size: .78rem; }
.diagram-labels span::before { content: ''; display: inline-block; width: 12px; height: 5px; margin-right: 5px; background: #92c0ed; border-radius: 1px; vertical-align: 2px; }
.diagram-labels span:nth-child(2)::before { background: #f3cb7d; }
.diagram-track { height: 17px; background: #294a69; border-radius: 5px; position: relative; margin-top: 7px; }
.action-bar { height: 7px; top: 5px; border-radius: 4px; background: #92c0ed; position: absolute; }
.event-marker { position: absolute; width: 3px; height: 21px; left: 50%; top: -2px; background: #f3cb7d; }
.scene-caption { margin-top: 9px; min-height: 1.3em; line-height: 1.32; color: #dce9f7; font-size: .88rem; }
#choices { border: 0; margin: 0; padding: 0; min-width: 0; }
#sentence-options { display: grid; gap: 7px; }
.choice { display: grid; grid-template-columns: min-content 1fr; gap: 8px; align-items: center; padding: 9px 11px; border: 1px solid #b9cadb; border-radius: 9px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--green); background: #e2edf9; }
.choice:has(input:disabled) { cursor: default; }
.choice input { accent-color: var(--green); }
.choice-title { display: block; font-size: .79rem; color: var(--muted); }
.choice-words { display: block; font-size: .96rem; line-height: 1.36; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 450px) {
  .transport { padding-inline: 10px; }
  .transport .btn { padding-inline: 9px; font-size: .82rem; }
}
