/* Facebook-style profile upgrade */
.fbx-idblock{padding-bottom:6px;min-width:0}
.fbx-name{font-size:30px;font-weight:800;color:#050505;line-height:1.15;margin:0}
.fbx-stats{font-size:14.5px;color:#65676b;margin-top:4px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.fbx-stats strong{color:#050505}
.fbx-stat{cursor:pointer}
.fbx-stat:hover{text-decoration:underline}
.fbx-dot{opacity:.6}
.fbx-handle{font-size:13.5px;color:#65676b;margin-top:2px}
.fbx-faces{display:flex;align-items:center;margin-top:8px;padding-left:6px}
.fbx-faces a{margin-left:-6px;display:block}
.fbx-faces img{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid #fff;display:block}

.fbx-actions{display:flex;align-items:center;gap:8px;padding-bottom:10px;flex-wrap:wrap}
.fbx-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:none;border-radius:8px;padding:9px 16px;font-size:14.5px;font-weight:700;cursor:pointer;text-decoration:none;line-height:1.2;font-family:inherit}
.fbx-btn-blue{background:#1877f2;color:#fff}
.fbx-btn-blue:hover{background:#166fe5}
.fbx-btn-gray{background:#e4e6eb;color:#050505}
.fbx-btn-gray:hover{background:#d8dadf}
.fbx-btn-full{display:flex;width:100%;margin-bottom:14px}

.fb-tabs{scrollbar-width:none}
.fb-tabs::-webkit-scrollbar{display:none}
.fbx-tabcount{font-size:12px;font-weight:700;color:#65676b;background:#f0f2f5;border-radius:10px;padding:1px 7px;margin-left:3px}
.fb-tab.active .fbx-tabcount{background:#e7f3ff;color:#1877f2}

.fbx-h3{font-size:20px;font-weight:800;color:#050505;margin:0 0 12px}
.fbx-cardhead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}
.fbx-cardhead .fbx-h3{margin-bottom:0}
.fbx-link{color:#1877f2;font-size:14px;font-weight:600;text-decoration:none}
.fbx-link:hover{text-decoration:underline}
.fbx-ico{color:#65676b;font-size:16px;width:20px;text-align:center}

.photo-grid-9{border-radius:10px;gap:3px}
.fbx-friends{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 8px;margin-top:10px}
.fbx-friend{text-decoration:none;color:#050505;min-width:0}
.fbx-friend img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;display:block}
.fbx-friend span{display:block;font-size:12.5px;font-weight:600;margin-top:4px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.fbx-about{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;align-items:start}
.fbx-statgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fbx-statbox{display:flex;flex-direction:column;align-items:center;gap:2px;padding:14px 8px;background:#f0f2f5;border-radius:10px;text-decoration:none;color:#050505}
.fbx-statbox:hover{background:#e4e6eb}
.fbx-statbox b{font-size:22px}
.fbx-statbox span{font-size:13px;color:#65676b;font-weight:600}

.fbx-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.fbx-person{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #e4e6eb;border-radius:10px;text-decoration:none;color:#050505;min-width:0}
.fbx-person:hover{background:#f7f8fa}
.fbx-person img{width:60px;height:60px;border-radius:10px;object-fit:cover;flex-shrink:0}
.fbx-person span{display:flex;flex-direction:column;min-width:0}
.fbx-person b{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fbx-person small{font-size:13px;color:#65676b}

@media(max-width:860px){
  .fb-head-row{margin-top:-60px;padding:0 14px 14px;justify-content:center;text-align:center}
  .fb-head-left{flex-direction:column;align-items:center;gap:8px}
  .fbx-stats,.fbx-faces{justify-content:center}
  .fbx-actions{justify-content:center;width:100%}
  .fbx-name{font-size:24px}
  .fbx-about{grid-template-columns:1fr}
}
