.partners-map {
    position: relative;
    --map-color-friends: #d16fac;
    --map-color-performances: #48c8e9;
    --map-tag-bg-friends: rgba(209, 111, 172, 0.18);
    --map-tag-text-friends: #81305f;
    --map-tag-bg-performances: rgba(72, 200, 233, 0.18);
    --map-tag-text-performances: #0369a1;
}

.partners-map__map {
    position: relative;
}

.partners-map__map svg {
    width: 100%;
    height: auto;
}

.partner-country {
    stroke: #ffffff;
    stroke-width: 1;
    transition: fill 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}

.partner-country:hover {
    filter: brightness(1.06);
}

.partner-country--friends {
    fill: var(--map-color-friends);
}

.partner-country--performances {
    fill: var(--map-color-performances);
}

.partner-country--dual {
    stroke-width: 1.2;
}

.partner-country--home {
    fill: var(--map-color-home);
    stroke-width: 1.4;
}

.map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #475569;
}

.map-legend-swatch {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid rgba(15, 23, 42, 0.25);
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.12);
}

.map-legend-swatch--friends {
    background: var(--map-color-friends);
}

.map-legend-swatch--home {
    background: var(--map-color-home);
}

.map-legend-swatch--performances {
    background: var(--map-color-performances);
}

.map-legend-swatch--both {
    background-image: repeating-linear-gradient(
        135deg,
        var(--map-color-friends) 0 8px,
        var(--map-color-friends) 8px,
        var(--map-color-performances) 8px 16px,
        var(--map-color-performances) 16px 16px
    );
}

.map-tooltip {
    pointer-events: none;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.88rem;
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.35);
    transform: translate(-50%, calc(-100% - 22px));
    white-space: normal;
    max-width: 360px;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.map-tooltip.is-visible {
    opacity: 1;
}

.map-tooltip::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.15));
}


.map-tooltip__list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-tooltip__list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.map-tooltip__list-bullet {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex-shrink: 0;
    margin-top: 11px;
    background: rgba(148, 163, 184, 0.55);
}

.map-tooltip__list-bullet--friends {
    background: var(--map-color-friends);
}

.map-tooltip__list-bullet--performances {
    background: var(--map-color-performances);
}


.map-tooltip__list-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
}


.map-tooltip__list-title {
    font-weight: 700;
    font-size: 0.82rem;
    color: #0f172a;
    margin: 0;
}

.map-tooltip__list-text {
    margin: 0;
    font-size: 0.78rem;
    line-height: 0.78rem;
    color: #475569;
}

.map-tooltip__name {
    display: block;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.map-tooltip__description {
    margin: 0 0 6px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #475569;
}
