/**
 * Badge added by assets/js/ai-marker.js to the parent container of any
 * image whose alt/title indicates AI-generated or AI-edited content.
 *
 * --imp-ai-marking-icon-url is injected inline by FrontendAssets::enqueue()
 * and points at assets/images/ai-marker-icon.svg in this plugin's own
 * folder — swap that file for your own icon, no PHP/JS changes needed.
 */

.imp-ai-marking-parent {
	position: relative;
}

.imp-ai-marking-parent--inline {
	display: inline-block;
}

.imp-ai-marking-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	background-color: #fff;
	pointer-events: none;

	mask: var( --imp-ai-marking-icon-url ) no-repeat center / contain;
	-webkit-mask: var( --imp-ai-marking-icon-url ) no-repeat center / contain;
}
