.lkae-ad-slot {
	position: relative;
	display: block;
	width: 100%;
	margin: 24px 0;
	clear: both;
}

.lkae-ad-slot .lkae-ad-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 10px;
	padding: 6px 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, #eef2ff 0%, #fdf2f8 100%);
	border: 1px solid #ddd6fe;
	color: #5b21b6;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lkae-ad-inner {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border-radius: 20px;
	overflow: hidden;
}

.lkae-ad-slot iframe,
.lkae-ad-slot img,
.lkae-ad-slot embed,
.lkae-ad-slot object,
.lkae-ad-slot video {
	max-width: 100%;
	height: auto;
	display: block;
}

.lkae-ad-slot a {
	max-width: 100%;
	word-break: break-word;
}

.lkae-ad-slot script {
	max-width: 100%;
}

.lkae-header,
.lkae-footer {
	width: 100%;
}

.lkae-header .lkae-ad-inner,
.lkae-footer .lkae-ad-inner {
	border-radius: 0;
}

.lkae-before_content,
.lkae-after_content,
.lkae-between_paragraphs,
.lkae-inline_copy,
.lkae-shortcode {
	max-width: 100%;
}

.lkae-sidebar {
	max-width: 100%;
	margin: 20px 0;
}

.lkae-sidebar .lkae-ad-inner {
	border-radius: 18px;
}

.lkae-ad-slot.lkae-popup {
	display: none;
}

.lkae-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 99998;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(15, 23, 42, 0.62);
	backdrop-filter: blur(4px);
}

.lkae-popup-box {
	position: relative;
	width: min(92vw, 760px);
	max-height: 90vh;
	padding: 24px;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
	overflow: auto;
	animation: lkaePopupIn 0.25s ease-out;
}

.lkae-popup-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: #f3f4f6;
	color: #111827;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lkae-popup-close:hover {
	background: #e5e7eb;
}

.lkae-popup-box .lkae-ad-slot {
	margin: 0;
}

.lkae-popup-box .lkae-ad-inner {
	border-radius: 16px;
}

.lkae-between-posts-marker {
	display: block;
	width: 100%;
	margin: 24px 0;
}

.lkae-ad-slot.is-centered {
	text-align: center;
}

.lkae-ad-slot.is-centered .lkae-ad-inner > * {
	margin-left: auto;
	margin-right: auto;
}

.lkae-ad-slot.is-boxed {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.lkae-ad-slot.is-shadow .lkae-ad-inner {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
	padding: 16px;
}

.lkae-ad-slot.is-card .lkae-ad-inner {
	background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%);
	border: 1px solid #ecebff;
	box-shadow: 0 12px 30px rgba(79, 70, 229, 0.08);
	padding: 16px;
}

.lkae-ad-slot.is-compact {
	margin: 14px 0;
}

.lkae-ad-slot.is-spacious {
	margin: 36px 0;
}

.lkae-ad-slot[data-campaign] a {
	cursor: pointer;
}

@keyframes lkaePopupIn {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 782px) {
	.lkae-ad-slot {
		margin: 18px 0;
	}

	.lkae-popup-box {
		width: min(94vw, 640px);
		padding: 18px;
		border-radius: 20px;
	}

	.lkae-popup-close {
		width: 36px;
		height: 36px;
		font-size: 20px;
	}
}

@media (max-width: 540px) {
	.lkae-ad-slot .lkae-ad-label {
		font-size: 10px;
		padding: 5px 8px;
	}

	.lkae-popup-overlay {
		padding: 12px;
	}

	.lkae-popup-box {
		width: 100%;
		max-height: 88vh;
		padding: 16px;
		border-radius: 18px;
	}
}