If you’re concentrating on a spell, do you need to maintain line of sight with the spell’s target or the spell’s effect?

You don’t need to be within line of sight or within range to maintain concentration on a spell, unless a spell’s description or other game feature says otherwise.