Classification and magic magnetic-field directions for spin-orbit-coupled double quantum dots