na-adjective, noun
Describes a direction or orientation to the side; often used in literary or formal contexts. The 'wickedness' and 'unreasonable' glosses are rare and archaic; they are not the primary modern meaning.
風で木が横様に倒れた。
The tree fell sideways due to the wind.
彼は横様に一瞥をくれた。
He gave a sideways glance.
Search-only kanji form; not a standard spelling.
Compound of 横 (yoko, 'side') and 様 (sama, 'state' or 'appearance'), with rendaku voicing to ざま. The exact historical derivation is uncertain, but the word has been used since classical Japanese.