/* Sesli Dinle 2.1.3 */
.aynama-dinle {
	--sd-c: var(--primary-color, #2f6f63);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 28px;
	padding: 12px 14px;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.3;
	direction: ltr;
	text-align: left;
}
.aynama-dinle[hidden] { display: none !important; }
.aynama-dinle button { font: inherit; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.aynama-dinle svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.aynama-dinle button:focus-visible,
.aynama-dinle .sd-bar:focus-visible { outline: 2px solid var(--sd-c); outline-offset: 2px; }

.aynama-dinle .sd-play {
	flex: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--sd-c);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform .15s ease, filter .15s ease;
}
.aynama-dinle .sd-play:hover { filter: brightness(1.08); }
.aynama-dinle .sd-play:active { transform: scale(.96); }
.aynama-dinle .sd-play svg { width: 20px; height: 20px; }
.aynama-dinle.sd-off .sd-play { background: #b9c4c0; cursor: default; filter: none; transform: none; }
.aynama-dinle.sd-off .sd-bar, .aynama-dinle.sd-off .sd-tools { display: none; }

.aynama-dinle .sd-main { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.aynama-dinle .sd-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.aynama-dinle .sd-status { font-weight: 600; color: #1b201a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aynama-dinle .sd-time { flex: none; color: #6b746f; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }

.aynama-dinle .sd-bar {
	position: relative;
	height: 6px;
	border-radius: 3px;
	background: rgba(0, 0, 0, .08);
	cursor: pointer;
	touch-action: manipulation;
}
.aynama-dinle .sd-bar::before { content: ""; position: absolute; inset: -8px 0; } /* bigger tap target */
.aynama-dinle .sd-bar > span {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 0;
	border-radius: 3px;
	background: var(--sd-c);
	transition: width .3s ease;
}

.aynama-dinle .sd-tools { flex: none; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.aynama-dinle .sd-langs { display: inline-flex; gap: 4px; }
.aynama-dinle .sd-langs[hidden], .aynama-dinle .sd-stop[hidden] { display: none !important; }
.aynama-dinle .sd-chip {
	min-height: 34px;
	padding: 6px 11px;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 999px;
	background: transparent;
	color: #1b201a;
	font-size: 13px;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.aynama-dinle .sd-chip:hover { border-color: var(--sd-c); }
.aynama-dinle .sd-chip[aria-pressed="true"] { background: var(--sd-c); border-color: var(--sd-c); color: #fff; }
.aynama-dinle .sd-stop svg { width: 14px; height: 14px; }
.aynama-dinle .sd-note { font-size: 12px; line-height: 1.35; color: #6b746f; }

.sd-current {
	background: rgba(47, 111, 99, .10);
	background: color-mix(in srgb, var(--primary-color, #2f6f63) 12%, transparent);
	box-shadow: 0 0 0 6px rgba(47, 111, 99, .10);
	box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary-color, #2f6f63) 12%, transparent);
	border-radius: 4px;
	transition: background-color .2s ease, box-shadow .2s ease;
}

@media (max-width: 520px) {
	.aynama-dinle { padding: 10px 12px; gap: 10px; }
	.aynama-dinle .sd-tools { width: 100%; justify-content: flex-end; border-top: 1px solid rgba(0, 0, 0, .06); padding-top: 10px; }
}

@media print {
	.aynama-dinle { display: none !important; }
}
