.card {
  --down: #f28b82;
  --up: #2fb36d;
  --txt: #1f2937;
  --muted: #6b7280;
  width: 300px;
  box-sizing: border-box;
  border-radius: 18px;
  padding: 10px;
  background: linear-gradient(180deg, #f5fbff, #eef6ff);
  border: 1px solid #e6eef7;
  box-shadow: 0 10px 15px rgba(23, 58, 94, 0.08);
  font: 14px/1.35 Inter, sans-serif;
  color: var(--txt);
}
.card__title {
  margin: 0 0 8px;
  text-align: center;
  font-weight: 700;
  color: #222222;
}

.card__delta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-wrap: nowrap;
  gap: 8px;
  margin: 6px 0 2px;
  font-weight: 700;
  font-size: 18px;
}
.card__delta svg {
  width: 18px;
  height: 18px;
}
.card__delta-sub {
  text-align: center;
  font-size: 12px;
  margin-bottom: 10px;
}

.card.is-down .card__delta,
.card.is-down .card__delta svg,
.card.is-down .card__delta-sub {
  color: var(--down);
  fill: currentColor;
}

.card.is-up .card__delta,
.card.is-up .card__delta svg,
.card.is-up .card__delta-sub {
  color: var(--up);
  fill: currentColor;
}

.card.is-up .card__delta svg {
  transform: rotate(180deg);
}

.card__delta-sub {
  text-align: center;
  font-size: 12px;
  color: var(--up);
  margin-bottom: 10px;
}

.card__stats {
  display: flex;
  flex-direction: column;
  gap: 10px 16px;
  margin: 8px 0 5px;
  padding: 0 6px;
}
.card__stats__row {
  display: flex;
  justify-content: space-between;
}
.card__stats dt {
  font-weight: 600;
  color: #222222;
}
.card__stats dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

@media (max-width: 650px) {
  .card {
    max-width: 360px;
    width: 100%;
  }
}
