.blog-exit-popup-dialog,
.blog-exit-popup-bar {
	box-sizing: border-box;
	border: 1px solid #a78bfa;
	border-radius: 18px;
	background: linear-gradient(125deg, #1b1340, #35216e);
	color: #fff;
	box-shadow: 0 18px 50px #12092f66;
}
.blog-exit-popup-dialog {
	position: fixed;
	inset: 0;
	margin: auto;
	width: min(470px, calc(100% - 32px));
	max-height: calc(100% - 32px);
	padding: 0;
	overflow: auto;
}
.blog-exit-popup-dialog::backdrop {
	background: #100a27b8;
}
.blog-exit-popup-card {
	position: relative;
	padding: clamp(22px, 5vw, 34px);
}
.blog-exit-popup-card h2 {
	color: inherit;
	margin: 20px 0 10px;
	font-size: clamp(1.5rem, 4vw, 2rem);
}
.blog-exit-popup-card p {
	margin: 0 0 20px;
	color: #f0ebff;
}
.blog-exit-popup-logo {
	display: block;
	width: auto;
	max-width: min(145px, 72%);
	max-height: 34px;
	object-fit: contain;
	background: #fff;
	padding: 5px 8px;
	border-radius: 8px;
}
.blog-exit-popup-cta,
.blog-exit-popup-cta:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4em;
	min-height: 44px;
	padding: 8px 14px;
	border-radius: 10px;
	background: #fff;
	color: #5529ca;
	font-weight: 750;
	line-height: 1.15;
	text-decoration: none;
	white-space: nowrap;
}
.blog-exit-popup-cta:hover {
	background: #f1ecff;
	color: #43209f;
}
.blog-exit-popup-close {
	flex: none;
	width: 44px;
	height: 44px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font: inherit;
	font-size: 1.5rem;
	line-height: 1;
}
.blog-exit-popup-close:hover {
	background: #ffffff19;
}
.blog-exit-popup-card .blog-exit-popup-close {
	position: absolute;
	top: 8px;
	right: 8px;
}
.blog-exit-popup-close:focus-visible,
.blog-exit-popup-cta:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}
.blog-exit-popup-bar {
	position: fixed;
	z-index: 9999;
	left: 0;
	right: 0;
	bottom: max(10px, env(safe-area-inset-bottom, 0px));
	width: min(620px, calc(100% - 20px));
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	font-size: clamp(.84rem, 2.8vw, .98rem);
	line-height: 1.35;
}
.blog-exit-popup-bar > span {
	flex: 1;
	padding-inline-start: 6px;
	font-weight: 650;
}
.blog-exit-popup-bar[hidden] {
	display: none;
}
body:has(.blog-exit-popup-bar:not([hidden])) {
	padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
}
@media (prefers-reduced-motion: no-preference) {
	.blog-exit-popup-dialog[open],
	.blog-exit-popup-bar:not([hidden]) {
		animation: blog-exit-popup-fade .18s ease-out;
	}
}
@keyframes blog-exit-popup-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}
