/* Tourora route-aware perspective vector map, 24 November 2026. */
.mapshell{position:relative}
#tourora-drive-vector3d{display:none;position:absolute;inset:0;z-index:6;overflow:hidden;background:#162d37;pointer-events:auto;touch-action:pan-x pan-y}
#tourora-drive-vector3d.tourora-3d-preparing{display:block;visibility:hidden;pointer-events:none}
body.tourora-vector3d-active #tourora-drive-vector3d{display:block;visibility:visible;pointer-events:auto}
body.tourora-vector3d-active #map{visibility:hidden!important}
#tourora-drive-vector3d canvas{outline:0}
#tourora-drive-vector3d-status{position:absolute;z-index:8;left:50%;bottom:calc(105px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);font:800 10px/1.2 system-ui,sans-serif;color:#e9fcf5;background:#0b4039d9;padding:5px 9px;border-radius:6px;white-space:nowrap;pointer-events:none;display:none}
body.tourora-vector3d-active #tourora-drive-vector3d-status{display:none}
#tourora-drive-view-toggle{position:absolute;z-index:690;right:calc(164px + env(safe-area-inset-right,0px));bottom:calc(105px + env(safe-area-inset-bottom,0px));display:none;align-items:center;justify-content:center;padding:9px 12px;min-width:75px;min-height:36px;background:#dbf1ff;color:#0c4f83;border:2px solid #5cabdf;border-radius:11px;box-shadow:0 3px 10px #031a2f7f;font:900 12px/1.1 system-ui,sans-serif;cursor:pointer}
body.driving #tourora-drive-view-toggle{display:flex}
#tourora-vector-vehicle-marker{width:43px;height:50px;filter:drop-shadow(0 3px 4px #09213bc0)}
#tourora-vector-vehicle-marker svg{display:block;width:100%;height:100%}
@media(max-width:880px){#tourora-drive-view-toggle{right:calc(105px + env(safe-area-inset-right,0px));bottom:calc(192px + env(safe-area-inset-bottom,0px));font-size:11px;min-width:72px;z-index:730}}
@media(orientation:landscape) and (max-height:620px){#tourora-drive-view-toggle{right:calc(170px + env(safe-area-inset-right,0px));bottom:calc(68px + env(safe-area-inset-bottom,0px))}}
/* Visible only when the driver deliberately pans away from GPS follow. */
#tourora-drive-recentre{display:none;position:absolute;z-index:735;right:calc(164px + env(safe-area-inset-right,0px));bottom:calc(158px + env(safe-area-inset-bottom,0px));align-items:center;justify-content:center;min-height:38px;min-width:82px;padding:8px 12px;border-radius:11px;border:2px solid #a4e5bb;background:#0b4039;color:#f3fff6;box-shadow:0 3px 12px #09281a88;font:800 13px/1.2 system-ui,sans-serif;cursor:pointer;}
body.driving.tourora-vector3d-active.tourora-3d-manual #tourora-drive-recentre{display:flex}
@media(max-width:880px){#tourora-drive-recentre{right:calc(105px + env(safe-area-inset-right,0px));bottom:calc(243px + env(safe-area-inset-bottom,0px));min-width:76px;z-index:740}}
@media(orientation:landscape) and (max-height:620px){#tourora-drive-recentre{right:calc(170px + env(safe-area-inset-right,0px));bottom:calc(119px + env(safe-area-inset-bottom,0px))}}


/* Tourora — consolidated driver controls above the bottom journey panel. */
@media screen and (orientation:portrait) and (max-width:880px){
 body.driving.tourora-drive-mobile-v6 #satnav-speed{
  display:block!important;position:absolute!important;
  left:calc(9px + env(safe-area-inset-left,0px))!important;
  right:auto!important;top:auto!important;
  bottom:calc(106px + env(safe-area-inset-bottom,0px))!important;
  width:95px!important;min-width:95px!important;max-width:95px!important;
  min-height:78px!important;padding:10px 8px!important;
  border-radius:13px!important;z-index:30212!important;
 }
 body.driving.tourora-drive-mobile-v6 #satnav-speed strong{
  font-size:31px!important;line-height:1.1!important;
 }
 body.driving.tourora-drive-mobile-v6 #satnav-speed small{
  font-size:11px!important;line-height:1.3!important;
 }
 body.driving.tourora-drive-mobile-v6 #tourora-drive-recentre,
 body.driving.tourora-drive-mobile-v6 #tourora-drive-view-toggle{
  display:flex!important;position:absolute!important;
  top:auto!important;right:auto!important;
  bottom:calc(120px + env(safe-area-inset-bottom,0px))!important;
  height:50px!important;min-height:50px!important;
  padding:5px 6px!important;
  border-radius:12px!important;box-sizing:border-box!important;
  align-items:center!important;justify-content:center!important;
  font:850 13px/1.1 system-ui,sans-serif!important;
  z-index:30212!important;white-space:nowrap!important;
 }
 body.driving.tourora-drive-mobile-v6 #tourora-drive-recentre{
  left:calc(112px + env(safe-area-inset-left,0px))!important;
  width:84px!important;min-width:84px!important;
 }
 body.driving.tourora-drive-mobile-v6 #tourora-drive-view-toggle{
  left:calc(203px + env(safe-area-inset-left,0px))!important;
  width:82px!important;min-width:82px!important;
 }
}
@media screen and (orientation:portrait) and (max-width:360px){
 body.driving.tourora-drive-mobile-v6 #satnav-speed{
  left:calc(7px + env(safe-area-inset-left,0px))!important;
  width:77px!important;min-width:77px!important;max-width:77px!important;
  min-height:72px!important;
 }
 body.driving.tourora-drive-mobile-v6 #satnav-speed strong{font-size:28px!important}
 body.driving.tourora-drive-mobile-v6 #tourora-drive-recentre{
  left:calc(89px + env(safe-area-inset-left,0px))!important;
  width:76px!important;min-width:76px!important;font-size:11px!important;
 }
 body.driving.tourora-drive-mobile-v6 #tourora-drive-view-toggle{
  left:calc(170px + env(safe-area-inset-left,0px))!important;
  width:65px!important;min-width:65px!important;font-size:10px!important;
 }
}
@media screen and (orientation:landscape) and (max-height:620px){
 body.driving.tourora-drive-mobile-v6 #satnav-speed{
  left:calc(8px + env(safe-area-inset-left,0px))!important;
  top:auto!important;right:auto!important;
  bottom:calc(74px + env(safe-area-inset-bottom,0px))!important;
  width:86px!important;min-width:86px!important;max-width:86px!important;
  min-height:66px!important;padding:6px 7px!important;
  z-index:30212!important;
 }
 body.driving.tourora-drive-mobile-v6 #satnav-speed strong{font-size:27px!important}
 body.driving.tourora-drive-mobile-v6 #tourora-drive-recentre,
 body.driving.tourora-drive-mobile-v6 #tourora-drive-view-toggle{
  display:flex!important;position:absolute!important;top:auto!important;right:auto!important;
  bottom:calc(86px + env(safe-area-inset-bottom,0px))!important;
  min-height:44px!important;height:44px!important;
  font:800 11px/1.1 system-ui,sans-serif!important;z-index:30212!important;
 }
 body.driving.tourora-drive-mobile-v6 #tourora-drive-recentre{
  left:calc(104px + env(safe-area-inset-left,0px))!important;
  width:77px!important;min-width:77px!important;
 }
 body.driving.tourora-drive-mobile-v6 #tourora-drive-view-toggle{
  left:calc(190px + env(safe-area-inset-left,0px))!important;
  width:80px!important;min-width:80px!important;
 }
}