/* ELCHATEA_FRIENDS_PANEL_V1 */
#friendsPanel{width:min(560px,calc(100vw - 24px));max-height:min(760px,calc(100dvh - 28px));border-radius:14px;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;}
#friendsPanel .friends-panel-header{min-height:48px;padding:4px 12px;flex-shrink:0;}
#friendsPanel .friends-panel-title{font-size:15px;}
#friendsPanel .friends-panel-close{width:38px;height:38px;display:grid;place-items:center;line-height:1;}
#friendsPanel .friends-panel-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px;scrollbar-gutter:stable;}
#friendsPanel .friends-section{margin-bottom:14px;}
#friendsPanel .friends-list{max-height:none;overflow:visible;display:grid;gap:8px;padding:8px;}
#friendsPanel .friends-controls1{padding:10px 10px 0;}
#friendsPanel .friends-row1{display:grid;grid-template-columns:9px minmax(0,1fr);gap:8px 10px;padding:12px;border:1px solid #dbe5ed;border-radius:10px;background:#fff;}
#friendsPanel .friends-row1 .friend-presence{margin-top:6px;align-self:start;}
#friendsPanel .friend-name{font-size:14px;overflow-wrap:anywhere;}
#friendsPanel .friend-meta{font-size:12px;white-space:normal;overflow-wrap:anywhere;color:#536578;}
#friendsPanel .friends-actions1{grid-column:2;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-start;}
#friendsPanel .friends-action1{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:6px 9px;border:1px solid #cbdce9;border-radius:7px;background:#f2f7fb;color:#194f74;font-size:12px;white-space:nowrap;}
#friendsPanel .friends-action1 svg,#friendsPanel .friends-media1 svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
#friendsPanel .friends-remove1{background:transparent;color:#7e4348;border-color:transparent;margin-left:auto;min-width:36px;}
#friendsPanel .friends-sr1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
#friendsPanel .friends-action1:focus-visible,#friendsPanel input:focus-visible{outline:2px solid #1479b8;outline-offset:2px;}
#friendsPanel .friends-controls1{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-bottom:10px;}
#friendsPanel .friends-search1{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:#334e66;}
#friendsPanel .friends-search1 input{width:100%;min-width:0;box-sizing:border-box;min-height:40px;padding:8px 10px;border:1px solid #cbdce9;border-radius:8px;font-size:16px;color:#213f56;background:#fff;}
#friendsPanel .friends-controls1 button{min-height:40px;}
#friendsPanel .friends-controls1 button[aria-pressed=true]{background:#196b9b;color:#fff;}
#friendsPanel .friends-summary1{grid-column:1/-1;font-size:12px;color:#536578;}
#friendsPanel .friends-media1{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;margin-top:5px;border-radius:6px;background:#e6f4ef;color:#23614f;font-size:11px;font-weight:600;}
#friendsPanel .friends-more1{margin-top:8px;width:100%;}
@media(max-width:600px){
 #friendsPanel{top:max(12px,env(safe-area-inset-top));left:12px;right:12px;bottom:auto;transform:none;width:auto;max-height:calc(100dvh - 24px - env(safe-area-inset-top));}
 #friendsPanel .friends-panel-body{padding:10px;}
 #friendsPanel .friends-action1{min-height:40px;}
 #friendsPanel .friends-remove1{margin-left:0;}
}
