.PosterPhotoEditor-module__sOjC-W__backdrop{z-index:80;background:#0f17209e;place-items:center;padding:clamp(10px,3vw,18px);display:grid;position:fixed;inset:0}.PosterPhotoEditor-module__sOjC-W__dialog{border:1px solid var(--app-border);border-radius:calc(var(--app-radius) + 4px);background:var(--app-panel);width:min(760px,100%);max-height:calc(100dvh - clamp(20px,6vw,36px));color:var(--app-ink);flex-direction:column;gap:clamp(10px,2.5vw,16px);padding:clamp(12px,3.5vw,20px);display:flex;overflow-y:auto;box-shadow:0 22px 48px #17202a38}.PosterPhotoEditor-module__sOjC-W__heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.PosterPhotoEditor-module__sOjC-W__heading h2,.PosterPhotoEditor-module__sOjC-W__heading p{margin:0}.PosterPhotoEditor-module__sOjC-W__heading h2{color:var(--app-ink);font-size:clamp(18px,4.5vw,22px);font-weight:var(--app-weight-bold);line-height:1.15}.PosterPhotoEditor-module__sOjC-W__heading p{color:var(--app-ink-soft);font-size:clamp(12px,3.4vw,14px);font-weight:var(--app-weight-medium);margin-top:5px;line-height:1.4}.PosterPhotoEditor-module__sOjC-W__heading button{border:1px solid var(--app-border);border-radius:var(--app-radius);background:var(--app-panel-soft);min-width:44px;min-height:44px;color:var(--app-ink);flex:0 0 44px;place-items:center;transition:border-color .16s,background .16s;display:grid}.PosterPhotoEditor-module__sOjC-W__heading button:hover{border-color:var(--app-border-strong);background:var(--app-page-deep)}.PosterPhotoEditor-module__sOjC-W__canvasFrame{justify-content:center;align-items:center;width:100%;min-height:180px;display:flex;overflow:hidden}.PosterPhotoEditor-module__sOjC-W__cropStage{width:min(100%, 520px, calc(min(56dvh, 660px) * var(--crop-aspect-ratio)));border:1px solid var(--app-border);border-radius:var(--app-radius);background:#25313d;max-height:min(56dvh,660px);display:block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff29}.PosterPhotoEditor-module__sOjC-W__cropStage:before{content:"";pointer-events:none;background:#00000014;position:absolute;inset:0}.PosterPhotoEditor-module__sOjC-W__canvas{pointer-events:none;touch-action:none;width:100%;height:100%;display:block;position:absolute;inset:0}.PosterPhotoEditor-module__sOjC-W__cropSelection{cursor:grab;touch-action:none;border:2px solid #fff;position:absolute;box-shadow:0 0 0 1px #00000038,0 12px 30px #0000002e,0 0 0 9999px #25313dad}.PosterPhotoEditor-module__sOjC-W__cropSelection:active{cursor:grabbing}.PosterPhotoEditor-module__sOjC-W__cropHandle{background:#fff;width:8px;height:8px;position:absolute;box-shadow:0 0 0 1px #00000047}.PosterPhotoEditor-module__sOjC-W__cropHandleTopLeft{cursor:nwse-resize;top:-5px;left:-5px}.PosterPhotoEditor-module__sOjC-W__cropHandleTop{cursor:ns-resize;top:-5px;left:50%;transform:translate(-50%)}.PosterPhotoEditor-module__sOjC-W__cropHandleTopRight{cursor:nesw-resize;top:-5px;right:-5px}.PosterPhotoEditor-module__sOjC-W__cropHandleRight{cursor:ew-resize;top:50%;right:-5px;transform:translateY(-50%)}.PosterPhotoEditor-module__sOjC-W__cropHandleBottomRight{cursor:nwse-resize;bottom:-5px;right:-5px}.PosterPhotoEditor-module__sOjC-W__cropHandleBottom{cursor:ns-resize;bottom:-5px;left:50%;transform:translate(-50%)}.PosterPhotoEditor-module__sOjC-W__cropHandleBottomLeft{cursor:nesw-resize;bottom:-5px;left:-5px}.PosterPhotoEditor-module__sOjC-W__cropHandleLeft{cursor:ew-resize;top:50%;left:-5px;transform:translateY(-50%)}.PosterPhotoEditor-module__sOjC-W__toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.PosterPhotoEditor-module__sOjC-W__toolbar button{border:1px solid var(--app-border);border-radius:var(--app-radius);background:var(--app-panel);min-width:0;min-height:46px;color:var(--app-ink);font-size:clamp(12px,3.3vw,14px);font-weight:var(--app-weight-semibold);text-align:center;white-space:nowrap;justify-content:center;align-items:center;gap:6px;padding:0 clamp(6px,2vw,14px);line-height:1.15;display:inline-flex}.PosterPhotoEditor-module__sOjC-W__toolbar button:hover{border-color:color-mix(in srgb, var(--primary) 46%, var(--app-border));background:color-mix(in srgb, var(--primary) 8%, white)}.PosterPhotoEditor-module__sOjC-W__toolbar button svg{color:var(--app-brand-green-dark);flex:none}.PosterPhotoEditor-module__sOjC-W__toolbar button span{min-width:0}.PosterPhotoEditor-module__sOjC-W__actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.PosterPhotoEditor-module__sOjC-W__actions button{border-radius:var(--app-radius);border:1px solid var(--app-border);background:var(--app-panel);min-height:48px;color:var(--app-ink);font-size:14px;font-weight:var(--app-weight-semibold);padding:0 16px}.PosterPhotoEditor-module__sOjC-W__actions .PosterPhotoEditor-module__sOjC-W__save{border-color:var(--primary);background:var(--primary);color:#fff}.PosterPhotoEditor-module__sOjC-W__actions .PosterPhotoEditor-module__sOjC-W__save:hover:not(:disabled){border-color:var(--app-brand-green-dark);background:var(--app-brand-green-dark)}.PosterPhotoEditor-module__sOjC-W__actions button:disabled{cursor:not-allowed;opacity:.58}.PosterPhotoEditor-module__sOjC-W__busy{color:var(--app-muted);font-size:13px;font-weight:var(--app-weight-semibold);flex:130px;align-items:center;display:flex}.PosterPhotoEditor-module__sOjC-W__saveError{border-radius:var(--app-radius);color:#b91c1c;font-size:13px;font-weight:var(--app-weight-semibold);background:#fef2f2;margin:0;padding:10px 12px;line-height:1.4}@media (max-width:430px){.PosterPhotoEditor-module__sOjC-W__toolbar button{flex-direction:column;gap:2px;min-height:56px;padding-inline:4px}.PosterPhotoEditor-module__sOjC-W__actions{grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);display:grid}.PosterPhotoEditor-module__sOjC-W__actions .PosterPhotoEditor-module__sOjC-W__busy{grid-column:1/-1}.PosterPhotoEditor-module__sOjC-W__actions button{padding-inline:8px}}@media (min-width:640px){.PosterPhotoEditor-module__sOjC-W__toolbar{grid-template-columns:auto auto}}
