This is the relevant section:
"If you own your home, it may be counted as capital 12 weeks after you move into a residential care or nursing home on a permanent basis. However, your home won't be counted as capital if any of the following people still live there:
your husband, wife, partner or civil partner
a close relative who is 60 or over, or incapacitated
a close relative under the age of 16 who you're legally liable to support
your ex-husband, ex-wife, ex-civil partner or ex-partner if they are a lone parent."
Because you are young and not incapacitated, you do not count under the 2nd section above. So you would be made homeless if your gran goes into a home permanently - you would become homeless either after 12 weeks' stay, or after she dies (if she chooses to delay payment till after death).
If I were you I would plan that you will not be able to stay on in the house if she needs to go into a care home.
You would inherit any capital from the bungalow that had not been spent on care when she dies.
The only way you could inherit the bungalow is if she is cared for at home. Any outside care that needed to be brought in at home would have to be paid for from her pension.
The important thing is that she should receive all the care she needs, and you will probably need advice from Social Services as time goes on, even if she stays at home.
You also need advice from her doctor so that a proper diagnosis can be made and any treatment or help with care (e.g. day hospital to give you and your wife a break) can be put in place.
Even though you have a power of attorney, the bungalow is in her name and is her asset and the LA is entitled to count this as capital for paying for care, wherever it takes place.