/* Level / SVIP / VIP chips — profile, party host, creator cards */
.ap-profile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  vertical-align: middle;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

.ap-profile-badge--level {
  color: #1e3a8a;
  background: linear-gradient(135deg, #bfdbfe, #60a5fa);
  border-color: rgba(37, 99, 235, 0.45);
}

/* SVIP 1–6: gold chip, dark text (max readability) */
.ap-profile-badge--svip-core {
  color: #1c1917 !important;
  background: linear-gradient(135deg, #fef08a 0%, #fbbf24 50%, #f59e0b 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.22);
  text-shadow: none;
}

/* SVIP 7–12: deep purple, white text, gold rim */
.ap-profile-badge--svip-mid {
  color: #ffffff !important;
  background: linear-gradient(135deg, #4c1d95, #7c3aed) !important;
  border: 1px solid #fcd34d !important;
  box-shadow: 0 2px 8px rgba(76, 29, 149, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* SVIP 13+: elite dark + gold */
.ap-profile-badge--svip-elite {
  color: #fef3c7 !important;
  background: linear-gradient(135deg, #1e1b4b 0%, #581c87 45%, #92400e 100%) !important;
  border: 1px solid #fbbf24 !important;
  box-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ap-profile-badge--vip {
  color: #78350f;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  border-color: rgba(245, 158, 11, 0.55);
}

.profile-badge-row[hidden],
.profile-status-badges[hidden],
#profileBadgeRow[hidden] {
  display: none !important;
}

.profile-status-badges,
.party-host-badges,
.profile-badge-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin: 8px auto 0;
  min-height: 24px;
  width: 100%;
  max-width: min(420px, 100%);
  padding: 0 8px;
  box-sizing: border-box;
}

.social-profile-hero .profile-status-badges {
  max-width: min(360px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.party-host-badges {
  justify-content: flex-start;
  margin: 4px 0 0;
  width: 100%;
  max-width: 100%;
  flex: 1 1 100%;
}

.party-host-name-row {
  flex-wrap: wrap;
}

.party-host-name-row .party-host-badges {
  margin-top: 2px;
  order: 3;
}

.party-cp-banner:not([hidden]) {
  display: flex !important;
}

.party-cp-couple-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.party-cp-couple-mini img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.party-cp-couple-mini .party-cp-ring-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
}

.party-cp-couple-mini-label {
  font-size: 10px;
  font-weight: 800;
  color: #fbcfe8;
  letter-spacing: 0.04em;
}
