.photo-gallery_dialog__uXceO{width:min(1180px,calc(100vw - 24px));max-width:none;height:min(94dvh,900px);max-height:none;padding:0;border:1px solid var(--border);border-radius:6px;color:var(--text);background:var(--bg)}.photo-gallery_dialog__uXceO::backdrop{background:rgb(0 0 0/.72)}.photo-gallery_shell__3Muf_{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.photo-gallery_footer__FvESX,.photo-gallery_header__XZclU{padding:12px 16px;background:var(--surface)}.photo-gallery_header__XZclU{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border)}.photo-gallery_header__XZclU div:first-child{min-width:0;display:flex;gap:12px;align-items:center}.photo-gallery_header__XZclU span{overflow-wrap:anywhere}.photo-gallery_actions__3c8NP,.photo-gallery_zoom__9oK7c{display:flex;align-items:center;gap:8px}.photo-gallery_actions__3c8NP a,.photo-gallery_actions__3c8NP button,.photo-gallery_edit__iuiuD button,.photo-gallery_failure__BAirK button,.photo-gallery_step__2i5JC,.photo-gallery_zoom__9oK7c button{min-height:40px;padding:7px 12px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:inherit;cursor:pointer}.photo-gallery_body__cDKCA{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;min-height:0;background:#111}.photo-gallery_step__2i5JC{margin:4px;font-size:24px;color:#fff;background:#252525;border-color:#555}.photo-gallery_stage__Xod3X{width:100%;height:100%;min-width:0;min-height:0;display:grid;place-items:center;overflow:hidden;touch-action:none}.photo-gallery_stage__Xod3X img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none;touch-action:none;transition:transform .08s linear}.photo-gallery_failure__BAirK{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px;color:#fff;text-align:center}.photo-gallery_footer__FvESX{border-top:1px solid var(--border)}.photo-gallery_footer__FvESX p{margin:8px 0;overflow-wrap:anywhere}.photo-gallery_zoom__9oK7c span{min-width:48px;text-align:center;font-variant-numeric:tabular-nums}.photo-gallery_edit__iuiuD{display:grid;grid-template-columns:minmax(140px,200px) minmax(0,1fr) auto;align-items:end;gap:12px}.photo-gallery_edit__iuiuD label{display:grid;gap:5px}.photo-gallery_edit__iuiuD select,.photo-gallery_edit__iuiuD textarea{width:100%;min-height:40px;padding:8px;color:inherit;background:var(--bg);border:1px solid var(--border);border-radius:4px}.photo-gallery_edit__iuiuD textarea{min-height:58px;resize:vertical}@media (max-width:640px){.photo-gallery_dialog__uXceO{width:100vw;height:100dvh;border:0;border-radius:0}.photo-gallery_footer__FvESX,.photo-gallery_header__XZclU{padding:10px}.photo-gallery_header__XZclU{align-items:flex-start}.photo-gallery_header__XZclU div:first-child{flex-direction:column;align-items:flex-start;gap:2px}.photo-gallery_body__cDKCA{grid-template-columns:36px minmax(0,1fr) 36px}.photo-gallery_step__2i5JC{padding:4px}.photo-gallery_edit__iuiuD{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.photo-gallery_edit__iuiuD label:nth-child(2){grid-column:span 2}.photo-gallery_edit__iuiuD button{grid-column:span 2;width:100%}}