/* « Plus de stickers » intégré à la galerie (cdesigner-free-stickers.js)
   Les onglets et les tuiles réutilisent le style de la galerie CDesigner. */
#cp-sel-Photos { --cdms-accent: #f34968; }
#cp-sel-Photos .lst-tags a#cd-more-stickers { text-transform: none; }
#cd-more-stickers .fa { font-size: 11px; margin-right: 3px; }

#cdms-panel { clear: both; padding: 0 12px 4px; }
#cdms-panel .cdms-search { display: flex; border: 1px dotted #ddd; border-radius: 2px; margin-bottom: 10px; background: #fff; }
#cdms-panel .cdms-search:focus-within { border: 1px solid var(--cdms-accent); }
#cdms-panel .cdms-search input { flex: 1; min-width: 0; border: none; outline: none; box-shadow: none; padding: 8px 10px; font-size: 13px; background: transparent; }
#cdms-panel .cdms-search button { border: none; background: none; padding: 0 12px; color: #555; cursor: pointer; }
#cdms-panel .cdms-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
#cdms-panel .cdms-chip { font-size: 11.5px; color: #000; opacity: .55; border: 1px dotted #ddd; border-radius: 2px; padding: 3px 8px; text-decoration: none; }
#cdms-panel .cdms-chip:hover, #cdms-panel .cdms-chip.active { opacity: 1; border: 1px solid var(--cdms-accent); }
#cdms-panel .cdms-status { font-size: 12px; color: #999; text-align: center; padding: 8px 0; }

/* tuiles : même grille que vos stickers, image entière (pas recadrée) */
#cp-sel-Photos li.cdms-li a.cdms-link { background-size: 70% !important; background-repeat: no-repeat; background-position: center; background-color: #fff; }
#cp-sel-Photos li.cdms-li.cdms-loading { opacity: .45; pointer-events: none; }
#cp-sel-Photos li.cdms-li.cdms-loading::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
    border: 3px solid var(--cdms-accent); border-top-color: transparent; border-radius: 50%; animation: cdms-spin .7s linear infinite;
}
@keyframes cdms-spin { to { transform: rotate(360deg); } }

#cdms-foot { clear: both; text-align: center; padding: 6px 12px 10px; }
#cdms-foot .cdms-more { display: inline-block; font-size: 12px; color: #000; border: 1px dotted #ddd; padding: 5px 14px; border-radius: 2px; text-decoration: none; }
#cdms-foot .cdms-more:hover { border: 1px solid var(--cdms-accent); }
#cdms-foot .cdms-credit { margin: 8px 0 0; font-size: 10px; color: #bbb; }

/* pastille couleur (même look que la colorisation de votre galerie) */
#cp-sel-Photos li.cdms-li { overflow: visible !important; }
.cdms-color-input, .cdms-fcolor-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; border: none; padding: 0; }
.cdms-cw { position: absolute; bottom: 5px; right: 5px; z-index: 20; }

/* cadres */
#cp-sel-Photos li.cdms-frame a.cdms-link { background-size: 80% !important; background-color: #b9c3cd; }
#cp-sel-Photos li.cdms-frame .cdms-flabel { position: absolute; left: 4px; bottom: 4px; font-size: 9.5px; color: #555; background: rgba(255,255,255,.85); padding: 0 4px; border-radius: 2px; pointer-events: none; }
.cdms-pane { clear: both; padding: 0 12px 4px; }
.cdms-hint { font-size: 11px; color: #888; text-align: center; padding: 2px 0 6px; }
.cdms-hint span { color: var(--cdms-accent); }
.cdms-hint-frame { text-align: left; background: #fafafa; border: 1px dotted #ddd; border-radius: 2px; padding: 8px 10px; color: #555; line-height: 1.45; }
.cdms-hint-frame .fa { color: var(--cdms-accent); }
