.erm-map {
    width: 100%;
    height: var(--erm-map-height, 500px);
    min-height: var(--erm-map-height, 500px);
    border-radius: var(--erm-border-radius, 12px);
    overflow: hidden;
}

.erm-map__notice {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #dcdcde;
    background: #fff;
}

.erm-map__notice--info {
    margin-bottom: 12px;
}

.erm-marker {
    background: transparent;
    border: 0;
}

.erm-marker__route {
    position: relative;
    display: block;
    width: 30px;
    height: 40px;
    color: var(--erm-marker-color, #3d874d);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.28));
}

.erm-marker__route-svg {
    display: block;
    width: 30px;
    height: 40px;
}

.erm-marker__number {
    position: absolute;
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 18px;
    color: var(--erm-marker-number-color, #fff);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.erm-marker__poi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 120px;
    padding: 3px 8px;
    background: var(--erm-poi-marker-color, #f59e0b);
    color: #fff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.erm-map .leaflet-popup-content-wrapper {
    border-radius: 0;
}

.erm-map .leaflet-popup-content {
    margin: 14px 16px;
}

.erm-popup strong {
    display: block;
    margin-bottom: 6px;
}

.erm-popup__description > *:first-child {
    margin-top: 0;
}

.erm-popup__description > *:last-child {
    margin-bottom: 0;
}

.erm-popup__combined {
    margin: 8px 0 0;
    padding-left: 18px;
}

.erm-popup__combined li {
    margin-bottom: 8px;
}

.erm-popup__combined li:last-child {
    margin-bottom: 0;
}

.erm-popup__type,
.erm-popup__title {
    display: block;
    margin-top: -2px;
    margin-bottom: 6px;
    color: #646970;
    font-size: 12px;
}
