/* ============================================================
   DASHBOARD.CSS — MNUC MARKET
   Mobile-first · Brand-strict · Funded-product quality
   ============================================================ */

.dashboard-page { background: var(--bg); min-height: 100vh; }
.hidden { display: none !important; }

/* ============================================================
   AUTH GATE
   ============================================================ */
.auth-gate-wrap { padding: 80px 20px; text-align: center; }
.auth-gate-card {
  max-width: 400px; margin: 0 auto;
  background: var(--surface);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.auth-gate-card h2 {
  font-family: var(--ff-head);
  color: var(--mnuc-navy);
  margin-bottom: 10px;
  font-size: 1.4rem;
}
.auth-gate-card p { color: var(--text-muted); margin-bottom: 20px; }

/* ============================================================
   DASHBOARD LAYOUT
   ============================================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 68px);
}

/* ============================================================
   SIDEBAR (Desktop)
   ============================================================ */
.sidebar {
  background: var(--mnuc-navy);
  color: var(--white);
  padding: 28px 16px;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 99px; }

.sidebar-user {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sidebar-user-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--mnuc-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  overflow: hidden;
  border: 3px solid rgba(201,162,39,0.4);
}
.sidebar-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-user-name {
  font-family: var(--ff-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.sidebar-user-role {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.sidebar-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin: 20px 0 6px 12px;
  font-weight: 700;
  font-family: var(--ff-head);
}
.sidebar-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 16px 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  border-left: 3px solid transparent;
  margin-bottom: 2px;
}
.sidebar-link svg {
  width: 20px; height: 20px;
  stroke-width: 1.8;
  flex-shrink: 0;
}
.sidebar-link:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.sidebar-link.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-left: 3px solid var(--mnuc-gold);
  padding-left: 9px;
}
.sidebar-link.danger { color: #F87171; }
.sidebar-link.danger:hover { background: rgba(248,113,113,0.12); color: #FCA5A5; }

/* ============================================================
   MOBILE PILL TAB BAR
   ============================================================ */
.mobile-dash-tabs { display: none; }

@media (max-width: 900px) {
  .mobile-dash-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 10px 16px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 68px;
    z-index: 40;
  }
  .mobile-dash-tabs::-webkit-scrollbar { display: none; }

  .mdash-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--ff-head);
    cursor: pointer;
    white-space: nowrap;
    min-height: 36px;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.18s cubic-bezier(0.16,1,0.3,1);
  }
  .mdash-tab svg { width: 15px; height: 15px; stroke-width: 2; flex-shrink: 0; }
  .mdash-tab:hover {
    border-color: var(--mnuc-navy);
    color: var(--mnuc-navy);
  }
  .mdash-tab.active {
    background: var(--mnuc-navy);
    color: var(--mnuc-gold);
    border-color: var(--mnuc-navy);
    box-shadow: 0 4px 14px rgba(14,32,64,0.2);
  }
  .mdash-tab:active { transform: scale(0.96); }

  .dashboard-layout { grid-template-columns: 1fr; display: block; }
  .sidebar { display: none; }
}

/* ============================================================
   DASHBOARD MAIN
   ============================================================ */
.dashboard-main {
  padding: 40px;
  background: var(--bg);
  overflow-y: auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.admin-title {
  font-family: var(--ff-head);
  font-size: 1.75rem;
  color: var(--mnuc-navy);
  letter-spacing: -0.02em;
  font-weight: 800;
}
.admin-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

/* ============================================================
   VERIFICATION BANNER
   ============================================================ */
.verification-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(201,162,39,0.08);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.verify-icon { color: var(--mnuc-gold); display: flex; flex-shrink: 0; }
.verify-icon svg { width: 24px; height: 24px; }
.verification-banner strong {
  color: var(--mnuc-navy);
  font-family: var(--ff-head);
  display: block;
  font-size: 0.95rem;
}
.verification-banner p { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   STATS GRID
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--surface);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(14,32,64,0.07);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
@media (hover: hover) {
  .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14,32,64,0.1);
  }
}
.stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 22px; height: 22px; }
.svg-navy   { background: rgba(14,32,64,0.1);  color: var(--mnuc-navy); }
.svg-blue   { background: rgba(0,82,255,0.1);   color: var(--mnuc-blue); }
.svg-green  { background: rgba(5,150,105,0.1);  color: #059669; }
.svg-gold   { background: rgba(201,162,39,0.1); color: var(--mnuc-gold); }
.stat-info { flex: 1; }
.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--ff-head);
}
.stat-val {
  font-family: var(--ff-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--mnuc-navy);
  line-height: 1.2;
  margin: 2px 0;
}
.stat-sub { font-size: 0.7rem; color: var(--text-muted); }

/* ============================================================
   ACTIVITY FEED — Who's Active + Activity Cards
   ============================================================ */
.activity-section { margin-bottom: 28px; }
.activity-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-family: var(--ff-head);
  font-weight: 700;
  margin-bottom: 14px;
}

.activity-who-active-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.activity-who-active-strip::-webkit-scrollbar { display: none; }

.activity-avatar-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
}
.activity-avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid var(--border);
  overflow: hidden;
}
.activity-avatar.active {
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2.5px var(--mnuc-gold);
}
.activity-avatar-name {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 60px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Activity Feed */
.activity-feed-wrap { margin-bottom: 32px; }
.activity-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.activity-feed-title {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--mnuc-navy);
}
.activity-filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.activity-filter-pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--ff-head);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.18s ease;
}
.activity-filter-pill:hover { border-color: var(--mnuc-navy); color: var(--mnuc-navy); }
.activity-filter-pill.active {
  background: var(--mnuc-navy);
  color: var(--mnuc-gold);
  border-color: var(--mnuc-navy);
}

.activity-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 8px;
  box-shadow: 0 2px 12px rgba(14,32,64,0.07);
  -webkit-tap-highlight-color: transparent;
}
.activity-card.unread {
  background: #EFF3FF;
  border-color: rgba(0,82,255,0.12);
}
.activity-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.activity-avatar-wrap .activity-avatar {
  width: 44px; height: 44px;
  font-size: 0.85rem;
  border: none;
}
.activity-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
}
.activity-card.unread .activity-badge { border-color: #EFF3FF; }
.activity-badge-follow { background: var(--mnuc-blue); }
.activity-badge-save   { background: var(--mnuc-gold); }
.activity-badge-review { background: var(--mnuc-gold); }

.activity-content { flex: 1; min-width: 0; }
.activity-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.activity-text strong { color: var(--mnuc-navy); font-weight: 700; }

.activity-preview-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border-radius: 8px;
  padding: 8px;
  margin-top: 8px;
}
.activity-card.unread .activity-preview-chip { background: rgba(255,255,255,0.6); }
.activity-preview-thumb {
  width: 38px; height: 38px;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--bg);
}
.activity-preview-text { min-width: 0; }
.activity-preview-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mnuc-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-preview-price {
  font-size: 0.75rem;
  color: var(--mnuc-blue);
  font-weight: 700;
}
.activity-preview-title:only-child {
  font-style: italic;
  color: var(--text);
  font-weight: 500;
}

.activity-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}
.activity-time {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}
.activity-action-link {
  font-size: 11px;
  color: var(--mnuc-blue);
  font-weight: 700;
  text-decoration: none;
}
.activity-action-link:hover { text-decoration: underline; }

.activity-unread-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mnuc-blue);
  flex-shrink: 0;
  margin-top: 18px;
}
.activity-card:not(.unread) .activity-unread-dot { display: none; }

/* ============================================================
   DASH CARDS
   ============================================================ */
.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(14,32,64,0.07);
}
.dash-card-head {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-card-head h3 {
  font-family: var(--ff-head);
  color: var(--mnuc-navy);
  font-size: 1.1rem;
  font-weight: 700;
  flex: 1;
}
.dash-card-link {
  font-size: 12px;
  color: var(--mnuc-blue);
  font-weight: 700;
  text-decoration: none;
}
.dash-card-link:hover { text-decoration: underline; }
.dash-card-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Boost Card */
.boost-card {
  border-left: 4px solid var(--mnuc-gold);
  background: rgba(201,162,39,0.04);
}
.boost-card-icon {
  width: 22px; height: 22px;
  color: var(--mnuc-gold);
  flex-shrink: 0;
}

/* Hustle Pass Card */
.hustle-pass-card {
  background: linear-gradient(135deg, #0E2040 0%, #001233 60%, #0a1628 100%);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.hustle-pass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,162,39,0.12) 1px, transparent 1.4px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hustle-pass-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.hustle-pass-icon {
  width: 28px; height: 28px;
  color: var(--mnuc-gold);
  flex-shrink: 0;
}
.hustle-pass-title {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--mnuc-gold);
  margin: 0;
}
.hustle-pass-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin: 4px 0 0;
}
.hustle-pass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mnuc-gold);
  color: var(--mnuc-navy);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 90ms ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(201,162,39,0.25);
}
.hustle-pass-btn:hover { box-shadow: 0 10px 28px rgba(201,162,39,0.3); }
.hustle-pass-btn:active { transform: scale(0.97); }

/* ============================================================
   DASHBOARD LISTING CARDS
   ============================================================ */
.dashboard-listing-card {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--surface);
  box-shadow: 0 2px 12px rgba(14,32,64,0.07);
  transition: box-shadow 0.2s ease;
}
.dashboard-listing-card:hover { box-shadow: 0 4px 16px rgba(14,32,64,0.1); }
.listing-thumb {
  width: 60px; height: 60px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text-muted);
}
.listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-info strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-meta-row {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.listing-sub {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.75rem;
}
.listing-dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

/* Badges */
.badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: capitalize;
}
.badge-green { background: rgba(5,150,105,0.1);  color: #059669; }
.badge-red   { background: rgba(220,38,38,0.1);  color: #DC2626; }
.badge-navy  { background: rgba(14,32,64,0.1);   color: var(--mnuc-navy); }

/* ============================================================
   FILTER BAR
   ============================================================ */
.dashboard-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.dashboard-filter-btn {
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--ff-head);
  font-size: 0.85rem;
  min-height: 36px;
  transition: all 0.2s ease;
}
.dashboard-filter-btn:hover { border-color: var(--mnuc-navy); color: var(--mnuc-navy); }
.dashboard-filter-btn.active {
  background: var(--mnuc-navy);
  border-color: var(--mnuc-navy);
  color: var(--white);
}

/* ============================================================
   PROFILE TAB
   ============================================================ */
.profile-layout { max-width: 720px; }
.profile-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.profile-form-wrap { display: flex; flex-direction: column; gap: 24px; }

.form-section { padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.form-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: var(--ff-head);
}

.profile-photo-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.profile-photo-preview {
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, #0E2040, #0052FF);
  border: 4px solid var(--surface);
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(14,32,64,0.15);
}
.profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-preview .initials-prev { font-size: 2.2rem; font-weight: 800; font-family: var(--ff-head); }
.profile-photo-actions { display: flex; flex-direction: column; gap: 6px; }
.hidden-file-input { display: none; }
.form-hint { font-size: 0.75rem; color: var(--text-muted); }
.form-hint.verified { color: #059669; font-weight: 700; }
.label-muted { color: var(--text-muted); font-weight: 400; }

.avatar-picker-wrap { margin-top: 20px; }
.avatar-picker-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
  font-family: var(--ff-head);
}
.avatar-picker-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.avatar-opt {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.avatar-opt span { pointer-events: none; font-family: var(--ff-head); font-size: 1.1rem; }
.avatar-opt:hover { transform: scale(1.08); }
.avatar-opt.selected {
  border-color: var(--mnuc-navy);
  box-shadow: 0 0 0 3px rgba(14,32,64,0.2);
  transform: scale(1.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mnuc-navy);
  font-family: var(--ff-head);
}
.form-input, .form-select {
  border-radius: 10px;
  border: 1.5px solid rgba(14,32,64,0.14);
  padding: 12px 14px;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mnuc-navy);
  background: var(--surface);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
  box-sizing: border-box;
}
.form-input:focus, .form-select:focus {
  border-color: var(--mnuc-blue);
  box-shadow: 0 0 0 3px rgba(0,82,255,0.12);
}
.form-input::placeholder { color: var(--text-muted); }

#save-profile-btn {
  width: 100%;
  background: var(--mnuc-navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 700;
  min-height: 48px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}
#save-profile-btn:hover { background: #0d1c3a; color: var(--mnuc-gold); }
#save-profile-btn:active { transform: scale(0.98); }

#public-profile-link-wrap { display: flex; }
#public-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--mnuc-navy);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease;
}
#public-profile-link:hover { background: var(--bg); }

/* ============================================================
   PRICING TAB
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 12px rgba(14,32,64,0.07);
}
.pricing-card.featured {
  border: 2px solid var(--mnuc-gold);
  box-shadow: 0 8px 24px rgba(201,162,39,0.15);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Best Value';
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--mnuc-gold);
  color: var(--mnuc-navy);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  font-family: var(--ff-head);
}
.pricing-card strong {
  font-family: var(--ff-head);
  color: var(--mnuc-navy);
  font-size: 1.2rem;
  font-weight: 700;
}
.pricing-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--mnuc-navy);
  font-family: var(--ff-head);
}
.pricing-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-grow: 1;
}

/* ============================================================
   REVIEWS TAB
   ============================================================ */
.rating-summary-card {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.rating-big-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--mnuc-navy);
  font-family: var(--ff-head);
  line-height: 1;
}
.rating-summary-info { display: flex; flex-direction: column; gap: 4px; }
.rating-stars { display: flex; gap: 2px; }
.rating-stars svg { width: 20px; height: 20px; }
.star-filled { color: var(--mnuc-gold); }
.star-empty  { color: rgba(14,32,64,0.12); }
.rating-total { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

.reviews-list { display: grid; gap: 12px; }
.review-item {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(201,162,39,0.3);
  border-radius: 12px;
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.review-author {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mnuc-navy);
  text-decoration: none;
}
.review-author:hover { color: var(--mnuc-blue); }
.review-body {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 8px;
}
.review-date { color: var(--text-muted); font-size: 0.75rem; }

/* ============================================================
   ANNOUNCEMENTS
   ============================================================ */
.announce-card {
  padding: 16px;
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.announce-card strong {
  color: var(--mnuc-navy);
  font-family: var(--ff-head);
  display: block;
  margin-bottom: 4px;
}
.announce-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.announce-card small { color: var(--text-muted); font-size: 0.75rem; margin-top: 8px; display: block; }

/* ============================================================
   TICKETS
   ============================================================ */
.ticket-list { display: grid; gap: 12px; }
.ticket-row {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.ticket-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ticket-code {
  font-family: monospace;
  font-weight: 800;
  color: var(--mnuc-navy);
  background: var(--bg);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
}
.ticket-subject {
  color: var(--mnuc-navy);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-grow: 1;
}
.ticket-date { color: var(--text-muted); font-size: 0.8rem; font-weight: 600; }
.ticket-detail {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}
.support-response {
  margin-top: 12px;
  padding: 14px;
  border-left: 4px solid var(--mnuc-blue);
  border-radius: 8px;
  background: rgba(0,82,255,0.05);
  color: var(--text);
}
.support-response small { display: block; margin-top: 8px; color: var(--mnuc-blue); font-weight: 700; }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(14,32,64,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden { display: none !important; }

#sold-modal > .modal,
#premium-modal > .modal {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(14,32,64,0.22);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.modal-title {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--mnuc-navy);
}
.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(14,32,64,0.06);
  border: none;
  cursor: pointer;
  color: var(--mnuc-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s ease;
}
.modal-close:hover { background: rgba(14,32,64,0.12); }
.modal-close:active { transform: scale(0.92); }

.modal-text {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 0.9rem;
}
.modal-actions { display: flex; gap: 12px; }

/* ============================================================
   SKELETONS + LOADING
   ============================================================ */
.skeleton-card {
  height: 88px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(14,32,64,0.04) 25%, rgba(14,32,64,0.08) 50%, rgba(14,32,64,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
  margin-bottom: 12px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.loading-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.loader {
  width: 28px; height: 28px;
  border: 3px solid rgba(14,32,64,0.1);
  border-top-color: var(--mnuc-navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 48px 24px;
}
.empty-state h3 {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--mnuc-navy);
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  #sold-modal > .modal,
  #premium-modal > .modal {
    border-radius: 24px 24px 0 0;
    max-width: 100%;
    padding: 24px 20px 40px;
    animation: sheetUp 0.28s cubic-bezier(0.16,1,0.3,1);
  }
  #sold-modal > .modal::before,
  #premium-modal > .modal::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background: rgba(14,32,64,0.15);
    border-radius: 2px;
    margin: 0 auto 16px;
  }
  @keyframes sheetUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }
}

@media (max-width: 900px) {
  .dashboard-main { padding: 20px 16px 100px; }
  .admin-header { flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
  .admin-title { font-size: 22px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 14px; gap: 10px; }
  .stat-val { font-size: 24px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-listing-card { grid-template-columns: 56px 1fr; gap: 12px; }
  .listing-dash-actions {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }
  .profile-layout { max-width: 100%; }
  .profile-photo-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .dash-card { padding: 16px; }
  .profile-card { padding: 20px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 12px 10px; gap: 8px; }
  .stat-icon { width: 40px; height: 40px; }
  .stat-icon svg { width: 20px; height: 20px; }
  .stat-val { font-size: 22px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .mdash-tab { padding: 7px 13px; font-size: 11px; }
  .activity-filter-pill { padding: 5px 12px; font-size: 11px; }
  .hustle-pass-card { padding: 20px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }
}

@media (hover: none) {
  .stat-card:hover,
  .dashboard-listing-card:hover,
  .avatar-opt:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(14,32,64,0.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-card,
  .loader,
  #sold-modal > .modal,
  #premium-modal > .modal {
    animation: none !important;
  }
  .stat-card,
  .dashboard-listing-card,
  .sidebar-link,
  .mdash-tab,
  .avatar-opt,
  .activity-filter-pill,
  .dashboard-filter-btn,
  .modal-close,
  .hustle-pass-btn,
  #save-profile-btn {
    transition: none !important;
  }
}