/* ── Russia Map — публичные стили ── */

.russia-map-wrap {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.russia-map-wrap svg {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    background: #fff;
}

.russia-map-wrap svg:active {
    cursor: grabbing;
}

/* ── Регионы ── */
.rm-region {
    fill: #ffd3b6;
    stroke: #e8a87c;
    stroke-width: 0.5;
    cursor: pointer;
    transition: fill 0.2s;
}

/* ── Пульсирующее сердечко ── */
@keyframes rm-heartbeat {
    0%,  100% { transform: scale(1);    }
    14%        { transform: scale(1.45); }
    28%        { transform: scale(1);    }
    42%        { transform: scale(1.22); }
    70%        { transform: scale(1);    }
}

.rm-heart {
    animation: rm-heartbeat 1.5s ease-in-out infinite;
    transform-origin: 0 0;
}

/* ── Маркеры и подписи ── */
.rm-city {
    cursor: pointer;
}

.rm-label {
    fill: #3a1000;
    font-family: -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    paint-order: stroke;
    stroke: rgba(255, 255, 255, 0.95);
    stroke-width: 3px;
    pointer-events: all;
    cursor: pointer;
}

/* ── Тултип ── */
.rm-tooltip {
    display: none;
    position: fixed;
    background: rgba(255, 248, 244, 0.97);
    color: #3a2010;
    padding: 5px 11px;
    border-radius: 5px;
    border: 1px solid #e0a878;
    font-family: -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 12px;
    pointer-events: none;
    white-space: nowrap;
    z-index: 99999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}
