/* Museum TN · Mobile 3D legibility fix · v8.8.16.98 */
@media (max-width:720px), (pointer:coarse) {
  /* Clear 2-row visual hierarchy. Avoid overlap with gallery toolbar. */
  #mtnu-bar{left:max(.45rem,env(safe-area-inset-left));right:max(.45rem,env(safe-area-inset-right));gap:.35rem;align-items:center}
  #mtnu-menu-toggle{flex:1 1 auto;min-width:0;max-width:48vw!important;min-height:46px}
  #mtnu-menu-toggle span{max-width:33vw!important}
  .mtnu-quick-exits{flex:0 1 auto;gap:.3rem;justify-content:flex-end}
  .mtnu-quick-exits a{font-size:.77rem!important;line-height:1.15;min-height:44px;max-width:25vw!important;padding:.36rem .4rem}
  #mtnu-views{top:calc(max(.6rem,env(safe-area-inset-top)) + 60px)!important;left:max(.5rem,env(safe-area-inset-left))!important;flex-direction:row!important;gap:3px!important;border-radius:12px!important}
  #mtnu-views button{font-size:.72rem!important;min-height:54px!important;width:69px!important}
  #mtnu-views #mtnu-full{border-top:0!important;border-left:1px solid rgba(255,255,255,.18)!important;border-radius:0 9px 9px 0!important;margin:0 0 0 2px!important;min-height:54px!important}
  #mtnu-toast{max-width:calc(100vw - 1.1rem);font-size:.94rem;line-height:1.45}
  /* Reading signs must not depend on pixel density of the WebGL texture. */
  .mtnu-label{font-size:.84rem!important;max-width:11.5rem!important;min-height:38px;line-height:1.25!important}
}
@media (max-width:365px){
  #mtnu-menu-toggle{max-width:42vw!important}
  .mtnu-quick-exits a{font-size:.7rem!important;max-width:26vw!important}
}
