.top-producers-widget,
.top-producers-widget *,
.top-producers-widget *::before,
.top-producers-widget *::after {
  box-sizing: border-box;
}

.top-producers-widget {
  --tpg-rank-color: #1a1a1a;
  --tpg-divider: #e2e2e2;
  --tpg-name: #000000;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.tpg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.5rem;
  width: 100%;
}

@media (max-width: 900px) {
  .tpg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tpg-grid { grid-template-columns: 1fr; }
}

.tpg-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--tpg-divider);
  text-decoration: none;
  color: inherit;
  width: 100%;
  min-width: 0;
}

.tpg-rank {
  font-weight: 700;
  font-size: 1.6rem;
  color: #8a8a8a;
  min-width: 2.2rem;
  flex-shrink: 0;
}

.tpg-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #eee;
  flex-shrink: 0;
}

.tpg-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--tpg-name);
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tpg-arrow {
  border: 1px solid var(--tpg-rank-color);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tpg-rank-color);
  flex-shrink: 0;
}

.tpg-empty,
.tpg-loading {
  padding: 2rem 0;
  color: #6b6b6b;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .tpg-row { gap: 0.65rem; padding: 0.9rem 0; }
  .tpg-rank { font-size: 1.3rem; min-width: 1.8rem; }
  .tpg-photo { width: 44px; height: 44px; }
  .tpg-name { font-size: 0.85rem; }
  .tpg-arrow { width: 24px; height: 24px; }
}
