Children or young adult historical fiction book, set during late 1800s or early 1900s. Girl is on cruise ship with silly female relative who believes in spiritualism, meets stage magician (Anton?) who smokes something distinctive (briar root? cheroot?) and teaches her how to do magic tricks. Author emphasizes logic over belief. Mystery involved? Published between 1950 and 2000, probably late 20th century.
OP here: Found this one too, after a lot of searching—it’s Floating Illusions, by Chelsea Quinn Yarbro.