/* My Wins on the DSP's home page: a small card under the week's hours with
   the note streak, the training to do next and the latest win. It stays
   quiet and compact so it never crowds out Clock In. */
.my-wins {
  --wins-ink: #1f313b;
  --wins-soft-ink: #4c5a62;
  --wins-tint: #f5f1ea;
  --wins-fresh: #fff4d6;
  --wins-overdue: #fdecea;
  --wins-overdue-ink: #8a1c12;
  --wins-link: #1b6b43;

  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
  border-radius: 0.75rem;
  background: #fefbf7;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
  color: var(--wins-ink);

  @media (min-width: 768px) { padding: 1.25rem 2.25rem 1.5rem; }
}
.my-wins__title {
  font-size: 1rem;
  font-weight: 600;

  @media (min-width: 768px) { font-size: 1.25rem; }
}
.my-wins__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  @media (min-width: 1024px) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.my-wins__item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.625rem;
  background: var(--wins-tint);
  font-size: 0.875rem;
  color: var(--wins-soft-ink);

  strong { font-weight: 600; color: var(--wins-ink); }

  @media (min-width: 768px) { font-size: 0.9375rem; }
}
.my-wins__item--fresh { background: var(--wins-fresh); }
.my-wins__item--overdue {
  background: var(--wins-overdue);

  strong { color: var(--wins-overdue-ink); }
}
.my-wins__icon { flex-shrink: 0; width: 1.25rem; text-align: center; }
.my-wins__nudge { display: flex; flex-direction: column; gap: 0.125rem; }
.my-wins__link {
  align-self: flex-start;
  margin-top: 0.25rem;
  font-weight: 600;
  color: var(--wins-link);
  text-decoration: underline;
}

/* The cheer that pops up for a note just written: small, warm and brief. */
.cheer-toast {
  background: #fff4d6;
  color: #1f313b;
  font-weight: 500;
}
