public static bool RequiresHPGuard(this PhaseType st) => st.IsLenient() || st.IsCard();
public static bool IsPattern(this PhaseType st) => st.IsCard() || st.IsStage();