/* Phone hamburger bar + drawer (mobile-menu.js). Trader <=780px, admin <=700px. */
.m-bar,.m-backdrop{display:none}
@media (max-width:780px){
 body.jr-v2 .m-bar{display:flex;position:fixed;top:0;left:0;right:0;height:56px;z-index:50;align-items:center;justify-content:space-between;padding:0 14px;background:rgba(0,19,25,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(242,195,107,.18)}
 body.jr-v2 .m-brand{display:flex;align-items:center;gap:10px;color:#f8fafa;font-weight:700;font-size:15px;text-decoration:none;letter-spacing:.02em}
 body.jr-v2 .m-brand img{border-radius:50%}
 body.jr-v2 .m-bar .nwl-menu{display:block;width:42px;height:42px;padding:11px;border:1px solid rgba(142,200,192,.3);border-radius:50%;background:#172826;cursor:pointer;flex:none}
 body.jr-v2 .m-bar .nwl-menu span{display:block;width:18px;height:2px;margin:4px 0;background:#f8fafa;border-radius:2px;transition:transform .2s,opacity .2s}
 body.jr-v2.menu-open .m-bar .nwl-menu span:nth-child(1){transform:translateY(6px) rotate(45deg)}
 body.jr-v2.menu-open .m-bar .nwl-menu span:nth-child(2){opacity:0}
 body.jr-v2.menu-open .m-bar .nwl-menu span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
 body.jr-v2 .m-backdrop{display:block;position:fixed;inset:0;z-index:60;background:rgba(0,19,25,.62);opacity:0;pointer-events:none;transition:opacity .2s}
 body.jr-v2.menu-open .m-backdrop{opacity:1;pointer-events:auto}
 body.jr-v2 >aside{position:fixed!important;top:0!important;left:0!important;bottom:0!important;z-index:70;width:min(310px,86%)!important;height:auto!important;max-height:none!important;overflow-y:auto;transform:translateX(-105%);transition:transform .25s ease;padding:18px 16px 28px!important;display:flex!important;flex-direction:column;justify-content:flex-start!important;align-content:flex-start;gap:12px;box-sizing:border-box;background:linear-gradient(180deg,#001319,#001319)!important;border-right:1px solid rgba(242,195,107,.25)!important;border-bottom:0!important}
 body.jr-v2.menu-open >aside{transform:none}
 body.jr-v2{padding-top:56px}
 body.jr-v2 main{margin-left:0!important}
}
@media (max-width:780px){body.jr-v2 header{position:static!important}body.jr-v2>aside nav{display:flex;flex-direction:column;gap:6px}body.jr-v2>aside nav button{width:100%;text-align:left;min-height:44px}}
@media (max-width:700px){
 body.ad-v2 .m-bar{display:flex;position:fixed;top:0;left:0;right:0;height:56px;z-index:50;align-items:center;justify-content:space-between;padding:0 14px;background:rgba(0,19,25,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(242,195,107,.18)}
 body.ad-v2 .m-brand{display:flex;align-items:center;gap:10px;color:#f8fafa;font-weight:700;font-size:15px;text-decoration:none;letter-spacing:.02em}
 body.ad-v2 .m-brand img{border-radius:50%}
 body.ad-v2 .m-bar .nwl-menu{display:block;width:42px;height:42px;padding:11px;border:1px solid rgba(142,200,192,.3);border-radius:50%;background:#172826;cursor:pointer;flex:none}
 body.ad-v2 .m-bar .nwl-menu span{display:block;width:18px;height:2px;margin:4px 0;background:#f8fafa;border-radius:2px;transition:transform .2s,opacity .2s}
 body.ad-v2.menu-open .m-bar .nwl-menu span:nth-child(1){transform:translateY(6px) rotate(45deg)}
 body.ad-v2.menu-open .m-bar .nwl-menu span:nth-child(2){opacity:0}
 body.ad-v2.menu-open .m-bar .nwl-menu span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
 body.ad-v2 .m-backdrop{display:block;position:fixed;inset:0;z-index:60;background:rgba(0,19,25,.62);opacity:0;pointer-events:none;transition:opacity .2s}
 body.ad-v2.menu-open .m-backdrop{opacity:1;pointer-events:auto}
 body.ad-v2 .admin-sidebar{position:fixed!important;top:0!important;left:0!important;bottom:0!important;z-index:70;width:min(310px,86%)!important;height:auto!important;max-height:none!important;overflow-y:auto;transform:translateX(-105%);transition:transform .25s ease;padding:18px 16px 28px!important;display:flex!important;flex-direction:column;justify-content:flex-start!important;align-content:flex-start;gap:12px;box-sizing:border-box;background:linear-gradient(180deg,#001319,#001319)!important;border-right:1px solid rgba(242,195,107,.25)!important;border-bottom:0!important}
 body.ad-v2.menu-open .admin-sidebar{transform:none}
 body.ad-v2{padding-top:56px}
 body.ad-v2 .admin-main{margin-left:0!important}
}
@media (max-width:700px){body.ad-v2 .admin-sidebar nav{display:flex!important;flex-direction:column;overflow:visible!important;margin-top:8px;gap:6px}body.ad-v2 .admin-sidebar nav a{min-height:44px;font-size:14px}body.ad-v2 .admin-sidebar .sidebar-caption,body.ad-v2 .admin-sidebar .sidebar-note,body.ad-v2 .admin-sidebar .sidebar-return{display:block!important}body.ad-v2.admin-dashboard .admin-header{margin-left:0!important}html{scroll-padding-top:70px}}
