/* ============================================
   ECO — MUSIC APP STYLES
   Dark, refined, minimal luxury aesthetic
   ============================================ */

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a24;
  --bg4: #22222f;
  --accent: #c8f060;
  --accent2: #a8d840;
  --text: #f0f0f8;
  --text2: #9090a8;
  --text3: #606078;
  --border: rgba(255,255,255,0.07);
  --player-h: 80px;
  --sidebar-w: 220px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 4px; }

/* ============ SIDEBAR ============ */
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  z-index: 100;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 28px;
}

.logo-mark {
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  font-family: 'Syne', sans-serif;
}
.logo-mark.small { font-size: 22px; }
.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--text2);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  text-align: left;
}
.nav-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.nav-btn:hover { background: var(--bg3); color: var(--text); }
.nav-btn.active { background: var(--bg3); color: var(--accent); }

.sidebar-upload { display: block !important; }

.upload-btn {
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.upload-btn svg { width: 18px; height: 18px; fill: currentColor; }
.upload-btn:hover { background: var(--accent2); }

/* ============ MOBILE HEADER ============ */
.mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  align-items: center;
  padding: 0 16px;
  gap: 10px;
  z-index: 100;
}
.mobile-header .logo-text { flex: 1; font-size: 18px; }
.icon-btn {
  background: none; border: none; color: var(--text2);
  width: 36px; height: 36px; border-radius: 8px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.icon-btn:hover { background: var(--bg3); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ============ MAIN CONTENT ============ */
.main-content {
  margin-left: var(--sidebar-w);
  padding: 32px;
  padding-bottom: calc(var(--player-h) + 32px);
  height: 100vh;
  overflow-y: auto;
}

/* ============ VIEWS ============ */
.view { display: none; }
.view.active { display: block; animation: fadeIn 0.25s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.view-header h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -1px;
  color: var(--text);
}

/* ============ SEARCH ============ */
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  min-width: 220px;
}
.search-box svg { width: 16px; height: 16px; fill: var(--text3); flex-shrink: 0; }
.search-box input {
  background: none; border: none; outline: none;
  color: var(--text); font-family: 'DM Sans', sans-serif;
  font-size: 14px; width: 100%;
}
.search-box input::placeholder { color: var(--text3); }

/* ============ SONGS GRID ============ */
.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.song-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.song-card:hover {
  background: var(--bg3);
  border-color: rgba(200,240,96,0.2);
  transform: translateY(-2px);
}
.song-card.playing {
  border-color: var(--accent);
  background: var(--bg3);
}

.song-cover {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.song-cover img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm);
}
.song-cover .play-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
  font-size: 28px;
}
.song-card:hover .play-overlay { opacity: 1; }

.song-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.song-artist {
  font-size: 12px;
  color: var(--text2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-actions {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}
.song-action-btn {
  flex: 1;
  background: var(--bg4);
  border: none;
  color: var(--text2);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.song-action-btn:hover { background: var(--bg); color: var(--text); }
.song-action-btn.danger:hover { color: #ff6b6b; }

/* ============ PLAYLISTS GRID ============ */
.playlists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.playlist-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.playlist-card:hover {
  background: var(--bg3);
  transform: translateY(-2px);
}

.playlist-cover {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 14px;
}

.playlist-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}
.playlist-count {
  font-size: 12px;
  color: var(--text2);
}

/* ============ PLAYLIST DETAIL ============ */
.playlist-detail-header {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  align-items: flex-end;
}

.playlist-cover-large {
  width: 160px;
  height: 160px;
  background: var(--bg3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  flex-shrink: 0;
}

.playlist-detail-info h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 6px;
}
.playlist-detail-info span {
  font-size: 13px;
  color: var(--text2);
  display: block;
  margin-bottom: 20px;
}
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============ SONGS LIST ============ */
.songs-list { display: flex; flex-direction: column; gap: 4px; }

.song-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.song-row:hover { background: var(--bg3); }
.song-row.playing { background: var(--bg3); }
.song-row.playing .song-row-title { color: var(--accent); }

.song-row-num {
  font-size: 13px;
  color: var(--text3);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.song-row-cover {
  width: 40px; height: 40px;
  background: var(--bg4);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.song-row-info { flex: 1; min-width: 0; }
.song-row-title {
  font-size: 14px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.song-row-artist { font-size: 12px; color: var(--text2); }
.song-row-actions { display: flex; gap: 4px; opacity: 0; transition: opacity 0.15s; }
.song-row:hover .song-row-actions { opacity: 1; }
.song-row-actions button {
  background: none; border: none; color: var(--text2);
  width: 28px; height: 28px; border-radius: 6px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; font-size: 13px;
}
.song-row-actions button:hover { background: var(--bg4); color: var(--text); }
.song-row-actions button.danger:hover { color: #ff6b6b; }

/* ============ EMPTY STATE ============ */
.empty-state {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 10px;
  text-align: center;
}
.empty-icon { font-size: 48px; opacity: 0.3; }
.empty-state p { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; color: var(--text2); }
.empty-state span { font-size: 13px; color: var(--text3); margin-bottom: 10px; }

/* ============ BUTTONS ============ */
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--accent2); }
.btn-primary.small { padding: 7px 14px; font-size: 13px; }

.btn-ghost {
  background: var(--bg3);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--bg4); }

.back-btn {
  background: none; border: none; color: var(--text2);
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; padding: 6px 0; margin-bottom: 20px;
  transition: color 0.15s;
}
.back-btn:hover { color: var(--text); }
.back-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ============ PLAYER BAR ============ */
.player-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--player-h);
  background: var(--bg2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 20px;
  z-index: 200;
  backdrop-filter: blur(20px);
}

.player-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  flex: 1;
}

.player-thumb {
  width: 44px; height: 44px;
  background: var(--bg4);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0; overflow: hidden;
}
.player-thumb img { width: 100%; height: 100%; object-fit: cover; }

.player-meta { min-width: 0; }
.player-title {
  display: block;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 160px;
}
.player-artist {
  display: block;
  font-size: 11px;
  color: var(--text2);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ctrl-btn {
  background: none; border: none; color: var(--text2);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.ctrl-btn svg { width: 20px; height: 20px; fill: currentColor; }
.ctrl-btn:hover { background: var(--bg3); color: var(--text); }

.ctrl-btn.play-pause {
  background: var(--accent);
  color: var(--bg);
  width: 42px; height: 42px;
}
.ctrl-btn.play-pause:hover { background: var(--accent2); }
.ctrl-btn.play-pause svg { width: 22px; height: 22px; }

.player-right {
  display: flex;
  align-items: center;
  min-width: 140px;
  justify-content: flex-end;
}

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text2);
}
.volume-wrap svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.volume-wrap input[type=range] {
  width: 80px;
  accent-color: var(--accent);
  cursor: pointer;
}

.progress-bar-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--bg4);
  cursor: pointer;
}
.progress-bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.5s linear;
  pointer-events: none;
}

.hidden { display: none !important; }

/* ============ MODALS ============ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 20px;
}

.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
  max-width: 440px;
  max-height: 80vh;
  overflow-y: auto;
  animation: modalIn 0.2s ease;
}
.modal.modal-large { max-width: 560px; }

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-header h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.close-btn {
  background: none; border: none; color: var(--text2);
  font-size: 16px; cursor: pointer; padding: 4px 8px;
  border-radius: 6px; transition: all 0.15s;
}
.close-btn:hover { background: var(--bg3); color: var(--text); }

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* ============ FORM ============ */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus { border-color: var(--accent); }

/* ============ UPLOAD ============ */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 16px;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--accent);
  background: rgba(200,240,96,0.05);
}
.upload-icon { font-size: 36px; margin-bottom: 12px; }
.upload-zone p { font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.upload-zone span { font-size: 12px; color: var(--text2); }

.upload-queue { display: flex; flex-direction: column; gap: 8px; }

.upload-item {
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.upload-item-name { flex: 1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-item-status { font-size: 12px; color: var(--text2); flex-shrink: 0; }
.upload-item-status.done { color: var(--accent); }
.upload-item-status.error { color: #ff6b6b; }

.upload-progress {
  height: 3px;
  background: var(--bg4);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.upload-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s;
}

/* ============ SELECTABLE SONGS ============ */
.songs-list.selectable .song-row { cursor: pointer; }
.song-row.selected { background: rgba(200,240,96,0.08); }
.song-row.selected .song-row-title { color: var(--accent); }

/* ============ LOGIN SCREEN ============ */
.login-screen {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  gap: 8px;
}
.login-logo {
  font-size: 64px;
  color: var(--accent);
  font-family: 'Syne', sans-serif;
  margin-bottom: 8px;
}
.login-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -2px;
}
.login-subtitle {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 40px;
}
.google-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: #1a1a1a;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.google-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.google-btn img { width: 20px; height: 20px; }

.login-denied {
  margin-top: 20px;
  background: rgba(255,107,107,0.1);
  border: 1px solid rgba(255,107,107,0.3);
  color: #ff6b6b;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 13px;
  text-align: center;
  max-width: 320px;
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: calc(var(--player-h) + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 600;
  animation: toastIn 0.2s ease;
  white-space: nowrap;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============ MOBILE NAV ============ */
.mobile-nav { display: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .sidebar { display: none; }
  .mobile-header { display: flex; }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: var(--player-h);
    left: 0; right: 0;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    z-index: 150;
  }
  .mobile-nav-btn {
    flex: 1;
    background: none; border: none;
    color: var(--text2);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    padding: 10px 8px 8px;
    cursor: pointer;
    display: flex; flex-direction: column;
    align-items: center; gap: 4px;
    transition: color 0.15s;
  }
  .mobile-nav-btn svg { width: 20px; height: 20px; fill: currentColor; }
  .mobile-nav-btn.active { color: var(--accent); }

  .main-content {
    margin-left: 0;
    padding: 16px;
    padding-top: 72px;
    padding-bottom: calc(var(--player-h) + 56px + 16px);
  }

  .view-header h1 { font-size: 24px; }
  .songs-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .player-bar { padding: 0 14px; gap: 10px; }
  .player-info { min-width: 0; flex: 1; }
  .player-title { max-width: 100px; }
  .player-right { display: none; }
  .playlist-detail-header { flex-direction: column; align-items: flex-start; }
  .playlist-cover-large { width: 120px; height: 120px; font-size: 40px; }
}

/* ============ LIST VIEW ============ */
.list-container {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.song-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  border: 1px solid transparent;
}
.song-row:hover { background: var(--bg3); }
.song-row.playing { background: var(--bg3); border-color: rgba(200,240,96,0.2); }
.song-row.playing .song-row-title { color: var(--accent); }
.song-row.dimmed { opacity: 0.4; cursor: default; }
.song-row.selected { background: rgba(200,240,96,0.08); border-color: rgba(200,240,96,0.3); }

.song-row-num {
  font-size: 12px; color: var(--text3);
  width: 20px; text-align: center; flex-shrink: 0;
}
.song-row-cover {
  width: 42px; height: 42px;
  background: var(--bg4); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.song-row-info { flex: 1; min-width: 0; }
.song-row-title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-row-artist { font-size: 12px; color: var(--text2); }
.song-row-actions { display: flex; gap: 4px; opacity: 0; transition: opacity 0.15s; }
.song-row:hover .song-row-actions { opacity: 1; }
.song-row-actions button {
  background: none; border: none; color: var(--text2);
  width: 28px; height: 28px; border-radius: 6px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: all 0.15s;
}
.song-row-actions button:hover { background: var(--bg4); color: var(--text); }
.song-row-actions button.danger:hover { color: #ff6b6b; }

.playlist-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  cursor: pointer; transition: background 0.15s;
  border: 1px solid transparent;
}
.playlist-row:hover { background: var(--bg3); border-color: var(--border); }

/* ============ HEADER ACTIONS ============ */
.header-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}

/* ============ SIDEBAR BOTTOM ============ */
.sidebar-bottom {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 8px;
}
.logout-btn {
  width: 100%; background: none; border: 1px solid var(--border);
  color: var(--text2); border-radius: var(--radius-sm); padding: 9px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; gap: 8px; transition: all 0.2s;
}
.logout-btn svg { width: 16px; height: 16px; fill: currentColor; }
.logout-btn:hover { background: var(--bg3); color: var(--text); }

/* ============ FULL PLAYER ============ */
.full-player {
  background: var(--bg2);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%; max-width: 480px;
  padding: 24px 28px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  animation: modalIn 0.3s ease;
  position: relative;
}
.full-player-close {
  position: absolute; top: 16px; left: 16px;
  background: none; border: none; color: var(--text2);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.15s;
}
.full-player-close:hover { background: var(--bg3); color: var(--text); }
.full-player-close svg { width: 22px; height: 22px; fill: currentColor; }

.full-player-cover {
  width: 220px; height: 220px;
  background: var(--bg4); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
}
.full-player-info { text-align: center; }
.full-player-info h2 {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px;
  margin-bottom: 4px;
}
.full-player-info p { font-size: 14px; color: var(--text2); }

.full-progress-wrap {
  width: 100%; height: 4px; background: var(--bg4);
  border-radius: 2px; cursor: pointer;
}
.full-progress-bar {
  height: 100%; background: var(--accent);
  border-radius: 2px; width: 0%;
  transition: width 0.5s linear; pointer-events: none;
}
.full-time {
  width: 100%; display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text3); margin-top: -12px;
}

.full-controls {
  display: flex; align-items: center; gap: 8px;
}
.full-ctrl-btn {
  background: none; border: none; color: var(--text2);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  cursor: pointer; padding: 8px; border-radius: 10px; transition: all 0.15s;
  font-size: 10px;
}
.full-ctrl-btn svg { width: 26px; height: 26px; fill: currentColor; }
.full-ctrl-btn:hover { background: var(--bg3); color: var(--text); }
.full-ctrl-btn.play-pause-full {
  background: var(--accent); color: var(--bg);
  width: 64px; height: 64px; border-radius: 50%;
  padding: 0; justify-content: center;
}
.full-ctrl-btn.play-pause-full svg { width: 32px; height: 32px; }
.full-ctrl-btn.play-pause-full:hover { background: var(--accent2); }

.full-volume {
  width: 100%; display: flex; align-items: center; gap: 10px; color: var(--text2);
}
.full-volume svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.full-volume input[type=range] { flex: 1; accent-color: var(--accent); cursor: pointer; }

/* Full player modal aligned to bottom */
#fullPlayerModal {
  align-items: flex-end;
  padding: 0;
}

/* ============ DANGER BTN ============ */
.btn-ghost.danger { color: #ff6b6b; border-color: rgba(255,107,107,0.3); }
.btn-ghost.danger:hover { background: rgba(255,107,107,0.1); }

/* ============ REPRODUCTOR VIEW ============ */
.player-full-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  max-width: 480px;
  margin: 0 auto;
}
.player-full-cover {
  width: 260px; height: 260px;
  background: var(--bg3);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.player-full-info {
  text-align: center;
}
.player-full-info h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 22px; margin-bottom: 6px;
}
.player-full-info p { font-size: 14px; color: var(--text2); }
.player-full-view .full-progress-wrap { width: 100%; }
.player-full-view .full-time { width: 100%; }
.player-full-view .full-controls { gap: 12px; }
.player-full-view .full-volume { width: 100%; }
