/* Emoji-sized stickers participate in the text line, including legacy tokens. */
body.site-theme .article-sticker{
 display:inline-flex!important;align-items:center;justify-content:center;
 width:var(--sticker-scale,1.6em)!important;height:var(--sticker-scale,1.6em)!important;
 min-width:0!important;max-width:none!important;box-sizing:border-box;
 clear:none!important;float:none!important;vertical-align:-.35em!important;
 margin:0 .1em!important;padding:0!important;font-size:inherit!important;
 border:0!important;border-radius:0!important;background:none!important;
 line-height:1;text-indent:0;white-space:normal;
}
body.site-theme .article-sticker>.article-sticker-image,
body.site-theme .article-sticker>.sticker-pick>.article-sticker-image{
 display:block!important;width:100%!important;height:100%!important;
 max-width:100%!important;max-height:100%!important;object-fit:contain!important;
 object-position:center;margin:0!important;padding:0!important;border:0!important;
 border-radius:0!important;background:none!important;box-shadow:none!important;
}
body.site-theme .sticker-pick{
 display:inline-flex;align-items:center;justify-content:center;
 width:100%;height:100%;padding:0!important;border:0!important;
 background:transparent!important;box-shadow:none!important;cursor:pointer;
}
body.site-theme .sticker-pick:focus-visible{outline:2px solid #94724f;outline-offset:3px}
body.site-theme .article-sticker:has(.sticker-pick.is-empty){width:180px!important;height:80px!important}
body.site-theme .sticker-pick.is-empty{flex-direction:column;gap:4px;border:1px dashed #cbb69e!important;border-radius:8px;background:#fffaf3!important;color:#6c513a}
.sticker-empty-mark{font-size:24px}.sticker-pick strong{font:600 13px/1.4 system-ui}.sticker-pick small{font:12px/1.4 system-ui}
.canvas-editable .article-sticker{cursor:default;user-select:none}
.sticker-library-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}
.sticker-library-tools label{display:flex;align-items:center;gap:7px;font-size:14px}
.sticker-library-tools select{padding:8px;border:1px solid #d8c6b2;border-radius:8px;background:#fff;font:inherit}
.sticker-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;max-height:48vh;overflow:auto;padding:8px 3px}
.sticker-library-item{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;padding:12px!important;background:#fffaf5;border:1px solid #e2d5c5!important;border-radius:12px;text-align:center;cursor:pointer}
.sticker-library-item:hover{background:#f4eadc;border-color:#b69976!important}
.sticker-library-item img{display:block;width:72px!important;height:72px!important;object-fit:contain;background:none;border:0}
.sticker-library-item span{max-width:100%;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.sticker-library-empty{grid-column:1/-1;padding:30px 14px;text-align:center;font-size:15px;color:#695945}
@media(max-width:600px){.sticker-library-grid{grid-template-columns:repeat(auto-fill,minmax(86px,1fr))}.sticker-library-item img{width:60px!important;height:60px!important}}
