/* Portraits originaux fixes ; seuls les indicateurs de lecture et sous-titres évoluent. */
.speaker-1{--speech-accent:#e4c88d}.speaker-2{--speech-accent:#a4cbbb}.speaker-3{--speech-accent:#a9d5de}
.mentor-stage{position:sticky;top:0;height:min(680px,90vh);min-height:560px;overflow:hidden;background:#17343d;isolation:isolate}.mentor-stage:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0c202aed,transparent 48%);pointer-events:none}.mentor-speaking-badge{display:inline-flex;align-items:center;gap:8px;color:#cad9d0;font-size:10px;margin-bottom:12px}.mentor-speaking-badge>i{width:6px;height:6px;border-radius:50%;background:#9baaa6}.is-speaking .mentor-speaking-badge{color:var(--speech-accent)}.is-speaking .mentor-speaking-badge>i{background:var(--speech-accent);box-shadow:0 0 12px var(--speech-accent)}.mentor-stage .mentor-caption{bottom:24px}.mentor-stage .mentor-caption h2{margin-bottom:10px}
.speaker-subtitles{position:sticky;top:0;z-index:4;padding:14px 16px 16px;background:#0c1e27f5;border-left:2px solid var(--speech-accent);margin:6px 0 18px;box-shadow:0 5px 16px #07192333;min-height:91px}.speaker-subtitles>div{display:flex;align-items:center;gap:10px;margin-bottom:9px}.speaker-subtitles b{font:16px Georgia,serif;color:var(--speech-accent);font-weight:400}.speaker-subtitles #subtitleStatus{font-size:9px;color:#a6bcb8}.speaker-subtitles>p{font:15px/1.65 Georgia,serif;color:#dce4da;margin:0;min-height:25px;overflow-wrap:anywhere}.speaker-subtitles mark{background:#e4ca8526;color:#fff5d2;border-radius:2px;text-decoration:underline;text-decoration-color:var(--speech-accent);text-underline-offset:4px}.speaker-subtitles[data-phase="paused"]>p{color:#afc0ba}.speech-wave{display:flex;align-items:center;gap:3px;height:15px;margin-left:auto}.speech-wave>i{display:block;width:2px;height:3px;background:var(--speech-accent);border-radius:2px}.speaker-subtitles[data-phase="speaking"] .speech-wave>i{animation:speech-wave .65s ease-in-out infinite alternate}.speech-wave>i:nth-child(2){animation-delay:-.2s!important}.speech-wave>i:nth-child(3){animation-delay:-.4s!important}.speech-wave>i:nth-child(4){animation-delay:-.1s!important}.voice-options .auto-voice{margin:0}.voice-settings .voice-personality{font-size:12px;color:var(--speech-accent);margin-top:12px}
@keyframes speech-wave{from{height:3px}to{height:14px}}
@media(max-width:860px){.mentor-stage{height:230px;min-height:230px}.mentor-stage .mentor-caption{left:20px;bottom:15px}.mentor-stage .mentor-caption h2{font-size:28px;margin-bottom:5px}.mentor-speaking-badge{margin-bottom:7px;font-size:9px}.mentor-stage .mentor-caption p{font-size:10px}.mentor-stage>img{object-position:50% 8%}.speaker-subtitles{top:0}}
@media(max-width:580px){.mentor-stage{height:200px;min-height:200px}.speaker-subtitles{padding:12px 13px;min-height:90px;margin-bottom:16px}.speaker-subtitles>p{font-size:14px;line-height:1.65}.speaker-subtitles b{font-size:15px}.voice-options{row-gap:12px}.mentor-stage .mentor-caption{left:17px;bottom:12px}}
/* Aucun mouvement ni surimpression sur les portraits. */
.mentor-visual{position:absolute;inset:0;transform:none;animation:none}
.mentor-stage .mentor-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 8%;transform:none;animation:none;filter:none}
.fixed-dubbing .voice-options{grid-template-columns:minmax(0,1fr)}
@media(prefers-reduced-motion:reduce){.speaker-subtitles[data-phase="speaking"] .speech-wave>i{animation:none;height:8px}}
.playback-controls{display:flex;align-items:center;gap:8px;margin:0 0 14px;flex-wrap:wrap}
.playback-controls>label{font-size:11px;color:var(--mist);margin-right:4px}
.playback-controls select{background:#10252c;color:var(--stone);border:1px solid #52676b;border-radius:3px;min-height:36px;padding:6px 10px;font:12px ui-sans-serif,sans-serif;max-width:160px}
.playback-controls .icon-button{min-width:36px;font-size:16px;padding:5px 10px}
.transcript-panel{margin:0 0 16px;border:1px solid var(--line);padding:12px 14px;background:#10252c}
.transcript-panel summary{cursor:pointer;font:14px Georgia,serif;color:var(--speech-accent)}
.transcript-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:13px 0 9px;font-size:10px;color:var(--mist)}
.transcript-tools label{display:flex;align-items:center;gap:6px;white-space:nowrap}.transcript-tools input{width:14px;height:14px;min-height:0;min-width:14px;flex:0 0 14px;padding:0;margin:0;accent-color:var(--speech-accent)}
.transcript-lines{position:relative;max-height:210px;overflow:auto;overscroll-behavior:contain;scrollbar-color:#536b6b #10252c}
.transcript-line{display:block;width:100%;background:none;text-align:left;border:0;border-left:2px solid transparent;border-radius:0;padding:7px 10px;color:#b9cbc5;font:14px/1.7 Georgia,serif;overflow-wrap:anywhere}
.transcript-line:hover{background:#ffffff08;color:var(--stone)}
.transcript-line.is-current{border-left-color:var(--speech-accent);color:var(--stone);background:#ffffff08}
.transcript-line mark{background:#e4ca8533;color:#fff5d2;text-decoration:underline;text-underline-offset:3px}
.transcript-line:focus-visible,.playback-controls select:focus-visible{outline:2px solid var(--speech-accent);outline-offset:-2px}
@media(max-width:580px){.transcript-panel{padding:11px 10px}.transcript-lines{max-height:180px}.transcript-line{font-size:14px;padding:7px 9px}.transcript-tools>span{font-size:9px}}
