/* Fix76: compact mobile adventure landing; do not rewrite embedded game logic. */
@media(max-width:720px) and (orientation:portrait){
 body:has(#game:not(.hidden)) #safeR10Bottom{display:none!important}
 body:has(#game:not(.hidden)) #app>header.top{display:none!important}
 body:has(#game:not(.hidden)) #game:not(.hidden):not(.r42AdventurePage){
  width:100vw!important;max-width:100vw!important;height:100dvh!important;
  max-height:100dvh!important;padding:0 6px 4px!important;margin:0!important;overflow:hidden!important;
  display:flex!important;flex-direction:column!important;min-height:0!important;
 }
 body:has(#game:not(.hidden)) #game:not(.hidden)>.head{
  flex:0 0 48px!important;min-height:48px!important;max-height:48px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;
  background:#fffaf1!important;margin:0 0 4px!important;padding:3px 7px!important;
  border-radius:10px!important;gap:6px!important;
 }
 body:has(#game:not(.hidden)) #game:not(.hidden)>.head small{display:none!important}
 body:has(#game:not(.hidden)) #game:not(.hidden)>.head h2{
  font-size:clamp(16px,5vw,21px)!important;line-height:1.1!important;margin:0!important;
 }
 body:has(#game:not(.hidden)) #game:not(.hidden)>.head button{
  min-height:38px!important;padding:5px 9px!important;border-radius:10px!important;font-size:12px!important;
 }
 body:has(#game:not(.hidden)) #game:not(.hidden)>.gamewrap{
  flex:1 1 0!important;min-height:0!important;max-height:none!important;height:auto!important;
  overflow:hidden!important;padding:5px!important;margin:0!important;
 }
 body:has(#game:not(.hidden)) #game:not(.hidden) .v17OriginalShell{
  min-height:0!important;height:100%!important;max-height:100%!important;overflow:hidden!important;
 }
 body:has(#game:not(.hidden)) #game:not(.hidden) .v17SourceTop{padding:3px!important;min-height:0!important;gap:3px!important}
 body:has(#game:not(.hidden)) #game:not(.hidden) .v17SourceTop small{display:none!important}
}
