/* FCC Family Games - Phase 7C.4 challenge cards */
.fcc-games-challenge-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 4px solid rgba(196, 93, 97, 0.78);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 224, 137, 0.18));
}

.fcc-games-challenge-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fcc-games-challenge-chip,
.fcc-games-challenge-stars {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.fcc-games-challenge-chip {
  padding: 0 10px;
  background: rgba(122, 214, 194, 0.22);
  color: #245d55;
  text-transform: uppercase;
}

.fcc-games-challenge-stars {
  min-width: 46px;
  background: rgba(255, 224, 137, 0.36);
  color: #84620a;
}

.fcc-games-challenge-card__prompt {
  margin: 0;
  color: #23303e;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.32;
}

.fcc-games-challenge-card__meta {
  margin: 0;
  color: rgba(35, 47, 62, 0.66);
  font-size: 13px;
  font-weight: 700;
}

.fcc-games-challenge-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fcc-games-challenge-card__actions .fcc-games-btn {
  min-height: 56px;
}

.fcc-games-challenge-message {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(196, 93, 97, 0.28);
  border-radius: 8px;
  background: rgba(255, 190, 198, 0.2);
  color: #843c40;
  font-size: 13px;
  font-weight: 800;
}

.fcc-games-challenge-card--learning { border-left-color: #4b6fd0; }
.fcc-games-challenge-card--teamwork { border-left-color: #2f7d73; }
.fcc-games-challenge-card--gratitude { border-left-color: #b78d12; }
.fcc-games-challenge-card--reflection { border-left-color: #8f5cc2; }
.fcc-games-challenge-card--helpfulness { border-left-color: #4b7751; }
.fcc-games-challenge-card--movement-light { border-left-color: #3f6fb5; }

@media (max-width: 520px) {
  .fcc-games-challenge-card__head,
  .fcc-games-challenge-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .fcc-games-challenge-chip,
  .fcc-games-challenge-stars {
    width: 100%;
  }
}
