/* ── Heatmap Widget ────────────────────────────────────────────────────────── */
 
#em-heatmap-map {
    display: block !important;
    width: 100% !important;
    height: 520px !important;
    min-height: 520px !important;
    position: relative !important;
    overflow: hidden !important;
}
 
/* Header */
.em-heatmap-header {
    padding: 12px 0 12px 0;
}
 
.em-heatmap-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
 
/* Sportarten-Filter */
.em-heatmap-filters {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
 
.em-heatmap-filter {
    padding: 5px 13px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.15);
    background: transparent;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
 
.em-heatmap-filter:hover {
    border-color: rgba(0,0,0,0.3);
    color: #333;
}
 
.em-heatmap-filter--active {
    background: #e84c1e;
    border-color: #e84c1e;
    color: #fff;
    font-weight: 500;
}
 
/* Kartenart-Umschalter */
.em-heatmap-styles {
    display: flex;
    gap: 5px;
    margin-left: auto;
}
 
.em-heatmap-style-btn {
    padding: 5px 11px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.15);
    background: transparent;
    color: #666;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
 
.em-heatmap-style-btn:hover {
    border-color: rgba(0,0,0,0.3);
    color: #333;
}
 
.em-heatmap-style-btn--active {
    background: #333;
    border-color: #333;
    color: #fff;
    font-weight: 500;
}
 
/* MapLibre Attribution – minimiert */
#em-heatmap-map .maplibregl-ctrl-attrib {
    font-size: 9px !important;
    background: rgba(255,255,255,0.5) !important;
}
 
/* Zoom-Controls */
#em-heatmap-map .maplibregl-ctrl-group {
    box-shadow: none !important;
    border: 1px solid rgba(0,0,0,0.15) !important;
}
 
/* Responsive */
@media (max-width: 640px) {
    #em-heatmap-map {
        height: 360px !important;
        min-height: 360px !important;
    }
    .em-heatmap-styles {
        margin-left: 0;
    }
}