Modified Intersection Puzzle

This is a slightly modified version of the Intersection Puzzle introduced by user477343 here.

In this case, you are given a $$7 \times 8$$ grid with circles and boxes provided in some of the cells.

The aim is to construct a set of rectilinear paths inside the grid with the following rules:

Standard rules

1. Paths must consist of horizontal and vertical lines only. For any cell not containing a circle, a path must enter each cell it passes through from the centre of one of its four sides and exit from a different side. (like in Masyu)
2. All paths must begin at a circle and end at a circle but no path can begin and end at the same circle.
3. Each cell of the grid must contain a segment of some path. Cells which are originally empty must contain exactly one path segment.
4. No path may intersect with itself or another path with the exception of intersection in cells which contain boxes.
5. Each cell with a box must contain a single path intersection with one path segment passing through horizontally and the other passing through vertically (a crossover).
6. The grid is to be treated as a torus. This means that a path may exit a cell at the edge of the grid and "wrap around", continuing in the cell at the end of the row or column, as appropriate. The only exception to this rule is that a path may not wrap around when either of the edge cells contains a circle.

1. Each circle must either have 2 or 3 paths protruding from it.
2. For any two circles there is at most one path connecting them.

If any of those rules are unclear, please refer to the solutions of the original puzzle to get an idea of what paths should look like. Users familiar with Flow Free: Bridges or Numberlink may find it easier to think of this as a modified version of those puzzles.

Given all those rules, here is the puzzle

Under the full rule set above, this has a unique solution.
Can you determine it?

• Yay! Oh, and thanks for the mention in your post! +1 :) Apr 18, 2019 at 13:18
• Regarding the two boxes diagonally adjacent to each other, how would that work? If two lines intersect the top left box of the pair, then if the same happens for the right bottom box, wouldn't that imply that both sets of lines intersect at at least one of the cells orthogonally adjacent to both the boxes? (And how did you verify there is a unique solution? That's cool!) Apr 18, 2019 at 13:32
• @user477343 You're beginning to get into the logic now I think. So the lines will meet in the orthogonally adjacent cells as you said and, since intersections of paths are prohibited in these cells, these lines must belong to the same path. Does that make sense? Apr 18, 2019 at 13:38
• Oh, wait, I just needed to be a little more creative ;) Apr 18, 2019 at 13:39