/* ── Active makers ── */
.active-makers {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.makers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.maker-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.maker-card:hover {
  border-color: rgba(30, 58, 95, 0.25);
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.07);
}

.maker-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.maker-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, #2e6da4 100%);
}

.maker-card__info {
  flex: 1;
  min-width: 0;
}

.maker-card__name {
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.maker-card__since {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.maker-card__streak {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.5rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.maker-card__streak--active {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(239, 68, 68, 0.08));
  color: #c2410c;
  border: 1px solid rgba(249, 115, 22, 0.22);
}

.maker-card__streak--inactive {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(99, 102, 241, 0.07));
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.maker-card__product {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.maker-card__product-name {
  font-size: 0.8125rem;
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  color: var(--text);
}

.maker-card__product-name:hover {
  text-decoration: underline;
}

.maker-card__product-cat {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.5rem;
  border-radius: 99px;
  background: var(--primary-light);
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.maker-card__stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.maker-card__stat {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.makers__footer {
  text-align: center;
}

/* Skeleton state */
.maker-card--skeleton .maker-card__avatar {
  background: var(--border);
}

.maker-card--skeleton .maker-card__name,
.maker-card--skeleton .maker-card__since,
.maker-card--skeleton .maker-card__product,
.maker-card--skeleton .maker-card__stat {
  background: var(--border);
  border-radius: 4px;
  color: transparent;
  height: 0.875rem;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@media (prefers-color-scheme: dark) {
  :root:not(.light):not([data-theme="light"]) .maker-card__streak--active { color: #fb923c; }
  :root:not(.light):not([data-theme="light"]) .maker-card__streak--inactive { color: #38bdf8; }
}
