/* Sticky mini-player — fixed bottom bar, episode pages only */

.sticky-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #00213d;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  transform: translateY(100%);
  /* 300ms must match the hideTimer delay in player-sticky.js */
  transition: transform 0.3s ease;
}

.sticky-player.is-visible {
  transform: translateY(0);
}

.sticky-player-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto;
}

.sticky-btn {
  background: none;
  border: none;
  color: #f8f8ff;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding: 0 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.sticky-btn:hover {
  color: #007ACC;
  background: rgba(255, 255, 255, 0.08);
}

.sticky-btn:focus-visible {
  outline: 2px solid #007ACC;
  outline-offset: 2px;
}

.sticky-time,
.sticky-duration {
  color: #f8f8ff;
  font-size: 0.78rem;
  white-space: nowrap;
  min-width: 36px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.sticky-progress {
  flex: 1;
  height: 4px;
  cursor: pointer;
  accent-color: #007ACC;
  min-width: 0;
}

/* Narrow screens: hide progress bar and duration, keep controls */
@media (max-width: 400px) {
  .sticky-progress,
  .sticky-duration {
    display: none;
  }
}

/* Reduced motion: instant show/hide */
@media (prefers-reduced-motion: reduce) {
  .sticky-player {
    transition: none;
  }
}
