.friends-profile-actions,.friends-action-form{display:inline-flex;align-items:center;gap:8px;margin:0}.friends-profile-button,.friends-profile-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.34);border-radius:999px;background:rgba(255,255,255,.16);color:#fff;font-weight:900;text-decoration:none}.friends-profile-button{cursor:pointer}.friends-profile-button:hover,.friends-profile-button:focus-visible{background:rgba(255,255,255,.24)}.friends-profile-button-secondary{background:rgba(15,23,42,.22)}.friends-section-count{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;background:rgba(148,163,184,.12);color:var(--muted,#64748b);font-size:13px;font-weight:900}.friends-profile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.friends-profile-mini{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid var(--border,rgba(148,163,184,.24));border-radius:var(--mz-border-radius);background:rgba(148,163,184,.08);color:inherit;text-decoration:none}.friends-profile-mini__avatar,.friends-member-card__avatar{width:46px;height:46px;flex:0 0 auto;overflow:hidden;border-radius:999px;background:rgba(148,163,184,.18)}.friends-profile-mini img,.friends-member-card__avatar img{display:block;width:100%;height:100%;object-fit:cover}.friends-profile-mini__copy{display:grid;gap:3px;min-width:0}.friends-profile-mini__name,.friends-profile-mini__username-link,.friends-member-card__name,.friends-member-card__username-link{min-width:0;color:inherit;text-decoration:none}.friends-profile-mini__name,.friends-member-card__name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friends-profile-mini strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friends-profile-mini__username,.friends-member-card__username{display:flex;align-items:center;gap:5px;min-width:0}.friends-profile-mini__username small,.friends-member-card__username small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted,#64748b);font-weight:800}.friends-page{display:grid;gap:18px;width:100%;min-width:0}.friends-hero,.friends-panel{border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:var(--surface,#fff)}.friends-hero{padding:26px;background:radial-gradient(circle at 18% 10%,color-mix(in srgb,var(--accent,#2563eb) 20%,transparent),transparent 35%),var(--surface,#fff)}.friends-hero span{color:var(--accent,#2563eb);font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:12px}.friends-hero h1{margin:8px 0}.friends-hero p,.friends-empty{margin:0;color:var(--muted,#64748b);font-weight:700}.friends-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.friends-panel{padding:20px}.friends-panel--wide{grid-column:1/-1}.friends-panel__head,.friends-cp-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.friends-panel__head h2,.friends-cp-head h2{margin:0}.friends-panel__head span{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;border-radius:999px;background:var(--accent,#2563eb);color:var(--text-2);font-weight:900}.friends-list{display:grid;gap:12px}.friends-list--compact{grid-template-columns:repeat(2,minmax(0,1fr))}.friends-member-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;padding:12px;border:1px solid var(--border,rgba(148,163,184,.24));border-radius:var(--mz-border-radius);background:rgba(148,163,184,.08)}.friends-member-card__main{display:flex;align-items:center;gap:12px;min-width:0;color:inherit;text-decoration:none}.friends-member-card__copy{min-width:0;display:grid;gap:3px}.friends-member-card__copy strong,.friends-member-card__copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friends-member-card__copy small{color:var(--muted,#64748b);font-weight:800}.friends-member-card__actions{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:8px;min-width:0}.friends-member-card__actions form{margin:0}.friends-member-card__actions button,.friends-cp-form button:not(.button){min-height:40px;padding:0 14px;border:0;border-radius:999px;background:var(--accent,#2563eb);color:var(--button-primary-text,var(--text-2,#fff));font-weight:900;white-space:nowrap;cursor:pointer}.friends-member-card__actions .friends-button-secondary{background:rgba(148,163,184,.18);color:var(--text,#0f172a)}.friends-cp-form{display:grid;gap:16px}.friends-cp-check-copy{display:grid;gap:4px;min-width:0}.friends-cp-check-copy strong{font-weight:900}.friends-cp-check-copy small{color:var(--muted,#64748b);font-size:13px;font-weight:700;line-height:1.45}.friends-css-panel{display:grid;gap:16px}.friends-css-field{display:grid;gap:8px;font-weight:900}.friends-css-field textarea{width:100%;min-height:360px;padding:14px;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:var(--surface-2,rgba(148,163,184,.08));color:var(--text,#0f172a);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:13px;line-height:1.55}.friends-css-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.friends-action-form[aria-busy=true] button{opacity:.65;pointer-events:none}@media(max-width:1100px){.friends-list--compact{grid-template-columns:1fr}}@media(max-width:760px){.friends-grid,.friends-list--compact{grid-template-columns:1fr}.friends-member-card{display:flex}.friends-member-card,.friends-panel__head,.friends-cp-head,.friends-profile-actions{align-items:stretch;flex-direction:column}.friends-member-card__actions{display:flex;flex-wrap:wrap}.friends-member-card__actions,.friends-profile-actions,.friends-action-form,.friends-profile-button,.friends-profile-pill{width:100%}.friends-member-card__actions .friends-action-form{flex:1 1 100%}.friends-member-card__actions button{width:100%}}.friends-cp-field{display:grid;gap:8px;min-width:0}.friends-cp-field>span{font-weight:900}.friends-cp-field>small{color:var(--muted,#64748b);font-size:13px;font-weight:700;line-height:1.45}.friends-cp-field textarea{display:block;width:100%;min-height:44px;padding:10px 12px;overflow-y:hidden;resize:none;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:var(--surface,#fff);color:var(--text,#0f172a);font:inherit;line-height:1.45;box-sizing:border-box}
.friends-cp-label-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.friends-cp-field input,.friends-cp-field select{display:block;width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border,rgba(148,163,184,.28));border-radius:var(--mz-border-radius);background:var(--surface,#fff);color:var(--text,#0f172a);font:inherit;box-sizing:border-box}@media(max-width:760px){.friends-cp-label-grid{grid-template-columns:1fr}}

.friends-profile-requests{min-width:0}.friends-profile-requests__group{min-width:0}.friends-profile-requests__divider{height:1px;border:0;margin:24px 0;background:linear-gradient(90deg,transparent,var(--border,rgba(148,163,184,.28)),transparent)}
