.affiliate-creative-performance {
  display: grid;
  gap: 18px;
}

.creative-performance-note,
.creative-performance-status {
  margin: 0;
  color: #6e665d;
  font-size: .88rem;
  line-height: 1.5;
}

.audience-performance-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.audience-summary-card {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(40, 34, 28, .09);
  border-radius: 13px;
  background: #f8f5ef;
}

.audience-summary-card span {
  color: #7e746a;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.audience-summary-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #201c18;
  font-size: .92rem;
}

.audience-summary-card small {
  color: #5f574f;
  font-size: .75rem;
}

.audience-summary-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #746b62;
  font-size: .8rem;
}

.creative-performance-list {
  display: grid;
  gap: 10px;
}

.creative-performance-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.45fr) repeat(5, minmax(78px, .7fr)) minmax(125px, .9fr);
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(40, 34, 28, .09);
  border-radius: 14px;
  background: #fffdf9;
}

[data-audience-list] .creative-performance-row {
  grid-template-columns: minmax(180px, 1.35fr) repeat(6, minmax(70px, .66fr)) minmax(120px, .85fr);
}

.creative-performance-identity {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.creative-performance-identity strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .96rem;
  color: #211d19;
}

.creative-performance-identity small {
  color: #8a8178;
  font-size: .72rem;
  letter-spacing: .06em;
  font-weight: 750;
}

.creative-performance-metric {
  display: grid;
  gap: 3px;
}

.creative-performance-metric span {
  color: #81786f;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .035em;
  font-weight: 700;
}

.creative-performance-metric strong {
  color: #171411;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.creative-performance-result {
  justify-self: end;
  text-align: right;
  color: #675f56;
  font-size: .76rem;
  font-weight: 700;
}

@media (max-width: 1160px) {
  .audience-performance-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creative-performance-row,
  [data-audience-list] .creative-performance-row {
    grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(76px, .7fr));
  }

  .creative-performance-result {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .affiliate-creative-performance {
    gap: 14px;
  }

  .audience-performance-summary {
    grid-template-columns: 1fr;
  }

  .creative-performance-row,
  [data-audience-list] .creative-performance-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
    padding: 14px;
  }

  .creative-performance-identity,
  .creative-performance-result {
    grid-column: 1 / -1;
  }

  .creative-performance-identity strong,
  .audience-summary-card strong {
    white-space: normal;
  }

  .creative-performance-result {
    padding-top: 8px;
    border-top: 1px solid rgba(40, 34, 28, .07);
  }
}
