.lfl-mobile-video-controls { display:flex; align-items:center; gap:.35rem; padding:1px 4px; background:#101010; color:white }
.lfl-mobile-video-controls input { min-width:0; flex:1 }
.lfl-mobile-video-controls button,.lfl-mobile-video-controls select {
  color:white; background:#202020; border:1px solid #555; border-radius:.4rem; box-sizing:border-box; min-width:36px; height:32px; padding:0 .35rem; font:inherit; line-height:1; cursor:pointer
}
.lfl-mobile-video-controls select,.lfl-mobile-video-controls button:last-child { margin-inline-start:auto }
.lfl-live-exit,#stream.is-offline-poster ~ .lfl-mobile-video-controls { display:none }
html.lfl-video-expanded { overflow:hidden }
html.lfl-video-expanded [data-video-view] {
  box-sizing:border-box; position:fixed!important; inset:0!important; margin:0!important; width:100%!important; height:100%!important;
  max-width:none; max-height:none; padding:0; border:0; border-radius:0; background:#000; color:white;
  display:flex!important; flex-direction:column; justify-content:center; z-index:2147483647; overflow:hidden
}
html.lfl-video-expanded [data-video-view] :is(video,iframe.player,.viewer-video-surface) {
  width:100%; flex:1 1 0; height:0; min-height:0; max-height:none!important; object-fit:contain; border-radius:0
}
html.lfl-video-expanded [data-video-view] .viewer-video-surface video { height:100% }
[data-video-view] .lfl-mobile-video-controls select { display:none }
[data-video-view] .lfl-mobile-video-controls .lfl-live-exit { display:block }
@media (orientation:portrait) {
  html.lfl-video-expanded [data-video-view="landscape"] { width:100vh!important; width:100dvh!important; height:100vw!important; transform-origin:0 0; transform:translateX(100vw) rotate(90deg) }
}
@media (orientation:landscape) {
  html.lfl-video-expanded [data-video-view="portrait"] { width:100vh!important; width:100dvh!important; height:100vw!important; transform-origin:0 0; transform:translateY(100dvh) rotate(-90deg) }
}

.lfl-mobile-video-controls .lfl-video-volume { flex:0 1 82px }
[data-lfl-mobile-player]:fullscreen {
  display:flex; flex-direction:column; align-items:stretch; background:#000; padding:0
}
[data-lfl-mobile-player]:fullscreen > video {
  flex:1 1 0; min-height:0; height:0; width:100%; max-height:none; object-fit:contain
}
[data-lfl-mobile-player]:fullscreen > .lfl-mobile-video-controls { flex:none }

.lfl-media-viewer .wrap > .card { padding:0 }
html.lfl-video-expanded .lfl-media-viewer :is(.top-bar,.lfl-mobile-dock),
html:fullscreen .lfl-media-viewer :is(.top-bar,.lfl-mobile-dock) { display:none!important }
@media (max-width:720px) {
  .lfl-media-viewer:has(#lflMobileDock) #lflScrollNav[data-scroll-panel] {
    bottom:calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .lfl-viewer-embedded .lfl-media-viewer { padding-bottom:0!important }
}
