/* Friends tab — social circle, live pulse, wellbeing cards */

#s-friends.friends-screen {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--bg);
}

.friends-hero {
  padding: 14px 16px 10px;
  flex-shrink: 0;
}
.friends-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.friends-hero-title {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0;
}
.friends-hero-sub {
  font-size: 12px;
  color: var(--t3);
  margin-top: 4px;
  line-height: 1.4;
  max-width: 260px;
}
.friends-hero-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.friends-hero-btn {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
}
.friends-hero-btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.friends-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 10px;
  flex-shrink: 0;
}
.friends-filter-lbl {
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.friends-filter-sel {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface), var(--s2));
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  appearance: none;
  background-image: linear-gradient(135deg, var(--surface), var(--s2)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 12px center;
  background-size: auto, 10px;
  padding-right: 32px;
}

.friends-pulse {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.friends-pulse::-webkit-scrollbar {
  display: none;
}
.friends-pulse-chip {
  flex: 0 0 auto;
  min-width: 88px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.friends-pulse-chip.on {
  border-color: var(--brand);
  background: var(--brand-dim);
}
.friends-pulse-num {
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.friends-pulse-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--t3);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.friends-pulse-chip--alert .friends-pulse-num {
  color: #c0392b;
}
.friends-pulse-chip--live .friends-pulse-num {
  color: var(--brand);
}

.friends-circle-block {
  padding: 0 0 8px;
  flex-shrink: 0;
}
.friends-circle-block .friend-strip-wrap {
  padding: 0 12px;
}

.friends-live-section {
  margin: 0 16px 10px;
  flex-shrink: 0;
}
.friends-live-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.friends-live-title {
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.friends-live-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-dim);
  padding: 3px 8px;
  border-radius: 20px;
}
#s-friends .friends-live-activity {
  max-height: none;
  margin: 0;
  padding: 0;
}

/* Full-screen friend profile */
#s-friend-profile {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
body.tab-friend-profile #main > .hdr {
  display: none;
}
.friend-profile-hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(var(--safe-top, env(safe-area-inset-top, 0px)) + 8px) 16px 6px;
  padding-left: max(16px, calc(16px + var(--safe-left, env(safe-area-inset-left, 0px))));
  padding-right: max(16px, calc(16px + var(--safe-right, env(safe-area-inset-right, 0px))));
  flex-shrink: 0;
  border-bottom: none;
  background: var(--bg);
  min-height: calc(48px + var(--safe-top, env(safe-area-inset-top, 0px)));
}
.friend-profile-back {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border2);
  background: var(--surface);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 3px 14px rgba(28, 25, 23, 0.06);
}
.friend-profile-hdr-title {
  display: none;
}
.friend-profile-hdr-end {
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
}
.friend-profile-more-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border2);
  background: var(--surface);
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--t2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 14px rgba(28, 25, 23, 0.06);
}
.friend-profile-more-btn:active {
  transform: scale(0.96);
}
.fp-more-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  min-width: 196px;
  padding: 6px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shm);
}
.fp-more-menu[hidden] {
  display: none !important;
}
.fp-more-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.fp-more-menu-item:active {
  background: var(--s2);
}
.fp-more-menu-item--danger {
  color: #c0392b;
}
.friend-profile-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 16px calc(104px + env(safe-area-inset-bottom, 0px));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}
body.app-chrome.tab-friend-profile #friend-profile-body.friend-profile-scroll.app-scroll {
  padding-top: 8px;
}
body.tab-friend-profile .nav {
  display: flex !important;
}

.fp-discover-gate {
  margin: 4px 0 16px;
  padding: 20px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px dashed var(--border2);
  text-align: center;
}
.fp-discover-gate .empty-sub {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.fp-profile-card {
  margin: 0 0 12px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(28, 25, 23, 0.08);
  overflow: hidden;
}
.fp-profile-banner {
  min-height: 0;
  padding-top: 10px;
  background: transparent;
  position: relative;
}
.fp-profile-banner:after {
  display: none;
  content: none;
}
.fp-profile-mood-cap {
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
  backdrop-filter: blur(6px);
}
.fp-profile-hero {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 14px 0;
  padding: 4px 0 4px;
  position: relative;
  z-index: 1;
}
.fp-profile-av-wrap {
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(28, 25, 23, 0.12);
}
.fp-profile-hero-main {
  flex: 1;
  min-width: 0;
  padding-bottom: 0;
}
.fp-profile-kicker {
  margin: 0 0 3px;
  font-size: 10px;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.fp-profile-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 1px 0 0;
  font-family: Manrope, sans-serif;
  font-size: 23px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.fp-profile-legal {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--t4);
}
.fp-profile-mood {
  margin: 7px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--t2);
  line-height: 1.35;
}
.fp-treat-balance {
  display: block;
  margin: 0 14px 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--s2);
  border: 1px solid var(--border2);
  box-shadow: 0 2px 10px rgba(28, 25, 23, 0.04);
}
.fp-treat-balance-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fp-treat-balance-ico {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.fp-treat-balance-copy {
  flex: 1;
  min-width: 0;
}
.fp-treat-balance-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--t3);
}
.fp-treat-balance-num {
  margin: 4px 0 0;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--t2);
  line-height: 1;
}
.fp-treat-balance-num strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.fp-treat-balance-cap {
  font-size: 16px;
  font-weight: 800;
  color: var(--t3);
  margin-left: 2px;
}

.fp-treat-balance-sub {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--t4);
}

.fp-treat-balance-bar {
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  background: var(--s3);
  overflow: hidden;
}
.fp-treat-balance-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
}
.fp-stat-chip--treats {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border2));
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
}
.fp-stat-chip--treats .fp-stat-chip-lbl {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--t3);
}
.fp-stat-chip--treats strong {
  font-size: 20px;
}
.friend-meta-pill--treats {
  color: var(--brand);
  font-weight: 800;
}
.friend-pro-pill,
.fp-profile-pro-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #7c4a03;
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  border: 1px solid rgba(180, 120, 0, 0.25);
  vertical-align: middle;
  white-space: nowrap;
}
.fp-profile-pro-badge {
  margin-left: 0;
  font-size: 11px;
  padding: 4px 10px;
}
.fp-profile-rel {
  display: inline-flex;
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.fp-profile-hero-meta {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
  line-height: 1.45;
}
.fp-profile-hero-meta .person-feed-mood-word {
  font-weight: 800;
  color: var(--text);
}
.fp-profile-hero-meta .person-feed-active {
  color: var(--t3);
}
.fp-mood-card {
  margin: 11px 14px 0;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.08), var(--surface));
}
.fp-mood-card--empty {
  border-style: dashed;
  background: var(--s2);
}
.fp-mood-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.fp-mood-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.fp-mood-card-head strong {
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.fp-mood-card-head small {
  font-size: 11px;
  font-weight: 650;
  color: var(--t3);
  line-height: 1.35;
}
.fp-mood-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.fp-mood-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 9px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.56);
  text-align: center;
}
.fp-mood-metric small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--t3);
}
.fp-mood-metric strong {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.fp-mood-metric em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--t4);
}
.fp-mood-metric--alert strong,
.fp-mood-metric--stress strong {
  color: var(--coral);
}
.fp-mood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.fp-mood-note {
  margin: 9px 0 0;
  font-size: 12px;
  font-weight: 650;
  color: var(--t2);
  line-height: 1.45;
}
.fp-stat-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 12px 14px 0;
}
.fp-stat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 800;
  color: var(--t2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 7px;
  border-radius: 14px;
  background: var(--s2);
  border: 1px solid var(--border);
  text-align: center;
}
.fp-stat-chip strong {
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.fp-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 14px;
  align-items: stretch;
}
.fp-profile-actions .friend-act-btn {
  flex: 1 1 calc(50% - 6px);
  min-height: 44px;
  min-width: 0;
  justify-content: center;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 14px;
  box-shadow: none;
}
.fp-profile-actions .friend-act-btn--primary {
  flex: 1 1 100%;
  min-height: 48px;
  box-shadow: 0 4px 14px rgba(var(--brand-rgb), 0.28);
}
.fp-wa-link {
  flex: 1 1 calc(50% - 6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(var(--brand-rgb), 0.35);
  background: var(--brand-dim);
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.05);
}
.fp-wellbeing-extra {
  background: var(--surface);
}
.fp-wellbeing-summary {
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 8px;
}
.fp-wellbeing-hints {
  font-size: 12px;
  color: var(--t3);
  line-height: 1.45;
  margin-bottom: 10px;
}
.fp-wellbeing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fp-wellbeing-actions .friend-act-btn {
  flex: 1 1 calc(50% - 4px);
  min-height: 42px;
  justify-content: center;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
}
.fp-wellbeing-actions .friend-act-btn--primary {
  flex-basis: 100%;
}
.fp-self-hint {
  margin: 0;
  font-size: 12px;
  color: var(--t3);
  line-height: 1.45;
}
.fp-section-label {
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.fp-task-section {
  margin: 0 0 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.035);
}
.fp-task-section--recent {
  margin-top: 8px;
}
.fp-task-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  margin-bottom: 7px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  color: #1c1917;
}
.fp-task-meta {
  font-size: 11px;
  color: rgba(28, 25, 23, 0.62);
  margin-top: 2px;
  line-height: 1.35;
}
.fp-task-meta .fp-task-meta-brand {
  color: var(--brand);
  font-weight: 700;
}
.fp-task-meta .fp-task-meta-done {
  color: #1a6e42;
  font-weight: 700;
}
.fp-task-meta .fp-task-meta-muted {
  color: rgba(28, 25, 23, 0.5);
  font-weight: 600;
}
.fp-task-card:last-child {
  margin-bottom: 0;
}
.fp-recent-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.fp-recent-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.fp-recent-emoji {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--s2);
  flex-shrink: 0;
}
.fp-recent-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--t2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fp-recent-status {
  font-size: 11px;
  font-weight: 800;
  color: var(--t4);
}
.fp-recent-status--done {
  color: var(--green);
}
.fp-empty {
  border: 1px dashed var(--border2);
  border-radius: 18px;
  background: var(--surface);
}
.fp-task-name {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

.friends-int-slot {
  padding: 0 16px 10px;
  flex-shrink: 0;
}
.friends-int-cta {
  width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1.5px dashed rgba(45, 106, 79, 0.4);
  background: var(--brand-dim);
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  text-align: left;
}
.friends-int-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.friends-int-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--t3);
  text-transform: uppercase;
  margin-right: 4px;
}
.friends-int-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 20px;
  background: var(--s2);
  color: var(--text);
}
.friends-int-manage {
  margin-left: auto;
  padding: 4px 10px;
  border: none;
  background: transparent;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  cursor: pointer;
}

.friends-search-wrap {
  margin: 0 16px 10px;
}
.friends-list-hint {
  padding: 0 16px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--t4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#friends-list.friends-list-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 16px var(--tab-scroll-bottom-with-actions, calc(76px + env(safe-area-inset-bottom, 0px)));
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.frow--search {
  cursor: pointer;
  transition: background 0.15s ease;
}
.frow--search:hover {
  background: var(--s2);
}
.frow--search:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.friend-social-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}
.friend-social-card--alert {
  border-color: rgba(192, 57, 43, 0.35);
  background: linear-gradient(180deg, rgba(192, 57, 43, 0.06) 0%, var(--surface) 48px);
}
.friend-social-card--watch {
  border-color: rgba(122, 74, 16, 0.3);
}
.friend-social-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 10px;
  cursor: pointer;
}
.friend-social-av {
  position: relative;
  flex-shrink: 0;
}
.friend-social-av .fav2 {
  width: 52px;
  height: 52px;
}
.friend-live-pip {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 2px rgba(45, 106, 79, 0.25);
  animation: friend-live-pulse 1.8s ease infinite;
}
@keyframes friend-live-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.85;
  }
}
.friend-social-body {
  flex: 1;
  min-width: 0;
}
.friend-social-name {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.friend-social-mood {
  font-size: 12px;
  color: var(--t2);
  margin-top: 6px;
  line-height: 1.45;
}
.friend-social-mood .person-feed-mood-word {
  font-weight: 800;
  color: var(--text);
}
.friend-social-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.friend-meta-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--s2);
  color: var(--t3);
}
.friend-meta-pill--live {
  background: rgba(45, 106, 79, 0.12);
  color: var(--brand);
}
.friend-social-score {
  text-align: right;
  flex-shrink: 0;
}
.friend-social-score .rscore {
  font-size: 20px;
  font-weight: 800;
}
.friend-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 12px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 0;
}

.friends-empty {
  text-align: center;
  padding: 32px 20px;
  color: var(--t3);
  font-size: 14px;
  line-height: 1.5;
}
.friends-empty-cta {
  margin-top: 14px;
  padding: 12px 20px;
  border-radius: 14px;
  border: none;
  background: var(--brand);
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.friends-footer-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  padding: 8px 16px;
  display: flex;
  gap: 8px;
  pointer-events: none;
  z-index: 20;
}
.friends-footer-bar button {
  pointer-events: auto;
  flex: 1;
  padding: 11px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.friends-footer-bar .friends-footer-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
