:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --accent: #3a146d;
  --surface: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --ok: #15803d;
  --warn: #b45309;
  --danger: #b91c1c;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 40%, #f8fafc 100%);
  color: var(--text);
}

.page {
  max-width: 440px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.logo {
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}

.top h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.tagline {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  padding: 1.5rem 1.25rem;
}

.state {
  text-align: center;
  color: var(--muted);
}

.spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
  border: 3px solid #fed7aa;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none !important;
}

.error-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--danger);
}

.muted {
  color: var(--muted);
}

.profile-card {
  text-align: center;
}

.avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--primary), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--accent);
  font-size: 2rem;
  font-weight: 700;
}

.name {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.city {
  margin: 0.35rem 0 0;
  font-size: 1rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 0.75rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-verified {
  background: var(--accent);
  color: #fff;
}

.badge-inactive {
  background: #fee2e2;
  color: var(--danger);
}

.badge-cashea {
  background: #ecfdf5;
  color: var(--ok);
}

.summary {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
}

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.chips li {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  font-size: 0.78rem;
}

.foot-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}
