The Cross-Browser Website - How Compatible Should It Be with the Advent of Mobile Web?

Cross-browser compatibility is one of the key requirements to modern websites. But there are 50+ browsers now. Many of them treat HTML and CSS standards differently. So, how to stay within reasonable budget and wisely concentrate efforts when converting designs into cross-browser HTML/CSS code?