/* 小C看板（xiaoc.js）；统计卡、筛选栏沿用差评明细的 .ap-* */
.xc .ap-stat.bad b { color: #b42318; }
.xc-list { display: flex; flex-direction: column; gap: 10px; }
.xc-todo { position: relative; overflow: hidden; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.xc-todo::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--st, transparent); opacity: .55; }
.xc-todo.st-wait { --st: #f79009; } .xc-todo.st-ok { --st: #12b76a; } .xc-todo.st-stop { --st: #98a2b3; } .xc-todo.st-bad { --st: #f04438; }
.xc-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.xc-h > b { font-size: 15px; }
.xc-cat { font-size: 11.5px; line-height: 20px; padding: 0 8px; border-radius: 10px; background: rgba(122,90,248,.12); color: #5925dc; }
.xc-who { margin-left: auto; font-size: 12px; color: var(--sub); display: inline-flex; align-items: center; gap: 4px; }
.xc-who .i { width: 13px; height: 13px; }
.xc-old { font-style: normal; color: #b42318; }
.xc-g { font-size: 12px; color: var(--sub); }
.xc-unbound { color: #b54708; font-weight: 400; font-size: 13px; }
.xc-title { font-weight: 600; }
.xc-items { margin: 0; padding-left: 20px; line-height: 1.75; }
.xc-done { font-size: 12.5px; color: var(--sub); }
.xc-f { display: flex; align-items: center; gap: 8px; }
.xc-more { font-size: 12.5px; color: var(--sub); cursor: pointer; }
.xc-btns { margin-left: auto; display: flex; gap: 6px; }
.xc-msgs { display: none; border-top: 1px dashed var(--line2); padding-top: 8px; flex-direction: column; gap: 10px; }
.xc-todo.open .xc-msgs { display: flex; }
.xc-at { font-size: 12px; margin-bottom: 2px; }
.xc-m { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.6; align-items: baseline; }
.xc-m > b { flex: none; min-width: 3em; color: var(--fg2); font-weight: 600; }
.xc-m > span { white-space: pre-wrap; word-break: break-word; }
.xc-me > b { color: #5925dc; }
.xc-tag { flex: none; font-size: 11px; line-height: 18px; padding: 0 6px; border-radius: 9px; background: var(--bg2); color: var(--fg2); }
.xc-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fg2); margin-left: 8px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .xc-cat { color: #bdb4fe; }
  :root:not([data-theme="light"]) .xc-me > b { color: #bdb4fe; }
  :root:not([data-theme="light"]) .xc .ap-stat.bad b, :root:not([data-theme="light"]) .xc-old { color: #fda29b; }
  :root:not([data-theme="light"]) .xc-unbound { color: #fec84b; }
}

/* 完成 / 不用做 气泡提示 */
.xc-bubble { position: fixed; z-index: 95; display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; pointer-events: none; background: var(--bb);
  box-shadow: 0 8px 24px rgba(0,0,0,.18); animation: xcPop .38s cubic-bezier(.2,1.4,.4,1) both; transition: opacity .35s, transform .35s; }
.xc-bubble svg { width: 15px; height: 15px; }
.xc-bubble::after { content: ''; position: absolute; top: 100%; left: var(--ax, 50%); transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--bb); }
.xc-bubble.ok { --bb: #15874a; }
.xc-bubble.skip { --bb: #6b7280; }
.xc-bubble.back { --bb: #d97706; }
.xc-bubble.out { opacity: 0; transform: translateY(-14px); }
@keyframes xcPop { from { opacity: 0; transform: translateY(8px) scale(.6); } to { opacity: 1; transform: none; } }
.xc-todo.xc-leaving { transition: opacity .5s .3s, transform .5s .3s; opacity: .35; transform: scale(.985); }

/* 群回复率 */
.xs-note { font-size: 12.5px; color: var(--sub); margin: 2px 2px 8px; line-height: 1.6; }
.xs-h { font-size: 15px; margin: 18px 2px 8px; }
.xs-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--sub); margin: 0 2px; }
.xs-legend span { display: inline-flex; align-items: center; gap: 5px; }
.xs-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.xs-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; min-width: 120px; gap: 1px; }
.xs-bar i { display: block; height: 10px; }
.xs-bar .ok, .xs-legend .ok { background: #12b76a; } .xs-bar .wait, .xs-legend .wait { background: #f79009; }
.xs-bar .bad, .xs-legend .bad { background: #f04438; } .xs-bar .run, .xs-legend .run { background: #7a5af8; }
.xs-people { display: flex; flex-wrap: wrap; gap: 8px; }
.xs-p { padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 150px; }
.xs-p span { font-size: 18px; font-weight: 600; }
.xs-p em { font-style: normal; font-size: 12px; color: var(--sub); }
.xs-g { font-size: 12px; font-weight: 400; }
.xs-silent td { background: rgba(240,68,56,.05); }
.xs-dim td { opacity: .6; }
