/* ================================
   Yuhura – WaveSurfer Sound Card
================================ */

.ysb-wavesurfer-card {
	padding: 24px;
	border-radius: 20px;
}

/* ---------- Titel ---------- */

.ysb-ws-title {
	margin: 0 0 16px 0;
}

/* ---------- Controls ---------- */

.ysb-ws-controls {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

/* ---------- Button ---------- */

.ysb-ws-btn {
	appearance: none;
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
	padding: 8px 18px;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	line-height: 1.2;
	transition: all 0.2s ease;
}

.ysb-ws-btn:hover {
	background: rgba(0, 0, 0, 0.05);
}

.ysb-ws-btn:active {
	transform: translateY(1px);
}

/* Tastatur-Fokus sichtbar */

.ysb-ws-btn:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

/* ---------- Zeit ---------- */

.ysb-ws-time {
	font-variant-numeric: tabular-nums;
	opacity: 0.8;
	min-width: 48px;
}

/* ---------- Wave Container ---------- */

.ysb-ws-wave {
	width: 100%;
	position: relative;
}

/* WaveSurfer Canvas passt sich an */

.ysb-ws-wave canvas {
	width: 100% !important;
	height: auto !important;
	display: block;
}

/* ---------- Meta ---------- */

.ysb-ws-meta {
	margin: 16px 0 0 0;
	opacity: 0.75;
}

.ysb-ws-note {
	margin: 8px 0 0 0;
}

/* ---------- Error ---------- */

.ysb-ws-error {
	margin-top: 12px;
	color: #c00;
	font-weight: 500;
}

/* ---------- Responsive ---------- */

@media (max-width: 600px) {

	.ysb-ws-controls {
		gap: 12px;
	}

	.ysb-ws-btn {
		padding: 8px 14px;
	}

}
