/* Same stage, controls and breakpoints as product-gallery; scoped to publish previews. */
#publish-form .release-photo-list .release-preview-open{display:block;width:fit-content;min-height:0;padding:0;border:0;border-radius:9px;background:transparent;line-height:0;overflow:hidden;box-shadow:none}
#publish-form .release-photo-list .release-preview-open img{display:block}
#publish-form .release-photo-list .release-preview-open:focus-visible{outline:2px solid #9e8700;outline-offset:3px}
.publish-image-dialog{box-sizing:border-box;width:min(1100px,96vw);height:min(850px,94dvh);max-width:96vw;max-height:94dvh;padding:0;border:0;border-radius:12px;background:#151515;color:#fff;overflow:hidden}.publish-image-dialog[open]{display:flex;flex-direction:column}.publish-image-dialog::backdrop{background:rgba(0,0,0,.82)}.publish-image-dialog>header,.publish-image-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;flex-shrink:0;position:static;min-height:0;height:auto;background:transparent;border-radius:0;border:0;margin:0;max-width:none;width:auto;flex-wrap:nowrap;color:#fff;font-size:14px;text-align:initial;box-shadow:none}.publish-image-dialog button{background:#ffe92d;color:#222;border:0;border-radius:22px;min-height:44px;min-width:88px;padding:10px 16px;cursor:pointer;font-size:14px}.publish-image-dialog button:disabled{background:#333;color:#999;cursor:default}.publish-image-dialog button:focus-visible{outline:3px solid #fff;outline-offset:2px}.publish-image-stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;min-width:0;padding:8px;overflow:auto}.publish-image-stage img{display:block;max-width:100%;max-height:100%;object-fit:contain}.publish-image-stage p{padding:20px;text-align:center;color:#ddd}.publish-image-dialog [data-name]{flex-shrink:0;margin:0;padding:0 18px;color:#ddd;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.publish-image-dialog [data-hint]{font-size:12px;color:#bbb}@media(max-width:700px){.publish-image-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}.publish-image-dialog>header{padding-top:max(12px,env(safe-area-inset-top))}.publish-image-dialog>footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}.publish-image-dialog [data-hint]{display:none}.publish-image-dialog>header,.publish-image-dialog>footer{padding-left:14px;padding-right:14px}}
/* APK fui-upload: 192rpx square, 18rpx radius, three columns; plus 80rpx #979797. */
#publish-form .release-photos .release-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:308px;max-width:100%;padding:12px 0;align-items:start}
#publish-form .release-photos .release-photo-grid .release-photo-list{display:contents;padding:0}
#publish-form .release-photos .release-photo-grid .release-photo-list>div{min-width:0;width:100%;margin:0}
#publish-form .release-photos .release-photo-grid .release-preview-open{width:100%;aspect-ratio:1;flex-shrink:0}
#publish-form .release-photos .release-photo-grid .release-preview-open img{width:100%;height:100%;aspect-ratio:1;object-fit:cover;border-radius:9px}
#publish-form .release-photos .release-photo-grid .release-photo-unavailable{display:flex;align-items:center;justify-content:center;padding:8px;box-sizing:border-box;line-height:1.5;background:#f3f4f3;color:#666;font-size:12px;text-align:center}
#publish-form .release-photos .release-photo-grid .release-photo-picker{box-sizing:border-box;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:0;aspect-ratio:1;width:100%;min-height:0;padding:6px!important;margin:0;border:0;border-radius:9px;background:#f5f5f5;color:#979797;font-size:12px;line-height:1.4;font-weight:400}
#publish-form .release-photos .release-photo-grid .release-photo-picker[hidden]{display:none!important}
#publish-form .release-photos .release-photo-plus{display:block;font-family:Arial,sans-serif;font-size:40px;line-height:44px;font-weight:300;color:#979797}
#publish-form .release-photos input[type=file][hidden]{display:none!important}
#publish-form .release-photos .release-photo-picker:focus-visible{outline:2px solid #9e8700;outline-offset:3px}
#publish-form .release-photos .release-photo-list small{font-size:11px;line-height:1.4;color:#888;text-align:center;overflow-wrap:anywhere}
@media(min-width:1100px){#publish-form .release-photos .release-photo-grid{width:356px}}
