Cards that take place in extra time, cards cancelled by the referee during the match, cards shown to non-active players (including substituted players) , cards shown to managerial or coaching staff, or cards shown after the final whistle do not count.