It should be that when you repay the loan, you have paid back some extra money, which will be displayed in a negative way on the credit card, and then your available balance will be displayed in a positive way (equivalent to = your credit limit+the amount of excess deposit).
for credit card consumption, if there is overflow deposit in the card, the overflow deposit will be used first, and the credit line will be used normally after the overflow deposit is used up.
if you don't understand, please ask.