:root {
  --bg: #040b14;
  --bg-2: #071523;
  --panel: rgba(7, 20, 34, .88);
  --panel-2: rgba(9, 26, 43, .8);
  --line: rgba(92, 185, 255, .16);
  --line-strong: rgba(92, 185, 255, .32);
  --text: #e6f4ff;
  --muted: #7f9db6;
  --muted-2: #55748d;
  --cyan: #28d7ff;
  --blue: #4dabff;
  --accent: #4dabff;
  --green: #38e8b0;
  --amber: #ffb020;
  --danger: #ff5a67;
  --radius: 6px;
  --shadow: 0 18px 46px rgba(0, 0, 0, .36);
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --num: "Bahnschrift", "DIN Alternate", "Segoe UI", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body {
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(1100px 680px at 48% -12%, rgba(17, 113, 210, .22), transparent 62%),
    radial-gradient(900px 560px at 102% 106%, rgba(0, 224, 198, .08), transparent 60%),
    linear-gradient(180deg, #040b14 0%, #050e19 100%);
  font-family: var(--font);
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(102, 180, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 180, 255, .028) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 82%);
  z-index: 0;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { display: block; }
button, input { font-family: inherit; }
button { color: inherit; }

.app {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 680px;
}

/* ── Header ───────────────────────────────────────────── */
.topbar {
  position: relative;
  flex: 0 0 76px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(83, 181, 255, .14);
  background: linear-gradient(180deg, rgba(6, 18, 31, .9), rgba(4, 12, 22, .62));
}
.topbar::after {
  content: "";
  position: absolute;
  left: 20px; right: 20px; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(40, 215, 255, .55), rgba(77, 171, 255, .1), transparent);
}
.brand { display: flex; align-items: center; gap: 13px; min-width: 360px; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 43px; height: 43px;
  color: #dff6ff;
  border: 1px solid rgba(72, 200, 255, .45);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(41, 171, 255, .3), rgba(10, 48, 82, .5)),
    #081a2a;
  box-shadow: inset 0 0 18px rgba(50, 190, 255, .2), 0 0 28px rgba(30, 150, 255, .12);
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  border-color: var(--cyan);
  border-style: solid;
  opacity: .7;
}
.brand-mark::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.brand-mark::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.brand-mark svg { width: 25px; height: 25px; }
.brand-text h1 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.2;
  text-shadow: 0 0 26px rgba(70, 180, 255, .35);
}
.brand-text h1 span {
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: 2px;
}
.brand-text p {
  margin: 5px 0 0;
  color: #6788a2;
  font-size: 9px;
  letter-spacing: 2.5px;
  font-family: var(--num);
}
.top-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
  max-width: 690px;
}
.top-stat {
  position: relative;
  min-width: 128px;
  padding: 0 22px;
  border-left: 1px solid rgba(90, 170, 235, .12);
}
.top-stat:first-child { border-left: 0; }
.top-stat span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.2px;
  margin-bottom: 2px;
}
.top-stat b {
  font-family: var(--num);
  font-size: 25px;
  line-height: 1;
  font-weight: 700;
  color: #eefaff;
  letter-spacing: .5px;
}
.top-stat em {
  margin-left: 3px;
  font-style: normal;
  font-size: 10px;
  color: var(--muted-2);
}
.top-right { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.live-pill {
  display: flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 11px;
  border: 1px solid rgba(56, 232, 176, .24);
  border-radius: 99px;
  color: #9cf5d8;
  background: rgba(30, 150, 115, .08);
  font-size: 10px; letter-spacing: .5px;
  white-space: nowrap;
}
.live-pill i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
  animation: livePulse 2s ease-in-out infinite;
}
.live-pill em {
  font-style: normal;
  padding: 1px 5px;
  border-radius: 3px;
  color: #7daec8;
  background: rgba(120, 185, 230, .1);
  font-size: 9px;
}
.clock { text-align: right; }
.clock b {
  display: block;
  font-family: var(--num);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 1.6px;
  line-height: 1;
  color: #f0fbff;
  text-shadow: 0 0 18px rgba(64, 206, 255, .24);
}
.clock span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .7px;
}

/* ── Layout ───────────────────────────────────────────── */
.layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 326px minmax(0, 1fr) 382px;
  gap: 12px;
  padding: 12px 16px 10px;
}
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(11, 31, 51, .72), rgba(5, 15, 27, .88)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  top: 0; left: 14%; right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 194, 255, .55), transparent);
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 50px rgba(20, 100, 170, .045);
}
.left-panel { padding: 14px 13px 12px; }
.right-panel { padding: 14px 15px 12px; }

.eyebrow {
  display: block;
  color: #4f829f;
  font-family: var(--num);
  font-size: 8px;
  letter-spacing: 2px;
  line-height: 1.2;
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 3px 10px;
}
.panel-head h2 {
  margin: 5px 0 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
}
.count-badge {
  display: grid;
  place-items: center;
  min-width: 35px; height: 25px;
  border: 1px solid rgba(77, 171, 255, .24);
  border-radius: 3px;
  background: rgba(30, 110, 180, .12);
  color: #79c9ff;
  font-family: var(--num);
  font-size: 13px;
  letter-spacing: 1px;
}

/* search */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  height: 34px;
  margin: 0 1px 10px;
  border: 1px solid rgba(86, 167, 230, .17);
  border-radius: 4px;
  background: rgba(3, 12, 22, .55);
  transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within {
  border-color: rgba(40, 215, 255, .55);
  box-shadow: 0 0 0 3px rgba(40, 215, 255, .06);
}
.search-box > svg {
  width: 15px; height: 15px;
  margin: 0 9px 0 11px;
  color: #5b89a6;
}
.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 11.5px;
  letter-spacing: .4px;
}
.search-box input::placeholder { color: #4d6d84; }
.search-box kbd {
  margin-right: 9px;
  padding: 1px 5px;
  border: 1px solid rgba(100, 170, 220, .16);
  border-radius: 3px;
  color: #55728a;
  font-family: var(--num);
  font-size: 8px;
  background: rgba(70, 130, 175, .07);
}

/* route list */
.route-list {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 1px 1px 4px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(70, 150, 210, .28) transparent;
}
.route-list::-webkit-scrollbar,
.stops-list::-webkit-scrollbar { width: 4px; }
.route-list::-webkit-scrollbar-thumb,
.stops-list::-webkit-scrollbar-thumb { background: rgba(70, 150, 210, .28); border-radius: 4px; }
.route-card {
  --route: #4dabff;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 53px;
  padding: 7px 9px 7px 8px;
  text-align: left;
  border: 1px solid rgba(79, 156, 216, .11);
  border-radius: 4px;
  background: rgba(10, 27, 44, .48);
  cursor: pointer;
  overflow: hidden;
  transition: background .2s, border-color .2s, transform .15s;
}
.route-card::before {
  content: "";
  position: absolute;
  left: 0; top: 11px; bottom: 11px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--route);
  box-shadow: 0 0 12px var(--route);
  opacity: .42;
  transition: opacity .2s, top .2s, bottom .2s;
}
.route-card:hover {
  border-color: rgba(90, 180, 245, .24);
  background: rgba(15, 40, 63, .62);
}
.route-card.active {
  border-color: color-mix(in srgb, var(--route) 46%, transparent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--route) 12%, transparent), rgba(11, 31, 49, .6) 60%),
    rgba(11, 30, 48, .8);
  box-shadow: inset 0 0 24px color-mix(in srgb, var(--route) 7%, transparent);
}
.route-card.active::before { opacity: 1; top: 0; bottom: 0; }
.route-num {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--route) 35%, transparent);
  border-radius: 4px;
  color: var(--route);
  background: color-mix(in srgb, var(--route) 9%, transparent);
  font-family: var(--num);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1;
}
.route-num small {
  font-size: 8px;
  font-weight: 400;
  opacity: .7;
  margin-left: 1px;
}
.route-info { flex: 1; min-width: 0; }
.route-info b {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: #d7edf9;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.route-info b i {
  flex: 0 0 auto;
  color: #50728a;
  font-style: normal;
  font-size: 10px;
}
.route-info small {
  display: block;
  margin-top: 4px;
  color: #66849b;
  font-family: var(--num);
  font-size: 9px;
  letter-spacing: .3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.route-card.active .route-info small { color: #88aec7; }
.route-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 19px; height: 19px;
  border: 1px solid rgba(94, 165, 218, .18);
  border-radius: 50%;
  color: #5c7f98;
  font-size: 9px;
  opacity: .8;
}
.route-card.active .route-mark {
  color: var(--route);
  border-color: color-mix(in srgb, var(--route) 45%, transparent);
  background: color-mix(in srgb, var(--route) 10%, transparent);
}
.route-empty {
  display: grid;
  place-items: center;
  min-height: 120px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 1px;
}

.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
  height: 18px;
  margin: 3px 0 0;
  color: #4e738a;
  font-size: 8px;
  letter-spacing: .4px;
  border-top: 1px solid rgba(78, 145, 195, .08);
}
.scroll-hint span { color: #6cb8db; font-size: 10px; }

/* network summary */
.network-summary {
  flex: 0 0 auto;
  margin-top: 10px;
  padding: 10px 11px 9px;
  border: 1px solid rgba(77, 155, 215, .12);
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(11, 40, 63, .5), rgba(4, 14, 25, .4));
}
.summary-head { display: flex; align-items: center; justify-content: space-between; }
.summary-live {
  display: flex; align-items: center; gap: 5px;
  color: #65c7a8; font-size: 9px; letter-spacing: .5px;
}
.summary-live i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 9px 0 8px;
}
.summary-grid div { text-align: center; }
.summary-grid b {
  display: block;
  color: #dff5ff;
  font-family: var(--num);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}
.summary-grid span {
  display: block;
  margin-top: 4px;
  color: #617e94;
  font-size: 8.5px;
  white-space: nowrap;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-top: 7px;
  border-top: 1px solid rgba(80, 150, 205, .1);
}
.legend span {
  display: flex; align-items: center; gap: 5px;
  color: #5d7d94; font-size: 8.5px;
}
.legend i { display: inline-block; width: 12px; height: 2px; border-radius: 2px; }
.lg-line { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.lg-dim { background: #315269; }
.lg-metro {
  width: 7px !important; height: 7px !important;
  border-radius: 50%;
  border: 1px solid #52a9e8;
  background: rgba(40, 130, 200, .5);
}

/* ── Map stage ───────────────────────────────────────── */
.map-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(79, 170, 235, .2);
  border-radius: var(--radius);
  overflow: hidden;
  background: #07111c;
  box-shadow: var(--shadow);
}
.map-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 700;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(100, 200, 255, .04),
    inset 0 0 70px rgba(2, 8, 16, .72);
}
#map {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 520px at 52% 44%, rgba(18, 65, 100, .24), transparent 72%),
    repeating-linear-gradient(0deg, rgba(60, 140, 190, .045) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(60, 140, 190, .045) 0 1px, transparent 1px 46px),
    #06111d;
  outline: 0;
}
#map .leaflet-tile {
  filter: invert(1) hue-rotate(180deg) brightness(.76) contrast(1.16) saturate(.42);
}
#map .leaflet-container { background: #06111d; }
.leaflet-container { font-family: var(--font); }
.leaflet-control-attribution { display: none; }
.leaflet-tooltip {
  padding: 6px 9px !important;
  border: 1px solid rgba(93, 195, 255, .38) !important;
  border-radius: 4px !important;
  background: rgba(4, 16, 29, .94) !important;
  color: #dff5ff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45) !important;
  font-size: 10px;
}
.leaflet-tooltip::before { border-top-color: rgba(93, 195, 255, .38) !important; }
.leaflet-tooltip b { color: #61c9ff; margin-right: 6px; }

.map-tint {
  position: absolute;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 11, 22, .3) 0%, rgba(2, 11, 22, .02) 34%, rgba(2, 11, 22, .1) 68%, rgba(2, 10, 19, .42) 100%),
    radial-gradient(900px 550px at 48% 45%, transparent 36%, rgba(2, 9, 17, .12) 100%);
}
.map-vignette {
  position: absolute;
  inset: 0;
  z-index: 390;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 46%, rgba(2, 8, 16, .42) 100%);
}

.glass-card {
  position: absolute;
  z-index: 1000;
  border: 1px solid rgba(80, 180, 240, .18);
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(5, 19, 33, .89), rgba(5, 16, 29, .68));
  backdrop-filter: blur(8px);
  box-shadow: 0 13px 34px rgba(0, 0, 0, .32);
}
.map-top-left {
  top: 14px; left: 14px;
  min-width: 245px;
  padding: 12px 14px 11px;
}
.map-top-left::before {
  content: "";
  position: absolute;
  top: -1px; left: 12px; width: 38px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.map-top-left .eyebrow { color: #4c89a9; }
.map-title-row { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.map-top-left h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .8px;
  line-height: 1.2;
}
.map-route-pill {
  display: grid; place-items: center;
  min-width: 26px; height: 19px;
  padding: 0 5px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 3px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font-family: var(--num);
  font-size: 10px;
}
.map-top-left p {
  margin: 6px 0 0;
  color: #86a7bd;
  font-size: 10.5px;
}
.map-top-left p i { color: #4f7b97; font-style: normal; padding: 0 4px; }

.map-top-right {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 1000;
  display: flex; align-items: center; gap: 8px;
}
.map-status {
  display: flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 10px;
  border: 1px solid rgba(76, 173, 236, .16);
  border-radius: 4px;
  background: rgba(5, 18, 31, .82);
  color: #8fb3c8;
  font-size: 9.5px;
  letter-spacing: .6px;
  backdrop-filter: blur(6px);
}
.map-status i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}
.map-btn {
  display: flex; align-items: center; gap: 5px;
  height: 30px; padding: 0 10px;
  border: 1px solid rgba(76, 173, 236, .18);
  border-radius: 4px;
  background: rgba(5, 18, 31, .82);
  color: #8fb3c8;
  font-size: 9.5px;
  letter-spacing: .6px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: color .2s, border-color .2s, background .2s;
}
.map-btn:hover {
  color: #d9f5ff;
  border-color: rgba(76, 200, 255, .4);
  background: rgba(12, 40, 62, .9);
}
.map-btn svg { width: 13px; height: 13px; }

.map-bottom {
  position: absolute;
  left: 15px; right: 15px; bottom: 12px;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}
.map-legend { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.legend-chip {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(76, 150, 205, .1);
  border-radius: 3px;
  background: rgba(5, 16, 27, .7);
  color: #7395aa;
  font-size: 8.5px;
  backdrop-filter: blur(5px);
}
.legend-chip i { display: inline-block; }
.dot-live {
  width: 16px; height: 3px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 7px var(--cyan);
}
.dot-stop {
  width: 7px; height: 7px;
  border: 1px solid #88dcff;
  border-radius: 50%;
  background: rgba(30, 120, 180, .8);
}
.dot-metro {
  width: 8px; height: 8px;
  border: 1px solid #4f9ef0;
  border-radius: 2px;
  background: rgba(30, 90, 160, .6);
}
.map-source {
  color: rgba(143, 180, 203, .5);
  font-size: 8px;
  letter-spacing: .4px;
  text-align: right;
  text-shadow: 0 1px 4px #000;
  white-space: nowrap;
}
.map-compass {
  position: absolute;
  top: 86px; right: 17px;
  z-index: 1000;
  width: 28px; height: 40px;
  display: flex; flex-direction: column; align-items: center;
  gap: 3px;
  color: #7fa8c1;
  font-family: var(--num);
  font-size: 9px;
  pointer-events: none;
}
.map-compass i {
  display: block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 15px solid rgba(110, 190, 240, .55);
  filter: drop-shadow(0 0 5px rgba(40, 180, 255, .4));
}
.map-zoom {
  position: absolute;
  right: 15px; bottom: 47px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(76, 173, 236, .18);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(5, 18, 31, .86);
  backdrop-filter: blur(6px);
}
.map-zoom button {
  width: 30px; height: 29px;
  border: 0;
  border-bottom: 1px solid rgba(76, 173, 236, .12);
  background: transparent;
  color: #8fb3c8;
  font-family: var(--num);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.map-zoom button:last-child { border-bottom: 0; }
.map-zoom button:hover { background: rgba(40, 120, 180, .2); color: #e5f9ff; }
.map-scale {
  position: absolute;
  left: 17px; bottom: 47px;
  z-index: 1000;
  color: rgba(150, 187, 209, .6);
  font-family: var(--num);
  font-size: 8px;
  pointer-events: none;
}
.map-scale::before {
  content: "";
  display: block;
  width: var(--w, 48px);
  height: 5px;
  margin-bottom: 2px;
  border: 1px solid rgba(130, 185, 220, .4);
  border-top: 0;
}
.map-offline-tip {
  position: absolute;
  left: 50%; top: 76px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 176, 32, .25);
  border-radius: 3px;
  background: rgba(28, 20, 8, .82);
  color: #e3bc78;
  font-size: 8.5px;
  transform: translate(-50%, -12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  backdrop-filter: blur(5px);
}
.map-offline-tip.show { opacity: 1; transform: translate(-50%, 0); }
.map-offline-tip i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 6px var(--amber);
}

/* Leaflet route + marker custom pieces */
.route-arrow {
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  color: #e8fbff;
  transform: rotate(var(--angle));
  filter: drop-shadow(0 0 7px rgba(65, 203, 255, .8));
}
.route-arrow svg { width: 15px; height: 15px; }
.terminal-marker { position: relative; width: 0; height: 0; }
.terminal-dot {
  position: absolute;
  left: -6px; top: -6px;
  width: 12px; height: 12px;
  border: 2px solid #eafbff;
  border-radius: 50%;
  background: var(--c, #4dabff);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, #4dabff) 20%, transparent), 0 0 16px var(--c, #4dabff);
}
.terminal-dot::after {
  content: "";
  position: absolute;
  left: -8px; top: -8px;
  width: 24px; height: 24px;
  border: 1px solid var(--c, #4dabff);
  border-radius: 50%;
  opacity: .38;
  animation: terminalPulse 2.6s ease-out infinite;
}
.terminal-label {
  position: absolute;
  left: 12px; top: -18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--c, #4dabff) 30%, transparent);
  border-radius: 3px;
  background: rgba(4, 15, 27, .9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .38);
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.terminal-label b {
  color: #ecfbff;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1;
}
.terminal-label small {
  color: var(--c, #4dabff);
  font-family: var(--num);
  font-size: 7.5px;
  letter-spacing: .8px;
  line-height: 1;
}
.terminal-label.left { left: auto; right: 12px; align-items: flex-end; }
.stop-marker { position: relative; width: 0; height: 0; }
.stop-dot {
  position: absolute;
  left: -3.5px; top: -3.5px;
  width: 7px; height: 7px;
  border: 1.5px solid #bdeeff;
  border-radius: 50%;
  background: #0b3c5e;
  box-shadow: 0 0 0 3px rgba(20, 90, 140, .25), 0 0 9px rgba(90, 210, 255, .55);
}
.stop-label {
  position: absolute;
  left: 8px; top: -8px;
  padding: 2px 5px;
  border-radius: 2px;
  background: rgba(4, 15, 26, .72);
  color: #a9cfdf;
  font-size: 8px;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 1px 3px #000;
}
.stop-marker.alt .stop-label { left: auto; right: 8px; }
.metro-marker.alt .stop-label { left: auto; right: 8px; }
.metro-marker { position: relative; width: 0; height: 0; }
.metro-dot {
  position: absolute;
  left: -5px; top: -5px;
  display: grid; place-items: center;
  width: 10px; height: 10px;
  border: 1px solid #73c6ff;
  border-radius: 2px;
  background: #0b3150;
  box-shadow: 0 0 9px rgba(60, 170, 255, .45);
  color: #9fdcff;
  font-size: 6px;
  font-family: var(--num);
}
.bus-marker { position: relative; width: 0; height: 0; z-index: 620; }
.bus-inner {
  position: absolute;
  left: -12px; top: -12px;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(235, 253, 255, .75);
  border-radius: 50%;
  color: #06121e;
  background: var(--c, #4dabff);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--c, #4dabff) 20%, transparent),
    0 0 20px var(--c, #4dabff);
  transform: rotate(var(--angle, 0deg));
  transition: transform .4s linear;
}
.bus-inner svg { width: 13px; height: 13px; }
.bus-inner::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid var(--c, #4dabff);
  border-radius: 50%;
  opacity: .4;
  animation: busPulse 2s ease-out infinite;
}
.leaflet-marker-icon:focus { outline: none; }

/* ── Right detail panel ──────────────────────────────── */
.detail-head {
  display: flex;
  align-items: stretch;
  gap: 11px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(80, 155, 210, .11);
}
.route-emblem {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  min-height: 58px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 5px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 22%, transparent), rgba(7, 24, 41, .6));
  color: var(--accent);
  font-family: var(--num);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .5px;
  text-shadow: 0 0 20px color-mix(in srgb, var(--accent) 65%, transparent);
  box-shadow: inset 0 0 24px color-mix(in srgb, var(--accent) 11%, transparent);
}
.route-emblem::after {
  content: "路";
  position: absolute;
  right: 6px; bottom: 4px;
  color: rgba(230, 248, 255, .4);
  font-family: var(--font);
  font-size: 8px;
  font-weight: 400;
  text-shadow: none;
}
.detail-title { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 1px 0; }
.detail-tag-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.detail-tag {
  display: inline-block;
  max-width: 205px;
  padding: 2px 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: 2px;
  color: color-mix(in srgb, var(--accent) 80%, #fff 20%);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: 8.5px;
  letter-spacing: .4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dir-btn {
  display: flex; align-items: center; gap: 4px;
  height: 23px; padding: 0 7px;
  border: 1px solid rgba(84, 170, 230, .2);
  border-radius: 3px;
  background: rgba(25, 90, 140, .12);
  color: #8eb9d1;
  font-size: 9px;
  cursor: pointer;
  transition: .2s;
}
.dir-btn:hover { color: #d9f5ff; border-color: rgba(60, 200, 255, .45); background: rgba(30, 120, 180, .2); }
.dir-btn svg { width: 12px; height: 12px; }
.detail-title h2 {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 4px 0 0;
  min-width: 0;
}
.detail-title h2 b {
  flex: 0 0 auto;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: .5px;
}
.detail-title h2 span {
  color: #8eb0c5;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 10px 0;
}
.kpi {
  min-width: 0;
  padding: 7px 8px 6px;
  border: 1px solid rgba(78, 152, 208, .12);
  border-radius: 3px;
  background: rgba(9, 28, 47, .46);
}
.kpi > span {
  display: flex; align-items: center; gap: 4px;
  color: #6e8fa6;
  font-size: 8.5px;
  white-space: nowrap;
}
.kpi > span svg { width: 10px; height: 10px; opacity: .8; }
.kpi b {
  display: flex;
  align-items: baseline;
  gap: 1px;
  margin: 4px 0 2px;
  color: #e9f9ff;
  font-family: var(--num);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
}
.kpi b em { font-style: normal; font-size: 10px; color: #7fa2ba; }
.kpi b strong { font-weight: 600; }
.kpi small {
  display: block;
  color: #506f86;
  font-size: 7.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-block {
  border-top: 1px solid rgba(80, 155, 210, .1);
  padding-top: 9px;
  margin-top: 0;
}
.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.block-head h3 {
  display: flex; align-items: center; gap: 7px;
  margin: 0;
  color: #c2dfef;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .7px;
}
.block-head h3::before {
  content: "";
  width: 2px; height: 10px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 7px var(--accent);
}
.soft-badge {
  padding: 1px 6px;
  border: 1px solid rgba(79, 181, 240, .2);
  border-radius: 2px;
  color: #70a7c6;
  font-size: 8px;
  letter-spacing: .5px;
  background: rgba(40, 120, 180, .08);
}
.fare-block { flex: 0 0 auto; }
.fare-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fare-price {
  display: flex;
  align-items: baseline;
  flex: 0 0 auto;
  color: var(--accent);
  font-family: var(--num);
}
.fare-price em {
  font-style: normal;
  font-size: 13px;
  margin-right: 1px;
  opacity: .8;
}
.fare-price b {
  font-size: 34px;
  font-weight: 600;
  line-height: .95;
  letter-spacing: -1px;
  text-shadow: 0 0 25px color-mix(in srgb, var(--accent) 35%, transparent);
}
.fare-price span {
  margin-left: 5px;
  color: #64849b;
  font-family: var(--font);
  font-size: 8px;
  white-space: nowrap;
}
.fare-copy { min-width: 0; }
.fare-copy strong {
  display: block;
  color: #cfdee8;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2px;
}
.fare-copy p {
  margin: 4px 0 0;
  color: #69879d;
  font-size: 8.5px;
  line-height: 1.5;
}
.pay-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}
.pay-chips span {
  padding: 2px 6px;
  border: 1px solid rgba(79, 150, 200, .12);
  border-radius: 2px;
  background: rgba(22, 68, 102, .16);
  color: #678ba2;
  font-size: 7.5px;
  letter-spacing: .3px;
}

/* time block */
.time-block { flex: 0 0 auto; }
.service-state {
  display: flex; align-items: center; gap: 5px;
  color: #71dcb9;
  font-size: 8.5px;
  letter-spacing: .3px;
}
.service-state i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px var(--green);
  animation: livePulse 2s infinite;
}
.service-state.off { color: #f0a4aa; }
.service-state.off i { background: var(--danger); box-shadow: 0 0 7px var(--danger); animation: none; }
.timebar-wrap { padding: 2px 1px 0; }
.timebar {
  position: relative;
  height: 18px;
  border: 1px solid rgba(78, 150, 202, .14);
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(12.5% - 1px), rgba(94, 162, 210, .1) calc(12.5% - 1px), rgba(94, 162, 210, .1) 12.5%),
    rgba(3, 12, 21, .66);
  overflow: hidden;
}
.timebar-segment {
  position: absolute;
  top: 0; bottom: 0;
  border-radius: 2px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 30%, transparent), color-mix(in srgb, var(--accent) 82%, transparent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 35%, transparent);
  transition: left .45s ease, width .45s ease;
}
.timebar-segment::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 6px);
  opacity: .35;
}
.timebar-now {
  position: absolute;
  top: -2px; bottom: -2px;
  width: 1px;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  transition: left .45s ease;
  opacity: 0;
}
.timebar-now.show { opacity: .9; }
.timebar-now i {
  position: absolute;
  top: -3px; left: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
}
.timebar-now span { display: none; }
.timebar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
  color: #4d6b80;
  font-family: var(--num);
  font-size: 7px;
}
.terminal-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}
.terminal-time {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 5px 6px;
  border: 1px solid rgba(78, 145, 195, .1);
  border-radius: 3px;
  background: rgba(7, 22, 37, .48);
}
.terminal-time.active {
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
  background: color-mix(in srgb, var(--accent) 5%, rgba(7, 22, 37, .48));
}
.terminal-mini-dot {
  flex: 0 0 auto;
  width: 5px; height: 5px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.terminal-time > div { min-width: 0; }
.terminal-time b {
  display: block;
  color: #a9c7d8;
  font-size: 8.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.terminal-time small {
  display: block;
  margin-top: 2px;
  color: #55758b;
  font-size: 7.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.terminal-time em { color: #8db3c9; font-style: normal; font-family: var(--num); }
.service-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: #546f83;
  font-size: 7.5px;
  line-height: 1.3;
}
.service-note svg { flex: 0 0 auto; width: 9px; height: 9px; opacity: .7; }
.service-note span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* stops */
.stops-block {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
.stops-block::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 20px;
  background: linear-gradient(180deg, transparent, rgba(6, 18, 31, .96));
  pointer-events: none;
  z-index: 2;
}
.stops-meta { color: #5c7d94; font-family: var(--num); font-size: 8.5px; }
.stops-meta b { color: #81afc7; font-weight: 500; }
.stops-meta em { font-style: normal; color: #7ab7d6; }
.stops-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1px 3px 4px 1px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(70, 150, 210, .28) transparent;
}
.stops-list::before {
  content: "";
  position: absolute;
  left: 10px; top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(75, 170, 230, .36) 8%, rgba(75, 170, 230, .2) 92%, transparent);
}
.stop-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding: 2px 5px 2px 0;
  border-radius: 3px;
  transition: background .16s;
}
.stop-item:hover { background: rgba(36, 105, 155, .14); }
.stop-index {
  position: relative;
  z-index: 1;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
}
.stop-index i {
  width: 5px; height: 5px;
  border: 1px solid rgba(132, 204, 240, .6);
  border-radius: 50%;
  background: #0a2a43;
}
.stop-item.terminal .stop-index i {
  width: 9px; height: 9px;
  border: 1px solid #d9f7ff;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent), 0 0 8px var(--accent);
}
.stop-name {
  flex: 1;
  min-width: 0;
  color: #93b3c6;
  font-size: 9.8px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stop-item.terminal .stop-name { color: #d9f2fe; font-weight: 500; }
.stop-tags { display: flex; gap: 3px; flex: 0 0 auto; }
.stop-tag {
  padding: 1px 4px;
  border: 1px solid rgba(86, 160, 210, .16);
  border-radius: 2px;
  color: #5f8aa3;
  font-size: 6.5px;
  line-height: 1.2;
  letter-spacing: .2px;
}
.stop-tag.metro {
  color: #6fbcf4;
  border-color: rgba(80, 160, 240, .26);
  background: rgba(30, 85, 150, .15);
}
.stop-tag.end {
  color: #8bc8a8;
  border-color: rgba(70, 180, 130, .22);
  background: rgba(30, 110, 80, .1);
}

/* ── Footer ───────────────────────────────────────────── */
.bottom-bar {
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 19px;
  border-top: 1px solid rgba(80, 155, 210, .1);
  background: rgba(4, 12, 21, .66);
}
.update-info {
  display: flex; align-items: center; gap: 6px;
  flex: 0 0 auto;
  color: #527188;
  font-size: 8.5px;
  white-space: nowrap;
}
.update-info i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 7px var(--green);
}
.update-info b { color: #7292a8; font-family: var(--num); font-weight: 400; }
.ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  color: #607f96;
  font-size: 8.5px;
  letter-spacing: .2px;
  white-space: nowrap;
  animation: ticker 48s linear infinite;
}
.ticker-group {
  display: flex;
  align-items: center;
  gap: 42px;
  padding-right: 42px;
}
.ticker-track b { color: #8cb9d0; font-weight: 500; }
.ticker-track i {
  display: inline-block;
  width: 3px; height: 3px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  vertical-align: middle;
}
.footnote {
  flex: 0 0 auto;
  color: #3f5a6e;
  font-size: 8px;
  letter-spacing: .3px;
  white-space: nowrap;
}

/* ── Responsive / height ─────────────────────────────── */
@media (max-width: 1600px) {
  .layout { grid-template-columns: 300px minmax(0, 1fr) 356px; gap: 10px; padding: 10px 13px 9px; }
  .top-stats { gap: 0; }
  .top-stat { min-width: 108px; padding: 0 15px; }
  .brand { min-width: 320px; }
  .brand-text h1 { font-size: 19px; }
  .left-panel { padding: 12px 11px 10px; }
  .right-panel { padding: 12px 13px 10px; }
  .route-card { min-height: 50px; }
  .detail-title h2 b { font-size: 21px; }
  .fare-price b { font-size: 31px; }
}
@media (max-width: 1380px) {
  .layout { grid-template-columns: 278px minmax(0, 1fr) 332px; }
  .topbar { gap: 18px; padding: 0 14px; }
  .brand { min-width: 285px; }
  .brand-text h1 { font-size: 17px; }
  .brand-text p { font-size: 7.5px; letter-spacing: 1.6px; }
  .top-stat { min-width: 88px; padding: 0 10px; }
  .top-stat b { font-size: 21px; }
  .top-right { gap: 12px; }
  .live-pill { display: none; }
  .route-num { flex-basis: 37px; height: 31px; font-size: 15px; }
  .route-info b { font-size: 10.5px; }
  .map-top-left { min-width: 210px; padding: 10px 12px; }
  .map-top-left h2 { font-size: 16px; }
  .detail-title h2 span { font-size: 9px; }
  .kpi b { font-size: 16px; }
  .detail-head { gap: 9px; }
  .route-emblem { flex-basis: 52px; min-height: 52px; font-size: 25px; }
  .footnote { display: none; }
}
@media (max-height: 850px) {
  .topbar { flex-basis: 66px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-text h1 { font-size: 18px; }
  .top-stat b { font-size: 21px; }
  .clock b { font-size: 20px; }
  .layout { padding-top: 9px; padding-bottom: 8px; }
  .bottom-bar { flex-basis: 32px; }
  .panel-head { padding-bottom: 7px; }
  .panel-head h2 { font-size: 15px; margin-top: 3px; }
  .search-box { height: 30px; margin-bottom: 7px; }
  .route-card { min-height: 46px; padding-top: 5px; padding-bottom: 5px; }
  .route-info small { margin-top: 2px; }
  .network-summary { margin-top: 7px; padding: 8px 9px 7px; }
  .summary-grid { margin: 6px 0 5px; }
  .summary-grid b { font-size: 15px; }
  .legend { display: none; }
  .detail-head { padding-bottom: 8px; }
  .route-emblem { flex-basis: 50px; min-height: 50px; font-size: 24px; }
  .detail-title h2 b { font-size: 20px; }
  .kpi-grid { margin: 7px 0; }
  .kpi { padding: 5px 6px; }
  .kpi b { font-size: 16px; margin: 3px 0 1px; }
  .info-block { padding-top: 7px; }
  .fare-price b { font-size: 28px; }
  .fare-copy p { display: none; }
  .pay-chips { margin-top: 5px; }
  .terminal-times { margin-top: 4px; }
  .service-note { display: none; }
  .stops-list { padding-top: 0; }
  .stop-item { min-height: 21px; }
}
@media (max-width: 1150px) {
  .layout { grid-template-columns: 252px minmax(0, 1fr) 304px; gap: 8px; padding: 8px 9px; }
  .top-stats { display: none; }
  .brand { min-width: 0; flex: 1; }
  .brand-text h1 { font-size: 16px; }
  .topbar { gap: 10px; }
  .route-info b i { display: none; }
  .route-info b { font-size: 9.5px; }
  .route-num { flex-basis: 34px; height: 29px; font-size: 14px; }
  .route-info small { font-size: 8px; }
  .map-top-left { min-width: 188px; }
  .map-top-left h2 { font-size: 14px; }
  .map-status { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi small { display: none; }
  .fare-copy p { display: none; }
  .terminal-times { grid-template-columns: 1fr; }
  .service-note { display: none; }
  .detail-title h2 span { display: none; }
  .map-bottom { left: 10px; right: 10px; }
  .map-source { display: none; }
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.8); }
}
@keyframes terminalPulse {
  0% { transform: scale(.65); opacity: .55; }
  85%, 100% { transform: scale(1.65); opacity: 0; }
}
@keyframes busPulse {
  0% { transform: scale(.72); opacity: .55; }
  80%, 100% { transform: scale(1.55); opacity: 0; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes dashFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -160; }
}
.flow-line { animation: dashFlow 8s linear infinite; }
.selected-route {
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 60%, transparent));
}
.route-hit { cursor: pointer; }
.stop-item.active { background: rgba(40, 130, 190, .16); }
.stop-item.active .stop-name { color: #d8f3ff; }
