FR 946 then FR 182 at Vienna
Krakow → Vienna → Sofia
Timetable, Vienna time
13:20FR 946 from Krakow at the gate
11:40FR 182 to Sofia leaves the gate
22 h 20 apart on the timetable, overnight
FR 182 leaves 22 h 20 after FR 946 arrives on the timetable: more than half a day, so not a connection we count.