/* Fix-33: the landscape mobile viewport is wider than the portrait breakpoint.
   Keep the embedded adventure full-height after orientation changes, without
   changing its internal canvas/control coordinates or other game screens. */
@media screen and (orientation:landscape) and (max-height:560px) and (max-width:1100px){
 body.r42AdventureMode{overflow:hidden!important;overscroll-behavior:none!important;background:#07162b!important}
 body.r42AdventureMode #app{width:100vw!important;max-width:none!important;height:100dvh!important;min-height:0!important;overflow:hidden!important;margin:0!important}
 #game.r42AdventurePage{position:fixed!important;inset:0!important;z-index:950!important;width:100vw!important;max-width:none!important;height:100dvh!important;min-height:0!important;padding:0!important;margin:0!important;background:#07162b!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
 #game.r42AdventurePage>.head{flex:0 0 43px!important;height:43px!important;min-height:0!important;max-height:43px!important;box-sizing:border-box!important;padding:3px 12px!important;margin:0!important;background:#fffaf1!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
 #game.r42AdventurePage>.head small{display:none!important}
 #game.r42AdventurePage>.head h2{font-size:16px!important;margin:0!important;line-height:1.2!important}
 #game.r42AdventurePage>.head button{min-height:35px!important;padding:4px 12px!important}
 #game.r42AdventurePage .gamewrap{flex:1 1 0!important;min-height:0!important;height:auto!important;width:100%!important;max-width:none!important;overflow:hidden!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important}
 #game.r42AdventurePage.v19Embedded #v19EmbeddedGameHost,#game.r42AdventurePage.v19Embedded #v19EmbeddedGameFrame{display:block!important;box-sizing:border-box!important;width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;border:0!important;border-radius:0!important;margin:0!important;overflow:hidden!important}
 body.r42AdventureMode #safeR10Bottom,body.r42AdventureMode .safeR10Bottom{display:none!important}
}
