video[data-sahxl-no-native-video-ui="1"]::-webkit-media-controls,
video[data-sahxl-no-native-video-ui="1"]::-webkit-media-controls-panel,
video[data-sahxl-no-native-video-ui="1"]::-webkit-media-controls-play-button,
video[data-sahxl-no-native-video-ui="1"]::-webkit-media-controls-start-playback-button,
video[data-sahxl-no-native-video-ui="1"]::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button{
  display:none !important;
  -webkit-appearance:none !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Keep mobile/page videos visible even while autoplay is still resolving.
   The JS now reveals videos once the first frame is available, not only after playback starts. */
video[data-sahxl-autoplay-pending="1"]:not(.mobile-drawer__bg-video){
  opacity:1 !important;
  pointer-events:none !important;
}

