.cc-sticker-overlay{position:fixed;inset:0;z-index:25000;background:#0006;display:flex;align-items:flex-end;justify-content:center;font-family:system-ui,-apple-system,sans-serif;color:#f6f3ff}
.cc-sticker-panel{box-sizing:border-box;width:min(100%,700px);height:min(76dvh,900px);display:flex;flex-direction:column;background:linear-gradient(150deg,#24203d,#141226);border:2px solid #665286;border-bottom:0;border-radius:28px 28px 0 0;padding:12px 12px max(12px,env(safe-area-inset-bottom));box-shadow:0 -8px 40px #0006;overflow:hidden}
.cc-sticker-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 8px}.cc-sticker-head h2{margin:0;font-size:24px}.cc-sticker-close{border:0;background:none;color:inherit;font-size:32px;width:44px;height:44px;border-radius:50%}
.cc-sticker-filters,.cc-sticker-emotions{display:flex;gap:8px;overflow-x:auto;flex-shrink:0;padding:4px 0 10px;scrollbar-width:none}.cc-sticker-emotions{padding-bottom:8px;border-bottom:1px solid #66528680}
.cc-sticker-chip{flex-shrink:0;min-height:40px;border:1px solid #665286;border-radius:22px;background:#2d284a;color:inherit;padding:8px 12px;font:600 14px system-ui;cursor:pointer}.cc-sticker-chip.active{color:#ffe18a;background:#554022;border-color:#f4cf72}
.cc-sticker-scroll{overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;flex:1;min-height:0;padding-bottom:12px}.cc-sticker-section{scroll-margin-top:8px}.cc-sticker-section h3{margin:14px 4px 6px;font-size:19px}.cc-sticker-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.cc-sticker-item{position:relative;min-width:0;aspect-ratio:1;border:0;border-radius:14px;background:none;color:inherit;padding:2px;cursor:pointer;touch-action:manipulation}.cc-sticker-item canvas{width:100%;height:100%;object-fit:contain;display:block}.cc-sticker-item:active{background:#66528680}.cc-sticker-retry{position:absolute;inset:25%;font-size:24px;text-align:center}.cc-sticker-overlay button:focus-visible{outline:3px solid #f4cf72;outline-offset:-2px}@media(min-width:480px){.cc-sticker-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:340px){.cc-sticker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Larger artwork, frameless selector with visible keyboard focus. */
.cc-sticker-grid{container-type:inline-size;grid-template-columns:repeat(3,minmax(0,1fr))}
.cc-sticker-item{display:flex;align-items:center;justify-content:center;border:0!important;outline:0;background:transparent!important;box-shadow:none!important;padding:0;border-radius:0}
.cc-sticker-item canvas{width:calc((100cqw - 16px) / 5 * 1.38 - 5.52px);height:calc((100cqw - 16px) / 5 * 1.38 - 5.52px);max-width:100%;max-height:100%;flex-shrink:0}
.cc-sticker-overlay .cc-sticker-item:focus-visible{outline:3px solid #f4cf72;outline-offset:-2px}
@media(min-width:480px){.cc-sticker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cc-sticker-item canvas{width:calc((100cqw - 20px) / 6 * 1.38 - 5.52px);height:calc((100cqw - 20px) / 6 * 1.38 - 5.52px)}}
@media(max-width:340px){.cc-sticker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cc-sticker-item canvas{width:calc((100cqw - 12px) / 4 * 1.38 - 5.52px);height:calc((100cqw - 12px) / 4 * 1.38 - 5.52px)}}

.cc-sticker-head{gap:8px}.cc-sticker-head h2{flex:1}.cc-sticker-search{box-sizing:border-box;min-width:0;width:170px;border:1px solid #b78bdf;border-radius:18px;padding:9px 10px;background:#32244b;color:#fff;font:16px system-ui}.cc-sticker-search::placeholder{font-size:12px;color:#ddd0ea}.cc-sticker-search-clear{border:0;background:none;color:#ddd0ea;font-size:23px;padding:4px}.cc-sticker-search:focus-visible{outline:2px solid #f4cf72}@media(max-width:350px){.cc-sticker-search{width:145px}.cc-sticker-head{gap:4px}}
