Hi
When we use 'mine' in a sentence, do we select masculine based on what it is referred to or based on the gender of 'I'.
For example, if I am a woman and I want to say "The elephant is mine." which one is correct?
El elefante es mío
or
El elefante es mía
Please note in the above example the speaker is female.
Thanks