/* Brique C — pastille de score item dans la catalogue */
.item-card {
  position: relative;
}
.item-card .item-score {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-sans, system-ui, sans-serif);
  color: #fff;
  background: var(--niveau-null, #cfcfcf);
  border: 1px solid rgba(0,0,0,0.06);
  pointer-events: none;
  user-select: none;
  transition: background 120ms ease;
}
.item-card .item-score.is-ok      { background: #2e9c5b; }
.item-card .item-score.is-partial { background: #e0902f; }
.item-card .item-score.is-redo    { background: #c8443f; }
.item-card .item-score.is-empty   { background: #cfcfcf; color: #6c6c6c; }

/* Mode nuit (classe body.dark-mode) */
body.dark-mode .item-card .item-score {
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .item-card .item-score.is-ok      { background: #5fb780; }
body.dark-mode .item-card .item-score.is-partial { background: #f0a849; }
body.dark-mode .item-card .item-score.is-redo    { background: #db6e6a; }
body.dark-mode .item-card .item-score.is-empty   { background: #4a4a4a; color: #aaa; }
