.ypp-latest-episode h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.ypp-video-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
}
.ypp-thumbnail {
    width: 100%;
    border-radius: 5px;
    display: block;
}

.ypp-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    transition: background 0.3s;
    border: 2px solid white;
}

.ypp-play-overlay svg {
    width: 50px;
    height: 50px;
}

.ypp-video-wrapper:hover .ypp-play-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.ypp-four-episodes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.ypp-episode-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
}

.ypp-thumbnail {
    width: 100%;
    display: block;
    border-radius: 5px;
}

.ypp-overlay {
    display: none;
}

/* Styles du lecteur fixe */
#ypp-fixed-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    padding: 10px;
    font-family: Arial, sans-serif;
    border-top: 2px solid #000;
    background: #2A2A2A;
    height: 80px;
}

#ypp-video-thumb {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 10px;
}

#ypp-video-author {
    color: #E1D8D8;
    font-family: Roboto, serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.09375rem;
    text-transform: uppercase;
    margin-bottom: 0;
}

#ypp-video-title {
    color: #FFF;
    font-family: Roboto, serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
}

#ypp-video-title {
    display: inline-block;
    white-space: nowrap; /* Empêche le texte de passer à la ligne */
    overflow: hidden;
    position: relative;
    width: 100%; /* Largeur du conteneur */
}

#ypp-video-title span {
    display: inline-block;
    padding-left: 100%; /* Permet un début hors de la box */
    animation: marquee 20s linear infinite; /* Durée et boucle */
}

@keyframes marquee {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

#player-infos {
    width: 24%;
}

#player-controls {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    width: 18% !important;
    min-width: 150px !important;
}

#player-controls button, #player-controls button:hover {
    color: unset;
    border: unset;
    padding: unset;
    background-color: unset;
}



#player-controls svg{
    background-color: transparent !important;
    border-radius: 50% !important;
    height: 40px;
    width: 40px ;
    position: relative !important;
    top: 9px;
    box-sizing: content-box !important;
    fill: #fff !important;
}

.spp-volume svg {
    max-width: 19px !important;
    top: 10px !important;
    height: 40px !important;
}
#ypp-play-icon, #ypp-pause-icon {
    top: unset !important;
}
#ypp-play-pause {
    position: relative;
    top: 10px;
    margin: 0 10px;
}

.ypp-control-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.ypp-button-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.ypp-icon {
    transition: opacity 0.3s ease;
}

#ypp-progress-stamp {
    display: flex;
    align-items: center;
}

#ypp-progress-stamp span {
    margin: 0 5px;
}

.hidden {
    opacity: 0;
    position: absolute;
    display: none;
}

.spp-control.spp-play {
    transform: translate(-35%,-50%) !important;
    max-width: 80% !important;
    max-height: 80% !important;
}

#ypp-progress-container {
    width: 100%;
    background: #444;
    height: 5px;
    position: relative;
    cursor: pointer;
    margin-top:5px;
}

#ypp-progress-bar {
    width: 0%;
    height: 100%;
    background: red;
}

#ypp-progress-indicator {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    top: -3px;
    left: 0;
}

/* Contrôles */
button {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin: 0 5px;
}

/* Contrôle du volume */
#ypp-volume-container {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    max-height: 50px;
}

#ypp-volume-slider {
    position: absolute;
    left: 50%;
    bottom: 115%;
    transform: translateX(-50%) rotate(-90deg);
    display: none;
    width: 80px;
    background: linear-gradient(to top, #777, #fff);
    border-radius: 10px;
}