.vint[hidden] { display: none !important; }

.vint {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
	opacity: 0;
	transition: opacity .25s ease;
}
.vint.is-open { opacity: 1; }

.vint__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .78);
	cursor: pointer;
}

.vint__box {
	position: relative;
	max-width: min(96vw, 1100px);
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	transform: scale(.97);
	transition: transform .25s ease;
}
.vint.is-open .vint__box { transform: none; }

.vint__link { display: block; line-height: 0; }
.vint__link:focus-visible { outline: 3px solid #4db2ec; outline-offset: 3px; }

.vint__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 80px);
	max-height: calc(100dvh - 80px);
	object-fit: contain;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}

.vint__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}
.vint__close svg { width: 26px; height: 26px; stroke: #e30613; stroke-width: 3; fill: none; stroke-linecap: square; }
.vint__close:hover { background: #f2f2f2; }
.vint__close:focus-visible { outline: 3px solid #4db2ec; outline-offset: 2px; }

.vint__foot {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	width: 100%;
	margin-top: 6px;
	font: 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: rgba(255, 255, 255, .75);
}
.vint__timer:empty { display: none; }

html.vint-lock, html.vint-lock body { overflow: hidden !important; }

@media (prefers-reduced-motion: reduce) {
	.vint, .vint__box { transition: none; }
}

/* Pub Ad Commander : on neutralise les marges et alignements de ses conteneurs. */
.vint__slot { line-height: 0; max-width: 100%; }
.vint__slot * { max-width: 100%; }
.vint__slot > *,
.vint__slot [data-t-id] { margin: 0 !important; float: none !important; }
.vint__slot a { display: block; }
.vint__slot a:focus-visible { outline: 3px solid #4db2ec; outline-offset: 3px; }
.vint__slot img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: calc(100vh - 80px);
	max-height: calc(100dvh - 80px);
	object-fit: contain;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
