Crypto Japanese Twilight Cave
Rules:
Place the numbers from 1 to 9 exactly once in every row and column.
Shade some cells such that all unshaded cells are orthogonally connected, and all orthogonally connected groups of shaded cells touch the edge of the grid.
Clues outside the grid to the top and left indicate the sums of connected groups of either shaded or unshaded numbers in the respective row or column, in order, where numbers in cells with the opposite shading serve as delimiters between groups. All the columns are for one of either shaded or unshaded, and all of the rows are for whichever type of shading the columns is not.
The letters A to G replace numbers from 0 to 9, and no two letters may replace the same number. A question mark can be any number from 0 to 9, and for all clues, none may have a leading zero.
Twilight Cave:
If a cell with a circle is unshaded, the number placed indicates the total number of unshaded cells seen in all four orthogonal directions, including itself, where shaded cells obstruct vision. If a cell with a circle is shaded, then number placed indicates the size of the orthogonally connected shaded region that cell belongs to.