.journal-audio-player {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 1px solid var(--border); /* remove the thick coral stripe */
  box-shadow: 0 1px 3px rgba(18,22,43,0.05);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
}

.journal-audio-toggle {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--coral);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
    box-shadow: 0 6px 16px rgba(232,96,122,0.35);

}
.journal-audio-toggle:hover { background: #d64a66; transform: scale(1.06); }
.journal-audio-toggle .icon { width: 18px; height: 18px; }
.journal-audio-icon-play .icon { margin-left: 2px; } /* optical centering for the play triangle */

.journal-audio-body { flex: 1; min-width: 0; }
.journal-audio-label {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
   margin: 0 0 8px;
   color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.journal-audio-track {
  position: relative;
  height: 6px;
  background: var(--border-soft);
  border-radius: 999px;
  cursor: pointer;
  outline: none;
}
.journal-audio-track:focus-visible { box-shadow: 0 0 0 3px var(--coral-tint); }
.journal-audio-progress {
  position: absolute; top: 0; left: 0; height: 100%; width: 0%;
  background: var(--coral); border-radius: 999px;
}

.journal-audio-time {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted);
  margin-top: 6px;
}

@media (max-width: 640px) {
  .journal-audio-player { padding: 14px 16px; gap: 12px; }
  .journal-audio-toggle { width: 40px; height: 40px; }
}