The physics keeping Star Wars' Cloud City afloat

And why it has a limited lifespan in the sky.