#route-explorer { margin: 40px 0 72px; border: 1px solid #926176; border-radius: 16px; overflow: hidden; background: #20191e; color: #fff; }
#route-explorer .map-heading { padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#route-explorer h3 { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); line-height: 1; margin: 0 0 8px; font-weight: 400; }
#route-explorer .map-heading p { margin: 0; color: #e2cbd5; font-size: 16px; }
#map-route-status { border: 1px solid #926176; border-radius: 50px; padding: 10px 16px; color: #f5b6d0; line-height: 1.4; font-size: 14px; }
#route-explorer .map-viewport { position: relative; height: 560px; background: #302b2e; }
#route-map { width: 100%; height: 100%; color: #171217; }
#map-loading { position: absolute; inset: 0; display: grid; place-items: center; padding: 35px; text-align: center; background: radial-gradient(ellipse at center, #453440, #211b20); color: #f5b6d0; }
#route-explorer [hidden] { display: none !important; }
#route-explorer .map-panel { padding: 24px 28px; }
#route-explorer .map-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
#route-explorer button { min-height: 44px; padding: 10px 18px; border: 1px solid #926176; border-radius: 40px; background: transparent; color: #fff; cursor: pointer; font: inherit; font-size: 15px; }
#route-explorer #map-play { background: #da8cab; border-color: #da8cab; color: #25111c; font-weight: 700; }
#route-explorer button:hover:not(:disabled) { background: #5c1333; color: #fff; }
#route-explorer button:disabled { opacity: .5; cursor: default; }
#route-explorer :focus-visible { outline: 3px solid #ff98c4; outline-offset: 3px; }
#map-status { min-height: 24px; margin: 6px 0 18px; font-size: 14px; color: #e2cbd5; line-height: 1.5; }
#route-explorer .map-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
#route-explorer .map-footer a { color: #f5b6d0; text-decoration: underline; text-underline-offset: 5px; line-height: 1.6; padding: 8px 0; }
#route-explorer .map-note { font-size: 12px; color: #bcabb3; margin: 12px 0 0; line-height: 1.5; }
#route-map .map-stop { display: flex; gap: 7px; align-items: center; padding: 5px 10px 5px 5px; border-radius: 24px 24px 24px 0; background: #25111c; color: #fff; box-shadow: 0 2px 12px #0005; font: 600 12px/1.2 Arial, sans-serif; text-decoration: none; }
#route-map .map-stop b { display: grid; place-items: center; background: #da8cab; color: #25111c; border-radius: 50%; width: 25px; height: 25px; }
#route-map .maplibregl-ctrl button { min-height: 29px; padding: 0; border: 0; border-radius: 0; background: #fff; }
#route-map .maplibregl-ctrl-attrib { font-size: 10px; }
#route-explorer:fullscreen { border: 0; border-radius: 0; display: flex; flex-direction: column; overflow: auto; }
#route-explorer:fullscreen .map-viewport { flex: 1; min-height: 200px; }
.event-bar > .event-meeting { border-right: 1px solid #da8cab; }
@media (max-width: 760px) {
  #route-explorer { margin: 28px 0 48px; border-radius: 12px; }
  #route-explorer .map-heading { padding: 20px; align-items: flex-start; flex-direction: column; gap: 14px; }
  #route-explorer .map-viewport { height: 440px; }
  #route-explorer .map-panel { padding: 20px 16px; }
  #route-explorer .map-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  #route-explorer button { padding: 10px 8px; font-size: 13px; }
  #route-explorer .map-footer a { font-size: 14px; }
  #route-map .map-stop { font-size: 10px; max-width: 160px; }
  #route-map .map-stop b { flex-shrink: 0; }
}
