.da-photo-frame{box-sizing:border-box;width:min(92vw,510px);max-height:94dvh;overflow:auto;margin:auto;padding:20px;border:1px solid #d9d0c5;border-radius:18px;background:#fffcf8;color:#302b2b;box-shadow:0 20px 100px #17121840}
.da-photo-frame::backdrop{background:#211b20a8}
.da-photo-frame header,.da-photo-frame footer,.da-photo-frame label{display:flex;align-items:center;justify-content:space-between;gap:12px}
.da-photo-frame header{position:static;background:none;height:auto;padding:0;border:0}
.da-photo-frame h2{margin:0;font:500 1.65rem Georgia,serif}
.da-photo-frame p{font:400 .9rem/1.45 system-ui;color:#5a5352;margin:.65rem 0}
.da-photo-frame canvas{display:block;width:min(100%,calc(48dvh * var(--frame-ratio,1)));height:auto;max-height:48dvh;margin:14px auto;touch-action:none;cursor:grab;background:repeating-conic-gradient(#e4dfda 0% 25%,#faf7f2 0% 50%) 50%/16px 16px}
.da-photo-frame canvas:active{cursor:grabbing}
.da-photo-frame label{font:500 .9rem system-ui}
.da-photo-frame input[type=range]{flex:1;min-width:60px;width:auto;accent-color:#574747}
.da-photo-frame output{width:3.3em;text-align:right}
.da-photo-frame button{border:1px solid #c9c1b9;border-radius:24px;background:#fffaf4;color:#3c3235;padding:9px 17px;cursor:pointer}
.da-photo-frame button[data-close]{font-size:1.35rem;line-height:1;padding:8px 12px}
.da-photo-frame button[data-apply]{background:#34282e;color:white;border-color:#34282e}
#occasionCanvas [data-photo-slot],#occasionCanvas use,#collagePreview svg[data-cell],#collagePreview image[data-subject]{cursor:zoom-in}
#collagePreview image[data-subject]{cursor:grab;touch-action:none}
#collagePreview:has(image[data-subject]){touch-action:none}
