body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.progress-bar {
  transition: width 0.1s linear;
}

.audio-card {
  transition: transform 0.15s, background-color 0.15s;
}

.audio-card:active {
  transform: scale(0.98);
}

@keyframes playing-pulse {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.playing-pulse {
  animation: playing-pulse 0.8s ease-in-out infinite;
  transform-origin: bottom;
}

#playerBar {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

button {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

button:active {
  opacity: 0.8;
}

#progressBar {
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 2px;
}
