Population size shapes trade-off dilution and adaptation to a marginal niche unconstrained by sympatric habitual conditions