.tdgs-image {
	display: inline-block;
	position: relative;
	max-width: 100%;
	vertical-align: middle;
	line-height: 0;
}

.tdgs-image > img { display: block; }

.tdgs-ai {
	position: absolute;
	inset: auto 8px 8px auto;
	pointer-events: none;
	line-height: 0;
	width: 96px;
	max-width: 40%;
}

.tdgs-ai img {
	display: block;
	width: 100%;
	height: auto;
}

.tdgs-ai--bottom-left { right: auto; left: 8px; }
.tdgs-ai--small { width: 76px; }
.tdgs-ai--large { width: 116px; }

.tdgs-lightbox-stage,
.tdgs-compare-frame { position: relative; }

.tdgs-ai-label-text {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 4px;
	background: #222;
	color: #fff;
	font-size: 0.75rem;
	line-height: 1.35;
}

.tdgs-ai-notice {
	position: absolute;
	z-index: 2;
	inset-block-start: 8px;
	inset-inline-end: 8px;
	max-inline-size: calc(100% - 16px);
	pointer-events: none;
}

@media (max-width: 760px) {
	.tdgs-ai--standard { width: 82px; }
	.tdgs-ai--large { width: 98px; }
}
