US consumer confidence rebounds after five straight months of declines amid tariff anxiety