/* Approved production header dimensions, positioning, navigation and logo are authoritative.
   Only the account badge is replaced; coupons and wallet remain separate siblings. */
header.adminNav .navUser .role{display:none!important}
header.adminNav .navUser.header-profile-on{display:flex!important;align-items:center;gap:7px;min-width:0}
header.adminNav .navUser.header-profile-on :is(#logoutMini,#logout,a.adminLogin[href="/admin"]){display:none!important}
header.adminNav .navUser.header-profile-on .gameWalletWidget{order:1}
header.adminNav .navUser.header-profile-on .headerProfileLink{
 order:2;display:inline-flex;align-items:center;justify-content:center;gap:6px;
 flex:0 1 auto;min-width:0;max-width:195px;text-decoration:none;white-space:nowrap;
 border:1px solid #d0e3ef;background:#f2f8fc;color:#0c5689;
 border-radius:11px;padding:6px 9px;min-height:36px;box-sizing:border-box;
 font:inherit;font-size:13px;font-weight:850;line-height:1.15;
}
header.adminNav .headerProfileLink:hover{background:#e8f3fb;color:#095080}
header.adminNav .headerProfileLink:focus-visible{outline:3px solid #f58d27;outline-offset:2px}
header.adminNav .headerProfileIcon{display:inline-grid;place-items:center;flex:0 0 auto;color:#0b659a}
header.adminNav .headerProfileName{min-width:0;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.memberPage>[data-profile-settings-hidden]{display:none!important}
.memberPage .profileSettingsCard{max-width:900px;margin:0 auto 24px}
.profileSettingsCard h2{margin:0 0 12px;color:#0b588b}
.profileSettingsFields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:20px 0}
.profileSettingsField{display:flex;flex-direction:column;gap:8px;padding:15px;border:1px solid #d8e7ef;border-radius:12px;background:#f5fafe;min-width:0}
.profileSettingsField>span{font-size:12px;color:#66859a;font-weight:700}
.profileSettingsField>strong{font-size:15px;overflow-wrap:anywhere}
.profileSettingsActions{display:flex;flex-wrap:wrap;gap:10px}
.profileSettingsActions .btn{min-height:42px}
@media(max-width:1024px){
 header.adminNav .navUser.header-profile-on{gap:5px}
 header.adminNav .navUser .headerProfileLink{max-width:142px;padding:6px}
 header.adminNav .headerProfileName{max-width:95px}
}
@media(max-width:700px){
 header.adminNav .navUser.header-profile-on{display:flex!important;grid-column:2;grid-row:1;justify-self:end;gap:4px;padding:0;border:0}
 header.adminNav .navUser .headerProfileLink{max-width:110px;gap:3px;padding:5px 4px;min-height:36px;font-size:11px}
 header.adminNav .headerProfileName{max-width:76px}
 header.adminNav .headerProfileIcon svg{width:16px;height:16px}
}
@media(max-width:390px){
 header.adminNav .navUser .headerProfileLink{max-width:88px}
 header.adminNav .headerProfileName{max-width:56px;font-size:10px}
}
/* V4 account choices: no changes to the approved navigation size or wallet slots. */
header.adminNav .navUser .headerProfileDropdown{order:2;position:relative;min-width:0;display:flex;align-items:center}
header.adminNav .navUser .headerProfileDropdown .headerProfileLink{order:initial;cursor:pointer}
header.adminNav .headerProfileMenu{position:absolute;inset-inline-end:0;top:calc(100% + 8px);min-width:200px;max-width:min(290px,90vw);z-index:80;padding:7px;border:1px solid #cfe0ec;border-radius:13px;background:#fff;box-shadow:0 14px 32px #123e5b24;direction:rtl}
header.adminNav .headerProfileMenu[hidden]{display:none!important}
header.adminNav .headerProfileMenu :is(a,button){display:flex!important;width:100%;text-align:right;align-items:center;justify-content:flex-start;padding:11px 12px;min-height:42px;border:0;border-radius:8px;background:transparent;color:#0c5689;text-decoration:none;font:inherit;font-weight:750;cursor:pointer}
header.adminNav .headerProfileMenu :is(a,button):hover{background:#eaf4fb}
header.adminNav .headerProfileMenu .headerProfileLogout{color:#b43b37}
header.adminNav .headerProfileDropdown .headerProfileLink{order:initial}
