/* ============================================================
   Backlog — Public showcase / profile page
   ============================================================ */

/* ── Profile header ──────────────────────────────────────────── */

.showcase-header {
  display: flex;
  align-items: flex-start;
  gap: var(--s-6);
  margin-bottom: var(--s-10);
}

.showcase-header__avatar {
  width: 88px;
  height: 88px;
  border-radius: var(--r-full);
  object-fit: cover;
  border: 3px solid var(--border);
  flex-shrink: 0;
}

.showcase-header__avatar-placeholder {
  width: 88px;
  height: 88px;
  border-radius: var(--r-full);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-contrast);
  flex-shrink: 0;
  border: 3px solid var(--accent);
}

.showcase-header__info {
  flex: 1;
  min-width: 0;
}

.showcase-header__username {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.showcase-header__bio {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--s-2);
  line-height: 1.5;
}

.showcase-header__since {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--s-3);
}

/* ── Stats row ───────────────────────────────────────────────── */

.showcase-stats {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-10);
}

.showcase-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-1);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-6);
  min-width: 80px;
  text-decoration: none;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.showcase-stat:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
  color: inherit;
}

.showcase-stat__value {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.showcase-stat__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Showcase sections ───────────────────────────────────────── */

.showcase-section {
  margin-bottom: var(--s-12);
}

.showcase-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-4);
}

.showcase-section__title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.showcase-section__more {
  font-size: var(--text-xs);
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.showcase-section__more:hover { color: var(--text-primary); }

/* ── Statistics section ──────────────────────────────────────── */

.showcase-stats-section {
  margin-top: var(--s-4);
  padding-top: var(--s-10);
  border-top: 1px solid var(--border);
}

.showcase-big-stats {
  display: flex;
  gap: var(--s-8);
  flex-wrap: wrap;
  margin-bottom: var(--s-8);
}

.showcase-big-stat {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.showcase-big-stat__value {
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.showcase-big-stat__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Chart cards — enhanced for showcase context */

.showcase-stats-section .charts-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-4);
}

.showcase-stats-section .chart-card {
  border-radius: var(--r-xl);
  border-color: var(--border-hover);
  padding: var(--s-5) var(--s-6);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.showcase-stats-section .chart-card:hover {
  box-shadow: var(--shadow-md);
}

.showcase-stats-section .chart-card__title {
  letter-spacing: 0.08em;
  margin-bottom: var(--s-5);
}

/* Thicker, more prominent type bars */

.showcase-stats-section .type-row {
  margin-bottom: var(--s-4);
}

.showcase-stats-section .type-row:last-child {
  margin-bottom: 0;
}

.showcase-stats-section .type-row__dot {
  width: 10px;
  height: 10px;
}

.showcase-stats-section .type-row__label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.showcase-stats-section .type-row__count {
  font-size: var(--text-xs);
  font-weight: 500;
}

.showcase-stats-section .type-row__bar {
  height: 5px;
  margin-top: var(--s-2);
}

/* ── Private profile ─────────────────────────────────────────── */

.private-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  padding: var(--s-20) var(--s-8);
  text-align: center;
}

.private-profile__icon {
  font-size: 3rem;
  opacity: 0.25;
}
