.hotspots-page {
    width: calc(100% + 2rem);
    margin: -1rem;
    padding: 0;
  }

  .hotspots-map-stage {
    position: relative;
    height: calc(100vh - 62px);
    min-height: 560px;
    border-radius: 0;
    overflow: hidden;
    border: 0;
    background: #120f1f;
    box-shadow: none;
  }

  #hotspotMap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #1e1b2e;
    z-index: 100;
  }

  .hotspots-map-dim {
    position: absolute;
    inset: 0;
    z-index: 220;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(7, 6, 13, 0.42) 0%, rgba(7, 6, 13, 0.22) 34%, rgba(7, 6, 13, 0.35) 100%),
      radial-gradient(circle at 13% 20%, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0) 34%),
      radial-gradient(circle at 82% 28%, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0) 32%);
  }

  #hotspotMap .leaflet-control-container,
  #hotspotMap .leaflet-top,
  #hotspotMap .leaflet-bottom,
  #hotspotMap .leaflet-control-zoom,
  #hotspotMap .leaflet-control-attribution {
    z-index: 360 !important;
  }

  #hotspotMap .leaflet-popup,
  #hotspotMap .leaflet-tooltip {
    z-index: 700 !important;
  }

  #hotspotMap .leaflet-bottom.leaflet-left .leaflet-control-zoom {
    margin: 0 0 16px 16px;
    border: 0;
    box-shadow: none;
  }

  #hotspotMap .leaflet-control-zoom a {
    width: 38px;
    height: 38px;
    line-height: 36px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 8px;
    color: #f5f3ff;
    background: rgba(19, 16, 31, 0.82);
    backdrop-filter: blur(8px);
  }

  #hotspotMap .leaflet-control-zoom a:hover {
    background: rgba(124, 58, 237, 0.4);
    color: #fff;
  }

  .hotspots-top-tools {
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    z-index: 520;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    pointer-events: none;
  }

  .hotspots-tool-actions,
  .hotspot-filter--floating,
  .route-panel-stack,
  .route-card-floating,
  .hotspots-right-stack {
    pointer-events: auto;
  }

  .hotspots-tool-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hotspots-tool-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(18, 15, 31, 0.82);
    color: #d8ccf3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
  }

  .hotspots-tool-btn:hover,
  .hotspots-tool-btn.is-active {
    color: #fff;
    border-color: rgba(167, 139, 250, 0.66);
    background: rgba(124, 58, 237, 0.35);
  }

  .hotspots-tool-btn:not(.is-active) {
    opacity: 0.72;
  }

  .hotspot-filter--floating {
    position: absolute;
    top: 14px;
    left: 18px;
    width: min(760px, calc(100% - 210px));
    z-index: 515;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hotspot-filter-label {
    color: #e8defa;
    font-size: 0.78rem;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    font-weight: 700;
  }

  .hotspot-filter-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #9f67ff, #6d28d9);
    box-shadow: 0 0 10px rgba(159, 103, 255, 0.8);
  }

  .hotspot-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hotspot-chips::-webkit-scrollbar {
    display: none;
  }

  .hotspot-chips .violeta-chip {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: #ece4ff;
    border-radius: 999px;
    padding: 0.43rem 0.9rem;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .hotspot-chips .violeta-chip.active {
    color: #fff;
    border-color: rgba(167, 139, 250, 0.75);
    background: linear-gradient(90deg, #7c3aed, #a855f7);
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.38);
  }

  .route-panel-stack {
    position: absolute;
    left: 24px;
    top: 80px;
    width: min(350px, calc(100vw - 470px));
    max-height: calc(100% - 98px);
    z-index: 12000;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  #routeCard.route-card-floating {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-height: 100%;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: linear-gradient(180deg, rgba(235, 236, 242, 0.95), rgba(227, 229, 236, 0.95));
    box-shadow: 0 22px 42px rgba(9, 12, 20, 0.3);
    backdrop-filter: blur(8px);
    overflow: visible;
    scrollbar-width: thin;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #routeCard.expanded {
    z-index: 650;
  }

  .route-top-search {
    position: relative;
    z-index: 3;
  }

  .route-card-sheet {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 10px;
  }

  .route-card-head {
    position: relative;
  }

  .route-card-head-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .route-card-head-copy {
    min-width: 0;
  }

  .route-card-head-copy p {
    max-width: 100%;
  }

  .route-sheet-handle {
    display: none;
  }

  .route-card-score-preview {
    flex: 0 0 auto;
    min-width: 66px;
    padding: 0.58rem 0.78rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.18);
    color: #065f46;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 800;
  }

  .route-card-score-preview__label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .route-card-score-preview__value {
    font-size: 0.88rem;
    line-height: 1;
  }

  .route-card-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px;
  }

  .route-card-head h3 {
    color: #111827;
    font-size: 2.05rem;
    line-height: 1;
    font-weight: 800;
    margin: 0 0 4px;
  }

  .route-card-head p {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 0.92rem;
    font-weight: 500;
  }

  .route-field {
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.88);
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  }

  .route-fields-stack .route-field {
    width: 100%;
    box-sizing: border-box;
    padding-right: 44px;
  }

  .route-field i {
    color: #7c3aed;
    font-size: 0.95rem;
  }

  .route-fields-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 0;
  }

  .route-fields-stack::before {
    content: none;
  }

  .route-field--dest i {
    color: #ef4444;
  }

  .route-field--dest {
    margin-top: 0;
  }

  .route-field--origin input,
  .route-field--dest input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 600;
  }

  .route-field--origin input::placeholder,
  .route-field--dest input::placeholder {
    color: #6b7280;
    font-weight: 500;
  }

  #originResults,
  #destResults {
    position: relative;
    z-index: 1200;
  }

  .route-search-dropdown {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(249, 250, 251, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 14px;
    max-height: 55vh;
    overflow-y: auto;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.22);
    padding: 6px 0;
  }

  #destResults .route-search-dropdown {
    top: 10px;
  }

  .route-search-item {
    width: 100%;
    border: 0;
    padding: 11px 14px;
    background: transparent;
    color: #111827;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    text-align: left;
    white-space: normal;
    line-height: 1.35;
    transition: background 0.18s ease;
  }

  .route-search-item:hover,
  .route-search-item:focus-visible {
    background: rgba(124, 58, 237, 0.08);
    outline: none;
  }

  .route-search-item__icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
    font-size: 0.9rem;
  }

  .route-search-item--current .route-search-item__icon {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
  }

  .route-search-item__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .route-search-item__title {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: #111827;
  }

  .route-search-item__sub {
    display: block;
    margin-top: 2px;
    font-size: 0.76rem;
    line-height: 1.4;
    color: #6b7280;
  }

  .route-switch-pill {
    position: absolute;
    right: 22px;
    top: 52px;
    z-index: 12020;
    width: 27px;
    height: 27px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    background: linear-gradient(160deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 6px 12px rgba(124, 58, 237, 0.32), 0 0 0 2px rgba(255, 255, 255, 0.14);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  }

  .route-switch-pill:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 9px 15px rgba(124, 58, 237, 0.36), 0 0 0 2px rgba(255, 255, 255, 0.16);
  }

  .route-switch-pill:active {
    transform: scale(0.98);
  }

  .route-switch-pill i {
    font-size: 0.64rem;
    line-height: 1;
  }

  .route-mode-row {
    display: flex;
    gap: 4px;
    margin-top: 9px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 11px;
    padding: 3px;
  }

  .route-mode-btn {
    flex: 1 1 0;
    border: 1px solid transparent;
    border-radius: 9px;
    min-height: 35px;
    color: #5b6478;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, filter 0.2s ease;
  }

  .route-mode-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.48);
    color: #374151;
  }

  .route-mode-btn--walk {
    background: transparent;
  }

  .route-mode-btn--transit {
    background: transparent;
  }

  .route-mode-btn.is-active {
    background: linear-gradient(90deg, #7c3aed, #9333ea);
    border-color: rgba(124, 58, 237, 0.95);
    color: #fff;
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.35);
  }

  .route-score-card {
    margin-top: 10px;
    border-radius: 12px;
    border: 1px solid rgba(45, 68, 102, 0.5);
    background: linear-gradient(135deg, #0f172a 0%, #172554 52%, #1f2937 100%);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.4);
    padding: 11px 11px;
  }

  .route-score-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
  }

  .route-score-label {
    font-size: 0.66rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #a78bfa;
    font-weight: 700;
  }

  .route-score-number {
    color: #fff;
    font-size: 1.95rem;
    line-height: 1;
    font-weight: 800;
  }

  .route-score-ring {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 5px solid rgba(148, 163, 184, 0.38);
    border-right-color: transparent;
    color: #e2e8f0;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: rotate(14deg);
    background: rgba(15, 23, 42, 0.55);
  }

  .route-score-ring.score-high {
    border-color: #22c55e;
    color: #dcfce7;
  }

  .route-score-ring.score-medium {
    border-color: #f59e0b;
    color: #fde68a;
  }

  .route-score-ring.score-low {
    border-color: #ef4444;
    color: #fecaca;
  }

  .route-safety-meta {
    margin-top: 6px;
    font-size: 0.76rem;
    line-height: 1.35;
    color: rgba(203, 213, 225, 0.9);
  }

  .route-speed-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 0.82rem;
  }

  .route-speed-row i {
    color: #cbd5e1;
  }

  #routeAlert {
    display: none;
    border-radius: 0;
    border: 0 !important;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.55);
    background: transparent !important;
    color: #1f2937;
    box-shadow: none;
    font-size: 0.87rem;
    padding: 2px 0 8px;
    line-height: 1.4;
  }

  #routeAlert .small {
    color: inherit;
    opacity: 0.9;
  }

  #routeAlert.route-alert-coming-soon {
    color: #6d28d9;
    font-weight: 800;
  }

  #transitInstructions {
    margin-top: 10px;
  }

  .route-steps-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 0.96rem;
  }

  #transitSteps {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    max-height: none;
    overflow: visible;
  }

  .route-feedback-floating {
    display: none;
    margin-top: 10px;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    max-height: none;
    overflow: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .route-feedback-floating.is-visible {
    display: block;
  }

  .route-launch-actions {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.32);
  }

  .route-launch-btn {
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(120deg, #111827, #1f2937);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  }

  .route-launch-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.24);
  }

  .route-launch-btn:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
    box-shadow: none;
  }

  .route-launch-meta {
    color: #5b6478;
    font-size: 0.79rem;
    line-height: 1.45;
  }

  .route-steps-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 18px;
  }

  .route-steps-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.26);
  }

  .route-step-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px;
    position: relative;
  }

  .route-step-marker {
    position: relative;
    z-index: 2;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    background: #7c3aed;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.25);
    margin-top: 10px;
  }

  .route-step-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 4px 2px 10px;
    box-shadow: none;
  }

  .route-step-item:not(:last-child) .route-step-card {
    border-bottom: 1px dashed rgba(148, 163, 184, 0.42);
  }

  .route-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
  }

  .route-step-title {
    color: #111827;
    font-size: 1.01rem;
    font-weight: 800;
    line-height: 1.2;
  }

  .route-step-sub {
    color: #5b6478;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .route-step-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.24);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #334155;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.12rem 0.5rem;
    white-space: nowrap;
  }

  .route-step-item--walk .route-step-marker {
    background: #7c3aed;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.22);
  }

  .route-step-item--ride .route-step-marker {
    background: var(--step-color, #f59e0b);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.24);
  }

  .route-step-item--ride .route-step-card {
    border-left: 4px solid var(--step-color, #f59e0b);
  }

  .route-step-item--transfer .route-step-marker {
    background: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.24);
  }

  .hotspots-right-stack {
    position: absolute;
    top: 150px;
    right: 18px;
    z-index: 520;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
  }

  .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(228, 219, 248, 0.84);
    font-size: 0.84rem;
    margin-bottom: 8px;
  }

  .legend-item:last-child {
    margin-bottom: 0;
  }

  .legend-item .dot {
    width: 13px;
    height: 13px;
    border-radius: 999px;
  }

  .dot-safe { background: #8b5cf6; }
  .dot-risk { background: #ef4444; }
  .dot-mid { background: #f97316; }
  .dot-low { background: #facc15; }

  .hotspots-nav-btn {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 540;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(167, 139, 250, 0.45);
    background: linear-gradient(180deg, #7c3aed, #6d28d9);
    color: #fff;
    box-shadow: 0 14px 26px rgba(124, 58, 237, 0.46);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
  }

  .hotspots-map-hint {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    z-index: 515;
    color: rgba(226, 216, 249, 0.9);
    font-size: 0.86rem;
    text-align: center;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  }

  .hotspots-reports-panel {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 575;
    width: min(420px, calc(100% - 36px));
    height: calc(100% - 36px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(165deg, rgba(34, 28, 53, 0.94), rgba(24, 19, 39, 0.94));
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .hotspots-reports-panel.is-hidden {
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
  }

  .hotspots-reports-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
  }

  .hotspots-reports-panel__head h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.55rem;
    line-height: 1.1;
    font-weight: 800;
  }

  .hotspots-reports-panel__head p {
    margin: 4px 0 0;
    color: rgba(204, 186, 243, 0.92);
    font-size: 0.9rem;
  }

  .hotspots-reports-panel__close {
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: rgba(237, 233, 254, 0.95);
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .hotspots-reports-panel__close:hover {
    background: rgba(124, 58, 237, 0.35);
    transform: translateY(-1px);
  }

  .hotspots-reports-list {
    padding: 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .hotspots-report-item {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    color: #efe9ff;
    animation: reportCardSlideIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: var(--delay, 0ms);
  }

  .hotspots-report-item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
  }

  .hotspots-report-item__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .hotspots-report-item__user {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hotspots-report-item__time {
    font-size: 0.77rem;
    color: rgba(214, 201, 242, 0.86);
  }

  .hotspots-report-item__distance {
    font-size: 0.72rem;
    color: rgba(204, 186, 243, 0.88);
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 999px;
    padding: 0.2rem 0.5rem;
    white-space: nowrap;
  }

  .hotspots-report-item__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
  }

  .hotspots-report-item__badge.badge-lighting { color: #fb923c; }
  .hotspots-report-item__badge.badge-sidewalk { color: #60a5fa; }
  .hotspots-report-item__badge.badge-unsafe { color: #f87171; }
  .hotspots-report-item__badge.badge-baldios { color: #facc15; }
  .hotspots-report-item__badge.badge-other { color: #d8b4fe; }

  .hotspots-report-item__caption {
    margin: 0 0 10px;
    color: rgba(236, 228, 255, 0.92);
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hotspots-report-item__image {
    display: block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.16);
  }

  .hotspots-report-item__image img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .hotspots-report-empty {
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.02);
    padding: 16px;
    text-align: center;
    color: rgba(220, 206, 248, 0.9);
    font-size: 0.92rem;
  }

  @keyframes reportCardSlideIn {
    from { opacity: 0; transform: translateX(14px) translateY(8px) scale(0.985); }
    to { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
  }

  .route-legend {
    position: absolute;
    right: 18px;
    bottom: 84px;
    z-index: 560;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(19, 16, 31, 0.9);
    color: #fff;
    padding: 10px 12px;
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.26s ease, transform 0.26s ease;
  }

  .route-legend.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .reveal-anim {
    animation: hotspotRevealIn 0.34s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  @keyframes hotspotRevealIn {
    from { opacity: 0; transform: translateY(12px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  .user-location-marker {
    width: 24px !important;
    height: 24px !important;
    margin-left: -12px;
    margin-top: -12px;
  }

  .user-location-marker__pulse {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.28);
    animation: userPulse 1.8s ease-out infinite;
  }

  .user-location-marker__dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    border: 2px solid #ffffff;
    background: #3b82f6;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.32);
  }

  @keyframes userPulse {
    0% { transform: scale(0.5); opacity: 0.75; }
    70% { transform: scale(1.45); opacity: 0; }
    100% { transform: scale(1.45); opacity: 0; }
  }

  .route-legend .swatch {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    flex: 0 0 auto;
  }

  .route-legend .legend-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .route-legend .legend-sub {
    font-size: 0.74rem;
    color: rgba(229, 221, 247, 0.8);
  }

  #destInput::-webkit-search-cancel-button {
    filter: brightness(0.35);
    cursor: pointer;
  }

  @media (max-width: 1400px) {
    .route-panel-stack {
      width: min(336px, calc(100vw - 410px));
    }
  }

  @media (max-width: 1199px) {
    .hotspots-map-stage {
      min-height: calc(100vh - 132px);
    }
    .route-panel-stack {
      width: min(318px, calc(100vw - 350px));
      top: 74px;
    }
  }

  @media (min-width: 768px) {
    .hotspots-page {
      width: calc(100% + 4rem);
      margin: -2rem;
    }
    .hotspots-map-stage {
      height: calc(100vh - 1px);
      min-height: 640px;
    }
  }

  @media (max-width: 991px) {
    .hotspots-map-stage {
      height: calc(100vh - 74px);
      min-height: 0;
      border-radius: 0;
    }

    .hotspots-top-tools {
      top: 12px;
      left: 12px;
      right: 12px;
      gap: 10px;
    }

    .hotspots-tool-actions {
      gap: 6px;
    }

    .hotspots-tool-btn {
      width: 38px;
      height: 38px;
      border-radius: 10px;
    }

    .hotspot-filter--floating {
      top: 12px;
      left: 12px;
      width: calc(100% - 116px);
      padding: 0;
    }

    .route-panel-stack {
      left: 12px;
      right: 12px;
      width: auto;
      top: 74px;
      max-height: calc(100% - 92px);
    }

    #routeCard.route-card-floating {
      max-height: 100%;
      padding: 12px;
      border-radius: 14px;
    }

    .route-card-head h3 {
      font-size: 1.4rem;
    }

    .route-score-number {
      font-size: 1.5rem;
    }

    .hotspots-right-stack,
    .route-legend {
      display: none !important;
    }

    .hotspots-reports-panel {
      top: 12px;
      right: 12px;
      width: min(380px, calc(100% - 24px));
      height: calc(100% - 24px);
      border-radius: 14px;
    }

    .hotspots-reports-panel__head h3 {
      font-size: 1.35rem;
    }

    .hotspots-map-hint {
      bottom: 12px;
      width: calc(100% - 24px);
      font-size: 0.8rem;
      color: rgba(230, 223, 248, 0.86);
    }
  }

  @media (max-width: 576px) {
    .hotspots-map-stage {
      height: calc(100vh - 74px);
      min-height: 0;
      border-radius: 0;
    }

    .hotspot-filter-label {
      font-size: 0.7rem;
      letter-spacing: 0.35px;
    }

    .hotspot-chips .violeta-chip {
      font-size: 0.78rem;
      padding: 0.36rem 0.78rem;
    }

    .route-panel-stack {
      top: 72px;
      max-height: calc(100% - 88px);
    }

    #routeCard.route-card-floating {
      max-height: 100%;
      padding: 10px;
    }

    .hotspots-reports-panel {
      left: 8px;
      right: 8px;
      width: auto;
      height: calc(100% - 16px);
    }

    .hotspots-reports-list {
      padding: 10px;
      gap: 10px;
    }

    .hotspots-report-item {
      padding: 10px;
      border-radius: 12px;
    }

    .hotspots-report-item__image img {
      height: 150px;
    }

    .route-field {
      height: 40px;
      font-size: 0.84rem;
    }

    .route-fields-stack {
      gap: 3px;
    }

    .route-switch-pill {
      width: 23px;
      height: 23px;
      right: 4px;
    }

    .route-switch-pill i {
      font-size: 0.54rem;
    }

    .route-mode-btn {
      min-height: 34px;
      font-size: 0.78rem;
    }
  }

  @media (max-width: 767.98px) {
    .hotspots-page {
      width: calc(100% + 2rem);
      margin: -1rem;
      padding: 0;
    }

    .hotspots-map-stage {
      height: 100vh;
      min-height: 100vh;
      background: #edf2f7;
    }

    .hotspots-map-dim {
      z-index: 180;
      background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(248, 250, 252, 0.7) 10%, rgba(248, 250, 252, 0.14) 24%, rgba(248, 250, 252, 0) 38%, rgba(248, 250, 252, 0.12) 68%, rgba(248, 250, 252, 0.6) 100%),
        radial-gradient(circle at 16% 10%, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0) 34%);
    }

    #hotspotMap .leaflet-control-zoom a {
      color: #475569;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(226, 232, 240, 0.95);
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    }

    #hotspotMap .leaflet-control-zoom a:hover {
      background: #ffffff;
      color: #7c3aed;
    }

    #hotspotMap .leaflet-popup-content-wrapper {
      border-radius: 16px;
      box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
      border: 1px solid #f1f5f9;
      padding: 4px;
      background: #ffffff;
    }

    #hotspotMap .leaflet-popup-content {
      margin: 12px 14px;
      text-align: center;
    }

    #hotspotMap .leaflet-popup-tip {
      background: #ffffff;
    }

    .user-location-marker__pulse {
      background: rgba(124, 58, 237, 0.26);
    }

    .user-location-marker__dot {
      background: #7c3aed;
      box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
    }

    .hotspots-top-tools {
      top: 164px;
      right: 12px;
      left: auto;
      width: auto;
      justify-content: flex-end;
      z-index: 545;
    }

    .hotspots-tool-actions {
      flex-direction: column;
      gap: 12px;
    }

    .hotspots-tool-btn,
    .hotspots-nav-btn {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      border: 1px solid rgba(226, 232, 240, 0.92);
      background: rgba(255, 255, 255, 0.92);
      color: #475569;
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
      backdrop-filter: blur(8px);
    }

    .hotspots-tool-btn:hover,
    .hotspots-tool-btn.is-active {
      border-color: #7c3aed;
      background: #7c3aed;
      color: #ffffff;
      opacity: 1;
      box-shadow: 0 8px 18px rgba(124, 58, 237, 0.24);
    }

    .hotspots-nav-btn {
      right: 12px;
      top: 276px;
      bottom: auto;
      font-size: 1rem;
      background: rgba(255, 255, 255, 0.92);
      color: #7c3aed;
      border-color: rgba(226, 232, 240, 0.92);
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
    }

    .hotspot-filter--floating {
      top: 80px;
      left: 12px;
      right: 12px;
      width: auto;
      z-index: 544;
    }

    .hotspot-chips {
      gap: 10px;
      padding: 0 52px 0 0;
    }

    .hotspot-chips .violeta-chip {
      padding: 8px 18px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.95);
      color: #64748b;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      border: 1px solid #f1f5f9;
      font-size: 0.81rem;
      font-weight: 700;
    }

    .hotspot-chips .violeta-chip.active {
      background: #7c3aed;
      color: #ffffff;
      border-color: #7c3aed;
      box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
    }

    .route-panel-stack {
      position: absolute;
      inset: 0;
      left: 0;
      right: 0;
      top: 0;
      width: auto;
      max-height: none;
      pointer-events: none;
      z-index: 12000;
    }

    #routeCard.route-card-floating {
      position: absolute;
      inset: 0 0 calc(var(--bottom-nav-height) + env(safe-area-inset-bottom)) 0;
      width: auto;
      max-height: none;
      padding: 0;
      border: 0;
      background: transparent;
      box-shadow: none;
      backdrop-filter: none;
      pointer-events: none;
      overflow: visible;
      gap: 0;
    }

    .route-top-search {
      position: absolute;
      top: 16px;
      left: 12px;
      right: 12px;
      margin: 0;
      pointer-events: auto;
      z-index: 3;
    }

    .route-top-search .route-field {
      height: 52px;
      padding: 4px 6px 4px 16px;
      border-radius: 999px;
      border: 1px solid #e2e8f0;
      background: rgba(255, 255, 255, 0.98);
      color: #334155;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .route-top-search .route-field i {
      color: #94a3b8;
      font-size: 0.96rem;
    }

    .route-top-search .route-field input {
      font-size: 0.95rem;
      font-weight: 600;
      color: #334155;
      padding-right: 12px;
    }

    .route-top-search .route-field input::placeholder {
      color: #94a3b8;
      font-weight: 500;
    }

    #originResults {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      right: 0;
      z-index: 5;
    }

    #originResults .route-search-dropdown {
      position: relative;
      top: 0;
      left: auto;
      right: auto;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.96);
      border-color: rgba(226, 232, 240, 0.95);
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
      padding: 8px 0;
    }

    .route-card-sheet {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      background: #ffffff;
      border-radius: 28px 28px 0 0;
      box-shadow: 0 -5px 25px rgba(15, 23, 42, 0.12);
      overflow: hidden;
      transform: translateY(0);
      transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
      pointer-events: auto;
      gap: 0;
    }

    #routeCard.expanded .route-card-sheet,
    #routeCard.is-sheet-expanded .route-card-sheet,
    #routeCard.has-route-output .route-card-sheet {
      transform: translateY(0);
    }

    .route-card-head {
      padding: 16px 20px 18px;
      cursor: pointer;
      background: #ffffff;
    }

    .route-sheet-handle {
      display: block;
      width: 36px;
      height: 5px;
      border-radius: 999px;
      background: #cbd5e1;
      margin: 0 auto 12px;
    }

    .route-card-head-main {
      align-items: flex-start;
      gap: 10px;
    }

    .route-card-head h3 {
      font-size: 1.15rem;
      font-weight: 800;
      margin: 0;
      color: #1e293b;
    }

    .route-card-head p {
      margin: 4px 0 0;
      color: #64748b;
      font-size: 0.82rem;
      line-height: 1.35;
    }

    .route-card-score-preview {
      padding: 0.55rem 0.8rem;
      background: #ecfdf5;
      border-color: #d1fae5;
      color: #047857;
      box-shadow: none;
    }

    .route-card-body {
      padding: 20px 12px 24px;
      max-height: min(62vh, 520px);
      overflow-y: auto;
      opacity: 1;
      pointer-events: auto;
      transition: opacity 0.26s ease;
    }

    #routeCard.expanded .route-card-body,
    #routeCard.is-sheet-expanded .route-card-body,
    #routeCard.has-route-output .route-card-body {
      opacity: 1;
      pointer-events: auto;
    }

    .route-fields-stack {
      gap: 10px;
      padding-right: 0;
      margin-bottom: 12px;
    }

    .route-fields-stack .route-field {
      height: 52px;
      min-height: 52px;
      border-radius: 999px;
      border-color: #e2e8f0;
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      padding: 4px 44px 4px 16px;
    }

    .route-fields-stack .route-field input {
      font-size: 0.95rem;
      color: #334155;
      font-weight: 600;
    }

    .route-switch-pill {
      display: none;
    }

    #destResults .route-search-dropdown {
      top: 6px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.98);
      border-color: rgba(226, 232, 240, 0.95);
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
      padding: 8px 0;
    }

    .route-search-item {
      padding: 12px 14px;
    }

    .route-search-item__icon {
      width: 32px;
      height: 32px;
      border-radius: 999px;
      background: #f3e8ff;
      color: #7c3aed;
    }

    .route-mode-row {
      gap: 12px;
      margin-top: 0;
      margin-bottom: 14px;
      padding: 0;
      background: transparent;
      border-radius: 0;
    }

    .route-mode-btn {
      min-height: 54px;
      border-radius: 18px;
      font-size: 0.88rem;
      font-weight: 800;
      gap: 9px;
      background: #f1f5f9;
      color: #64748b;
      box-shadow: none;
    }

    .route-mode-btn.is-active {
      background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
      box-shadow: 0 10px 18px rgba(124, 58, 237, 0.18);
    }

    .route-score-card {
      margin-top: 0;
      border-radius: 20px;
      border: 1px solid #e2e8f0;
      background: #f8fafc;
      box-shadow: none;
      padding: 14px 15px;
    }

    .route-score-label {
      color: #7c3aed;
    }

    .route-score-number {
      color: #0f172a;
      font-size: 1.7rem;
    }

    .route-score-ring {
      width: 48px;
      height: 48px;
      background: #ffffff;
      border-color: rgba(148, 163, 184, 0.32);
      color: #475569;
    }

    .route-speed-row,
    .route-safety-meta {
      color: #64748b;
    }

    #routeAlert {
      border-radius: 18px;
      border: 1px solid #e2e8f0 !important;
      background: #f8fafc !important;
      color: #1e293b;
      padding: 14px 16px;
      font-size: 0.84rem;
      line-height: 1.45;
      box-shadow: none;
    }

    #transitInstructions {
      margin-top: 14px;
    }

    .route-steps-title {
      font-size: 0.88rem;
      color: #0f172a;
      margin-bottom: 10px;
    }

    .route-steps-timeline {
      gap: 12px;
      padding-left: 18px;
    }

    .route-steps-timeline::before {
      background: rgba(124, 58, 237, 0.18);
    }

    .route-step-marker {
      margin-top: 15px;
    }

    .route-step-card {
      border-radius: 18px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      padding: 12px 14px;
    }

    .route-step-item:not(:last-child) .route-step-card {
      border-bottom: 1px solid #e2e8f0;
    }

    .route-step-title {
      font-size: 0.9rem;
      color: #0f172a;
    }

    .route-step-sub {
      font-size: 0.8rem;
      color: #64748b;
    }

    .route-step-pill {
      background: rgba(148, 163, 184, 0.16);
      border-color: rgba(148, 163, 184, 0.22);
    }

    .hotspots-map-hint,
    .hotspots-right-stack,
    .route-legend {
      display: none !important;
    }

    .hotspots-reports-panel {
      top: auto;
      left: 0;
      right: 0;
      bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
      width: auto;
      height: auto;
      max-height: min(52vh, 430px);
      border-radius: 28px 28px 0 0;
      background: rgba(255, 255, 255, 0.98);
      border: 1px solid rgba(226, 232, 240, 0.92);
      box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.16);
      backdrop-filter: blur(12px);
      transform: translateY(0);
    }

    .hotspots-reports-panel.is-hidden {
      opacity: 0;
      transform: translateY(105%);
      pointer-events: none;
    }

    .hotspots-reports-panel__head {
      border-bottom-color: rgba(226, 232, 240, 0.85);
      color: #0f172a;
      background: transparent;
      padding: 16px 18px 14px;
    }

    .hotspots-reports-panel__head h3 {
      color: #0f172a;
      font-size: 1.05rem;
    }

    .hotspots-reports-panel__head p {
      color: #64748b;
    }

    .hotspots-reports-panel__close {
      color: #475569;
      background: #f8fafc;
      border-color: #e2e8f0;
    }

    .hotspots-reports-list {
      padding: 14px 18px 18px;
      background: transparent;
    }

    .hotspots-report-item {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    }

    .hotspots-report-empty {
      color: #64748b;
      background: #f8fafc;
      border-color: #e2e8f0;
    }

    .hotspots-map-stage {
      background: #13111c;
    }

    .hotspots-map-dim {
      background:
        linear-gradient(180deg, rgba(19, 17, 28, 0.88) 0%, rgba(19, 17, 28, 0.44) 16%, rgba(19, 17, 28, 0.1) 38%, rgba(19, 17, 28, 0.22) 64%, rgba(19, 17, 28, 0.76) 100%),
        radial-gradient(circle at 16% 10%, rgba(139, 92, 246, 0.22) 0%, rgba(139, 92, 246, 0) 34%);
    }

    #hotspotMap .leaflet-tile-pane {
      filter: saturate(0.72) brightness(0.72) contrast(1.08);
    }

    #hotspotMap .leaflet-control-zoom a,
    .hotspots-tool-btn,
    .hotspots-nav-btn {
      border-color: rgba(221, 212, 237, 0.16);
      background: rgba(30, 27, 46, 0.94);
      color: rgba(239, 233, 247, 0.86);
      box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    }

    #hotspotMap .leaflet-control-zoom a:hover,
    .hotspots-tool-btn:hover,
    .hotspots-tool-btn.is-active {
      border-color: rgba(167, 139, 250, 0.72);
      background: linear-gradient(135deg, #8b5cf6, #7c3aed);
      color: #ffffff;
      box-shadow: 0 14px 28px rgba(124, 58, 237, 0.28);
    }

    #hotspotMap .leaflet-popup-content-wrapper,
    #hotspotMap .leaflet-popup-tip {
      background: #1e1b2e;
      border-color: rgba(139, 92, 246, 0.2);
      color: #e9e3ef;
    }

    .hotspot-chips .violeta-chip,
    .route-top-search .route-field,
    .route-fields-stack .route-field {
      background: rgba(30, 27, 46, 0.96);
      border-color: rgba(139, 92, 246, 0.2);
      color: #e9e3ef;
      box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    }

    .hotspot-chips .violeta-chip.active {
      background: linear-gradient(135deg, #8b5cf6, #7c3aed);
      border-color: rgba(167, 139, 250, 0.72);
      color: #ffffff;
      box-shadow: 0 14px 26px rgba(124, 58, 237, 0.3);
    }

    .route-card-sheet {
      background: rgba(19, 17, 28, 0.98);
      border: 1px solid rgba(221, 212, 237, 0.12);
      box-shadow: 0 -18px 36px rgba(0, 0, 0, 0.34);
    }

    .route-card-body {
      background: transparent;
    }

    .route-top-search .route-field i,
    .route-fields-stack .route-field i,
    .hotspots-nav-btn {
      color: #a78bfa;
    }

    .route-top-search .route-field input,
    .route-fields-stack .route-field input,
    .route-search-item,
    .route-search-item__title {
      color: #f8f5ff;
    }

    .route-score-label {
      color: #c4b5fd;
    }

    .route-top-search .route-field input::placeholder,
    .route-fields-stack .route-field input::placeholder,
    .route-search-item__sub,
    .route-step-sub,
    .route-speed-row,
    .route-safety-meta {
      color: rgba(233, 227, 239, 0.62);
    }

    #originResults .route-search-dropdown,
    #destResults .route-search-dropdown {
      background: rgba(30, 27, 46, 0.98);
      border-color: rgba(139, 92, 246, 0.22);
      box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
    }

    .route-search-item:hover,
    .route-search-item:focus-visible {
      background: rgba(139, 92, 246, 0.16);
    }

    .route-search-item__icon {
      background: rgba(139, 92, 246, 0.18);
      color: #c4b5fd;
    }

    .route-mode-btn {
      background: rgba(45, 36, 56, 0.88);
      color: rgba(233, 227, 239, 0.68);
    }

    .route-mode-btn:hover {
      background: rgba(139, 92, 246, 0.18);
      color: #ffffff;
    }

    .route-mode-btn.is-active {
      background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
      box-shadow: 0 14px 26px rgba(124, 58, 237, 0.28);
    }

    .route-score-card,
    #routeAlert,
    .route-step-card {
      background: linear-gradient(145deg, #1e1b2e, #2a2436) !important;
      border-color: rgba(139, 92, 246, 0.22) !important;
      color: #e9e3ef;
      box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
    }

    .route-score-number,
    .route-steps-title,
    .route-step-title {
      color: #ffffff;
    }

    .route-score-ring {
      background: rgba(19, 17, 28, 0.82);
      border-color: rgba(221, 212, 237, 0.14);
      color: #c4b5fd;
    }

    .hotspots-reports-panel {
      background: rgba(19, 17, 28, 0.98);
      border-color: rgba(139, 92, 246, 0.18);
      box-shadow: 0 -18px 38px rgba(0, 0, 0, 0.34);
    }

    .hotspots-reports-panel__head {
      border-bottom-color: rgba(221, 212, 237, 0.12);
      color: #e9e3ef;
    }

    .hotspots-reports-panel__head h3 {
      color: #ffffff;
    }

    .hotspots-reports-panel__head p,
    .hotspots-report-empty {
      color: rgba(233, 227, 239, 0.62);
    }

    .hotspots-reports-panel__close,
    .hotspots-report-item,
    .hotspots-report-empty {
      background: rgba(30, 27, 46, 0.94);
      border-color: rgba(139, 92, 246, 0.18);
      box-shadow: none;
    }

  }

  /* Slightly smoother/softer zoom easing than Leaflet defaults */
  #hotspotMap.leaflet-zoom-anim .leaflet-zoom-animated {
    transition: transform 0.35s cubic-bezier(0.2, 0, 0.2, 1);
  }

  #hotspotMap .leaflet-tile-pane {
    filter: saturate(0.9) brightness(0.9) contrast(1.03);
  }

  #hotspotMap .leaflet-control-attribution {
    background: rgba(15, 12, 24, 0.66);
    color: rgba(230, 222, 249, 0.76);
    border-radius: 8px;
    margin: 0 8px 8px 0;
    font-size: 10px;
    backdrop-filter: blur(4px);
  }
