I've done both. Road cycling definitely. I've never had my life flash before my
eyes riding on a black diamond trail. Road biking though? I've had some hair-raising instances where someone didn't see me and made a right turn without stopping at the light and nearly clipped me or something similar.