.presence { display: flex; align-items: center; flex-direction: row; }
.presence-fixed { position: fixed; top: 10px; right: 14px; z-index: 1000; }
.presence-av { width: 32px; height: 32px; border-radius: 50%; margin-left: -8px; border: 2px solid #1b1d24; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; color: #fff; font: 600 14px/1 system-ui, sans-serif;
  text-decoration: none; background: #3a3f4b; box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform .12s; }
.presence-av:first-child { margin-left: 0; }
.presence-av { cursor: default; }
.presence-av:hover { z-index: 1; }
.presence-av img { width: 100%; height: 100%; object-fit: cover; }
.presence-me { border-color: #ff66aa; }
.presence-more { font-size: 12px; background: #2a2d36; cursor: default; }
/* The bar's chip (SIMP-SHELL-03): a green dot, up to 3 faces and the count; a click lists everyone. */
.presence { position: relative; }
.presence-chip { display: inline-flex; align-items: center; gap: 0; padding: 3px 10px 3px 8px; border: 1px solid var(--line, #2a2a30); border-radius: 99px; background: transparent; color: var(--ink, #ece6dd); font: 600 13px/1 system-ui, sans-serif; cursor: pointer; }
.presence-chip:hover, .presence-chip[aria-expanded="true"] { border-color: var(--pink, #ff66aa); }
.presence-chip .presence-av { width: 24px; height: 24px; margin-left: -6px; font-size: 11px; border-width: 2px; }
.presence-chip .presence-dot + .presence-av { margin-left: 0; }
.presence-dot { width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #35d49a; box-shadow: 0 0 0 3px #35d49a33; }
.presence-count { margin-left: 8px; font-variant-numeric: tabular-nums; }
.presence-list { position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; display: grid; gap: 2px; width: 260px; max-height: 60vh; overflow-y: auto; padding: 8px; border: 1px solid var(--line, #2a2a30); border-radius: 12px; background: var(--surface, #131316); box-shadow: 0 18px 50px -14px #000c; }
.presence-list[hidden] { display: none; }
.presence-head { padding: 4px 6px 6px; color: var(--muted, #a3a3ab); font: 700 11px/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.presence-row { display: flex; align-items: center; gap: 10px; padding: 4px 6px; color: var(--ink, #ece6dd); font: 500 13px/1.2 system-ui, sans-serif; }
.presence-row .presence-av { width: 24px; height: 24px; margin-left: 0; font-size: 11px; border-width: 1px; flex: none; }
.presence-more-row { color: var(--muted, #a3a3ab); }
