/**handles:pil-style**/
.pil-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.pil-overlay.is-visible {
	display: flex;
}

.pil-modal {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	padding-top: 44px;
}

.pil-modal img {
	display: block;
	max-width: 90vw;
	max-height: calc(90vh - 44px);
	height: auto;
	border-radius: 4px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.pil-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	border: none;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	color: #222;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.pil-close:hover {
	background: #f0f0f0;
}