.route-v3-canary-theme {
  --v3-sea: #eef4f8;
  --v3-sea-deep: #dbe8ef;
  --v3-ink: #173040;
  --v3-edge: rgba(49, 104, 129, 0.16);
  --v3-shadow: 0 18px 40px rgba(16, 34, 43, 0.08), 0 4px 16px rgba(16, 34, 43, 0.05);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 32%),
    radial-gradient(circle at right center, rgba(34, 197, 94, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f8fb 100%);
}

.route-v3-canary-theme .page-shell-v2 {
  max-width: 1280px;
}

.route-v3-canary-theme .hero-v2 {
  margin-bottom: 28px;
}

.route-v3-canary-theme .hero-inner-v2 {
  max-width: 1280px;
}

.route-v3-canary-theme .hero-trust-strip {
  display: flex;
  gap: 10px;
}

.route-v3-canary-theme .hero-trust-pill {
  min-width: 136px;
  padding: 10px 12px;
  border-radius: 14px;
}

.route-v3-canary-theme .result-summary-grid,
.route-v3-canary-theme .journey-grid-v2 {
  gap: 16px;
}

.route-v3-canary-theme .journey-grid-v2 {
  grid-template-columns: minmax(0, 1.08fr) minmax(480px, 0.92fr);
  align-items: stretch;
}

.route-v3-canary-theme .result-card--map {
  padding: 20px 20px 18px;
  border-color: var(--v3-edge);
  box-shadow: var(--v3-shadow);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.95));
}

.route-v3-canary-theme .timeline-detail-v2,
.route-v3-canary-theme .result-card--timeline,
.route-v3-canary-theme .result-card--hero,
.route-v3-canary-theme .latest-tracking-v2,
.route-v3-canary-theme .result-card--items,
.route-v3-canary-theme .support-card-v2 {
  border-color: var(--v3-edge);
  box-shadow: var(--v3-shadow);
}

.route-v3-canary-theme .journey-card-header h3,
.route-v3-canary-theme #current-step-description {
  color: var(--v3-ink);
}

.route-v3-canary-theme .route-map-canvas--maplibre {
  height: clamp(360px, 42vw, 520px);
  border-radius: 24px;
  border: 1px solid rgba(49, 104, 129, 0.18);
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(173, 216, 230, 0.38) 0%, rgba(238, 244, 248, 0.94) 44%),
    linear-gradient(180deg, #f6fbff 0%, #e7f0f5 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  position: relative;
}

.route-v3-canary-theme .route-map-canvas--maplibre .maplibregl-map {
  font-family: 'Urbanist', sans-serif;
}

.route-v3-canary-theme .route-map-canvas--maplibre .maplibregl-canvas {
  outline: none;
}

.route-v3-canary-theme .route-map-canvas--maplibre .maplibregl-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route-v3-canary-theme .route-map-canvas--maplibre .maplibregl-ctrl-group {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(23, 48, 64, 0.14);
  border: 1px solid rgba(49, 104, 129, 0.14);
}

.route-v3-canary-theme .route-map-canvas--maplibre .maplibregl-ctrl button {
  width: 34px;
  height: 34px;
}

.route-v3-canary-theme .route-map-canvas--maplibre .maplibregl-ctrl-attrib {
  background: rgba(255, 255, 255, 0.86);
  border-radius: 12px 0 0 0;
  color: rgba(23, 48, 64, 0.72);
  font-size: 10px;
  font-family: 'Urbanist', sans-serif;
}

.route-v3-canary-theme .route-map-canvas--maplibre .maplibregl-ctrl-attrib a {
  color: rgba(23, 48, 64, 0.82);
}

.route-maplibre-marker {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}

.route-maplibre-marker::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(23, 48, 64, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.route-maplibre-marker::after {
  content: attr(data-label);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translate(-50%, calc(-100% + 6px));
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(49, 104, 129, 0.12);
  color: var(--v3-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(23, 48, 64, 0.12);
  transition: opacity 160ms ease, transform 160ms ease;
}

.route-maplibre-marker__core {
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  z-index: 1;
}

.route-maplibre-marker--factory .route-maplibre-marker__core {
  background: #d4a441;
}

.route-maplibre-marker--forwarder .route-maplibre-marker__core {
  background: #22d3ee;
}

.route-maplibre-marker--carrier .route-maplibre-marker__core {
  background: #6477f7;
}

.route-maplibre-marker--destination .route-maplibre-marker__core {
  background: #df7ae7;
}

.route-maplibre-marker--upcoming::before {
  opacity: 0.75;
}

.route-maplibre-marker--upcoming .route-maplibre-marker__core {
  opacity: 0.6;
}

.route-maplibre-marker:hover::before,
.route-maplibre-marker--active::before {
  transform: scale(1.14);
  box-shadow: 0 12px 28px rgba(23, 48, 64, 0.24);
}

.route-maplibre-marker:hover::after,
.route-maplibre-marker--active::after {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 2px));
}

.route-maplibre-marker--active {
  z-index: 2;
}

.route-maplibre-marker--active .route-maplibre-marker__core {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 0 7px rgba(49, 104, 129, 0.18);
}

.route-v3-canary-theme .route-map-empty {
  background: rgba(255, 255, 255, 0.78);
  color: rgba(23, 48, 64, 0.82);
}

.route-v3-canary-theme .journey-side-stack {
  gap: 14px;
}

.route-v3-canary-theme .timeline-detail-v2 {
  min-height: 112px;
  padding: 16px 18px;
}

.route-v3-canary-theme .result-card--timeline {
  padding: 16px 16px 12px;
}

.route-v3-canary-theme .timeline {
  padding-top: 28px;
  background: rgba(255, 255, 255, 0.62);
}

.route-v3-canary-theme .timeline-label {
  font-size: 12px;
}

.route-v3-canary-theme .timeline-date,
.route-v3-canary-theme .timeline-eta {
  display: none;
}

@media (max-width: 1080px) {
  .route-v3-canary-theme .journey-grid-v2 {
    grid-template-columns: 1fr;
  }

  .route-v3-canary-theme .route-map-canvas--maplibre {
    height: clamp(360px, 50vw, 520px);
  }
}

@media (max-width: 767px) {
  .route-v3-canary-theme .hero-v2 {
    margin-bottom: 18px;
  }

  .route-v3-canary-theme .hero-trust-strip {
    display: none;
  }

  .route-v3-canary-theme .route-map-canvas--maplibre {
    height: 320px;
    border-radius: 18px;
  }

  .route-maplibre-marker::after {
    font-size: 10px;
    padding: 5px 8px;
  }
}
