.video-stage.video-ready{aspect-ratio:16/9;min-height:200px}
.video-stage.youtube-active{display:block;aspect-ratio:auto;overflow:hidden}
.youtube-frame{position:relative;aspect-ratio:16/9;min-height:200px;background:#000}
.youtube-frame iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0}
.youtube-controls{position:relative;display:flex;align-items:center;gap:12px;padding:8px 14px;background:#fff;color:var(--deep);border-top:1px solid var(--border)}
.youtube-control{display:inline-flex;justify-content:center;align-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #e8ddf8;border-radius:10px;background:#f8f4ff;color:var(--structure);cursor:pointer}
.youtube-control:hover{background:#eee4ff}.youtube-control:disabled{opacity:.45;cursor:wait}.youtube-control[hidden]{display:none}
.youtube-control .icon{width:19px;height:19px}.youtube-control .icon use[href="#i-play"]{fill:currentColor;stroke-width:1}
.youtube-seek{display:block;width:100%;min-width:40px;height:36px;accent-color:var(--purple);cursor:pointer}
.youtube-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.youtube-error{position:relative;width:auto;height:auto;margin:0;padding:12px 18px;overflow:visible;clip-path:none;white-space:normal;background:#fff7f2;color:var(--deep);font-size:12px;line-height:1.7}
.youtube-error a{text-decoration:underline;color:var(--structure)}
.youtube-load-error{position:absolute;left:16px;right:16px;bottom:84px;z-index:3;text-align:center;color:#fff;font-size:12px}
.video-stage.youtube-active:fullscreen{width:100vw;height:100dvh;border-radius:0;display:flex;flex-direction:column;background:#000}
.youtube-active:fullscreen .youtube-frame{aspect-ratio:auto;flex:1;min-height:0}.youtube-active:fullscreen .youtube-controls{flex-shrink:0}
.real-capture{aspect-ratio:16/9;background:#f8f2ff}
.real-capture>video,.luzia-live-capture>video{display:block;width:100%;height:100%;object-fit:contain;background:#faf6ff}
.real-capture>video[hidden]{display:none}
.real-capture>img[hidden]{display:none}
.screen-dialog>video{display:block;width:100%;height:auto;max-height:calc(100dvh - 106px);object-fit:contain;background:#f8f2ff}
.screen-dialog>video[hidden],.screen-dialog>img[hidden]{display:none}
.luzia-live-capture{aspect-ratio:16/9;background:#f8f2ff}
.luzia-live-heading{display:flex;align-items:center;gap:10px;padding:15px 20px;border-bottom:1px solid var(--border);background:#fff}
.luzia-live-heading strong{font-size:13px;font-weight:600}.luzia-live-heading small{font-size:9px;color:var(--muted);display:block;margin-top:3px}
.luzia-live-heading .luzia-mark{width:34px;height:34px;border-radius:10px}
@media(max-width:600px){.youtube-controls{gap:6px;padding:6px 8px}.youtube-control{width:40px;height:44px;border-radius:8px}.youtube-seek{min-width:36px}.youtube-frame{min-height:200px}.video-stage.video-ready{min-height:200px}.youtube-load-error{font-size:10px}.luzia-live-heading{padding:13px 16px}.luzia-live-heading strong{font-size:12px}}
