#mini-map-route {opacity:1;z-index: 2;position: fixed;top: 40px;right: 40px;cursor: pointer;box-shadow: 0px 1px 4px 0px rgb(0 0 0 / 60%);width: 80px;height: 80px;background: #ffffff;border-radius: 12px;border: 3px solid #fff;}
.blockhover #mini-map-route {pointer-events:none !important;}
.desktop-device #mini-map-route:hover .tooltip {transform: translateX(-50%) translateY(-4px);}
.desktop-device #mini-map-route:hover img {transform: scale(1.2);}
#mini-map-route .icon {width:100%;height:100%;border-radius: 10px;overflow:hidden;position: relative;}
#mini-map-route .icon img {transition:transform 0.15s ease-out;width:100%;height:100%;object-fit: cover;transform: scale(1);display: block;}
#mini-map-route .tooltip {transition:transform 0.15s ease-out;position:absolute;top: -16px;z-index: 2;font-size: 12px;color: #000000;font-weight: 500;display: flex;align-items: center;justify-content: center;pointer-events: none;width: 58px;left: 50%;transform: translateX(-50%) translateY(0px);text-align: center;background: #fff;height: 23px;border-radius: 22px;box-shadow: 0px 0px 6px 0px rgb(0 0 0 / 25%);}
#mapOverlay{position:fixed;inset:0;background: rgb(0 0 0 / 58%);display:none;align-items:center;justify-content:center;z-index:9999;opacity:0;transition:opacity 0.35s ease;}
#mapBaffle{position:fixed;inset:0;z-index:0;}
#mapPopup{width: 96dvw;height:90dvh;background:#fff;border-radius: 16px;overflow:hidden;position:relative;z-index:2;}
#map{width:100%;height:100%;}
#closeMap{
 position:absolute;
 top: 20px;
 right: 20px;
 width:40px;
 height:40px;
 border-radius: 50%;
 background-color:#fff;
 z-index:99999;
 cursor:pointer;
 background-image: url(general/icon/close-black.svg);
 background-size: 24px;
 background-position: 50% 50%;
 background-repeat: no-repeat;
 display:flex;
 align-items:center;
 justify-content:center;
 box-shadow: 0 0px 4px rgb(0 0 0 / 40%);
 }
#closeMap:hover {box-shadow: 0 0px 4px rgb(0 0 0 / 60%);background-size: 28px;}
.custom-pin{width: 22px;height: 22px;border-radius:50%;background: #ffffff;border: 6px solid #1976d2;box-shadow: 0 0 0 2px #fff, 0 0px 8px rgb(0 0 0 / 100%);}
.custom-pin-active{width: 30px;height: 30px;border-radius:50%;background: #ffffff;border: 8px solid #ff9800;box-shadow: 0 0 0 2px #fff, 0 2px 12px rgb(0 0 0 / 45%);}
.custom-pin-hover{border: 6px solid #ff9800 !important;}
.mapCard{width: 220px;}
.mapCardImage{width:100%;height: 120px;object-fit:cover;display:block;border-radius: 6px;}
.mapCardName{margin-top: 14px;font-size: 16px;line-height: 1.3;color: #000000;font-family: 'Geologica';padding: 0 4px;font-weight: 600;}
.openPano{margin-top: 20px;height: 35px;line-height: 35px;border-radius: 8px;background: #eaf5f0;color: #080808;display:flex;align-items:center;justify-content: space-around;cursor:pointer;font-family: 'Geologica';font-size: 14px;transition:0.2s;font-weight: 300;}
.openPano::after {content: '';width: 18px;height: 18px;transform: translateX(0);background-image: url(general/icon/velo-black.svg);background-size: 18px;background-position: 50%;background-repeat: no-repeat;display: block;opacity: 0.7;}
.walking .openPano::after {background-image: url(general/icon/tourist.svg);}
.openPano:hover{box-shadow: 0 1px 3px #0000002e;}
.openPano:hover::after {
    animation: arrowMoveMap 0.5s ease-in-out 2;
}
@keyframes arrowMoveMap {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}
#mapControls{position: absolute;bottom: 2rem;left: 2.5rem;z-index: 1000;display: flex;gap: 10px;}
#mapControls > div{min-width: 5px; padding: 8px 10px 8px 12px; border-radius: 4px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 12%); color: #000000; font-size: 14px; font-weight: 500; line-height: 1; cursor: pointer; user-select: none; transition: background 0.2s ease, opacity 0.2s ease;}
#mapControls > div:hover{box-shadow: 0 2px 5px rgb(0 0 0 / 50%);}
#mapControls > div:active{box-shadow: 0 1px 3px rgb(0 0 0 / 12%);}
#mapStart, #mapHere, #mapEnd {position:relative;display: flex;align-items: center;justify-content: space-between;}
#mapStart::after, #mapHere::after, #mapEnd::after {content: ''; width: 18px; height: 18px; background-repeat: no-repeat; display: block;margin-left: 6px;}
#mapStart::after {background-image: url(general/icon/flag-start-black.svg);background-size: 18px;background-position: 50%;}
#mapHere::after {background-image: url(general/icon/velo-black.svg);background-size: 18px;background-position: 50%;}
#mapEnd::after {background-image: url(general/icon/flag-end-black.svg);background-size: 18px;background-position: 50%;}
.walking #mapHere::after {background-image: url(general/icon/tourist.svg);}
.map-bubble-wrapper{width: 44px; height: 52px;}
.map-bubble{width: 44px;height: 44px;border-radius: 50% 50% 50% 0;background: #ffeb3b;box-shadow: 0 4px 14px rgba(0,0,0,0.25);transform: rotate(-45deg);transform-origin: center;}
.map-bubble-icon{width: 100%; height: 100%; background-position: center; background-repeat: no-repeat; background-size: 24px 24px; transform: rotate(45deg);}
.map-bubble-start .map-bubble-icon{background-image: url(general/icon/flag-start-black.svg);}
.map-bubble-end .map-bubble-icon{background-image: url(general/icon/flag-end-black.svg);}
.map-bubble-here .map-bubble-icon{background-image: url(general/icon/velo-black.svg);}
.walking .map-bubble-here .map-bubble-icon{background-image: url(general/icon/tourist.svg);background-size: 26px;}
@media (max-width: 760px){
#mapPopup {width: 93dvw;height: 95dvh;}
#mapControls{top: auto; bottom: 22px; left: 16px; flex-direction: column;}
#mapControls > div{min-width: auto;box-shadow: 0 1px 3px rgb(0 0 0 / 50%);}
#mapControls > div:hover{box-shadow: 0 1px 3px rgb(0 0 0 / 12%);;background: #fff;}
#mapControls > div:active{box-shadow: 0 1px 3px rgb(0 0 0 / 12%);}
#mapStart span:last-child, #mapEnd span:last-child {display: none;}
}
@media screen and (max-width: 580px) {
#mini-map-route {top: 22px; right: 22px; border-radius: 16px; border: 2px solid #fff; width: 60px; height: 60px; overflow: hidden; box-shadow: none !important;filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));}
#mini-map-route .tooltip {display: none; }
#mini-map-route .icon {border-radius: 15px; }
#mini-map-route .icon img {transition: none;transform: none !important;pointer-events:none;}
}
@media screen and (max-width: 375px) {
#mini-map-route {top: 20px;right: 20px;}
}
@media screen and (max-width: 360px) {
#mini-map-route {}
#mini-map-route .tooltip {}
#mini-map-route .icon {}
#mini-map-route .icon img {}
}
@media screen and (min-width: 1900px) {
}
.leaflet-tooltip.active-pin-hint-tooltip {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    pointer-events: none;
}
.leaflet-tooltip.active-pin-hint-tooltip::before {
    display: none;
}
.active-pin-hint {
    position: relative;
    display: block;
    padding: 8px 12px;
    background: #252525;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    animation:
        activePinHintBounce 0.55s ease-in-out 2,
        activePinHintFade 2s linear forwards;
}
.active-pin-hint::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #252525;
}
@keyframes activePinHintBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}
@keyframes activePinHintFade {
    0%, 80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}