/* ================================================================
   RADYO MODA 102.5 — NOW PLAYING & METADATA STYLES (V2.8.0)
   ================================================================ */

/* Fade animation for smooth track updates */
.rm-np-fade {
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.rm-np-fade.updating {
  opacity: 0.2;
  transform: translateY(2px);
}

/* ── MAIN PAGE PLAYER LEFT AREA ── */
.rm-v27 .rm-player-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 280px;
  max-width: 480px;
}

/* 72x72 Cover Container */
.rm-np-cover-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(200, 16, 46, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  background: #09121f;
}
.rm-np-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.rm-np-cover-wrap:hover .rm-np-cover-img {
  transform: scale(1.06);
}

/* Station Live Badge Overlay on Cover */
.rm-np-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #020710;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  z-index: 2;
}
.rm-np-badge img {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
}

/* Player Meta Text */
.rm-np-meta-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  overflow: hidden;
}
.rm-np-tag {
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--rm-red, #c8102e);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.rm-np-tag-dot {
  width: 5px;
  height: 5px;
  background: var(--rm-red, #c8102e);
  border-radius: 50%;
  display: inline-block;
  animation: rm-pulse-dot 1.5s ease-in-out infinite;
}
.rm-np-artist {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
.rm-np-song {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(240, 244, 248, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.rm-np-next {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--rm-text-muted, #7a92ab);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
}
.rm-np-next strong {
  color: var(--rm-accent-gold, #d4a017);
  font-weight: 700;
  margin-right: 0.2rem;
}

/* ── SPECIAL PLAYER (MOBILE-LIVE) STYLES ── */
.sp-np-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sp-np-circle-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 50%;
}
.sp-np-badge-logo {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #07111f;
  border: 2px solid rgba(200, 16, 46, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.sp-np-badge-logo img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.sp-next-info {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: #94a3b8;
  text-align: center;
}
.sp-next-info strong {
  color: #fbbf24;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .rm-v27 .rm-player-info {
    max-width: 100%;
    min-width: unset;
    justify-content: center;
    text-align: center;
  }
  .rm-np-meta-wrap {
    align-items: center;
  }
  .rm-np-artist, .rm-np-song, .rm-np-next {
    text-align: center;
  }
}
