/* Schmale Sticky-Podcast-Leiste unter dem Hauptmenü (Startseite)
   + kompakter Mini-Player. Dünner als die Menüleiste, Elemente in einer Reihe. */

/* [hidden] greift nicht zuverlässig auf SVG (globales svg{display}-Reset) */
.pmini svg[hidden] { display: none !important; }

.phbar {
  position: sticky;
  top: 64px;               /* wird per JS auf die echte Headerhöhe gesetzt */
  z-index: 35;             /* unter dem Header (40) */
  display: flex;
  align-items: center;
  justify-content: center; /* Elemente mittig gruppiert */
  gap: 0.8rem;
  min-height: 62px;
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, #0f232a, #16333d);
  color: #eef6f8;
  border-bottom: 1px solid rgba(127, 196, 210, 0.35);
  box-shadow: 0 6px 16px rgba(9, 28, 35, 0.25);
}
.phbar__art { flex: 0 0 auto; line-height: 0; }
.phbar__art img {
  width: 50px; height: 50px; border-radius: 12px; display: block;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}
.phbar__label {
  flex: 0 0 auto;
  color: #9fd3de;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
.phbar__title {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 40ch;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phbar__title:hover { color: #bfe4ec; }
.phbar__date {
  flex: 0 0 auto;
  color: #9fd3de;
  font-size: 0.8rem;
  white-space: nowrap;
  border: 1px solid rgba(127, 196, 210, 0.35);
  border-radius: 999px;
  padding: 0.14rem 0.6rem;
}
.phbar__meta {
  flex: 0 0 auto;
  color: #a9c4cc;
  font-size: 0.8rem;
  white-space: nowrap;
}
.phbar__all {
  flex: 0 0 auto;
  color: #eef6f8;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(238, 246, 248, 0.35);
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  white-space: nowrap;
}
.phbar__all:hover { border-color: #7fc4d2; color: #bfe4ec; }

/* Kompakter Mini-Player innerhalb der Leiste (schmaler Balken) */
.phbar .pmini {
  flex: 0 1 230px;
  max-width: 230px;
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}
.phbar .pmini__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: none; cursor: pointer;
  background: #7fc4d2; color: #0f232a;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.12s ease;
}
.phbar .pmini__btn:hover { transform: scale(1.08); }
.phbar .pmini--playing .pmini__btn { background: #eef6f8; }
.phbar .pmini__btn svg { width: 21px; height: 21px; }
.phbar .pmini__bar {
  flex: 1; height: 6px; border-radius: 999px;
  background: rgba(127, 196, 210, 0.25);
  cursor: pointer; overflow: hidden;
}
.phbar .pmini__fill { width: 0; height: 100%; background: #7fc4d2; border-radius: 999px; }
.phbar .pmini__time {
  font-size: 0.72rem; color: #a9c4cc; min-width: 74px; text-align: left;
}

@media (max-width: 860px) {
  .phbar { gap: 0.55rem; padding: 0.35rem 0.7rem; min-height: 56px; }
  .phbar__label, .phbar__date, .phbar__meta, .phbar__all { display: none; }
  .phbar .pmini { flex: 0 0 auto; min-width: 0; }
  .phbar .pmini__bar { display: none; }
  .phbar .pmini__time { display: none; }
  .phbar__art img { width: 42px; height: 42px; }
  .phbar .pmini__btn { width: 40px; height: 40px; }
  .phbar__title { flex: 0 1 auto; font-size: 0.9rem; }
}
