/* Deynu 17.0.2.35 — compact mobile nearby rail */
@media(max-width:640px){
  .dh-nearby{overflow:hidden}
  .dh-nearby .dh-section-head{margin-bottom:10px}
  .dh-nearby-grid{
    display:grid!important;
    grid-template-columns:none!important;
    grid-template-rows:repeat(2,minmax(70px,auto));
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 8px)/2);
    gap:8px;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    padding:1px 1px 7px;
  }
  .dh-nearby-grid::-webkit-scrollbar{display:none}
  .dh-nearby-grid>a{
    min-width:0!important;
    min-height:70px;
    padding:9px 10px!important;
    gap:8px!important;
    border-radius:15px!important;
    scroll-snap-align:start;
    scroll-snap-stop:normal;
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
  .dh-nearby-grid i{
    width:38px!important;
    height:38px!important;
    border-radius:12px!important;
    font-size:19px!important;
  }
  .dh-nearby-grid span{
    min-width:0;
    gap:1px!important;
  }
  .dh-nearby-grid b{
    font-size:12px!important;
    line-height:1.45;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .dh-nearby-grid small{
    font-size:9.5px!important;
    line-height:1.45;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .dh-nearby-grid em{
    font-size:9.5px!important;
    white-space:nowrap;
  }
}
@media(max-width:380px){
  .dh-nearby-grid{grid-auto-columns:calc((100% - 7px)/2);gap:7px}
  .dh-nearby-grid>a{padding:8px!important}
  .dh-nearby-grid i{width:35px!important;height:35px!important;font-size:17px!important}
  .dh-nearby-grid b{font-size:11px!important}
}
