tightrope
noun [ C ]
uk/ˈtaɪtrəʊp/ uswalk/tread a tightrope
to consider carefully the decisions or risks that you take in order to deal successfully with a difficult situation:
Increasing numbers of employers are having to walk a tightrope between immigration laws and laws relating to discrimination.