Abstract
Soil fungi in mangroves are diverse and crucial for organic matter decomposition and element cycling. However, the drivers influencing network complexity and the stability of fungal communities across different mangrove soil habitats remain unclear. This study investigated the main factors driving the composition, diversity, complexity, and stability of fungal communities in clay loam and sandy soils in mangrove ecosystems. Results showed that Dothideomycetes and Sordariomycetes dominated in clay loam and sandy soils, respectively. Sandy soils exhibited higher alpha diversity than clay loam. Beta diversity analysis revealed significant differences in the fungal community structure between the two soil types. Network analysis demonstrated higher complexity and stability of fungal communities in clay loam than in sandy soil. Spearman's correlation analysis revealed that NH(4)(+)-N and total nitrogen were the main factors affecting complexity and stability in clay loam, respectively. Partial least squares path modeling demonstrated that alpha diversity and soil properties were closely linked to the complexity and stability of fungal communities in clay loam, whereas beta diversity was the primary driver in sandy soil. Our study enhances the understanding of the mechanisms that maintain fungal diversity and community stability in mangrove ecosystems, with important implications for restoring vegetation in degraded areas.