/* City Church Gronau - Musikbibliothek: Cover-Artwork und Feinschliff der Titelkacheln */
/* Wird nach der Haupt-CSS geladen und ueberschreibt bewusst die Monogramm-Kacheln. */

.music-row-art.cover-nai,
.music-dock-art.cover-nai,
.music-feature-cover.cover-nai {
  background: linear-gradient(160deg, rgba(255,150,90,.10), rgba(6,27,63,.18)), url('images/cover-nai-and-j.webp?v=20260727-1') center/cover no-repeat;
}

.music-row-art.cover-seraphim,
.music-dock-art.cover-seraphim,
.music-feature-cover.cover-seraphim {
  background: linear-gradient(160deg, rgba(120,140,220,.12), rgba(6,20,50,.20)), url('images/cover-seraphim-project.webp?v=20260727-1') center/cover no-repeat;
}

.music-row-art.cover-lee,
.music-dock-art.cover-lee,
.music-feature-cover.cover-lee {
  background: linear-gradient(160deg, rgba(255,190,110,.10), rgba(40,16,20,.20)), url('images/cover-lee-wastler.webp?v=20260727-1') center/cover no-repeat;
}

.music-row-art.cover-piano,
.music-dock-art.cover-piano,
.music-feature-cover.cover-piano {
  background: linear-gradient(160deg, rgba(120,180,220,.10), rgba(5,18,40,.22)), url('images/cover-1000-handz.webp?v=20260727-1') center/cover no-repeat;
}

/* Monogramme entfallen, sobald echtes Artwork vorhanden ist */
.music-row-art.cover-nai b,
.music-row-art.cover-seraphim b,
.music-row-art.cover-lee b,
.music-row-art.cover-piano b,
.music-dock-art.cover-nai span,
.music-dock-art.cover-seraphim span,
.music-dock-art.cover-lee span,
.music-dock-art.cover-piano span,
.music-feature-cover.cover-nai span,
.music-feature-cover.cover-seraphim span,
.music-feature-cover.cover-lee span,
.music-feature-cover.cover-piano span {
  display: none;
}

/* Kachel: weicherer Radius, feiner Innenrand, ruhiger Schatten */
.music-row-art {
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(5,28,65,.20), inset 0 0 0 1px rgba(255,255,255,.18);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}

.music-row:hover .music-row-art,
.music-row:focus-visible .music-row-art {
  transform: translateY(-1px) scale(1.045);
  box-shadow: 0 13px 28px rgba(5,28,65,.27), inset 0 0 0 1px rgba(255,255,255,.28);
}

.music-row.is-active .music-row-art {
  box-shadow: 0 12px 26px rgba(239,66,30,.26), inset 0 0 0 1px rgba(255,255,255,.34);
}

.music-feature-cover,
.music-dock-art {
  box-shadow: 0 16px 38px rgba(5,28,65,.24), inset 0 0 0 1px rgba(255,255,255,.18);
}

/* Overlay mit eigenem Play- bzw. Pause-Zeichen statt Textglyphe */
.music-row-art i {
  background: linear-gradient(180deg, rgba(4,20,46,.52), rgba(4,20,46,.78));
  font-size: 0;
  transition: opacity .22s ease;
}

.music-row-art i::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  box-shadow: 0 5px 14px rgba(3,16,38,.45);
}

.music-row-art i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #0b2c60;
  border-right: 0;
  background: none;
  transform: translate(-40%, -50%);
  font-size: 0;
}

.music-row.is-playing .music-row-art i::after {
  content: "";
  font-size: 0;
  color: transparent;
  width: 4px;
  height: 12px;
  border: 0;
  border-radius: 1px;
  background: #0b2c60;
  box-shadow: 7px 0 0 #0b2c60;
  transform: translate(-90%, -50%);
}

@media (max-width: 470px) {
  .music-row-art i::before {
    width: 22px;
    height: 22px;
  }

  .music-row-art i::after {
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 8px;
  }

  .music-row.is-playing .music-row-art i::after {
    content: "";
    font-size: 0;
    width: 3px;
    height: 10px;
    box-shadow: 6px 0 0 #0b2c60;
  }
}

/* Laufende Wiedergabe: kleiner Equalizer statt Titelnummer */
.music-row.is-playing .music-row-number {
  position: relative;
  color: transparent;
  background: linear-gradient(#ef421e, #ef421e) center no-repeat;
  background-size: 3px 8px;
  animation: cc-eq-mid 1.15s ease-in-out infinite;
}

.music-row.is-playing .music-row-number::before,
.music-row.is-playing .music-row-number::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: #ef421e;
  transform: translateY(-50%);
}

.music-row.is-playing .music-row-number::before {
  left: calc(50% - 8px);
  animation: cc-eq-side 1.15s ease-in-out infinite;
}

.music-row.is-playing .music-row-number::after {
  left: calc(50% + 5px);
  animation: cc-eq-side 1.15s ease-in-out .38s infinite;
}

@keyframes cc-eq-mid {
  0%, 100% { background-size: 3px 7px; }
  50% { background-size: 3px 17px; }
}

@keyframes cc-eq-side {
  0%, 100% { height: 6px; }
  50% { height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .music-row-art,
  .music-row-art i {
    transition: none;
  }

  .music-row:hover .music-row-art,
  .music-row:focus-visible .music-row-art {
    transform: none;
  }

  .music-row.is-playing .music-row-number,
  .music-row.is-playing .music-row-number::before,
  .music-row.is-playing .music-row-number::after {
    animation: none;
  }

  .music-row.is-playing .music-row-number {
    background-size: 3px 13px;
  }
}
