/* Urbiax home extracted CSS P3 - blocks 38-48 from rentals/index.php. Block 37 stays inline because it starts with @import. */

/* FINAL mobile Chat + Back-to-top controls.
   Strong override for older inline rules: no oval, no blue tail, arrow hidden at top. */
@media (max-width: 1023px){
  body.urbiax-modern-home-v1 .ubx-mobile-chat-jump{
    position:fixed !important;
    right:max(18px, calc(env(safe-area-inset-right) + 16px)) !important;
    bottom:max(16px, calc(env(safe-area-inset-bottom) + 14px)) !important;
    width:76px !important;
    min-width:76px !important;
    max-width:76px !important;
    height:76px !important;
    min-height:76px !important;
    max-height:76px !important;
    aspect-ratio:1 / 1 !important;
    box-sizing:border-box !important;
    padding:9px 0 8px !important;
    margin:0 !important;
    border-radius:50% !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    overflow:hidden !important;
    isolation:isolate !important;
    color:#fff !important;
    text-decoration:none !important;
    text-align:center !important;
    font-size:13px !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:-.02em !important;
    background:linear-gradient(180deg,#55b7ff 0%,#3280f6 56%,#245de5 100%) !important;
    border:1px solid rgba(255,255,255,.32) !important;
    box-shadow:0 14px 28px rgba(15,23,42,.22), 0 8px 18px rgba(37,99,235,.22), inset 0 1px 0 rgba(255,255,255,.26) !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
    transform:none !important;
    z-index:10050 !important;
  }
  body.urbiax-modern-home-v1 .ubx-mobile-chat-jump::before{
    content:"" !important;
    display:block !important;
    flex:0 0 auto !important;
    width:23px !important;
    height:23px !important;
    min-width:23px !important;
    min-height:23px !important;
    max-width:23px !important;
    max-height:23px !important;
    padding:0 !important;
    margin:0 0 1px !important;
    border:0 !important;
    border-radius:0 !important;
    background-color:transparent !important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 4C6.93 4 3 7.1 3 11.05c0 2.13 1.14 4.02 2.95 5.3-.12 1.25-.56 2.37-1.36 3.5-.17.24.04.56.33.51 1.82-.31 3.44-.94 4.83-1.87.73.16 1.49.24 2.25.24 5.07 0 9-3.1 9-7.05S17.07 4 12 4Z'/%3E%3C/svg%3E") !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size:23px 23px !important;
    box-shadow:none !important;
  }
  body.urbiax-modern-home-v1 .ubx-mobile-chat-jump::after{
    content:none !important;
    display:none !important;
    width:0 !important;
    height:0 !important;
    background:none !important;
    box-shadow:none !important;
  }

  body.urbiax-modern-home-v1 .back-to-top{
    position:fixed !important;
    right:max(18px, calc(env(safe-area-inset-right) + 16px)) !important;
    bottom:max(98px, calc(env(safe-area-inset-bottom) + 96px)) !important;
    width:54px !important;
    min-width:54px !important;
    max-width:54px !important;
    height:54px !important;
    min-height:54px !important;
    max-height:54px !important;
    aspect-ratio:1 / 1 !important;
    box-sizing:border-box !important;
    padding:0 !important;
    margin:0 !important;
    border-radius:50% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    background:#ffffff !important;
    border:1px solid rgba(37,99,235,.14) !important;
    box-shadow:0 12px 24px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.88) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateY(8px) scale(.94) !important;
    transition:opacity .18s ease, visibility .18s ease, transform .18s ease !important;
    z-index:10051 !important;
  }
  body.urbiax-modern-home-v1 .back-to-top::before{
    content:none !important;
    display:none !important;
  }
  body.urbiax-modern-home-v1 .back-to-top::after{
    content:"↑" !important;
    position:static !important;
    display:block !important;
    color:#245de5 !important;
    font-size:32px !important;
    line-height:1 !important;
    font-weight:1000 !important;
    text-shadow:none !important;
  }

  body.urbiax-modern-home-v1:not(.ubx-show-backtop) .back-to-top,
  body.urbiax-modern-home-v1:not(.ubx-show-backtop) .back-to-top.show{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateY(8px) scale(.94) !important;
  }
  body.urbiax-modern-home-v1.ubx-show-backtop .back-to-top,
  body.urbiax-modern-home-v1.ubx-show-backtop .back-to-top.show{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateY(0) scale(1) !important;
  }
}

@media (max-width:390px){
  body.urbiax-modern-home-v1 .ubx-mobile-chat-jump{
    width:72px !important;
    min-width:72px !important;
    max-width:72px !important;
    height:72px !important;
    min-height:72px !important;
    max-height:72px !important;
    right:max(16px, calc(env(safe-area-inset-right) + 14px)) !important;
    bottom:max(14px, calc(env(safe-area-inset-bottom) + 12px)) !important;
    font-size:12.5px !important;
  }
  body.urbiax-modern-home-v1 .ubx-mobile-chat-jump::before{
    width:21px !important;
    height:21px !important;
    min-width:21px !important;
    min-height:21px !important;
    background-size:21px 21px !important;
  }
  body.urbiax-modern-home-v1 .back-to-top{
    width:50px !important;
    min-width:50px !important;
    max-width:50px !important;
    height:50px !important;
    min-height:50px !important;
    max-height:50px !important;
    right:max(16px, calc(env(safe-area-inset-right) + 14px)) !important;
    bottom:max(90px, calc(env(safe-area-inset-bottom) + 88px)) !important;
  }
  body.urbiax-modern-home-v1 .back-to-top::after{
    font-size:30px !important;
  }
}

/* 2026-05-26: Cards mode on mobile/tablet is a true 2-column card grid.
   List mode is intentionally untouched. */
@media (max-width:768px){
  body.urbiax-modern-home-v1 #listingsGrid.view-2{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    column-gap:8px !important;
    row-gap:10px !important;
    align-items:stretch !important;
    width:calc(100vw - (var(--ubx-phone-edge, 12px) * 2)) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .card-shell{
    display:flex !important;
    flex-direction:column !important;
    min-width:0 !important;
    width:100% !important;
    border-radius:18px !important;
    overflow:hidden !important;
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,244,.98)) !important;
    border:1px solid rgba(180,152,107,.18) !important;
    box-shadow:0 8px 20px rgba(15,23,42,.065) !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .card-shell .card{
    display:flex !important;
    flex:1 1 auto !important;
    flex-direction:column !important;
    min-width:0 !important;
    width:100% !important;
    border-radius:0 !important;
    overflow:hidden !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .card-shell .card .thumb{
    width:100% !important;
    height:clamp(104px, 30vw, 154px) !important;
    min-height:clamp(104px, 30vw, 154px) !important;
    max-height:clamp(104px, 30vw, 154px) !important;
    aspect-ratio:auto !important;
    border-radius:0 !important;
    background:#efe5d6 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .card-shell .card .thumb img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .fav-btn{
    top:7px !important;
    left:7px !important;
    right:auto !important;
    width:32px !important;
    height:32px !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.92) !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .fav-btn svg{
    width:16px !important;
    height:16px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .card-shell .card .body{
    display:flex !important;
    flex:1 1 auto !important;
    flex-direction:column !important;
    min-width:0 !important;
    width:100% !important;
    padding:clamp(8px, 2.2vw, 11px) clamp(7px, 2vw, 10px) 6px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .tag-row{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
    align-items:center !important;
    gap:4px !important;
    margin:0 0 5px !important;
    min-width:0 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-tag,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .ptype-pill{
    min-width:0 !important;
    max-width:100% !important;
    min-height:21px !important;
    height:auto !important;
    padding:0 6px !important;
    border-radius:999px !important;
    font-size:clamp(8px, 2.15vw, 10.5px) !important;
    line-height:1 !important;
    letter-spacing:.035em !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-title{
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
    min-height:2.18em !important;
    margin:0 0 4px !important;
    color:#111827 !important;
    font-size:clamp(12.6px, 3.45vw, 15.8px) !important;
    line-height:1.09 !important;
    letter-spacing:-.035em !important;
    overflow-wrap:anywhere !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-reviews-mini{
    display:flex !important;
    align-items:center !important;
    min-height:15px !important;
    max-width:100% !important;
    gap:3px !important;
    margin:0 0 5px !important;
    transform:none !important;
    overflow:hidden !important;
    font-size:10.5px !important;
    line-height:1 !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-reviews-mini .stars{
    flex:0 0 auto !important;
    font-size:12px !important;
    letter-spacing:.4px !important;
    line-height:1 !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-reviews-mini .count,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-reviews-mini .num{
    display:none !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .price-deposit-row{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:3px !important;
    margin:0 0 6px !important;
    min-width:0 !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .price-deposit-row .price,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .price{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    text-align:left !important;
    font-size:clamp(12.4px, 3.35vw, 16.5px) !important;
    line-height:1.08 !important;
    letter-spacing:-.035em !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .deposit-chip{
    align-self:flex-start !important;
    max-width:100% !important;
    min-height:20px !important;
    margin:0 !important;
    padding:0 6px !important;
    border-radius:999px !important;
    font-size:clamp(8.2px, 2.25vw, 10.5px) !important;
    line-height:1 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-row{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:4px !important;
    margin-top:auto !important;
    min-width:0 !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-left,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-right{
    width:100% !important;
    min-width:0 !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-right{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:5px !important;
    flex-wrap:nowrap !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-loc-chip,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-added{
    min-height:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    border-radius:0 !important;
    font-size:clamp(9.4px, 2.55vw, 11.5px) !important;
    line-height:1.15 !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-loc-chip{
    display:flex !important;
    align-items:baseline !important;
    gap:3px !important;
    max-width:100% !important;
    color:#475569 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-loc-chip .loc-city,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-loc-chip .loc-postcode{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-loc-chip .loc-postcode{
    flex:0 1 auto !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-added{
    flex:1 1 auto !important;
    color:#94a3b8 !important;
    font-size:clamp(8.7px, 2.35vw, 10.8px) !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .share-mini{
    flex:0 0 auto !important;
    min-width:0 !important;
    min-height:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#2563eb !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .share-mini svg{
    width:13px !important;
    height:13px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .share-mini-label{
    display:none !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .modern-card-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:5px !important;
    margin-top:auto !important;
    margin-left:0 !important;
    padding:0 clamp(7px, 2vw, 10px) clamp(7px, 2vw, 10px) !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .modern-card-actions a{
    min-width:0 !important;
    min-height:30px !important;
    padding:0 5px !important;
    border-radius:11px !important;
    font-size:clamp(9.6px, 2.55vw, 12px) !important;
    line-height:1 !important;
    letter-spacing:-.02em !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .photo-count{
    left:7px !important;
    bottom:7px !important;
    min-height:23px !important;
    max-width:calc(100% - 14px) !important;
    padding:0 7px !important;
    border-radius:999px !important;
    font-size:9.5px !important;
    line-height:1 !important;
    gap:3px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .photo-count svg{
    width:11px !important;
    height:11px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .placeholder-note{
    display:none !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .redblack-feed-ad-shell{
    grid-column:1 / -1 !important;
  }
}

@media (max-width:360px){
  body.urbiax-modern-home-v1 #listingsGrid.view-2{
    column-gap:7px !important;
    row-gap:9px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-tag,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .ptype-pill{
    min-height:20px !important;
    padding:0 5px !important;
    font-size:7.8px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-title{
    font-size:12.2px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .price-deposit-row .price,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .price{
    font-size:12px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .modern-card-actions{
    grid-template-columns:1fr !important;
    gap:4px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .modern-card-actions a{
    min-height:28px !important;
    font-size:10px !important;
  }
}

/* 2026-05-26 v2: equal, premium two-column Cards view on mobile.
   List view and desktop cards are not touched. */
@media (max-width:768px){
  body.urbiax-modern-home-v1 #listingsGrid.view-2{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:12px 10px !important;
    align-items:stretch !important;
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding:0 0 92px !important;
    box-sizing:border-box !important;
    overflow:visible !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 > *{
    min-width:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .card-shell{
    height:100% !important;
    min-height:342px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:stretch !important;
    border-radius:18px !important;
    overflow:hidden !important;
    background:linear-gradient(180deg,#ffffff 0%,#fffaf3 100%) !important;
    border:1px solid rgba(180,152,107,.20) !important;
    box-shadow:0 10px 22px rgba(15,23,42,.075) !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .card-shell .card{
    flex:1 1 auto !important;
    display:flex !important;
    flex-direction:column !important;
    min-height:0 !important;
    height:auto !important;
    width:100% !important;
    margin:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .card-shell .card .thumb{
    flex:0 0 auto !important;
    width:100% !important;
    height:118px !important;
    min-height:118px !important;
    max-height:118px !important;
    border-radius:0 !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .card-shell .card .body{
    flex:1 1 auto !important;
    display:flex !important;
    flex-direction:column !important;
    min-height:0 !important;
    padding:9px 8px 7px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .tag-row{
    min-height:23px !important;
    margin:0 0 6px !important;
    gap:4px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-tag,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .ptype-pill{
    height:22px !important;
    min-height:22px !important;
    padding:0 6px !important;
    font-size:9px !important;
    line-height:22px !important;
    letter-spacing:.045em !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-title{
    flex:0 0 auto !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    min-height:34px !important;
    max-height:34px !important;
    margin:0 0 5px !important;
    overflow:hidden !important;
    font-size:14.5px !important;
    line-height:1.15 !important;
    letter-spacing:-.035em !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-reviews-mini{
    flex:0 0 auto !important;
    height:16px !important;
    min-height:16px !important;
    max-height:16px !important;
    margin:0 0 6px !important;
    overflow:hidden !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-reviews-mini .stars{
    font-size:12px !important;
    line-height:16px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .price-deposit-row{
    flex:0 0 auto !important;
    min-height:47px !important;
    margin:0 0 6px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    gap:4px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .price-deposit-row .price,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .price{
    min-height:18px !important;
    font-size:14.2px !important;
    line-height:1.12 !important;
    letter-spacing:-.035em !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .deposit-chip{
    height:22px !important;
    min-height:22px !important;
    line-height:22px !important;
    padding:0 7px !important;
    font-size:9.2px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-row{
    flex:0 0 auto !important;
    min-height:39px !important;
    margin-top:auto !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:4px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-loc-chip{
    max-width:100% !important;
    height:15px !important;
    min-height:15px !important;
    overflow:hidden !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-right{
    height:17px !important;
    min-height:17px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .meta-added{
    max-width:calc(100% - 24px) !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .modern-card-actions{
    flex:0 0 auto !important;
    margin-top:0 !important;
    padding:0 8px 8px !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:6px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .modern-card-actions a{
    height:31px !important;
    min-height:31px !important;
    border-radius:12px !important;
    font-size:10.8px !important;
    line-height:31px !important;
    padding:0 5px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .photo-count{
    left:7px !important;
    bottom:7px !important;
    height:24px !important;
    min-height:24px !important;
    max-height:24px !important;
  }

  body.urbiax-modern-home-v1 #listingsGrid.view-2 .redblack-feed-ad-shell{
    grid-column:1 / -1 !important;
  }

  body.urbiax-modern-home-v1 .ubx-mobile-chat-jump{
    left:auto !important;
    right:max(10px, calc(env(safe-area-inset-right) + 10px)) !important;
    bottom:max(10px, calc(env(safe-area-inset-bottom) + 10px)) !important;
    width:62px !important;
    min-width:62px !important;
    max-width:62px !important;
    height:62px !important;
    min-height:62px !important;
    max-height:62px !important;
    font-size:11.5px !important;
    transform:none !important;
  }
  body.urbiax-modern-home-v1 .ubx-mobile-chat-jump::before{
    width:19px !important;
    height:19px !important;
    min-width:19px !important;
    min-height:19px !important;
    background-size:19px 19px !important;
  }
  body.urbiax-modern-home-v1 .back-to-top{
    right:max(12px, calc(env(safe-area-inset-right) + 12px)) !important;
    bottom:max(78px, calc(env(safe-area-inset-bottom) + 78px)) !important;
  }
}

@media (max-width:390px){
  body.urbiax-modern-home-v1 #listingsGrid.view-2{
    gap:11px 9px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .card-shell{
    min-height:354px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .card-shell .card .thumb{
    height:108px !important;
    min-height:108px !important;
    max-height:108px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .listing-title{
    font-size:13.2px !important;
    min-height:32px !important;
    max-height:32px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .price-deposit-row .price,
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .price{
    font-size:12.8px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .modern-card-actions{
    grid-template-columns:1fr !important;
    gap:6px !important;
    min-height:68px !important;
  }
  body.urbiax-modern-home-v1 #listingsGrid.view-2 .modern-card-actions a{
    height:31px !important;
    min-height:31px !important;
    line-height:31px !important;
    font-size:10.8px !important;
  }
}

/* 2026-05-26: Jobs removed as a separate tile. Community becomes the single hub. */
body.urbiax-modern-home-v1 .ubx-top-section-tabs.ubx-top-community-only{
  grid-template-columns:1fr !important;
}
body.urbiax-modern-home-v1 .ubx-top-section-tabs.ubx-top-community-only .ubx-top-section-label{
  text-align:right !important;
}
body.urbiax-modern-home-v1 .ubx-top-section-card.ubx-top-community-wide{
  min-height:78px !important;
  padding:16px 18px !important;
  border-radius:26px !important;
  background:
    radial-gradient(circle at 82% 34%, rgba(124,58,237,.20), transparent 32%),
    radial-gradient(circle at 68% 72%, rgba(37,99,235,.18), transparent 30%),
    linear-gradient(135deg, rgba(239,246,255,.96), rgba(255,255,255,.72)) !important;
  border-color:rgba(99,102,241,.24) !important;
}
body.urbiax-modern-home-v1 .ubx-top-section-card.ubx-top-community-wide .ubx-top-card-sub{
  max-width:100% !important;
}
body.urbiax-modern-home-v1 .ubx-top-section-card.ubx-top-community-wide .ubx-top-card-title{
  color:#1d4ed8 !important;
}

@media (max-width:768px){
  body.urbiax-modern-home-v1 .mode-tabs-row{
    width:calc(100vw - (var(--ubx-phone-edge, 12px) * 2)) !important;
    max-width:none !important;
    margin:0 auto 12px !important;
    display:block !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
  }
  body.urbiax-modern-home-v1 .mode-tabs-row .mode-tabs.primary-mode-tabs,
  body.urbiax-modern-home-v1 .mode-tabs-row .rentals-tipbox{
    display:none !important;
  }
  body.urbiax-modern-home-v1 .local-board-tabs.ubx-community-only-board{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    outline:0 !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-spotlight{
    position:relative !important;
    display:grid !important;
    grid-template-columns:minmax(0, 1.04fr) minmax(118px, .76fr) !important;
    align-items:center !important;
    gap:8px !important;
    min-height:128px !important;
    padding:17px 16px !important;
    overflow:hidden !important;
    text-decoration:none !important;
    color:#101827 !important;
    border-radius:28px !important;
    border:1px solid rgba(148,163,184,.20) !important;
    outline:1px solid rgba(255,255,255,.62) !important;
    outline-offset:-2px !important;
    background:
      radial-gradient(circle at 82% 16%, rgba(124,58,237,.18), transparent 30%),
      radial-gradient(circle at 74% 82%, rgba(37,99,235,.20), transparent 34%),
      linear-gradient(135deg, rgba(244,247,255,.99), rgba(238,246,255,.96) 52%, rgba(255,255,255,.98)) !important;
    box-shadow:0 18px 36px rgba(37,99,235,.10), 0 8px 18px rgba(15,23,42,.055) !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-copy{
    position:relative !important;
    z-index:2 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    min-width:0 !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-kicker{
    display:inline-flex !important;
    align-items:center !important;
    max-width:100% !important;
    margin:0 0 5px !important;
    padding:4px 8px !important;
    border-radius:999px !important;
    background:rgba(99,102,241,.10) !important;
    color:#4f46e5 !important;
    font-size:10px !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:.075em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-title{
    margin:0 0 4px !important;
    color:#111827 !important;
    font-size:clamp(28px, 8.1vw, 38px) !important;
    line-height:.96 !important;
    font-weight:1000 !important;
    letter-spacing:-.06em !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-sub{
    max-width:240px !important;
    color:#536074 !important;
    font-size:clamp(12px, 3.35vw, 15px) !important;
    line-height:1.17 !important;
    font-weight:850 !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-cta{
    display:inline-flex !important;
    align-items:center !important;
    gap:6px !important;
    min-height:36px !important;
    margin-top:11px !important;
    padding:0 13px !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.88) !important;
    color:#2563eb !important;
    border:1px solid rgba(147,197,253,.45) !important;
    box-shadow:0 9px 18px rgba(37,99,235,.08) !important;
    font-size:13px !important;
    font-weight:950 !important;
    white-space:nowrap !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-art{
    position:relative !important;
    z-index:1 !important;
    display:block !important;
    height:112px !important;
    min-width:0 !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-art::after{
    content:"" !important;
    position:absolute !important;
    left:-8px !important;
    right:-14px !important;
    bottom:-19px !important;
    height:55px !important;
    border-radius:55% 55% 0 0 !important;
    background:linear-gradient(180deg, rgba(96,165,250,.24), rgba(96,165,250,.07)) !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-bubble,
  body.urbiax-modern-home-v1 .ubx-community-pin,
  body.urbiax-modern-home-v1 .ubx-community-people i{
    position:absolute !important;
    display:block !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-bubble-a{
    width:46px !important;
    height:40px !important;
    left:0 !important;
    top:16px !important;
    border-radius:18px 18px 18px 8px !important;
    background:linear-gradient(135deg,#7c3aed,#6366f1) !important;
    box-shadow:0 12px 20px rgba(99,102,241,.23) !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-bubble-a::before,
  body.urbiax-modern-home-v1 .ubx-community-bubble-b::before{
    content:"•••" !important;
    position:absolute !important;
    inset:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    color:rgba(255,255,255,.88) !important;
    font-size:15px !important;
    letter-spacing:2px !important;
    line-height:1 !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-bubble-b{
    width:58px !important;
    height:43px !important;
    right:0 !important;
    top:30px !important;
    border-radius:18px 18px 8px 18px !important;
    background:rgba(255,255,255,.92) !important;
    border:1px solid rgba(147,197,253,.42) !important;
    box-shadow:0 12px 20px rgba(30,64,175,.12) !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-bubble-b::before{
    color:#3b82f6 !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-pin{
    width:36px !important;
    height:46px !important;
    left:55px !important;
    top:2px !important;
    border-radius:22px 22px 22px 5px !important;
    transform:rotate(45deg) !important;
    background:linear-gradient(135deg,#60a5fa,#4f46e5) !important;
    box-shadow:0 12px 20px rgba(37,99,235,.24) !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-pin::after{
    content:"" !important;
    position:absolute !important;
    width:10px !important;
    height:10px !important;
    left:13px !important;
    top:13px !important;
    border-radius:999px !important;
    background:white !important;
    opacity:.9 !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-people{
    position:absolute !important;
    left:30px !important;
    right:22px !important;
    bottom:3px !important;
    height:58px !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-people i{
    bottom:0 !important;
    width:38px !important;
    height:38px !important;
    border-radius:22px 22px 13px 13px !important;
    background:linear-gradient(135deg,#3b82f6,#2563eb) !important;
    box-shadow:0 10px 18px rgba(37,99,235,.16) !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-people i::before{
    content:"" !important;
    position:absolute !important;
    left:9px !important;
    top:-20px !important;
    width:20px !important;
    height:20px !important;
    border-radius:999px !important;
    background:inherit !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-people i:nth-child(1){left:0 !important; transform:scale(.82) !important; opacity:.88 !important;}
  body.urbiax-modern-home-v1 .ubx-community-people i:nth-child(2){left:31px !important; width:48px !important; height:46px !important; transform:scale(1) !important; background:linear-gradient(135deg,#60a5fa,#2563eb) !important; z-index:2 !important;}
  body.urbiax-modern-home-v1 .ubx-community-people i:nth-child(2)::before{left:12px !important; width:24px !important; height:24px !important; top:-23px !important;}
  body.urbiax-modern-home-v1 .ubx-community-people i:nth-child(3){right:0 !important; transform:scale(.82) !important; background:linear-gradient(135deg,#8b5cf6,#6366f1) !important; opacity:.92 !important;}
}

@media (max-width:390px){
  body.urbiax-modern-home-v1 .ubx-community-spotlight{
    grid-template-columns:minmax(0, 1.08fr) minmax(98px, .62fr) !important;
    min-height:120px !important;
    padding:15px 13px !important;
    border-radius:24px !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-sub{
    max-width:210px !important;
    font-size:12px !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-cta{
    min-height:32px !important;
    padding:0 11px !important;
    font-size:12px !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-art{
    height:104px !important;
  }
}

/* 2026-05-26: Community banner width restored; only vertical height is reduced on mobile. */
@media (max-width:768px){
  body.urbiax-modern-home-v1 .local-board-tabs.ubx-community-only-board{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-spotlight{
    min-height:104px !important;
    padding:12px 15px !important;
    grid-template-columns:minmax(0,1.08fr) minmax(96px,.58fr) !important;
    gap:6px !important;
    border-radius:25px !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-kicker{
    margin:0 0 3px !important;
    padding:3px 7px !important;
    font-size:9px !important;
    letter-spacing:.07em !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-title{
    margin:0 0 2px !important;
    font-size:clamp(24px, 7vw, 32px) !important;
    line-height:.95 !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-sub{
    max-width:230px !important;
    font-size:clamp(11px, 3vw, 13px) !important;
    line-height:1.12 !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-cta{
    min-height:29px !important;
    margin-top:7px !important;
    padding:0 10px !important;
    font-size:12px !important;
  }
  /* Keep the original blue community artwork on the right, as in the first version. */
  body.urbiax-modern-home-v1 .ubx-community-art{
    height:112px !important;
    transform:none !important;
    transform-origin:center right !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-art::after{
    bottom:-19px !important;
    height:55px !important;
  }
}
@media (max-width:390px){
  body.urbiax-modern-home-v1 .ubx-community-spotlight{
    min-height:96px !important;
    padding:11px 13px !important;
    grid-template-columns:minmax(0,1.12fr) minmax(84px,.50fr) !important;
    border-radius:23px !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-title{
    font-size:clamp(23px, 7vw, 29px) !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-sub{
    max-width:205px !important;
    font-size:11px !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-cta{
    min-height:27px !important;
    margin-top:6px !important;
    padding:0 9px !important;
    font-size:11.5px !important;
  }
  body.urbiax-modern-home-v1 .ubx-community-art{
    height:104px !important;
    transform:none !important;
  }
}

/* 2026-06-07: cleaner first view for visitors who are not logged in.
   Guests see only the brand, Login/Register, main headline, Rentals/Sale/Swap and then listings. */
body.urbiax-modern-home-v1.ubx-user-guest .ubx-support-chip-header,
body.urbiax-modern-home-v1.ubx-user-guest .ubx-top-section-tabs,
body.urbiax-modern-home-v1.ubx-user-guest .ubx-mobile-login-hint,
body.urbiax-modern-home-v1.ubx-user-guest .ubx-ms-headgrid.guest,
body.urbiax-modern-home-v1.ubx-user-guest .ubx-ms-support,
body.urbiax-modern-home-v1.ubx-user-guest .ubx-ms-posthint,
body.urbiax-modern-home-v1.ubx-user-guest .ubx-community-only-board,
body.urbiax-modern-home-v1.ubx-user-guest .brand-sub{
  display:none !important;
}
body.urbiax-modern-home-v1.ubx-user-guest .mode-tabs-row{
  display:none !important;
}
body.urbiax-modern-home-v1.ubx-user-guest .ubx-mobile-superhero p:not(.ubx-guest-add-note),
body.urbiax-modern-home-v1.ubx-user-guest .ubx-home-hero-v6 p:not(.ubx-guest-add-note){
  display:none !important;
}
body.urbiax-modern-home-v1.ubx-user-guest .ubx-mobile-superhero p.ubx-guest-add-note,
body.urbiax-modern-home-v1.ubx-user-guest .ubx-home-hero-v6 p.ubx-guest-add-note{
  display:block !important;
  margin-top:0 !important;
  margin-bottom:11px !important;
  font-weight:900 !important;
  color:rgba(255,255,255,.98) !important;
}
body.urbiax-modern-home-v1.ubx-user-guest .ubx-theme-toggle-mini{
  display:none !important;
}
@media (max-width:768px){
  body.urbiax-modern-home-v1.ubx-user-guest .ubx-mobile-superhero{
    padding-top:20px !important;
    padding-bottom:17px !important;
    margin-bottom:12px !important;
  }
  body.urbiax-modern-home-v1.ubx-user-guest .ubx-ms-brandrow{
    margin-bottom:15px !important;
  }
  body.urbiax-modern-home-v1.ubx-user-guest .ubx-ms-guest-actions{
    margin-bottom:16px !important;
  }
  body.urbiax-modern-home-v1.ubx-user-guest .ubx-mobile-superhero h2{
    max-width:360px !important;
    margin-bottom:4px !important;
  }
  body.urbiax-modern-home-v1.ubx-user-guest .ubx-ms-modes{
    margin-top:0 !important;
  }
}
@media (min-width:769px){
  body.urbiax-modern-home-v1.ubx-user-guest .navbar .inner{
    grid-template-columns:auto auto !important;
    justify-content:space-between !important;
  }
  body.urbiax-modern-home-v1.ubx-user-guest .ubx-home-hero-v6{
    padding-top:34px !important;
    padding-bottom:34px !important;
  }
  body.urbiax-modern-home-v1.ubx-user-guest .ubx-home-hero-v6 h1{
    margin-bottom:5px !important;
  }
}

/* 2026-06-07: guest map lock. Visitors can browse listings, but map/location click asks them to log in/register. */
.ubx-guest-map-prompt[hidden]{display:none!important;}
.ubx-guest-map-prompt{
  position:fixed;left:14px;right:14px;bottom:18px;z-index:99999;
  max-width:420px;margin:0 auto;padding:14px;border-radius:24px;
  background:rgba(255,255,255,.96);border:1px solid rgba(37,99,235,.16);
  box-shadow:0 24px 60px rgba(15,23,42,.24),inset 0 1px 0 rgba(255,255,255,.85);
  -webkit-backdrop-filter:blur(18px) saturate(1.12);backdrop-filter:blur(18px) saturate(1.12);
  transform:translateY(18px);opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease;
}
.ubx-guest-map-prompt.is-open{transform:translateY(0);opacity:1;pointer-events:auto;}
.ubx-guest-map-prompt-inner{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:start;}
.ubx-guest-map-prompt-icon{width:42px;height:42px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#18b6d8);color:#fff;font-weight:1000;box-shadow:0 12px 22px rgba(37,99,235,.22);}
.ubx-guest-map-prompt-copy strong{display:block;color:#0f172a;font-size:15px;font-weight:1000;line-height:1.12;margin-bottom:3px;}
.ubx-guest-map-prompt-copy span{display:block;color:#475569;font-size:13px;font-weight:800;line-height:1.35;}
.ubx-guest-map-prompt-actions{grid-column:1/-1;display:flex;gap:8px;margin-top:11px;}
.ubx-guest-map-prompt-actions a,
.ubx-guest-map-prompt-actions button{border:0;text-decoration:none;border-radius:999px;min-height:40px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:1000;cursor:pointer;}
.ubx-guest-map-prompt-actions a:first-child{background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;box-shadow:0 12px 22px rgba(37,99,235,.20);flex:1;}
.ubx-guest-map-prompt-actions a:nth-child(2){background:#eef6ff;color:#1d4ed8;border:1px solid rgba(37,99,235,.13);flex:1;}
.ubx-guest-map-prompt-actions button{background:#f1f5f9;color:#475569;min-width:74px;}
body.urbiax-modern-home-v1.ubx-user-guest .js-open-map{cursor:pointer;}
@media(max-width:520px){
  .ubx-guest-map-prompt{left:10px;right:10px;bottom:14px;border-radius:22px;padding:13px;}
  .ubx-guest-map-prompt-actions{gap:7px;}
  .ubx-guest-map-prompt-actions a,.ubx-guest-map-prompt-actions button{font-size:13px;padding:0 11px;min-height:39px;}
}

/* v6: On mobile/tablet keep the public chat hidden in the page flow.
   The chat should open only through the floating Chat button / overlay. */
@media (max-width: 1024px){
  body.urbiax-modern-home-v1 #requests-rent-chat,
  body.urbiax-modern-home-v1 #requests-sale-chat,
  body.urbiax-modern-home-v1 #requests-swap-chat{
    display:none !important;
    visibility:hidden !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    overflow:hidden !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
  }

  /* Hide the default chat widget FAB so there is only one visible Chat button. */
  body.urbiax-modern-home-v1 .pcw-fab,
  body.urbiax-modern-home-v1 .pcw-topfab{
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }

  body.urbiax-modern-home-v1 .pcw-overlay .publicChatWidget{
    display:flex !important;
    visibility:visible !important;
    height:100% !important;
    max-height:none !important;
    overflow:hidden !important;
  }
}

/* v9: restore the main floating Chat entry on mobile and keep it visible next to the back-to-top arrow. */
@media (max-width:1024px){
  body.urbiax-modern-home-v1 #ubxMobileChatJump.ubx-mobile-chat-jump,
  body.urbiax-modern-home-v1 .ubx-mobile-chat-jump#ubxMobileChatJump{
    position:fixed !important;
    left:auto !important;
    right:max(12px, calc(env(safe-area-inset-right) + 12px)) !important;
    bottom:max(12px, calc(env(safe-area-inset-bottom) + 12px)) !important;
    width:74px !important;
    min-width:74px !important;
    max-width:74px !important;
    height:74px !important;
    min-height:74px !important;
    max-height:74px !important;
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
    z-index:100060 !important;
    transform:none !important;
  }
  html.pcw-overlay-open body.urbiax-modern-home-v1 #ubxMobileChatJump.ubx-mobile-chat-jump{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }
  body.urbiax-modern-home-v1 .back-to-top{
    right:max(14px, calc(env(safe-area-inset-right) + 14px)) !important;
    bottom:max(92px, calc(env(safe-area-inset-bottom) + 92px)) !important;
    z-index:100061 !important;
  }
}
@media (max-width:390px){
  body.urbiax-modern-home-v1 #ubxMobileChatJump.ubx-mobile-chat-jump{
    width:68px !important;
    min-width:68px !important;
    max-width:68px !important;
    height:68px !important;
    min-height:68px !important;
    max-height:68px !important;
    font-size:12px !important;
  }
  body.urbiax-modern-home-v1 .back-to-top{
    bottom:max(84px, calc(env(safe-area-inset-bottom) + 84px)) !important;
  }
}

/* v10: restore the small up-arrow next to the mobile Chat button and hide it only while chat overlay is open. */
@media (max-width:1024px){
  body.urbiax-modern-home-v1 .back-to-top{
    position:fixed !important;
    left:auto !important;
    right:max(14px, calc(env(safe-area-inset-right) + 14px)) !important;
    bottom:max(92px, calc(env(safe-area-inset-bottom) + 92px)) !important;
    width:58px !important;
    min-width:58px !important;
    max-width:58px !important;
    height:58px !important;
    min-height:58px !important;
    max-height:58px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:50% !important;
    z-index:100071 !important;
  }
  body.urbiax-modern-home-v1.ubx-show-backtop .back-to-top,
  body.urbiax-modern-home-v1 .back-to-top.show{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateY(0) scale(1) !important;
  }
  body.urbiax-modern-home-v1:not(.ubx-show-backtop) .back-to-top:not(.show),
  html.pcw-overlay-open body.urbiax-modern-home-v1 .back-to-top,
  body.urbiax-modern-home-v1 .back-to-top.ubx-force-hide{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateY(8px) scale(.94) !important;
  }
}

/* v11: put the up-arrow back beside the Chat button and make sure it receives taps above all floating layers. */
@media (max-width:1024px){
  body.urbiax-modern-home-v1 #ubxMobileChatJump.ubx-mobile-chat-jump,
  body.urbiax-modern-home-v1 .ubx-mobile-chat-jump#ubxMobileChatJump{
    right:max(94px, calc(env(safe-area-inset-right) + 94px)) !important;
    bottom:max(12px, calc(env(safe-area-inset-bottom) + 12px)) !important;
    z-index:2147483001 !important;
  }
  body.urbiax-modern-home-v1 .back-to-top{
    position:fixed !important;
    left:auto !important;
    right:max(14px, calc(env(safe-area-inset-right) + 14px)) !important;
    bottom:max(20px, calc(env(safe-area-inset-bottom) + 20px)) !important;
    width:62px !important;
    min-width:62px !important;
    max-width:62px !important;
    height:62px !important;
    min-height:62px !important;
    max-height:62px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
    cursor:pointer !important;
    z-index:2147483002 !important;
  }
  body.urbiax-modern-home-v1.ubx-show-backtop .back-to-top,
  body.urbiax-modern-home-v1 .back-to-top.show{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateY(0) scale(1) !important;
  }
  body.urbiax-modern-home-v1:not(.ubx-show-backtop) .back-to-top:not(.show),
  html.pcw-overlay-open body.urbiax-modern-home-v1 .back-to-top,
  body.urbiax-modern-home-v1 .back-to-top.ubx-force-hide{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateY(8px) scale(.94) !important;
  }
}
@media (max-width:390px){
  body.urbiax-modern-home-v1 #ubxMobileChatJump.ubx-mobile-chat-jump,
  body.urbiax-modern-home-v1 .ubx-mobile-chat-jump#ubxMobileChatJump{
    right:max(86px, calc(env(safe-area-inset-right) + 86px)) !important;
  }
  body.urbiax-modern-home-v1 .back-to-top{
    width:58px !important;
    min-width:58px !important;
    max-width:58px !important;
    height:58px !important;
    min-height:58px !important;
    max-height:58px !important;
    right:max(12px, calc(env(safe-area-inset-right) + 12px)) !important;
    bottom:max(18px, calc(env(safe-area-inset-bottom) + 18px)) !important;
  }
}
