/* ARTIZS.SAY v0.5.32.2 — compact SAY empty state, content menus, adaptive in-bubble chat actions */

/* SAY empty state stays minimal: no full-page mascot/background artwork. */
.say-feed-list .say-empty{min-height:150px;display:flex;align-items:center;justify-content:center;padding:42px 16px;text-align:center;color:#8993a1;background:transparent!important}
.say-feed-list .say-empty img{display:none!important}

/* Pinned bar uses the approved complete icon asset so the pin never looks clipped. */
.room-pinned-icon{width:30px!important;height:30px!important;flex:0 0 30px!important;padding:0!important;border-radius:9px!important;overflow:hidden!important;background:transparent!important}
.room-pinned-icon img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
.room-pinned-icon svg{display:none!important}

/* Message actions live inside the chat bubble. Short copy keeps them on the same line;
   multiline copy moves the whole action rail to the bottom-right row. */
.message.actions-in-bubble .msg-body{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  column-gap:8px!important;
  row-gap:6px!important;
  width:max-content!important;
  max-width:min(700px,100%)!important;
}
.message.actions-in-bubble .msg-body-text{
  display:inline-block!important;
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:100%!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
}
.message.actions-in-bubble .msg-body .msg-actions,
.message.actions-in-bubble .msg-body .msg-actions.no-persistent-actions{
  position:static!important;
  inset:auto!important;
  z-index:4!important;
  flex:0 0 auto!important;
  width:max-content!important;
  height:24px!important;
  margin:0 0 0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  transform:none!important;
}
.message.actions-in-bubble .msg-body.actions-stacked .msg-body-text{flex:1 0 100%!important;width:100%!important}
.message.actions-in-bubble .msg-body.actions-stacked .msg-actions{flex:1 0 100%!important;margin-left:0!important;justify-content:flex-end!important}
.message.actions-in-bubble.actions-visible,
.message.actions-in-bubble.actions-open,
.message.actions-in-bubble:focus-within{padding-bottom:10px!important}
.message.actions-in-bubble .msg-actions .message-secondary-action,
.message.actions-in-bubble .msg-actions .message-reaction-trigger,
.message.actions-in-bubble .msg-actions .message-more-btn{flex:0 0 auto!important}

/* SAY moderation stays behind the calm three-dot menu. Report is neutral; delete alone is destructive. */
.say-more-menu-item[data-say-report]{color:#26364d!important}
.say-more-menu-item[data-say-report]:hover{background:#f2f5f8!important;color:#082d58!important}
.say-more-menu-item.danger{color:#a23c3c!important}

@media(max-width:560px){
  .message.actions-in-bubble .msg-body{max-width:100%!important}
  .message.actions-in-bubble .msg-body .msg-actions{height:23px!important}
}
