.lsp-video {
  position: relative;
  margin: var(--space-6) 0;
}

.lsp-video .lsp-video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.lsp-video__poster + .video-player { background: transparent; }
.lsp-video__poster + .video-player > [data-lovely-video-stage] { background: #000; }

.lsp-fallback {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

.lsp-fallback .lsp-fallback__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}

.lsp-fallback .lsp-fallback__name {
  margin: 0;
  padding: var(--space-4);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: var(--leading-xl);
  text-align: center;
}

.lsp-fallback .lsp-fallback__image + .lsp-fallback__name {
  position: relative;
  align-self: end;
  justify-self: stretch;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.7));
  color: #fff;
  text-align: left;
}

@media (max-width: 767px) {
  .lsp-fallback .lsp-fallback__name { font-size: var(--text-lg); line-height: var(--leading-lg); }
}
