1.adjectival nouns or quasi-adjectives (keiyodoshi); nouns which may take the genitive case particle 'no'
worst
2.adjectival nouns or quasi-adjectives (keiyodoshi); interjection (kandoushi)
horrible; horrid; awful; terrible
3.adverb (fukushi)
in the worst case; if worst comes to worst