A bead constrained to the curve y = h(x) has the Lagrangian equation of motion
m(1+h'^2) x'' + m h' h'' x'^2 + m g h' = -c x'(1+h'^2), i.e. x'' = -(g h' + h' h'' x'^2)/(1+h'^2) - (c/m) x'. Speed along the track is v = x' sqrt(1+h'^2).
Energy budget: KE = m v^2/2, PE = m g (h - h_min), heat Q = integral c v^2 dt, and KE + PE + Q = E0 at all times. With c = 0 the sum KE+PE is itself constant.
Small oscillations in a bowl h = x^2/2 have period T = 2 pi / sqrt(g), independent of mass and of amplitude to first order. A different planet changes g, hence the period and the potential energy at the same height, but not the bookkeeping.
Simplifications: point mass sliding (no rolling), viscous drag proportional to speed, perfectly elastic end stops, no air or sound radiation. "Universal" here is the honest physical meaning: one conserved total that only changes form.