Sea legs

Webster's Dictionary of the English Language

·- Legs able to maintain their possessor upright in stormy weather at sea, that is, ability stand or walk steadily on deck when a vessel is rolling or pitching in a rough sea.