In the perilous world of cephalopod romance, male blue-lined octopuses have evolved a shocking strategy to survive mating.