/* The mini player bar (every page) and the page-swap fade. Colors fall back
   to the site plugin's --rd-* tokens. */

html.rd73-has-mini body { padding-bottom: 68px; }
html.rd73-swapping #content { opacity: .55; transition: opacity .15s; }

.rd73-mini {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990;
  height: 64px; display: flex; align-items: center; gap: .9rem; padding: 0 1rem;
  background: rgba(14, 13, 12, .97); border-top: 1px solid rgba(212, 160, 23, .45);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .6);
  font-family: var(--rd-ui, Inter, sans-serif); color: var(--rd-text, #e8e8e8);
}
.rd73-mini[hidden] { display: none !important; }

/* Astra styles every button globally; take the player's back. */
.rd73-mini button, .rd73-mini a {
  -webkit-appearance: none; appearance: none; margin: 0; font: inherit; line-height: 1; cursor: pointer;
  background: none !important; border: 0 !important; box-shadow: none !important; transform: none !important;
  padding: 0 !important; border-radius: 0 !important; color: inherit !important; text-transform: none; letter-spacing: normal;
}
.rd73-mini svg, .rd73-music svg { width: 1em; height: 1em; fill: currentColor; display: block; }

.rd73-mini-progress { position: absolute; left: 0; right: 0; top: -2px; height: 3px; background: rgba(255, 255, 255, .06); cursor: pointer; }
.rd73-mini-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #9c7410, var(--rd-gold, #d4a017), var(--rd-gold2, #f0c040)); }

.rd73-mini-art {
  width: 46px; height: 46px; flex: 0 0 46px; overflow: hidden; border-radius: 3px;
  border: 1px solid rgba(212, 160, 23, .4); background: #111;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--rd-head, Cinzel, serif); color: var(--rd-gold, #d4a017); font-size: 1.3rem;
}
.rd73-mini-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rd73-mini-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.rd73-mini-title { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd73-mini-album { color: var(--rd-gold, #d4a017); font-family: var(--rd-head, Cinzel, serif); font-size: .72rem; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rd73-mini-controls { display: flex; align-items: center; gap: .25rem; }
.rd73-mini-controls button { width: 36px; height: 36px; display: flex !important; align-items: center; justify-content: center; font-size: 22px; border-radius: 50% !important; color: #ccc !important; }
.rd73-mini-controls button:hover { color: var(--rd-gold, #d4a017) !important; }
.rd73-mini .rd73-mini-play { width: 42px; height: 42px; border: 1px solid var(--rd-gold, #d4a017) !important; color: var(--rd-gold, #d4a017) !important; }
.rd73-mini .rd73-mini-play:hover { background: var(--rd-gold, #d4a017) !important; color: var(--rd-bg, #0a0a0a) !important; }
.rd73-mini .rd73-mini-open, .rd73-mini .rd73-mini-close { width: 32px; height: 32px; display: flex !important; align-items: center; justify-content: center; font-size: 20px; color: #888 !important; }
.rd73-mini .rd73-mini-open:hover, .rd73-mini .rd73-mini-close:hover { color: var(--rd-gold, #d4a017) !important; }

@media (max-width: 600px) {
  .rd73-mini { gap: .55rem; padding: 0 .6rem; }
  .rd73-mini .rd73-mini-open { display: none !important; }
  .rd73-mini-controls .rd73-mini-prev { display: none !important; }
}
