/* Template library (listing + single). Loads after uichemy-plb.css; cards use the prompt library's own rules. */
.uc-tpl .pl-thumb-img{object-position:top center}
.uc-tpl .pl-copy .tpl-clone{gap:8px;white-space:nowrap}
.uc-tpl .pl-card .pl-thumb::before{content:"";position:absolute;top:14px;right:14px;z-index:2;width:28px;height:28px;border-radius:9999px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center/14px 14px no-repeat,rgba(0,0,0,.7);clip-path:circle(0% at 50% 50%);transition:clip-path .5s cubic-bezier(.2,.6,.4,1);pointer-events:none}
.uc-tpl .pl-card:hover .pl-thumb::before{clip-path:circle(100% at 50% 50%)}
.uc-tpl .tpl-image-stage{background:var(--color-sprout-color-background-default)}
.uc-tpl .tpl-image-stage img{display:block;width:100%;height:auto}
.uc-tpl .tpl-preview-caption{margin:0;padding:12px 16px}
.uc-tpl .tpl-actions{scroll-margin-top:110px}
.uc-tpl .tpl-more-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap}
@media (max-width:600px){.uc-tpl .pl-chrome{grid-template-columns:44px minmax(0,1fr) 36px}.uc-tpl .pl-lights{gap:4px}}
.uc-tpl .tpl-soon,.uc-tpl .tpl-soon:hover,.uc-tpl .tpl-soon:disabled{opacity:1;cursor:not-allowed;background-image:none}
