.podcast-player {
  position: fixed;
  bottom:60px;
  width: 92%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: grid;
  gap: 14px;
}

.podcast-player__top {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}

.podcast-player__artwork {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.podcast-player__meta {
  display: grid;
  gap: 4px;
}

.podcast-player__title {
  font-size: 1rem;
  line-height: 1.25;
}

.podcast-player__subtitle {
  font-size: 0.9rem;
  color: #6b7280;
}

.podcast-player__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.podcast-btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}

.podcast-btn--play {
  width: 56px;
  height: 56px;
  background: #111827;
  color: #fff;
  font-size: 1.2rem;
}

.podcast-btn--ghost {
  min-width: 56px;
  height: 40px;
  padding: 0 14px;
  background: #f3f4f6;
  color: #111827;
}

.podcast-player__progress {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 10px;
  align-items: center;
}

.podcast-player__progress span {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

.podcast-player__seek {
  width: 100%;
}

.podcast-player__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.podcast-player__speed-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.podcast-player__speed {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 6px 10px;
  background: #fff;
}

@media (max-width: 520px) {
  .podcast-player__top {
    grid-template-columns: 56px 1fr;
  }

  .podcast-player__artwork {
    width: 56px;
    height: 56px;
  }

  .podcast-player__progress {
    grid-template-columns: 42px 1fr 42px;
  }

  .podcast-player__bottom {
    flex-direction: column;
    align-items: stretch;
  }
}
.podcast-list {
  display: grid;
  gap: 12px;
}

.podcast-episode-trigger {
  appearance: none;
  width: 100%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.podcast-episode-trigger:hover {
  transform: translateY(-1px);
  border-color: #d1d5db;
  background: #fcfcfd;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.podcast-episode-trigger:active {
  transform: scale(0.99);
}

.podcast-episode-trigger:focus-visible {
  outline: none;
  border-color: #1db954;
  box-shadow:
    0 0 0 4px rgba(29, 185, 84, 0.16),
    0 10px 24px rgba(0, 0, 0, 0.08);
}

/* Aktive Folge */
.podcast-episode-trigger.is-active {
  border-color: rgba(29, 185, 84, 0.35);
  background: linear-gradient(180deg, #f7fff9 0%, #f3fcf6 100%);
  box-shadow:
    0 10px 26px rgba(29, 185, 84, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

/* Linke Play-Fläche */
.podcast-episode-trigger__play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2ae66d 0%, #1db954 55%, #169c47 100%);
  position: relative;
  box-shadow:
    0 8px 18px rgba(29, 185, 84, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.podcast-episode-trigger__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-38%, -50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #111827;
}

/* Wenn aktive Folge gerade läuft */
.podcast-episode-trigger.is-playing .podcast-episode-trigger__play::before,
.podcast-episode-trigger.is-playing .podcast-episode-trigger__play::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 14px;
  background: #111827;
  border-radius: 2px;
  transform: translateY(-50%);
  border: 0;
}

.podcast-episode-trigger.is-playing .podcast-episode-trigger__play::before {
  left: calc(50% - 6px);
}

.podcast-episode-trigger.is-playing .podcast-episode-trigger__play::after {
  left: calc(50% + 2px);
}

.podcast-episode-trigger__content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.podcast-episode-trigger__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.podcast-episode-trigger__meta {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.25;
}

.podcast-episode-trigger__more {
  color: #9ca3af;
  font-size: 0.95rem;
  justify-self: end;
}

.podcast-episode-trigger:hover .podcast-episode-trigger__more,
.podcast-episode-trigger.is-active .podcast-episode-trigger__more {
  color: #111827;
}

@media (max-width: 520px) {
  .podcast-episode-trigger {
    grid-template-columns: 40px 1fr 16px;
    padding: 12px 14px;
    gap: 12px;
  }

  .podcast-episode-trigger__play {
    width: 40px;
    height: 40px;
  }

  .podcast-episode-trigger__title {
    font-size: 0.94rem;
  }

  .podcast-episode-trigger__meta {
    font-size: 0.82rem;
  }
}
.podcast-episode-trigger__status {
  display: block;
  margin-top: 6px;
}

.podcast-episode-trigger__progress {
  display: block;
  width: 100%;
  height: 4px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.podcast-episode-trigger__progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: #1db954;
  border-radius: 999px;
  transition: width 0.2s ease;
}

.podcast-episode-trigger__done {
  display: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1db954;
  margin-top: 2px;
}

.podcast-episode-trigger.is-complete .podcast-episode-trigger__progress {
  display: none;
}

.podcast-episode-trigger.is-complete .podcast-episode-trigger__done {
  display: inline-block;
}
/*mini PLayer styles*/
.podcast-mini-player {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 100px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.96);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);

  transition: transform 0.2s ease, opacity 0.2s ease;
}

.podcast-mini-player.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.podcast-mini-player__title {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.podcast-mini-player__toggle {
  appearance: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #1db954;
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 auto;
}

.podcast-mini-player__toggle:hover {
  filter: brightness(1.05);
}

.podcast-player.player-mode-mini {
  display: none;
}

@media (min-width: 900px) {
  .podcast-mini-player {
    left: auto;
    width: 360px;
    right: 16px;
    bottom: 16px;
  }
}