/* === Player Controls === */
/* Overlay: eigener Positionier-Context */
.player-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}
.player {
    background-size: cover;
    background-position: right center;
    cursor: pointer;
    transition: all 0.1s ease;
    overflow: visible;


    /* box-shadow: 
    0px 0px 0px 2px rgba(1, 2, 1, 0.8),
    -4px 4px 12px 0px rgba(103, 246, 59, 0.8),
    4px -4px 12px 2px rgba(0, 225, 255, 0.8); */

    /* box-shadow: h-offset v-offset blur spread color  */
    /* https://www.csstyle.me/box-shadow-css-generator/ */
}

/* https://66colorful.com/tools/gradient-generator */
/* needs overflow: visible; !!!!___IMPORTANT */
.player::before
 {
  content: "";
  position: absolute; 
  inset: -3px;
  background-image: linear-gradient(30deg, #13f713 0%, #00000000 35%, #00000000 65%, #13f713 100%);
  filter: blur(1px);
  transform: translate3d(0px,0px,-1px);
  pointer-events: none;
  border-radius: 5px;
}

/* Hover effect for player elements */
.player:hover {
    box-shadow: 0 0 12px 4px #13f713;
    transform: translateY(-2px);
}



/* Play/Pause – dynamisch zur Kartenbreite */
.player-playpause {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: clamp(40px, 25%, 58px);
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  background: rgba(0,0,0,0.6);
  display: grid;
  place-items: center;
  pointer-events: auto;
  transition: background .2s ease;
}
.player-playpause:hover { background: var(--greenhover); }
.player-playpause svg { width: 70%; height: 70%; }


/* Progress – bündig unten */
.player-progress {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;          /* bei „wirklich bündig“ -> 0 setzen */
  height: 0.4rem;
  background: rgba(255,255,255,0.3);
  border-radius: 9999px;
  overflow: hidden;
  pointer-events: auto;
}
.player-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--greenhover);
  transition: width .15s linear;
}


.icon-play { width: 3rem; height: 3rem; fill: #ffffff}

.icon-pause { width: 3rem; height: 3rem; fill: #ffffff}