/* 评论任务扩展（2026-10-20）：评论方式、图片评论库、回复奖励 */
.cp-style-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.cp-style { text-align: left; border: 1.5px solid #d6dfda; border-radius: 8px; background: #fff; padding: 10px 12px; cursor: pointer; }
.cp-style b { display: block; font-size: 13.5px; color: #1f2a24; }
.cp-style small { display: block; color: #6b7a71; font-size: 11.5px; line-height: 1.5; margin-top: 2px; }
.cp-style.on { border-color: #1f5d45; background: #f1f7f3; }
.cp-style.on b::before { content: "● "; color: #1f5d45; }
.cp-style-fixed { font-weight: 600; display: flex; gap: 8px; align-items: baseline; }
.cp-reply { margin-top: 12px; border-top: 1px dashed #dfe6e2; padding-top: 8px; }
.cp-reply .form-section-title small { font-weight: 400; margin-left: 4px; }
.cp-scripts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
.cp-script { display: grid; grid-template-columns: 180px 1fr auto; gap: 8px; align-items: start; }
.cp-script input, .cp-script textarea { width: 100%; box-sizing: border-box; }
.cp-script textarea { min-height: 52px; resize: vertical; }
.cp-rule { background: #fff8ec; border: 1px solid #f1dfbd; color: #7a5a1e; border-radius: 8px; padding: 8px 10px; font-size: 12px; line-height: 1.7; margin-top: 8px; }
@media (max-width: 760px) { .cp-style-cards { grid-template-columns: 1fr; } .cp-script { grid-template-columns: 1fr; } }
/* 图片评论库 */
.cp-img-icon { background: #fde8ee !important; color: #d61f55 !important; }
.cp-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid #e3e8e5; margin-right: 4px; vertical-align: middle; background: #f4f6f5; }
.cp-thumbs { white-space: nowrap; }
.cp-upload { margin-top: 14px; border-top: 1px solid #eef1ef; padding-top: 10px; }
.cp-drop { display: flex; align-items: center; justify-content: center; height: 64px; border: 1.5px dashed #b9cbc1; border-radius: 10px; color: #1f5d45; font-weight: 600; cursor: pointer; background: #f7faf8; margin: 8px 0; }
.cp-drop input { display: none; }
.cp-drop.disabled { opacity: .5; pointer-events: none; }
.cp-queue input[data-cp-qtext] { width: 100%; min-width: 220px; }
.cp-join { font-size: 12px; white-space: nowrap; }
.cp-upload-actions { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.cp-bad { color: #b42318; font-size: 12.5px; }
/* 回复奖励审核 */
.cp-reply-review .ac-tabs { margin: 0 0 8px; }
.cp-orig { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.cp-orig span { max-width: 220px; white-space: normal; font-size: 12.5px; }
.cp-extra { display: inline-block; background: #fde8e8; color: #b42318; border-radius: 4px; font-size: 11px; padding: 0 6px; line-height: 18px; margin-right: 6px; }
.cp-shot img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid #e3e8e5; }
.cp-ops { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cp-ops input { width: 150px; height: 28px; }
/* 达人网页 */
.cp-item-imgs { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.cp-item-imgs img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid #f0e3e8; }
.cp-img-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.cp-guide { background: none; border: 0; color: #2f6fd6; font-size: 12.5px; padding: 2px 0; cursor: pointer; }
.ce-section .cp-guide { margin-left: auto; }
.cp-reply-item .cp-replies { list-style: none; padding: 0; margin: 6px 0; }
.cp-replies li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; font-size: 13px; padding: 5px 0; border-bottom: 1px solid #f4edef; }
.cp-replies li small { flex-basis: 100%; color: #b42318; font-size: 12px; }
.cp-rs.review { color: #a46528; } .cp-rs.approved { color: #2a7a45; } .cp-rs.rejected { color: #b42318; }
.cp-reply-modal .cp-step { font-weight: 700; margin: 10px 0 6px; display: flex; gap: 8px; align-items: center; }
.cp-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.cp-tab { border: 0; border-radius: 14px; padding: 4px 12px; background: #f3eef0; color: #6b6470; cursor: pointer; font-size: 12.5px; }
.cp-tab.on { background: #e32452; color: #fff; }
.cp-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #f7f2f4; border-radius: 8px; padding: 7px 10px; margin-bottom: 6px; font-size: 13px; }
.cp-rule-small { font-size: 12px; color: #7a5a1e; background: #fff8ec; border-radius: 8px; padding: 7px 9px; line-height: 1.6; }
.cp-detail-note { margin: 2px 0 6px; }
.cp-join { display: inline-flex !important; align-items: center; gap: 4px; margin: 0; font-weight: 400; }
.cp-join input { width: auto !important; margin: 0; }
.cp-reply-modal form label { display: block; font-weight: 600; font-size: 13.5px; margin-top: 10px; }
.cp-reply-modal form label input, .cp-reply-modal form label textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 5px; font-weight: 400; }
.cp-reply-modal form label textarea { min-height: 64px; }
.cp-reply-modal form > .primary { width: 100%; margin-top: 14px; }
.cp-line .link, .cp-guide { background: none; border: 0; color: #2f6fd6; cursor: pointer; font-size: 12.5px; padding: 2px 4px; white-space: nowrap; }
.cp-reply-modal .notice { margin-top: 10px; }
.cp-reply-review td.cp-apply { white-space: normal; min-width: 260px; line-height: 1.6; }
.cp-reply-review td .inline-note { font-size: 11.5px; }

/* 删除评论任务：解绑 / 一起删除 */
.cp-del-modal { max-width: 540px; }
.cp-del-modal .cp-del-sub { color: #64748b; font-size: 13.5px; margin: 4px 0 0; }
.cp-del-modal .cp-del-lib { margin-top: 14px; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 14px; background: #f8fafc; font-size: 13.5px; line-height: 1.8; color: #334155; }
.cp-del-modal .cp-del-tag { display: inline-block; font-size: 12px; border-radius: 4px; padding: 0 6px; background: #fee2e2; color: #b91c1c; }
.cp-del-modal .cp-del-tag.kind { background: #ede9fe; color: #6d28d9; }
.cp-del-modal .cp-del-rules { margin-top: 12px; font-size: 13.5px; line-height: 1.9; color: #334155; }
.cp-del-modal .cp-del-red { color: #dc2626; }
.cp-del-modal .cp-del-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* 回复评论（10-29） */
.cp-replytask { border: 1px dashed #cfdcd4; border-radius: 8px; padding: 10px 12px; margin: 8px 0; background: #fafcfb; }
.cp-src { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp-src-opt { display: block; border: 1.5px solid #d6dfda; border-radius: 8px; padding: 8px 10px; background: #fff; cursor: pointer; }
.cp-src-opt b { font-size: 13px; }
.cp-src-opt small { display: block; color: #6b7a71; font-size: 11.5px; line-height: 1.5; margin-top: 2px; }
.cp-src-opt:has(input:checked) { border-color: #1f5d45; background: #f1f7f3; }
.cp-reply-target { color: #1f5d45; font-weight: 600; }
.cp-src-opt input { width: auto; display: inline-block; vertical-align: -2px; margin: 0 6px 0 0; }
.cp-src-opt b { display: inline; }
/* 11-04 回复评论 · 追加奖励 */
.cp-xr { margin-top: 14px; padding: 12px 14px; border: 1px dashed #e8a33d; border-radius: 10px; background: #fffaf0; }
.cp-xr-table input[type="number"] { width: 90px; }
.cp-xr-table input[data-cp-xr-name] { min-width: 180px; }
.cp-xr-table input[data-cp-xr-req] { min-width: 220px; width: 100%; }
.cp-xr-table td, .cp-xr-table th { vertical-align: middle; }
.cp-xr-tag { display: inline-block; background: #fff1d6; color: #9a5b00; border-radius: 4px; font-size: 11px; padding: 0 6px; line-height: 18px; }
.cp-apply .cp-shot + .cp-shot { margin-left: 4px; }
.cp-style b .cp-style-tip { display: inline; color: #1f5c45; font-weight: 600; }
