html body:not(#zz) .acct{position:relative;display:inline-flex}
html body:not(#zz) .acct-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:4px 12px 4px 4px;border-radius:99px;border:1px solid var(--line,rgba(127,127,127,.35));background:transparent;color:var(--tx,inherit);font:inherit;font-size:13px;cursor:pointer;max-width:220px}
html body:not(#zz) .acct-av{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none}
html body:not(#zz) .acct-ini{display:inline-grid;place-items:center;background:color-mix(in srgb,#2dd4bf 30%,transparent);font-weight:700}
html body:not(#zz) .acct-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
html body:not(#zz) .acct-badge{width:18px;height:18px;flex:none}
html body:not(#zz) .acct-menu{position:absolute;right:0;top:calc(100% + 6px);min-width:180px;padding:6px;border-radius:12px;border:1px solid var(--line,rgba(127,127,127,.35));background:var(--bg,#0b0f14);box-shadow:0 12px 30px rgba(0,0,0,.3);z-index:60;display:flex;flex-direction:column}
html[data-theme=light] body:not(#zz) .acct-menu{background:#fff}
html body:not(#zz) .acct-menu[hidden]{display:none}
html body:not(#zz) .acct-item{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:8px;color:var(--tx,inherit);text-decoration:none;background:none;border:0;font:inherit;font-size:14px;text-align:left;cursor:pointer}
/* Signed-in chip (owner 10/21): avatar | "Signed in as" over badge + styled name. */
html body:not(#zz) .acct-txt{display:flex;flex-direction:column;align-items:flex-start;line-height:1.1;min-width:0}
html body:not(#zz) .acct-as{font-size:10.5px;font-weight:500;opacity:.7;letter-spacing:.01em;white-space:nowrap}
html body:not(#zz) .acct-line{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:16ch}
html body:not(#zz) .acct-line .acct-badge{width:18px!important;height:18px!important;object-fit:contain}
html.ap-signed-in body:not(#zz) [data-signin][hidden]{display:none!important}
html body:not(#zz) .acct-name.n-spark{color:#7dd3fc}html body:not(#zz) .acct-name.n-blaze{color:#2dd4bf}html body:not(#zz) .acct-name.n-legend{color:#b8d42e}html body:not(#zz) .acct-name.n-founding{color:#b69cff}
html[data-theme=light] body:not(#zz) .acct-name.n-spark{color:#0b63a8}html[data-theme=light] body:not(#zz) .acct-name.n-blaze{color:#0f766e}html[data-theme=light] body:not(#zz) .acct-name.n-legend{color:#3f5800}html[data-theme=light] body:not(#zz) .acct-name.n-founding{color:#6d28d9}
html body:not(#zz) header .acct{margin-left:auto}
/* ---- Overlord name (server-assigned only: badge {kind:'staff',key:'overlord'} -> .n-overlord). Blue/gold reserved for Overlord. ---- */
html:not(#zz):not(#zy) .n-overlord{background:linear-gradient(90deg,#4f83ff 0%,#fcd34d 50%,#4f83ff 100%)!important;background-size:200% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;color:#fcd34d!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;filter:drop-shadow(0 0 4px rgba(79,131,255,.5)) drop-shadow(0 0 2px rgba(252,211,77,.35))!important;animation:ovl-fade 6s linear infinite;font-weight:700}
html[data-theme=light]:not(#zz):not(#zy) .n-overlord{background-image:linear-gradient(90deg,#1a3fc4 0%,#8a5a00 50%,#1a3fc4 100%)!important;color:#1a3fc4!important;filter:drop-shadow(0 0 1.5px rgba(26,63,196,.2))!important}
@keyframes ovl-fade{from{background-position:0 0}to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){html:not(#zz):not(#zy) .n-overlord{animation:none!important;background-position:0 0!important}}
html body:not(#zz):not(#zy) .acct .acct-badge{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;padding:0!important;margin:0!important;border:0!important;box-sizing:border-box!important;object-fit:contain}
/* Owner 10/21: legacy signed-in bar removed; the header chip (account.js) with its menu is the only signed-in UI. */
html body:not(#zz) .fuser{display:none!important}
