/* Real motion supplies the gallery's color. Controls stay quiet until needed. */
.lab-watch{width:100%;padding:0;border:0;text-align:left;cursor:pointer}
.lab-watch video{pointer-events:none}
.lab-player{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#000;color:#f4f4f1;color-scheme:dark;overflow:hidden}
.lab-player::backdrop{background:#000}
.lab-player[open]{display:flex;flex-direction:column}
.lab-player-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:20px;padding:calc(16px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 16px max(20px,env(safe-area-inset-left))}
.lab-player-header h2{min-width:0;font:inherit;font-size:16px;font-weight:400;line-height:1.4}
.lab-player-close{flex:none;display:flex;align-items:center;justify-content:center;gap:10px;min-width:44px;min-height:44px;font-size:14px}
.lab-player-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.lab-player-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:0 clamp(12px,3vw,48px) max(24px,env(safe-area-inset-bottom))}
.lab-player-video{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;background:#000}
.lab-player-error{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 40px);padding:16px 20px;background:#000;font-size:14px;line-height:1.5;text-align:center}
.lab-player-error button{min-height:44px;text-decoration:underline;text-underline-offset:4px}
@media(min-width:1100px){.lab-player-header{padding-inline:40px}}
@media(max-width:700px){.lab-player-header h2{font-size:14px}.lab-player-close span{display:none}.lab-player-header{padding-top:calc(8px + env(safe-area-inset-top));padding-bottom:8px}}
