.campus-route-overlay {
  position: absolute;
  z-index: 8;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.campus-route-overlay[hidden] { display: none; }

.campus-route-anchor {
  position: absolute;
  top: 0;
  left: 0;
}

.campus-route-marker {
  --campus-lg-tint: rgba(255, 253, 249, 0.49);
  display: inline-flex;
  max-width: min(210px, calc(100vw - 28px));
  align-items: center;
  padding: 3px 8px 3px 4px;
  color: #332b29;
  background: rgba(255, 253, 249, 0.12);
  font: 600 10.5px/1.25 "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  white-space: nowrap;
}

.campus-route-marker > .campus-lg__content {
  display: flex;
  width: auto;
  height: auto;
  gap: 5px;
}

.campus-route-marker__role {
  flex: none;
  padding: 2px 0 2px 3px;
  color: #506e5b;
  font-weight: 700;
}

.campus-route-marker--end .campus-route-marker__role { color: #a91e37; }

.campus-route-marker__name {
  overflow: hidden;
  text-overflow: ellipsis;
}
