Edit the following Python code to implement case-insensitivity and replace "word" with a user-defined variable.
word = 'SUPER'

if word == 'super' or word == 'SUPER':
 print('Object found')
word = input('Enter word: ')

if word.lower() == 'super':
 print('Object found')