/* People, family groups and the join screens. Same department-store look: hairlines, serif names, round portraits. */
.avatar{--pc:#141414; width:34px; height:34px; border-radius:50%; display:inline-grid; place-items:center; flex:none; font-size:1.05rem;
  background:var(--surface); border:2px solid var(--pc); box-shadow:inset 0 0 0 2px var(--surface)}
.avatar.xs{width:22px; height:22px; font-size:.7rem; border-width:1.5px}
.avatar.sm{width:30px; height:30px; font-size:.95rem}
.avatar.lg{width:64px; height:64px; font-size:1.9rem; border-width:2px; box-shadow:inset 0 0 0 3px var(--surface)}
.avatar.xl{width:92px; height:92px; font-size:2.8rem; border-width:3px; box-shadow:inset 0 0 0 4px var(--surface)}
.me-btn{border:0; background:none; padding:0; width:42px; height:42px; display:grid; place-items:center; border-radius:50%}
.me-btn:hover .avatar{box-shadow:0 0 0 2px var(--line-2)}

/* people rows on home and "who are you" */
.people-row{display:flex; gap:18px; overflow-x:auto; padding:4px 2px 10px; scrollbar-width:none}
.person-chip{border:0; background:none; display:grid; justify-items:center; gap:6px; min-width:76px; max-width:96px; color:inherit; text-align:center}
.person-chip .pname{font-family:var(--display); font-weight:600; font-size:.98rem; line-height:1.2}
.person-chip .plist{font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:96px}
.person-chip:hover .avatar{transform:translateY(-2px); transition:transform .15s}

/* home: groups and their sections */
.group{margin:22px 0 8px}
.sec{margin:6px 0 16px}
.sec-h{margin:0 0 8px 2px}
.sec-lists{display:grid; gap:8px; margin-top:6px}
.sec-lists .lists{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.home-actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin:30px 0 10px; padding-top:18px; border-top:1px solid var(--line)}

/* person page */
.person-head{display:grid; justify-items:center; gap:8px; text-align:center; margin:18px 0 16px}
.person-head h1{font-size:2rem}
.center-chips{justify-content:safe center; width:100%}
.person-lists{margin:6px 0 4px}
.list-tag{font-size:.62rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--accent)}
.badge.private{background:var(--surface); color:var(--ink); border-color:var(--ink); max-width:150px; overflow:hidden; text-overflow:ellipsis}

/* list page: who it's for */
.for-row{display:flex; gap:8px; flex-wrap:wrap; justify-content:center; align-items:center; font-size:.84rem; color:var(--muted)}
.for-person{display:inline-flex; align-items:center; gap:6px; border:1px solid var(--line-2); background:var(--surface); border-radius:999px; padding:3px 10px 3px 3px; font-size:.84rem; color:var(--ink)}

/* join */
.who-hero{text-align:center; padding:30px 0 18px; border-bottom:1px solid var(--line); margin-bottom:10px; display:grid; gap:8px}
.who-hero h1{font-size:2.2rem; margin-top:14px}
.who-group{margin:20px 0}
.who-group h2{font-size:1.35rem; margin-bottom:8px}
.who-sec{margin:10px 0 6px 2px}

/* group editor */
.sec-edit{display:flex; gap:6px; align-items:center; margin-top:8px}
.sec-edit .input{flex:1}
.sec-edit .icon-btn{border-color:var(--line-2)}
.sec-edit .icon-btn:disabled{opacity:.3}
.people-mini{display:flex; gap:6px; flex-wrap:wrap; margin:6px 0 4px 4px}
.emoji-picks button[aria-pressed="true"]{outline:2px solid var(--accent)}
