.audio-wrapper {
  max-width: 620px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: system-ui, -apple-system, sans-serif;
  margin-bottom: 24px;
  background: #fff;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- STICKY AND HIDE --- */
.audio-wrapper.is-playing {
  position: sticky;
  top: 65px;
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  border-radius: 999px;
  padding-right: 20px;  
}

.audio-wrapper.is-hiding {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* --- BUTTON --- */
.audio-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f2f2f2;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.2s ease;
}
.audio-btn:active { transform: scale(0.92); }

.audio-btn img { width: 20px; height: 20px; }

.icon-pause { display: none; }

.audio-btn.is-playing .icon-play { display: none; }
.audio-btn.is-playing .icon-pause { display: block; }

/* --- BODY --- */
.audio-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* --- PROGRESS --- */
.audio-progress {
  height: 2px;
  background: #d9d9d9;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 1px;
}
.audio-progress-buffer {
  position: absolute;
  inset: 0;
  background: #bfc9d4;
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}
.audio-progress-fill {
  height: 100%;
  background: #4aa3ff;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* --- META --- */
.audio-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
}

/* --- MOBILE ONLY --- */
@media (min-width: 769px) {
  .audio-wrapper { display: none; }
}