:root {
  --bg: #0d0d12;
  --accent: #7c4dff;
  --text: #ffffff;
  --sub: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.player {
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 28px;
  text-align: center;
}
#art {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
#title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#artist {
  color: var(--sub);
  font-size: 13px;
  margin-bottom: 20px;
}
#audio {
  width: 100%;
  margin-bottom: 16px;
  filter: invert(1) hue-rotate(180deg);
}
.controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.controls button {
  background: none;
  border: 1px solid var(--border);
  color: var(--sub);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s, border-color 0.2s;
}
.controls button:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.controls button.active { color: var(--accent); border-color: var(--accent); }
#list {
  text-align: left;
  max-height: 200px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}
#list::-webkit-scrollbar { width: 3px; }
#list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}
.track:hover { background: rgba(255, 255, 255, 0.04); }
.track.active { color: var(--accent); }
.track img { width: 36px; height: 36px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.track-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-header { display: flex; justify-content: center; margin-bottom: 20px; }
.brand-logo { height: 70px; width: auto; max-width: 200px; }
