.p-a-md {
  padding: 1.5rem; }
 
.p-y-md {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem; }
  
a.text-primary:hover {
  color: #02ab6d; }

.text-primary,
.text-primary-hover a:hover,
.text-primary-hover .active > a {
  color: #02b875 !important; }
  
.text-u-c {
  text-transform: uppercase; }

.text-l-t {
  text-decoration: line-through; }

.text-u-l {
  text-decoration: underline; }
  
.text-muted {
  color: inherit !important;
  opacity: 0.6; }
  
.m-b-md {
  margin-bottom: 1.5rem; }
  
.l-h-2x {
  line-height: 2em; }
  
.nowplaying-widget {
    position: fixed;
    top: 20px;
    left: 20px; /* tu peux mettre right: 20px; si tu préfères */
    z-index: 9999;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Conteneur de la carte */
.np-card {
    width: 260px;
    height: 120px;
    perspective: 1000px;
}

/* Mécanique de flip */
.np-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

/* Flip au survol */
.np-card:hover .np-card-inner {
    transform: rotateY(180deg);
}

/* Faces avant / arrière */
.np-card-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);

    /* Dégradé radial aluminium */
    background: radial-gradient(
        circle at center,
        #f2f2f2 0%,
        #dcdcdc 40%,
        #c0c0c0 100%
    );

    color: #222;
    backdrop-filter: blur(6px);
}

/* Face arrière (même dégradé, flip seul) */
.np-card-back {
    transform: rotateY(180deg);
}


/* Petit label en haut */
.np-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 4px;
}

/* Titre principal */
.np-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
}

/* Artiste & prochain titre */
.np-artist,
.np-next-title {
    font-size: 14px;
    opacity: 0.9;
}

/* Quand on n'a pas de prochain titre, on grise */
.np-next-title.empty {
    opacity: 0.5;
    font-style: italic;
}
  