/* ══════════════════════════════════════════════════════════════
   RupeeCase Podcast — Mini Player Bar (Bottom)
   ══════════════════════════════════════════════════════════════ */

#mini-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy, #0D1F3C);
  border-top: 1px solid rgba(255,255,255,0.08);
  height: 56px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.mp-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

.mp-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  color: var(--navy, #0D1F3C);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s;
}
.mp-play:hover { transform: scale(1.06); }
.mp-play svg { width: 14px; height: 14px; }

.mp-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp-title {
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-progress {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
}
.mp-progress:hover { height: 5px; }

.mp-progress-fill {
  height: 100%;
  background: white;
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.mp-time {
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
  min-width: 36px;
  text-align: right;
}

.mp-controls {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.mp-seek {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.mp-seek:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.mp-close {
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 6px;
  transition: all 0.15s;
}
.mp-close:hover { color: white; background: rgba(255,255,255,0.1); }
.mp-close svg { width: 16px; height: 16px; }

/* ── Dark mode adjustments ── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #mini-player-bar {
    background: #060912;
    border-top-color: rgba(255,255,255,0.06);
  }
}
:root[data-theme="dark"] #mini-player-bar {
  background: #060912;
  border-top-color: rgba(255,255,255,0.06);
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .mp-inner { padding: 0 12px; gap: 8px; }
  .mp-controls { display: none; }
  .mp-time { display: none; }
  .mp-title { font-size: 11px; }
}
