.ReviewsBlock1 {
    display: grid;
    margin-top: 30px;
}

.ReviewsBlockComm {
    display: grid;
}

.ReviewsBlockComm h1 {
    margin-bottom: 0;
    font-family: 'Unbounded';
}

@media (min-width: 1200px) {
    .ReviewsBlock1 {
        grid-template-columns: repeat(3, 1fr);
    }

    .ReviewsBlockComm {
        grid-column: 1/3;
    }

    .ReviewsBlockAll {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 970px) and (max-width: 1200px) {
    .ReviewsBlock1 {
        gap: 30px;
        grid-template-columns: repeat(2, 1fr);
    }

    .ReviewsBlockAll {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 970px) {
    .ReviewsBlock1 {
        gap: 30px;
    }

    .ReviewsBlockComm {
        gap: 30px;
    }
}

.ReviewsBlockComm>h5 {
    line-height: 20px;
    white-space: pre-line;
}

.ReviewsBlockComm .ReviewsBlockSoss {
    display: flex;
    gap: 15px;
}

.ReviewsBlockComm .ReviewsBlockSoss>a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    max-width: 40px;
    width: 100%;
    font-weight: 700;
    background-color: var(--button);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: .5s;
}

.ReviewsBlockComm .ReviewsBlockSoss>a:hover {
    color: var(--text-default);
    background-color: var(--span-low);
    border: 1px solid var(--span);
}

.ReviewsBlockComm .ReviewsBlockSoss>a>svg {
    fill: var(--text-custom);
    width: 16px;
    height: 16px;
    transition: .5s;
}

.ReviewsBlockComm .ReviewsBlockSoss>a:hover>svg {
    fill: var(--span);
}

.ReviewsBlockComm .ReviewsBlockScore {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 5px;
}

.ReviewsBlockComm .ReviewsBlockScore>h1 {
    color: #ff6c00;
    margin-bottom: 0;
}

.ReviewsBlockComm .ReviewsBlockScore>div {
    display: grid;
}

.ReviewsBlockComm .ReviewsBlockScore>div>h3 {
    margin-bottom: 0;
}

.ReviewsBlockComm .ReviewsBlockScore>div>h6 {
    margin-left: 1px;
    margin-bottom: 0;
    opacity: .5;
    font-weight: 500;
    color: var(--text-custom);
}

.ReviewsBlockAdd>h2 {
    margin-bottom: 0;
    font-family: 'Unbounded';
}

.ReviewsBlockAdd>h6 {
    margin-bottom: 0;
    opacity: .5;
    font-size: 12px;
    color: var(--text-custom);
    font-weight: 400;
}

.ReviewsBlockAdd>form textarea {
    resize: none;
    padding: 15px;
    margin-top: 30px;
    background-color: var(--card);
    box-sizing: border-box;
    border-radius: 16px;
    width: 100%;
    height: 150px;
    line-height: 20px;
    color: var(--text-default);
}

.ReviewsBlockFormBut {
    display: grid;
    padding: 30px 5px;
    gap: 30px;
    align-items: center;
}

.ReviewsBlockFormBut>button,
.ReviewsBlockFormBut>a.button_steam_auth {
    display: flex;
    cursor: pointer;
    color: var(--text-custom);
    font-weight: 500;
    background-color: var(--button);
    justify-content: center;
    align-items: center;
    height: 40px;
    border-radius: 6px;
    transition: .5s;
}

.ReviewsBlockFormBut>button:hover,
.ReviewsBlockFormBut>a.button_steam_auth:hover {
    filter: brightness(115%);
}

.ReviewsBlock2 {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

.ReviewsBlock2>h1 {
    margin-bottom: 0;
    text-align: center;
    font-family: 'Unbounded';
}

.ReviewsBlockAll {
    display: grid;
    gap: 15px;
}

.ReviewsBlockAllBlock {
    position: relative;
    min-height: 100px;
    border-radius: 16px;
    padding: 15px;
    overflow: hidden;
    background-color: var(--card);
}

.ReviewsBlockAllInfo {
    display: grid;
    gap: 15px;
    grid-template-columns: 50px 1fr;
    align-items: center;
}

.ReviewsBlockAllInfo h4 {
    margin-bottom: 0;
}

.ReviewsBlockAllInfo>a>img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.ReviewsBlockAllText {
    opacity: 1;
    font-size: 12px;
    color: var(--text-custom);
    margin: 15px 0px;
    padding: 10px;
    white-space: pre-line;
    height: 80px;
    overflow: hidden;
    overflow-y: scroll;
    padding-right: 10px;
    border-radius: 12px;
    background: #232323;
}

.ReviewsBlockAllTime {
    color: var(--text-custom);
    position: absolute;
    font-size: 10px;
    opacity: .5;
    left: 50%;
    bottom: 5px;
    transform: translate(-50%, 0px);
}

.ReviewsBlockAllSetting {
    top: 15px;
    right: 15px;
    gap: 5px;
    display: flex;
    position: absolute;
}

.ReviewsBlockAllSetting>a {
    display: flex;
    cursor: pointer;
    font-size: 10px;
    width: 25px;
    height: 25px;
    background-color: var(--red);
    border: 1px solid transparent;
    border-radius: 6px;
    transition: .3s;
    align-items: center;
    justify-content: center;
}

.ReviewsBlockAllSetting>a>svg {
    fill: var(--text-default);
    height: 15px;
    transition: .3s;
}

.ReviewsBlockAllSetting>a:hover {
    background-color: transparent;
    border: 1px solid var(--red);
}

.ReviewsBlockAllSetting>a:hover>svg {
    fill: var(--red);
}

.rating_reviews {
    overflow: hidden;
    margin: 0 auto;
}

.rating_reviews:not(:checked)>input {
    display: none;
}

.rating_reviews:not(:checked)>label {
    float: right;
    cursor: pointer;
    font-size: 40px;
    line-height: 30px;
    opacity: .1;
    color: var(--text-default);
    transition: .5s;
}

.rating_reviews:not(:checked)>label:before {
    content: '\2605';
}

.rating_reviews>input:checked~label {
    color: gold;
    transition: .5s;
    opacity: 1;
    text-shadow: 1px 1px #c60;
}

.rating_reviews:not(:checked)>label:hover,
.rating_reviews:not(:checked)>label:hover~label {
    opacity: 1;
    color: gold;
}

.rating_reviews>input:checked+label:hover,
.rating_reviews>input:checked+label:hover~label,
.rating_reviews>input:checked~label:hover,
.rating_reviews>input:checked~label:hover~label,
.rating_reviews>label:hover~input:checked~label {
    color: gold;
    text-shadow: 1px 1px goldenrod;
}

.rate-area>label:active {
    position: relative;
}

.ReviewsBlockAllInfo>div>a.gold {
    color: gold;
}

a.span-color {
    color: #ffffff;
}

.ReviewsSelection {
    display: flex;
    margin-top: 30px;
}

.ReviewsSelection>a {
    display: flex;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-custom);
    height: 41px;
    padding: 0px 30px;
    justify-content: center;
    align-items: center;
    transition: .3s;
    background-color: var(--card);
}

.ReviewsSelection>a.ReviewsHome {
    border-radius: 12px 0px 0px 12px;
}

.ReviewsSelection>a.ReviewsSettings {
    border-radius: 0px 12px 12px 0px;
}

.ReviewsSelection>a:hover {
    background: var(--button-hover);
}

.ReviewsSelection>a.active_rev {
    color: #ffffff;
    background-color: var(--span-low);
}

.settings_block {
    display: grid;
    gap: 30px;
    margin: 30px 0px;
}

.settings_h1 {
    margin-top: 30px;
    margin-bottom: 0;
}

@media (min-width: 800px) {
    .settings_block {
        grid-template-columns: repeat(2, 1fr);
    }

    .ReviewsBlockFormBut {
        grid-template-columns: repeat(2, 1fr);
    }
}

.settings_block .settings_div {
    display: flex;
    flex-direction: column;
    overflow-x: auto;
    border-radius: 16px;
    background-color: var(--card);
}

.settings_block .settings_div h2 {
    text-align: center;
    line-height: 60px;
    font-size: 20px;
    border-radius: 16px 16px 0px 0px;
    background-color: var(--bg-table);
    margin-bottom: 15px;
    font-family: 'Unbounded';
}

.settings_form>div {
    color: var(--text-custom);
    font-weight: 500;
    padding: 30px 5px 5px 5px;
}

.settings_form input {
    text-indent: 1em;
    line-height: 50px;
    border-radius: 12px;
    box-sizing: border-box;
    padding: 0px 0px;
    width: 100%;
    transition: .5s;
    background-color: var(--input-form);
    color: var(--text-default);
    -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}

.settings_bans {
    display: grid;
    gap: 30px;
    height: max-content;
}

.settings_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    justify-content: center;
    align-content: center;
}

#DataPagination {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

#DataPagination>button {
    cursor: pointer;
    display: flex;
    height: 40px;
    width: 40px;
    font-weight: 500;
    font-size: 12px;
    justify-content: center;
    align-items: center;
    color: var(--text-custom);
    border-radius: 25px;
    transition: .5s;
    background-color: var(--button);
}

#DataPagination>button:hover {
    color: var(--text-custom);
    background-color: var(--button-hover);
}

#DataPagination>button:disabled {
    color: var(--span);
    background-color: var(--span-low);
}

.id_ban_del:before {
    font-size: 15px;
    content: '\1F512';
    cursor: pointer;
}

.id_ban_del:hover:before {
    font-size: 15px;
    content: '\1F513';
    cursor: pointer;
}

.text-left {
    text-align: left;
}

.table-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.style-tabl-time {
    opacity: .5;
    margin-bottom: 0;
}

.settings_form_label {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 30px;
    justify-content: space-between;
    background-color: var(--input-form);
    border-radius: 12px;
    padding: 10px;
}

.settings_form_label>div {
    color: var(--text-custom);
    font-weight: 500;
    font-size: 14px;
}

.settings_form_label input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
}

.settings_form_label>label {
    cursor: pointer;
    width: 50px;
    height: 28px;
    background-color: var(--red);
    display: block;
    border-radius: 25px;
    position: relative;
    transition: .5s;
}

.settings_form_label label:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 17px;
    height: 17px;
    background-color: var(--text-default);
    border-radius: 25px;
    transition: .5s;
}

.settings_form_label input:checked+label {
    background-color: var(--green);
    transition: .5s;
}

.settings_form_label input:checked+label:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

.settings_form_label label:active:after {
    width: 15px;
}

#settings_reviews {
    padding: 0px 15px 15px 15px;
}

#settings_bans {
    padding: 0px 15px 15px 15px;
}

.settings_table {
    padding: 0px 15px;
}

.settings_info {
    display: flex;
    gap: 15px;
    padding: 15px;
    justify-content: center;
    align-items: center;
}

.settings_info_line {
    color: var(--text-custom);
    font-size: 14px;
}

.settings_info_value {
    font-size: 14px;
}

.ReviewsBlockAllLike {
    display: flex;
    gap: 5px;
    position: absolute;
    font-size: 10px;
    right: 20px;
    bottom: 8px;
    cursor: pointer;
    align-items: center;
    transition: .5s;
    color: var(--text-custom);
}

.ReviewsBlockAllLike svg {
    width: 10px;
    fill: var(--text-custom);
    transition: .5s;
}

.ReviewsBlockAllLike:hover {
    color: var(--red);
}

.ReviewsBlockAllLike:hover svg {
    fill: var(--red);
}

.ReviewsBlockAllLike.like_red,
.ReviewsBlockAllLike.like_red svg {
    color: red;
    fill: red;
}

.ReviewsBlockAllLike.like_red:hover {
    color: var(--text-default);
}

.ReviewsBlockAllLike.like_red:hover svg {
    fill: var(--text-default);
}

/* плашка для инфо */
.store-block-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    width: 100%;
    padding: 15px;
    min-height: 40px;
    border-radius: 16px;
    color: #bebebe;
    background: #29241d;
}

.store-block-info>svg {
    height: 30px;
    width: 100%;
    max-width: 30px;
    fill: #ff8800;
}