首の皮一枚(くびのかわいちまい)

Japanese vocabulary

Meaning: still having a very small chance; still having a tiny shred of hope

See it used in real works