/* Enlarges the already loaded protected IMG; no second image or media request. */
img[data-creation-image-open] {cursor:zoom-in;touch-action:manipulation;}
img[data-creation-image-open]:focus-visible {outline:2px solid #d5bcfa;outline-offset:3px;}
.creation-image-preview-placeholder {display:block;grid-column:1/-1;min-width:0;width:100%;pointer-events:none;}
dialog.creation-image-preview {box-sizing:border-box;position:fixed;inset:0;z-index:10000;display:block;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#090c12f5;color:#edf1f5;overflow:hidden;overscroll-behavior:contain;}
dialog.creation-image-preview:not([open]) {display:none;}
dialog.creation-image-preview::backdrop {background:#05070be6;}
.creation-image-preview-title {position:absolute;top:calc(20px + env(safe-area-inset-top,0px));left:20px;right:calc(80px + env(safe-area-inset-right,0px));display:block;margin:0;overflow:hidden;font-size:13px;line-height:24px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;}
.creation-image-preview-close {box-sizing:border-box;position:absolute;top:calc(10px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px));z-index:1;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:1px solid #ffffff40;border-radius:50%;background:#232832;color:#fff;line-height:1;cursor:pointer;touch-action:manipulation;}
.creation-image-preview-close>svg {display:block;width:22px;height:22px;margin:0;pointer-events:none;}
.creation-image-preview-close:focus-visible {outline:2px solid #d5bcfa;outline-offset:3px;}
.creation-image-preview-stage {position:absolute;inset:calc(66px + env(safe-area-inset-top,0px)) calc(16px + env(safe-area-inset-right,0px)) calc(20px + env(safe-area-inset-bottom,0px)) calc(16px + env(safe-area-inset-left,0px));display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden;overscroll-behavior:contain;touch-action:none;}
.creation-image-preview-stage>img[data-creation-image-expanded] {display:block;flex:0 1 auto;min-width:0;width:auto!important;max-width:100%!important;height:auto!important;max-height:100%!important;margin:0!important;padding:0;border:0;border-radius:0;object-fit:contain;object-position:center;box-shadow:none;background:transparent;cursor:default;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;}
.creation-image-preview-stage[data-image-zoomed=true]>img {cursor:grab;}
.creation-image-preview-stage[data-image-dragging=true]>img {cursor:grabbing;}
@media(forced-colors:active) {.creation-image-preview-close {background:Canvas;color:CanvasText;border-color:ButtonText;}}
