Laser absorption in short-lived metal and nanoplasmas