Party girl Kirsten Dunst was sprung from her West Coast rehab centre and is back in New York ... and spending time off-set with her All Good Things co-star, Canadian Ryan Gosling, pagesix.com reports.

Dunst, 25 — who reportedly checked into Cirque Lodge in February — was spotted with Gosling at Chrystie Street eatery Freeman’s Saturday afternoon.

“They were definitely acting like they were on a date,” said the fellow diner. “They lingered there for hours and were both dressed kind of shabby.”