/* Final avatar geometry for all skincare demos.
   Every assistant message avatar is a true circle. Raster badge logos are
   replaced in JS with a short brand mark, so rectangular artwork can never
   appear inside the chat avatar. */
body[data-cosmetics-demo] .cx-message-avatar,
body[data-cosmetics-demo] .cx-message-avatar.cx-message-avatar--round {
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  flex: 0 0 34px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 1px solid color-mix(in srgb, var(--cx-accent) 28%, transparent) !important;
  border-radius: 50% !important;
  background: var(--cx-brand) !important;
  color: #fff !important;
  box-shadow: none !important;
}
body[data-cosmetics-demo] .cx-message-avatar > img,
body[data-cosmetics-demo] .cx-message-avatar picture,
body[data-cosmetics-demo] .cx-message-avatar .cx-logo {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
}
body[data-cosmetics-demo] .cx-avatar-label {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -.02em !important;
  text-align: center !important;
}
body[data-cosmetics-demo="syncare"] .cx-message-avatar {
  background: #0b4f86 !important;
  border-color: color-mix(in srgb, #12a0a8 42%, #0b4f86) !important;
}
body[data-cosmetics-demo="syncare"] .cx-avatar-label {
  font-size: 9px !important;
  letter-spacing: .02em !important;
}
