/* Routes are separate vectors over a compressed, immutable map background. */
#routes .route-map.rm-enhanced>img{object-position:center center}
#routes .rm-scene{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity .5s ease}
#routes .rm-ready .rm-scene{opacity:1}
#routes .rm-route{transition:opacity .35s ease}
#routes .rm-route.rm-muted{opacity:.12}
#routes .rm-track{fill:none;stroke:#ff9b40;stroke-width:2;opacity:.3}
#routes .rm-progress{fill:none;stroke:#ff851b;stroke-width:3.2;stroke-linecap:round;stroke-dasharray:1000;animation:team-route-draw 12s linear infinite;animation-delay:var(--rm-delay)}
#routes [data-mode=air] .rm-track{stroke-dasharray:7 8}
#routes [data-mode=sea] .rm-track{stroke-dasharray:2 9;stroke-linecap:round}
#routes .rm-vehicle{fill:#ff851b;stroke:#fff8eb;stroke-width:1.4;stroke-linejoin:round;paint-order:stroke fill;animation:team-route-vehicle 12s linear infinite;animation-delay:var(--rm-delay)}
#routes .rm-stop{fill:#fff9eb;stroke:#ff851b;stroke-width:3}
#routes .rm-arrival{fill:none;stroke:#ff9d40;stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center;animation:team-route-arrive 12s linear infinite;animation-delay:var(--rm-delay)}
#routes .rm-origin-halo{fill:#ff8b25;opacity:.16;transform-box:fill-box;transform-origin:center;animation:team-route-source 3s ease-in-out infinite}
#routes .rm-origin{fill:#fff9eb;stroke:#ff851b;stroke-width:3}
#routes .rm-origin-core{fill:#ff851b}
#routes .rm-toggle{position:absolute;right:10px;bottom:10px;z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #e0ded6;border-radius:50%;color:#324854;background:#fffffff2;box-shadow:0 2px 12px #182e3a12;cursor:pointer;opacity:0}
#routes .rm-ready .rm-toggle{opacity:1}
#routes .rm-toggle[hidden]{display:none}
#routes .rm-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
#routes .rm-toggle .rm-play-mark{display:none}
#routes .rm-toggle[aria-pressed=true] .rm-play-mark{display:block;fill:currentColor;stroke:none}
#routes .rm-toggle[aria-pressed=true] .rm-pause-mark{display:none}
#routes .route-tags>[role=button]{cursor:pointer;min-height:38px;user-select:none;transition:background-color .2s,border-color .2s,color .2s}
#routes .route-tags>[role=button]:hover{border-color:#ffb57a;background:#fff9f3}
#routes .route-tags>[aria-pressed=true]{color:#bf4c00;border-color:#ff8b33;background:#fff1e4}
#routes .route-tags>[role=button]:focus-visible,#routes .rm-toggle:focus-visible{outline:3px solid #ff851b;outline-offset:3px}
#routes .rm-paused .rm-progress,#routes .rm-paused .rm-vehicle,#routes .rm-paused .rm-arrival,#routes .rm-paused .rm-origin-halo{animation-play-state:paused}
#routes .rm-reduced .rm-progress{animation:none;stroke-dashoffset:0}
#routes .rm-reduced .rm-vehicle{animation:none;opacity:1}
#routes .rm-reduced .rm-arrival{animation:none;opacity:0}
#routes .rm-reduced .rm-origin-halo{animation:none}
@keyframes team-route-draw{0%,8%{stroke-dashoffset:1000;opacity:.6}88%,96%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:.25}}
@keyframes team-route-vehicle{0%{opacity:0}8%,88%{opacity:1}96%,100%{opacity:0}}
@keyframes team-route-arrive{0%,78%{opacity:0;transform:scale(.65)}88%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(2)}}
@keyframes team-route-source{0%,100%{transform:scale(.8);opacity:.12}50%{transform:scale(1.15);opacity:.23}}
@media(max-width:680px){#routes .route-tags>[role=button]{min-height:44px;padding:9px 12px}#routes .rm-toggle{right:8px;bottom:8px}}
@media(prefers-reduced-motion:reduce){#routes .rm-scene,#routes .rm-route,#routes .route-tags>[role=button]{transition:none}}
@media(max-width:680px){#routes .rm-vehicle use{transform:scale(1.65)}#routes .rm-stop{r:7px;stroke-width:4px}#routes .rm-progress{stroke-width:4px}}

#routes .rm-city{fill:#263e49;stroke:#fff9eb;stroke-width:6;stroke-linejoin:round;paint-order:stroke fill;font:750 27px system-ui,sans-serif}
@media(max-width:680px){#routes .rm-city{font-size:40px;stroke-width:8}}
