.ai-image-wrapper {
	position: relative !important;
	display: inline-block !important;
	width: fit-content;
	max-width: 100%;
	vertical-align: top;
	line-height: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.ai-image-wrapper img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 !important;
}

.ai-image-badge {
	position: absolute !important;
	display: flex !important;
	align-items: center !important;
	z-index: 999999 !important;
	margin: 0 !important;
	line-height: 1 !important;
}

.ai-image-badge--eu {
	width: min(180px, 40%) !important;
	min-width: 90px;
	background: transparent !important;
	padding: 0 !important;
}

.ai-image-badge--eu.ai-image-badge--basic {
	width: min(48px, 20%) !important;
	min-width: 32px;
}

.ai-image-badge--eu img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
}

.ai-image-badge--legacy {
	background-color: rgba(0, 0, 0, 0.7);
	color: white !important;
	padding: 5px 10px !important;
	border-radius: 4px !important;
	font-size: 12px !important;
	gap: 5px !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
	line-height: 1.4 !important;
	cursor: default;
}

.ai-image-badge--legacy::before {
	content: "🤖";
	font-size: 14px;
	margin-right: 5px;
}

@media (max-width: 768px) {
	.ai-image-badge--legacy {
		font-size: 10px !important;
		padding: 4px 8px !important;
	}

	.ai-image-badge--legacy::before {
		font-size: 12px;
	}
}
