/* What the night can field, drawn as one bar per role.

   The mains sit *inside* the willing bar rather than beside it, because they
   are a subset of them: two bars side by side read as two unrelated figures.
   Ink rather than mint — nobody has won anything by maining jungle, and mint
   means a result everywhere else. */

.mix-roles__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.mix-roles__item {
  display: flex;
  align-items: center;
  gap: var(--space-smd);
  padding: 8px var(--space-md);
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  font-size: var(--text-base);
}

/* A role nobody will play at all. The same dashed hairline the unplaceable
   RSVP row wears: something is missing rather than lost, and coral means a
   result. */
.mix-roles__item--empty {
  background: var(--surface-sunk);
  border-style: dashed;
  box-shadow: none;
  color: var(--text-secondary);
}

.mix-roles__label {
  flex: 0 0 5.5rem;
  font-weight: 500;
}

.mix-roles__bar {
  flex: 1 1 auto;
  min-width: 0;
  height: 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunk);
  overflow: hidden;
}

.mix-roles__fill {
  display: block;
  height: 100%;
  border-radius: var(--radius-sm);
  background: var(--ink-100);
}

.mix-roles__mains {
  display: block;
  height: 100%;
  border-radius: var(--radius-sm);
  background: var(--ink-700);
}

.mix-roles__counts {
  flex: 0 0 auto;
  display: flex;
  gap: var(--space-sm);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.mix-roles__main-count {
  color: var(--text-primary);
}

.mix-roles__willing-count {
  color: var(--text-tertiary);
}

.mix-roles__note {
  margin: var(--space-sm) 0 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

@media (max-width: 560px) {
  .mix-roles__item {
    flex-wrap: wrap;
  }

  .mix-roles__bar {
    order: 3;
    flex-basis: 100%;
  }
}
