Climate change has different and sometimes divergent effects on terrestrial and marine food webs, and in coastal ecosystems, these effects are tightly interlinked. Responses of opportunistic coastal predators and scavengers to climate change may thus be complex and potentially highly flexible, and can simultaneously serve as indicators of, and have profound impacts on, lower trophic levels. Gaining mechanistic understanding of these responses is therefore important, but often not feasible due to lack of longterm data from marked individuals. Here, we used a Bayesian integrated population model (IPM) to elucidate the effects of arctic warming and concurrent changes in terrestrial and marine resource availability on population dynamics of the opportunistic arctic fox (Vulpes lagopus) in Svalbard. Joint analysis of four types of data (den survey, age-at-harvest, placental scars, mark-recovery) revealed relatively stable population size and age structure over the last 22 yr (1997-2019) despite rapid environmental change linked to climate warming. This was related to the fact that terrestrial resources (reindeer carcasses, geese) became more abundant while the availability of marine resources (seal pups/carrion) decreased, and was driven by divergent trends in different vital rates (e.g., increased pregnancy rate but decreased pup survival). Balanced contributions of survival vs. reproduction and of immigration vs. local demography further stabilized population size. Our study thus sheds light on the mechanisms underlying population dynamics of opportunistic carnivores exploiting terrestrial and marine resources and suggests that exploitation of resources across different ecosystems can buffer predators against climate change. Additionally, it highlights the large potential of IPMs as tools to understand and predict the effects of environmental change on wildlife populations, even when data on marked individuals are sparse.