Tailoring adaptive bioresorbable Mg-based scaffolds with directed plasma nanosynthesis for enhanced osseointegration and tunable resorption