/* DELOVAROFF v98 — mobile-only additions to the approved v97 social profile.
   Desktop layout untouched. Mobile listings are TWO vertical cards, like home. */
.dv96-social .dv97-profile-actions>a>.dv98-short{display:none!important}
.dv96-social .dv97-profile-actions>a>.dv98-long{display:inline!important}

@media (max-width:760px){
  /* Keep portrait + heading alongside one another; stats span full card width. */
  .dv96-social .dv6-profile-head.dv83-profile-head{
    display:grid!important;
    grid-template-columns:81px minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    column-gap:12px!important;
    row-gap:8px!important;
    padding:0 14px 13px!important;
  }
  .dv96-social .dv6-profile-head.dv83-profile-head>.dv6-profile-avatar{
    grid-column:1!important;grid-row:1!important;
    margin-top:-36px!important;
    align-self:start!important;
    z-index:3;
  }
  .dv96-social .dv6-profile-head.dv83-profile-head>.dv6-profile-info{
    display:contents!important;
  }
  .dv96-social .dv98-profile-intro{
    grid-column:2!important;grid-row:1!important;
    min-width:0;
    padding-top:13px;
    padding-bottom:2px;
  }
  .dv96-social .dv98-profile-intro .dv6-overline{font-size:10px!important}
  .dv96-social .dv98-profile-intro h1{font-size:clamp(19px,5.1vw,23px)!important;line-height:1.18!important;margin:5px 0!important;overflow-wrap:anywhere}
  .dv96-social .dv98-profile-intro .dv6-subtitle{font-size:12px!important;margin:5px 0!important}
  .dv96-social .dv6-profile-head.dv83-profile-head .dv6-tags{
    grid-column:1/-1!important;grid-row:2!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    margin:1px 0 0!important;
  }
  .dv96-social .dv6-profile-head.dv83-profile-head .dv6-tags>*{
    min-width:0!important;max-width:100%!important;width:100%!important;
    min-height:33px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    gap:5px!important;margin:0!important;padding:7px 8px!important;
    font-size:10px!important;line-height:1.3!important;
    text-align:center!important;white-space:normal!important;
    overflow-wrap:anywhere;
  }
  .dv96-social .dv6-profile-head.dv83-profile-head .dv6-tags i{flex:none}
  .dv96-social .dv6-profile-head.dv83-profile-head .dv97-profile-actions{
    grid-column:1/-1!important;grid-row:3!important;
    width:calc(100% + 28px)!important;
    margin:0 -14px -5px!important;
    padding:4px 14px 9px!important;
    gap:7px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 17px),transparent 100%);
  }
  .dv96-social .dv97-profile-actions>a{
    scroll-snap-align:start;
    min-height:40px!important;
    padding:9px 12px!important;
    border-radius:11px!important;
    font-size:11px!important;
    gap:6px!important;
  }
  .dv96-social .dv97-profile-actions>a>.dv98-long{display:none!important}
  .dv96-social .dv97-profile-actions>a>.dv98-short{display:inline!important}
  /* Decorative badge conflicts with the overlapping avatar on a narrow cover. */
  .dv96-social .dv83-cover-caption{top:9px!important;right:10px!important;bottom:auto!important;max-width:calc(100% - 20px);font-size:9px!important}
  .dv96-social .dv83-cover-caption span{padding:5px 9px!important}
  /* Precisely two vertical listings at every typical phone width. */
  .dv96-social .dv6-cards.dv97-listings{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    align-items:stretch!important;
    width:100%!important;
  }
  .dv96-social .dv97-listings .dv97-listing-card{
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    min-width:0!important;
    min-height:0!important;
    height:100%!important;
    border-radius:13px!important;
  }
  .dv96-social .dv97-listings .dv97-cover{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1.33 / 1!important;
    flex:0 0 auto!important;
  }
  .dv96-social .dv97-listings .dv97-listing-photo{
    width:100%!important;height:100%!important;
  }
  .dv96-social .dv97-listings .dv97-listing-info{
    display:flex!important;
    flex-direction:column!important;
    flex:1!important;
    padding:10px!important;
    gap:6px!important;
  }
  .dv96-social .dv97-listings .dv97-cat-link{
    max-width:100%!important;font-size:10px!important;
    padding:4px 7px!important;overflow:hidden;text-overflow:ellipsis;
    white-space:nowrap!important;line-height:1.3!important;
  }
  .dv96-social .dv97-listings .dv97-listing-name{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;
    -webkit-line-clamp:2;line-clamp:2;
    overflow:hidden!important;min-height:33px!important;
    font-size:12px!important;line-height:1.35!important;
  }
  .dv96-social .dv97-listings .dv3-listing-price{
    font-size:16px!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow-wrap:anywhere;
  }
  .dv96-social .dv97-listings .dv97-card-desc{display:none!important}
  .dv96-social .dv97-listings .dv97-card-metrics{
    margin-top:auto!important;font-size:10px!important;gap:7px!important;
  }
  .dv96-social .dv97-listings .dv97-listing-bottom{
    display:flex!important;gap:5px!important;padding-top:8px!important;
    margin:0!important;min-width:0!important;
  }
  .dv96-social .dv97-listings .dv97-listing-bottom span{
    flex:1!important;min-width:0!important;gap:4px!important;
  }
  .dv96-social .dv97-listings .dv97-listing-bottom span a{
    max-width:100%!important;min-width:0!important;
    font-size:10px!important;display:block!important;
    overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  }
  .dv96-social .dv97-listings .dv97-listing-bottom>a{
    width:26px!important;height:26px!important;flex:0 0 26px!important;
    font-size:11px!important;
  }
  .dv96-social .dv97-listings .dv97-gallery-label{
    top:7px!important;right:7px!important;left:auto!important;
    font-size:9px!important;padding:4px 6px!important;
  }
  .dv96-social .dv97-listings a.dv92-gallery .dv92-gallery-indicators{
    bottom:5px!important;padding:3px 6px!important;
    max-width:94%!important;
  }
}
@media(max-width:365px){
  .dv96-social .dv6-profile-head.dv83-profile-head .dv6-tags>*{font-size:9px!important;padding:6px 5px!important}
  .dv96-social .dv6-cards.dv97-listings{gap:8px!important}
  .dv96-social .dv97-listings .dv97-listing-info{padding:8px!important;gap:5px!important}
  .dv96-social .dv97-listings .dv97-listing-name{font-size:11px!important}
  .dv96-social .dv97-listings .dv3-listing-price{font-size:15px!important}
}
