/* Teleprompter view, shared by the operator preview and the presenter display */
.tp-view { --fs: 7; --cue-y: 30%; position: relative; overflow: hidden; background: #000; color: #fff; container-type: size; }
.tp-text { position: absolute; left: 0; right: 0; top: var(--cue-y); padding: 0 8cqw; font: 500 calc(var(--fs) * 1cqw)/1.35 'Inter', system-ui, sans-serif; letter-spacing: -.005em; will-change: transform; }
.tp-text p { margin: 0 0 .8em; }
.tp-text .tp-note { color: #F59B00; font-weight: 500; font-style: italic; }
.tp-text .tp-empty { color: rgba(255, 255, 255, .35); }
.tp-text .tp-end { color: rgba(255, 255, 255, .25); text-align: center; letter-spacing: .3em; }
/* Reading line: an arrow on the left and a faint guide, at the same height on every screen */
.tp-cue { position: absolute; left: 0; right: 0; top: var(--cue-y); height: 1.35em; font-size: calc(var(--fs) * 1cqw); pointer-events: none; background: rgba(255, 255, 255, .06); border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.tp-cue::before { content: ''; position: absolute; left: 1.6cqw; top: 50%; border: .3em solid transparent; border-left: .45em solid #F59B00; transform: translateY(-50%); }
.no-cue .tp-cue { display: none; }
/* Fade the text out toward the top and bottom edges */
.tp-view::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#000 0, transparent 14%, transparent 80%, #000 100%); }
.tp-view.mirror { transform: scaleX(-1); }
/* Script formatting (shared by the editor and every screen) */
.tp-c-yellow { color: #F5C400; } .tp-c-orange { color: #F59B00; } .tp-c-red { color: #FF5A4F; }
.tp-c-green { color: #2ECC71; } .tp-c-blue { color: #5AB0FF; } .tp-c-pink { color: #FF6FB5; }
.tp-h-yellow, .tp-h-orange, .tp-h-red, .tp-h-green, .tp-h-blue { padding: 0 .12em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tp-h-yellow { background: #F5C400; color: #000; } .tp-h-orange { background: #F59B00; color: #000; }
.tp-h-red { background: #FF3B30; color: #fff; } .tp-h-green { background: #2ECC71; color: #000; } .tp-h-blue { background: #1F4FE0; color: #fff; }
.tp-text u { text-decoration-thickness: .08em; text-underline-offset: .12em; }
.tp-text b { font-weight: 700; }
