:host(.loaded) div.youtube-container {
  opacity: var(--sparkle-youtube-opacity-loaded, 1);
}

div.youtube-container {
  opacity: var(--sparkle-youtube-opacity-not-loaded, 0);
  transition: var(--sparkle-youtube-transition, opacity 0.15s linear);
}