.tp-vm {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tint, #5c6776);
  border: 3px solid var(--ring, #8b97a8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg, #ffffff);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .tp-toast { transition: none; }
}

.tp-vm-glyph {
  inline-size: 14px;
  line-height: 1;
}

.tp-vm-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.tp-popup {
  font-size: 13px;
  line-height: 1.45;
  color: #1b2330;
  min-width: 180px;
  max-width: 260px;
}

.tp-pop-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.tp-pop-icon {
  font-size: 16px;
  line-height: 1;
}

.tp-pop-id {
  flex: 1;
}

.tp-pop-route {
  font-size: 12px;
  color: #1b2330;
  margin-bottom: 2px;
}

.tp-pop-headsign {
  font-size: 12px;
  color: #5c6776;
  margin-bottom: 2px;
}

.tp-pop-status {
  font-size: 12px;
  color: #5c6776;
}

#view-map { position: relative; }
.tp-toast {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(27, 35, 48, 0.92);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
}

.tp-toast.show {
  opacity: 1;
}

.tp-toast.error {
  background: rgba(210, 48, 53, 0.95);
}
