.range-map {
    position: relative;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    border-radius: 4px;
}

.range-map__image {
    display: block;
    width: 100%;
    height: auto;
}

.range-map__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.range-route-background,
.range-route-progress {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.range-route-background {
    stroke: rgba(0, 91, 255, 0.18);
    stroke-width: 5;
}

.range-route-progress {
    stroke: #005bff;
    stroke-width: 4;
    filter: drop-shadow(0 2px 3px rgba(0, 91, 255, 0.25));
}

.range-car-marker {
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.range-tooltip {
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.range-tooltip.is-visible {
    opacity: 1;
}

.range-tooltip rect {
    fill: #005bff;
    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.18));
}

.range-tooltip__arrow {
    fill: #005bff;
}

.range-tooltip text {
    fill: #ffffff;
    font-size: 13px;
    font-weight: 700;
    dominant-baseline: middle;
}

.range-city circle {
    fill: #005bff;
    stroke: #ffffff;
    stroke-width: 3;
}

.range-city rect {
    fill: rgba(255, 255, 255, 0.94);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.14));
}

.range-city text {
    fill: #171717;
    font-size: 13px;
    font-weight: 700;
    text-anchor: middle;
}

.range-city--end {
    opacity: 0.45;
    transition: opacity 0.5s ease;
}

.range-map.is-completed .range-city--end {
    opacity: 1;
}

.range-map__badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    padding: 10px 16px;
    color: #ffffff;
    background: rgba(0, 91, 255, 0.92);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 91, 255, 0.25);
    backdrop-filter: blur(5px);
}

.range-map__badge-value {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
}

.range-map__badge-label {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.9;
}

.range-highlight {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

.range-highlight strong {
    color: #64c3ef;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
    line-height: 1;
}

.range-highlight span {
    margin-top: 7px;
    color: #222222;
    font-size: 17px;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .range-map__badge {
        left: 12px;
        bottom: 12px;
        padding: 8px 12px;
    }

    .range-map__badge-value {
        font-size: 17px;
    }

    .range-map__badge-label {
        font-size: 10px;
    }

    .range-city text {
        font-size: 11px;
    }

    .range-highlight strong {
        font-size: 34px;
    }
}