City edge out Adelaide in tense ALW clash