html,body{max-width:100%;overflow-x:clip}img{max-width:100%}.wrap,.detailtop>*,.detailgrid>*{min-width:0}.share-property{margin-top:10px;white-space:nowrap}.bulletline{overflow-wrap:anywhere}

@media(max-width:720px){
  .wrap{width:100%;padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right))}
  .property-detail{overflow:hidden}
  .property-detail .detailtop{width:100%}
  .property-detail .detailtop h1{font-size:34px;letter-spacing:-.7px;overflow-wrap:anywhere}
  .property-detail .detailtop .price{margin-top:18px}
  .property-detail .share-property{width:100%;min-height:48px;margin-top:14px}
  .property-detail .gallery{width:100%;margin-top:24px}
  .property-detail .gallery button{width:100%;height:min(70vw,330px)}
  .property-detail .gallery button span{right:12px;bottom:12px;max-width:calc(100% - 24px);padding:8px 12px;font-size:13px}
  .property-detail .detailgrid{width:100%;margin-top:32px}
  .property-detail .detailgrid .specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;font-size:15px;margin-left:0;margin-right:0}
  .property-detail .detailgrid .specs span{padding:12px 4px;border-top:1px solid var(--line);overflow-wrap:anywhere}
  .property-detail .detailgrid .specs span:nth-child(even){text-align:right}
  .property-detail .detailgrid h2{font-size:32px;line-height:1.15;letter-spacing:-.4px}
  .property-detail .bulletline{font-size:16px;line-height:1.72}
  .property-detail .broker{padding:22px;position:static}
}

@media(max-width:380px){
  .wrap{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}
  .property-detail .detailgrid .specs{font-size:14px}
}
