/* Acobloom Listen to Article — compact player (brand: navy + orange) */
.acb-tts {
	--acb-navy: #152669;
	--acb-orange: #e75f25;
	--acb-tint: #edf1fc;
	--acb-border: #e2e7f4;
	--acb-muted: #6c7693;

	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	max-width: none;
	margin: 0 0 24px;
	padding: 10px 14px 10px 10px;
	background: #fff;
	border: 1px solid var(--acb-border);
	border-radius: 999px;
	box-shadow: 0 4px 14px -8px rgba(21, 38, 105, .25);
	font-family: inherit;
	line-height: 1.2;
}
.acb-tts *, .acb-tts *::before, .acb-tts *::after { box-sizing: border-box; }
.acb-tts svg { display: block; fill: currentColor; }

/* Play button */
.acb-tts .acb-tts__play {
	flex: 0 0 auto; width: 42px; height: 42px; margin: 0 !important; padding: 0 !important;
	border: 0 !important; border-radius: 50% !important; cursor: pointer;
	background: var(--acb-orange) !important; color: #fff !important;
	display: grid; place-items: center; box-shadow: none !important;
	transition: transform .15s ease, background .15s ease;
}
.acb-tts .acb-tts__play:hover { transform: scale(1.06); background: #d9521a !important; }
.acb-tts .acb-tts__play:focus-visible { outline: 2px solid var(--acb-navy); outline-offset: 3px; }
.acb-tts .acb-tts__play svg { width: 20px; height: 20px; }
.acb-tts .acb-ic-play { margin-left: 2px; }
.acb-tts .acb-ic-pause, .acb-tts.is-playing .acb-ic-play { display: none; }
.acb-tts.is-playing .acb-ic-pause { display: block; }

/* Title + time + bar */
.acb-tts .acb-tts__main { flex: 1 1 auto; min-width: 0; }
.acb-tts .acb-tts__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.acb-tts .acb-tts__title {
	font-size: 15px !important; font-weight: 700 !important; color: var(--acb-navy) !important;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.acb-tts .acb-tts__time, .acb-tts .acb-tts__time span {
	flex: 0 0 auto; font-size: 12px !important; font-weight: 500 !important;
	color: var(--acb-muted) !important; font-variant-numeric: tabular-nums;
}
.acb-tts .acb-tts__progress { height: 5px; border-radius: 999px; background: var(--acb-tint); cursor: pointer; }
.acb-tts .acb-tts__progress:focus-visible { outline: 2px solid var(--acb-navy); outline-offset: 3px; }
.acb-tts .acb-tts__bar {
	height: 100%; width: 0; border-radius: inherit;
	background: linear-gradient(90deg, var(--acb-navy), var(--acb-orange));
	transition: width .35s linear;
}

/* Speed */
.acb-tts .acb-tts__rate {
	flex: 0 0 auto; -webkit-appearance: none; appearance: none;
	height: 32px; margin: 0 !important; padding: 0 10px !important; min-height: 0;
	border: 1px solid var(--acb-border) !important; border-radius: 999px !important;
	background: var(--acb-tint) !important; color: var(--acb-navy) !important; box-shadow: none !important;
	font-family: inherit !important; font-size: 13px !important; font-weight: 700 !important;
	text-align: center; text-align-last: center; cursor: pointer; outline: 0;
}
.acb-tts .acb-tts__rate:hover { border-color: #c5cee8 !important; }
.acb-tts .acb-tts__rate:focus-visible { border-color: var(--acb-navy) !important; }

@media (max-width: 480px) {
	.acb-tts { gap: 10px; padding: 8px 10px 8px 8px; }
	.acb-tts .acb-tts__play { width: 38px; height: 38px; }
	.acb-tts .acb-tts__title { font-size: 14px !important; }
}
@media (prefers-reduced-motion: reduce) { .acb-tts * { transition: none !important; } }
@media print { .acb-tts { display: none; } }
