/* ============================================
   DNA RADIO // WHISPER COLLEGE
   CYBERPUNK MUSIC VISUALIZATION EXPERIENCE
   ============================================ */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&family=Oxanium:wght@300;400;600;700;800&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cyan: #00e5ff;
  --cyan-dim: #00b8cc;
  --cyan-dark: rgba(0,229,255,0.1);
  --magenta: #ff0040;
  --gold: #ffd700;
  --green: #00ff88;
  --black: #000000;
  --white: #ffffff;
  --status-h: 28px;
  --hud-h: 110px;
  --sidebar-w: 290px;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Oxanium', sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  cursor: crosshair;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

/* ---- AMBIENT PARTICLES (CSS) ---- */
#ambient-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ambient-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  opacity: 0;
  animation: float-up linear infinite;
}

.particle-dot { border-radius: 50%; }

.particle-star4 {
  clip-path: polygon(50% 0%, 60% 35%, 100% 50%, 60% 65%, 50% 100%, 40% 65%, 0% 50%, 40% 35%);
}

.particle-bethlehem {
  clip-path: polygon(
    50% 0%,   55% 30%,  80% 10%,  65% 38%,
    100% 35%, 72% 50%,  100% 65%, 65% 62%,
    80% 90%,  55% 70%,  50% 100%, 45% 70%,
    20% 90%,  35% 62%,  0% 65%,   28% 50%,
    0% 35%,   35% 38%,  20% 10%,  45% 30%
  );
}

.particle-white {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 3px rgba(255,255,255,0.8), 0 0 7px rgba(255,255,255,0.4);
}

.particle-cyan {
  background: rgba(0, 229, 255, 0.8);
  box-shadow: 0 0 4px rgba(0,229,255,0.9), 0 0 10px rgba(0,229,255,0.4);
}

.particle-yellow {
  background: rgba(255, 215, 0, 0.7);
  box-shadow: 0 0 4px rgba(255,215,0,0.8), 0 0 10px rgba(255,180,0,0.35);
}

@keyframes float-up {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-100vh) scale(0.2); }
}

/* ---- STATUS BAR ---- */
#status-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--status-h);
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid rgba(0,229,255,0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--cyan);
  letter-spacing: 0.05em;
  z-index: 1000;
  white-space: nowrap;
  overflow: hidden;
  text-shadow: 0 0 8px rgba(0,229,255,0.6);
}

#status-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.4), transparent);
}

#status-bar .sep { opacity: 0.4; }

/* ============================================
   PHASE 1: THE VOID
   ============================================ */
#phase-void {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
}

#void-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

/* ============================================
   PHASE: REVEAL (Whisper ~ College)
   ============================================ */
#phase-reveal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  background: transparent;
}

#reveal-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(200, 220, 255, 0.85);
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.3), 0 0 60px rgba(0, 229, 255, 0.1);
  white-space: nowrap;
}

/* ============================================
   PHASE 2: MAIN INTERFACE
   ============================================ */
#phase-main {
  position: fixed;
  inset: 0;
  top: var(--status-h);
  bottom: 0;
  display: flex;
  flex-direction: row;
  background: #000;
  overflow: hidden;
}

/* ---- DNA HELIX CONTAINER ---- */
#helix-container {
  flex: 1;
  position: relative;
  min-width: 0;
  overflow: hidden;
}

#helix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#css2d-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* CSS2D Labels */
.helix-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(0, 229, 255, 0.75);
  text-shadow: 0 0 6px rgba(0,229,255,0.6);
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: color 0.3s, text-shadow 0.3s, font-size 0.3s;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  background: rgba(0,0,0,0.3);
  border-radius: 2px;
}

.helix-label.active {
  color: var(--cyan);
  font-weight: 700;
  font-size: 12px;
  text-shadow:
    0 0 12px rgba(0,229,255,1),
    0 0 30px rgba(0,229,255,0.6),
    0 0 60px rgba(0,229,255,0.3);
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.3);
  padding: 3px 8px;
}

/* ---- SIDEBAR TOGGLE BUTTON ---- */
#sidebar-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 4px;
  color: var(--cyan);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

#sidebar-toggle:hover {
  background: rgba(0,229,255,0.15);
  box-shadow: 0 0 12px rgba(0,229,255,0.3);
}

#sidebar-toggle.sidebar-open {
  right: calc(var(--sidebar-w) + 10px);
}

/* ---- SIDEBAR ---- */
#sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(0,229,255,0.15);
  overflow: hidden;
  transition: width 0.3s ease, opacity 0.3s ease;
}

#sidebar.collapsed {
  width: 0;
  opacity: 0;
  border-left: none;
  pointer-events: none;
}

#sidebar-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(0,229,255,0.12);
  position: relative;
}

#sidebar-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.15em;
  text-shadow: 0 0 10px rgba(0,229,255,0.5);
}

#sidebar-count {
  font-size: 10px;
  color: rgba(0,229,255,0.4);
  margin-top: 3px;
  letter-spacing: 0.1em;
}

#sidebar-search-wrap {
  position: relative;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,229,255,0.06);
}

#sidebar-search {
  width: 100%;
  background: rgba(0,229,255,0.05);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 3px;
  padding: 7px 30px 7px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.05em;
}

#sidebar-search::placeholder { color: rgba(0,229,255,0.3); }

#sidebar-search:focus {
  border-color: rgba(0,229,255,0.6);
  box-shadow: 0 0 12px rgba(0,229,255,0.25);
}

#search-icon {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(0,229,255,0.4);
  font-size: 16px;
  pointer-events: none;
}

#sidebar-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,229,255,0.2) transparent;
  padding: 4px 0;
}

#sidebar-list::-webkit-scrollbar { width: 4px; }
#sidebar-list::-webkit-scrollbar-track { background: transparent; }
#sidebar-list::-webkit-scrollbar-thumb { background: rgba(0,229,255,0.2); border-radius: 2px; }

.sidebar-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: grab;
  border-bottom: 1px solid rgba(0,229,255,0.04);
  transition: background 0.15s, border-left 0.15s;
  user-select: none;
  position: relative;
  border-left: 2px solid transparent;
}

.sidebar-track:hover { background: rgba(0,229,255,0.07); }

.sidebar-track.active-track {
  background: rgba(0,229,255,0.12);
  border-left: 2px solid var(--cyan);
  box-shadow: inset 0 0 20px rgba(0,229,255,0.05);
}

.sidebar-track.active-track .track-title {
  color: var(--cyan);
  text-shadow: 0 0 6px rgba(0,229,255,0.4);
}

.track-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: rgba(0,229,255,0.5);
}

.track-info { flex: 1; min-width: 0; }

.track-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(0,229,255,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.track-health {
  flex-shrink: 0;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  min-width: 24px;
  text-align: right;
}

.track-health.pos { color: var(--green); }
.track-health.neg { color: var(--magenta); }
.track-health.zero { color: rgba(255,255,255,0.3); }
.track-health.gold { color: var(--gold); text-shadow: 0 0 8px rgba(255,215,0,0.6); }

#helix-container.drag-over {
  outline: 2px dashed rgba(0,229,255,0.5);
  outline-offset: -4px;
}

.queue-add-panel,
.mobile-add-panel {
  padding: 14px 16px 18px;
  border-top: 1px solid rgba(0,229,255,0.08);
  background: rgba(0,229,255,0.03);
}

.queue-add-title {
  font-size: 10px;
  color: rgba(0,229,255,0.6);
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.queue-add-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.queue-add-form input {
  width: 100%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: 4px;
  padding: 8px 10px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
}

.queue-add-form button {
  background: linear-gradient(90deg, rgba(0,229,255,0.14), rgba(116,92,255,0.18));
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.28);
  border-radius: 4px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  cursor: pointer;
}

.queue-add-form button:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* ---- HELIX DRAG & DROP ---- */
.helix-label.dragging {
  opacity: 0.3 !important;
  filter: grayscale(0.5);
}

.helix-label-ghost {
  background: rgba(0,229,255,0.15) !important;
  border: 1px solid rgba(0,229,255,0.6) !important;
  color: var(--cyan) !important;
  font-weight: 500;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0.85;
  box-shadow: 0 0 16px rgba(0,229,255,0.4), 0 2px 8px rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: none !important;
  text-shadow: 0 0 8px rgba(0,229,255,0.6);
}

.helix-drop-indicator {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 12px rgba(0,229,255,0.6), 0 0 4px rgba(0,229,255,0.8);
  pointer-events: none;
  z-index: 100;
  transition: top 0.12s ease-out;
}

/* ---- SIDEBAR DRAG & DROP ---- */
.sidebar-drag-ghost {
  opacity: 0.85 !important;
  background: rgba(0,229,255,0.12) !important;
  border: 1px solid rgba(0,229,255,0.5) !important;
  border-left: 2px solid var(--cyan) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 10px rgba(0,229,255,0.3);
  border-radius: 3px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sidebar-track.drag-above {
  border-top: 2px solid var(--cyan) !important;
  box-shadow: 0 -2px 8px rgba(0,229,255,0.4);
}

.sidebar-track.drag-below {
  border-bottom: 2px solid var(--cyan) !important;
  box-shadow: 0 2px 8px rgba(0,229,255,0.4);
}

.sidebar-track.active-track {
  cursor: default;
}

/* ============================================
   NOW PLAYING HUD
   ============================================ */
#now-playing-hud {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--hud-h);
  background: rgba(0,0,0,0.45);
  border-top: 1px solid rgba(0,229,255,0.15);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 20px;
  z-index: 500;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#now-playing-hud::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.25), transparent);
  z-index: 1;
}

/* -- HUD LEFT -- */
#hud-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
  flex-shrink: 0;
}

#hud-art {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,229,255,0.04);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0,229,255,0.12), inset 0 0 10px rgba(0,229,255,0.03);
}

#hud-art svg { width: 30px; height: 30px; }

#hud-song-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#hud-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 0 8px rgba(0,229,255,0.3);
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#hud-artist {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.1em;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#station-mode,
#mobile-station-mode {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.58);
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* -- HUD CENTER -- */
#hud-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#hud-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

#hud-controls button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 0;
}

#btn-prev, #btn-next {
  width: 30px;
  height: 30px;
  color: rgba(0,229,255,0.6);
}
#btn-prev:hover, #btn-next:hover { color: var(--cyan); filter: drop-shadow(0 0 6px rgba(0,229,255,0.5)); }

.mute-btn {
  width: 52px;
  height: 52px;
  border-radius: 50% !important;
  background: rgba(0,229,255,0.08) !important;
  border: 2px solid rgba(0,229,255,0.6) !important;
  color: var(--cyan) !important;
  box-shadow: 0 0 20px rgba(0,229,255,0.3), inset 0 0 10px rgba(0,229,255,0.05) !important;
}

.mute-btn svg { width: 22px; height: 22px; }

.mute-btn:hover {
  background: rgba(0,229,255,0.15) !important;
  box-shadow: 0 0 35px rgba(0,229,255,0.5), inset 0 0 12px rgba(0,229,255,0.1) !important;
  transform: scale(1.05);
}

.mute-btn.is-muted {
  background: rgba(255,0,64,0.08) !important;
  border-color: rgba(255,0,64,0.5) !important;
  color: var(--magenta) !important;
  box-shadow: 0 0 20px rgba(255,0,64,0.2), inset 0 0 10px rgba(255,0,64,0.05) !important;
}

/* Progress bar */
#hud-progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
}

#hud-time-cur, #hud-time-total {
  font-size: 10px;
  color: rgba(0,229,255,0.5);
  min-width: 30px;
  text-align: center;
}

#hud-progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(0,229,255,0.1);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

#hud-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0,229,255,0.6);
  transition: width 0.5s linear;
}

#hud-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(0,229,255,0.8), 0 0 20px rgba(0,229,255,0.3);
  transition: left 0.5s linear;
}

#hud-source-display {
  font-size: 10px;
  color: rgba(0,229,255,0.4);
  letter-spacing: 0.1em;
}

#source-status {
  font-size: 9px;
  letter-spacing: 0.12em;
}

#source-status.source-spotify {
  color: rgba(30,215,96,0.6);
}

#source-status.source-youtube {
  color: rgba(255,60,60,0.5);
}

/* -- HUD RIGHT -- */
#hud-right {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
  flex-shrink: 0;
  justify-content: flex-end;
}

#volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

#vol-label {
  font-size: 10px;
  color: rgba(0,229,255,0.4);
  letter-spacing: 0.1em;
}

#volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 72px;
  height: 3px;
  background: rgba(0,229,255,0.2);
  outline: none;
  border-radius: 2px;
  cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(0,229,255,0.8);
  cursor: pointer;
}

#volume-slider::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  border: none;
  cursor: pointer;
}

#vol-val {
  font-size: 10px;
  color: rgba(0,229,255,0.5);
  min-width: 24px;
}

/* Corner decorations */
#phase-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border-top: 1px solid rgba(0,229,255,0.3);
  border-left: 1px solid rgba(0,229,255,0.3);
  pointer-events: none;
  z-index: 10;
}

/* Toast */
#inject-toast {
  position: fixed;
  top: calc(var(--status-h) + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.92);
  border: 1px solid var(--cyan);
  border-radius: 3px;
  padding: 10px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.1em;
  box-shadow: 0 0 24px rgba(0,229,255,0.35);
  z-index: 5000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

#inject-toast.show { opacity: 1; }

#site-credit {
  position: fixed;
  right: 12px;
  bottom: calc(var(--hud-h) + 12px);
  z-index: 20;
}

#site-credit a {
  font-size: 11px;
  color: rgba(255,255,255,0.48);
  text-decoration: none;
}

/* ============================================
   MOBILE VIEW
   ============================================ */
#mobile-list-view {
  display: none;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}

#mobile-header {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.2em;
  padding: 16px 16px 6px;
  border-bottom: 1px solid rgba(0,229,255,0.15);
  text-shadow: 0 0 10px rgba(0,229,255,0.5);
}

#mobile-station-mode {
  padding: 0 16px 12px;
  border-bottom: 1px solid rgba(0,229,255,0.08);
}

#mobile-search-wrap {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0,229,255,0.08);
}

#mobile-search {
  width: 100%;
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 3px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  outline: none;
}

#mobile-search::placeholder { color: rgba(0,229,255,0.3); }

#mobile-track-list {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,229,255,0.2) transparent;
}

.mobile-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,229,255,0.05);
  cursor: pointer;
  transition: background 0.15s;
}

.mobile-track:hover, .mobile-track.active-track {
  background: rgba(0,229,255,0.08);
}

.mobile-track-num {
  font-size: 11px;
  color: rgba(0,229,255,0.3);
  min-width: 24px;
  text-align: right;
}

.mobile-track-info { flex: 1; min-width: 0; }

.mobile-track-title {
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-track-artist {
  font-size: 11px;
  color: var(--cyan);
  opacity: 0.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  :root { --hud-h: 136px; }

  #sidebar { display: none; }
  #sidebar-toggle { display: none; }
  #helix-container { display: none; }
  #mobile-list-view { display: flex; }

  #now-playing-hud {
    flex-direction: column;
    height: var(--hud-h);
    padding: 8px 12px;
    gap: 6px;
  }

  #hud-left {
    display: flex;
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  #hud-art { display: none; }
  #hud-right { min-width: unset; }
  #hud-center { width: 100%; }
  #hud-controls { gap: 12px; }
  #hud-progress-wrap { max-width: 100%; }
  #hud-title, #hud-artist, #station-mode {
    max-width: min(92vw, 340px);
    text-align: center;
  }

  #site-credit {
    bottom: calc(var(--hud-h) + 10px);
  }
}
