.navigation .miami-map-preview {
  height: 146px;
  background: #102e38;
  border: 1px solid #ffffff24;
}
.miami-route-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  stroke: none;
}
.miami-base-tiles {
  filter: grayscale(1) invert(0.94) brightness(0.54) sepia(0.22) hue-rotate(120deg);
}
.miami-route-shadow {
  fill: none;
  stroke: #102324;
  stroke-width: 15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.miami-route-line {
  fill: none;
  stroke: #ffe347;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px #ffe34799);
}
.miami-route-flow {
  fill: none;
  stroke: #fffbc0;
  stroke-width: 3;
  stroke-dasharray: 3 21;
  stroke-linecap: round;
  animation: miami-route-flow 2s linear infinite;
}
.miami-map-marker circle {
  fill: #152c32;
  stroke: #ffe347;
  stroke-width: 5;
}
.miami-map-marker text {
  fill: white;
  stroke: #0b1c23;
  stroke-width: 5;
  paint-order: stroke;
  stroke-linejoin: round;
  font-size: 29px;
  font-weight: 600;
  font-family: Arial, sans-serif;
}
.miami-map-marker text.miami-marker-icon {
  font-size: 23px;
  fill: #ffe347;
  stroke: none;
}
.miami-map-marker circle.miami-destination-pulse {
  fill: none;
  stroke-width: 2;
  animation: miami-map-pulse 2.5s ease-out infinite;
}
.miami-north {
  fill: #e5eeed;
  font-size: 24px;
  stroke: none;
  font-family: Arial, sans-serif;
}
.miami-map-preview .map-tag {
  font-size: 6px;
  letter-spacing: 0.8px;
  background: #102631e8;
  padding: 4px 5px;
  bottom: 4px;
  left: 4px;
}
.mini-map-credit {
  font-size: 7px;
  color: #d9e7e2;
  margin-top: 5px;
  text-align: right;
  line-height: 1.4;
}
.navigation p.miami-route-summary {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 0;
  color: #f5efd6;
  font-size: 9px;
}
.miami-route-summary i {
  height: 1px;
  background: #ffe347;
  flex: 1;
  opacity: 0.8;
}
.miami-route-summary strong {
  font-size: 8px;
  font-weight: 400;
  color: #d2dfdc;
  margin-left: 3px;
}
.route-map-dialog {
  width: min(950px, 94vw);
  max-height: 92svh;
  padding: 26px;
  border-radius: 17px;
  overflow: auto;
}
.route-map-dialog .dialog-heading {
  margin-bottom: 18px;
  gap: 15px;
}
.route-map-dialog h2 {
  font-size: clamp(22px, 3vw, 34px);
}
.route-map-large {
  height: min(58svh, 540px);
  background: #102d36;
  border-radius: 9px;
  overflow: hidden;
}
.route-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 21px;
  font-size: 12px;
}
.route-map-footer strong {
  font-weight: 400;
}
.route-map-footer p {
  font-size: 10px;
  color: #bacbc9;
  line-height: 1.5;
}
.route-map-footer > a {
  white-space: nowrap;
  border-bottom: 1px solid #ffe34799;
  color: #ffe88a;
  padding-bottom: 5px;
  font-size: 12px;
}
.route-map-attribution {
  font-size: 9px;
  color: #bdcecc;
  margin: 16px 0 0;
}
.route-map-attribution a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@keyframes miami-route-flow {
  to {
    stroke-dashoffset: -48;
  }
}
@keyframes miami-map-pulse {
  0% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.15;
    stroke-width: 7;
  }
}
@media (max-width: 700px) {
  .route-map-dialog {
    padding: 18px;
  }
  .route-map-large {
    height: 49svh;
  }
  .route-map-footer {
    display: block;
  }
  .route-map-footer > a {
    display: inline-block;
    margin-top: 8px;
  }
  .route-map-dialog .dialog-heading h2 {
    max-width: 240px;
  }
  .route-map-dialog .dialog-heading small {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .miami-route-flow,
  .miami-destination-pulse {
    animation: none !important;
  }
}
.miami-city-label {
  fill: #d8e7e5;
  stroke: #14282f;
  stroke-width: 3;
  paint-order: stroke;
  letter-spacing: 5px;
  font-size: 19px;
  font-family: Arial, sans-serif;
  opacity: 0.8;
}

.navigation-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navigation-title .navigation-actions > svg {
  width: 22px;
  height: 22px;
}
.minimize-map {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: #f1ead8;
  transition: background 0.2s;
}
.minimize-map:hover {
  background: #ffffff18;
}
.navigation.is-minimized .navigation-title {
  margin-bottom: 0;
}
.navigation-content[hidden] {
  display: none;
}
.navigation-content > span {
  display: block;
  font-size: 9px;
  color: #dce8e5a3;
  margin: 5px 0 12px;
}

/* Minimized navigation docks as a small map tab against the right edge. */
.navigation {
  transition:
    width 0.22s ease,
    right 0.22s ease,
    padding 0.22s ease;
}
.navigation.is-minimized {
  right: 0;
  width: 42px;
  height: 48px;
  padding: 0;
  border-radius: 12px 0 0 12px;
  border-right: 0;
  overflow: hidden;
}
.navigation.is-minimized .navigation-title {
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
}
.navigation.is-minimized .navigation-title > span,
.navigation.is-minimized .navigation-actions > svg {
  display: none;
}
.navigation.is-minimized .navigation-actions {
  display: block;
  width: 100%;
  height: 100%;
}
.navigation.is-minimized .minimize-map {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.navigation.is-minimized .minimize-map:hover {
  background: #ffffff18;
}
.navigation.is-minimized .minimize-map svg {
  width: 19px;
  height: 19px;
  stroke: #eef2ec;
  stroke-width: 1.4;
}
@media (prefers-reduced-motion: reduce) {
  .navigation {
    transition: none;
  }
}
