/* الشريط العلوي الموحّد: قائمة «الألعاب» + إنستغرام (+ «عندي كود» بالرئيسية) — بكل الصفحات */
html body header nav .hgm.hgm.hgm{position:relative!important;display:flex!important;align-items:center!important;flex:none!important}
html body header nav .hgm.hgm.hgm .hgmb{display:inline-flex!important;align-items:center!important;gap:8px!important;background:none!important;border:0!important;padding:4px 0!important;margin:0!important;cursor:pointer;font:600 clamp(1.05rem,1.55vw,1.75rem)/1.2 Cairo,Tahoma,sans-serif!important;color:#1f1b16!important;box-shadow:none!important;white-space:nowrap}
html body header.top.jhd nav .hgm.hgm.hgm .hgmb{font:600 clamp(15px,calc(1.46vw + 1px),32px)/1.2 Cairo,Tahoma,sans-serif!important}
html body header nav .hgm.hgm.hgm .hgmb svg{width:.62em;height:.42em;transition:transform .2s}
html body header nav .hgm.hgm.hgm .hgmb[aria-expanded=true] svg{transform:rotate(180deg)}
html body header nav .hgm.hgm.hgm .hgmb:focus-visible{outline:3px solid #1f1b16;outline-offset:4px;border-radius:6px}
html body header nav .hgm.hgm.hgm .hgmp{position:absolute!important;top:calc(100% + 34px)!important;right:-10px!important;left:auto!important;transform:none!important;width:290px!important;background:#fff!important;border:2px solid #e6e0d2!important;border-radius:20px!important;padding:8px!important;z-index:200!important;display:flex!important;flex-direction:column!important;gap:2px!important;box-shadow:none!important;margin:0!important}
html body header nav .hgm.hgm.hgm .hgmp[hidden]{display:none!important}
html body header nav .hgm.hgm.hgm .hgmp a{display:flex!important;align-items:center!important;gap:12px!important;padding:8px!important;margin:0!important;border-radius:14px!important;text-decoration:none!important;color:#1f1b16!important;font:inherit!important;background:transparent!important;height:auto!important;white-space:normal!important}
html body header nav .hgm.hgm.hgm .hgmp a::after,html body header nav .hgm.hgm.hgm .hgmp a::before{display:none!important}
html body header nav .hgm.hgm.hgm .hgmp a:hover,html body header nav .hgm.hgm.hgm .hgmp a:focus-visible{background:#F4F3F0!important;outline:0;text-decoration:none!important}
html body header nav .hgm.hgm.hgm .hgmp a span{display:flex!important;flex-direction:column!important;gap:2px!important;text-align:start!important}
html body header nav .hgm.hgm.hgm .hgmp a b{font:700 1rem/1.25 Cairo,Tahoma,sans-serif!important;color:#1f1b16!important}
html body header nav .hgm.hgm.hgm .hgmp a small{font:600 .8rem/1.25 Cairo,Tahoma,sans-serif!important;color:#6b6459!important}
html body header nav .hgm.hgm.hgm .hgmp .mt{flex:none!important;width:58px!important;height:48px!important;border-radius:12px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;font-style:normal!important;overflow:hidden!important}
html body header nav .hgm.hgm.hgm .hgmp .mt img{display:block!important;height:auto!important;max-height:none!important}
html body header nav .hgm.hgm.hgm .hgmp .mt-jj{background:#e8432f!important}
html body header nav .hgm.hgm.hgm .hgmp .mt-jj img{width:74%!important}
html body header nav .hgm.hgm.hgm .hgmp .mt-mf{background:#1f1b16!important}
html body header nav .hgm.hgm.hgm .hgmp .mt-ev{background:#6a35d6!important}
html body header nav .hgm.hgm.hgm .hgmp .mt-mf img:first-child,html body header nav .hgm.hgm.hgm .hgmp .mt-ev img{width:46%!important}
html body header nav .hgm.hgm.hgm .hgmp .mt-mf img+img{width:84%!important}
html body header nav .hgm.hgm.hgm .hgmp .mt em{font:800 .6rem/1 Cairo,Tahoma,sans-serif!important;color:#fff!important;letter-spacing:.04em;font-style:normal!important}
/* الترتيب بشريط الصفحات الرئيسية: العملة/اللغة، ثم الألعاب، ثم الروابط */
html body header:not(.jhd) nav .hgm.hgm.hgm{order:1!important}
html body header:not(.jhd) nav a.nl{order:2!important}
html body header:not(.jhd) nav span.hsoc.hsoc{order:3!important}
/* إنستغرام: على الشاشات الكبيرة بس، واليوتيوب مخفي بالشريط */
html body header nav span.hsoc.hsoc{display:none!important}
@media (hover:hover) and (min-width:901px) and (min-height:561px){
html body header nav span.hsoc.hsoc{display:inline-flex!important;align-items:center;margin:0!important;flex:none}
html body header nav span.hsoc.hsoc a.soc[data-ch]{display:none!important}
html body header nav span.hsoc.hsoc a.soc{display:inline-flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;border-radius:50%!important;border:2px solid #1f1b16!important;background:transparent!important;color:#1f1b16!important;transform:none!important;text-decoration:none!important;padding:0!important}
html body header nav span.hsoc.hsoc a.soc:hover{background:#f8bf4f!important;color:#1f1b16!important;transform:none!important}
html body header nav span.hsoc.hsoc a.soc svg{width:20px!important;height:20px!important}
}
/* زر «عندي كود» يرجع للرئيسية (أي كود: جيم جواب أو مافيا أو إيفنت) */
html body header .hbuy button.hrdm.hrdm{display:inline-flex!important}
@media (max-width:700px){html body header nav .hgm.hgm.hgm{display:none!important}}
@media (max-height:560px){html body header nav .hgm.hgm.hgm .hgmb{font-size:.92rem!important}html body header nav .hgm.hgm.hgm .hgmp{top:calc(100% + 36px)!important;width:250px!important;padding:6px!important}html body header nav .hgm.hgm.hgm .hgmp a{padding:6px!important;gap:10px!important}html body header nav .hgm.hgm.hgm .hgmp .mt{width:48px!important;height:40px!important}html body header nav .hgm.hgm.hgm .hgmp a b{font-size:.9rem!important}html body header nav .hgm.hgm.hgm .hgmp a small{font-size:.72rem!important}}
