.crop-dialog{width:min(980px,calc(100% - 24px));padding:0}.crop-dialog form{padding:20px}.crop-dialog h2{margin-bottom:4px}.crop-dialog>form>p{color:#aab4c2}.crop-stage{position:relative;display:grid;place-items:center;width:100%;max-height:560px;margin:18px auto;overflow:hidden;border:1px solid #334155;border-radius:14px;background:#05080d;touch-action:none;user-select:none;cursor:grab}.crop-stage.dragging{cursor:grabbing}.crop-stage canvas{display:block;max-width:100%;max-height:540px}.crop-mask{position:absolute;pointer-events:none;inset:0}.crop-stage.avatar-mode{width:min(520px,100%);border-radius:50%}.crop-stage.avatar-mode .crop-mask{border:3px solid #9b43f4;border-radius:50%;box-shadow:0 0 0 9999px rgba(0,0,0,.5),inset 0 0 30px #0006}.crop-stage.cover-mode .crop-mask{border:3px solid #9b43f4;box-shadow:inset 0 0 32px #0007}.crop-zoom{display:flex;align-items:center;gap:16px;max-width:720px;margin:16px auto;color:#c7cfda;font-weight:800}.crop-zoom input{flex:1;accent-color:#923fea}.crop-actions{display:flex;justify-content:flex-end;gap:10px}.crop-actions button{padding:12px 20px;border:1px solid #3b4658;border-radius:9px;background:#171e29;color:#fff;font-weight:800}.crop-actions #saveCrop{border:0;background:linear-gradient(100deg,#792ee0,#b13fea)}#cropMessage{min-height:20px;color:#f3a2a2}@media(max-width:600px){.crop-dialog form{padding:12px}.crop-actions button{flex:1}.crop-stage{margin:10px auto}}
