.scrollYSettings {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

.scrollContent {
    display: flex;
    flex-direction: column;
    gap: 1px;
    width: 100%;
    align-items: center;
}

.scrollContent::after,
.scrollContent::before {
    content: "";
    margin-top: 12.5px;
    margin-bottom: 12.5px;
}

#topTextSettings {
    width: calc(100% - 40px);
    margin-top: 45px;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}

.settingsItem {
    position: relative;
    display: flex;
    width: calc(100% - 20px);
    background: var(--bg-itemBackground);
    align-items: center;
    gap: 10px;
    padding: 10px;
    transition: opacity 0.15s;
    cursor: pointer;
}

.settingsItem:active {
    opacity: 0.6;
}
.settingsItem.noActiveAnim:active {
    opacity: 1;
    cursor: default;
}

.settingsItem:not(.settingsUnset) svg {
    position: absolute;
    height: 20px;
    width: 20px;
    right: 25px;
    fill: var(--bg-colorDark0System);
}
.settingsItem .settingsIcon svg {
    position: static;
    height: 15px;
    width: 15px;
    right: unset;
}
.settingsItem.brTop {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    margin-top: 3px;
    padding-top: 15px;
}

.settingsItem.brBottom {
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    margin-bottom: 3px;
    padding-bottom: 15px;
}
.settingsItem input[type="range"] {
    width: calc(100% - 7px);
}
.settingsText {
    font-size: 14px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    max-width: calc(100% - 80px);
    padding-block: 2px;
}
.settingsText.marginLeft {
    margin-left: 10px;
}
.settingsItem .settingsTextSmall {
    font-size: 10px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    max-width: calc(100% - 80px);
    color: gray;
}
.settingsItem .settingsTextSmall.value {
    font-size: 13px;
    font-family: sans-serif;
    font-weight: 550;
    color: gray;
    margin-left: 5px;
}

.settingsTextSmallRight {
    display: grid;
    place-items: center;
    right: 20px;
    font-size: 10px;
    width: 100%;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    color: gray;
}

.toggleBtn {
    position: absolute;
    right: 15px;
    display: flex;
    width: 34px;
    height: 14px;
    border-radius: 20px;
    background: none;
    border: solid 3px gray;
    align-items: center;
    pointer-events: all;
    transition: all 0.3s, border 0.05s 0.15s;
}
.toggleBtn.active {
    background: var(--bg-colorDark6System);
    height: 5px;
    border: solid 3px var(--bg-colorDark6System);
}
.toggleBtn.active::before {
    transform: translate(20px) scale(1.1);
    border: solid 3px var(--bg-colorDark3System);
}
.toggleBtn::before {
    position: absolute;
    content: "";
    top: 50%;
    left: -3px;
    translate: 0 -50%;
    width: 14px;
    height: 14px;
    border-radius: 20px;
    background: var(--bg-appbackground);
    border: solid 3px rgb(175, 175, 175);
    transition: transform 0.3s, border 0.05s 0.15s;
}
.toggleBtn:active {
    scale: 0.9;
}

.sortByY {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 5px;
}

.settingsIcon {
    position: relative;
    display: flex;
    height: 30px;
    width: 30px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #f6526800;
    flex: 0 0 auto;
}

.magrinL5 {
    margin-left: 5px;
}

.space {
    margin: 10px;
}

.closeBtn {
    position: relative;
    display: flex;
    width: 40px;
    height: 40px;
    background-color: rgba(128, 128, 128, 0.1);
    border-radius: 100%;
    transition: 0.3s;
    cursor: pointer;
}
.closeBtn::before,
.closeBtn::after {
    position: absolute;
    content: "";
    left: 50%;
    top: 50%;
    width: 23px;
    height: 3px;
    background: currentColor;
}
.closeBtn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.closeBtn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.closeBtn:active {
    transition: 0.1s;
    scale: 0.9;
    opacity: 0.8;
}
.closeBtn.small {
    width: 35px;
    height: 35px;
    background: none;
}
.closeBtn.small::before,
.closeBtn.small::after {
    width: 17px;
    height: 2px;
}

.contentName {
    color: gray;
    font-size: 12px;
    text-align: left;
    width: calc(100% - 10px);
    font-family: "noto sans", sans-serif;
}

.settingsItem select {
    margin-left: auto;
    min-width: 120px;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: #1c1c1e;
    border: none;
    border-radius: 12px;

    padding: 6px 34px 6px 12px;

    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", "noto sans", sans-serif;

    font-size: 14px;
    font-weight: 500;

    color: #ffffff;

    cursor: pointer;
    transition: all 0.2s ease;
}

.settingsItem select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='white'%3E%3Cpath d='M7 9l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.settingsItem select:focus {
    outline: none;
}

.settingsItem select option {
    background: #1c1c1e;
    color: #ffffff;
}

.settingsItem select:active {
    background-color: #2c2c2e;
}
