#song-video canvas.html5-blur-canvas,
#song-image .html5-blur-image {
  filter: blur(var(--blur, 100px));
  opacity: var(--opacity, 1);
  width: var(--width, 100%);
  height: var(--height, 100%);

  pointer-events: none;
}

#song-video canvas.html5-blur-canvas:not(.fullscreen),
#song-image .html5-blur-image {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#song-video canvas.html5-blur-canvas.fullscreen {
  position: fixed;
  left: 0;
  top: 0;

  width: 100%;
  height: 100%;
}

#song-video .html5-video-container {
  height: 100%;
}

#player:not([video-mode]):not(.video-mode):not([player-ui-state='MINIPLAYER']):not([is-mweb-modernization-enabled])  {
  width: 100%;
  margin: 0 auto !important;
  overflow: visible;
}

/* Fix ambient mode overlapping other elements #2520 */
.song-button.ytmusic-av-toggle, .video-button.ytmusic-av-toggle {
  z-index: 1;
  background-color: transparent;
}
#side-panel.side-panel.ytmusic-player-page {
  z-index: 0;
}
