.awr-line-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.awr-line-popup.is-visible {
	display: flex;
}

.awr-line-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	animation: awrLinePopupFadeIn 0.25s ease forwards;
}

.awr-line-popup__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 360px;
	animation: awrLinePopupPopIn 0.3s ease forwards;
}

.awr-line-popup__link {
	display: block;
	line-height: 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.awr-line-popup__img {
	display: block;
	width: 100%;
	height: auto;
}

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

.awr-line-popup__close:hover {
	background: #00b900;
	color: #fff;
}

body.awr-line-popup-open {
	overflow: hidden;
}

@keyframes awrLinePopupFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes awrLinePopupPopIn {
	from {
		opacity: 0;
		transform: scale(0.92) translateY(10px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

@media (max-width: 400px) {
	.awr-line-popup__panel {
		max-width: 300px;
	}
}
