/* APSN Content Shield - front-end styles (author: dturn) */
.acs-alert {
	position: fixed;
	left: 50%;
	z-index: 2147483647;
	max-width: min(90vw, 460px);
	padding: 14px 22px;
	border: 2px solid var(--acs-bd, #111827);
	border-radius: 10px;
	background: var(--acs-bg, #1f2937);
	color: var(--acs-fg, #fff);
	font: 600 var(--acs-fs, 15px)/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 10px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	-webkit-user-select: none;
	user-select: none;
}
.acs-alert.acs-pos-top { top: 24px; }
.acs-alert.acs-pos-center { top: 50%; margin-top: -24px; }
.acs-alert.acs-pos-bottom { bottom: 24px; }
.acs-alert.acs-show {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.acs-ov-img {
	-webkit-user-drag: none;
	user-select: none;
	background: transparent;
}

.acs-copy-btn {
	position: absolute;
	top: 6px;
	right: 6px;
	padding: 3px 10px;
	border: 0;
	border-radius: 4px;
	background: #374151;
	color: #fff;
	font: 12px/1.6 sans-serif;
	cursor: pointer;
	opacity: .85;
}
.acs-copy-btn:hover { opacity: 1; }

html.acs-devtools body {
	filter: blur(18px);
	pointer-events: none;
}

/* ---- Screenshot / recording guard ---- */
#acs-cover {
	display: none;
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 2147483647;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	font: 600 18px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	-webkit-user-select: none;
	user-select: none;
}
#acs-cover p { max-width: 520px; margin: 0; }
html.acs-capture #acs-cover { display: flex; }
html.acs-capture { overflow: hidden !important; }
html.acs-cap-black #acs-cover { background: #000; color: #fff; }
html.acs-cap-white #acs-cover { background: #fff; color: #111; }
html.acs-cap-blur #acs-cover { background: rgba(0, 0, 0, .35); color: #fff; -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px); }
html.acs-capture:not(.acs-cap-blur) body > *:not(#acs-cover):not(#acs-debug) { visibility: hidden !important; }
html.acs-capture.acs-cap-blur body > *:not(#acs-cover):not(#acs-debug) { filter: blur(40px) !important; }
#acs-fw { -webkit-user-select: none; user-select: none; }
