/* === KẾT THÚC ĐIỀU CHỈNH THEO YÊU CẦU === */
	.provider-logo {
		height: 20px;
		width: auto;
		display: block;
	}

	.card {
		position: relative;
	}

	.poster-icon-overlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		pointer-events: none;
		overflow: hidden;
	}

	.poster-icon {
		display: none;
		position: absolute;
		width: 28px;
		height: 28px;
		-webkit-filter: drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.9));
		filter: drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.9));
	}

	.poster-icon svg {
		width: 100%;
		height: 100%;
	}

	.icon-watchlist {
		top: 0px;
		right: 4px;
	}
	.icon-watchlist svg {
		fill: #2962FF;
	}
	.icon-favorite {
		bottom: 4px;
		left: 4px;
	}
	.icon-favorite svg {
		fill: #E50914;
	}

	.icon-watched {
		bottom: 4px;
		left: 36px;
	}
	.icon-watched svg {
		fill: #FFD700;
	}

	.card.is-watchlist .icon-watchlist,
	.card.is-favorite .icon-favorite,
	.card.is-watched .icon-watched {
		display: block;
	}

	.card.is-favorite.is-watched .icon-watched {
		left: 36px;
	}
	.card.is-favorite.is-watched .icon-favorite {
		left: 4px;
	}
	.card.is-watched:not(.is-favorite) .icon-watched {
		left: 4px;
	}

	.card .progress-bar-container {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 10px;
		background-color: rgba(90, 90, 90, 0.7);
	}

	.card .progress-bar {
		width: 0%;
		height: 100%;
		background-color: #E50914;
	}

	#right .right-actions .btn {
		width: 50px;
		height: 50px;
		border: none;
		background: transparent;
		color: #ddd;
		cursor: pointer;
		border-radius: 50%;
		outline: none;
		-webkit-transition: all 0.2s ease;
		transition: all 0.2s ease;
	}
	#right .right-actions .btn.focusable.focus {
		outline: none !important;
		background-color: #14f195;
		border-radius: 50%;
		-webkit-transform: scale(1.1) !important;
		transform: scale(1.1) !important;
		color: #000;
	}

	#streams .focusable {
		-webkit-transition: all 0.2s ease-in-out;
		transition: all 0.2s ease-in-out;
	}

	#streams .focusable.focus {
		outline: none !important;
		border-color: transparent !important;
		background-color: #14f195;
		-webkit-transform: scale(1) !important;
		transform: scale(1) !important;
	}

	#streams .focusable.focus .stream-title,
	#streams .focusable.focus .stream-meta,
	#streams .focusable.focus .stream-meta span {
		-webkit-transform: scale(1) !important;
		transform: scale(1) !important;
		color: #000 !important;
	}

	/* === Skeleton loading === */
	.skeleton {
		background-color: rgba(255, 255, 255, 0.08);
		border-radius: 4px;
		-webkit-animation: pulse 1.5s infinite ease-in-out;
		animation: pulse 1.5s infinite ease-in-out;
	}

	@-webkit-keyframes pulse {
		0%   { background-color: rgba(255, 255, 255, 0.08); }
		50%  { background-color: rgba(255, 255, 255, 0.12); }
		100% { background-color: rgba(255, 255, 255, 0.08); }
	}
	@keyframes pulse {
		0%   { background-color: rgba(255, 255, 255, 0.08); }
		50%  { background-color: rgba(255, 255, 255, 0.12); }
		100% { background-color: rgba(255, 255, 255, 0.08); }
	}

	.skeleton.line {
		height: 24px;
		margin-bottom: 12px;
	}
	.skeleton.logo-shape {
		height: 40px;
		width: 80px;
		display: inline-block;
		margin-left: 10px;
	}
	.w-100 { width: 100%; }
	.w-80 { width: 80%; }
	.w-60 { width: 60%; }
	.w-40 { width: 40%; }

	.stream-icon {
		width: 1em;
		height: 1em;
		fill: currentColor;
		vertical-align: -0.15em;
		margin-right: 5px;
	}
	.checkmark-icon {
		width: 1.2em;
		height: 1.2em;
		fill: #aaa;
		vertical-align: -0.2em;
		margin-right: 8px;
		-webkit-flex-shrink: 0;
		flex-shrink: 0;
	}

	#streams .focusable.focus .stream-icon {
		fill: #000 !important;
	}
	#streams .focusable.focus .checkmark-icon {
		fill: #000 !important;
	}
	.stream-meta span:first-child::before {
		display: none !important;
		content: none !important;
	}

	.full-details-container {
		padding: 0 12px 12px 12px;
		font-size: 18px;
		line-height: 1.5;
	}
	.full-details-container .details-section {
		margin-bottom: 20px;
	}
	.full-details-container h5 {
		font-size: 20px;
		color: #14f195;
		margin: 0 0 10px 0;
		border-bottom: 1px solid #163042;
		padding-bottom: 8px;
	}
	.full-details-container p {
		margin: 0 0 10px 0;
		color: #ccc;
	}
	.full-details-container .tagline {
		font-style: italic;
		color: #999;
		margin-bottom: 15px;
	}
	.full-details-container ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}
	.full-details-container li {
		margin-bottom: 5px;
	}
	.full-details-container .label {
		font-weight: bold;
		color: #eee;
	}

	#btnInfoBack {
		width: 100%;
		-webkit-justify-content: center;
		justify-content: center;
		margin-bottom: 15px;
		padding: 10px;
		background: #1f2b33;
		border: 4px solid transparent;
		color: #eee;
		font-size: 16px;
	}
	#btnInfoBack.focus {
		border-color: #14f195;
		color: #fff;
	}

	#streams.focusable.focus {
		outline: none !important;
		box-shadow: inset 0 -4px 0 #14f195;
		background-color: transparent !important;
		-webkit-transform: none !important;
		transform: none !important;
	}

	.tab-content {
		display: none;
	}
	.tab-content.active {
		display: block;
	}

	.card {
		width: 360px;
		margin: 8px 10px;
	}
	.card img {
		height: 540px;
	}
	.loadmore-tail {
		width: 360px;
		height: 540px;
	}

	.list-row {
		margin-bottom: 20px;
		-webkit-transition: opacity 0.3s ease-in-out;
		transition: opacity 0.3s ease-in-out;
	}
	.list-row.dimmed {
		opacity: 0;
		pointer-events: none;
		-webkit-transition: opacity 0.3s ease-out;
		transition: opacity 0.3s ease-out;
	}

	.nav-bar {
		height: 100px;
		padding: 36px;
		box-sizing: border-box;
	}
	.nav-bar .btn {
		width: 48px;
		height: 48px;
	}
	.nav-bar .btn svg {
		width: 36px;
		height: 36px;
	}
	#search-container {
		max-width: 250px;
	}
	input {
		font-size: 16px;
	}

	#right .right-actions .btn {
		width: 50px;
		height: 50px;
	}
	#right .right-actions .btn svg {
		width: 24px;
		height: 24px;
	}
	#detailTitle.text-title {
		font-size: 26px;
	}
	#detailMeta {
		font-size: 20px;
	}
	#detailSubtitle {
		font-size: 26px;
	}
	.stream-title {
		font-size: 20px;
		color: #aaa;
	}
	.stream-meta {
		font-size: 18px;
	}

	.episode-card {
		width: 220px;
		height: 120px;
	}
	.episode-card .ep-number {
		font-size: 24px;
	}
	.episode-card .ep-name {
		font-size: 14px;
	}

	.player-btn {
		width: 60px;
		height: 60px;
	}
	.player-btn svg {
		width: 32px;
		height: 32px;
	}
	.player-btn.back-btn {
		width: 50px;
		height: 50px;
	}
	.player-title-bottom {
		font-size: 22px;
	}
	#player-btn-rewind svg, #player-btn-forward svg {
		-webkit-transform: scale(1.0);
		transform: scale(1.0);
	}

/* === Focus Info Panel === */
#focus-info-panel {
	position: absolute;
	top: 100%;
	left: 5px;
	padding-top: 25px;
	width: calc(100% - 10px);
	z-index: 11;
	pointer-events: none;
	background: none;
	border: none;
	color: #e0e0e0;
	font-size: 22px;
	font-weight: bold;
	text-shadow: 0 1px 3px rgba(0,0,0,0.8);
	opacity: 0;
	-webkit-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

#focus-info-panel.visible {
	opacity: 1;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
#focus-info-panel .title {
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 5px;
}

/* Khung chứa overview — cắt phần tràn */
#focus-info-panel .overview {
	max-height: 5.6em;
	overflow: hidden;
	display: block;
	line-height: 1.4;
	margin-top: 8px;
	font-size: 20px;
	font-style: normal;
	font-weight: normal;
	color: #aaa;
}

/* Lớp văn bản cuộn */
.overview-scroller {
	-webkit-transition: -webkit-transform 1s linear;
	transition: transform 1s linear;
	text-align: justify;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.focus-info-panel-item:not(:first-child)::before {
	content: '•';
	margin: 0 8px;
	color: #888;
}

#focus-info-panel:not(.visible) {
	opacity: 0;
	-webkit-transform: translateY(10px) scale(0.95);
	transform: translateY(10px) scale(0.95);
}

.focus-info-line {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	margin-bottom: 4px;
}
.focus-info-line .info-rating {
	display: inline-block;
	font-weight: bold;
	color: #fff;
	background: transparent;
	padding: 0;
	border-radius: 0;
}

/* ============================================================
   #new-backdrop — khung hình backdrop trong right panel
   SỬA LỖI CHÍNH: inset:0 → top/left/width/height tường minh
   để Tizen 4.0 (không hỗ trợ inset) render đúng kích thước
   ============================================================ */
#new-backdrop {
	position: relative;
	overflow: hidden;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	height: 100%;
	background-color: #0f1a21;
	border-radius: 4px;
	margin-right: 15px;
}

.nb-layer {
	position: absolute;
	/* SỬA: thay inset:0 bằng 4 thuộc tính tường minh — Tizen 4.0 không hỗ trợ inset */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-size: cover;
	background-position: center;
	background-color: #0f1a21;
	border-radius: 4px;
	opacity: 0;
	-webkit-transition: opacity 1.5s ease-in-out;
	transition: opacity 1.5s ease-in-out;
}
.nb-layer.active {
	opacity: 1;
}

/* ============================================================
   #new-poster — khung hình poster trong right panel
   SỬA LỖI CHÍNH: inset:0 trên .np-img → top/left/width/height
   ============================================================ */
#new-poster {
	position: relative;
	overflow: hidden;
	width: 200px;
	height: 100%;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
	background-color: #0f1a21;
	border-radius: 4px;
}

/* Ẩn img gốc cũ nếu vẫn còn trong DOM (fallback) */
#new-poster > img:not(.np-img) {
	display: none;
}

.np-img {
	position: absolute;
	/* SỬA: thay inset:0 bằng 4 thuộc tính tường minh — Tizen 4.0 không hỗ trợ inset */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	object-fit: cover;
	display: block;
	border-radius: 4px;
	background-color: #0f1a21;
	opacity: 0;
	-webkit-transition: opacity 1.5s ease-in-out;
	transition: opacity 1.5s ease-in-out;
}
.np-img.active {
	opacity: 1;
}

/* Lớp viền mờ cho #new-backdrop và #new-poster được định nghĩa trong backdrop.css */
