
/* Compact app-profile card + small bio edit */
.dt17-social-card.dt17-fbprof-card{margin:8px 8px 10px!important;}
.dt17-fbprof-shell{border-radius:22px!important;overflow:hidden!important;}
.dt17-fbprof-cover{height:128px!important;min-height:128px!important;border-radius:22px 22px 0 0!important;}
.dt17-fbprof-cover:after{left:-18%!important;right:-18%!important;bottom:-30px!important;height:62px!important;border-radius:50% 50% 0 0 / 68% 68% 0 0!important;}
.dt17-fbprof-topbar{height:40px!important;padding:7px 10px!important;}
.dt17-fbprof-icon{width:30px!important;height:30px!important;font-size:18px!important;}
.dt17-fbprof-topright{gap:6px!important;}
.dt17-fbprof-camera-cover{right:10px!important;bottom:30px!important;width:31px!important;height:31px!important;font-size:16px!important;box-shadow:0 5px 12px rgba(0,0,0,.12)!important;}
.dt17-fbprof-body{padding:0 14px 14px!important;}
.dt17-fbprof-main{margin-top:-49px!important;}
.dt17-fbprof-avatar-wrap{width:92px!important;min-height:92px!important;}
.dt17-fbprof-avatar{width:92px!important;height:92px!important;border:4px solid #fff!important;font-size:27px!important;box-shadow:0 6px 14px rgba(15,23,42,.18)!important;}
.dt17-fbprof-avatar .dt17-photo-edit-badge{right:4px!important;bottom:4px!important;width:24px!important;height:24px!important;border:2px solid #fff!important;font-size:12px!important;}
.dt17-fbprof-add{left:18px!important;right:18px!important;bottom:6px!important;height:20px!important;font-size:10px!important;}
.dt17-fbprof-name-block{padding-top:8px!important;}
.dt17-fbprof-name{font-size:21px!important;line-height:1.1!important;}
.dt17-fbprof-bio{margin-top:5px!important;gap:3px!important;}
.dt17-fbprof-subtitle{font-size:12px!important;font-weight:750!important;}
.dt17-fbprof-location{font-size:12px!important;font-weight:800!important;gap:4px!important;}
.dt17-fbprof-att{font-size:10px!important;padding:4px 8px!important;margin-top:1px!important;}
.dt17-fbprof-userbio{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;max-width:100%!important;margin-top:3px!important;padding:4px 8px!important;border-radius:999px!important;background:#f8fafc!important;border:1px solid #e5e7eb!important;color:#475569!important;font-size:11px!important;font-weight:750!important;line-height:1.2!important;}
.dt17-fbprof-userbio span{max-width:220px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.dt17-fbprof-bio-edit{border:0!important;background:#e0f2fe!important;color:#0369a1!important;border-radius:999px!important;padding:2px 7px!important;font-size:10px!important;font-weight:900!important;line-height:1.2!important;cursor:pointer!important;}
.dt17-fbprof-buttons{gap:8px!important;margin-top:12px!important;}
.dt17-fbprof-btn{height:36px!important;border-radius:13px!important;font-size:13px!important;gap:5px!important;}
.dt17-fbprof-details{padding:12px!important;margin:0 8px 10px!important;border-radius:18px!important;}
.dt17-fbprof-section-head{margin-bottom:8px!important;}
.dt17-fbprof-section-head h3,.dt17-fbprof-links-title{font-size:15px!important;}
.dt17-fbprof-edit{width:28px!important;height:28px!important;font-size:15px!important;}
.dt17-fbprof-detail-list{gap:8px!important;margin-top:8px!important;}
.dt17-fbprof-detail{grid-template-columns:30px 1fr auto!important;gap:8px!important;}
.dt17-fbprof-detail-icon{width:30px!important;height:30px!important;border-radius:10px!important;font-size:15px!important;}
.dt17-fbprof-detail-text{font-size:13px!important;}
.dt17-fbprof-more{margin:7px 0 0 38px!important;font-size:11px!important;}
.dt17-fbprof-links-title{margin-top:12px!important;}
#spBio{min-height:52px!important;resize:vertical!important;line-height:1.35!important;font-size:13px!important;}
@media(max-width:520px){
  .dt17-social-card.dt17-fbprof-card{margin:6px 6px 9px!important;}
  .dt17-fbprof-shell{border-radius:20px!important;}
  .dt17-fbprof-cover{height:118px!important;min-height:118px!important;}
  .dt17-fbprof-cover:after{bottom:-28px!important;height:58px!important;}
  .dt17-fbprof-camera-cover{bottom:28px!important;right:9px!important;width:30px!important;height:30px!important;}
  .dt17-fbprof-body{padding:0 12px 12px!important;}
  .dt17-fbprof-main{margin-top:-46px!important;}
  .dt17-fbprof-avatar-wrap{width:86px!important;min-height:86px!important;}
  .dt17-fbprof-avatar{width:86px!important;height:86px!important;font-size:25px!important;}
  .dt17-fbprof-add{left:17px!important;right:17px!important;height:19px!important;font-size:9px!important;}
  .dt17-fbprof-name{font-size:19px!important;}
  .dt17-fbprof-subtitle,.dt17-fbprof-location{font-size:11.5px!important;}
  .dt17-fbprof-userbio{font-size:10.5px!important;padding:3px 7px!important;}
  .dt17-fbprof-userbio span{max-width:180px!important;}
  .dt17-fbprof-btn{height:34px!important;font-size:12.5px!important;border-radius:12px!important;}
  .dt17-fbprof-details{padding:11px!important;margin-left:6px!important;margin-right:6px!important;border-radius:16px!important;}
}
@media(max-width:380px){
  .dt17-fbprof-cover{height:108px!important;min-height:108px!important;}
  .dt17-fbprof-main{margin-top:-42px!important;}
  .dt17-fbprof-avatar-wrap{width:78px!important;min-height:78px!important;}
  .dt17-fbprof-avatar{width:78px!important;height:78px!important;font-size:23px!important;}
  .dt17-fbprof-name{font-size:18px!important;}
  .dt17-fbprof-userbio span{max-width:150px!important;}
}
