.htts-player {
	margin: 0 0 24px;
	font-family: inherit;
}

.htts-player p.htts-player-lead {
	margin: 0 0 4px !important;
	font-size: 0.95em;
	color: #3c434a;
}

.htts-player-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	background: transparent;
	border: none;
	border-radius: 0;
	min-height: 22px;
}

/* --- Play/Pause ---------------------------------------------------- */

.htts-player-toggle {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border-radius: 0;
	border: none;
	background: transparent;
	color: #1d2327;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.htts-player-toggle:hover {
	opacity: 0.7;
}

.htts-icon {
	display: block;
	width: 0;
	height: 0;
}

.htts-icon-play {
	border-style: solid;
	border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent #1d2327;
	margin-left: 2px;
}

.htts-icon-pause {
	width: 11px;
	height: 13px;
	border-left: 4px solid #1d2327;
	border-right: 4px solid #1d2327;
}

/* --- Zeitangaben ------------------------------------------------------ */

.htts-player-time {
	flex: 0 0 auto;
	font-size: 0.82em;
	font-variant-numeric: tabular-nums;
	color: #50575e;
	min-width: 2.4em;
}

.htts-player-current {
	text-align: right;
}

/* --- Seek-Regler (nativer Range-Input, füllt sich per Inline-Gradient) - */

.htts-player-seek {
	flex: 1 1 auto;
	min-width: 60px;
	-webkit-appearance: none;
	appearance: none;
	height: 3px;
	border-radius: 2px;
	background: #e5e5e5; /* Fallback, wird per JS via linear-gradient überschrieben */
	cursor: pointer;
}

.htts-player-seek::-webkit-slider-runnable-track {
	height: 3px;
	border-radius: 2px;
	background: transparent; /* Füllung übernimmt der JS-Gradient auf dem Input selbst */
}

.htts-player-seek::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #2271b1;
	border: none;
	margin-top: -4.5px;
}

.htts-player-seek::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #2271b1;
	border: none;
}

.htts-player-seek::-moz-range-track {
	height: 3px;
	border-radius: 2px;
	background: transparent; /* Füllung übernimmt der JS-Gradient auf dem Input selbst */
}

/* --- Lautstärke --------------------------------------------------------- */

.htts-player-volume {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 6px;
}

.htts-player-volume-toggle {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border: none;
	background: transparent;
	color: #2271b1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	padding: 0;
}

.htts-player-volume-toggle:hover {
	opacity: 0.75;
}

.htts-player-volume-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 70px;
	height: 4px;
	border-radius: 2px;
	background: #e2e4e7;
	cursor: pointer;
}

.htts-player-volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #2271b1;
	border: none;
	margin-top: -3.5px;
}

.htts-player-volume-slider::-moz-range-thumb {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #2271b1;
	border: none;
}

/* --- Geschwindigkeit ----------------------------------------------------- */

.htts-player-speed {
	flex: 0 0 auto;
	min-width: 32px;
	height: 22px;
	padding: 0 2px;
	border: none;
	border-radius: 0;
	background: transparent;
	color: #2271b1;
	font-size: 0.85em;
	font-weight: 600;
	cursor: pointer;
}

.htts-player-speed:hover {
	opacity: 0.75;
}

/* --- Fokus/Tastatur-Bedienbarkeit ---------------------------------------- */

.htts-player-row button:focus-visible,
.htts-player-row input:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

/* --- Bewegungsreduktion --------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.htts-player-toggle,
	.htts-player-volume-toggle,
	.htts-player-speed {
		transition: opacity 0.15s ease;
	}
}

/* --- Schmale Bildschirme -------------------------------------------------- */

@media (max-width: 480px) {
	.htts-player-row {
		flex-wrap: wrap;
		row-gap: 8px;
	}

	.htts-player-seek {
		order: 1;
		flex: 1 1 100%;
		min-width: 100%;
	}

	.htts-player-volume-slider {
		width: 56px;
	}
}
