@property --dtd-cart-beam{syntax:"<angle>";initial-value:0deg;inherits:false}

/* Card boundaries still clip at the rounded outer card; the photo-to-copy seam must not crop shadows. */
.dtd .dtd-card-picture{overflow:visible}
@supports(width:1cqw){
.dtd .dtd-modal-frame{--photo-room-x:48px!important;--photo-room-y:64px!important;--photo-position-y:50%!important}
.dtd .dtd-modal-frame img{max-width:calc(100cqw - 48px)!important;max-height:calc(100cqh - 64px)!important;object-fit:contain}
/* Framed photos use their visible alpha bounds, not the padded square canvas. */
.dtd .dtd-modal-frame img[data-framed="true"]{max-width:none!important;max-height:none!important}
}
@supports not(width:1cqw){.dtd .dtd-modal-frame img{box-sizing:border-box;padding-top:32px;padding-bottom:32px}}

