/* 👑 Colors/type pulled directly from src/theme.ts (brand.primary, brand.light,
   text.primary/secondary, ui.background) and the Bricolage Grotesque font
   family the app itself uses (@expo-google-fonts/bricolage-grotesque) —
   loaded from Google Fonts here since there's no build step to bundle a
   local copy. Kept as one small, dependency-free file (no framework) since
   these are lightweight fallback pages, not the full app. */
:root {
  --brand-primary: #FA0A32;
  --brand-light: #FFE5EA;
  --text-primary: #111111;
  --text-secondary: #878787;
  --background: #FFFFFF;
  --gray-light: #F0F0F0;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--background);
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  position: relative;
  overflow-x: hidden;
}

/* 👑 Same soft diagonal wash as share-profile.tsx's own LinearGradient. */
.wash {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--background) 0%, var(--brand-light) 100%);
  z-index: -1;
}

.card {
  width: 100%;
  max-width: 360px;
  background: var(--background);
  border: 1px solid var(--gray-light);
  border-radius: 24px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.mark { margin-bottom: 4px; }

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.photo, .avatar {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--gray-light);
}

.avatar { border-radius: 999px; }

.avatarFallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-secondary);
}

.eyebrow {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.cta {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light);
  width: 100%;
}

.ctaTitle {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.ctaBody {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* 👑 Plain CSS shimmer, same purpose as the app's own Skeleton.tsx —
   holds each element's real footprint while the RPC call is in flight so
   nothing jumps once the real content lands. */
.skeleton {
  background: var(--gray-light);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.skeleton-photo { width: 96px; height: 96px; border-radius: 16px; }
.skeleton-avatar { width: 96px; height: 96px; border-radius: 999px; }
.skeleton-line { height: 16px; border-radius: 8px; }
