.font-tester {
    padding: 0;
    color: #111111;
}

.font-tester__controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.font-tester__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.font-tester__label-text {
    font-weight: 400;
}

.font-tester__range,
.font-tester__select {
    box-sizing: border-box;
    font-size: 16px;
}

.font-tester__select {
    border: none;
    background: transparent;
    font-weight: 700;
    padding: 0;
}

.font-tester__size {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 240px;
}

.font-tester input[type="range"].font-tester__range {
    flex: 1;
    min-width: 180px;
    height: 18px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    padding: 0;
}

.font-tester__range::-webkit-slider-runnable-track {
    height: 1px;
    background: #111111;
}

.font-tester__range::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #111111;
    border: 1px solid #ffffff;
    margin-top: -7.5px;
    -webkit-appearance: none;
}

.font-tester__range::-moz-range-track {
    height: 1px;
    background: #111111;
}

.font-tester__range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #111111;
    border: none;
}

.font-tester__value {
    font-weight: 600;
    min-width: 64px;
    text-align: right;
}

.font-tester__sample {
    margin-top: 18px;
    padding: 0;
    min-height: 140px;
    word-break: break-word;
    cursor: text;
}

.font-tester__sample:focus {
    outline: 2px solid #2f6fed;
    outline-offset: 4px;
}
