explorador - 3:57 pm on Jul 26, 2013 (gmt 0)
As for the device detection that list is too long. My advice is to focus on the most important or more common on your traffic logs. Actually you can target mobile devices by detecting the "mobile" string, it's almost standard. The rest can easily be targeted using media queries (they have enough power to deal with it).
As for the resolution detection I suggest to use MIN-WIDTH instead of minwidth+maxwidth. If the device is bigger then it will addressed on the next rule, if bigger, on the next, etc.
Still: play around, even the SAME device can show diff results when using diff browser (ej: native vs opera mini).