/* HC PWA Find Friends v1: isolated overlay; preserve real feed bottom nav. */
#hcFindFriendsPWA{position:fixed;inset:0;z-index:9400;display:flex;flex-direction:column;background:#fff;color:#172033;font:inherit;box-sizing:border-box}
#hcFindFriendsPWA *{box-sizing:border-box}
#hcFindFriendsPWA button{font:inherit;cursor:pointer}
#hcFindFriendsPWA .hcff-head{position:relative;text-align:center;padding:calc(env(safe-area-inset-top,0px) + 13px) 15px 13px;background:#fff;font-size:20px;font-weight:850;border-bottom:1px solid #e8edf5;flex:none}
#hcFindFriendsPWA .hcff-back{position:absolute;left:13px;top:calc(env(safe-area-inset-top,0px) + 7px);width:40px;height:40px;border:0;background:transparent;font-size:24px;color:#243145}
#hcFindFriendsPWA .hcff-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:12px 14px 0;padding:4px;background:#f4f7fb;border:1px solid #edf0f5;border-radius:19px;flex:none}
#hcFindFriendsPWA .hcff-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px 1px;background:transparent;color:#4d5665;border:0;border-radius:15px;font-size:12px;font-weight:750;min-width:0}
#hcFindFriendsPWA .hcff-tabs button.active{background:#dceaff;color:#0758d5}
#hcFindFriendsPWA .hcff-tabs i{font-size:19px}
#hcFindFriendsPWA .hcff-body{flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:14px 15px calc(105px + env(safe-area-inset-bottom,0px))}
#hcFindFriendsPWA .hcff-hero{padding:16px 12px;border-radius:20px;text-align:center;background:linear-gradient(115deg,#8bc7f8,#e4d7fa 55%,#93cffb);margin-bottom:10px;color:#172033}
#hcFindFriendsPWA .hcff-hero strong{font-size:22px;display:block;line-height:1.3;margin:5px 0}
#hcFindFriendsPWA .hcff-hero small{font-size:12px;line-height:1.4;display:block}
#hcFindFriendsPWA .hcff-search{border:1px solid #e0e6ee;background:#f8faff;border-radius:12px;padding:10px 12px;display:block;width:100%;font-size:14px;margin:12px 0}
#hcFindFriendsPWA .hcff-person{display:flex;align-items:center;gap:10px;border-bottom:1px solid #ebeff5;min-height:94px;padding:12px 0}
#hcFindFriendsPWA .hcff-avatar{width:65px;height:65px;border-radius:50%;background:#e5edf9;color:#164e98;display:grid;place-items:center;overflow:hidden;flex:none;font-size:27px;font-weight:800;cursor:pointer}
#hcFindFriendsPWA .hcff-avatar img,#hcFindFriendsPWA .hcff-avatar span{grid-area:1/1}
#hcFindFriendsPWA .hcff-avatar img{width:100%;height:100%;object-fit:cover;z-index:2}
#hcFindFriendsPWA .hcff-avatar span{z-index:1}
#hcFindFriendsPWA .hcff-info{flex:1;min-width:0}
#hcFindFriendsPWA .hcff-name{font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
#hcFindFriendsPWA .hcff-meta{font-size:11px;line-height:1.5;color:#697489;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hcFindFriendsPWA .hcff-add{border:0;border-radius:10px;background:#075bea;color:#fff;padding:10px 9px;font-size:11px;font-weight:800;white-space:nowrap;flex:none}
#hcFindFriendsPWA .hcff-add:disabled{color:#60738e;background:#e8eff8}
#hcFindFriendsPWA .hcff-dismiss{border:0;background:transparent;color:#687286;font-size:20px;line-height:1;padding:5px 2px}
#hcFindFriendsPWA .hcff-status{text-align:center;padding:44px 16px;color:#657186;font-size:14px;line-height:1.6}
#hcFindFriendsPWA .hcff-status button{border:0;background:#075bea;color:#fff;padding:9px 14px;border-radius:9px;margin-top:9px}
/* Elevate the existing PWA feed dock, not a separate imitation navigation. */
#app:has(#hcFindFriendsPWA) .hc-pearl-dock,
#app:has(#hcFindFriendsPWA) .hc-pwa-pearl-dock,
#app:has(#hcFindFriendsPWA) > .tab-bar{z-index:9500!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
@media(min-width:700px){#hcFindFriendsPWA{left:50%;transform:translateX(-50%);width:min(100%,680px);box-shadow:0 0 0 100vmax rgba(0,0,0,.32)}}
