/* UI-only refinement: remove the repeated decorative status heading on all tabs. */
#contentScroll > .section-head { display: none !important; }

/* Scoped to moving vehicle markers; never style route lines or station dots. */
.vehicle-marker.vehicle-marker--code {
  display: grid;
  place-items: center;
  position: relative;
  border: 2px solid #fff;
  border-radius: 7px 7px 7px 3px;
  transform: none;
  padding: 0 2px;
  white-space: nowrap;
  text-align: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: -.1px;
  box-shadow: 0 2px 8px #14202c4d;
}
.vehicle-marker.vehicle-marker--code > span {
  display: block;
  transform: none;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1;
  text-shadow: 0 1px 2px #0008;
}

/* Keep badge anchors and clickable Leaflet icons intact; reduce only the
   painted badge when zoomed out to limit overlap and heavy shadows. */
#map .vehicle-marker.vehicle-marker--code {
  transform: scale(var(--vehicle-badge-zoom-scale, 1));
  transform-origin: center calc(100% - 1px);
}
#map.map-compact-vehicle-badges .vehicle-marker.vehicle-marker--code {
  box-shadow: 0 1px 3px #14202c30;
}
