* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background-color: white;
}
header {
    background-color: white;
    color: black;
    padding: 10px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
h1 {
    font-size: 24px;
    font-weight: 700;
}
.legend {
    display: flex;
    gap: 20px;
    font-size: 14px;
}
.legend-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
}
.legend-item:hover {
    opacity: 0.8;
}
.legend-item.hidden {
    opacity: 0.4;
}
.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #fff;
    box-shadow: 0 0 2px rgba(0,0,0,0.3);
}
.legend-star {
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
#map {
    width: 100%;
    height: calc(100vh - 60px);
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 1rem;
    }
    h1 {
        font-size: 18px;
    }
    .legend {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12px;
    }
    #map {
        height: calc(100vh - 100px);
    }
}
