/*
 * YouPraise – eigene Styles (nach Bootstrap geladen)
 */

/* Hero-Box der Startseite: Worship-Bild mit dunkelgrauem Overlay (bisheriges
   text-bg-dark = #212529), damit die weiße Schrift sicher lesbar bleibt. */
.hero-stage {
  background-image:
    linear-gradient(rgba(33, 37, 41, 0.75), rgba(33, 37, 41, 0.75)),
    url("/assets/hero-worship-4d0d7bdd.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--bs-primary);
  color: #fff;
  font-weight: 600;
  flex-shrink: 0;
}

/* Avatar als hochgeladenes Bild statt Initial */
img.avatar-circle {
  object-fit: cover;
  background: none;
  padding: 0;
}

.avatar-sm {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.8rem;
}

.avatar-lg {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.4rem;
}

.avatar-hero {
  width: 6rem;
  height: 6rem;
  font-size: 2.5rem;
  border: 3px solid rgba(255, 255, 255, 0.85);
}

.min-width-0 {
  min-width: 0;
}

/* Chat */
.chat-messages {
  height: 55vh;
  overflow-y: auto;
  background: var(--bs-tertiary-bg);
}

.chat-message {
  display: flex;
  justify-content: flex-start;
}

.chat-message .chat-bubble {
  max-width: 75%;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
}

.chat-message.message-mine {
  justify-content: flex-end;
}

.chat-message.message-mine .chat-bubble {
  background: var(--bs-primary);
  color: #fff;
  border: none;
}

.chat-message.message-mine .chat-sender {
  display: none;
}

.chat-time {
  font-size: 0.7rem;
  opacity: 0.7;
}

.chat-body p {
  margin-bottom: 0;
}

/* Künstler-Hero (Spotify/Tidal-Stil) */
.artist-hero {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: stretch;
}

.artist-hero-overlay {
  flex: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.8) 100%);
}

.artist-hero-name {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.artist-hero-mini {
  height: 90px;
  background-size: cover;
  background-position: center;
}

.artist-hero-gradient-0 { background-color: #1e3a5f; background-image: linear-gradient(135deg, #1e3a5f, #4a90d9); }
.artist-hero-gradient-1 { background-color: #4a235a; background-image: linear-gradient(135deg, #4a235a, #a569bd); }
.artist-hero-gradient-2 { background-color: #145a32; background-image: linear-gradient(135deg, #145a32, #52be80); }
.artist-hero-gradient-3 { background-color: #7b241c; background-image: linear-gradient(135deg, #7b241c, #ec7063); }
.artist-hero-gradient-4 { background-color: #6e2c00; background-image: linear-gradient(135deg, #6e2c00, #e59866); }


.favorite-btn:hover .bi-heart::before {
  content: "\f415"; /* bi-heart-fill */
  color: var(--bs-danger);
}

/* Playlist-Cover in der Bibliothek */
.playlist-cover {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--bs-primary), #6f42c1);
  flex-shrink: 0;
}

/* Extrahierter Songtext zum Mitlesen */
.lyrics-text {
  white-space: pre-wrap;
  font-family: var(--bs-font-monospace);
  font-size: 0.9rem;
  line-height: 1.6;
  max-height: 26rem;
  overflow-y: auto;
  background: var(--bs-tertiary-bg);
}
