/* Load with the entry page: background video framing must not depend on
   lazy panel styles, story activation, or desktop layout initialization. */
#app #chat-panel #bg-video[hidden] {
  display: none;
}

#app #chat-panel #bg-video {
  top: var(--chat-background-top-inset, 0px);
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% - var(--chat-background-top-inset, 0px));
  object-fit: contain;
  object-position: center;
}

#app #voice_mode-panel video.voice-mode-media-item {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
