/* Metroport – lekki lightbox dla linków do listy kanałów (globalny). */
html.mpch-lb-lock {
	overflow: hidden;
}

.mpch-lb-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15, 16, 32, .6);
	opacity: 0;
	transition: opacity .2s ease;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.mpch-lb-overlay.is-open {
	opacity: 1;
}

.mpch-lb-dialog {
	position: relative;
	width: 100%;
	max-width: 1100px;
	height: 88vh;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
	transform: translateY(16px) scale(.98);
	transition: transform .22s ease;
}

.mpch-lb-overlay.is-open .mpch-lb-dialog {
	transform: translateY(0) scale(1);
}

.mpch-lb-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: rgba(255, 255, 255, .92);
	color: #202040;
	border-radius: 999px;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	z-index: 3;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
	transition: background .15s ease, transform .12s ease;
}

.mpch-lb-close:hover {
	background: #fff;
	transform: scale(1.05);
}

.mpch-lb-spinner {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: #9aa;
	z-index: 1;
}

.mpch-lb-dialog.is-loaded .mpch-lb-spinner {
	display: none;
}

.mpch-lb-frame {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

@media (max-width: 600px) {
	.mpch-lb-overlay {
		padding: 0;
	}
	.mpch-lb-dialog {
		max-width: 100%;
		height: 100vh;
		border-radius: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mpch-lb-overlay,
	.mpch-lb-dialog {
		transition: none;
	}
}
