:root{--bx-nearby-top:106px}
#bxNearbyDock{position:fixed;left:98px;top:var(--bx-nearby-top);z-index:2147482500;display:flex;gap:8px;align-items:center;max-width:calc(100vw - 390px);overflow-x:auto;scrollbar-width:none;padding:2px}
#bxNearbyDock::-webkit-scrollbar{display:none}
.bx-nearby-chip{height:44px;flex:0 0 auto;border:1px solid rgba(91,177,255,.3)!important;background:rgba(6,19,30,.94)!important;color:#f5f8fb!important;border-radius:22px!important;padding:0 16px!important;display:flex!important;align-items:center!important;gap:9px!important;font:700 14px/1 system-ui,-apple-system,Segoe UI,sans-serif!important;box-shadow:0 10px 28px rgba(0,0,0,.32)!important;cursor:pointer}
.bx-nearby-chip:hover,.bx-nearby-chip.active{border-color:#29a8ff!important;box-shadow:0 0 0 1px rgba(41,168,255,.22),0 10px 28px rgba(0,0,0,.38)!important}
.bx-nearby-chip .ico{font-size:18px;line-height:1}
#bxNearbyDrawer{position:fixed;left:24px;top:calc(var(--bx-nearby-top) + 56px);z-index:2147482400;width:min(420px,calc(100vw - 48px));max-height:calc(100vh - var(--bx-nearby-top) - 150px);display:flex;flex-direction:column;background:rgba(5,17,27,.965);border:1px solid rgba(96,180,255,.24);border-radius:22px;box-shadow:0 24px 70px rgba(0,0,0,.46);backdrop-filter:blur(22px);overflow:hidden;color:#fff}
#bxNearbyDrawer[hidden],#bxNearbyCard[hidden]{display:none!important}
.bx-nearby-head{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px;border-bottom:1px solid rgba(255,255,255,.08)}
.bx-nearby-head strong{display:block;font:800 20px/1.2 system-ui,-apple-system,Segoe UI,sans-serif}
.bx-nearby-head small{display:block;color:#8ca2b7;font:600 11px/1.2 system-ui;margin-top:4px}
.bx-nearby-close{width:36px!important;height:36px!important;border:0!important;border-radius:12px!important;background:rgba(255,255,255,.06)!important;color:#fff!important;font-size:25px!important;cursor:pointer}
#bxNearbyResults{overflow:auto;padding:6px 10px 12px}
.bx-nearby-empty,.bx-nearby-spinner{padding:28px 18px;color:#a9bac8;text-align:center;font:600 14px/1.5 system-ui}
.bx-nearby-row{display:grid;grid-template-columns:1fr 42px;align-items:center;border-bottom:1px solid rgba(255,255,255,.07);border-radius:14px;overflow:hidden}
.bx-nearby-row:hover,.bx-nearby-row.active{background:rgba(41,168,255,.08)}
.bx-nearby-hit{min-width:0;width:100%;border:0!important;background:transparent!important;color:#fff!important;padding:11px 5px!important;display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;text-align:left!important;cursor:pointer}
.bx-nearby-hit .cat{width:44px;height:44px;border-radius:14px;background:color-mix(in srgb,var(--c) 22%,#071521);border:1px solid color-mix(in srgb,var(--c) 70%,transparent);display:grid;place-items:center;font-size:21px}
.bx-nearby-hit .copy{min-width:0}.bx-nearby-hit .copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:800 15px/1.25 system-ui}.bx-nearby-hit .copy span{display:block;margin-top:3px;color:#9cb0c2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 12px/1.2 system-ui}
.bx-nearby-hit .dist{color:#dce8f2;font:800 13px/1.2 system-ui;white-space:nowrap}
.bx-nearby-go{width:36px!important;height:36px!important;margin-right:4px!important;border:1px solid rgba(91,177,255,.25)!important;border-radius:11px!important;background:#0b2237!important;color:#e8f5ff!important;font-size:17px!important;cursor:pointer}
.bx-nearby-go:hover{background:#0b84ef!important}
body .maplibregl-marker.bx-poi-marker,body .bx-poi-marker{appearance:none!important;-webkit-appearance:none!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0!important;width:40px!important;height:48px!important;min-width:0!important;display:block!important;cursor:pointer!important;overflow:visible!important}
body .bx-poi-marker:focus,body .bx-poi-marker:focus-visible,body .bx-poi-marker.selected,body .bx-poi-marker:hover{background:transparent!important;box-shadow:none!important;outline:0!important}
.bx-poi-marker .pin{position:absolute;left:3px;bottom:0;width:34px;height:34px;border-radius:12px 12px 12px 4px;transform:rotate(-45deg);display:grid;place-items:center;background:#071521;border:2px solid var(--c);box-shadow:0 0 0 3px rgba(4,12,19,.74),0 7px 13px rgba(0,0,0,.42)}
.bx-poi-marker .pin span{transform:rotate(45deg);font-size:17px;line-height:1}
.bx-poi-marker .label{display:none;position:absolute;left:50%;bottom:53px;transform:translateX(-50%);max-width:190px;padding:6px 9px;border-radius:10px;background:rgba(4,13,21,.96);border:1px solid rgba(255,255,255,.1);color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:750 12px/1.15 system-ui;box-shadow:0 8px 18px rgba(0,0,0,.35);pointer-events:none}
.bx-poi-marker.selected .label,.bx-poi-marker:hover .label{display:block}
.bx-poi-marker.selected .pin{box-shadow:0 0 0 4px rgba(4,12,19,.76),0 0 0 6px color-mix(in srgb,var(--c) 35%,transparent),0 8px 18px rgba(0,0,0,.45)}
#bxNearbyCard{position:fixed;z-index:2147482450;left:50%;bottom:70px;transform:translateX(-50%);width:min(760px,calc(100vw - 48px));min-height:92px;background:rgba(5,17,27,.97);border:1px solid rgba(96,180,255,.25);border-radius:20px;box-shadow:0 22px 65px rgba(0,0,0,.5);display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 16px;color:#fff}
#bxNearbyCard .hero{width:56px;height:56px;border-radius:16px;background:color-mix(in srgb,var(--c) 22%,#071521);border:1px solid color-mix(in srgb,var(--c) 70%,transparent);display:grid;place-items:center;font-size:26px}
#bxNearbyCard .copy{min-width:0}#bxNearbyCard .copy strong{display:block;font:850 17px/1.2 system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#bxNearbyCard .copy span{display:block;color:#a5b8c8;margin-top:4px;font:600 12px/1.25 system-ui}
#bxNearbyCard .actions{display:flex;align-items:center;gap:8px}.bx-nearby-dir{height:44px!important;border:0!important;border-radius:13px!important;padding:0 19px!important;background:#078df3!important;color:#fff!important;font:800 14px system-ui!important;cursor:pointer}.bx-nearby-x{width:40px!important;height:40px!important;border:0!important;background:transparent!important;color:#c5d2dd!important;font-size:24px!important;cursor:pointer}
body.navigation-active #bxNearbyDock,body.navigation-active #bxNearbyDrawer,body.navigation-active #bxNearbyCard,body.bx-r9b-route-active #bxNearbyDock,body.bx-r9b-route-active #bxNearbyDrawer,body.bx-r9b-route-active #bxNearbyCard{display:none!important}
body #bxV22Weather{width:190px!important;height:56px!important;padding:0 12px!important;gap:10px!important;border-radius:17px!important}
body #bxV22Place{display:none!important}
body #bxV22Clock{font-size:19px!important}
body #bxV22Date{font-size:10px!important;margin-top:3px!important}
body #bxV22WeatherIcon{width:28px!important;font-size:27px!important}
body #bxV22Temp{font-size:18px!important}
@media(max-width:760px){
 body.bx-r38-ui #bxV290SearchDock,body #bxV290SearchDock{left:62px!important;right:92px!important;width:auto!important;top:max(8px,env(safe-area-inset-top))!important}
 body #bxV22Weather{display:flex!important;align-items:center!important;justify-content:center!important;top:max(8px,env(safe-area-inset-top))!important;right:max(7px,env(safe-area-inset-right))!important;left:auto!important;width:78px!important;height:44px!important;padding:0 7px!important;gap:4px!important;border-radius:14px!important}
 body #bxV22Weather .bx-v22-weather-time,body #bxV22Date,body #bxV22Place{display:none!important}
 body #bxV22Weather .bx-v22-weather-condition{display:flex!important;align-items:center!important;gap:3px!important}
 body #bxV22WeatherIcon{width:25px!important;font-size:24px!important}
 body #bxV22Temp{font-size:16px!important}
 #bxNearbyDock{left:8px;right:8px;max-width:none;top:var(--bx-nearby-top);padding-right:8px}
 .bx-nearby-chip{height:39px;padding:0 12px!important;font-size:12px!important;gap:7px!important}.bx-nearby-chip .ico{font-size:16px}
 #bxNearbyDrawer{left:8px!important;right:8px!important;top:auto!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:auto!important;max-height:48dvh!important;border-radius:20px!important}
 .bx-nearby-head{padding:14px 14px 10px}.bx-nearby-head strong{font-size:17px}.bx-nearby-head small{font-size:10px}
 #bxNearbyResults{padding:4px 7px 8px}.bx-nearby-hit{grid-template-columns:42px minmax(0,1fr) auto!important;padding:9px 3px!important;gap:8px!important}.bx-nearby-hit .cat{width:38px;height:38px;border-radius:12px;font-size:18px}.bx-nearby-hit .copy strong{font-size:13px}.bx-nearby-hit .copy span{font-size:10px}.bx-nearby-hit .dist{font-size:11px}.bx-nearby-go{width:34px!important;height:34px!important}
 #bxNearbyCard{left:8px!important;right:8px!important;bottom:max(12px,env(safe-area-inset-bottom))!important;transform:none!important;width:auto!important;min-height:86px!important;grid-template-columns:50px minmax(0,1fr)!important;padding:12px!important;gap:10px!important;border-radius:18px!important}
 #bxNearbyCard .hero{width:48px;height:48px;border-radius:14px;font-size:22px}
 #bxNearbyCard .copy strong{font-size:15px}#bxNearbyCard .copy span{font-size:11px}
 #bxNearbyCard .actions{grid-column:1/-1;width:100%}.bx-nearby-dir{flex:1!important}.bx-nearby-x{width:38px!important}
 .bx-poi-marker .label{max-width:145px;font-size:11px;bottom:51px}
}
@media(max-width:420px){
 body.bx-r38-ui #bxV290SearchDock,body #bxV290SearchDock{left:58px!important;right:88px!important}
 body #bxV22Weather{width:74px!important}
 .bx-nearby-chip{height:37px;padding:0 10px!important;font-size:11px!important}
 #bxNearbyDrawer{max-height:46dvh!important}
}


/* Search suggestions always own the search area. Nearby returns when suggestions close. */
body.bx-search-suggesting #bxNearbyDrawer,
body.bx-search-suggesting #bxNearbyCard{display:none!important}
body #bxV290SearchDock{z-index:2147483100!important}
body #bxV290SearchDock #searchResults{z-index:2147483150!important}

@media(max-width:760px){
 html body.bx-r38-ui #bxV22Weather,
 html body #bxV22Weather{
   position:fixed!important;top:max(8px,env(safe-area-inset-top))!important;
   right:max(7px,env(safe-area-inset-right))!important;left:auto!important;
   width:78px!important;max-width:78px!important;height:44px!important;
   min-height:44px!important;padding:0 7px!important;margin:0!important;
   display:flex!important;align-items:center!important;justify-content:center!important;
   gap:3px!important;border-radius:14px!important;
 }
 html body.bx-r38-ui #bxV22Weather .bx-v22-weather-time,
 html body #bxV22Weather .bx-v22-weather-time,
 html body.bx-r38-ui #bxV22Date,html body #bxV22Date,
 html body.bx-r38-ui #bxV22Place,html body #bxV22Place{display:none!important}
 html body.bx-r38-ui #bxV22Weather .bx-v22-weather-condition,
 html body #bxV22Weather .bx-v22-weather-condition{
   display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important
 }
 html body.bx-r38-ui #bxV22WeatherIcon,html body #bxV22WeatherIcon{width:24px!important;font-size:23px!important}
 html body.bx-r38-ui #bxV22Temp,html body #bxV22Temp{font-size:16px!important;line-height:1!important}
 html body.bx-r38-ui #bxV290SearchDock,html body #bxV290SearchDock{
   left:58px!important;right:90px!important;width:auto!important;
   top:max(8px,env(safe-area-inset-top))!important;
 }
 #bxNearbyDock{left:8px!important;right:8px!important;max-width:none!important}
 .bx-nearby-chip{padding-left:10px!important;padding-right:10px!important;gap:6px!important}
 .bx-nearby-chip .ico{font-size:15px!important}
}
@media(max-width:420px){
 html body.bx-r38-ui #bxV22Weather,html body #bxV22Weather{width:74px!important;max-width:74px!important}
 html body.bx-r38-ui #bxV290SearchDock,html body #bxV290SearchDock{left:56px!important;right:86px!important}
}

@media(max-width:760px){
 html body #bxV290SearchDock #searchForm,
 html body.bx-r38-ui #bxV290SearchDock #searchForm{
   width:100%!important;max-width:100%!important;min-width:0!important;
   height:54px!important;box-sizing:border-box!important;
   display:flex!important;align-items:center!important;
   pointer-events:auto!important;overflow:visible!important;
 }
 html body #bxV290SearchDock #searchInput,
 html body.bx-r38-ui #bxV290SearchDock #searchInput{
   flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;
   height:44px!important;box-sizing:border-box!important;
 }
 html body #bxV290SearchDock .search-icon,
 html body.bx-r38-ui #bxV290SearchDock .search-icon{flex:0 0 44px!important;width:44px!important}
 html body #bxV290SearchDock #clearSearchButton,
 html body.bx-r38-ui #bxV290SearchDock #clearSearchButton{
   flex:0 0 38px!important;width:38px!important;min-width:38px!important
 }
 html body #bxV290SearchDock #searchResults,
 html body.bx-r38-ui #bxV290SearchDock #searchResults{
   left:0!important;right:0!important;width:auto!important;max-width:none!important;
   top:56px!important;box-sizing:border-box!important
 }
 #bxNearbyDock{
   overflow-x:auto!important;overflow-y:hidden!important;
   touch-action:pan-x!important;overscroll-behavior-x:contain!important;
   -webkit-overflow-scrolling:touch!important
 }
 #bxNearbyDrawer,#bxNearbyResults{
   touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important
 }
 .bx-nearby-chip{touch-action:manipulation!important}
}

/* R6 coordinated search/place/GPS layout */
body.bx-live-place-selected #searchResults,
body.bx-live-place-selected #bxNearbyDrawer,
body.bx-live-place-selected #bxNearbyCard,
body.bx-place-selecting #searchResults,
body.bx-place-selecting #bxNearbyDrawer,
body.bx-place-selecting #bxNearbyCard{
  display:none!important;
}

html body #bxR46GpsNotice{
  position:fixed!important;
  z-index:2147483050!important;
  top:50%!important;
  right:88px!important;
  left:auto!important;
  transform:translateY(-50%)!important;
  width:auto!important;
  min-width:0!important;
  max-width:220px!important;
  padding:8px 11px!important;
  border-radius:12px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font:700 11px/1.25 Inter,"Segoe UI",Arial,sans-serif!important;
  pointer-events:none!important;
}

@media(min-width:761px){
  #bxNearbyDrawer{
    width:min(410px,calc(100vw - 150px))!important;
  }
  #bxNearbyCard{
    max-width:calc(100vw - 180px)!important;
  }
}

@media(max-width:760px){
  #bxNearbyDrawer{
    left:8px!important;
    right:60px!important;
    width:auto!important;
    max-height:42dvh!important;
    bottom:max(10px,env(safe-area-inset-bottom))!important;
  }
  #bxNearbyCard{
    left:8px!important;
    right:60px!important;
    width:auto!important;
    bottom:max(10px,env(safe-area-inset-bottom))!important;
  }
  html body #bxR46GpsNotice{
    top:36%!important;
    right:60px!important;
    left:auto!important;
    transform:none!important;
    max-width:185px!important;
    padding:8px 10px!important;
    font-size:10.5px!important;
  }
}

/* R7 exact coordinated layout: panels never compete with map controls. */
#bxR46GpsNotice{
 display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;
 grid-template-areas:"dot title" "dot sub"!important;column-gap:8px!important;align-items:center!important;
}
#bxR46GpsNotice::before{content:"◎";grid-area:dot;color:#18a6ff;font-size:20px;line-height:1}
#bxR46GpsNotice .bx-gps-title{grid-area:title;display:block;color:#fff;font:800 11px/1.15 Inter,"Segoe UI",Arial,sans-serif}
#bxR46GpsNotice .bx-gps-sub{grid-area:sub;display:block;color:#9fc5dd;font:650 9px/1.15 Inter,"Segoe UI",Arial,sans-serif;margin-top:2px}
@media(min-width:761px){
 #bxNearbyDrawer{left:24px!important;right:auto!important;width:min(410px,calc(100vw - 150px))!important;max-height:calc(100vh - var(--bx-nearby-top) - 150px)!important}
 #bxNearbyCard{width:min(760px,calc(100vw - 180px))!important}
 html body #bxR46GpsNotice{right:88px!important;max-width:210px!important}
}
@media(max-width:760px){
 #bxNearbyDrawer{left:8px!important;right:62px!important;width:auto!important;max-height:42dvh!important;bottom:max(10px,env(safe-area-inset-bottom))!important}
 #bxNearbyCard{left:8px!important;right:62px!important;width:auto!important;bottom:max(10px,env(safe-area-inset-bottom))!important}
 html body #bxR46GpsNotice{right:62px!important;max-width:185px!important}
}


/* R26 search layout: suggestions live below persistent Nearby chips */
:root{--bx-search-results-top:136px}
html body #bxV290SearchDock #searchResults,
html body.bx-r38-ui #bxV290SearchDock #searchResults{
  top:var(--bx-search-results-top)!important;
  bottom:auto!important;
  max-height:min(430px,calc(100dvh - var(--bx-nearby-top) - 64px))!important;
}
