/* Widcyber TV YouTube */
.wty-tv {
	--wty-primary: #E50914;
	--wty-bg: #0D0D0F;
	--wty-logo-width: 120px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 28px;
	border-radius: 32px;
	background:
		radial-gradient(circle at 85% 0%, rgba(229, 9, 20, .25), transparent 32%),
		linear-gradient(135deg, var(--wty-bg), #020204);
	color: #fff;
	font-family: Montserrat, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
}

.wty-header {
	margin-bottom: 22px;
}

.wty-header span {
	display: inline-flex;
	border-radius: 999px;
	background: var(--wty-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 950;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 8px 13px;
	margin-bottom: 12px;
	box-shadow: 0 10px 24px rgba(229, 9, 20, .28);
}

.wty-header h2 {
	margin: 0;
	font-size: clamp(34px, 5vw, 72px);
	font-weight: 950;
	line-height: .88;
	letter-spacing: -.065em;
	color: #fff;
	text-transform: uppercase;
}

.wty-header p {
	margin: 12px 0 0;
	color: rgba(255,255,255,.72);
	font-size: 17px;
	letter-spacing: .02em;
}

.wty-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 22px;
	align-items: stretch;
}

.wty-no-schedule {
	grid-template-columns: 1fr;
}

.wty-player-card,
.wty-schedule {
	border: 1px solid rgba(255,255,255,.10);
	background: rgba(255,255,255,.055);
	border-radius: 26px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
	overflow: hidden;
}

.wty-video-shell {
	position: relative;
	background: #000;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.wty-youtube-player,
.wty-youtube-player iframe {
	width: 100%;
	height: 100%;
	display: block;
}

.wty-watermark {
	position: absolute;
	right: 18px;
	top: 18px;
	width: var(--wty-logo-width);
	max-width: 34%;
	height: auto;
	z-index: 6;
	opacity: .86;
	filter: drop-shadow(0 8px 18px rgba(0,0,0,.45));
	pointer-events: none;
}

.wty-screen-label {
	position: absolute;
	left: 18px;
	top: 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px 13px;
	border-radius: 16px;
	background: rgba(2, 6, 23, .62);
	backdrop-filter: blur(12px);
	pointer-events: none;
	z-index: 5;
}

.wty-screen-label strong {
	font-size: 14px;
	max-width: 420px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wty-screen-label small {
	color: var(--wty-primary);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.wty-controls-panel {
	display: grid;
	grid-template-columns: auto auto 1fr;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	background: rgba(0,0,0,.28);
	border-top: 1px solid rgba(255,255,255,.08);
}

.wty-main-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wty-main-controls button,
.wty-cinema {
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,.10);
	color: #fff;
	width: 42px;
	height: 42px;
	font-weight: 900;
	cursor: pointer;
	transition: transform .2s ease, background .2s ease;
}

.wty-main-controls button:hover,
.wty-cinema:hover {
	background: var(--wty-primary);
	transform: translateY(-1px);
}

.wty-play {
	background: var(--wty-primary) !important;
	width: 48px !important;
	height: 48px !important;
}

.wty-speed {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255,255,255,.68);
	font-size: 12px;
	font-weight: 850;
}

.wty-speed-select {
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 999px;
	background: rgba(255,255,255,.10);
	color: #fff;
	padding: 9px 10px;
	font-weight: 900;
	outline: none;
}

.wty-speed-select option {
	color: #111827;
}

.wty-cinema {
	justify-self: end;
	width: auto;
	padding: 0 18px;
}

.wty-now {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
	gap: 18px;
	align-items: center;
	padding: 20px;
}

.wty-now span,
.wty-up-next span {
	color: var(--wty-primary);
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
	letter-spacing: .09em;
}

.wty-now h3 {
	margin: 7px 0 8px;
	color: #fff;
	font-size: clamp(24px, 3vw, 38px);
	line-height: 1.02;
	font-weight: 950;
	letter-spacing: -.045em;
}

.wty-current-description {
	margin: 0;
	color: rgba(255,255,255,.68);
	line-height: 1.5;
}

.wty-up-next {
	padding: 16px;
	border-radius: 18px;
	background: rgba(255,255,255,.07);
	border: 1px solid rgba(255,255,255,.08);
}

.wty-up-next strong {
	display: block;
	margin-top: 8px;
	color: #fff;
	font-size: 15px;
	line-height: 1.3;
}

.wty-schedule {
	padding: 18px;
}

.wty-schedule h3 {
	margin: 0 0 14px;
	font-size: 19px;
	font-weight: 950;
	color: #fff;
}

.wty-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 620px;
	overflow: auto;
	padding-right: 4px;
}

.wty-item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	width: 100%;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 18px;
	background: rgba(255,255,255,.06);
	color: #fff;
	text-align: left;
	padding: 9px;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.wty-item:hover,
.wty-item.is-active {
	background: rgba(229, 9, 20, .22);
	border-color: var(--wty-primary);
	transform: translateY(-1px);
}

.wty-item img {
	width: 88px;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	object-fit: cover;
	background: rgba(255,255,255,.10);
	display: block;
}

.wty-item strong {
	display: block;
	font-size: 13px;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wty-item small {
	display: block;
	margin-top: 4px;
	color: rgba(255,255,255,.58);
	font-size: 11px;
	font-weight: 800;
}

.wty-item.is-active small {
	color: #fff;
}

.wty-empty {
	padding: 18px;
	border-radius: 18px;
	background: #F8FAFC;
	color: #475569;
}

.wty-tv.wty-cinema-mode {
	position: fixed;
	inset: 0;
	z-index: 999999;
	max-width: none;
	border-radius: 0;
	padding: 18px;
	overflow: auto;
}

@media (max-width: 980px) {
	.wty-tv {
		padding: 18px;
		border-radius: 24px;
	}

	.wty-layout {
		grid-template-columns: 1fr;
	}

	.wty-list {
		max-height: none;
	}

	.wty-now {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.wty-tv {
		padding: 12px;
		border-radius: 18px;
	}

	.wty-controls-panel {
		grid-template-columns: 1fr;
	}

	.wty-cinema {
		justify-self: stretch;
		width: 100%;
		height: 42px;
	}

	.wty-speed {
		justify-content: center;
	}

	.wty-main-controls {
		justify-content: center;
	}

	.wty-watermark {
		right: 10px;
		top: 10px;
		width: min(var(--wty-logo-width), 96px);
	}

	.wty-screen-label {
		left: 10px;
		top: 10px;
		max-width: 58%;
	}
}


/* WTY 1.0.1 - remover etiqueta superior esquerda e adicionar comentários */
.wty-screen-label {
	display: none !important;
}

.wty-comments {
	margin-top: 22px;
	border: 1px solid rgba(255,255,255,.10);
	background: rgba(255,255,255,.055);
	border-radius: 26px;
	padding: 20px;
	color: #fff;
}

.wty-comments-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 16px;
}

.wty-comments-head h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 950;
	color: #fff;
}

.wty-comments-head span {
	color: rgba(255,255,255,.58);
	font-size: 13px;
	font-weight: 700;
}

.wty-comments-list {
	display: grid;
	gap: 10px;
	margin-bottom: 16px;
}

.wty-no-comments {
	margin: 0;
	padding: 16px;
	border-radius: 16px;
	background: rgba(255,255,255,.06);
	color: rgba(255,255,255,.68);
}

.wty-comment {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 12px;
	padding: 14px;
	border-radius: 18px;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.08);
}

.wty-comment-avatar {
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: var(--wty-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 950;
}

.wty-comment-body strong {
	display: inline-block;
	color: #fff;
	font-size: 14px;
	margin-right: 8px;
}

.wty-comment-body small {
	color: rgba(255,255,255,.48);
	font-size: 12px;
}

.wty-comment-body p {
	margin: 6px 0 0;
	color: rgba(255,255,255,.78);
	line-height: 1.5;
}

.wty-comment-form {
	display: grid;
	gap: 10px;
}

.wty-comment-form textarea {
	width: 100%;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 18px;
	background: rgba(255,255,255,.08);
	color: #fff;
	padding: 14px;
	outline: none;
	resize: vertical;
	box-shadow: none;
}

.wty-comment-form textarea::placeholder {
	color: rgba(255,255,255,.45);
}

.wty-comment-form button,
.wty-login-required a {
	justify-self: start;
	border: 0;
	border-radius: 999px;
	background: var(--wty-primary);
	color: #fff !important;
	padding: 12px 18px;
	font-weight: 900;
	text-decoration: none;
	cursor: pointer;
}

.wty-login-required {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px;
	border-radius: 18px;
	background: rgba(255, 180, 0, .10);
	border: 1px solid rgba(255, 180, 0, .16);
}

.wty-login-required p {
	margin: 0;
	color: rgba(255,255,255,.78);
}

@media (max-width: 620px) {
	.wty-comments-head,
	.wty-login-required {
		flex-direction: column;
		align-items: flex-start;
	}
}
