
video-player,
video-neutral-skin,
youtube-video,
vimeo-video {
  display: block;
  width: 100%;
  height: 100%;
  min-width: unset;
  min-height: unset;
}
.vidstack-video {
	display: block;
	width: 100%;
}

/* Reserve the 16:9 box immediately, before the module registers the elements */
.vidstack-video video-player,
.vidstack-video video-neutral-skin {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	min-height: 0;
	overflow: hidden;
}

/* Until the elements are defined, keep the raw media from sizing the box */
.vidstack-video video-player:not(:defined) > *,
.vidstack-video video-neutral-skin:not(:defined) > * {
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}

/* Optional: hide the unstyled media entirely until the skin is ready */
.vidstack-video video-neutral-skin:not(:defined) > * {
	visibility: hidden;
}