.am-framed-photo{position:relative;width:100%;isolation:isolate}
.am-framed-photo__paper{position:absolute;left:var(--frame-left);top:var(--frame-top);width:var(--frame-width);height:var(--frame-height);background:#fff;overflow:hidden}
.am-framed-photo__paper>.am-framed-photo__photograph{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.am-framed-photo>.am-framed-photo__frame{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}
