#randomLinkText {
  text-decoration: none !important;
  cursor: pointer;
}
#randomLinkText:hover {
  text-decoration: none !important;
}


img.rounded-pfp {
  border-radius: 1.25rem !important;
  border: 4px solid #232b36;
  background: #232b36;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.18);
}

#lastfm-nowplaying {
  margin-left: auto;
  margin-right: auto;
}
.lastfm-card {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  border-radius: 0.7em;
  box-shadow: 0 2px 8px 0 #0002;
  padding: 0.7em 1.2em;
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1), box-shadow 0.32s cubic-bezier(0.4,0,0.2,1);
}

.lastfm-card:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px 0 rgba(0,0,0,0.32);
}

.lastfm-track {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.0rem;
  font-weight: 700;
  color: #fff; 
  text-decoration: none;
}
.lastfm-track:hover {
  text-decoration: underline;
}

.lastfm-albumart {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.lastfm-albumart img {
    width: 6.0em;
    height: 6.0em;
    object-fit: cover;
    border-radius: 0.4em;
    margin-right: 0.7em;
    background-color: #181e29;
}

.lastfm-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2em;
    min-width: 0;
}

.now-playing-label {
    font-size: 0.85em;
    color: #b0b0b0;
    display: flex;
    align-items: center;
    gap: 0.4em;
    margin-bottom: 0.2em;
    height: 1.2em;
}

.now-playing-bars {
    display: flex;
    align-items: flex-end;
    align-items: center;
    height: 100%;
}

.now-playing-bar {
    width: 0.25em;
    background-color: #b0b0b0;
    margin: 0 0.05em;
    border-radius: 0.1em;
    animation: bar-animation 1.5s ease-in-out infinite alternate;
}

.now-playing-bar:nth-child(1) { animation-delay: 0s; height: 0.7em; }
.now-playing-bar:nth-child(2) { animation-delay: 0.2s; height: 1.0em; }
.now-playing-bar:nth-child(3) { animation-delay: 0.4s; height: 0.8em; }
.now-playing-bar:nth-child(4) { animation-delay: 0.6s; height: 1.1em; }


@keyframes bar-animation {
    0% { transform: scaleY(0.5); opacity: 0.7; }
    50% { transform: scaleY(1.2); opacity: 1; }
    100% { transform: scaleY(0.7); opacity: 0.7; }
}

.lastfm-artist {
    font-size: 0.8rem;
    color: #bdbdbd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 425px) {
  .now-playing-label {
    font-size: 0.80em;
  }
}

@media (max-width: 320px) {
  .now-playing-label {
    font-size: 0.65em;
  }
}