#map {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

.maplibregl-ctrl-attrib {
    font-size: 10px;
    background: rgba(0, 0, 0, 0.45) !important;
}

.maplibregl-ctrl-attrib a {
    color: #888 !important;
}

.maplibregl-ctrl-group {
    background: rgba(0, 0, 0, 0.65) !important;
    border: 1px solid rgba(240, 90, 40, 0.35) !important;
    backdrop-filter: blur(6px);
}

.maplibregl-ctrl-group button {
    filter: invert(1);
}

.map-popup .maplibregl-popup-content {
    padding: 0.5rem 0.65rem;
    font-size: 12px;
    line-height: 1.4;
    color: #ddd;
    background: rgba(0, 0, 0, 0.88);
    border: 1px solid rgba(240, 90, 40, 0.4);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.map-popup .maplibregl-popup-tip {
    border-top-color: rgba(0, 0, 0, 0.88);
}

.map-popup__status {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 10px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.map-popup__status--online {
    color: #00ffcc;
}

.map-popup__status--offline {
    color: #ff0066;
}

.map-popup__summary {
    margin-top: 0.35rem;
    font-size: 11px;
}

.map-popup__list {
    margin: 0.5rem 0 0;
    padding: 0 0 0 1rem;
    font-size: 11px;
    line-height: 1.5;
    color: #bbb;
}

.map-popup__list li {
    margin-top: 0.2rem;
}

.map-device-count {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #0a0a0a;
    pointer-events: none;
    user-select: none;
}
