/* Wrapper */
.nl-video {
  position: relative;
}

.nl-video .plyr {
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  /* --plyr-color-main: #1f6fff; */
}

.plyr--video .plyr__controls {
  background: rgb(14 24 42 / 17%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3px 10px;
  gap: 10px;
  min-height: 31px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Buttons */
.plyr__control {
  background: transparent;
  border-radius: 10px;
  padding: 8px;
}

.plyr__control:hover {
  background: rgba(255, 255, 255, 0.1);
}

.plyr__control svg {
  width: 18px;
  height: 18px;
}

/* Progress: very slim */
.plyr__progress {
  margin-left: 2px;
  margin-right: 2px;
}

.plyr__progress input[type="range"] {
  height: 3px;
  color: #2c67b6;
}

.plyr__progress__buffer {
  opacity: 0.22;
}

/* Current time: small and quiet */
.plyr__time {
  font-size: 12px;
  opacity: 0.78;
  padding-left: 2px;
  padding-right: 2px;
}

/* Keep layout stable */
.plyr--video .plyr__controls .plyr__controls__item {
  margin: 0;
}

/* Overlay play button: minimal glass */
.plyr__control--overlaid {
  background: rgba(14, 24, 42, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 999px;
  box-shadow: none;
}

/* Subtle bottom gradient only when controls are visible */
.plyr::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  pointer-events: none;

  opacity: 0;
  transition: opacity 180ms ease;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.plyr.plyr--controls::after {
  opacity: 1;
}

/* Safety: hide any volume UI if it ever appears */
.plyr__volume {
  display: none;
}
.plyr__controls [data-plyr="mute"] {
  display: none;
}

.plyr--video .plyr__controls .plyr__controls__item:hover,
.plyr--video .plyr__controls .plyr__controls__item:focus {
  background: none;
}

.plyr__video-wrapper {
  background: rgb(255 255 255);
}
