/* v5.26.80: The image and character libraries use their pre-Oct-16 (v5.26.76) card layouts.
   Keep only the later mobile Safari compatibility fixes in this file. */
/* Restore the original Create guidance across portrait and landscape phone sizes. */
@media(max-width:900px) and (max-height:620px) {
  #createView .hero p { display:block!important; font-size:12px;line-height:1.5;margin:10px 0!important; }
}
@media(max-width:720px) {
  #createView .hero p { display:block!important; visibility:visible!important;max-height:none!important; }
  #createView .hero { overflow:visible; }
}
/* Legacy WebKit does not support :has(): match the authenticated shell using an explicit
   class synchronised with the existing Firebase auth lock/unlock functions. */
@media(max-width:720px) {
  html.lumetraAuthenticated,html.lumetraAuthenticated body {
    height:100%!important;overflow:hidden!important;padding-bottom:0!important;margin-bottom:0!important;
  }
  html.lumetraAuthenticated body #creatorApp:not(.authLocked) {
    height:100vh!important;height:100dvh!important;min-height:0!important;overflow:hidden!important;
  }
  html.lumetraAuthenticated body #creatorApp:not(.authLocked) > .page {
    height:calc(100vh - var(--lumetra-quick-height) - var(--lumetra-quick-safe))!important;
    height:calc(100dvh - var(--lumetra-quick-height) - var(--lumetra-quick-safe))!important;
    min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch;
  }
  html:not(.lumetraAuthenticated) body #mobileQuickNav {display:none!important;}
  html.lumetraAuthenticated body #mobileQuickNav {display:grid!important;}
}
