/* De tuong tu tu anh (lib/cc/de-tuong-tu.php): dung chung khoi chon anh / cho voi cham-thu.css */
.ct-step { padding: 4px 0 18px; }
.ct-step > b { font-size: 17px; }
.ct-drop { margin-top: 10px; border: 2px dashed var(--line); border-radius: 18px; padding: 16px; background: var(--bg); text-align: center; }
.ct-drop.over { border-color: var(--pri); background: var(--soft); }
.ct-thumbs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 12px; }
.ct-thumbs:empty { display: none; }
.ct-th { position: relative; width: 92px; height: 120px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.ct-th img { width: 100%; height: 100%; object-fit: cover; }
.ct-th span { position: absolute; left: 6px; top: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; border-radius: 8px; padding: 1px 7px; }
.ct-th button { position: absolute; right: 4px; top: 4px; border: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.ct-go { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
#ct-msg:not(:empty) { margin-top: 12px; }
.ct-res { margin-top: 16px; scroll-margin-top: 80px; }
.ct-wait { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 18px 0; }
.ct-bar { width: min(320px, 90%); height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.ct-bar i { display: block; height: 100%; background: var(--pri); transition: width .6s; }
.ct-score { display: flex; gap: 16px; align-items: center; background: var(--soft); border-radius: 18px; padding: 14px 18px; }
.ct-score .big { font-size: 38px; font-weight: 800; line-height: 1; }
.ct-sum { color: var(--ink2); margin: 12px 0 0; }
.ct-items { display: grid; gap: 10px; margin-top: 14px; }
.ct-q { font-size: 15px; margin-top: 6px; overflow-x: auto; }
.ct-a { font-size: 14.5px; color: var(--ink2); margin-top: 4px; }
.ct-a span { font-family: 'Mali', cursive; color: #1E40AF; font-size: 16px; }
.ct-lockline { font-size: 14px; margin-top: 6px; color: var(--ink2); }
.ct-lockline button { border: 0; background: none; color: var(--pri); font: inherit; font-weight: 800; cursor: pointer; text-decoration: underline; padding: 0; }
.ct-info { margin-top: 40px; }
