:root {
  --bg-dark: #000000;
  --bg-panel: #121212;
  --bg-card: #181818;
  --bg-hover: #282828;
  --accent: #1db954;
  --text-main: #ffffff;
  --text-muted: #b3b3b3;
  --border: #2a2a2a;
  --danger: #e91429;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  display: flex;
  height: 100vh;
  overflow: hidden;
  user-select: none;
}

/* ==========================================
   SISTEMA DE AUTENTICACIÓN
   ========================================== */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  background: #181818;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 32px 26px;
  width: 90%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.auth-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.auth-logo i { color: var(--accent); }

.auth-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -8px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.auth-field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.auth-field input {
  background: #242424;
  border: 1px solid #3a3a3a;
  color: #fff;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.auth-field input:focus { border-color: var(--accent); }

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.btn-auth-main {
  background: var(--accent);
  color: #000;
  font-weight: 700;
  padding: 12px;
  border-radius: 500px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.auth-msg {
  font-size: 0.8rem;
  text-align: center;
  color: var(--danger);
  min-height: 18px;
}

/* ==========================================
   BARRA LATERAL DESKTOP
   ========================================== */
aside {
  width: 260px;
  background-color: var(--bg-dark);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

aside h2 {
  color: #fff;
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 4px;
}

aside nav a {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 7px 0;
  transition: color 0.2s;
}
aside nav a:hover, aside nav a.active { color: #fff; }

.divider { height: 1px; background: var(--border); margin: 4px 0; }

.playlist-section { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.playlist-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-icon {
  background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.1rem; padding: 4px; border-radius: 4px;
}
.btn-icon:hover { color: #fff; }

.playlists-list { list-style: none; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.playlist-item {
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.playlist-item:hover, .playlist-item.active { color: #fff; background-color: var(--bg-hover); }

/* ==========================================
   BARRA INFERIOR MÓVIL (iOS)
   ========================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 60;
  justify-content: space-around;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
}
.mobile-nav-item i { font-size: 1.15rem; }
.mobile-nav-item.active { color: #fff; }

/* ==========================================
   PANEL PRINCIPAL
   ========================================== */
main {
  flex: 1;
  background: linear-gradient(180deg, #222222 0%, var(--bg-panel) 40%);
  border-radius: 8px;
  margin: 8px 8px 98px 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scroll-behavior: smooth;
  position: relative;
  transition: background 0.8s ease;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 10;
  height: 64px;
}

.top-bar-left { display: flex; align-items: center; gap: 16px; flex: 1; }
.top-nav-buttons { display: flex; gap: 8px; }
.btn-top-nav {
  width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,0.7); border: none; color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.btn-top-nav:disabled { opacity: 0.35; cursor: not-allowed; }

.search-box { display: flex; gap: 10px; flex: 1; max-width: 420px; }
.search-box input {
  flex: 1; padding: 10px 18px; border-radius: 500px; border: 1px solid transparent; background: #242424; color: #fff; outline: none; font-size: 0.9rem;
}
.search-box input:focus { border-color: #555; background: #2a2a2a; }

.top-bar-right { display: flex; align-items: center; }
.user-profile {
  display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.6); padding: 4px 14px 4px 4px;
  border-radius: 500px; font-size: 0.85rem; font-weight: 700; cursor: pointer;
}
.user-profile img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

#roomBanner {
  background: #1e3264; color: #fff; padding: 10px 28px; font-size: 0.85rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1);
}
#roomBanner button {
  background: rgba(255,255,255,0.2); border: none; color: #fff; padding: 4px 12px; border-radius: 500px; cursor: pointer; font-size: 0.75rem; font-weight: 700;
}

.main-content-area { padding: 24px 28px; flex: 1; }
.view-title { font-size: 1.7rem; margin-bottom: 16px; font-weight: 700; letter-spacing: -0.03em; }

.collection-header-row {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 16px; flex-wrap: wrap;
}

.list-filter-box {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 500px;
  padding: 6px 14px; display: flex; align-items: center; gap: 8px; width: 220px;
}
.list-filter-box input { background: none; border: none; outline: none; color: #fff; font-size: 0.85rem; width: 100%; }

/* Pestañas de Filtro Originales */
.filter-tabs { display: flex; gap: 8px; margin-bottom: 24px; overflow-x: auto; padding-bottom: 4px; }
.filter-tab {
  background: #242424; color: #fff; border: 1px solid #333; padding: 6px 16px; border-radius: 500px;
  font-size: 0.8rem; font-weight: 700; cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: all 0.2s;
}
.filter-tab:hover { background: #333; }
.filter-tab.active { background: #fff; color: #000; border-color: #fff; }

.header-actions-bar { display: flex; gap: 10px; }
.btn-action-pill {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff;
  padding: 8px 16px; border-radius: 500px; font-size: 0.8rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: 8px; transition: background 0.2s;
}
.btn-action-pill:hover { background: rgba(255,255,255,0.2); }

.btn-load-more {
  background: #282828; color: #fff; border: 1px solid #444; border-radius: 500px;
  padding: 10px 32px; font-weight: 700; font-size: 0.88rem; cursor: pointer; transition: all 0.2s;
}
.btn-load-more:hover { background: #383838; border-color: #666; transform: scale(1.02); }

.stats-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px;
}
.stat-val { font-size: 1.4rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }

.daily-mix-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  border-radius: 8px; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.mix-text h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.mix-text p { font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.mix-play-btn {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #000; border: none; font-size: 1.15rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ==========================================
   CUADRÍCULAS ADAPTATIVAS (PROPORCIONALES)
   ========================================== */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.archive-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: background 0.25s, transform 0.15s;
}
.archive-card:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
}

.card-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: #181818;
  margin-bottom: 10px;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.card-creator {
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cabecera de Álbum */
.album-hero-wrap {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
  padding: 8px 0;
}
.album-hero-img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0,0,0,0.6);
  flex-shrink: 0;
}
.album-hero-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.album-hero-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
}
.album-hero-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  word-break: break-word;
}
.album-hero-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================
   TABLA DE PISTAS
   ========================================== */
.tracklist { list-style: none; display: flex; flex-direction: column; width: 100%; }
.track-header {
  display: grid; grid-template-columns: 40px 1fr 180px; padding: 8px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.track-row {
  display: grid; grid-template-columns: 40px 1fr 180px; align-items: center; padding: 8px 14px; border-radius: 4px;
  cursor: pointer; transition: background 0.2s;
}
.track-row:hover { background: rgba(255,255,255,0.08); }
.track-row.playing { background: rgba(255,255,255,0.05); }
.track-row.playing .track-title { color: var(--accent); }

.track-num { color: var(--text-muted); font-size: 0.9rem; text-align: center; }
.track-info { display: flex; align-items: center; gap: 12px; overflow: hidden; }
.track-thumb { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; background: #222; flex-shrink: 0; }
.track-text { display: flex; flex-direction: column; overflow: hidden; }
.track-title { font-weight: 600; font-size: 0.9rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-artist { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

.track-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; color: var(--text-muted); font-size: 0.85rem; }
.btn-track-action { background: none; border: none; color: var(--text-muted); font-size: 0.95rem; cursor: pointer; }
.btn-track-action:hover { color: #fff; }
.btn-fav-action { background: none; border: none; color: var(--text-muted); font-size: 1rem; cursor: pointer; }
.btn-fav-action.active { color: var(--accent) !important; }

/* ==========================================
   MODO LETRAS
   ========================================== */
.lyrics-wrapper { display: flex; flex-direction: column; align-items: center; padding: 40px 10px; text-align: center; max-width: 780px; margin: 0 auto; }
.lyrics-line { font-size: 1.4rem; font-weight: 700; color: rgba(255,255,255,0.25); margin: 16px 0; transition: all 0.25s ease; cursor: pointer; }
.lyrics-line:hover { color: rgba(255,255,255,0.6); }
.lyrics-line.active { color: #ffffff; font-size: 1.8rem; transform: scale(1.05); }

/* ==========================================
   FOOTER (CONTROLES COMPLETOS RESTAURADOS)
   ========================================== */
footer {
  position: fixed; bottom: 0; left: 0; width: 100%; height: 90px; background: #181818;
  border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; z-index: 50;
}

.player-track { display: flex; align-items: center; gap: 14px; width: 26%; min-width: 180px; cursor: pointer; }
.player-cover { width: 56px; height: 56px; border-radius: 4px; background: #282828; object-fit: cover; flex-shrink: 0; }
.player-names { display: flex; flex-direction: column; overflow: hidden; }
.player-names span:first-child { font-size: 0.85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.player-names span:last-child { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

.player-center { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; max-width: 680px; }
.controls-main { display: flex; align-items: center; gap: 20px; }
.btn-circle {
  background: #fff; color: #000; width: 34px; height: 34px; border-radius: 50%; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.btn-trans { background: none; border: none; color: var(--text-muted); font-size: 1rem; cursor: pointer; }
.btn-trans:hover { color: #fff; }
.btn-trans.active { color: var(--accent); }

.progress-wrap { display: flex; align-items: center; gap: 10px; width: 100%; font-size: 0.72rem; color: var(--text-muted); }
.bar-bg { flex: 1; height: 4px; background: #4d4d4d; border-radius: 2px; cursor: pointer; position: relative; }
.bar-fill { height: 100%; width: 0%; background: #fff; border-radius: 2px; pointer-events: none; }
.bar-bg:hover .bar-fill { background: var(--accent); }

.player-right { width: 38%; min-width: 280px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; color: var(--text-muted); }
.btn-right { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; }
.btn-right:hover, .btn-right.active { color: #fff; }

.btn-pill-toggle {
  background: #282828; color: var(--text-muted); border: 1px solid #444; border-radius: 500px;
  padding: 3px 8px; font-size: 0.65rem; font-weight: 700; cursor: pointer;
}
.btn-pill-toggle.active { background: var(--accent); color: #000; border-color: var(--accent); }

#visualizerCanvas { width: 38px; height: 18px; border-radius: 2px; }

.vol-slider-wrap { width: 75px; height: 4px; background: #4d4d4d; border-radius: 2px; cursor: pointer; }
.vol-fill { height: 100%; width: 100%; background: #fff; border-radius: 2px; }

/* ==========================================
   NOW PLAYING FULLSCREEN MÓVIL (iOS)
   ========================================== */
.mobile-fullscreen-player {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(180deg, #282828 0%, #121212 50%, #000000 100%);
  z-index: 9999; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(20px + env(safe-area-inset-top)) 28px calc(24px + env(safe-area-inset-bottom)) 28px;
  transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-sizing: border-box;
}
.mobile-fullscreen-player.active { transform: translateY(0%); }

.mfp-header { display: flex; justify-content: space-between; align-items: center; }
.mfp-header-btn { background: none; border: none; color: #fff; font-size: 1.25rem; cursor: pointer; padding: 8px; }
.mfp-header-title { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; }

.mfp-cover-container { width: 100%; aspect-ratio: 1; max-width: 320px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 16px 36px rgba(0,0,0,0.6); }
.mfp-cover-container img { width: 100%; height: 100%; object-fit: cover; }

.mfp-info-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.mfp-title { font-size: 1.35rem; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.mfp-artist { font-size: 0.95rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mfp-progress-container { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.mfp-time-row { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }

.mfp-controls-main { display: flex; justify-content: space-between; align-items: center; margin: 10px 0; }
.mfp-controls-main .btn-trans { font-size: 1.3rem; }
.mfp-play-circle { width: 62px; height: 62px; font-size: 1.5rem; }

.mfp-bottom-actions { display: flex; justify-content: space-around; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 14px; }
.mfp-action-btn { background: none; border: none; color: var(--text-muted); font-size: 0.75rem; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mfp-action-btn i { font-size: 1.15rem; }

/* ==========================================
   MODALES Y UTILIDADES
   ========================================== */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 10000; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.modal-card {
  background: #282828; border-radius: 8px; padding: 24px; width: 90%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; border: 1px solid #333; max-height: 85vh; overflow-y: auto;
}
.modal-card h3 { font-size: 1.2rem; color: #fff; font-weight: 700; }
.modal-card input, .modal-card select {
  background: #3e3e3e; color: #fff; padding: 12px 14px; border-radius: 4px; border: 1px solid transparent; outline: none; font-size: 0.95rem; width: 100%;
}
.modal-btns { display: flex; justify-content: flex-end; gap: 12px; margin-top: 6px; }
.modal-btns button { padding: 10px 22px; border-radius: 500px; border: none; cursor: pointer; font-weight: 700; font-size: 0.85rem; }

.eq-slider-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: var(--text-muted); }
.eq-slider-row input[type=range] { flex: 1; accent-color: var(--accent); }

.timer-btn {
  background: #1f1f1f; border: 1px solid #333; color: #fff; padding: 10px 14px; border-radius: 6px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; font-size: 0.85rem;
}

#toast {
  position: fixed; bottom: 105px; left: 50%; transform: translateX(-50%); background: #2e77d0; color: #fff;
  padding: 12px 24px; border-radius: 8px; font-size: 0.88rem; font-weight: 600; display: none; z-index: 11000; box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* ==========================================
   RESPONSIVIDAD MÓVIL (iPHONE)
   ========================================== */
@media (max-width: 768px) {
  body { flex-direction: column; }
  aside { display: none; }
  .mobile-bottom-nav { display: flex; }
  main { margin: 0; border-radius: 0; height: calc(100vh - 124px); }
  .top-bar { padding: 12px 16px; }
  .top-nav-buttons, .user-profile span { display: none; }
  .main-content-area { padding: 16px; }

  /* 2 Columnas fijas sin colapso a tamaño gigante */
  .grid-container {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .archive-card { padding: 8px !important; border-radius: 6px; }
  .card-thumb { margin-bottom: 6px; border-radius: 4px; }
  .card-title { font-size: 0.82rem; }
  .card-creator { font-size: 0.72rem; }

  /* Cabecera compacta en móvil */
  .album-hero-wrap { flex-direction: row; align-items: center; gap: 14px; margin-bottom: 18px; }
  .album-hero-img { width: 100px; height: 100px; border-radius: 6px; }
  .album-hero-title { font-size: 1.25rem; }
  .album-hero-meta { font-size: 0.78rem; }

  .track-header { display: none; }
  .track-row { grid-template-columns: 24px 1fr 60px; padding: 8px 4px; }
  .track-actions span { display: none; }

  footer {
    bottom: 56px; height: 56px; padding: 0 10px; background: #202020; border-radius: 8px; margin: 0 8px; width: calc(100% - 16px); border: 1px solid rgba(255,255,255,0.08);
  }
  .player-track { flex: 1; min-width: 0; gap: 10px; }
  .player-cover { width: 40px; height: 40px; }
  .progress-wrap, .player-right { display: none; }
  .controls-main { gap: 14px; }
  #btnShuffle, #btnRepeat { display: none; }
  #toast { bottom: 125px; width: 88%; text-align: center; }
}