.market-sticker-toggle {
  flex:0 0 44px; min-width:44px; min-height:44px; width:44px; padding:0;
  display:inline-grid; place-items:center; color:inherit;
  border:1px solid color-mix(in srgb,currentColor 12%,transparent);
  border-radius:50%; background:color-mix(in srgb,currentColor 5%,transparent);
}
.market-sticker-toggle svg { width:24px; height:24px; display:block; }
.market-sticker-toggle[aria-expanded=true] { background:color-mix(in srgb,currentColor 14%,transparent); }
.social-composer-actions { display:flex; align-items:center; gap:6px; }
.market-sticker-panel {
  grid-column:1/-1; min-width:0; padding:10px; margin-block-start:6px; border-radius:18px;
  border:1px solid color-mix(in srgb,currentColor 13%,transparent);
  background:color-mix(in srgb,currentColor 4%,transparent);
}
.market-sticker-panel[hidden], .market-sticker-editor[hidden], .market-sticker-source { display:none !important; }
.market-sticker-panel button {
  color:inherit; background:color-mix(in srgb,currentColor 6%,transparent);
  border:0; border-radius:10px; padding:6px 10px; min-height:44px;
}
.market-sticker-panel button[aria-pressed=true] { background:color-mix(in srgb,currentColor 14%,transparent); font-weight:700; }
.market-sticker-panel button:disabled { opacity:.55; }
.market-sticker-tabs,.market-sticker-controls,.market-sticker-result {
  display:flex; align-items:center; gap:6px;
}
.market-sticker-tabs { margin-bottom:8px; }
.market-sticker-tabs button { display:grid; place-items:center; width:44px; padding:0; }
.market-sticker-tabs svg { width:22px; height:22px; }
.market-sticker-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(44px,1fr)); gap:4px; max-height:168px; overflow:auto; }
.market-sticker-grid button { display:grid; place-items:center; padding:4px; }
.market-sticker-image { width:32px; height:32px; display:inline-block; vertical-align:middle; object-fit:contain; image-rendering:pixelated; flex:none; }
.market-sticker-result .market-sticker-image { width:64px; height:64px; }
.market-sticker-controls input { flex:1; min-width:0; font-size:16px; }
.market-sticker-status { margin:4px 0; font-size:.85em; }
.market-sticker-editor {
  box-sizing:border-box; width:100%; min-width:0; min-height:44px; max-height:120px;
  overflow:auto; overflow-wrap:anywhere; white-space:pre-wrap; padding:10px 12px;
  font:inherit; font-size:16px; line-height:24px; color:var(--text);
  border:1px solid var(--line); border-radius:12px; background:var(--surface-input);
}
.market-sticker-editor[data-empty]::before {
  content:attr(data-placeholder); color:var(--chat-muted,var(--muted)); pointer-events:none; position:absolute;
}
.market-sticker-editor .market-sticker-image { width:24px; height:24px; user-select:all; }

:root #social-detail-layer.is-chat #social-detail-composer .dao-composer-row {
  grid-template-columns:44px minmax(0,1fr) auto;
}
