
.stopwatch-count-settings {
    margin: 0 0 20px;
    padding: 16px 18px;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    background: linear-gradient(180deg, #161616 0%, #101010 100%);
    box-sizing: border-box;
}

.settings-section-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #d8d8d8;
}

.settings-section-hint {
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.4;
    color: #888;
}

.stopwatch-count-control {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-width: 320px;
}

.stopwatch-count-value {
    font-size: 13px;
    font-weight: 600;
    color: #b8c0cc;
    font-family: monospace, ui-monospace, monospace;
}

.stopwatch-count-range {
    width: 100%;
    max-width: 320px;
}

.stopwatch-count-labels {
    max-width: 320px;
}

.public-control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 100px;
    gap: 0px; /* Плотно прижимаем заголовок и метки */
    touch-action: none; /* Отключает браузерные жесты, оставляя только движение слайдера */
}

.public-header {
    font-size: 7px;
    color: #666;
    margin-bottom: 2px;
}

.triple-range {
    -webkit-appearance: none;
    display: block;      /* Убирает лишние отступы инлайнового элемента */
    vertical-align: middle; 
    width: 100%;
    height: 8px;
    background: #333;
    border-radius: 4px;
    outline: none;
    will-change: background;
    transform: translateZ(0); /* Включает GPU-ускорение */
}

/* Кружочек (Thumb) */
.triple-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; /* Немного увеличим для удобства */
    height: 18px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #111;
    
    /* ФИКС ЦЕНТРИРОВАНИЯ */
    /* При высоте трека 8px и высоте кружка 18px: */
    /* (8 / 2) - (18 / 2) = 4 - 9 = -5 */
    margin-top: -0px; 
    
    position: relative;
    z-index: 2;
}

/* Для Firefox (если используете) */
.triple-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #111;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 2px;
}

.range-labels span {
    font-size: 7px;
    color: #555;
    font-family: monospace;
    width: 33%;
    text-align: center;
}
