.vjs-custom-unmute-button {
  display: block;
  align-items: center;
  align-items: left;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5) !important;
  color: #ddd !important;
  border: 1px solid transparent !important;
  padding: 8px 6px;
  border-radius: 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.6em !important;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

/* Video.js Icon-Styling */
.vjs-custom-unmute-button .vjs-icon-placeholder:before {
  font-family: VideoJS; /* Nutzt die interne Video.js Schriftart */
  font-size: 1.25em;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  vertical-align: middle;
  padding-right: 6px;
  content: "\f104" !important;
}

.vjs-custom-unmute-button:hover {
  /* background: #ff5500;
  transform: scale(1.05); */
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
}

/* Layer-Positionierung bleibt wie zuvor */
.vjs-interactive-layer {
  position: absolute;
  bottom: 5em; /* Über der Control-Bar */
  left: 10px;
  z-index: 10;
  pointer-events: none;
  /* background: rgba(255, 255, 0, 0.7); */
}


/* 1. Verstecken, wenn ein Fehler vorliegt (.vjs-error) */
.video-js.vjs-error .vjs-custom-unmute-button {
  display: none !important;
}

/* 2. Verstecken, wenn das Video noch nicht gestartet wurde (Poster sichtbar) */
/* .vjs-has-started wird erst hinzugefügt, wenn das erste Frame läuft */
.video-js:not(.vjs-has-started) .vjs-custom-unmute-button {
  display: none !important;
}

/* 3. Optional: Verstecken, wenn pausiert (falls JS mal zu langsam ist) */
.video-js.vjs-paused .vjs-custom-unmute-button {
  display: none !important;
  opacity: 0; 
}