If a girl is not picking up your calls before going to bed, it's essential to be respectful and understanding of her boundaries and personal space. Instead of persistently trying to call her, it's better to send a considerate and polite message. Here's an example of a message you could send:
"Hey [Her Name], I noticed you might be busy or resting right now. I just wanted to say goodnight and let you know that I'm thinking of you. If you're available and want to talk, feel free to reach out. Otherwise, have a great night and sweet dreams. Take care."
This message conveys your thoughts in a friendly manner while also acknowledging that she might be occupied or not in the mood to talk. It leaves the decision to respond or not entirely up to her, respecting her boundaries while showing that you care about her. Remember that everyone has different preferences and schedules, and it's crucial to be considerate of that. If she doesn't respond immediately, give her space and avoid being pushy or demanding. Patience and understanding are essential in any relationship.