/* Viewport overlay: the same unframed host stays beside the learner. */
.presenter-banner.docked-banner,.presenter-banner.docked-banner.hero-host{display:block;min-height:0;padding:8px 0 24px;margin-bottom:25px}
.docked-banner .presenter-copy,.docked-banner.hero-host .presenter-copy{max-width:660px}
.docked-banner .presenter-copy>p,.docked-banner.hero-host .presenter-copy>p{max-width:540px}
.presenter-dock{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));width:220px;height:254px;z-index:40;pointer-events:none;isolation:isolate}
.presenter-dock .host-surface{position:absolute;width:240px;height:240px;right:-10px;bottom:25px;pointer-events:none}
.host-controls{position:absolute;bottom:0;right:0;display:flex;align-items:center;gap:7px;padding:6px;border:1px solid #b5eae34d;border-radius:30px;background:#232b34ed;box-shadow:0 6px 24px #11151a40;backdrop-filter:blur(15px);pointer-events:auto}
.host-controls button,.host-restore{color:#c2f9f1;background:#506274;border-radius:50%;min-width:36px;height:36px;font-size:18px}
.host-status{font-size:11px;color:#f4d6d2;white-space:nowrap}
.host-controls .host-minimize{background:transparent;font-size:23px}
.host-restore{position:absolute;right:0;bottom:0;pointer-events:auto;width:auto;padding:0 15px;border-radius:30px;border:1px solid #b5eae34d;background:#2a343eed;font-size:12px;box-shadow:0 6px 24px #11151a40}
.presenter-dock.is-collapsed{width:125px;height:44px}
.presenter-dock.is-collapsed .host-surface,.presenter-dock.is-collapsed .host-controls{display:none}
.host-restore[hidden]{display:none}
.narration-rate{display:flex;align-items:center;gap:7px;font-size:11px;color:#c0c9cf;white-space:nowrap}.narration-rate select{font:inherit;color:#c2f9f1;background:#34404c;border:1px solid #83949f66;border-radius:7px;padding:7px;cursor:pointer}
.shell{padding-bottom:100px}
.voice-audition{border:1px solid #99d9d055;border-radius:15px;background:linear-gradient(120deg,#4b5d7044,#4ebdae22);padding:17px 20px;margin:0 0 20px;color:#f4dad7}.voice-audition summary{cursor:pointer;font-size:14px;color:#c2f9f1}.voice-audition p{font-size:12px;line-height:1.7;color:#bbc4ca}.audition-options{display:flex;flex-wrap:wrap;gap:15px;align-items:end;margin:17px 0}.audition-options label{display:grid;gap:7px;font-size:11px;color:#bbc4ca}.audition-options select{font:inherit;font-size:13px;color:#d1faf5;background:#34404c;border:1px solid #83949f66;border-radius:8px;padding:10px;min-width:120px}.audition-options button{font-size:12px;min-height:40px}.voice-audition .audition-note{font-size:10px;color:#a0adb6;margin-bottom:0}
@media(min-width:1500px){.shell{padding-right:240px}}
@media(max-width:560px){
 .presenter-dock{width:151px;height:192px;right:10px;bottom:max(10px,env(safe-area-inset-bottom))}
 .presenter-dock .host-surface{width:168px;height:168px;right:-8px;bottom:28px}
 .host-controls{gap:3px;padding:4px}.host-controls button{min-width:32px;height:32px}.host-status{font-size:9px}
 .host-controls .host-minimize{font-size:22px}.shell{padding-bottom:205px}
 .lesson>.player{flex-wrap:wrap}.lesson>.player .track{min-width:60px}.narration-rate{margin-left:auto}
 .docked-banner .presenter-copy h2,.docked-banner.hero-host .presenter-copy h2{max-width:100%;font-size:27px}
 .docked-banner .presenter-copy>p,.docked-banner.hero-host .presenter-copy>p{max-width:100%;font-size:12px}
 .docked-banner .host-preview-note{max-width:none}
}
@media(prefers-reduced-motion:reduce){.presenter-dock *{animation:none!important}}

.lesson-narrator{display:none}.host-native-fallback{position:absolute;inset:0;z-index:3;mix-blend-mode:screen;mask-image:linear-gradient(#000 75%,transparent)}.host-native-fallback>.lesson-narrator{display:block;width:100%;height:100%;object-fit:contain}
