.image-save-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:90vh;max-height:90dvh;overflow:auto;padding:22px;border:1px solid #a6114f;border-radius:18px;background:#fff;color:#1d2745;box-shadow:0 20px 80px #0005;overscroll-behavior:contain}
.image-save-dialog::backdrop{background:#1d274559}
.image-save-dialog h2{margin:0 0 14px;font-size:24px}
.image-save-message{font-size:15px;line-height:1.65;overflow-wrap:anywhere}
.image-save-preview{display:block;width:100%;height:auto;max-height:48vh;object-fit:contain;margin:14px 0;-webkit-touch-callout:default!important;user-select:auto!important;-webkit-user-select:auto!important;touch-action:auto}
.image-save-dialog.is-saving-image .image-save-preview{max-height:none}
.image-save-actions{position:sticky;bottom:-22px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 0 22px;background:#fff;z-index:1}
.image-save-actions .primary{flex:1}
.image-save-actions button{min-height:48px}
.image-save-file{grid-column:1 / -1;box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 12px;border:2px solid #cc9bb0;border-radius:12px;background:#f50a6c;color:#c598ab;text-decoration:none;text-align:center;font-weight:700;white-space:normal;touch-action:manipulation}
.image-save-file:focus-visible{outline:3px solid #cc9bb0;outline-offset:3px}
.image-save-file-help{margin:10px 0;color:#536572;font-size:13px;line-height:1.6}
@media(max-width:480px){.image-save-dialog{padding:18px}.image-save-actions{bottom:-18px;padding-bottom:18px}}
