/* Embed sizes: names and explicit _icon tokens always remain tiny. */
img.blorb-embed { display:inline-block; object-fit:contain; vertical-align:middle; border:0; background:transparent; max-width:100%; }
img.blorb-embed-inline, img.blorb-embed-name-icon {
  display:inline-block !important; width:auto !important; height:1em !important;
  max-height:1em !important; max-width:1.5em !important;
  vertical-align:-.12em !important; margin:0 .08em !important;
}
img.blorb-embed-standard { width:auto; height:auto; max-width:100%; max-height:150px; vertical-align:middle; margin:0 .12em; }
/* Extra protection when name markup is populated dynamically or by other renderers. */
:where(.edit-para-name,.para-blorbistry-name,.rename-bulk-preview-old,.rename-bulk-preview-new,.para-card h2,.para-name,.blorb-name,.keeper-name,.profile-name,.username,[class*="name-title"],[class*="para-name"],[class*="blorb-name"],[class*="keeper-name"],h1,h2,h3,h4,h5,h6,[data-blorb-name],[data-para-name]) img.blorb-embed {
  width:auto !important; height:1em !important; max-height:1em !important; max-width:1.5em !important;
}

/* Database names and nested badge markup always use inline icons. */
[data-blorb-name] img.blorb-embed, [data-para-name] img.blorb-embed, .database-blorb-name img.blorb-embed {height:1em !important;max-height:1em !important;max-width:1.5em !important;width:auto !important;}

/* Shared table name-column fallback (including dynamic content). */
table th[data-column-key="name"] img.blorb-embed,
table td[data-column-key="name"] img.blorb-embed,
table td[data-field="name"] img.blorb-embed,
table td[data-label="Name"] img.blorb-embed,
img.blorb-embed-name-icon { width:auto !important; height:1em !important; max-width:1.5em !important; max-height:1em !important; }
