.now-playing {
    
    align-items: center;
    justify-content: stretch;
    overflow: hidden;           
    max-width: 100%;
    min-width: 0%;
    padding-left: 10px;
}

.now-playing iframe {
    width: 100%;
    height: 60px;
    border: none;
}

.play-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    padding: 8px 8px;
    cursor: pointer;
    margin-top: 10px;
    font-family: "Eagle Lake", serif;
    transition: background 0.3s;
    text-shadow: 0px 0px 10px var(--font-shadow);
}


.play-btn:hover {
    background: var(--button-hover);
    color: var(--text-color-hover);
}

.custom-player {
    display: grid;
    grid-template-columns: auto 1fr auto 2fr auto 50px 20px auto;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 100%;
}

#customPlayBtn {
    grid-column: 1;
    justify-self: start;
    background: none;
    color: var(--text-color);
    font-size: var(--font-size);
    padding: 10px 10px;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0);
}

.custom-player .icon-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    color: var(--icons-color);
    transition: color 0.3s ease;
  }
  
  .custom-player button:hover .icon-svg,
  .custom-player a:hover .icon-svg {
    color: var(--icons-hover);
  }


#customPlayBtn,
#muteBtn,
#scLink {
  all: unset; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0);
  border-radius: 50%;
  cursor: pointer;
}

#customPlayBtn:hover,
#muteBtn:hover,
#scLink:hover {
  background: var(--button-hover);
}

.icon {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.play_icon {
    width: 20px;
    height: 20px;
    pointer-events: none;
  }

#customTime {
    min-width: 60px;
    font-size: 8px;
}

#customSeek {
    flex-grow: 1;
    height: 4px;
    min-width: 1fr;
    max-width: 1800px;
}

#scLink {
    font-size: 12px;
    text-decoration: none;
    justify-self: end;
    border: 1px solid rgba(0, 0, 0, 0);
    padding: 0px 0px;
    background: none;
    cursor: pointer;
}

#customVolume {
    width: 60px;
    height: 4px;
}

.track-title {
    max-width: 800px;            /* Taille fixe responsive */
    min-width: 200px;
    width: 100%;
    height: 20px;                /* Hauteur fixe */
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.track-title span {
    display: inline-block;
    padding-left: 100%;
    animation: scrollText 10s linear infinite;
    white-space: nowrap;
}

@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

#nowPlayingBar {
    flex: 1;
    background: rgba(222, 19, 19, 0); 
    font-family: "Eagle Lake", serif;
    color: #282726;
    display: flex;
    align-items: center;
    font-size: 10px;
    margin-right: -10px;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    height: 4px;
    cursor: pointer;
  }
  
  /* Barre (track) */
  input[type="range"]::-webkit-slider-runnable-track {
    background: var(--text-color);
    height: 2px;
    border-radius: 1px;
  }
  input[type="range"]::-moz-range-track {
    background: var(--text-color);
    height: 2px;
    border-radius: 1px;
  }
  
  /* Curseur (thumb) */
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: var(--text-color);
    border: 1px solid #ffffff00;
    margin-top: -4px; 
  }
  input[type="range"]::-moz-range-thumb {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: var(--text-color);
    border: 1px solid #ffffff00;
  }