/*!
 * 프레스런 플러그인 | Copyright (c) 2026 프레스런(PressLearn). All rights reserved.
 * 비공개 독점 소프트웨어입니다. 프레스런의 서면 동의 없이 복제·수정·변조·재배포할 수 없습니다(LICENSE.txt).
 */
/* 애드 프로텍터. 경고 창은 AL Pack 과 같은 클래스·모양입니다. */

/* 차단된 브라우저(html.plp-ad-blocked)에서는 애드센스 광고 자리를 모두 숨깁니다. */
html.plp-ad-blocked #google_esf,
html.plp-ad-blocked .adsbygoogle,
html.plp-ad-blocked ins.adsbygoogle,
html.plp-ad-blocked ins.adsbygoogle-noablate,
html.plp-ad-blocked ins[class*="adsbygoogle"],
html.plp-ad-blocked iframe[id^="google_ads_"],
html.plp-ad-blocked iframe[id^="aswift_"],
html.plp-ad-blocked div[id^="aswift_"],
html.plp-ad-blocked [data-ad-status],
html.plp-ad-blocked [data-adsbygoogle-status],
html.plp-ad-blocked [data-google-query-id],
html.plp-ad-blocked [data-google-container-id],
html.plp-ad-blocked [data-ad-format],
html.plp-ad-blocked #google_vignette,
html.plp-ad-blocked #google_anchor,
html.plp-ad-blocked .google-auto-placed,
html.plp-ad-blocked [data-vignette-loaded],
html.plp-ad-blocked [data-anchor-status],
html.plp-ad-blocked iframe[id*="google_ads_iframe"],
html.plp-ad-blocked iframe[src*="googleads"],
html.plp-ad-blocked iframe[src*="doubleclick"],
html.plp-ad-blocked div[id^="google_ads_iframe"],
html.plp-ad-blocked div.right-side-rail-edge,
html.plp-ad-blocked .right-side-rail-dismiss-btn,
html.plp-ad-blocked [data-side-rail-status] {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	max-width: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

.pl-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.7);
}

.pl-modal {
	position: relative;
	width: 90%;
	max-width: 500px;
	padding: 30px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
	text-align: center;
}

.pl-modal h2 {
	margin-top: 0;
	color: #d32f2f;
	font-size: 24px;
}

.pl-modal p {
	margin: 15px 0;
	font-size: 16px;
	line-height: 1.5;
}

.pl-modal-close {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 20px;
	background: #d32f2f;
	border: none;
	border-radius: 4px;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
}

.pl-modal-close:hover {
	background: #b71c1c;
}

body.pl-modal-open {
	overflow: hidden;
}
