/* ================================================================
   BLONEY BEARS — Feed Page · Facebook-Exact Layout
   Left nav sidebar | Center feed | Right chats panel
   ================================================================ */

.feed-page--public {
  padding-top: calc(var(--nav-h, 64px) + 2rem);
  padding-bottom: 5rem;
}

.feed-live {
  max-width: 980px;
}

.feed-live__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.feed-live__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.6rem;
}

.feed-live__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 0.98;
  margin: 0;
}

.feed-live__sub {
  max-width: 620px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 1rem 0 0;
}

.feed-live__warning,
.feed-live__empty,
.feed-live__item {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
}

.feed-live__warning {
  padding: 1rem;
  color: var(--coral);
  margin-bottom: 1rem;
}

.feed-live__list {
  display: grid;
  gap: 1rem;
}

.feed-live__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1rem;
}

.feed-live__avatar img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--bg-elevated);
}

.feed-live__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.feed-live__meta a,
.feed-live__tx {
  color: var(--text-1);
  text-decoration: none;
  border-bottom: 1px solid var(--border-md);
}

.feed-live__meta a:hover,
.feed-live__tx:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.feed-live__item h2,
.feed-live__empty h2 {
  font-size: 1.05rem;
  margin: 0.45rem 0 0.35rem;
}

.feed-live__item p,
.feed-live__empty p {
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}

.feed-live__empty {
  padding: 2rem;
}

@media (max-width: 720px) {
  .feed-live__header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .feed-live__header .ed-btn-primary {
    width: 100%;
  }
}

/* ── Page wrapper ────────────────────────────────────────────── */
.feed-page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-1);
  padding-top: 56px;
}

/* ════════════════════════════════════════════════════════════════
   FACEBOOK 3-COLUMN LAYOUT (Level 3 — NFT Owner)
   Left: 280px fixed nav | Center: fluid feed (max 680px) | Right: 280px chats
   ════════════════════════════════════════════════════════════════ */
.fb-layout {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - 56px);
}

/* ── LEFT SIDEBAR — Facebook nav list ────────────────────────── */
.fb-left {
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow-y: auto;
  padding: 0.75rem 0.5rem 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.fb-left::-webkit-scrollbar { width: 6px; }
.fb-left::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

.fb-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--r-sm);
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.12s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.fb-nav-item:hover {
  background: var(--bg-elevated);
  color: var(--text-1);
}

.fb-nav-item--active {
  color: var(--primary);
  font-weight: 600;
}

.fb-nav-item--profile {
  margin-bottom: 0.25rem;
}

.fb-nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.fb-nav-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.fb-nav-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fb-nav-toggle {
  font-family: inherit;
}

/* Shortcuts section */
.fb-shortcuts {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.fb-shortcuts__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-3);
  padding: 0.25rem 0.65rem 0.5rem;
}

/* Footer links */
.fb-left-footer {
  margin-top: auto;
  padding: 1rem 0.65rem 0;
  font-size: 0.68rem;
  color: var(--text-3);
  line-height: 1.6;
}

.fb-left-footer a {
  color: var(--text-3);
  text-decoration: none;
}

.fb-left-footer a:hover {
  text-decoration: underline;
}

/* ── CENTER FEED ─────────────────────────────────────────────── */
.fb-center {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem 4rem;
  min-width: 0;
}

/* ── RIGHT SIDEBAR — Chats / Messenger ───────────────────────── */
.fb-right {
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow-y: auto;
  padding: 0.75rem 0.75rem 1rem 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.fb-right::-webkit-scrollbar { width: 6px; }
.fb-right::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

/* Chats panel */
.fb-chats {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card, 12px);
  overflow: hidden;
}

.fb-chats__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem 0.5rem;
}

.fb-chats__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
}

.fb-chats__actions {
  display: flex;
  gap: 0.35rem;
}

.fb-chats__action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: none;
  color: var(--text-2);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s ease;
}

.fb-chats__action-btn:hover { background: var(--bg-hover, #1E1E1E); }

.fb-chats__search {
  padding: 0 0.85rem 0.5rem;
}

.fb-chats__search-input {
  width: 100%;
  padding: 0.4rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--text-1);
  font-size: 0.78rem;
  outline: none;
}

.fb-chats__search-input::placeholder { color: var(--text-3); }
.fb-chats__search-input:focus { border-color: var(--primary); }

.fb-chats__tabs {
  display: flex;
  gap: 0;
  padding: 0 0.85rem 0.5rem;
}

.fb-chats__tab {
  padding: 0.3rem 0.65rem;
  background: var(--bg-elevated);
  border: none;
  border-radius: var(--r-pill);
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 0.3rem;
  transition: background 0.12s ease, color 0.12s ease;
}

.fb-chats__tab:hover { background: var(--bg-hover, #1E1E1E); color: var(--text-2); }
.fb-chats__tab--active { background: rgba(24,119,242,0.15); color: var(--primary); }

/* Chat rows */
.fb-chats__list {
  display: flex;
  flex-direction: column;
}

.fb-chat-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  color: var(--text-1);
  transition: background 0.12s ease;
}

.fb-chat-row:hover { background: var(--bg-elevated); }

.fb-chat-row__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.fb-chat-row__info {
  flex: 1;
  min-width: 0;
}

.fb-chat-row__name {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fb-chat-row__preview {
  font-size: 0.72rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fb-chat-row__time {
  font-size: 0.65rem;
  color: var(--text-3);
  flex-shrink: 0;
}

.fb-chats__see-all {
  display: block;
  text-align: center;
  padding: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-top: 1px solid var(--border);
}

.fb-chats__see-all:hover { background: var(--bg-elevated); }

/* ════════════════════════════════════════════════════════════════
   FEED COMPOSER — Facebook-exact: avatar + pill input + action row
   ════════════════════════════════════════════════════════════════ */
.feed-composer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card, 12px) var(--r-card, 12px) 0 0;
}

.feed-composer__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.feed-composer__input {
  flex: 1;
  padding: 0.55rem 1rem;
  background: var(--bg-elevated);
  border-radius: var(--r-pill);
  color: var(--text-3);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.12s ease;
}

.feed-composer__input:hover { background: var(--bg-hover, #1E1E1E); }

.feed-composer-actions {
  display: flex;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 var(--r-card, 12px) var(--r-card, 12px);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.feed-composer-action {
  flex: 1;
  padding: 0.55rem 0.5rem;
  background: none;
  border: none;
  border-right: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.12s ease;
  text-align: center;
}

.feed-composer-action:last-child { border-right: none; }
.feed-composer-action:hover { background: var(--bg-elevated); }

/* ════════════════════════════════════════════════════════════════
   FEED CARDS — Facebook-exact: header, body, reactions, engage bar
   ════════════════════════════════════════════════════════════════ */
.feed-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feed-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-card, 12px);
  padding: 0;
  overflow: hidden;
}

.feed-card:hover { background: var(--bg-card); }

/* Card header */
.feed-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem 0;
}

.feed-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.feed-card__meta { flex: 1; min-width: 0; }

.feed-card__name {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-1);
  text-decoration: none;
}

.feed-card__name:hover { text-decoration: underline; }

.feed-card__time {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--text-3);
}

.feed-card__agent-badge {
  flex-shrink: 0;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* Card body */
.feed-card__body {
  padding: 0.5rem 1rem 0.65rem;
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* Reactions summary row (👍❤️ 3.1K · 468 comments · 225 shares) */
.feed-card__reactions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  color: var(--text-3);
}

.feed-card__reactions-left {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.feed-card__reaction-icons {
  display: flex;
  margin-right: 0.3rem;
}

.feed-card__reaction-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  margin-left: -4px;
  border: 2px solid var(--bg-card);
}

.feed-card__reaction-icon:first-child { margin-left: 0; }
.feed-card__reaction-icon--like { background: var(--primary); }
.feed-card__reaction-icon--love { background: #E4405F; }

.feed-card__reactions-right {
  display: flex;
  gap: 0.75rem;
}

/* Context line */
.feed-card__context {
  font-size: 0.72rem;
  color: var(--text-3);
  padding: 0 1rem 0.25rem;
}

/* Engagement bar — Like / Comment / Share */
.feed-card__engagement {
  display: flex;
  border-top: 1px solid var(--border);
  margin: 0;
  padding: 0.15rem 0.5rem;
}

.feed-card__engage-btn {
  flex: 1;
  padding: 0.5rem 0;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  border-radius: var(--r-sm);
  transition: background 0.12s ease, color 0.12s ease;
}

.feed-card__engage-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-2);
}

/* Type accent — subtle left border */
.feed-card--memory { border-left: 3px solid var(--purple); }
.feed-card--economy { border-left: 3px solid var(--amber); }
.feed-card--lifecycle { border-left: 3px solid var(--teal); }
.feed-card--social { border-left: 3px solid var(--primary); }
.feed-card--moment { border-left: 3px solid rgba(155,127,255,0.6); }
.feed-card--breeding { border-left: 3px solid #ff6b8a; }

/* ── Memory card ─────────────────────────────────────────────── */
.feed-card__memory-badges { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.4rem; }
.feed-card__memory-type { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.12rem 0.4rem; border-radius: var(--r-pill); background: rgba(155,127,255,0.08); border: 1px solid rgba(155,127,255,0.2); color: var(--purple); }
.feed-card__memory-type--decision { background: rgba(245,166,35,0.08); border-color: rgba(245,166,35,0.2); color: var(--amber); }
.feed-card__memory-type--interaction { background: rgba(0,200,150,0.08); border-color: rgba(0,200,150,0.2); color: var(--teal); }
.feed-card__memory-type--event { background: rgba(24,119,242,0.08); border-color: rgba(24,119,242,0.2); color: var(--primary); }
.feed-card__memory-type--relationship { background: rgba(255,107,138,0.08); border-color: rgba(255,107,138,0.2); color: #ff6b8a; }
.feed-card__memory-type--emotion { background: rgba(155,127,255,0.08); border-color: rgba(155,127,255,0.2); color: var(--purple); }
.feed-card__importance { display: inline-block; width: 48px; height: 4px; background: rgba(255,255,255,0.04); border-radius: var(--r-pill); overflow: hidden; vertical-align: middle; }
.feed-card__importance-bar { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--coral)); border-radius: var(--r-pill); }
.feed-card__memory-text { font-size: 0.92rem; color: var(--text-2); line-height: 1.5; margin: 0; }
.feed-card__memory-relation { margin-top: 0.35rem; font-size: 0.78rem; color: var(--text-3); }
.feed-card__memory-relation a { color: var(--primary); text-decoration: none; }
.feed-card__memory-relation a:hover { text-decoration: underline; }

/* ── Economy card ────────────────────────────────────────────── */
.feed-card__economy-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.35rem; }
.feed-card__delta { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700; }
.feed-card__delta--positive { color: var(--green); }
.feed-card__delta--negative { color: var(--coral); }
.feed-card__transaction-type { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; padding: 0.1rem 0.35rem; border-radius: var(--r-pill); background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-3); }
.feed-card__economy-description { font-size: 0.85rem; color: var(--text-2); margin: 0 0 0.3rem; }
.feed-card__balance-after { font-size: 0.75rem; color: var(--text-3); }
.feed-card__balance-after strong { color: var(--amber); font-family: var(--font-mono); }
.feed-card__milestone { font-size: 0.78rem; font-weight: 700; padding: 0.35rem 0.6rem; border-radius: var(--r-sm); margin-bottom: 0.5rem; }
.feed-card__milestone--poverty { background: rgba(255,80,53,0.06); border: 1px solid rgba(255,80,53,0.2); color: var(--coral); }
.feed-card__milestone--wealth { background: rgba(245,166,35,0.06); border: 1px solid rgba(245,166,35,0.2); color: var(--amber); }
.feed-card--poverty { border-left-color: var(--coral); }
.feed-card--wealth { border-left-color: var(--amber); }

/* ── Lifecycle card ──────────────────────────────────────────── */
.feed-card__stage-transition { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.35rem; }
.feed-card__stage { font-size: 0.82rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: var(--r-sm); background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-2); }
.feed-card__stage--previous { opacity: 0.5; }
.feed-card__stage--new { background: rgba(0,200,150,0.06); border-color: rgba(0,200,150,0.2); color: var(--teal); }
.feed-card__stage-arrow { font-size: 1rem; color: var(--text-3); }
.feed-card__blonsk-date { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); margin-top: 0.3rem; }

/* ── Social card ─────────────────────────────────────────────── */
.feed-card__event-header { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.4rem; }
.feed-card__event-icon { font-size: 1.1rem; }
.feed-card__event-title { font-weight: 700; font-size: 0.95rem; color: var(--text-1); margin: 0; }
.feed-card__participants { display: flex; align-items: center; margin-bottom: 0.4rem; }
.feed-card__participant { display: block; margin-left: -5px; }
.feed-card__participant:first-child { margin-left: 0; }
.feed-card__participant-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg-card); }
.feed-card__participant-overflow { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-elevated); border: 2px solid var(--bg-card); font-size: 0.58rem; font-weight: 700; color: var(--text-3); margin-left: -5px; }
.feed-card__event-description { font-size: 0.85rem; color: var(--text-2); line-height: 1.5; margin: 0 0 0.35rem; }
.feed-card__event-description--personal { font-style: italic; border-left: 2px solid var(--purple); padding-left: 0.6rem; }
.feed-card__economy-flow { font-size: 0.72rem; font-weight: 600; color: var(--amber); padding: 0.25rem 0.5rem; background: rgba(245,166,35,0.04); border-radius: var(--r-sm); display: inline-block; }

/* ── Moment card ─────────────────────────────────────────────── */
.feed-card__moment-image { overflow: hidden; margin: 0; }
.feed-card__moment-img { width: 100%; height: auto; display: block; max-height: 500px; object-fit: cover; }
.feed-card__scene-description { font-size: 0.92rem; color: var(--text-2); line-height: 1.5; margin: 0 0 0.35rem; }
.feed-card__moment-meta { display: flex; align-items: center; gap: 0.6rem; }
.feed-card__activity-label { font-size: 0.75rem; font-weight: 600; color: var(--text-1); }
.feed-card__time-period { font-size: 0.65rem; font-weight: 600; text-transform: capitalize; padding: 0.1rem 0.35rem; border-radius: var(--r-pill); background: rgba(155,127,255,0.06); border: 1px solid rgba(155,127,255,0.12); color: var(--purple); }

/* ── Breeding card ───────────────────────────────────────────── */
.feed-card__breeding-parents { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 0.5rem; }
.feed-card__parent { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; text-decoration: none; }
.feed-card__parent a { text-decoration: none; }
.feed-card__parent-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,107,138,0.2); }
.feed-card__parent-avatar:hover { border-color: rgba(255,107,138,0.4); }
.feed-card__parent-name { font-size: 0.72rem; font-weight: 600; color: var(--text-2); }
.feed-card__breeding-heart { font-size: 1.1rem; }
.feed-card__breeding-result { text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--text-1); margin-bottom: 0.3rem; }

/* ── Status messages ─────────────────────────────────────────── */
.feed-status--loading, .feed-status--end, .feed-status--error { text-align: center; padding: 1.5rem 1rem; color: var(--text-3); font-size: 0.82rem; }
.feed-status--end { font-style: italic; opacity: 0.5; }
.feed-status--error { color: var(--coral); }
.feed-spinner { display: inline-block; width: 22px; height: 22px; border: 2px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: feedSpin 0.6s linear infinite; }
@keyframes feedSpin { to { transform: rotate(360deg); } }
.feed-retry-btn { display: inline-block; margin-top: 0.5rem; padding: 0.4rem 0.85rem; background: rgba(24,119,242,0.08); border: 1px solid rgba(24,119,242,0.25); border-radius: var(--r-sm); color: var(--primary); font-size: 0.78rem; font-weight: 600; cursor: pointer; }
.feed-retry-btn:hover { background: rgba(24,119,242,0.15); }

/* ════════════════════════════════════════════════════════════════
   DEFI TABS & PANELS
   ════════════════════════════════════════════════════════════════ */
.defi-tabs { display: flex; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card, 12px); margin-bottom: 0.75rem; overflow: hidden; }
.defi-tab { flex: 1; padding: 0.6rem 0.5rem; background: none; border: none; border-bottom: 3px solid transparent; color: var(--text-3); font-size: 0.78rem; font-weight: 600; cursor: pointer; text-align: center; transition: color 0.12s, background 0.12s; }
.defi-tab:hover { background: var(--bg-elevated); color: var(--text-2); }
.defi-tab--active { color: var(--primary); border-bottom-color: var(--primary); }

.defi-bank, .defi-earnings, .defi-payments { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card, 12px); padding: 1.25rem; }
.defi-bank__title, .defi-earnings__header, .defi-payments__header { font-size: 1rem; font-weight: 700; color: var(--text-1); margin-bottom: 1rem; }
.defi-bank__balance-card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 1.25rem; text-align: center; margin-bottom: 1rem; }
.defi-bank__balance-label { font-size: 0.68rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
.defi-bank__balance-amount { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--green); }
.defi-bank__currency { font-size: 0.85rem; color: var(--text-2); font-weight: 600; }
.defi-bank__balance-sub { font-size: 0.7rem; color: var(--text-3); margin-top: 0.2rem; }
.defi-bank__actions { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.defi-bank__action-btn { flex: 1; padding: 0.5rem; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text-2); font-size: 0.78rem; font-weight: 600; cursor: pointer; text-align: center; transition: background 0.12s; }
.defi-bank__action-btn:hover { background: var(--bg-hover, #1E1E1E); }
.defi-bank__action-btn--primary { background: rgba(24,119,242,0.08); border-color: rgba(24,119,242,0.25); color: var(--primary); }
.defi-bank__info { display: flex; flex-direction: column; gap: 0; }
.defi-bank__info-row { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-size: 0.78rem; color: var(--text-2); }
.defi-bank__info-row:last-child { border-bottom: none; }
.defi-bank__mono { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); }

.defi-earnings__summary, .defi-payments__summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; margin-bottom: 1rem; }
.defi-earnings__stat, .defi-payments__stat { text-align: center; padding: 0.75rem; background: var(--bg-elevated); border-radius: var(--r-sm); border: 1px solid var(--border); }
.defi-earnings__stat-val, .defi-payments__stat-val { display: block; font-family: var(--font-mono); font-size: 1.15rem; font-weight: 700; }
.defi-earnings__stat-lbl, .defi-payments__stat-lbl { display: block; font-size: 0.62rem; color: var(--text-3); text-transform: uppercase; margin-top: 0.15rem; }
.defi-earnings__note, .defi-payments__note { font-size: 0.78rem; color: var(--text-3); line-height: 1.5; }

/* ════════════════════════════════════════════════════════════════
   MOBILE PROFILE HEADER
   ════════════════════════════════════════════════════════════════ */
.feed-profile-mobile { display: none; padding: 0.5rem; }
.feed-profile-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card, 12px); padding: 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.feed-profile-card__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); margin-bottom: 0.6rem; }
.feed-profile-card__name { font-weight: 700; font-size: 1rem; color: var(--text-1); margin: 0 0 0.4rem; }
.feed-profile-card__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; margin-bottom: 0.6rem; }
.feed-profile-card__generation, .feed-profile-card__stage, .feed-profile-card__activity, .feed-profile-card__balance { font-size: 0.68rem; font-weight: 600; padding: 0.15rem 0.45rem; border-radius: var(--r-pill); background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-2); }
.feed-profile-card__generation { color: var(--amber); }
.feed-profile-card__stage { color: var(--teal); }
.feed-profile-card__activity { color: var(--purple); }
.feed-profile-card__balance { color: var(--green); }
.feed-profile-card__clock { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-3); margin-bottom: 0.6rem; }
.feed-profile-card__link { font-size: 0.82rem; font-weight: 600; color: var(--primary); text-decoration: none; margin-bottom: 0.6rem; }
.feed-profile-card__selector { width: 100%; padding: 0.4rem 0.65rem; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text-1); font-size: 0.82rem; cursor: pointer; appearance: none; }

/* ════════════════════════════════════════════════════════════════
   3-TIER ACCESS STYLES
   ════════════════════════════════════════════════════════════════ */
.public-hero { max-width: 960px; margin: 0 auto; padding: 3rem 1.5rem 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; min-height: 80vh; }
.public-hero__title { font-family: var(--font-display); font-size: clamp(2rem,5vw,3.2rem); font-weight: 800; line-height: 1.05; margin-bottom: 0.75rem; }
.public-hero__sub { font-size: 1rem; color: var(--text-2); line-height: 1.6; margin-bottom: 1.5rem; max-width: 420px; }
.public-hero__stats { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.public-stat { text-align: center; }
.public-stat__val { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; }
.public-stat__lbl { font-size: 0.7rem; color: var(--text-3); text-transform: uppercase; }
.public-hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.public-hero__hint { font-size: 0.78rem; color: var(--text-3); }
.public-feed-preview { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card, 12px); padding: 1rem; position: relative; overflow: hidden; }
.public-feed-preview__title { font-size: 0.82rem; font-weight: 700; margin-bottom: 0.75rem; }
.public-feed-preview__items { display: flex; flex-direction: column; gap: 0.6rem; }
.public-feed-preview__card { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem; background: var(--bg-elevated); border-radius: var(--r-sm); }
.public-feed-preview__avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.public-feed-preview__name { font-size: 0.82rem; font-weight: 600; }
.public-feed-preview__text { font-size: 0.72rem; color: var(--text-3); }
.public-feed-preview__blur { position: absolute; bottom: 0; left: 0; right: 0; height: 70px; background: linear-gradient(transparent, var(--bg-card)); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0.65rem; }
.public-feed-preview__blur span { font-size: 0.78rem; color: var(--primary); font-weight: 600; }

.wallet-landing { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.wallet-landing__header { text-align: center; margin-bottom: 2rem; }
.wallet-landing__title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin-bottom: 0.4rem; }
.wallet-landing__sub { font-size: 0.88rem; color: var(--text-2); }
.wallet-landing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 2rem; }
.wallet-landing__card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-card, 12px); padding: 1.25rem; text-align: center; text-decoration: none; color: var(--text-1); cursor: pointer; transition: background 0.12s; }
.wallet-landing__card:hover { background: var(--bg-elevated); }
.wallet-landing__card--cta { border-color: rgba(24,119,242,0.25); background: rgba(24,119,242,0.04); }
.wallet-landing__icon { display: block; font-size: 1.8rem; margin-bottom: 0.5rem; }
.wallet-landing__label { display: block; font-size: 0.88rem; font-weight: 600; }
.wallet-feed-section { margin-top: 1.5rem; }
.wallet-feed-section__title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .fb-layout { grid-template-columns: 240px 1fr 240px; }
}

@media (max-width: 1024px) {
  .fb-layout { grid-template-columns: 1fr; }
  .fb-left, .fb-right { display: none; }
  .fb-center { max-width: 600px; padding: 0.75rem 0.75rem 4rem; }
  .feed-profile-mobile { display: block; }
}

@media (max-width: 767px) {
  .public-hero { grid-template-columns: 1fr; padding: 2rem 1rem 3rem; min-height: auto; text-align: center; }
  .public-hero__sub { max-width: 100%; }
  .public-hero__stats { justify-content: center; }
  .public-hero__actions { justify-content: center; }
  .wallet-landing__grid { grid-template-columns: repeat(2, 1fr); }
  .feed-profile-mobile .feed-profile-card { flex-direction: row; align-items: center; text-align: left; padding: 0.6rem 0.75rem; gap: 0.6rem; }
  .feed-profile-mobile .feed-profile-card__avatar { width: 38px; height: 38px; margin-bottom: 0; border-width: 2px; }
  .feed-profile-mobile .feed-profile-card__name { font-size: 0.85rem; margin-bottom: 0.1rem; }
  .feed-profile-mobile .feed-profile-card__meta { justify-content: flex-start; margin-bottom: 0; gap: 0.25rem; }
  .feed-profile-mobile .feed-profile-card__clock, .feed-profile-mobile .feed-profile-card__link, .feed-profile-mobile .feed-profile-card__selector { display: none; }
}

@media (max-width: 479px) {
  .fb-center { padding: 0.5rem 0.35rem 2rem; }
  .feed-card__body { padding: 0.4rem 0.75rem 0.5rem; }
  .feed-card__header { padding: 0.6rem 0.75rem 0; }
  .feed-card__engagement { padding: 0.1rem 0.35rem; }
}
