.daily-route-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 63, 57, 0.09);
  border-radius: 20px;
  background: #eef5f2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* 行程页每天只保留顶部的每日路线总览，隐藏景点级 Google 导航区块 */
[id^="itinerary-"] .mt-2.space-y-2.rounded-xl.bg-\[\#eef5f2\].p-2\.5.text-\[\#315c55\] {
  display: none !important;
}

.daily-route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 9px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(24, 63, 57, 0.08);
}

.daily-route-title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.daily-route-title strong {
  color: #183f39;
  font-size: 13px;
  line-height: 1.3;
}

.daily-route-title span {
  color: #5f7d76;
  font-size: 11px;
  line-height: 1.3;
}

.daily-route-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  flex: 0 0 auto;
  padding: 0 10px;
  border-radius: 999px;
  background: #183f39;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.daily-route-map {
  width: 100%;
  height: 246px;
  background: #dce8e4;
  outline: none;
}

.daily-route-map .leaflet-container {
  width: 100%;
  height: 100%;
  font: inherit;
}

.daily-route-map .leaflet-control-zoom a {
  color: #183f39;
  border-color: rgba(24, 63, 57, 0.15);
}

.daily-route-map .leaflet-control-attribution {
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.78);
  color: #5f7d76;
  font-size: 9px;
}

.daily-route-map .leaflet-popup-content-wrapper,
.daily-route-map .leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(24, 63, 57, 0.18);
}

.daily-route-map .leaflet-popup-content {
  margin: 10px 12px;
  color: #183f39;
  font-size: 12px;
  line-height: 1.45;
}

.daily-route-map .leaflet-popup-content p {
  margin: 3px 0 0;
  color: #5f7d76;
}

.daily-route-note {
  margin: 0;
  padding: 8px 12px 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #52716a;
  font-size: 11px;
  line-height: 1.5;
}

.day-route-marker {
  background: transparent;
  border: 0;
}

.marker-dot {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 25px;
  height: 25px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #183f39;
  box-shadow: 0 2px 6px rgba(24, 63, 57, 0.38);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.marker-dot.marker-hotel {
  background: #c55a45;
}

.marker-dot.marker-airport,
.marker-dot.marker-station {
  background: #b66f30;
}

.day-route-legend {
  display: grid;
  gap: 4px;
  padding: 7px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(24, 63, 57, 0.12);
  color: #315c55;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.day-route-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-line {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 3px solid #24765f;
}

.legend-line.transit {
  border-top-color: #d66f4d;
  border-top-style: dashed;
}

@media (min-width: 640px) {
  .daily-route-map {
    height: 270px;
  }
}
