.ysc-player-wrap {
	max-width: 100%;
	margin: 0 0 24px 0;
}

/* آکاردئون: هر جلسه به‌صورت پیش‌فرض بسته است؛ با کلیک روی عنوان باز می‌شود. */
.ysc-accordion-item {
	border: 1px solid #e3ddc9;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}
.ysc-accordion-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 14px 18px;
	background: #14110a;
	color: #f5efe0;
	border: none;
	cursor: pointer;
	font-family: Vazirmatn, Tahoma, sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-align: right;
}
.ysc-accordion-header:hover {
	background: #1f1a0f;
}
.ysc-accordion-title {
	flex: 1 1 auto;
}
.ysc-accordion-icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	position: relative;
	transition: transform 0.25s ease;
}
.ysc-accordion-icon::before,
.ysc-accordion-icon::after {
	content: '';
	position: absolute;
	background: #d4af37;
	border-radius: 2px;
}
.ysc-accordion-icon::before {
	top: 9px;
	left: 2px;
	width: 16px;
	height: 2px;
}
.ysc-accordion-icon::after {
	top: 2px;
	left: 9px;
	width: 2px;
	height: 16px;
	transition: transform 0.25s ease;
}
.ysc-accordion-item.ysc-is-open .ysc-accordion-icon::after {
	transform: rotate(90deg); /* به‌صورت «منها» درمی‌آید */
}
.ysc-accordion-item.ysc-is-open .ysc-accordion-header {
	background: #1f1a0f;
}
.ysc-accordion-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background: #faf8f2;
	box-sizing: border-box;
	padding: 16px;
}
.ysc-accordion-body .ysc-player-notice,
.ysc-accordion-body .ysc-player-locked {
	border-radius: 12px;
}
.ysc-player-video-box {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
}
.ysc-player-video-box video.ysc-video {
	width: 100%;
	height: 100%;
	display: block;
	background: #000;
}
.ysc-watermark-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* دکمه‌ی تمام‌صفحه‌ی اختصاصی: کل باکس (ویدیو + واترمارک) را فول‌اسکرین می‌کند،
   برخلاف دکمه‌ی بومی پلیر که فقط خودِ <video> را فول‌اسکرین می‌کرد و واترمارک را جا می‌گذاشت. */
.ysc-fullscreen-btn {
	position: absolute;
	bottom: 12px;
	left: 12px;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}
.ysc-fullscreen-btn:hover {
	background: rgba(0, 0, 0, 0.75);
}

.ysc-player-video-box:fullscreen,
.ysc-player-video-box:-webkit-full-screen,
.ysc-player-video-box.ysc-is-fullscreen {
	width: 100vw;
	height: 100vh;
	aspect-ratio: unset;
	border-radius: 0;
	background: #000;
}
.ysc-player-video-box:fullscreen video.ysc-video,
.ysc-player-video-box:-webkit-full-screen video.ysc-video,
.ysc-player-video-box.ysc-is-fullscreen video.ysc-video {
	object-fit: contain;
}
.ysc-player-locked {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 48px 24px;
	background: #14110a;
	color: #f5efe0;
	border-radius: 12px;
	text-align: center;
	font-family: Vazirmatn, Tahoma, sans-serif;
}
.ysc-player-locked .dashicons-lock {
	font-size: 36px;
	width: 36px;
	height: 36px;
	color: #d4af37;
}
.ysc-buy-btn {
	display: inline-block;
	padding: 10px 28px;
	background: #d4af37;
	color: #1a1409 !important;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
}
.ysc-player-notice {
	padding: 24px;
	background: #f5f5f5;
	border-radius: 12px;
	text-align: center;
	font-family: Vazirmatn, Tahoma, sans-serif;
}

/* نوار کنترل کاملاً اختصاصی (به‌جای controls بومی مرورگر) */
.ysc-controls {
	position: absolute;
	right: 0;
	left: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
	direction: ltr; /* ترتیب بصری دکمه‌ها همیشه چپ‌به‌راست باشد، مستقل از جهت متن صفحه */
	z-index: 2;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.ysc-player-video-box:hover .ysc-controls,
.ysc-player-video-box:focus-within .ysc-controls,
.ysc-player-video-box.ysc-is-fullscreen .ysc-controls {
	opacity: 1;
}
.ysc-ctrl-btn {
	flex: 0 0 auto;
	border: none;
	background: transparent;
	color: #f5efe0;
	font-size: 16px;
	line-height: 1;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 6px;
}
.ysc-ctrl-btn:hover {
	background: rgba(255, 255, 255, 0.15);
}
.ysc-time {
	flex: 0 0 auto;
	color: #f5efe0;
	font-family: Vazirmatn, Tahoma, sans-serif;
	font-size: 12px;
	min-width: 76px;
	text-align: center;
	direction: ltr;
}
.ysc-seek {
	flex: 1 1 auto;
	-webkit-appearance: none;
	appearance: none;
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	outline: none;
}
.ysc-seek::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #d4af37;
	cursor: pointer;
}
.ysc-seek::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border: none;
	border-radius: 50%;
	background: #d4af37;
	cursor: pointer;
}
.ysc-seek::-moz-range-progress {
	background: #d4af37;
	border-radius: 999px;
}

/* دکمه‌ی فول‌اسکرین داخل همین نوار اختصاصی قرار دارد؛ استایل مستقل قبلی دیگر لازم نیست چون
   هیچ دکمه‌ی فول‌اسکرین بومی دیگری روی ویدیو وجود ندارد (controls بومی کاملاً حذف شده است). */
.ysc-controls .ysc-fullscreen-btn {
	position: static;
	width: 30px;
	height: 30px;
	margin: 0;
	background: transparent;
	border-radius: 6px;
}
.ysc-controls .ysc-fullscreen-btn:hover {
	background: rgba(255, 255, 255, 0.15);
}
