/* GRID */
.k-awards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .k-awards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .k-awards { grid-template-columns: 1fr 1fr 1fr; } }

/* CARD – pas de fond */
.k-award-card {
  display: flex;
  gap: 16px;
  padding: 14px;
  border: 1px solid transparent; /* sobre, dark */
  border-radius: 14px;
  background: transparent;   /* no background */
  align-items: stretch;
  color: #e5e7eb;            /* texte clair sur fond site */
}

/* MEDIA (25%, carré) */
.k-award-media {
  position: relative;
  width: 25%;
  min-width: 140px;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;   /* pas de fond */
  flex-shrink: 0;
}
.k-award-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* COINS OVERLAY */
.k-award-coins {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 11px;
}

/* BODY */
.k-award-body {
  width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;                   /* rapproché */
}

.k-award-title {
  font-size: 18px;
  line-height: 1.2;
  color: inherit;             /* même couleur que le texte courant */
}

/* Description plus petite, même couleur, collée au titre */
.k-award-desc {
  margin-top: 2px;
  font-size: 13px;
  color: inherit;
}

.k-award-line {
  display: block;
  font-size: 14px;
  color: inherit;
}

/* LEADERS */
.k-award-line--leaders {
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}
.k-viewer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
/* Bordure par défaut demandée: #e9e9e9 */
.k-viewer-avatar {
  display:inline-flex;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid #e9e9e9;
}
.k-viewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
/* Le nom prend la couleur de la bordure (injecté inline via style=) */
.k-viewer-name {
  font-weight: 600;
}

/* SOFT ERROR — pas de fond, juste une bordure + couleur */
.k-award-error {
  margin-top: 6px;
  padding: 8px 10px;
  background: transparent;      /* no background */
  border: 1px solid #b45309;     /* amber-600 */
  color: #f59e0b;                /* amber-500 */
  border-radius: 8px;
  font-size: 13px;
}
