.ReviewsBlock1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* Главный контейнер отзывов и формы */
@media (min-width: 1100px) {
    .ReviewsBlock1 {
        grid-template-columns: 2fr 1fr;
        align-items: stretch;
    }
}
@media (min-width: 1100px) {
    .ReviewsBlock1 {
        grid-template-columns: 2fr 1fr;
        align-items: flex-start; /* выравнивает оба блока по верхнему краю */
    }
}
.ReviewsBlockComm,
.ReviewsBlockAdd {
    height: 100%;
    margin-top: 0;
}
.ReviewsBlockComm h1,
.ReviewsBlockAdd h2 {
    margin-top: 0;
}
.ReviewsBlockComm h1,
.ReviewsBlockAdd h2 {
    font-family: 'Unbounded';
    font-size: 22px;
    font-weight: 600;
}
.ReviewsBlockComm,
.ReviewsBlockAdd {
    height: 100%;
}
/* Блок с общей оценкой */
.ReviewsBlockComm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    border-radius: 13px;
    padding: 16px;
    background-color: var(--card);
    overflow: hidden;
}

/* Оценка */
.ReviewsBlockComm .ReviewsBlockScore {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ReviewsBlockComm .ReviewsBlockScore > h1 {
    margin-bottom: 0;
    font-family: 'Unbounded';
    font-size: 22px;
}

.ReviewsBlockComm .ReviewsBlockScore > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ReviewsBlockComm .ReviewsBlockScore > div > h3 {
    margin: 0;
    font-size: 18px;
}

.ReviewsBlockComm .ReviewsBlockScore > div > h6 {
    margin: 0;
    opacity: .6;
    font-weight: 500;
    color: var(--text-custom);
    font-size: 13px;
}
.ReviewsBlockAdd {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 13px;
    padding: 10px;
    background-color: var(--card);
}
.ReviewsBlockAdd h2 {
    margin-bottom: 0;
    font-family: 'Unbounded';
    font-size: 22px;
}
.ReviewsBlockAdd h6 {
    opacity: .5;
    font-size: 12px;
    color: var(--text-custom);
    font-weight: 400;
}
.ReviewsBlockAdd textarea {
    resize: none;
    padding: 15px;
    margin-top: 10px;
    background-color: var(--input-form);
    border-radius: 16px;
    width: 100%;
    height: 80px;
    color: var(--text-default);
    border: 1px solid transparent;
    transition: 0.3s;
}
.ReviewsBlockAdd textarea:focus {
    border-color: var(--span);
}
.ReviewsBlockFormBut {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    padding-top: 15px;
}
.ReviewsBlockFormBut button,
.ReviewsBlockFormBut a.button_steam_auth {
    flex: 1;
    min-width: 120px;
    cursor: pointer;
    color: var(--text-custom);
    font-weight: 500;
    background-color: var(--button);
    justify-content: center;
    align-items: center;
    height: 40px;
    border-radius: 8px;
    transition: .3s;
}
.ReviewsBlockFormBut button:hover,
.ReviewsBlockFormBut a.button_steam_auth:hover {
    filter: brightness(115%);
}
.ReviewsBlock2 {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}
.ReviewsBlock2 h1 {
    text-align: center;
    font-family: 'Unbounded';
    margin: 0;
}








.ReviewsBlockFormBut {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    padding-top: 15px;
}
.ReviewsBlockFormBut > button, .ReviewsBlockFormBut > a.button_steam_auth {
    flex: 1;
    min-width: 120px;
    cursor: pointer;
    color: var(--text-custom);
    font-weight: 500;
    background-color: var(--button);
    justify-content: center;
    align-items: center;
    height: 40px;
    border-radius: 8px;
    transition: .3s;
}
.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;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.ReviewsBlockAllBlock {
    position: relative;
    border-radius: 16px;
    padding: 15px;
    background-color: var(--card);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ReviewsBlockAllInfo {
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: center;
    gap: 10px;
}
.ReviewsBlockAllInfo h4 {
    margin-bottom: 0;
}
.ReviewsBlockAllInfo > a > img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}
.ReviewsBlockAllText {
    opacity: 1;
    font-size: 13px;
    color: var(--text-custom);
    margin: 15px 0px;
    padding: 10px;
    white-space: pre-line;
    height: 60px;
    overflow: hidden;
    overflow-y: scroll;
    padding-right: 10px;
    border-radius: 12px;
    background: var(--bg-modal);
}
.ReviewsBlockAllTime {
    position: absolute;
    bottom: 8px;
    left: 15px;
    font-size: 11px;
    color: var(--text-custom);
    opacity: .5;
}
.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: var(--span);
    transition: .5s;
    opacity: 1;
	text-shadow: 1px 1px rgb(102, 50, 145);
}
.rating_reviews:not(:checked) > label:hover,
.rating_reviews:not(:checked) > label:hover ~ label {
    opacity: 1;
	color: var(--span);
}
.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: var(--span);
	text-shadow: 1px 1px goldenrod;
}
.rate-area > label:active {
	position: relative;
}
.ReviewsBlockAllInfo > div > a.gold {
    color: var(--span);
}
a.span-color {
    color: var(--span)
}
.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: var(--span);
    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;
    align-items: center;
    gap: 5px;
    position: absolute;
    bottom: 8px;
    right: 15px;
    font-size: 12px;
    color: var(--text-custom);
    cursor: pointer;
    transition: .3s;
}
.ReviewsBlockAllLike svg {
    width: 10px;
    fill: var(--text-custom);
    transition: .5s;
}
.ReviewsBlockAllLike:hover {
    color: rgba(255, 75, 75, 0.966);
}
.ReviewsBlockAllLike:hover svg {
    fill: rgba(255, 75, 75, 0.966);;
}
.ReviewsBlockAllLike.like_red, .ReviewsBlockAllLike.like_red svg {
    color: rgba(255, 75, 75, 0.966);
    fill: rgba(255, 75, 75, 0.966);
}
.ReviewsBlockAllLike.like_red:hover {
    color: var(--text-default);
}
.ReviewsBlockAllLike.like_red:hover svg {
    fill: var(--text-default);
}