/* SamiMap R96: existing HUD, more legible digits without growing circles. */
body.bx-r38-ui.navigation-active .bx40-current-speed strong{font-size:30px!important;line-height:1!important;font-weight:900!important;font-variant-numeric:tabular-nums!important}
body.bx-r38-ui.navigation-active .bx40-limit-sign strong{font-size:28px!important;line-height:1!important;font-weight:900!important;font-variant-numeric:tabular-nums!important}
@media(min-width:1024px) and (max-width:1279px){
 body.bx-r38-ui.navigation-active .bx40-current-speed strong{font-size:23px!important}
 body.bx-r38-ui.navigation-active .bx40-limit-sign strong{font-size:22px!important}
}
@media(max-width:1023px){
 body.bx-r38-ui.navigation-active .bx40-current-speed strong{font-size:26px!important}
 body.bx-r38-ui.navigation-active .bx40-limit-sign strong{font-size:23px!important}
}
@media(max-width:370px){
 body.bx-r38-ui.navigation-active .bx40-current-speed strong{font-size:23px!important}
 body.bx-r38-ui.navigation-active .bx40-limit-sign strong{font-size:21px!important}
}
/* Overspeed warning reuses existing speed pair, no new HUD. */
body.bx-r38-ui.navigation-active.bx96-over-speed .bx40-current-speed{color:#fff!important;background:rgba(119,12,24,.96)!important;border-color:#f83b4b!important;box-shadow:0 0 0 2px rgba(245,40,62,.38),0 0 16px rgba(245,38,59,.35)!important}
body.bx-r38-ui.navigation-active.bx96-over-speed .bx40-current-speed strong{color:#fff!important}
body.bx-r38-ui.navigation-active.bx96-over-speed .bx40-limit-sign{border-color:#ff253b!important;box-shadow:0 0 0 2px rgba(255,45,57,.28),0 0 16px rgba(245,38,59,.3)!important}
body.bx-r38-ui.navigation-active.bx96-over-speed .bx40-speed-zone{position:relative!important}
body.bx-r38-ui.navigation-active.bx96-over-speed .bx40-speed-zone::after{content:"SLOW DOWN";position:absolute;bottom:2px;left:50%;transform:translateX(-50%);pointer-events:none;white-space:nowrap;border-radius:7px;padding:2px 6px;background:#cf1832;color:#fff;font:800 9px/1.15 system-ui,sans-serif;z-index:7}
@media(max-width:1023px){body.bx-r38-ui.navigation-active.bx96-over-speed .bx40-speed-zone::after{bottom:calc(100% + 1px)}}
/* New button matches the existing right-side rail. */
#bx96DestinationButton{display:grid;place-items:center;gap:1px;align-content:center;color:#fff;border-color:rgba(103,174,235,.28);touch-action:manipulation}
#bx96DestinationButton svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#bx96DestinationButton[aria-pressed="true"]{background:rgba(132,86,36,.96)!important;border-color:#efb66e!important;color:#fff!important}
#bx96DestinationButton .bx96-dest-label{font-size:8px;font-weight:700;line-height:1}
/* Mobile: compact bottom card with vertically scrollable details. */
@media(max-width:760px){
 #bxProPlaceCardV294:not([hidden]){top:auto!important;bottom:max(8px,env(safe-area-inset-bottom,0px))!important;left:max(8px,env(safe-area-inset-left,0px))!important;right:max(8px,env(safe-area-inset-right,0px))!important;width:auto!important;max-width:none!important;height:auto!important;max-height:min(43dvh,350px)!important;border-radius:17px!important;overflow:hidden!important;z-index:2147483400!important}
 #bxProPlaceCardV294 .bxp-hero{flex:0 0 46px!important;height:46px!important}
 #bxProPlaceCardV294 .bxp-placeholder{font-size:15px!important}
 #bxProPlaceCardV294 .bxp-close{width:30px!important;height:30px!important;top:7px!important;right:9px!important;font-size:20px!important}
 #bxProPlaceCardV294 .bxp-scroll{min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important}
 #bxProPlaceCardV294 .bxp-main{padding:9px 11px 8px!important}
 #bxProPlaceCardV294 .bxp-category{font-size:9px!important;letter-spacing:.04em!important}
 #bxProPlaceCardV294 .bxp-title{font-size:17px!important;line-height:1.16!important;margin:3px 0 0!important}
 #bxProPlaceCardV294 .bxp-rating{margin-top:4px!important;font-size:10px!important;gap:4px!important}
 #bxProPlaceCardV294 .bxp-address{margin:6px 0 0!important;font-size:10px!important;line-height:1.3!important;grid-template-columns:14px minmax(0,1fr)!important;gap:3px!important}
 #bxProPlaceCardV294 .bxp-phone-row{margin-top:6px!important;padding-top:5px!important;gap:4px!important;font-size:10px!important}
 #bxProPlaceCardV294 .bxp-phone{font-size:10px!important}
 #bxProPlaceCardV294 .bxp-call{height:25px!important;padding:0 9px!important;font-size:10px!important}
 #bxProPlaceCardV294 .bxp-actions{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;margin-top:8px!important}
 #bxProPlaceCardV294 .bxp-action{min-width:0!important;min-height:43px!important;padding:4px 1px!important;gap:1px!important;font-size:9px!important;border-radius:9px!important}
 #bxProPlaceCardV294 .bxp-action b{font-size:15px!important}
 #bxProPlaceCardV294 .bxp-state-row{margin-top:5px!important;min-height:18px!important;font-size:9px!important}
 #bxProPlaceCardV294 .bxp-msg{font-size:9px!important;margin:3px 0!important}
 #bxProPlaceCardV294 .bxp-tabs{min-height:33px!important;padding:0 5px!important}
 #bxProPlaceCardV294 .bxp-tab{font-size:10px!important;padding:8px 3px!important}
 #bxProPlaceCardV294 .bxp-panel{padding:8px 10px!important}
}
@media(max-width:760px) and (max-height:650px){
 #bxProPlaceCardV294:not([hidden]){max-height:48dvh!important}
 #bxProPlaceCardV294 .bxp-hero{display:none!important}
}