.card-preview audio.preview-audio-hidden {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.preview-ui {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #0a0a0c;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
  box-shadow: 0 0 0 1px rgba(200, 245, 100, 0.25);
}

.preview-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 12px rgba(200, 245, 100, 0.35);
}

.preview-btn.is-playing {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(124, 109, 255, 0.4);
}

.preview-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}

.preview-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 3px;
  transition: width 0.05s linear;
}

.preview-time {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  min-width: 2.8em;
  text-align: right;
}
