.ndd-app{
    background:linear-gradient(180deg,#181818,#0f0f0f);
    color:#fff;
    padding:28px;
    border-radius:24px;
    margin-bottom:185px;
    font-family:Arial,sans-serif;
}

.ndd-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
    margin-bottom:22px;
    flex-wrap:wrap;
}

.ndd-hero h1{
    font-size:38px;
    margin:0 0 6px;
    color:#fff;
}

.ndd-hero p{
    margin:0;
    color:#b3b3b3;
}

#ndd-search{
    width:100%;
    max-width:380px;
    padding:13px 18px;
    border-radius:40px;
    border:none;
    outline:none;
    font-size:15px;
}

.ndd-tabs{
    display:flex;
    gap:10px;
    margin:0 0 26px;
    flex-wrap:wrap;
}

.ndd-tab{
    border:none;
    border-radius:999px;
    padding:10px 18px;
    background:#2a2a2a;
    color:#fff;
    font-weight:800;
    cursor:pointer;
}

.ndd-tab.is-active{
    background:#1db954;
    color:#000;
}

.ndd-section{
    display:none;
}

.ndd-section.is-visible{
    display:block;
}

.ndd-section-title{
    margin:0 0 18px;
}

.ndd-section-title h2{
    margin:0 0 6px;
    color:#fff;
    font-size:26px;
}

.ndd-section-title p{
    margin:0;
    color:#aaa;
}


/* Stats + Populaires */
.ndd-stats{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:0 0 24px;
}

.ndd-stats span{
    background:#242424;
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
    border-radius:999px;
    padding:9px 14px;
    font-size:13px;
    font-weight:800;
}

.ndd-featured{
    margin:0 0 28px;
    padding:18px;
    border-radius:24px;
    background:linear-gradient(135deg,rgba(29,185,84,.12),rgba(255,255,255,.03));
    border:1px solid rgba(255,255,255,.08);
}

.ndd-featured-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:14px;
}

.ndd-featured-card{
    display:grid;
    grid-template-columns:76px 1fr;
    gap:13px;
    align-items:center;
    background:rgba(0,0,0,.28);
    border:1px solid rgba(255,255,255,.07);
    border-radius:18px;
    padding:12px;
}

.ndd-featured-card img{
    width:76px;
    height:76px;
    object-fit:cover;
    border-radius:14px;
    box-shadow:0 10px 22px rgba(0,0,0,.35);
}

.ndd-featured-card h3{
    margin:3px 0 4px;
    color:#fff;
    font-size:16px;
    line-height:1.2;
}

.ndd-featured-card p{
    margin:0 0 8px;
    color:#b3b3b3;
    font-size:12px;
}


/* Singles */
.ndd-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(185px,1fr));
    gap:18px;
}

.ndd-card{
    background:#202020;
    border-radius:18px;
    padding:13px;
    transition:.25s ease;
    display:flex;
    flex-direction:column;
}

.ndd-card:hover{
    background:#292929;
    transform:translateY(-3px);
}

.ndd-cover{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:14px;
    background:#333;
}

.ndd-info h3{
    color:#fff;
    font-size:17px;
    margin:12px 0 4px;
    line-height:1.2;
}

.ndd-info span{
    color:#9f9f9f;
    font-size:12px;
    display:block;
    margin-bottom:7px;
}

.ndd-info p{
    color:#cfcfcf;
    font-size:13px;
    line-height:1.4;
    margin:0;
    min-height:55px;
}

.ndd-actions{
    display:flex;
    gap:8px;
    margin-top:13px;
    align-items:center;
    flex-wrap:wrap;
}

.ndd-play{
    background:#1db954;
    color:#000;
    border:none;
    padding:10px 15px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
    line-height:1;
    width:auto;
    height:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

.ndd-play.is-playing{
    background:#fff;
}

.ndd-download{
    background:#fff;
    color:#000!important;
    text-decoration:none;
    padding:10px 13px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    line-height:1;
    display:inline-flex;
    align-items:center;
}

.ndd-links{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    margin-top:12px;
}

.ndd-links a,
.ndd-mini-link{
    background:#303030;
    color:#fff!important;
    text-decoration:none;
    padding:7px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
}

.ndd-links a:hover,
.ndd-mini-link:hover{
    background:#3d3d3d;
}

/* Albums */
.ndd-albums-grid{
    display:grid;
    gap:20px;
}

.ndd-album-card{
    background:linear-gradient(135deg,#222,#141414);
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;
    padding:18px;
    box-shadow:0 12px 30px rgba(0,0,0,.35);
}

.ndd-album-head{
    display:grid;
    grid-template-columns:190px 1fr;
    gap:22px;
    align-items:start;
}

.ndd-album-cover{
    width:190px;
    height:190px;
    object-fit:cover;
    border-radius:18px;
    box-shadow:0 14px 34px rgba(0,0,0,.45);
}

.ndd-album-info h3{
    font-size:28px;
    color:#fff;
    margin:4px 0 8px;
}

.ndd-type{
    color:#1db954;
    font-weight:900;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.ndd-album-info p{
    color:#ccc;
    line-height:1.55;
    margin:0 0 14px;
}

.ndd-album-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:12px 0;
}

.ndd-album-toggle{
    background:#fff;
    color:#000;
    border:none;
    padding:10px 15px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
}

.ndd-tracklist{
    display:none;
    margin-top:18px;
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:12px;
}

.ndd-album-card.is-open .ndd-tracklist{
    display:block;
}

.ndd-track-row{
    display:grid;
    grid-template-columns:44px 1fr auto;
    gap:12px;
    align-items:center;
    padding:10px 8px;
    border-radius:12px;
}

.ndd-track-row:hover{
    background:rgba(255,255,255,.05);
}

.ndd-track-number{
    color:#aaa;
    font-weight:800;
    text-align:center;
}

.ndd-track-row strong{
    color:#fff;
    font-size:14px;
}

.ndd-track-actions{
    display:flex;
    gap:7px;
    align-items:center;
    flex-wrap:wrap;
}

.ndd-empty{
    color:#aaa;
    padding:12px 0;
}

/* Lecteur bas amélioré - compact premium */
.ndd-player{
    position:fixed;
    left:50%;
    bottom:18px;
    transform:translateX(-50%);
    width:calc(100% - 40px);
    max-width:980px;
    background:linear-gradient(135deg,rgba(20,20,20,.98),rgba(8,8,8,.98));
    color:#fff;
    border-radius:24px;
    padding:14px 18px;
    z-index:9999;
    box-shadow:0 18px 45px rgba(0,0,0,.65);
    border:1px solid rgba(255,255,255,.08);
    font-family:Arial,sans-serif;
}

.ndd-player-inner{
    display:grid;
    grid-template-columns:64px minmax(0,1fr) 86px;
    gap:16px;
    align-items:center;
}

.ndd-player img,
#ndd-player-cover{
    width:64px;
    height:64px;
    border-radius:14px;
    object-fit:cover;
    display:block!important;
    background:#222;
    box-shadow:0 8px 25px rgba(0,0,0,.45);
}

.ndd-player-info{
    min-width:0;
    overflow:hidden;
}

.ndd-player strong,
#ndd-player-title{
    display:block;
    font-size:17px;
    line-height:1.18;
    margin:0 0 4px;
    color:#fff;
    font-weight:900;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:100%;
}

.ndd-player-artist,
#ndd-player-artist{
    display:block;
    font-size:12px;
    line-height:1.25;
    color:#b3b3b3;
    margin-bottom:10px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:100%;
}

.ndd-player-controls{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
}

.ndd-control-btn{
    border:none!important;
    background:#2d2d2d!important;
    color:#fff!important;
    border-radius:999px!important;
    padding:8px 13px!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:1!important;
    cursor:pointer!important;
    min-width:auto!important;
    width:auto!important;
    height:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
}

.ndd-control-btn:hover{
    background:#3a3a3a!important;
}

.ndd-main-btn{
    background:#1db954!important;
    color:#000!important;
    padding:9px 20px!important;
}

.ndd-progress-row{
    display:grid;
    grid-template-columns:40px minmax(0,1fr) 40px;
    gap:9px;
    align-items:center;
}

.ndd-time{
    font-size:12px;
    color:#b3b3b3;
}

#ndd-progress{
    width:100%;
    min-width:0;
    height:5px;
    accent-color:#1db954;
    cursor:pointer;
}

.ndd-player-download{
    background:#fff;
    color:#000!important;
    padding:11px 16px;
    border-radius:999px;
    font-size:13px;
    font-weight:900;
    text-decoration:none;
    white-space:nowrap;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    justify-self:end;
}

.ndd-player-download.is-disabled{
    opacity:.25;
    pointer-events:none;
    background:#333!important;
    color:#888!important;
}

.ndd-player:not(.is-active){
    background:linear-gradient(135deg,#151515,#0d0d0d);
}

/* Responsive */
@media(max-width:900px){
    .ndd-grid{
        grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
    }

    .ndd-album-head{
        grid-template-columns:150px 1fr;
    }

    .ndd-album-cover{
        width:150px;
        height:150px;
    }
}

@media(max-width:700px){
    .ndd-player{
        bottom:10px;
        width:calc(100% - 20px);
        padding:12px;
        border-radius:20px;
    }

    .ndd-player-inner{
        grid-template-columns:54px minmax(0,1fr);
        gap:10px;
    }

    .ndd-player img,
    #ndd-player-cover{
        width:54px;
        height:54px;
        border-radius:12px;
    }

    .ndd-player strong,
    #ndd-player-title{
        font-size:14px;
    }

    .ndd-player-download{
        grid-column:1 / -1;
        width:100%;
        padding:10px;
    }

    .ndd-control-btn{
        padding:8px 11px!important;
        font-size:12px!important;
    }

    .ndd-main-btn{
        padding:9px 15px!important;
    }

    .ndd-progress-row{
        grid-template-columns:36px 1fr 36px;
    }

    .ndd-album-head{
        grid-template-columns:1fr;
    }

    .ndd-album-cover{
        width:100%;
        height:auto;
        aspect-ratio:1/1;
    }

    .ndd-track-row{
        grid-template-columns:34px 1fr;
    }

    .ndd-track-actions{
        grid-column:1 / -1;
        padding-left:46px;
    }
}

@media(max-width:600px){
    .ndd-app{
        padding:18px;
        border-radius:18px;
        margin-bottom:235px;
    }

    .ndd-hero h1{
        font-size:28px;
    }

    .ndd-grid{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .ndd-card{
        padding:10px;
        border-radius:14px;
    }

    .ndd-info h3{
        font-size:15px;
    }

    .ndd-info p{
        font-size:12px;
        min-height:48px;
    }

    .ndd-play,
    .ndd-download{
        font-size:11px;
        padding:9px 10px;
    }

    .ndd-links a,
    .ndd-mini-link{
        font-size:11px;
        padding:6px 8px;
    }
}


@media(max-width:600px){
    .ndd-stats span{
        font-size:12px;
        padding:8px 10px;
    }
    .ndd-featured{
        padding:14px;
    }
    .ndd-featured-grid{
        grid-template-columns:1fr;
    }
}


/* Compteurs écoutes / téléchargements */
.ndd-song-stats{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin:8px 0 0;
}

.ndd-song-stats span{
    background:rgba(255,255,255,.08);
    color:#bdbdbd;
    border-radius:999px;
    padding:5px 8px;
    font-size:11px;
    font-weight:800;
    line-height:1;
}

.ndd-featured-card .ndd-song-stats{
    margin:6px 0 8px;
}

.ndd-track-row .ndd-song-stats{
    margin-top:5px;
}

.ndd-player,
.ndd-player *{
    user-select:none;
    -webkit-user-select:none;
}

#ndd-player-cover{
    overflow:hidden;
    object-fit:cover;
    background:#111;
}


/* =========================
   Correction lecteur au repos
   - Cache la cover et le bouton MP3 tant qu'aucun titre n'est lancé
   - Évite l'image cassée / texte alternatif
========================= */

.ndd-player:not(.is-active) #ndd-player-cover{
    display:none !important;
}

.ndd-player:not(.is-active) .ndd-player-download{
    display:none !important;
}

.ndd-player:not(.is-active) .ndd-player-inner{
    grid-template-columns:minmax(0,1fr);
}

.ndd-player:not(.is-active) .ndd-player-info{
    text-align:left;
}

.ndd-player:not(.is-active) #ndd-player-title{
    font-size:18px;
}

.ndd-player:not(.is-active) #ndd-player-artist{
    max-width:100%;
}

/* Quand une chanson est lancée, la cover et le MP3 réapparaissent */
.ndd-player.is-active #ndd-player-cover{
    display:block !important;
}

.ndd-player.is-active .ndd-player-download{
    display:inline-flex !important;
}

/* Ajustement mobile au repos */
@media(max-width:700px){
    .ndd-player:not(.is-active) .ndd-player-inner{
        grid-template-columns:1fr;
    }

    .ndd-player:not(.is-active) .ndd-player-controls{
        flex-wrap:wrap;
    }
}


/* Dernières sorties */
.ndd-latest{
    margin:0 0 28px;
    padding:18px;
    border-radius:24px;
    background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
    border:1px solid rgba(255,255,255,.08);
}

.ndd-latest-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:14px;
}

.ndd-latest-card{
    display:grid;
    grid-template-columns:76px 1fr;
    gap:13px;
    align-items:center;
    background:rgba(0,0,0,.25);
    border:1px solid rgba(255,255,255,.07);
    border-radius:18px;
    padding:12px;
}

.ndd-latest-card img{
    width:76px;
    height:76px;
    object-fit:cover;
    border-radius:14px;
    box-shadow:0 10px 22px rgba(0,0,0,.35);
}

.ndd-latest-card h3{
    margin:3px 0 4px;
    color:#fff;
    font-size:16px;
    line-height:1.2;
}

.ndd-latest-card p{
    margin:0 0 8px;
    color:#b3b3b3;
    font-size:12px;
}

.ndd-latest-card .ndd-song-stats{
    margin:6px 0 8px;
}

/* Lecteur plus propre au repos */
.ndd-player:not(.is-active){
    max-width:760px;
    padding:13px 16px;
}

.ndd-player:not(.is-active) .ndd-player-controls{
    margin-bottom:8px;
}

.ndd-player:not(.is-active) #ndd-player-title{
    font-size:16px;
    margin-bottom:3px;
}

.ndd-player:not(.is-active) #ndd-player-artist{
    font-size:12px;
    margin-bottom:8px;
}

@media(max-width:600px){
    .ndd-latest{
        padding:14px;
    }
    .ndd-latest-grid{
        grid-template-columns:1fr;
    }
    .ndd-player:not(.is-active){
        max-width:none;
    }
}


/* =========================
   Lecteur réductible
========================= */

.ndd-toggle-player{
    background:#191919!important;
    color:#dcdcdc!important;
}

.ndd-toggle-player:hover{
    background:#333!important;
}

.ndd-player.is-minimized{
    max-width:520px;
    padding:10px 14px;
    border-radius:999px;
}

.ndd-player.is-minimized .ndd-player-inner{
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
}

.ndd-player.is-minimized #ndd-player-cover,
.ndd-player.is-minimized .ndd-player-download,
.ndd-player.is-minimized #ndd-prev,
.ndd-player.is-minimized #ndd-next,
.ndd-player.is-minimized .ndd-progress-row,
.ndd-player.is-minimized #ndd-player-artist{
    display:none!important;
}

.ndd-player.is-minimized .ndd-player-info{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    overflow:hidden;
}

.ndd-player.is-minimized #ndd-player-title{
    font-size:14px;
    margin:0;
    flex:1;
}

.ndd-player.is-minimized .ndd-player-controls{
    margin:0;
    gap:8px;
    flex-shrink:0;
}

.ndd-player.is-minimized #ndd-main-play{
    padding:8px 14px!important;
}

.ndd-player.is-minimized #ndd-toggle-player{
    padding:8px 12px!important;
}

@media(max-width:700px){
    .ndd-player.is-minimized{
        width:calc(100% - 20px);
        max-width:none;
        border-radius:18px;
    }

    .ndd-player.is-minimized .ndd-player-inner{
        grid-template-columns:1fr;
    }

    .ndd-player.is-minimized .ndd-player-info{
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
        gap:10px;
        align-items:center;
    }

    .ndd-player.is-minimized .ndd-player-controls{
        justify-content:flex-end;
    }
}


/* =========================
   V7 - Actions principales premium
========================= */
.ndd-main-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    align-items:center;
    margin:0 0 24px;
}

.ndd-play-all,
.ndd-shuffle{
    border:none;
    border-radius:999px;
    padding:10px 16px;
    font-size:13px;
    font-weight:850;
    cursor:pointer;
    transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
}

.ndd-play-all{
    background:#1db954;
    color:#000;
    box-shadow:0 6px 18px rgba(29,185,84,.22);
}

.ndd-play-all:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 26px rgba(29,185,84,.34);
}

.ndd-shuffle{
    background:#2a2a2a;
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 6px 18px rgba(0,0,0,.22);
}

.ndd-shuffle:hover{
    background:#363636;
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(0,0,0,.32);
}

/* Coups de cœur */
.ndd-favorites{
    margin:0 0 28px;
    padding:18px;
    border-radius:24px;
    background:linear-gradient(135deg,rgba(255,72,120,.14),rgba(255,255,255,.03));
    border:1px solid rgba(255,255,255,.08);
}

.ndd-favorites-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:14px;
}

.ndd-favorite-card{
    display:grid;
    grid-template-columns:76px 1fr;
    gap:13px;
    align-items:center;
    background:rgba(0,0,0,.28);
    border:1px solid rgba(255,255,255,.07);
    border-radius:18px;
    padding:12px;
}

.ndd-favorite-card img{
    width:76px;
    height:76px;
    object-fit:cover;
    border-radius:14px;
    box-shadow:0 10px 22px rgba(0,0,0,.35);
}

.ndd-favorite-card h3{
    margin:3px 0 4px;
    color:#fff;
    font-size:16px;
    line-height:1.2;
}

.ndd-favorite-card p{
    margin:0 0 8px;
    color:#b3b3b3;
    font-size:12px;
}

.ndd-favorite-card .ndd-song-stats{
    margin:6px 0 8px;
}

/* Bouton paroles */
.ndd-lyrics-open{
    border:none;
    background:#303030;
    color:#fff!important;
    text-decoration:none;
    padding:9px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    line-height:1;
}

.ndd-lyrics-open:hover{
    background:#3d3d3d;
}

/* Popup paroles */
.ndd-lyrics-modal{
    position:fixed;
    inset:0;
    z-index:10050;
    display:none;
}

.ndd-lyrics-modal.is-open{
    display:block;
}

.ndd-lyrics-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.72);
    backdrop-filter:blur(8px);
}

.ndd-lyrics-box{
    position:relative;
    width:calc(100% - 32px);
    max-width:820px;
    max-height:82vh;
    margin:7vh auto 0;
    background:linear-gradient(135deg,#191919,#0f0f0f);
    border:1px solid rgba(255,255,255,.1);
    border-radius:24px;
    box-shadow:0 24px 70px rgba(0,0,0,.75);
    color:#fff;
    padding:24px;
    overflow:auto;
}

.ndd-lyrics-close{
    position:absolute;
    top:12px;
    right:14px;
    border:none;
    width:36px;
    height:36px;
    border-radius:50%;
    background:#2d2d2d;
    color:#fff;
    font-size:22px;
    line-height:1;
    cursor:pointer;
}

.ndd-lyrics-box h2{
    margin:0 44px 18px 0;
    font-size:24px;
    color:#fff;
}

.ndd-lyrics-content{
    white-space:pre-wrap;
    color:#e7e7e7;
    line-height:1.65;
    font-size:15px;
}

@media(max-width:600px){
    .ndd-main-actions{
        gap:8px;
    }
    .ndd-play-all,
    .ndd-shuffle{
        padding:10px 13px;
        font-size:13px;
    }
    .ndd-favorites{
        padding:14px;
    }
    .ndd-favorites-grid{
        grid-template-columns:1fr;
    }
    .ndd-lyrics-box{
        margin:5vh auto 0;
        max-height:88vh;
        padding:20px;
        border-radius:20px;
    }
}


/* =========================
   V7.3 - Fiche complète chanson
========================= */

.ndd-details-open{
    border:none;
    background:#303030;
    color:#fff!important;
    text-decoration:none;
    padding:9px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    line-height:1;
}

.ndd-details-open:hover{
    background:#3d3d3d;
}

.ndd-details-modal{
    position:fixed;
    inset:0;
    z-index:10060;
    display:none;
}

.ndd-details-modal.is-open{
    display:block;
}

.ndd-details-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.76);
    backdrop-filter:blur(9px);
}

.ndd-details-box{
    position:relative;
    width:calc(100% - 32px);
    max-width:900px;
    max-height:86vh;
    margin:5vh auto 0;
    background:linear-gradient(135deg,#191919,#0f0f0f);
    border:1px solid rgba(255,255,255,.1);
    border-radius:26px;
    box-shadow:0 24px 70px rgba(0,0,0,.78);
    color:#fff;
    padding:24px;
    overflow:auto;
}

.ndd-details-close{
    position:absolute;
    top:14px;
    right:16px;
    border:none;
    width:38px;
    height:38px;
    border-radius:50%;
    background:#2d2d2d;
    color:#fff;
    font-size:23px;
    line-height:1;
    cursor:pointer;
}

.ndd-details-head{
    display:grid;
    grid-template-columns:132px 1fr;
    gap:20px;
    align-items:center;
    margin-bottom:22px;
    padding-right:48px;
}

.ndd-details-head img{
    width:132px;
    height:132px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 14px 34px rgba(0,0,0,.5);
    background:#222;
}

.ndd-details-style{
    display:inline-block;
    color:#1db954;
    font-weight:900;
    font-size:13px;
    margin-bottom:6px;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.ndd-details-head h2{
    margin:0 0 10px;
    color:#fff;
    font-size:28px;
    line-height:1.15;
}

.ndd-details-stats{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.ndd-details-stats span{
    background:rgba(255,255,255,.08);
    color:#d1d1d1;
    border-radius:999px;
    padding:7px 10px;
    font-size:12px;
    font-weight:800;
}

.ndd-details-section{
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:18px;
    margin-top:18px;
}

.ndd-details-section h3{
    margin:0 0 10px;
    color:#fff;
    font-size:18px;
}

.ndd-details-text{
    white-space:pre-wrap;
    color:#e2e2e2;
    line-height:1.65;
    font-size:15px;
}

.ndd-details-links{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:22px;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.08);
}

.ndd-details-links a{
    background:#1db954;
    color:#000!important;
    text-decoration:none;
    border-radius:999px;
    padding:10px 14px;
    font-size:13px;
    font-weight:900;
}

.ndd-details-links a:nth-child(n+2){
    background:#303030;
    color:#fff!important;
}

@media(max-width:600px){
    .ndd-details-box{
        margin:4vh auto 0;
        max-height:90vh;
        padding:18px;
        border-radius:20px;
    }

    .ndd-details-head{
        grid-template-columns:82px 1fr;
        gap:14px;
        padding-right:38px;
    }

    .ndd-details-head img{
        width:82px;
        height:82px;
        border-radius:15px;
    }

    .ndd-details-head h2{
        font-size:20px;
    }

    .ndd-details-text{
        font-size:14px;
    }
}


/* =========================
   V7.5 - Bio, soutien, partage
========================= */

.ndd-hero p{
    max-width:720px;
    line-height:1.5;
}

.ndd-support-main{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    border-radius:999px;
    padding:10px 16px;
    font-size:13px;
    font-weight:900;
    text-decoration:none!important;
    background:linear-gradient(135deg,#ff4b7d,#ffb000);
    color:#000!important;
    box-shadow:0 8px 22px rgba(255,75,125,.24);
    transition:transform .22s ease, box-shadow .22s ease;
}

.ndd-support-main:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(255,75,125,.34);
}

.ndd-support-link{
    background:linear-gradient(135deg,#ff4b7d,#ffb000)!important;
    color:#000!important;
    font-weight:900!important;
}

.ndd-share-song,
.ndd-details-share{
    border:none;
    background:#303030;
    color:#fff!important;
    text-decoration:none;
    padding:9px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.ndd-share-song:hover,
.ndd-details-share:hover{
    background:#3d3d3d;
}

.ndd-details-share{
    margin-top:14px;
    padding:11px 15px;
    background:#1db954;
    color:#000!important;
    font-size:13px;
    font-weight:900;
}

@media(max-width:600px){
    .ndd-support-main{
        padding:10px 13px;
        font-size:13px;
    }

    .ndd-main-actions{
        align-items:stretch;
    }

    .ndd-main-actions > *{
        flex:1 1 auto;
    }
}


/* =========================
   V7.6 - Filtres par style
========================= */

.ndd-style-filters{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:0 0 22px;
    padding:12px;
    border-radius:20px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.07);
}

.ndd-style-filter{
    border:none;
    border-radius:999px;
    padding:10px 14px;
    background:#252525;
    color:#fff;
    font-size:13px;
    font-weight:850;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:6px;
    transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.ndd-style-filter span{
    min-width:20px;
    height:20px;
    padding:0 6px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:rgba(255,255,255,.1);
    color:#dcdcdc;
    font-size:11px;
    font-weight:900;
}

.ndd-style-filter:hover{
    background:#333;
    transform:translateY(-1px);
}

.ndd-style-filter.is-active{
    background:#1db954;
    color:#000;
    box-shadow:0 8px 22px rgba(29,185,84,.25);
}

.ndd-style-filter.is-active span{
    background:rgba(0,0,0,.18);
    color:#000;
}

@media(max-width:600px){
    .ndd-style-filters{
        gap:8px;
        padding:10px;
    }

    .ndd-style-filter{
        flex:1 1 auto;
        justify-content:center;
        font-size:12px;
        padding:10px 11px;
    }
}


/* =========================
   V7.6.2 - Cover plein écran
========================= */

#ndd-details-cover{
    cursor:zoom-in;
    transition:transform .22s ease, box-shadow .22s ease;
}

#ndd-details-cover:hover{
    transform:scale(1.035);
    box-shadow:0 18px 42px rgba(0,0,0,.65);
}

.ndd-cover-modal{
    position:fixed;
    inset:0;
    z-index:12000;
    display:none;
}

.ndd-cover-modal.is-open{
    display:block;
}

.ndd-cover-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.92);
    backdrop-filter:blur(8px);
}

.ndd-cover-box{
    position:relative;
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}

#ndd-cover-full{
    max-width:92vw;
    max-height:90vh;
    object-fit:contain;
    border-radius:22px;
    box-shadow:0 24px 80px rgba(0,0,0,.85);
    background:#111;
}

.ndd-cover-close{
    position:absolute;
    top:20px;
    right:20px;
    width:46px;
    height:46px;
    border:none;
    border-radius:999px;
    background:#242424;
    color:#fff;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    z-index:2;
}

.ndd-cover-close:hover{
    background:#3a3a3a;
}

@media(max-width:600px){
    .ndd-cover-box{
        padding:14px;
    }

    #ndd-cover-full{
        max-width:94vw;
        max-height:82vh;
        border-radius:16px;
    }

    .ndd-cover-close{
        top:12px;
        right:12px;
        width:42px;
        height:42px;
    }
}


/* =========================
   V7.6.3 - Fiche premium + cover plein écran corrigé
========================= */

/* Cover cliquable dans la fiche */
#ndd-details-cover{
    cursor:zoom-in!important;
    transition:transform .22s ease, box-shadow .22s ease!important;
}

#ndd-details-cover:hover{
    transform:scale(1.035)!important;
    box-shadow:0 18px 42px rgba(0,0,0,.65)!important;
}

/* Séparation claire histoire / paroles */
.ndd-details-section{
    border-top:none!important;
    padding:18px!important;
    margin-top:18px!important;
    border-radius:20px!important;
    background:rgba(255,255,255,.045)!important;
    border:1px solid rgba(255,255,255,.08)!important;
}

.ndd-details-section h3{
    margin:0 0 12px!important;
    font-size:19px!important;
}

#ndd-details-lyrics-wrap{
    background:linear-gradient(135deg,rgba(29,185,84,.09),rgba(255,255,255,.035))!important;
    border-color:rgba(29,185,84,.18)!important;
}

.ndd-details-text{
    white-space:pre-wrap!important;
    line-height:1.7!important;
}

.ndd-details-lyrics{
    font-family:Arial,sans-serif!important;
    color:#f1f1f1!important;
}

/* Cover plein écran */
.ndd-cover-modal{
    position:fixed!important;
    inset:0!important;
    z-index:12000!important;
    display:none!important;
}

.ndd-cover-modal.is-open{
    display:block!important;
}

.ndd-cover-backdrop{
    position:absolute!important;
    inset:0!important;
    background:rgba(0,0,0,.94)!important;
    backdrop-filter:blur(8px)!important;
}

.ndd-cover-box{
    position:relative!important;
    width:100%!important;
    height:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:24px!important;
}

#ndd-cover-full{
    width:auto!important;
    height:auto!important;
    max-width:94vw!important;
    max-height:92vh!important;
    min-width:min(520px,90vw)!important;
    object-fit:contain!important;
    border-radius:22px!important;
    box-shadow:0 24px 90px rgba(0,0,0,.9)!important;
    background:#111!important;
}

.ndd-cover-close{
    position:absolute!important;
    top:20px!important;
    right:20px!important;
    width:46px!important;
    height:46px!important;
    border:none!important;
    border-radius:999px!important;
    background:#242424!important;
    color:#fff!important;
    font-size:28px!important;
    line-height:1!important;
    cursor:pointer!important;
    z-index:2!important;
}

.ndd-cover-close:hover{
    background:#3a3a3a!important;
}

@media(max-width:600px){
    .ndd-details-section{
        padding:15px!important;
        border-radius:16px!important;
    }

    .ndd-cover-box{
        padding:12px!important;
    }

    #ndd-cover-full{
        min-width:0!important;
        width:94vw!important;
        max-height:84vh!important;
        border-radius:16px!important;
    }

    .ndd-cover-close{
        top:12px!important;
        right:12px!important;
        width:42px!important;
        height:42px!important;
    }
}


/* =========================
   V7.6.3.5 - Bouton fiche dans le lecteur
========================= */

.ndd-player-details-btn{
    background:#303030!important;
    color:#fff!important;
}

.ndd-player-details-btn:hover{
    background:#3d3d3d!important;
}

.ndd-player-details-btn.is-disabled,
.ndd-player-details-btn:disabled{
    opacity:.35!important;
    cursor:not-allowed!important;
    pointer-events:none!important;
}

.ndd-player.is-minimized .ndd-player-details-btn{
    display:none!important;
}

@media(max-width:700px){
    .ndd-player-controls{
        flex-wrap:wrap;
    }

    .ndd-player-details-btn{
        padding:8px 11px!important;
    }
}


/* =========================
   V7.6.3.6 - Cartes cliquables vers la fiche
========================= */

.ndd-card,
.ndd-featured-card,
.ndd-latest-card,
.ndd-favorite-card,
.ndd-track-row{
    cursor:pointer;
}

.ndd-card .ndd-actions,
.ndd-featured-card .ndd-actions,
.ndd-latest-card .ndd-actions,
.ndd-favorite-card .ndd-actions,
.ndd-track-actions,
.ndd-card a,
.ndd-card button,
.ndd-featured-card a,
.ndd-featured-card button,
.ndd-latest-card a,
.ndd-latest-card button,
.ndd-favorite-card a,
.ndd-favorite-card button,
.ndd-track-row a,
.ndd-track-row button{
    cursor:auto;
}

.ndd-card:hover .ndd-info h3,
.ndd-featured-card:hover h3,
.ndd-latest-card:hover h3,
.ndd-favorite-card:hover h3,
.ndd-track-row:hover strong{
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:3px;
}


/* =========================
   V7.6.4 - Media Session
   Commandes smartphone / écran verrouillé via le navigateur
========================= */

/* Le contrôle Media Session n'ajoute pas de style : géré en JS (navigator.mediaSession) */


/* =========================
   V8.0 - Refonte "stylé Spotify"
   Icônes SVG, volume, équaliseur animé,
   badge "en cours de lecture", accessibilité
========================= */

/* --- Accessibilité : focus visible clavier --- */
.ndd-app :focus-visible,
.ndd-player :focus-visible{
    outline:2px solid #1db954;
    outline-offset:2px;
}

/* --- Pochette du lecteur + équaliseur animé --- */
.ndd-player-artwork{
    position:relative;
    width:64px;
    height:64px;
    flex-shrink:0;
}

.ndd-player-artwork img{
    width:100%;
    height:100%;
    border-radius:14px;
    object-fit:cover;
    display:block;
    background:#222;
    box-shadow:0 8px 25px rgba(0,0,0,.45);
}

.ndd-player-eq{
    position:absolute;
    right:4px;
    bottom:4px;
    display:none;
    align-items:flex-end;
    gap:2px;
    width:20px;
    height:14px;
    padding:3px 4px;
    background:rgba(0,0,0,.6);
    border-radius:6px;
}

.ndd-player.is-playing .ndd-player-eq{
    display:flex;
}

.ndd-player-eq span{
    display:block;
    width:3px;
    background:#1db954;
    border-radius:2px;
    transform-origin:bottom;
    animation:ndd-eq-bar .9s ease-in-out infinite;
}

.ndd-player-eq span:nth-child(1){ height:40%; animation-delay:0s; }
.ndd-player-eq span:nth-child(2){ height:100%; animation-delay:.15s; }
.ndd-player-eq span:nth-child(3){ height:65%; animation-delay:.3s; }

@keyframes ndd-eq-bar{
    0%,100%{ transform:scaleY(.35); }
    50%{ transform:scaleY(1); }
}

.ndd-player:not(.is-active) .ndd-player-artwork{
    display:none!important;
}

.ndd-player.is-minimized .ndd-player-artwork{
    display:none!important;
}

/* --- Boutons ronds a icones (prec / suiv / volume / reduire) --- */
.ndd-icon-btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:15px;
    line-height:1;
}

.ndd-icon-btn span{
    display:block;
    pointer-events:none;
}

.ndd-text-icon-btn{
    padding:8px 12px!important;
    font-size:11px!important;
    font-weight:800!important;
    white-space:nowrap;
}

#ndd-main-play{
    width:42px!important;
    height:42px!important;
    padding:0!important;
    border-radius:50%!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:16px;
    line-height:1;
}

#ndd-prev:hover, #ndd-next:hover, #ndd-mute:hover, #ndd-toggle-player:hover, #ndd-queue-btn:hover{
    transform:translateY(-1px);
}

#ndd-main-play:hover{
    transform:scale(1.05);
    box-shadow:0 8px 20px rgba(29,185,84,.35);
}

.ndd-player.is-minimized #ndd-toggle-player{
    padding:8px 12px!important;
}

.ndd-player.is-minimized #ndd-main-play{
    padding:0!important;
    width:38px!important;
    height:38px!important;
}

.ndd-main-btn .ndd-icon-pause{ display:none; }
.ndd-main-btn.is-playing-state .ndd-icon-play{ display:none; }
.ndd-main-btn.is-playing-state .ndd-icon-pause{ display:inline-flex; }

.ndd-toggle-player .ndd-icon-expand{ display:none; }
.ndd-player.is-minimized .ndd-toggle-player .ndd-icon-collapse{ display:none; }
.ndd-player.is-minimized .ndd-toggle-player .ndd-icon-expand{ display:inline-flex; }

.ndd-volume-btn .ndd-icon-vol-off{ display:none; }
.ndd-volume-btn.is-muted .ndd-icon-vol-on{ display:none; }
.ndd-volume-btn.is-muted .ndd-icon-vol-off{ display:inline-flex; }

/* --- Controle de volume --- */
.ndd-volume{
    display:flex;
    align-items:center;
    gap:6px;
    margin-left:2px;
}

#ndd-volume{
    width:80px;
}

.ndd-player.is-minimized #ndd-volume-wrap{
    display:none!important;
}

@media(max-width:760px){
    #ndd-volume-wrap{
        display:none;
    }
}

/* --- Curseurs (progression + volume) facon Spotify --- */
#ndd-progress,
#ndd-volume{
    -webkit-appearance:none;
    appearance:none;
    height:5px;
    border-radius:999px;
    background:rgba(255,255,255,.18);
    outline:none;
    cursor:pointer;
}

#ndd-progress::-webkit-slider-thumb,
#ndd-volume::-webkit-slider-thumb{
    -webkit-appearance:none;
    width:13px;
    height:13px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 0 0 0 rgba(29,185,84,0);
    transition:box-shadow .15s ease, transform .15s ease;
    cursor:pointer;
}

#ndd-progress:hover::-webkit-slider-thumb,
#ndd-volume:hover::-webkit-slider-thumb{
    box-shadow:0 0 0 7px rgba(29,185,84,.25);
    transform:scale(1.1);
}

#ndd-progress::-moz-range-thumb,
#ndd-volume::-moz-range-thumb{
    width:13px;
    height:13px;
    border:none;
    border-radius:50%;
    background:#fff;
    cursor:pointer;
    transition:box-shadow .15s ease, transform .15s ease;
}

#ndd-progress::-moz-range-track,
#ndd-volume::-moz-range-track{
    background:transparent;
}

/* --- Badge "en cours de lecture" sur les cartes --- */
.ndd-card,
.ndd-featured-card,
.ndd-latest-card,
.ndd-favorite-card,
.ndd-track-row{
    position:relative;
}

.ndd-card.ndd-now-playing,
.ndd-featured-card.ndd-now-playing,
.ndd-latest-card.ndd-now-playing,
.ndd-favorite-card.ndd-now-playing{
    box-shadow:0 0 0 2px #1db954, 0 14px 34px rgba(29,185,84,.22);
}

.ndd-card.ndd-now-playing::after,
.ndd-featured-card.ndd-now-playing::after,
.ndd-latest-card.ndd-now-playing::after,
.ndd-favorite-card.ndd-now-playing::after{
    content:"";
    position:absolute;
    top:10px;
    right:10px;
    width:22px;
    height:15px;
    border-radius:6px;
    background-color:rgba(0,0,0,.6);
    background-image:
        linear-gradient(#1db954,#1db954),
        linear-gradient(#1db954,#1db954),
        linear-gradient(#1db954,#1db954);
    background-repeat:no-repeat;
    background-position:5px 100%, 11px 100%, 17px 100%;
    background-size:3px 40%, 3px 80%, 3px 55%;
    animation:ndd-eq-mini .9s ease-in-out infinite;
    pointer-events:none;
    z-index:3;
}

@keyframes ndd-eq-mini{
    0%,100%{ background-size:3px 40%, 3px 80%, 3px 55%; }
    50%{ background-size:3px 80%, 3px 30%, 3px 75%; }
}

.ndd-track-row.ndd-now-playing{
    background:rgba(29,185,84,.08);
    box-shadow:inset 3px 0 0 #1db954;
}

.ndd-track-row.ndd-now-playing strong{
    color:#1db954;
}

@media(max-width:600px){
    .ndd-card.ndd-now-playing::after,
    .ndd-featured-card.ndd-now-playing::after,
    .ndd-latest-card.ndd-now-playing::after,
    .ndd-favorite-card.ndd-now-playing::after{
        top:7px;
        right:7px;
    }
}

/* =========================
   V8.1 - File d'attente, repetition, vitesse
========================= */

.ndd-queue-panel{
    position:fixed;
    inset:0;
    z-index:11000;
    display:none;
}

.ndd-queue-panel.is-open{
    display:block;
}

.ndd-queue-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.75);
    backdrop-filter:blur(6px);
}

.ndd-queue-box{
    position:absolute;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    width:calc(100% - 40px);
    max-width:420px;
    max-height:70vh;
    background:linear-gradient(160deg,#1c1c1c,#0d0d0d);
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px 22px 0 0;
    padding:18px;
    display:flex;
    flex-direction:column;
    gap:12px;
    box-shadow:0 -18px 45px rgba(0,0,0,.55);
}

@media(min-width:640px){
    .ndd-queue-box{
        bottom:110px;
        border-radius:22px;
    }
}

.ndd-queue-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.ndd-queue-header h2{
    margin:0;
    font-size:18px;
    color:#fff;
}

.ndd-queue-close{
    width:32px;
    height:32px;
    border:none;
    border-radius:50%;
    background:#242424;
    color:#fff;
    font-size:20px;
    line-height:1;
    cursor:pointer;
}

.ndd-queue-close:hover{
    background:#3a3a3a;
}

.ndd-queue-options{
    display:flex;
    align-items:center;
    gap:10px;
    padding-bottom:10px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

#ndd-repeat-toggle{
    position:relative;
    padding:8px 14px!important;
    border-radius:999px!important;
    background:#252525!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:800!important;
}

#ndd-repeat-toggle.is-active{
    background:#1db954!important;
    color:#000!important;
}

.ndd-repeat-badge{
    display:none;
    position:absolute;
    bottom:-2px;
    right:-2px;
    width:14px;
    height:14px;
    border-radius:50%;
    background:#000;
    color:#1db954;
    font-size:9px;
    font-weight:900;
    align-items:center;
    justify-content:center;
}

#ndd-repeat-toggle.is-repeat-one .ndd-repeat-badge{
    display:flex;
}

.ndd-speed-btn{
    background:#252525!important;
    color:#fff!important;
    border-radius:999px!important;
    padding:8px 14px!important;
    font-size:12px!important;
    font-weight:900!important;
    min-width:44px;
}

.ndd-speed-btn:hover{
    background:#333!important;
}

.ndd-queue-list{
    display:flex;
    flex-direction:column;
    gap:6px;
    overflow-y:auto;
    padding-right:2px;
}

.ndd-queue-empty{
    color:#999;
    font-size:13px;
    text-align:center;
    padding:18px 8px;
    margin:0;
}

.ndd-queue-item{
    display:grid;
    grid-template-columns:44px 1fr;
    gap:12px;
    align-items:center;
    background:rgba(255,255,255,.04);
    border:none;
    border-radius:12px;
    padding:8px;
    cursor:pointer;
    text-align:left;
    color:#fff;
    width:100%;
}

.ndd-queue-item:hover{
    background:rgba(255,255,255,.09);
}

.ndd-queue-item img{
    width:44px;
    height:44px;
    border-radius:10px;
    object-fit:cover;
    background:#222;
}

.ndd-queue-item-info{
    display:flex;
    flex-direction:column;
    min-width:0;
    gap:2px;
}

.ndd-queue-item-info strong{
    font-size:13px;
    color:#fff;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.ndd-queue-item-info small{
    font-size:11px;
    color:#1db954;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.03em;
}

@media(max-width:600px){
    .ndd-queue-box{
        width:calc(100% - 24px);
        padding:15px;
        max-height:75vh;
    }
}

/* =========================
   V8.3 - Description formatée (gras/italique/liens/paragraphes)
========================= */

/* La description passe maintenant par du vrai HTML (wpautop + wp_kses),
   donc on n'a plus besoin de pre-wrap ici : les paragraphes gèrent
   eux-mêmes leur espacement. Les paroles, elles, restent du texte brut
   (textContent) et gardent le pre-wrap plus haut. */
#ndd-details-description{
    white-space:normal!important;
}

#ndd-details-description p{
    margin:0 0 12px;
}

#ndd-details-description p:last-child{
    margin-bottom:0;
}

#ndd-details-description strong,
#ndd-details-description b{
    color:#fff;
    font-weight:800;
}

#ndd-details-description em,
#ndd-details-description i{
    color:#e2e2e2;
}

#ndd-details-description a{
    color:#1db954;
    text-decoration:underline;
    text-decoration-thickness:1px;
    text-underline-offset:2px;
}

#ndd-details-description a:hover{
    color:#22e563;
}

#ndd-details-description ul,
#ndd-details-description ol{
    margin:0 0 12px;
    padding-left:22px;
}

#ndd-details-description li{
    margin-bottom:6px;
}

/* =========================
   V8.4 - Bouton play flottant sur les pochettes (singles + albums)
   + swipe mobile sur le lecteur
========================= */

.ndd-cover-wrap{
    position:relative;
    display:block;
}

.ndd-cover-wrap::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:14px;
    background:linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
    opacity:0;
    transition:opacity .2s ease;
    pointer-events:none;
}

.ndd-album-cover.ndd-cover-img{
    border-radius:18px;
}

.ndd-cover-wrap:has(.ndd-album-cover)::after{
    border-radius:18px;
}

.ndd-cover-wrap:hover::after,
.ndd-cover-wrap:focus-within::after{
    opacity:1;
}

.ndd-play-overlay{
    position:absolute;
    right:10px;
    bottom:10px;
    width:44px;
    height:44px;
    border-radius:50%;
    border:none;
    background:#1db954;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    font-size:0;
    color:transparent;
    cursor:pointer;
    opacity:0;
    transform:translateY(8px) scale(.9);
    transition:opacity .2s ease, transform .2s ease, background .2s ease;
    box-shadow:0 10px 24px rgba(0,0,0,.45);
    z-index:2;
}

.ndd-cover-wrap:hover .ndd-play-overlay,
.ndd-cover-wrap:focus-within .ndd-play-overlay,
.ndd-play-overlay:focus-visible{
    opacity:1;
    transform:translateY(0) scale(1);
}

.ndd-play-overlay:hover{
    background:#22e563;
    transform:translateY(0) scale(1.06);
}

/* Icône "play" façon triangle, en CSS pur (aucune image nécessaire) */
.ndd-play-overlay::before{
    content:"";
    display:block;
    width:0;
    height:0;
    border-style:solid;
    border-width:8px 0 8px 13px;
    border-color:transparent transparent transparent #05140a;
    margin-left:3px;
}

/* Icône "pause" (deux barres), affichée quand la chanson est en cours */
.ndd-play-overlay.is-playing::before{
    width:4px;
    height:14px;
    border-width:0;
    background:#05140a;
    box-shadow:7px 0 0 #05140a;
    margin-left:-2px;
}

/* Sur tactile, pas de survol possible : le bouton reste visible en permanence,
   légèrement transparent pour ne pas cacher la pochette inutilement. */
@media (hover: none){
    .ndd-play-overlay{
        opacity:.92;
        transform:translateY(0) scale(1);
    }

    .ndd-cover-wrap::after{
        opacity:.35;
    }
}

@media(max-width:600px){
    .ndd-play-overlay{
        width:38px;
        height:38px;
        right:8px;
        bottom:8px;
    }

    .ndd-play-overlay::before{
        border-width:6px 0 6px 10px;
    }

    .ndd-play-overlay.is-playing::before{
        width:3px;
        height:11px;
        box-shadow:5px 0 0 #05140a;
    }
}

/* --- Swipe mobile sur le lecteur (glisser pour changer de titre) --- */
.ndd-player-artwork,
.ndd-player-info{
    touch-action:pan-y;
}

/* --- Titres de chansons cliquables (renvoient vers la page dédiée) --- */
.ndd-card h3 a,
.ndd-favorite-card h3 a,
.ndd-featured-card h3 a,
.ndd-latest-card h3 a {
    color: inherit;
    text-decoration: none;
}

.ndd-card h3 a:hover,
.ndd-favorite-card h3 a:hover,
.ndd-featured-card h3 a:hover,
.ndd-latest-card h3 a:hover {
    text-decoration: underline;
    text-decoration-color: #1db954;
    text-underline-offset: 3px;
}
