
.sm-fixed{position:fixed;inset:0;display:grid;place-items:center;z-index:2147483647}.sm-hidden{display:none}.sm-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.6)}.sm-panel{position:relative;width:min(720px,92vw);max-height:85vh;overflow:auto;background:#fff;border-radius:16px;padding:16px;box-shadow:0 10px 30px rgba(0,0,0,.2)}.sm-header{display:flex;align-items:center;gap:8px}.sm-title{font:600 16px/1.2 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.sm-close{margin-left:auto;border:0;background:#f3f4f6;border-radius:8px;padding:4px 8px;cursor:pointer}.sm-panel .sm-input{display:none!important}.sm-state{margin-top:12px;font:400 14px/1.4 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#6b7280}.sm-list{margin-top:8px;list-style:none;padding:0;max-height:70vh;overflow:auto}.sm-item{padding:8px 6px;border-radius:10px;cursor:pointer}.sm-item:hover{background:#f3f4f6}.sm-title-item{font:600 14px/1.3 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#111827}.sm-subtitle{font:400 12px/1.3 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#6b7280}.ccsm-thumb{width:40px;height:40px;object-fit:cover;border-radius:8px;flex:0 0 40px;background:#e5e7eb}
.sm-loading:not([hidden]) {
animation: ccsm-search-fade 2.4s ease-in-out infinite;
text-align: center;
padding: 20px 12px;
}
.sm-loading:not([hidden])::after {
content: "";
display: inline-block;
width: 1.3em;
margin-left: 3px;
text-align: left;
vertical-align: baseline;
animation: ccsm-search-dots 1.5s steps(4, end) infinite;
}
@keyframes ccsm-search-fade {
0%, 100% { opacity: 0.65; }
50% { opacity: 1; }
}
@keyframes ccsm-search-dots {
0% { content: ""; }
25% { content: "."; }
50% { content: ".."; }
75%, 100% { content: "..."; }
}
@media (prefers-reduced-motion: reduce) {
.sm-loading:not([hidden]),
.sm-loading:not([hidden])::after {
animation: none;
}
}