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

body {
  font-family: sans-serif;
  background: #111827;
  color: #e5e7eb;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#app {
  background: #1f2937;
  padding: 32px;
  border-radius: 12px;
  width: 480px;
  text-align: center;
}

h2 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

#loader p {
  color: #9ca3af;
  margin-bottom: 12px;
}

#player {
  display: none;
}

#visualizer {
  display: block;
  width: 100%;
  height: 70px;
  background: #111827;
  border-radius: 8px;
  margin-bottom: 14px;
}

#trackName {
  font-size: 0.95rem;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

#timeRow span {
  font-size: 0.8rem;
  color: #9ca3af;
  min-width: 34px;
}

#seek {
  flex: 1;
  cursor: pointer;
}

button {
  padding: 8px 16px;
  background: #374151;
  color: #e5e7eb;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

button:hover {
  background: #4b5563;
}

#playBtn {
  padding: 10px 28px;
  background: #4f46e5;
  font-size: 1rem;
}

#playBtn:hover {
  background: #6366f1;
}

#volume {
  width: 90px;
  cursor: pointer;
}

select {
  background: #374151;
  color: #e5e7eb;
  border: none;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}

#hint {
  font-size: 0.72rem;
  color: #6b7280;
  margin-top: 4px;
}
