/* V36.7.35 — gallery stacking and square assistant avatar styling. Sidebar geometry is owned by V36.7.40. */
/* V36.7.35 — robust landscape sidebar boundary, theme gallery stacking,
   and a square assistant avatar tile. */
/* Keep the gallery above the chat window and the quick-action dropdown. */
#theme-gallery-backdrop { z-index: 30040 !important; }
#seasonal-theme-gallery.is-open {
  position: fixed !important;
  z-index: 30050 !important;
}

/* The AI portrait is a compact rounded-square tile, not a circular crop. */
.chat-message-author img {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  padding: 2px !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  border-radius: 7px !important;
  background: rgba(115, 145, 190, .12) !important;
  border: 1px solid rgba(145, 170, 220, .24) !important;
}
