/* Multiversum Mind - the mp3 player (public site and admin) */
/* ------------------------------------------------ player */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998; background: #151515; color: #fff; box-shadow: 0 -4px 20px rgba(0, 0, 0, .3);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)); }
.player[hidden] { display: none; }
.player-inner { display: flex; align-items: center; gap: 14px; }
.player-cover { width: 46px; height: 46px; object-fit: cover; flex-shrink: 0; }
.player-info { min-width: 0; width: 220px; flex-shrink: 1; }
.player-title { color: #fff; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.player-title:hover { color: var(--accent-color, #ffc451); }
.player-time { font-size: 12px; color: #aaa; }
.player-controls { display: flex; gap: 2px; }
.player button { background: none; border: 0; color: #fff; font-size: 24px; line-height: 1; padding: 4px 6px; cursor: pointer; }
.player button:hover { color: var(--accent-color, #ffc451); }
.player .player-toggle { font-size: 32px; }
.player-seek { flex: 1; min-width: 60px; accent-color: var(--accent-color, #ffc451); }
.player-volume { width: 90px; accent-color: var(--accent-color, #ffc451); }
.player-close { font-size: 18px !important; }
body.has-player { padding-bottom: 70px; }
body.has-player .scroll-top { bottom: 85px; }
@media (max-width: 575px) {
  .player-inner { flex-wrap: wrap; gap: 6px 10px; }
  .player-info { flex: 1; width: auto; }
  .player-seek { order: 10; flex-basis: 100%; }
  body.has-player { padding-bottom: 100px; }
}
.player .player-repeat { font-size: 20px; opacity: .55; }
.player .player-repeat.active { opacity: 1; color: var(--accent-color, #ffc451); }
/* player: shuffle / list buttons and list panel */
.player .player-shuffle, .player .player-list-toggle { font-size: 20px; opacity: .55; }
.player .player-shuffle.active, .player .player-list-toggle.active { opacity: 1; color: var(--accent-color, #ffc451); }
.player-list { position: absolute; right: 12px; bottom: 100%; width: 360px; max-width: calc(100vw - 24px); max-height: 60vh; display: flex; flex-direction: column;
  background: #1e1e1e; color: #fff; box-shadow: 0 -6px 24px rgba(0, 0, 0, .4); border-radius: 6px 6px 0 0; overflow: hidden; }
.player-list[hidden] { display: none; }
.player-list-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid #333; font-weight: 600; }
.player-list-head button { font-size: 16px !important; }
.player-list ul { list-style: none; margin: 0; padding: 4px 0; overflow-y: auto; }
.player-list li { display: flex; align-items: center; gap: 10px; padding: 5px 12px; cursor: pointer; }
.player-list li:hover { background: #2c2c2c; }
.player-list li.current { color: var(--accent-color, #ffc451); font-weight: 600; }
.player-list li img { width: 36px; height: 36px; object-fit: cover; flex-shrink: 0; }
.player-list li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* player list: very compact, one line per song */
.player-list li { padding: 2px 10px; gap: 8px; font-size: 13px; line-height: 1.3; }
.player-list li img { width: 22px; height: 22px; }
.player-list ul { padding: 2px 0; }
.player-list-head { padding: 5px 10px; font-size: 13px; }
.player-list li span { flex: 1; min-width: 0; }
.player-list li .pl-eye { color: #aaa; font-size: 14px; padding: 0 2px; flex-shrink: 0; }
.player-list li .pl-eye:hover { color: var(--accent-color, #ffc451); }

/* cover places: a 16:9 picture (song without a 1:1 cover) is shown whole on the background colour */
.player-cover, .player-list li img { object-fit: contain; background: var(--cover-bg, #1f1f1f); }
