/* Shared profile interaction, including unread chat state. */
html body header.asb-unified-header .acct{isolation:isolate;overflow:visible;transition:background-color .2s,border-color .2s,color .2s,transform .2s cubic-bezier(.3,1.5,.5,1),box-shadow .2s}
html body header.asb-unified-header .acct svg,html body header.asb-unified-header .acct .acct-av{transition:transform .35s cubic-bezier(.3,1.6,.5,1)}
html body header.asb-unified-header .acct.on{background:#a6d76b22!important;border-color:#a6d76b!important}
@media(hover:hover){
html body header.asb-unified-header .acct:hover{transform:translateY(-2px);background:#c9b58a!important;border-color:#c9b58a!important;color:#202619!important}
html body header.asb-unified-header .acct:hover svg,html body header.asb-unified-header .acct:hover .acct-av{transform:scale(1.14) rotate(-6deg)}
html body header.asb-unified-header .acct:not(.on):hover{background:#ff5b1f!important;border-color:#ff5b1f!important;color:#1a1209!important}
}
html body header.asb-unified-header .acct:focus-visible{outline:2px solid #ffb18d;outline-offset:4px}
html body header.asb-unified-header .acct.has-chat-unread{border-color:#ff793f!important;box-shadow:0 0 0 3px #ff5b1f22,0 0 18px #ff5b1f24}
html body header.asb-unified-header .acct.has-chat-unread:after{background:#ff793f!important}
[data-acct].has-chat-unread>.chat-unread-badge{animation:asb-message-in .4s cubic-bezier(.3,1.6,.5,1)}
html body header.asb-unified-header .acct.avatar-pending:before{content:"";position:absolute;width:22px;height:22px;left:calc(50% - 11px);top:calc(50% - 11px);border:2px solid #a6d76b33;border-top-color:#a6d76b;border-radius:50%;box-sizing:border-box;animation:asb-avatar-wait .8s linear infinite}
@keyframes asb-avatar-wait{to{transform:rotate(360deg)}}
@keyframes asb-message-in{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){html body header.asb-unified-header .acct,html body header.asb-unified-header .acct svg,html body header.asb-unified-header .acct .acct-av{transition:none!important;transform:none!important}[data-acct]>.chat-unread-badge,html body header.asb-unified-header .acct.avatar-pending:before{animation:none!important}}

@media(prefers-reduced-motion:no-preference){html body header.asb-unified-header .acct.has-chat-unread{animation:asb-chat-attention 3s ease-in-out infinite}}
@keyframes asb-chat-attention{0%,100%{box-shadow:0 0 0 2px #ff5b1f22,0 0 12px #ff5b1f18}50%{box-shadow:0 0 0 4px #ff5b1f12,0 0 20px #ff5b1f38}}
