:where(:is(figure, div, a, section):has(> .optum-ai-image-label)) {
    position: relative;
}

:root .optum-ai-image-label {
    position: absolute;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    right: 6px;
    bottom: 6px;
    z-index: 4;
    width: min(var(--optum-label-width, 94px), calc(100% - 12px));
    aspect-ratio: 1386 / 268;
    background: url("ai-generated.svg") center / 100% 100% no-repeat;
    pointer-events: none;
}

:root .optum-ai-image-label--edited {
    width: min(var(--optum-label-width, 82px), calc(100% - 12px));
    aspect-ratio: 1233 / 269;
    background-image: url("ai-modified.svg");
}

:root .optum-ai-image-label > span {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}
