Three versions
Lines (base / A / B): 0 / 0 / 0
Merged result
Paste the base version and the two edited copies. Changes made in only one version are applied automatically; a line both versions changed differently is flagged as a conflict with three ways to resolve it.
How the merge is worked out
Each edited version is compared with the base using a longest-common-subsequence line diff (computed here in the browser, no library, no upload), which turns it into a list of changed regions. Regions from A and B that sit in the same part of the base are then compared against each other: identical edits are applied once, edits on only one side are applied automatically, and edits that disagree become conflicts for you to resolve.
Blocks are labelled in words — “from A”, “from B”, “from A and B”, “conflict” — so the meaning never depends on colour alone. The merge updates as you type; conflicts you have resolved are remembered while the page stays open, and clearing the inputs resets them.