/* =========================================================
   Lecteur d'albums - carlbouchaux.com
   ========================================================= */

.cb-album {
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Pochette */

.cb-album-cover {
    text-align: center;
    margin-bottom: 20px;
}

.cb-album-cover img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Titres */

.cb-album h2,
.cb-album h3 {
    text-align: center;
}

.cb-album h2 {
    margin: 15px 0 3px;
}

.cb-album h3 {
    margin: 0 0 25px;
    font-weight: normal;
}

/* Lecteur */

.cb-player {
    max-width: 600px;
    margin: 0 auto;
}

.cb-now-playing {
    text-align: center;
    margin: 0 0 12px;
}

.cb-now-label {
    font-weight: bold;
}

/* Barre de progression */

.cb-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 10px 0 15px;
}

.cb-current-time,
.cb-duration {
    min-width: 40px;
    font-size: 0.85em;
    text-align: center;
}

.cb-progress {
    flex: 1;
    cursor: pointer;
}

/* Boutons principaux */

.cb-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
    min-height: 0;
}

.cb-controls button {
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    padding: 4px 10px;
}

.cb-play {
    font-size: 28px !important;
}

/* Liste des morceaux */

.cb-track-list {
    max-width: 600px;
    margin: 0 auto!important;
    padding: 0!important;
    list-style: none;
}

.cb-track-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}

.cb-track {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 6px;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.cb-track:hover {
    background: rgba(128, 128, 128, 0.08);
}

.cb-track-number {
    flex: 0 0 35px;
    opacity: 0.65;
}

.cb-track-name {
    flex: 1;
}

.cb-track-status {
    flex: 0 0 30px;
    text-align: center;
}

/* Téléphones */

@media (max-width: 600px) {

    .cb-album {
        margin-bottom: 45px;
    }

    .cb-album-cover img {
        width: 250px;
    }

    .cb-progress-row {
        gap: 5px;
    }

    .cb-track {
        padding: 10px 4px;
    }
}
