Detect and adapt to client device platform, type, and window orientation.