.yl-banner-video-unmute {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  min-height: 52px;
  padding: 12px 22px;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: var(--yl-theme-radius, 14px);
  background: rgba(15, 23, 42, .9);
  color: #fff;
  font: inherit;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(8px);
  animation: yl-banner-video-sound-pulse 1.8s ease-in-out infinite;
}

.yl-banner-video-unmute[hidden] {
  display: none;
}

.yl-banner-video-unmute svg {
  flex-shrink: 0;
}

.yl-banner-video-unmute:hover,
.yl-banner-video-unmute:focus-visible {
  background: #0f766e;
  outline: 3px solid #fff;
  outline-offset: 4px;
  animation: none;
}

#homeHeroCarousel.yl-banner-video-hover .carousel-indicators {
  bottom: 46px;
}

#homeHeroCarousel .carousel-item video[controls] {
  pointer-events: auto;
}

@keyframes yl-banner-video-sound-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .55), 0 8px 24px rgba(0, 0, 0, .35);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0), 0 8px 32px rgba(0, 0, 0, .55);
    background: rgba(15, 118, 110, .95);
  }
}

@media (max-width: 575.98px) {
  .yl-banner-video-unmute {
    min-height: 46px;
    padding: 10px 16px;
  }

  .yl-banner-video-unmute svg {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yl-banner-video-unmute {
    animation: none;
  }
}
