/* Plyr نفسه بيحط position: relative على الحاوية افتراضيًا، لكن نضمن ده
   احتياطيًا عشان عناصرنا العائمة (المؤشر، أزرار التخطي) تتموضع صح. */
.plyr {
	position: relative;
}

/* الأزرار الأساسية بتستخدم كلاس plyr__control الرسمي فبتاخد شكل Plyr
   الافتراضي تلقائيًا. الأسطر دي لضبط التفاصيل الإضافية بتاعتنا فقط. */

.ttlms-btn svg,
.ttlms-btn text {
	pointer-events: none;
}

/* شارة صغيرة فوق زرار التكرار (A / ⟲) */
.ttlms-loop-badge {
	position: absolute;
	top: -2px;
	inset-inline-end: -2px;
	background: #ffb400;
	color: #111;
	font-size: 9px;
	font-weight: bold;
	line-height: 1;
	padding: 1px 3px;
	border-radius: 3px;
	pointer-events: none;
}

.ttlms-loop--a {
	color: #ffb400 !important;
}

.ttlms-loop--looping {
	color: #17b978 !important;
}

.ttlms-loop--looping .ttlms-loop-badge {
	background: #17b978;
	color: #fff;
}

/* زرار تغيير مدة التقديم/الرجوع (5/10/15/30) */
.ttlms-duration-choice {
	font-size: 11px;
	font-weight: bold;
	min-width: 28px;
}

/* مؤشر بصري عابر (⏪ 10 ثوانٍ) في منتصف المشغل */
.ttlms-indicator {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.85);
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: bold;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s ease, transform 0.15s ease;
	z-index: 20;
	white-space: nowrap;
}

.ttlms-indicator--visible {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

/* أزرار تخطي المقدمة/النهاية العائمة أعلى يمين المشغل */
.ttlms-overlay-btn {
	position: absolute;
	bottom: 70px;
	inset-inline-end: 16px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	padding: 8px 14px;
	font-size: 14px;
	cursor: pointer;
	z-index: 15;
	transition: background 0.15s ease;
}

.ttlms-overlay-btn:hover {
	background: rgba(0, 0, 0, 0.9);
}
