/* LSN Videos popup (Settings > News Feed > LSN Videos). */
.g100nf-vpop {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 42, 92, 0.88);
	box-sizing: border-box;
}

.g100nf-vpop.is-open {
	display: flex;
}

.g100nf-vpop *,
.g100nf-vpop *::before,
.g100nf-vpop *::after {
	box-sizing: border-box;
}

.g100nf-vpop__panel {
	display: flex;
	flex-direction: column;
	width: min(420px, calc(100vw - 32px), calc((100vh - 120px) * 9 / 16));
	width: min(420px, calc(100vw - 32px), calc((100dvh - 120px) * 9 / 16));
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	font-family: inherit;
}

.g100nf-vpop__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
}

.g100nf-vpop__title {
	margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.g100nf-vpop__close {
	flex: none;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #0f2a5c;
	font: 700 24px/36px Arial, sans-serif;
	cursor: pointer;
}

.g100nf-vpop__close:hover,
.g100nf-vpop__close:focus-visible {
	background: #eef4fc;
	color: #1670e0;
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.g100nf-vpop__box {
	position: relative;
	width: 100%;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: 14px;
	background: #000;
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.g100nf-vpop__box > div,
.g100nf-vpop__box iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 480px) {
	.g100nf-vpop {
		padding: 12px;
	}

	.g100nf-vpop__panel {
		width: min(100%, calc((100vh - 96px) * 9 / 16));
		width: min(100%, calc((100dvh - 96px) * 9 / 16));
	}

	.g100nf-vpop__title {
		font-size: 15px;
	}
}
