I use a solution proposed by h_classen:
https://forums.tumult.com/t/width-high-ratio-based-document-layouts/12651/2
There is one landscape layout and one portrait layout in the document that works on any device. I just need to detect moblie browser and make invisible/remove fullscreen button no matter which layout is used. The layout has nothing to do with fullscreen button in this case.