.venture-mention {
  display:inline-flex;
  align-items:center;
  gap:.24em;
  max-width:100%;
  height:1.48em;
  padding:0 .27em 0 .08em;
  border:1px solid rgba(190,211,240,.4);
  border-radius:999px;
  background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(130,171,222,.09));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.27);
  color:inherit;
  font-size:.86em;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  vertical-align:-.25em;
  cursor:pointer;
  transition:background .16s ease,filter .16s ease;
}
.venture-mention:hover { background:rgba(168,205,255,.19);filter:brightness(1.08); }
.venture-mention:focus-visible { outline:2px solid rgba(62,145,255,.88);outline-offset:2px; }
.venture-mention-avatar {
  display:inline-grid;
  flex:0 0 1.4em;
  place-items:center;
  width:1.4em;
  height:1.4em;
  border:1px solid rgba(255,255,255,.55);
  border-radius:50%;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.34),0 0 3px rgba(0,0,0,.22);
  font-size:.86em;
  font-weight:700;
  color:var(--ink);
  overflow:hidden;
}
/* Product and brand names remain visually prominent in every mention pill. */
.venture-mention:not(.third-party-mention) > span:last-child { font-weight:700; }
.third-party-mention,.third-party-mention > strong { text-decoration:none;font-weight:700; }
.third-party-mention-avatar {
  position:relative;
  overflow:hidden;
  flex:0 0 auto;
  background:rgba(255,255,255,.96);
  color:#152033;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.82),0 1px 3px rgba(0,0,0,.3);
}
.third-party-domain-symbol {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:.72em;
  font-weight:800;
  line-height:1;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",sans-serif;
}
.third-party-mention-avatar img {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:rgba(255,255,255,.96);
}
.third-party-mention {max-width:100%;box-sizing:border-box;height:auto;min-height:1.48em;}
.third-party-mention > strong {min-width:0;font-weight:700;white-space:normal;overflow-wrap:anywhere;line-height:1.25;}
.third-party-mention[data-preview-title] > strong { font-weight:400; }

/* Every horizontal mention token inside chat shares the Cofounder pill geometry. */
#conversation :is(.venture-mention,.third-party-mention) {
  gap:3px;
  width:auto;
  height:20px;
  min-height:20px;
  margin:1px 2px;
  padding:0 5px 0 1px;
  box-sizing:border-box;
  font-size:13px;
  font-weight:700;
  line-height:18px;
  vertical-align:middle;
}
#conversation :is(.venture-mention,.third-party-mention) > .venture-mention-avatar {
  width:17px;
  height:17px;
  flex:0 0 17px;
  font-size:13px;
}
#conversation :is(.venture-mention,.third-party-mention) > :is(span:last-child,strong) {
  font-weight:700;
  line-height:18px;
}
