.vf-wrap {
	background: #000;
	color: #fff;
	padding: 4px 0px 0px 0px;
}
.vf-screen {
	height: 450px !important;
	background: #000;
	margin-bottom: 4px;
}
.vf-screen iframe {
	width: 100% !important;
	height: 100% !important;
}
.vf-group {
	position: relative;
}
.vf-group ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	font-size: 0;
}
.vf-group li {
	display: none !important;
	width: 100%;
	font-size: 14px;
	border: 1px solid #3a444e;
	padding: 8px 12px;
	cursor: pointer;
	text-align: left;
	box-sizing: border-box;
}
.vf-group li.visible {
	display: block !important;
}
.vf-group li:hover {
	background: #252e38;
	cursor: pointer;	
}
.vf-group li.active {
	color: #f2f6f8;
	background-color: #2f4e6d;
	border-color: #4d83b8;
}

/* --- Stiluri pentru lista de filme de sus (cu flexbox) --- */
.vf-nav > .vf-group:first-child li.visible {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
}
.pl-left-part {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1;
}
.pl-num {
	color: #58a6ff;
	font-weight: bold;
	font-size: 14px;
	min-width: 22px;
}
.pl-title-text {
	font-size: 14px;
	color: inherit;
}

/* --- Butonul Ochi "Просмотрено" --- */
.pl-eye-btn {
	margin-left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 12px;
	color: #8b949e;
	background: rgba(255, 255, 255, 0.07);
	transition: all 0.2s ease;
	cursor: pointer;
	user-select: none;
}
.pl-eye-btn:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.16);
}
.pl-eye-label {
	font-size: 11px;
}

/* Cand filmul a fost vizionat */
.vf-group li.is-watched {
	opacity: 0.65;
}
.vf-group li.is-watched .pl-eye-btn {
	color: #2ea043;
	background: rgba(46, 160, 67, 0.18);
	font-weight: bold;
}
.vf-group li.is-watched .pl-eye-btn i {
	color: #3fb950;
}

/* Bloc memorare film */
.vf-last {
	font-weight: 300;
	line-height: 1.6;
	background-color: #f2f6f8;
	margin: 10px 0px;
	font-size: 15px;
	padding: 12px 15px;
	border-left: 4px solid #2f4e6d;
	color: #222;
}
.vf-last span {
	color: #2f4e6d;
	font-weight: bold;
	cursor: pointer;
}
.vf-last span:hover {
	border-bottom: 1px dashed #2f4e6d;
}
/* --- ALINIERE SI DESIGN LISTA FILME SI OCHI --- */
.vf-nav > .vf-group:first-child li.visible {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 8px 12px !important;
}

.pl-left-part {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
}

.pl-num {
	color: #58a6ff;
	font-weight: bold;
	font-size: 14px;
	min-width: 24px;
}

.pl-title-text {
	font-size: 14px;
	color: inherit;
}

/* Butonul ochi din dreapta */
.pl-eye-btn {
	margin-left: 12px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 12px;
	color: #8b949e;
	background: rgba(255, 255, 255, 0.08);
	transition: all 0.2s ease;
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}

.pl-eye-btn:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.2);
}

/* Cand filmul este marcat ca vazut */
.vf-group li.is-watched {
	opacity: 0.65;
}

.vf-group li.is-watched .pl-eye-btn {
	color: #2ea043 !important;
	background: rgba(46, 160, 67, 0.18) !important;
	font-weight: bold;
}

.vf-group li.is-watched .pl-eye-btn i {
	color: #3fb950 !important;
}

/* --- Рейтинг Кинопоиска в списке (плейлисты с «Рейтинг Кп 7.1» в названии) --- */
.pl-rating {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 7px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: bold;
	white-space: nowrap;
	line-height: 1.6;
}
.pl-r-8 { color: #fff; background: #0a8f3c; }   /* 8 и выше: темно-зеленый */
.pl-r-7 { color: #fff; background: #3bb143; }   /* 7 - 7.9: зеленый */
.pl-r-6 { color: #222; background: #e6b800; }   /* 6 - 6.9: желтый */
.pl-r-5 { color: #fff; background: #e67e22; }   /* 5 - 5.9: оранжевый */
.pl-r-0 { color: #fff; background: #d93025; }   /* ниже 5: красный */
.vf-group li.is-watched .pl-rating { opacity: 0.8; }
@media (max-width: 600px) {
	.pl-left-part { flex-wrap: wrap; }
	.pl-rating { margin-left: 0; }
}





/* ===== VCX: дополнения к плееру (можно удалить весь блок) ===== */
.vcx-hide{display:none !important}
.vf-wrap.vcx-on .vf-src{display:none}
.vf-wrap .vf-nav > .vf-group:first-child li.vcx-cut{display:none !important}
.vcx-title{font-size:14px;color:inherit}
.vcx-tag{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:4px;font-size:12px;line-height:1.6;color:#c9d1d9;background:rgba(255,255,255,.1);white-space:nowrap}
.vcx-tag--type{color:#ffd24a;background:rgba(255,210,74,.12)}
/* прогресс */
.vcx-progress{padding:8px 12px 10px;background:#11171d;border:1px solid #3a444e;border-bottom:0}
.vcx-progress__row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;color:#8b949e}
.vcx-progress__go{color:#58a6ff;cursor:pointer;font-weight:600}
.vcx-progress__go:hover{color:#fff}
.vcx-progress__line{height:4px;margin-top:7px;background:#252e38;border-radius:2px;overflow:hidden}
.vcx-progress__line i{display:block;height:100%;width:0;background:#2ea043;transition:width .3s}
/* панель над плеером */
.vcx-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 10px;background:#11171d;border:1px solid #3a444e;margin:4px 0}
.vcx-srv{display:flex;border:1px solid #3a444e;border-radius:6px;overflow:hidden}
.vcx-s{padding:7px 16px;font-size:14px;color:#c9d1d9;cursor:pointer;user-select:none;border-left:1px solid #3a444e}
.vcx-s:first-child{border-left:0}
.vcx-s:hover{background:#252e38;color:#fff}
.vcx-s.active{background:#2f4e6d;color:#fff;font-weight:600}
.vcx-s.active:before{content:"\25B6";font-size:10px;margin-right:6px}
.vcx-hint{font-size:12px;color:#8b949e;flex:1;min-width:150px}
.vcx-btn{padding:7px 12px;font-size:13px;border-radius:6px;cursor:pointer;user-select:none;white-space:nowrap}
.vcx-next{background:#2ea043;color:#fff;font-weight:600}
.vcx-next:hover{background:#3fb950}
.vcx-bad{color:#8b949e;border:1px solid #3a444e}
.vcx-bad:hover{color:#ff7b72;border-color:#ff7b72}
.vcx-bad.sent{color:#3fb950;border-color:#2ea043;cursor:default}
/* "показать все" */
.vcx-more{padding:9px 12px;text-align:center;font-size:14px;color:#58a6ff;border:1px solid #3a444e;border-top:0;cursor:pointer;background:#0d1117}
.vcx-more:hover{color:#fff;background:#252e38}
@media (max-width:600px){
	.vcx-hint{display:none !important}
	.vcx-bar{gap:6px}
	.vcx-btn{padding:7px 9px;font-size:12px}
	.vcx-s{padding:7px 12px}
}
