/* Same navigation row as the PWA mobile shell on standalone member screens. */
@media (min-width:761px){.cy-site-top{display:none!important}}
@media (max-width:760px){
  .cy-site-top{box-sizing:border-box;position:fixed!important;top:0;right:0;left:0;z-index:1200;width:100%;max-width:760px;margin:0 auto;min-height:calc(67px + env(safe-area-inset-top,0px));padding:calc(7px + env(safe-area-inset-top,0px)) 14px 7px;background:#0b1729;border-bottom:1px solid rgba(255,255,255,.10);direction:rtl;font-family:IRANSansWeb,Tahoma,Arial,sans-serif}
  .cy-site-top *{box-sizing:border-box}
  .cy-site-top .cy-site-header-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center;gap:10px;height:52px;direction:rtl!important}
  .cy-site-top .cy-site-header-row .cym-brand{display:flex!important;align-items:center;justify-self:start;width:160px;min-width:110px;max-width:100%;line-height:0;text-decoration:none;visibility:visible!important;opacity:1!important}
  .cy-site-top .cy-site-header-row .cym-brand img{display:block!important;width:100%!important;height:auto!important;max-width:160px;max-height:52px;object-fit:contain;object-position:right center;border:0;border-radius:0}
  .cy-site-top .cy-site-header-row .cym-brand img[hidden]{display:none!important}
  .cy-site-top .cy-site-brand-fallback:not([hidden]){display:block;color:#ffbf4b;font-size:23px;font-weight:900;line-height:1.4}
  .cy-site-top .cy-site-header-row .cym-actions{display:flex;align-items:center;justify-self:end;gap:6px;direction:ltr}
  .cy-site-top .cym-iconbtn{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:#142238;color:#f7f9fc;text-decoration:none;font-size:24px;font-weight:500;line-height:1;cursor:pointer;list-style:none}
  .cy-site-top summary.cym-iconbtn::-webkit-details-marker{display:none}
  .cy-site-top .cym-account-trigger{overflow:hidden;border-radius:50%}
  .cy-site-top .cym-account-trigger img{display:block;width:32px;height:32px;object-fit:cover;border-radius:50%}
  .cy-site-top .cym-menu-trigger svg{width:22px;height:22px}
  .cy-site-top details{position:relative}
  .cy-site-top details>form,.cy-site-top details>nav{position:absolute;top:calc(100% + 15px);left:0;z-index:1201;min-width:235px;padding:12px;border:1px solid #344761;border-radius:14px;background:#101e32;box-shadow:0 12px 30px rgba(0,0,0,.28)}
  .cy-site-top details>form{display:flex;gap:6px;left:-90px;width:min(330px,calc(100vw - 28px))}
  .cy-site-top details input{min-width:0;flex:1;padding:8px;color:#fff;background:#081526;border:1px solid #344761;border-radius:8px;font:inherit;font-size:13px}
  .cy-site-top details button{padding:8px;color:#0b1729;background:#ffcb65;border:0;border-radius:8px;font:inherit;font-size:11px}
  .cy-site-top details>nav a{display:block;padding:9px 10px;color:#f7f9fc;text-decoration:none;font-size:12px}
  .cy-site-top details>nav ul{padding:0;margin:0;list-style:none}
  .cy-dashboard-stage{padding-top:calc(67px + env(safe-area-inset-top,0px))!important}
  .cy-auth-mobile .cy-auth-stage{padding-top:calc(81px + env(safe-area-inset-top,0px))!important}
  .cy-auth-mobile .cy-auth-brand{display:none!important}
}
