/* Things floating on the map: scale, legend, zoom and fit buttons. */

.bl {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    max-width: calc(100% - 480px);
}
.scale {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}
.scale-bar {
    height: 6px;
    border: 1.5px solid var(--ink);
    border-top: 0;
    display: block;
}
.legend {
    padding: 14px 16px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 560px;
}
.legend ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.legend li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
}
.legend .sw {
    width: 16px;
    height: 4px;
    border-radius: 2px;
    display: block;
}
.legend .notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 12.5px;
    color: var(--ink-2);
}
.legend .notes > span {
    display: flex;
    align-items: center;
    gap: 7px;
}
.legend .thick {
    display: flex;
    align-items: center;
    gap: 3px;
}
.legend .thick i {
    width: 18px;
    border-radius: 2px;
    background: var(--ink);
    display: block;
}
.zoom {
    position: fixed;
    right: 432px;
    bottom: 16px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.zgroup {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
}
.zgroup button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}
.zgroup button:hover {
    background: rgba(255, 255, 255, .08);
}
.zsep {
    height: 1px;
    background: rgba(255, 255, 255, .12);
}
body.is-replay .zoom {
    right: 16px;
    bottom: 210px;
}
body.is-replay .bl {
    display: none;
}
