/* One unmistakable tier palette across sign-up, interest, committed rosters, and directory cards. */
.migration-tier-badge.migration-tier-regular,
.v16-tier-row.v16-tier-regular .v16-member-rank .badge:first-child,
.v16-player-card.v16-tier-regular .v16-member-rank .badge:first-child {
  background: #e2e8f0 !important;
  color: #263449 !important;
  border: 1px solid #64748b !important;
}
.migration-tier-badge.migration-tier-medium,
.v16-tier-row.v16-tier-medium .v16-member-rank .badge:first-child,
.v16-player-card.v16-tier-medium .v16-member-rank .badge:first-child {
  background: #bfdbfe !important;
  color: #123a8a !important;
  border: 1px solid #2563eb !important;
}
.migration-tier-badge.migration-tier-advanced,
.v16-tier-row.v16-tier-advanced .v16-member-rank .badge:first-child,
.v16-player-card.v16-tier-advanced .v16-member-rank .badge:first-child {
  background: #e9d5ff !important;
  color: #581c87 !important;
  border: 1px solid #9333ea !important;
}
.migration-tier-badge.migration-tier-elite,
.v16-tier-row.v16-tier-elite .v16-member-rank .badge:first-child,
.v16-player-card.v16-tier-elite .v16-member-rank .badge:first-child {
  background: #fde68a !important;
  color: #78350f !important;
  border: 1px solid #d97706 !important;
}
.migration-tier-badge.migration-tier-unscored {
  background: #e2e8f0 !important;
  color: #334155 !important;
  border: 1px solid #94a3b8 !important;
}

.v16-member-row.v16-tier-regular,
.v16-player-card.v16-tier-regular,
.v17-owner-member.v17-owner-tier-regular,
.v19-member-card.v19-tier-regular,
.v8-tier-row.v8-tier-regular,
.player-identity-card.v9-tier-regular,
.v24-direct-card.v24-tier-regular { --member-accent: #64748b !important; --identity-accent: #64748b !important; --v24-tier-accent: #64748b !important; background-color: #f1f5f9 !important; border-left-color: #64748b !important; }
.v16-member-row.v16-tier-medium,
.v16-player-card.v16-tier-medium,
.v17-owner-member.v17-owner-tier-medium,
.v19-member-card.v19-tier-medium,
.v8-tier-row.v8-tier-medium,
.player-identity-card.v9-tier-medium,
.v24-direct-card.v24-tier-medium { --member-accent: #2563eb !important; --identity-accent: #2563eb !important; --v24-tier-accent: #2563eb !important; background-color: #eff6ff !important; border-left-color: #2563eb !important; }
.v16-member-row.v16-tier-advanced,
.v16-player-card.v16-tier-advanced,
.v17-owner-member.v17-owner-tier-advanced,
.v19-member-card.v19-tier-advanced,
.v8-tier-row.v8-tier-advanced,
.player-identity-card.v9-tier-advanced,
.v24-direct-card.v24-tier-advanced { --member-accent: #9333ea !important; --identity-accent: #9333ea !important; --v24-tier-accent: #9333ea !important; background-color: #faf5ff !important; border-left-color: #9333ea !important; }
.v16-member-row.v16-tier-elite,
.v16-player-card.v16-tier-elite,
.v17-owner-member.v17-owner-tier-elite,
.v19-member-card.v19-tier-elite,
.v8-tier-row.v8-tier-elite,
.player-identity-card.v9-tier-elite,
.v24-direct-card.v24-tier-elite { --member-accent: #d97706 !important; --identity-accent: #d97706 !important; --v24-tier-accent: #d97706 !important; background-color: #fffbeb !important; border-left-color: #d97706 !important; }

.v8-tier-row.v8-tier-regular,
.v8-tier-row.v8-tier-medium,
.v8-tier-row.v8-tier-advanced,
.v8-tier-row.v8-tier-elite { background-image: none !important; }
.v16-tier-box.v17-tier-regular { background: #e2e8f0 !important; border-color: #64748b !important; }
.v16-tier-box.v17-tier-medium { background: #dbeafe !important; border-color: #2563eb !important; }
.v16-tier-box.v17-tier-advanced { background: #f3e8ff !important; border-color: #9333ea !important; }
.v16-tier-box.v17-tier-elite { background: #fef3c7 !important; border-color: #d97706 !important; }

.v16-interest-card,
.v17-owner-body,
.v19-governance-body,
.v19-governance-section,
.v19-member-card,
.v17-owner-member { min-width: 0; max-width: 100%; box-sizing: border-box; }
.v19-member-stats,
.v17-owner-member-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 780px) {
  .v19-member-stats,
  .v17-owner-member-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v19-member-stats > span:last-child,
  .v17-owner-member-stats > span:last-child { grid-column: 1 / -1; }
  .v19-add-player,
  .v17-owner-add { grid-template-columns: minmax(0, 1fr); }
}
