#hoplaboum-aquaslide-popup[hidden] {
	display: none !important;
}

.hap-popup {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 99999;
	width: min(420px, calc(100vw - 28px));
	max-width: 420px;
	animation: hap-popup-in .4s ease-out;
}

.hap-popup__panel {
	position: relative;
	overflow: hidden;
	padding: 22px 22px 20px;
	border-radius: 26px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(245, 252, 255, .98) 100%);
	border: 4px solid #ffffff;
	box-shadow: 0 18px 42px rgba(49, 58, 146, .22), 0 8px 18px rgb(91 166 193 / 32%);
}

.hap-popup__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #38409a;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	line-height: 1;
	box-shadow: 0 8px 18px rgba(56, 64, 154, .18);
	transition: transform .2s ease, background .2s ease;
}

.hap-popup__close:hover,
.hap-popup__close:focus-visible {
	background: #e6177c;
	transform: scale(1.05);
	outline: none;
}

.hap-popup__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 14px;
	margin-bottom: 16px;
	border-radius: 999px;
	background: #e6177c;
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	box-shadow: 0 8px 18px rgba(230, 23, 124, .2);
}

.hap-popup__content {
	display: block;
	align-items: center;
}

.hap-popup__visual {
	position: relative;
	min-height: 104px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hap-popup__splash {
	width: 108px;
	height: 84px;
	filter: drop-shadow(0 10px 18px rgba(117, 213, 246, .28));
}

.hap-popup__splash svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: #75d5f6;
}

.hap-popup__emoji {
	position: absolute;
	right: 0;
	bottom: -2px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #ffc600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	box-shadow: 0 8px 18px rgba(255, 198, 0, .28);
}

.hap-popup__text h3 {
	margin: 0 0 8px;
	color: #38409a;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.08;
}

.hap-popup__text p {
	margin: 0 0 14px;
	color: #44526b;
	font-size: 15px;
	line-height: 1.5;
}

.hap-popup__text .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 640px) {
	.hap-popup {
		right: 14px;
		left: 14px;
		bottom: 14px;
		width: auto;
		max-width: none;
	}

	.hap-popup__panel {
		padding: 20px 18px 18px;
		border-radius: 22px;
	}

	.hap-popup__content {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.hap-popup__visual {
		justify-content: flex-start;
		min-height: 76px;
	}

	.hap-popup__text h3 {
		font-size: 22px;
	}
}

@keyframes hap-popup-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}
