/* DARK MODE PROFESIONAL - WIDGET PROFILE */
.jfy-profile-widget.dark-mode-pro {
  background: linear-gradient(155deg, #1b1d26 0%, #12141c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 22px !important;
  color: #f8fafc !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42) !important;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
  -webkit-font-smoothing: antialiased !important;
}

.jfy-profile-widget.dark-mode-pro * {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
  box-sizing: border-box !important;
}

.jfy-profile-widget.dark-mode-pro:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.52) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.jfy-profile-widget.dark-mode-pro.is-curator-guardian {
  border-color: rgba(16, 185, 129, 0.28) !important;
}

.jfy-profile-widget.dark-mode-pro.is-curator-senior_curator {
  border-color: rgba(56, 189, 248, 0.32) !important;
}

.jfy-profile-widget.dark-mode-pro.is-curator-grand_curator {
  border-color: rgba(251, 191, 36, 0.34) !important;
}

/* Header */
.jfy-profile-header {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-bottom: 20px !important;
}

.jfy-avatar-wrap {
  position: relative !important;
  width: 64px !important;
  height: 64px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.jfy-profile-avatar {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #24bd00 !important;
  padding: 2px !important;
  background: #0f1117 !important;
  display: block !important;
  margin: 0 !important;
}

/* Exclusive Curator Avatar Rings */
.jfy-profile-avatar.jfy-curator-ring-guardian {
  border: 2px solid #10b981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18), 0 0 14px rgba(16, 185, 129, 0.26) !important;
}

.jfy-profile-avatar.jfy-curator-ring-senior {
  border: 2px solid #38bdf8 !important;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2), 0 0 14px rgba(56, 189, 248, 0.32) !important;
}

.jfy-profile-avatar.jfy-curator-ring-grand {
  border: none !important;
  padding: 2.5px !important;
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 55%, #b45309 100%) !important;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.18), 0 0 16px rgba(245, 158, 11, 0.34) !important;
}

/* Crest Icon Locked Bottom-Right */
.jfy-avatar-crest {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  right: -2px !important;
  bottom: -2px !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0f1117 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.65) !important;
  z-index: 2 !important;
}

.jfy-avatar-crest svg {
  width: 11px !important;
  height: 11px !important;
  display: block !important;
}

.jfy-avatar-crest.jfy-tier-guardian {
  color: #34d399 !important;
  border: 1.5px solid #10b981 !important;
}

.jfy-avatar-crest.jfy-tier-senior {
  color: #38bdf8 !important;
  border: 1.5px solid #38bdf8 !important;
}

.jfy-avatar-crest.jfy-tier-grand {
  color: #fbbf24 !important;
  border: 1.5px solid #f59e0b !important;
}

/* User Name, Role & Curator Pill */
.jfy-profile-info {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.jfy-profile-name-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  line-height: 1.2 !important;
}

.jfy-profile-name {
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: #f8fafc !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.jfy-profile-name:hover {
  color: #ffffff !important;
}

.jfy-verified-icon {
  width: 16px !important;
  height: 16px !important;
  color: #38bdf8 !important;
  flex-shrink: 0 !important;
}

.jfy-profile-role {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.jfy-role-icon {
  width: 15px !important;
  height: 15px !important;
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
}

.jfy-role-name {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #cbd5e1 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

.jfy-role-pts {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
  padding: 1px 7px !important;
  line-height: 1.45 !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
}

/* Curator Title Pill */
.jfy-curator-badge-row {
  display: flex !important;
  align-items: center !important;
  margin-top: 2px !important;
}

.jfy-curator-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.jfy-curator-pill svg {
  width: 12px !important;
  height: 12px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.jfy-curator-pill-text {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.25px !important;
  line-height: 1.2 !important;
  color: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}

.jfy-curator-pill.jfy-tier-guardian {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(52, 211, 153, 0.35) !important;
}

.jfy-curator-pill.jfy-tier-senior {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.38) !important;
}

.jfy-curator-pill.jfy-tier-grand {
  color: #fde68a !important;
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(251, 191, 36, 0.4) !important;
}

/* Primary Stats Card (Chords / Views) */
.jfy-profile-stats {
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  background: rgba(0, 0, 0, 0.24) !important;
  border-radius: 12px !important;
  padding: 14px 12px !important;
  margin-bottom: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.jfy-stat-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  width: 46% !important;
}

.jfy-stat-value {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  line-height: 1.2 !important;
  font-variant-numeric: tabular-nums !important;
}

.jfy-stat-label {
  font-size: 10.5px !important;
  font-weight: 500 !important;
  color: #8b8b9e !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  line-height: 1.2 !important;
}

.jfy-stat-divider {
  width: 1px !important;
  height: 30px !important;
  background: rgba(255, 255, 255, 0.09) !important;
}

/* Refined Curator Stats Strip (Matching Enterprise Hierarchy) */
.jfy-curator-strip {
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  background: rgba(0, 0, 0, 0.24) !important;
  border-radius: 12px !important;
  padding: 12px 10px !important;
  margin-bottom: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.jfy-curator-strip.jfy-tier-guardian {
  border-color: rgba(16, 185, 129, 0.22) !important;
}

.jfy-curator-strip.jfy-tier-senior {
  border-color: rgba(56, 189, 248, 0.24) !important;
}

.jfy-curator-strip.jfy-tier-grand {
  border-color: rgba(251, 191, 36, 0.24) !important;
}

.jfy-curator-metric {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  width: 48% !important;
}

.jfy-curator-metric-val {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  line-height: 1.2 !important;
  font-variant-numeric: tabular-nums !important;
}

.jfy-curator-strip.jfy-tier-guardian .jfy-curator-metric-val.is-accent {
  color: #34d399 !important;
}

.jfy-curator-strip.jfy-tier-senior .jfy-curator-metric-val.is-accent {
  color: #38bdf8 !important;
}

.jfy-curator-strip.jfy-tier-grand .jfy-curator-metric-val.is-accent {
  color: #fde68a !important;
}

.jfy-curator-metric-label {
  font-size: 10px !important;
  font-weight: 500 !important;
  color: #8b8b9e !important;
  text-transform: uppercase !important;
  letter-spacing: 0.65px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.jfy-curator-metric-divider {
  width: 1px !important;
  height: 28px !important;
  background: rgba(255, 255, 255, 0.09) !important;
}

/* Details List */
.prof-details {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 16px !important;
  margin-bottom: 18px !important;
}

.prof-detail-item {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  color: #9ca3af !important;
  line-height: 1.35 !important;
}

.prof-detail-item svg {
  width: 15px !important;
  height: 15px !important;
  fill: #6b7280 !important;
  flex-shrink: 0 !important;
}

.prof-detail-item a {
  color: #38bdf8 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.prof-detail-item a:hover {
  text-decoration: underline !important;
}

/* Primary CTA Button */
.jfy-profile-btn {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  background: #24bd00 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 11px 14px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.2px !important;
  transition: background 0.25s ease, transform 0.2s ease !important;
  border: none !important;
}

.jfy-profile-btn:hover {
  background: #1e9e00 !important;
}