/* Three screens only: invitation, profile, one continuous broadcast. */
.broadcast-brand-note{font-size:11px;letter-spacing:1px;color:#e6c58e;pointer-events:none}
#studio.broadcast{padding:calc(65px + env(safe-area-inset-top)) 25px calc(34px + env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:flex-start;gap:0;overflow:hidden;background:radial-gradient(ellipse at 50% 28%,#c8a76810,transparent 42%)}
.broadcast-top{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.broadcast-top .text-button{font-size:12px;min-height:40px}.broadcast-top>span{font-size:10px;color:#b6a383;letter-spacing:1px}
.host-stage{text-align:center;flex-shrink:0;padding:20px 0 0}.avatar-orbit{position:relative;width:112px;height:112px;margin:0 auto 19px}.host-portrait{position:relative;width:112px;height:112px;border-radius:50%;object-fit:cover;object-position:50% 15%;border:2px solid #d8bc88;box-shadow:0 0 45px #dbbd7b22}.orbit{position:absolute;inset:-10px;border:1px solid #d9b67b25;border-radius:50%}.orbit-two{inset:-20px;border-color:#d9b67b10}.speaking .orbit{animation:voice-orbit 2.4s ease-out infinite}.speaking .orbit-two{animation-delay:1.2s}.host-mic{position:absolute;right:0;bottom:0;background:#d8bd8e;color:#142033;border:3px solid #142033;border-radius:50%;width:30px;height:30px;line-height:24px;font-size:13px}
#broadcast-title{font-size:25px;letter-spacing:5px;font-weight:500;margin:0 0 7px}.host-identity{font-size:11px;letter-spacing:2px;color:#b8a582;margin:0}.listener-note{font-size:13px;line-height:1.6;color:#d6dae1;margin:19px 0 0}
.speech-window{position:relative;flex:1;min-height:175px;display:flex;flex-direction:column;justify-content:center;gap:16px;margin:15px 0 8px;text-align:center;padding:14px 18px;border:1px solid #e6c58e1c;background:linear-gradient(145deg,#ffffff05,#ffffff00);border-radius:22px;overflow:hidden}
#previous-caption{font-size:12px;color:#8c98a8;line-height:1.8;margin:0;max-height:44px;overflow:hidden;mask-image:linear-gradient(transparent,#000 35%)}
#caption{font-size:22px;line-height:1.8;letter-spacing:.5px;color:#f4e4c8;margin:0;text-wrap:pretty}.caption-arriving{animation:caption-arrive .5s ease both}.speech-dots{display:flex;justify-content:center;gap:5px;height:4px;margin-top:7px}.speech-dots i{width:4px;height:4px;border-radius:50%;background:#d8bc88;opacity:.25}.speech-dots.active i{animation:speech-dot 1.4s infinite}.speech-dots i:nth-child(2){animation-delay:.2s}.speech-dots i:nth-child(3){animation-delay:.4s}
.broadcast-player{flex-shrink:0}#play-state{font-size:11px;letter-spacing:1px;color:#aa9678;text-align:center;margin:7px 0 9px}.broadcast-player .waveform{height:25px;margin:0 0 5px;gap:4px}.broadcast-player .waveform i{width:2px;min-width:2px}
#progress{display:block;appearance:none;width:100%;height:24px;margin:0;cursor:pointer;background:transparent;touch-action:pan-y}#progress::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(to right,#dfc395 var(--progress,0%),#8c9aac30 var(--progress,0%))}#progress::-webkit-slider-thumb{appearance:none;width:10px;height:10px;margin-top:-3.5px;border-radius:50%;background:#dfc395}#progress::-moz-range-track{height:3px;background:#8c9aac30}#progress::-moz-range-progress{height:3px;background:#dfc395}#progress::-moz-range-thumb{width:10px;height:10px;border:0;background:#dfc395;border-radius:50%}.broadcast-player .time-labels{font-size:10px;color:#8c99ac}
.broadcast-controls{display:flex;gap:15px;align-items:center;margin-top:12px}.broadcast-controls>.text-button,.continuous-note{width:57px;flex-shrink:0;font-size:11px;text-align:center;color:#9fabbc}.broadcast-controls .player-primary{min-height:48px;font-size:14px}.preview-note{font-size:10px;line-height:1.5;color:#9aa7ba;margin:12px 0 0;text-align:center}.completion{flex-shrink:0;text-align:center;margin-top:13px;padding-top:12px;border-top:1px solid #e6c58e25}.completion strong{font-size:13px;font-weight:500;color:#e6c58e}.completion span{display:block;font-size:10px;color:#a0adbc;margin-top:7px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes caption-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes voice-orbit{0%{opacity:.6;transform:scale(.96)}100%{opacity:0;transform:scale(1.2)}}@keyframes speech-dot{50%{opacity:1}}
@media(max-height:740px){#studio.broadcast{padding-top:54px;padding-left:22px;padding-right:22px;padding-bottom:28px}.host-stage{padding-top:9px}.avatar-orbit,.host-portrait{width:84px;height:84px}.avatar-orbit{margin-bottom:12px}.orbit{inset:-6px}.orbit-two{inset:-13px}#broadcast-title{font-size:22px;margin-bottom:5px}.host-identity{font-size:10px}.listener-note{margin-top:12px;font-size:12px}.speech-window{min-height:148px;margin-top:12px;padding:12px 15px;gap:10px}#caption{font-size:19px;line-height:1.7}#previous-caption{max-height:22px;font-size:11px}.broadcast-player .waveform{height:18px}.broadcast-controls{margin-top:9px}.preview-note{margin-top:8px}.completion{margin-top:8px;padding-top:8px}}
@media(max-width:350px){#studio.broadcast{padding-left:18px;padding-right:18px}#caption{font-size:19px}.host-stage{padding-top:10px}.avatar-orbit,.host-portrait{width:96px;height:96px}.broadcast-brand-note{font-size:10px}}
@media(max-height:590px){#studio.broadcast{overflow-y:auto}.host-stage{padding-top:4px}.avatar-orbit,.host-portrait{width:62px;height:62px}.orbit{inset:-4px}.orbit-two{inset:-8px}.host-stage .listener-note{margin-top:7px}.speech-window{min-height:140px;flex-shrink:0}.preview-note{margin-top:6px}}
@media(prefers-reduced-motion:reduce){.caption-arriving,.orbit,.speech-dots i{animation:none!important}}
/* Only the outer ring rotates; the person stays upright. */
.host-portrait{animation:none;transform:none}
.speaking .host-portrait{animation:none;transform:none}
.avatar-orbit:before{content:'';position:absolute;inset:-5px;border-radius:50%;border:1px solid #d8bc8830;border-top-color:#f1d6a3;border-right-color:#d8bc8870;animation:portrait-turn 12s linear infinite;animation-play-state:paused}
.avatar-orbit.speaking:before{animation-play-state:running}
@keyframes portrait-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.host-portrait,.avatar-orbit:before{animation:none!important}}
.speech-window[data-long=true] #previous-caption{display:none}
@media(max-height:740px){.speech-window[data-long=true] #caption{font-size:18px;line-height:1.65}}
