/* ============================================================
   player.css — PLAY MY v8.5.0
   Player inferior (fixo) e player expandido.
   ============================================================ */
/* ============ PLAYER FIXO (bottom bar) ============ */

.player-miv { position: fixed; bottom: 0; left: 0; right: 0; height: var(--player-height); background: rgba(28, 28, 30, 0.92); backdrop-filter: var(--blur); border-top: 0.5px solid var(--apple-separator); z-index: 9999; display: flex; align-items: center; padding: 0 20px; }
.player-bar { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.player-track-info { flex: 0 0 25%; display: flex; align-items: center; gap: 12px; min-width: 180px; }
.track-image-container { position: relative; width: 56px; height: 56px; flex-shrink: 0; }
.track-image { width: 100%; height: 100%; border-radius: var(--radius-md); object-fit: cover; }
.track-image-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; cursor: pointer; }
.track-image-overlay:hover { opacity: 1; }
.track-details { flex: 1; min-width: 0; }
.track-title { font-size: 14px; font-weight: 600; color: var(--apple-label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-artist { font-size: 12px; color: var(--apple-label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-btn { background: none; border: none; color: var(--apple-label-2); font-size: 16px; cursor: pointer; padding: 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
.player-btn:hover { background: rgba(255,255,255,0.08); color: var(--apple-label); }
.player-btn.favorite-btn.active { color: var(--apple-yellow); }
.player-controls-center { flex: 1; max-width: 600px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.control-buttons { display: flex; align-items: center; gap: 16px; }
.control-btn { background: none; border: none; color: var(--apple-label-2); cursor: pointer; padding: 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.control-btn:hover { color: var(--apple-label); background: rgba(255,255,255,0.08); }
.control-btn.play-btn { width: 48px; height: 48px; background: var(--apple-label); color: var(--apple-bg); font-size: 22px; }
.progress-container { width: 100%; display: flex; align-items: center; gap: 12px; }
.progress-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.15); border-radius: var(--radius-pill); cursor: pointer; position: relative; }
.progress-fill { height: 100%; background: var(--apple-label); border-radius: var(--radius-pill); width: 0%; transition: width 0.1s linear; }
.time-current, .time-total { font-size: 11px; color: var(--apple-label-2); min-width: 40px; font-variant-numeric: tabular-nums; }
.player-controls-right { flex: 0 0 25%; display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 180px; }
.volume-container { display: flex; align-items: center; gap: 8px; }
.volume-slider-container { width: 100px; }
.volume-slider { height: 4px; background: rgba(255,255,255,0.15); border-radius: var(--radius-pill); cursor: pointer; position: relative; }
.volume-slider-fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--apple-label); border-radius: var(--radius-pill); width: 80%; }

/* ============ PLAYER EXPANDIDO ============ */
.youtube-container-expanded { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; position: relative; }
#youtubePlayerExpanded { width: 100%; height: 100%; }
.player-loading { position: absolute; inset: 0; background: rgba(0,0,0,0.85); display: flex; align-items: center; justify-content: center; color: #fff; }
.expanded-content { padding: 32px 20px; max-width: 1200px; margin: 0 auto; }
.expanded-album-art { width: 300px; height: 300px; border-radius: var(--radius-lg); object-fit: cover; }
.expanded-title { font-size: 44px; font-weight: 700; color: var(--apple-label); margin: 16px 0; }
.expanded-artist { font-size: 20px; color: var(--apple-label-2); margin-bottom: 24px; }
.expanded-progress-bar { height: 6px; background: rgba(255,255,255,0.15); border-radius: var(--radius-pill); cursor: pointer; margin-bottom: 8px; }
.expanded-progress-fill { height: 100%; background: var(--apple-label); border-radius: var(--radius-pill); width: 0%; }
.expanded-time-display { display: flex; justify-content: space-between; color: var(--apple-label-2); font-size: 13px; }
