I was wondering what would be the proper chess etiquette in a situation where the opponent is up a lot of material but is down on time. I had a game recently lichess.org/qHHGVZYy where my opponent was +10 up in material, but only had 18 seconds of time left, while I had 45 seconds. Essentially I knew the position was losing for me, but I also knew that if I kept defending fast enough, I could possibly win on time, which I eventually did.
I said good game, but I am left wondering whether I played with a good etiquette there. I feel bad that my opponent, who showed varying degrees of dominance throughout the game, only lost because of time. Because I felt they deserved the win, should I have resigned out of respect and appreciation to my opponent?
What's the proper etiquette in a situation like this? It doesn't feel right to try to keep playing a hopeless/losing position in hopes that you might win on time. But at the same time I understand that time control is part of the game and if we are supposed to resign in a more or less clearly lost position, even if our opponent has significantly less time left, then time control can lose its meaning to some extend.
Maybe the best of both worlds for someone in the situation I had would be to offer a draw and if the draw isn't accepted then you have the permission to try to keep winning on time in a lost position?
Many thanks if anyone can help!