.scale {
    --side-offset: 17px;
    --bar-height: 50px;
    --indicator-width: 20px;
    width: calc(100% - (var(--side-offset) * 2));
    margin: 0 var(--side-offset);
    box-sizing: border-box;
}

.bar {
    position: relative;
    height: var(--bar-height);
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    overflow: hidden;
}
.rect, .rect-l, .rect-r {
    height: 100%;
    border-top: none;
    border-bottom: none;
    margin-left: 1px;
}
.rect-l, .rect-r {
    height: var(--bar-height);
    position: absolute;
    width: 16px;
}
.bar-desc {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
}
.rect-desc {
    height: 100%;
    border-top: none;
    border-bottom: none;
    margin-left: 2px;
}

.indicator {
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--indicator-width);
    left: calc((100% - var(--indicator-width)) * (var(--indicator-pos) / 200));
    pointer-events: none;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 50px solid rgba(255, 130, 0, 1);
}
.indicator-num {
    position: absolute;
    --shift: clamp(0, (abs(var(--indicator-pos) - 100) - 9) * 999, 1);
    transform: translateX(calc(-5% - (20% * var(--shift))));
    left: calc((100% - var(--indicator-width)) * (var(--indicator-pos) / 200));
    pointer-events: none;
    padding: 0 7px 0 7px;
    margin-top: 2px;
    border-radius: 6px;
    background-color: rgba(255, 130, 0, 1);
    color: black;
    font-weight: 700;
}

.markers {
    position: relative;
    height: 24px;
    margin-top: -20px;
}
.markers span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 12px;
    line-height: 1;
    color: #222;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 1);
    padding: 3px;
}
.markers span:nth-child(1)  { left: 1%; }
.markers span:nth-child(2)  { left: 10%; }
.markers span:nth-child(3)  { left: 20%; }
.markers span:nth-child(4)  { left: 30%; }
.markers span:nth-child(5)  { left: 40%; }
.markers span:nth-child(6)  { left: 50%; }
.markers span:nth-child(7)  { left: 60%; }
.markers span:nth-child(8)  { left: 70%; }
.markers span:nth-child(9)  { left: 80%; }
.markers span:nth-child(10) { left: 90%; }
.markers span:nth-child(11) { left: 99%; }