.playlists-player {
	background: #000;
	color: #fff;
	padding: 4px 0px 0px 0px;
}
.playlists-iframe {
	height: 100%;
	/* min-height: 220px; */
	background: #000;
	margin-bottom: 4px;
}
.playlists-iframe iframe {
	width: 100%;
    max-width: 100% !important;
    height: 590px;
    display: block;
    margin: 0 auto;
}
@media screen and (max-width: 590px) {
	.playlists-iframe iframe {
    	height: 300px;
    }
}
@media (max-width:470px) {
    .playlists-iframe iframe {
    	height: 250px;
    }
}
.playlists-items {
	position: relative;
}
.playlists-items ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	font-size: 0;
}
.playlists-items li {
	width: 140px;
	height: 40px;
	margin: 0px 0px 4px 4px;
	background: #313131;
	display: inline-block;
	font-family: Verdana;
	font-size: 12px;	
	overflow: hidden;
	box-sizing: border-box;
	position: relative;
	line-height: 40px;
	text-align: center;
}
.playlists-items li:hover {
	background: #444444;
	cursor: pointer;	
}
.playlists-items li.active {
	background: #9a9a9a;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
}

.playlists-videos .playlists-items li {
	width: 180px !important;
	text-align: left;
	padding: 0px 40px 0px 15px;
	box-sizing: border-box;
	position: relative;
}
.playlists-view {
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	width: 40px;
	background-image:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAABJ0lEQVQ4jeXUsUqcURQE4NmAzWZ18QWEBdFYSLRNEbASAmmFdBYJSB4hvYXY21rkAUQbfQ5DQiAIS0gRUGMjrFrkS7H/wvJzfzcBKzPlmblzOecMJ/nv0GoiMJVkPcnzJL2q3E9ymuSk1Wrd/dUPaGMb55pxiR10Jpm9QL/B4KJQ/46XTWavMag9OMbCmGYeRzXNLTbqZku4rglPKm4ab/EO3ap2WNMOsDwye4rPhXaeoYOvY7UzdNEr6L+gHXwskFfVZ5sFbqvifha4/SdjkXgItIMV3DxAy98wM5rj+4JgtJSOyUu5wWp903sF02MsTojNHd4UB4APhrmqoynYP7B271QNM3nQYDzCL+xiuv7+vuMwm+RVkvkkc0l+Z3gcPuVfjsPjxx+UKYwH8JKOawAAAABJRU5ErkJggg==');
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.3;
}
.playlists-view:hover {
	opacity: 0.6;
	transform: 0.4ms easy 0.4ms;
}
.playlists-view.watched {
	opacity: 1;
}

.playlists-prev, .playlists-next {
	width: 40px;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 0px;
	bottom: 4px;
	z-index: 100001;
	opacity: 0.8;
}
.playlists-prev {
	left: 0px;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAeElEQVQ4jd3UzQ1AQBCG4Y2DhGqcNIBoQSuKUYm+uHkdrMTBZM0a2cR3n2ezmR/nfhMgBwagssBKYObIBvRW2JnJEluA2gpbgSY5VghYq8Y8ON5g3dP6LOpVTcy/7FGpKZ+g+k4H0LjBDqBxqyeg747DBbU7X0mzAymuSWfKXk8JAAAAAElFTkSuQmCC');
}
.playlists-next {
	right: 0px;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAbUlEQVQ4jdWUsQ2AMAwEI6RIjANVJqBhAFZhmuwRGIySo4CGiCr+SORq6yzLfjvXNMAILIBXyGbg5CYBvVUYeWOTAgE4MulmlU5NS/ca0jWv64o7WJCOLF2KWvZ12OVpoUL0tM/hkQ6o3tdvuABsDUk5DyWdywAAAABJRU5ErkJggg==');
}
.playlists-prev:hover, .playlists-next:hover {
	opacity: 1;
	cursor: pointer;
}
.playlists-prev.disabled, .playlists-next.disabled {
	display: none;
}

.video-inside {
	position: relative;
}
.video-inside .videoload {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 10;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.video-inside .videoload::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: #fff;
	background-image: url('../images/loader.svg');
	background-repeat: no-repeat;
	background-position: center;
	z-index: 10;
}
.video-inside .videoload span {
	font-size: 20px;
	font-weight: 600;
	color: #fff;
	text-align: center;
}

.video-inside .videoload .time {
	font-size: 24px;
	text-decoration: underline;
}

@media (max-width:540px) {
	.video-inside .videoload span {
		font-size: 16px;
	}
	.video-inside .videoload .time {
		font-size: 20px;
	}
}

.playlist-wrap {
	margin: 12px;
}

.playlist-serias {
	width: 100%;
	font-size: 12px;
	text-align: center;
	color: #fff;
	border-radius: 4px;
	overflow: hidden;
	margin-top: 15px;
}

.playlist-serias th,
.playlist-serias td {
	border-collapse: collapse;
	border: 1px solid #5378f2;
	padding: 4px 20px 2px 20px;
}

.playlist-serias th {
	padding: 10px 10px 8px 10px;
	background: #4e7df2;
	color: #fff;
}

.playlist-serias td {
	background: #fff;
	color: #313131;
}

.playlist-serias-link {
	display: inline-block;
	background-color: #ff4d6b;
	color: #fff;
	padding: 6px 8px 6px 8px;
	border-radius: 4px;
	font-size: 10px;
	margin-top: -1px;
	margin-bottom: 1px;
}

.playlist-serias-link:hover,
.playlist-serias-link,
.playlist-serias-link:link {
	color: #fff;
}

.playlist-serias-link:hover {
	background: #9e53da;
}


.playlist-serias-toggle {
	width: 100%;
	height: 40px;
	border-radius: 4px;
	text-align: center;
	background-color: #ffdb4c;
	line-height: 40px;
	margin: 10px 0 -5px 0;
}
.link-all-seria {
	display: flex;
	justify-content: center;
}
.js-sr-active {
	margin-top: 8px;
	margin-left: auto;
	margin-right: auto;
}
/* --- DLE19 / HubFilms: fixes to prevent jump on tab click (append, do NOT replace core styles) --- */
.playlists-player{clear:both;display:block;}
.playlists-iframe{min-height:250px;}
/* Sly frame needs overflow hidden */
.playlists-items{overflow:hidden;white-space:nowrap;min-height:44px;}
.playlists-items ul{white-space:nowrap;}
/* Keep nav inside bar */
.playlists-prev,.playlists-next{top:0;bottom:4px;}
/* Neutralize theme link decorations only, without killing layout */
.playlists-player a{outline:none;}

/* Match the existing iframe heights to keep layout stable on activation. */
.sq-player-gate {height:590px;display:flex;align-items:center;justify-content:center;background:#111;}
.sq-player-gate button {white-space:normal;min-height:48px;padding:12px 24px;background:#ffdb4c;color:#000;cursor:pointer;border-radius:4px;}
.sq-player-gate button:focus-visible {outline:3px solid #fff;outline-offset:4px;}
@media(max-width:590px){.sq-player-gate{height:300px;}}
@media(max-width:470px){.sq-player-gate{height:250px;}}

/* Native scrolling: no Sly measurements or transforms. */
.playlists-items {overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;overscroll-behavior-x:contain;}
.playlists-items ul {display:flex;width:max-content;min-width:100%;}
.playlists-items li {flex:none;height:44px;line-height:44px;}
.playlists-items li[hidden] {display:none!important;}
.playlists-items li.active {background:#555;color:#fff;}
.playlists-items:focus-visible,.playlists-items li:focus-visible,.playlists-view:focus-visible {outline:2px solid #ffdb4c;outline-offset:-2px;}
.playlists-view {display:block;height:44px;min-width:40px;padding:0;border:0;border-radius:0;background-color:transparent;}
.playlists-view:hover {background-color:transparent;}

/* Quiet controls integrated with the player. Touch targets remain 44px. */
.sq-playlist-row {position:relative;padding:8px 56px;min-width:0;background:#171717;}
.sq-playlist-row .playlists-items {scrollbar-width:none;min-height:44px;}
.sq-playlist-row .playlists-items::-webkit-scrollbar {display:none;width:0;height:0;}
.sq-playlist-row .playlists-items ul {gap:6px;}
.sq-playlist-row .playlists-items li {margin:0;border-radius:6px;background:#2a2a2a;color:#eee;font-family:inherit;font-size:13px;font-weight:500;}
.sq-playlist-row .playlists-items li:hover {background:#383838;}
.sq-playlist-row .playlists-items li.active {background:#49335d;color:#fff;box-shadow:inset 0 -2px #b483dc;font-weight:700;}
.sq-playlist-row .sq-playlist-arrow {position:absolute;top:8px;width:44px;height:44px;padding:0;border:1px solid #454545;border-radius:6px;background:#242424;color:#e6e6e6;font-size:0;line-height:1;cursor:pointer;z-index:1;box-shadow:none;display:flex;align-items:center;justify-content:center;}
.sq-playlist-row .sq-playlist-back {left:6px;}
.sq-playlist-row .sq-playlist-forward {right:6px;}
.sq-playlist-row .sq-playlist-arrow::before {content:"";display:block;width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);margin-right:4px;}
.sq-playlist-row .sq-playlist-back::before {transform:rotate(-135deg);margin-right:0;margin-left:4px;}
.sq-playlist-row .sq-playlist-arrow:hover {background:#383838;border-color:#777;color:#fff;}
.sq-playlist-row .sq-playlist-arrow:active {background:#49335d;}
.sq-playlist-row .sq-playlist-arrow:focus-visible {outline:2px solid #c49ce6;outline-offset:1px;}
.sq-playlist-row .playlists-view {border-radius:0 6px 6px 0;}

/* Lightweight player cover, no external assets or continuous animation. */
.sq-player-gate {padding:24px;background:radial-gradient(ellipse at 50% 48%,#30213e 0%,#19151e 45%,#111 78%);}
.sq-player-gate .sq-player-start {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:auto;max-width:100%;height:auto;min-height:0;padding:24px 28px;border:0;border-radius:18px;background:transparent;color:#fff;box-shadow:none;font-family:inherit;text-transform:none;white-space:normal;line-height:1.4;cursor:pointer;}
.sq-player-start__icon {display:flex;align-items:center;justify-content:center;width:76px;height:76px;margin-bottom:20px;border-radius:50%;background:linear-gradient(135deg,#a262d3,#7534aa);box-shadow:0 0 0 9px rgba(170,111,215,.09),0 10px 30px rgba(0,0,0,.25);transition:transform .18s ease,box-shadow .18s ease;}
.sq-player-start__icon::before {content:"";display:block;width:0;height:0;border-top:11px solid transparent;border-bottom:11px solid transparent;border-left:17px solid #fff;margin-left:5px;}
.sq-player-start__title {font-size:20px;font-weight:700;letter-spacing:.1px;}
.sq-player-start__hint {margin-top:7px;font-size:13px;font-weight:400;color:#c7becf;}
@media(hover:hover){.sq-player-start:hover .sq-player-start__icon {transform:scale(1.06);box-shadow:0 0 0 12px rgba(170,111,215,.13),0 12px 32px rgba(0,0,0,.3);}}
.sq-player-gate .sq-player-start:focus-visible {outline:2px solid #d6b4ef;outline-offset:5px;}
.sq-player-gate .sq-player-start:active {background:transparent;box-shadow:none;}
@media(max-width:470px){.sq-player-gate .sq-player-start{padding:16px;}.sq-player-start__icon{width:64px;height:64px;margin-bottom:16px;}.sq-player-start__title{font-size:18px;}}
@media(prefers-reduced-motion:reduce){.sq-player-start__icon{transition:none;}}

/* Semantic buttons inside list items; watched control is a sibling button. */
.sq-playlist-row .playlists-items li {padding:0;}
.sq-playlist-row .playlists-videos .playlists-items li {padding:0;}
.playlists-videos .sq-playlist-row .playlists-items li {padding:0;}
.sq-playlist-row .sq-playlist-select {display:block;width:100%;height:44px;min-height:44px;margin:0;padding:0 12px;border:0;border-radius:6px;background:transparent;color:inherit;box-shadow:none;font:inherit;line-height:44px;text-transform:none;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;}
.playlists-videos .sq-playlist-select {padding-right:44px;text-align:left;}
.sq-playlist-row .sq-playlist-select:hover,.sq-playlist-row .sq-playlist-select:active {background:transparent;color:inherit;box-shadow:none;}
.sq-playlist-row .sq-playlist-select:focus-visible {outline:2px solid #d6b4ef;outline-offset:-3px;}
