
.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
  padding: 16px 24px;
  font-family: monospace, sans-serif;
}
.audio-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 24px;
}
.track-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 300px;
}
.track-thumbnail {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid #dc2626;
  flex-shrink: 0;
}
.track-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.track-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.track-title {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111;
}
.track-subtitle {
  font-size: 12px;
  color: #4b5563;
}
.track-meta {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}
.audio-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.icon-button {
  background: none;
  border: none;
  font-size: 18px;
  color: #4b5563;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.icon-button:hover {
  color: #000;
  transform: scale(1.1);
}
.play-button {
  width: 48px;
  height: 48px;
  border: 2px solid #000;
  border-radius: 9999px;
  font-size: 20px;
  background: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.play-button:hover {
  background: #000;
  color: #fff;
}
.visualizer {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 6px;
}
.visualizer-bar {
  width: 2px;
  height: 4px;
  background: #dc2626;
  border-radius: 9999px;
  opacity: 0.3;
  transform: scaleY(0.3);
}
.volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
}
.volume-icon {
  font-size: 16px;
}
.volume-bar-container {
  position: relative;
  width: 100px;
  height: 8px;
  background: #e5e7eb;
  border-radius: 9999px;
}
.volume-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #dc2626;
  border-radius: 9999px;
  width: 75%;
}
.volume-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.volume-label {
  font-size: 12px;
  color: #4b5563;
  width: 2rem;
  text-align: center;
}
.collapse-button {
  background: none;
  border: none;
  font-size: 18px;
  color: #4b5563;
  cursor: pointer;
  padding: 8px;
  border-radius: 9999px;
  transition: all 0.2s;
}
.collapse-button:hover {
  background: #f3f4f6;
  color: #000;
}
