.tos-map-card {
    margin: 22px 0 28px;
    border: 1px solid #dfe5ec;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.tos-map {
    width: 100%;
    height: 380px;
    background: #e9eef3;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.tos-map-native {
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.tos-map-native.is-dragging {
    cursor: grabbing;
}

.tos-map-native__tiles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.tos-map-native__tile {
    position: absolute;
    display: block;
    width: 256px;
    height: 256px;
    max-width: none !important;
    border: 0;
    padding: 0;
    margin: 0;
    pointer-events: none;
}

.tos-map-native__marker {
    position: absolute;
    z-index: 20;
    width: 28px;
    height: 38px;
    transform: translate(-50%, -100%);
    pointer-events: none;
}

.tos-map-native__marker::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #e53935;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
}

.tos-map-native__marker-dot {
    position: absolute;
    left: 11px;
    top: 7px;
    z-index: 2;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.tos-map-native__controls {
    position: absolute;
    z-index: 30;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16);
}

.tos-map-native__zoom-button {
    width: 38px;
    height: 36px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    font: 700 22px/1 Arial, sans-serif;
    cursor: pointer;
}

.tos-map-native__zoom-button:last-child {
    border-bottom: 0;
}

.tos-map-native__zoom-button:hover {
    background: #f3f4f6;
}

.tos-map-native__attribution {
    position: absolute;
    z-index: 30;
    right: 5px;
    bottom: 5px;
    max-width: calc(100% - 10px);
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    color: #4b5563;
    font-size: 10px;
    line-height: 1.25;
    pointer-events: auto;
}

.tos-map-native__attribution a {
    color: inherit;
    text-decoration: underline;
}

.tos-map__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    font-size: 14px;
}

.tos-map-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
}

.tos-map-card__place {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.tos-map-card__place strong {
    font-size: 15px;
    line-height: 1.35;
}

.tos-map-card__place span {
    color: #667085;
    font-size: 12px;
}

@media (max-width: 700px) {
    .tos-map {
        height: 320px;
    }

    .tos-map-card__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
}
