/* Header affordances only. All existing menus, links and account actions are retained. */
body>.main>header .header-right{--h87-top:#91b8ff;--h87-bottom:#4965ed;--h87-edge:#c9ddff;--h87-depth:#2e49bd;--h87-glow:#5d8ffc35;--h87-ink:#fff;--h87-tag-start:#7b7df4;--h87-tag-end:#df79c9;gap:13px}
html[data-theme=dark] body>.main>header .header-right{--h87-top:#b49aff;--h87-bottom:#8447eb;--h87-edge:#d1bcff;--h87-depth:#502193;--h87-glow:#a772fb35;--h87-tag-start:#8f4cf1;--h87-tag-end:#ed79b3}
body>.main>header .header-right :is(.identity-entry,.header-wallet,#header-account,.notice-bell,.account-avatar-button){position:relative;isolation:isolate;box-sizing:border-box;border:1px solid var(--h87-edge)!important;border-radius:19px!important;background:linear-gradient(180deg,var(--h87-top),var(--h87-bottom))!important;color:var(--h87-ink)!important;box-shadow:inset 0 1px 0 #ffffff38,0 5px 0 var(--h87-depth),0 9px 22px var(--h87-glow)!important;transition:transform .22s ease,box-shadow .22s ease,filter .22s ease,background .32s ease,border-color .32s ease!important;cursor:pointer;text-decoration:none!important;min-height:44px;margin-top:0!important;margin-bottom:4px!important;font-weight:600;line-height:1.2}
body>.main>header .header-right :is(.identity-entry,.header-wallet,#header-account){padding:12px 18px!important}
body>.main>header .header-wallet{gap:9px;white-space:nowrap}body>.main>header .header-wallet>b{font-weight:700;color:inherit!important}body>.main>header .header-wallet>span{color:inherit!important}body>.main>header .header-wallet small{color:inherit!important;border-left-color:#ffffff45!important;opacity:.88}
body>.main>header .header-right :is(.identity-entry,.header-wallet,#header-account,.notice-bell,.account-avatar-button):hover:not(:disabled){transform:translateY(-2px);filter:brightness(1.08);box-shadow:inset 0 1px 0 #ffffff60,0 7px 0 var(--h87-depth),0 13px 30px var(--h87-glow)!important}
body>.main>header .header-right :is(.identity-entry,.header-wallet,#header-account,.notice-bell,.account-avatar-button):active:not(:disabled){transform:translateY(3px);filter:brightness(.99);box-shadow:inset 0 1px 0 #ffffff25,0 2px 0 var(--h87-depth),0 5px 12px var(--h87-glow)!important}
body>.main>header .header-right :is(.identity-entry,.header-wallet,#header-account,.notice-bell,.account-avatar-button):focus-visible{outline:3px solid var(--h87-edge)!important;outline-offset:5px}
body>.main>header .header-right :is(.notice-bell,.account-avatar-button)[aria-expanded=true]{transform:translateY(2px);box-shadow:inset 0 1px 0 #ffffff25,0 3px 0 var(--h87-depth),0 8px 20px var(--h87-glow)!important}
body>.main>header .notice-bell{width:44px!important;height:44px!important;padding:9px!important;border-radius:16px!important;overflow:visible}body>.main>header .notice-bell svg{width:23px!important;height:23px!important;color:inherit;stroke-width:1.7}
body>.main>header .account-avatar-button{width:48px!important;height:48px!important;border-radius:18px!important;padding:0!important;overflow:hidden;color:#fff!important}body>.main>header .account-avatar-button>span{color:inherit!important;font-size:19px}body>.main>header .account-avatar-button img{border-radius:16px}
/* Non-interactive status pills have no raised base, hover motion or pointer cursor. */
body>.main>header .header-right :is(.notice-unread,.header-status,.header-tag,[data-header-readonly]){border:0!important;border-radius:999px!important;background:linear-gradient(110deg,var(--h87-tag-start),var(--h87-tag-end))!important;color:#fff!important;box-shadow:none!important;cursor:default!important;font-weight:650;line-height:1.2}
body>.main>header .notice-unread{top:-8px;right:-6px;min-width:21px;height:21px;padding:3px 6px;font-size:11px;box-shadow:0 0 0 3px var(--theme-surface,#fff)!important}
html[data-theme=dark] body>.main>header .notice-unread{box-shadow:0 0 0 3px #141022!important}
body>.main>header .header-right :is(button:disabled,[aria-disabled=true]){background:linear-gradient(110deg,var(--h87-tag-start),var(--h87-tag-end))!important;border-color:transparent!important;box-shadow:none!important;cursor:default!important;transform:none!important;filter:none!important;opacity:.6;border-radius:999px!important}
@media(max-width:1100px){body>.main>header .header-right{gap:10px}body>.main>header .header-right :is(.identity-entry,.header-wallet,#header-account){padding:11px 14px!important;font-size:12px}}
@media(max-width:760px){body>.main>header .header-right{gap:10px;align-items:center}body>.main>header .header-right :is(.identity-entry,.header-wallet,#header-account){padding:10px 12px!important;border-radius:15px!important;min-height:40px;font-size:12px}body>.main>header .notice-bell{width:39px!important;height:40px!important;min-height:40px!important;padding:8px!important;border-radius:14px!important}body>.main>header .account-avatar-button{width:40px!important;height:40px!important;min-height:40px!important;border-radius:15px!important}.header-right .account-avatar-wrap{flex-shrink:0}body>.main>header .notice-unread{min-width:18px;height:18px;padding:2px 4px;font-size:10px}}
@media(prefers-reduced-motion:reduce){body>.main>header .header-right :is(.identity-entry,.header-wallet,#header-account,.notice-bell,.account-avatar-button){transition:none!important}body>.main>header .header-right :is(.identity-entry,.header-wallet,#header-account,.notice-bell,.account-avatar-button):hover{transform:none!important}}
