/* الشريط العلوي الموحّد لصفحات YOUR GAME وEVENTS وجيم مافيا: نفس مقاسات ولون شريط الرئيسية،
   والأزرار الخاصة بكل لعبة بس بتتغيّر */
html body header.top.jhd{position:sticky!important;top:0!important;z-index:40!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:clamp(18px,2.4vw,40px)!important;height:clamp(81px,6.74vw,150px)!important;padding:0 clamp(16px,2.4vw,40px)!important;margin:0!important;
  background:#f1f1f1!important;color:#1F1B16!important;border:0!important;border-bottom:5px solid transparent!important;
  border-image:linear-gradient(90deg,#e8590c,#f39c12,#fbc14f) 1!important;box-shadow:none!important;box-sizing:border-box!important;font-family:Cairo,Tahoma,sans-serif!important}
html body header.top.jhd>a:first-child{display:flex!important;align-items:center!important;flex:none!important;gap:10px!important;text-decoration:none!important;color:#1F1B16!important}
html body header.top.jhd>a:first-child img{height:clamp(52px,4.58vw,100px)!important;width:auto!important;display:block!important}
html body header.top.jhd>a:first-child span{display:none!important}
html body header.top.jhd nav{flex:1!important;display:flex!important;align-items:center!important;gap:clamp(16px,3vw,44px)!important;flex-wrap:nowrap!important;font-weight:600!important;min-width:0}
html body header.top.jhd nav a{font:600 clamp(15px,calc(1.46vw + 1px),32px)/1.2 Cairo,Tahoma,sans-serif!important;color:#1F1B16!important;text-decoration:none!important;white-space:nowrap}
html body header.top.jhd nav a:hover{text-decoration:underline!important;text-underline-offset:7px}
html body header.top.jhd nav .jgo{margin-inline-start:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:clamp(40px,calc(1.667vw + 18px),60px)!important;
  padding:0 clamp(16px,1.6vw,26px)!important;border-radius:999px!important;background:#16a34a!important;color:#fff!important;font:600 clamp(12px,1vw,16px)/1 Cairo,Tahoma,sans-serif!important;text-decoration:none!important;border:0!important;box-shadow:none!important}
html body header.top.jhd nav .jgo:hover{text-decoration:none!important;filter:brightness(1.05)}
html body header.top.jhd .fachip{display:inline-flex!important}
@media(max-width:700px){html body header.top.jhd nav a:not(.jgo){display:none!important}}
html body header.top.jhd .fabtn{background:#fff!important;color:#1F1B16!important;border:0!important;border-radius:999px!important;height:clamp(40px,calc(1.667vw + 18px),60px)!important;padding:0 clamp(16px,1.6vw,24px)!important;font:600 clamp(12px,1vw,16px)/1 Cairo,Tahoma,sans-serif!important;box-shadow:none!important;cursor:pointer}
/* الاسم والرصيد وصورة الحساب: نفس شكل الرئيسية */
html body header.top.jhd .fachip{gap:clamp(10px,1vw,18px)!important;align-items:center!important;font-family:Cairo,Tahoma,sans-serif!important}
html body header.top.jhd .faid{align-self:center!important;display:inline-flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;min-width:0;margin:0!important}
html body header.top.jhd .faid .faname{display:block!important;font:700 clamp(.9rem,1.1vw,1.2rem)/1.15 Cairo,Tahoma,sans-serif!important;color:#1F1B16!important;max-width:12rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0!important}
html body header.top.jhd .faid .fabal{display:block!important;background:none!important;box-shadow:none!important;border:0!important;height:auto!important;padding:0!important;margin:0!important;font:600 clamp(.7rem,.78vw,.85rem)/1.1 Cairo,Tahoma,sans-serif!important;color:#6b6459!important;white-space:nowrap}
html body header.top.jhd .faid .fabal[hidden]{visibility:hidden}
html body header.top.jhd .fav>button{width:clamp(46px,3.6vw,64px)!important;height:clamp(46px,3.6vw,64px)!important;background:#fff!important;border:0!important;box-shadow:none!important;border-radius:50%!important}
html body header.top.jhd .fav>button svg{color:#1F1B16!important}
@media(max-width:760px){html body header.top.jhd .faid .faname{display:none!important}html body header.top.jhd .fav>button{width:38px!important;height:38px!important}}
@media(max-height:560px){html body header.top.jhd .faid .faname{max-width:8rem;font-size:.78rem!important}html body header.top.jhd .faid .fabal{font-size:.68rem!important}}
html body header.top.jhd nav .fachip{margin-inline-start:auto!important}
html body header.top.jhd nav .jgo~.fachip{margin-inline-start:0!important}
