/* NOMI chat r3: one plain overflow glyph beside the bubble, no frame. */
#nomiMessenger #nomiMessages .nomi-message:not(.nomi-has-media) .nomi-message-bubble{
  position:relative!important;overflow:visible!important;
}
#nomiMessenger #nomiMessages .nomi-message .nomi-message-plain-more{
  position:absolute!important;top:50%!important;transform:translateY(-50%)!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;z-index:3!important;
  width:29px!important;min-width:29px!important;max-width:29px!important;
  height:38px!important;min-height:38px!important;max-height:38px!important;
  padding:0!important;margin:0!important;
  border:0!important;outline:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  color:var(--nomi-site-text,#f5edf9)!important;
  font:700 25px/1 system-ui,sans-serif!important;letter-spacing:0!important;
  touch-action:manipulation;cursor:pointer;
}
#nomiMessenger #nomiMessages .nomi-message:not(.own):not(.nomi-has-media) .nomi-message-plain-more{
  right:-30px!important;left:auto!important;
}
#nomiMessenger #nomiMessages .nomi-message.own:not(.nomi-has-media) .nomi-message-plain-more{
  left:-30px!important;right:auto!important;
}
#nomiMessenger #nomiMessages .nomi-message.nomi-has-media .nomi-message-plain-more,
#nomiMessenger #nomiMessages .nomi-message:has(.nomi-message-media-tray) .nomi-message-plain-more{
  display:none!important;
}
#nomiMessenger #nomiMessages .nomi-message-plain-more:focus-visible{
  outline:2px solid var(--nomi-site-accent,#b884ed)!important;outline-offset:2px!important;
}
/* A single reaction square, always the same footprint, empty heart or selected emoji. */
html[data-nomi-theme] #nomiMessenger #nomiMessages .nomi-chat-reactions{
  gap:0!important;margin-left:5px!important;padding:0!important;flex-wrap:nowrap!important;
}
html[data-nomi-theme] #nomiMessenger #nomiMessages .nomi-chat-reactions > .nomi-chat-reaction-chip{display:none!important}
html[data-nomi-theme] #nomiMessenger #nomiMessages .nomi-chat-reactions > .nomi-chat-reaction-picker,
html[data-nomi-theme] #nomiMessenger #nomiMessages .nomi-chat-reactions > .nomi-chat-reaction-picker > summary{
  box-sizing:border-box!important;flex:0 0 30px!important;width:30px!important;min-width:30px!important;max-width:30px!important;
  height:30px!important;min-height:30px!important;max-height:30px!important;margin:0!important;padding:0!important;border-radius:7px!important;
}
html[data-nomi-theme] #nomiMessenger #nomiMessages .nomi-chat-reactions > .nomi-chat-reaction-picker > summary{
  font-size:19px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
/* Overlays stay above the bottom composer; never get clipped by the scrollable message list. */
body > .nomi-message-popover.nomi-message-action-sheet{
  z-index:2147483000!important;overscroll-behavior:contain!important;
}
body > .nomi-chat-reaction-options.nomi-reaction-portal{
  z-index:2147483001!important;overflow-y:auto!important;overscroll-behavior:contain!important;
}
