/* Midnight person tiles share one size. Inline avatar/name rows are deliberately excluded. */
html:root:not([data-theme="light"]):not([data-theme="peach"]) body :is(#home #friendList .friend-profile,#friendProfileDialog .profile-friend-mini,#myProfileDialog .profile-friend-mini,#group #clubMembers .member-profile-card,#myProfileContent .profile-partner-card,#partnerProfileSection .profile-partner-card,#settingsPartnerSection .profile-partner-card){position:relative!important;display:block!important;box-sizing:border-box!important;width:100px!important;min-width:100px!important;max-width:100px!important;height:100px!important;min-height:100px!important;max-height:100px!important;flex:0 0 100px!important;aspect-ratio:auto!important;margin:0!important;padding:48px 6px 8px!important;border:1px solid var(--tone-324e72,#397b99)!important;border-radius:14px!important;background:var(--tone-1d395d,#175c79)!important;color:var(--ink-f7f9ff,#fff)!important;text-align:center!important;overflow:visible!important;box-shadow:none!important;white-space:normal!important}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body :is(#home #friendList .friend-profile,#friendProfileDialog .profile-friend-mini,#myProfileDialog .profile-friend-mini,#group #clubMembers .member-profile-card,#myProfileContent .profile-partner-card,#partnerProfileSection .profile-partner-card,#settingsPartnerSection .profile-partner-card) :is(.friend-avatar,.member-avatar,.profile-partner-avatar),html:root:not([data-theme="light"]):not([data-theme="peach"]) body :is(#friendProfileDialog,#myProfileDialog) .profile-friend-mini>:is(img,.friend-initials){position:absolute!important;left:50%!important;top:-18px!important;right:auto!important;bottom:auto!important;transform:translateX(-50%)!important;box-sizing:border-box!important;width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important;max-width:62px!important;max-height:62px!important;object-fit:cover!important;border:2px solid var(--tone-142b4b,#0a4a70)!important;border-radius:50%!important;margin:0!important;padding:0!important;font-size:22px!important;font-weight:700!important;color:var(--ink-f7f9ff,#fff)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body :is(#home #friendList .friend-profile,#friendProfileDialog .profile-friend-mini,#myProfileDialog .profile-friend-mini,#group #clubMembers .member-profile-card,#myProfileContent .profile-partner-card,#partnerProfileSection .profile-partner-card,#settingsPartnerSection .profile-partner-card) :is(.friend-initials,.member-avatar:not(img),.profile-partner-avatar:not(img)){background:var(--tone-24466e,#1d6c89)!important}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body :is(#home #friendList .friend-profile,#friendProfileDialog .profile-friend-mini,#myProfileDialog .profile-friend-mini,#group #clubMembers .member-profile-card,#myProfileContent .profile-partner-card,#partnerProfileSection .profile-partner-card,#settingsPartnerSection .profile-partner-card) :is(.friend-name-lines,.member-name,.profile-partner-first){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;margin:0!important;padding:0!important;min-height:0!important;height:36px!important;max-height:36px!important;overflow:hidden!important;font-size:13px!important;line-height:18px!important;font-weight:700!important;text-align:center!important;color:inherit!important}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body :is(#home #friendList .friend-profile,#friendProfileDialog .profile-friend-mini,#myProfileDialog .profile-friend-mini,#group #clubMembers .member-profile-card,#myProfileContent .profile-partner-card,#partnerProfileSection .profile-partner-card,#settingsPartnerSection .profile-partner-card) :is(.friend-first,.friend-last,.member-first-name){display:block!important;font-size:13px!important;line-height:18px!important;font-weight:700!important;margin:0!important;padding:0!important;min-height:0!important;text-align:center!important;color:inherit!important}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body #group #clubMembers .member-profile-open{position:static!important;display:block!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;width:100%!important;height:36px!important;min-height:0!important;margin:0!important;padding:0!important;color:inherit!important}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body :is(#friendProfileDialog,#myProfileDialog) .profile-friends-grid{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:flex-start!important;gap:52px 12px!important;padding-top:18px!important}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body #group #clubMembers{gap:52px 12px!important;padding-top:18px!important;align-items:start!important}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body #group #clubMembers .member-couple{align-items:flex-start!important;gap:8px!important}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body :is(#friendProfileDialog,#myProfileDialog) .profile-friend-mini>:is(button,small),html:root:not([data-theme="light"]):not([data-theme="peach"]) body #group #clubMembers .member-relationship{position:absolute!important;left:0!important;right:0!important;bottom:-27px!important;margin:0!important;font-size:11px!important;line-height:18px!important}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body :is(#friendProfileDialog,#myProfileDialog) .profile-friend-mini>button{width:100%!important;min-height:22px!important;height:22px!important;padding:2px 5px!important;border-radius:8px!important}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body #group #clubMembers .member-relationship :is(button,small,.tag){font-size:11px!important;line-height:16px!important;padding:2px 5px!important;min-height:20px!important;margin:0!important}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body #group #clubMembers .member-role-badge{top:-19px!important;right:15px!important;width:15px!important;height:15px!important;font-size:9px!important;z-index:2}
html:root:not([data-theme="light"]):not([data-theme="peach"]) body :is(#myProfileContent,#partnerProfileSection,#settingsPartnerSection) .profile-partner-card{margin-top:24px!important;margin-bottom:16px!important}
