
#prompter-script { min-height: 16rem; }
input[type='range'] { width: 100%; height: 44px; margin: 0; accent-color: var(--apa-brand); background: transparent; }
label output { font-weight: 700; }
.full-view { position: fixed; inset: 0; z-index: 100; overflow: hidden; outline: none; }
.full-close {
  position: absolute; top: calc(8px + env(safe-area-inset-top)); right: calc(8px + env(safe-area-inset-right)); z-index: 3;
  width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; opacity: 0.6;
}
.full-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (hover: hover) { .full-close:hover:not(:disabled) { background: rgb(255 255 255 / 0.12); color: inherit; opacity: 1; } }
.prompter-stage { background: #0a0a0a; color: #f5f5f5; cursor: pointer; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.prompter-flip { position: absolute; inset: 0; padding: 0 max(1.25rem, 6vw); }
.prompter-flip.is-mirrored { transform: scaleX(-1); }
.prompter-text { max-width: 46rem; margin: 0 auto; font-weight: 600; line-height: 1.5; will-change: transform; overflow-wrap: anywhere; }
.prompter-text p { margin: 0 0 0.9em; }
.prompter-shade { position: absolute; left: 0; right: 0; top: 0; background: rgb(10 10 10 / 0.55); pointer-events: none; }
.prompter-mark { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: #ec9688; opacity: 0.85; pointer-events: none; }
.prompter-hud {
  position: absolute; left: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 0.75rem;
  padding: 0 calc(60px + env(safe-area-inset-right)) 0 calc(16px + env(safe-area-inset-left)); font-size: var(--apa-text-md); color: #d4d4d4; pointer-events: none;
}
.prompter-top { top: env(safe-area-inset-top); height: 60px; }
.prompter-bottom { bottom: env(safe-area-inset-bottom); height: 64px; justify-content: center; padding-inline: 16px; }
.prompter-hud button { pointer-events: auto; width: 44px; height: 44px; padding: 0; border-color: rgb(255 255 255 / 0.25); color: #f5f5f5; font-size: 1.3rem; }
@media (hover: hover) { .prompter-hud button:hover:not(:disabled) { background: rgb(255 255 255 / 0.12); color: #f5f5f5; } }
.prompter-state { margin-left: auto; font-weight: 600; }
.prompter-stage.is-running .prompter-bottom { opacity: 0.35; }
