.station-description {
    color: #fff;
    opacity: 0.6;
}
.station-img {
    border: 3px solid #ffffff00;
    padding: 0.15rem;
}
.player-artwork {
    padding: 0.75rem;
    border-radius: 1rem;
    background-color: #ffffff00;
}
.player-artwork img {
    border-radius: 0.65rem;
    box-shadow: var(--shadow-xl);
}
.player-cover-image {
    animation: bga 60s linear infinite;
}
@keyframes bga {
    50% {
        transform: scale(2);
    }
}
.items-start {
    align-items: flex-start;
    margin-top: 15px;
}
/* ===== Offcanvas HISTORIAL: más angosto y tipo "drawer" ===== */
#offcanvas-history {
  width: min(380px, 92vw) !important;   /* antes era muy ancho */
  max-width: 380px !important;
}

/* En escritorio, que no pase de 360–380px */
@media (min-width: 992px) {
  #offcanvas-history { width: 360px !important; }
}

/* Opcional: que el panel se vea más tipo card */
#offcanvas-history .offcanvas-content {
  padding: 12px !important;
}

/* Tarjeta de cada canción (tu render le pone clases) */
#history .station-history-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

/* Texto más compacto */
#history .station-history-item div { overflow: hidden; }
#history .station-history-item div div:first-child {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
/* ==============================
   HISTORIAL estilo "Positiva"
   ============================== */

/* Panel más angosto, como el ejemplo */
#offcanvas-history{
  width: min(360px, 92vw) !important;
  max-width: 360px !important;
}

#offcanvas-history .offcanvas-content{
  padding: 14px !important;
}

/* Lista */
#history{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Card tipo Positiva */
#history .station-history-item{
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  text-align: left;

  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  overflow: hidden; /* para que la marca de agua no se salga */
}

/* Carátula */
#history .station-history-item img{
  width: 58px !important;
  height: 58px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  flex: 0 0 auto;
}

/* Textos */
#history .history-text{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

#history .history-title{
  font-weight: 700;
  font-size: 14px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#history .history-artist{
  opacity: .70;
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Marca de agua tipo Spotify (texto + ícono) */
#history .station-history-item::after{
  content: "Spotify";
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 12px;
  letter-spacing: .3px;
  opacity: .35;
  color: #fff;
  pointer-events: none;
}

#history .station-history-item::before{
  /* circulito tipo icono spotify */
  content: "";
  position: absolute;
  right: 68px;
  bottom: 12px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.55);
  opacity: .35;
  pointer-events: none;
}

/* Hover (PC) */
@media (hover:hover){
  #history .station-history-item:hover{
    background: rgba(255,255,255,.24);
    transform: translateY(-1px);
    transition: 180ms ease;
  }
}

/* ==============================
   HISTORIAL – TEXTO NEGRO
   ============================== */

#history .station-history-item{
  color: #000 !important;
}

/* Título de la canción */
#history .history-title{
  color: #000 !important;
}

/* Artista */
#history .history-artist{
  color: rgba(0,0,0,.65) !important;
}

/* Marca de agua estilo Spotify en negro */
#history .station-history-item::after{
  color: rgba(0,0,0,.45) !important;
}

#history .station-history-item::before{
  border-color: rgba(0,0,0,.45) !important;
}



