/* Shared standalone/embedded Friends layout; behaviour stays in friends.js. */
.friends-shell .friends-hero{margin-bottom:12px}
.friends-shell .friends-hero h1{font-size:24px;line-height:1.2;letter-spacing:0}
.friends-shell .friends-hero>p{font-size:14px;line-height:1.45;margin:8px 0 0;color:var(--friends-muted)}
.friends-shell .friends-panel{padding:14px;margin-top:12px;border-radius:12px}
.friends-shell .friends-panel h2{font-size:19px;letter-spacing:0}
.friends-shell .section-heading{margin-bottom:10px;align-items:center}
.friends-shell .section-heading .section-kicker{display:none}
.friends-shell .section-kicker{font-size:11px;letter-spacing:.1em}
.friends-shell .identity-panel{display:block}
.friends-shell .friend-code-row #friend-code{font-size:clamp(16px,5vw,21px);letter-spacing:.04em;overflow-wrap:anywhere}
.friends-shell .friend-code-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}
.friends-shell :is(.small-button,.person-action,.primary-button){min-height:44px;padding:9px 12px;font-size:14px}
.friends-shell .panel-help,.friends-shell .empty-state{font-size:14px;line-height:1.45}
.friends-shell .friend-privacy{margin-top:12px;border-top:1px solid var(--friends-line)}
.friends-shell .friend-privacy summary{min-height:44px;padding:12px 0 8px;font-size:14px;font-weight:700;cursor:pointer}
.friends-shell .searchable-setting{margin-top:4px;padding:10px;gap:10px;font-size:14px}
.friends-shell .searchable-setting input{flex:none;min-width:20px;margin:2px 0 0}
.friends-shell .searchable-setting small{font-size:13px}
.friends-shell .friend-search-form{grid-template-columns:minmax(0,1fr) auto;gap:8px}
.friends-shell .friend-search-form label{min-width:0}
.friends-shell .friend-search-form input{min-width:0;min-height:44px;font-size:16px;padding:9px 10px}
.friends-shell .person-row{padding:10px 0;gap:8px}
.friends-shell .friends-panel>p:last-child a{font-size:14px;color:var(--friends-accent);display:inline-block;padding:8px 0;min-height:44px}
.friends-shell :is(button,input,summary,a):focus-visible{outline:3px solid var(--friends-accent);outline-offset:3px}
@media(max-width:359px){.friends-shell .friend-search-form{grid-template-columns:1fr}}
