.cvp-video-preview {
  position: relative;
  width: 100%;
  display: inline-block;
  line-height: 0;
}

.cvp-video-thumbnail {
  width: 100%;
  display: block;
}

.cvp-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  width: 20%;
  max-width: 100px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cvp-play-button img {
  width: 100%;
  height: 100%;
  display: block;
}

.cvp-video-caption {
  font-size: 16px;
  font-weight: 500;
  margin-top: 18px;
}

.cvp-video-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: #1C1B1F;
  z-index: 9999 !important;
  justify-content: center;
  align-items: center;
}

.cvp-video-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(100vw - 36px);
}

.cvp-video-inner video.cvp-video-portrait {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background-color: black;
  display: block;
}

.cvp-video-controls-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 18px;
  pointer-events: auto;
  z-index: 10;
}

.cvp-video-controls-top .left-controls {
  display: flex;
  gap: 10px;
}

.cvp-toggle-play,
.cvp-toggle-mute,
.cvp-close-btn {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cvp-video-controls-top img,
.cvp-toggle-play img,
.cvp-toggle-mute img,
.cvp-close-btn img {
  width: 100%;
  height: 100%;
  display: block;
}
