/* RC1.76 — User access/PWA safe-area/logout hardening */
@media (max-width:768px){
  html.standalone-app{--sjy-safe-top:env(safe-area-inset-top,0px);--magic-mobile-header-h:calc(58px + var(--sjy-safe-top));}
  html.standalone-app .topbar{padding-top:var(--sjy-safe-top)!important;min-height:var(--magic-mobile-header-h)!important;}
  html.standalone-app .topbar .shell{min-height:58px!important;height:58px!important;padding-top:0!important;padding-bottom:0!important;align-items:center!important;}
  html.standalone-app #sjTopBannerHost{margin-top:var(--magic-mobile-header-h)!important;}
  html.standalone-app #sjTopBannerHost:empty + .hero{padding-top:calc(90px + var(--sjy-safe-top))!important;}
  html.standalone-app .sj-banner.sticky{top:var(--magic-mobile-header-h)!important;}
  html.standalone-app .mobile-menu-drawer{padding-top:calc(var(--magic-mobile-header-h) + 22px)!important;}
  .mobile-menu-btn{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;position:relative!important;z-index:1405!important;touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important;}
  .top-actions{position:relative!important;z-index:1404!important;overflow:visible!important;}
}
.mobile-menu-list .sjy-user-logout{margin-top:9px!important;padding-top:11px!important;border-top:1px solid rgba(255,255,255,.09)!important;color:#ffb4bd!important;}
.mobile-menu-list .sjy-user-logout i{background:rgba(239,68,68,.12)!important;}
.sjy-access-lock-note{margin:0 0 14px;padding:12px 14px;border:1px solid rgba(245,158,11,.28);border-radius:13px;background:rgba(245,158,11,.08);color:#f6d28d;font-size:13px;line-height:1.55;font-weight:700;}

@media(max-width:640px){html.standalone-app #sjTopBannerHost:empty + .hero{padding-top:calc(74px + var(--sjy-safe-top))!important;}}
