:root {
    --max_w: 1685px;
    --colorBlue: #7b83eb;
}



.user_avatar {
    width: 100%;
    height: 238px;
    display: flex;
    border-radius: 9.5px;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(21px);
    background: #0b0b0b91;
}

span.style_name {
    font-weight: bold;
    letter-spacing: 1.2px;
    margin-right: 10px;
}
.user-badge {
    align-content: center;
}
.user_info {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.style_select_params {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
select.style_select_wall {
    background: transparent;
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-size: 14px;
    border: solid 1px #444444d6;
}

input.profile_input  {
    background: transparent;
    border: none;
    outline: none;
    border: solid 1px white;
    border-radius: 4px;
    height: 38px;
    width: 100%;
    color: white;
    font-size: 16px;
    text-indent: 15px;
}


.wrp_ {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.set_social {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

button.btn_save_style {
    height: 32px;
    max-width: max-content;
    padding: 4px 22px;
    border-radius: 4px;
    cursor: pointer;
}

option {
    color: #ffffff;
    background: #151515;
    font-size: 14px;
}
span.close-btn {
    cursor: pointer;
    display: flex;
    background: #343434;
    backdrop-filter: blur(4px);
    border-radius: 3px;
    width: 28px;
    aspect-ratio: 1;
    justify-content: center;
    align-items: center;
    transition: all 0.4s;
}

span.close-btn:hover {
    background: #3b3b3b;
    transition: all 0.4s;
}

p, span, div {
    cursor: default;
}

.wall_open {
    margin-top: 0.5rem;
    width: 100%;
    padding: 15px;
    border-radius: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(21px);
    background: #0b0b0b91;
}
span.user_activity {
    display: flex;
    color: #c2c2c2;
    background: linear-gradient(45deg, #5b5b5b1c, transparent);
    backdrop-filter: blur(19px);
    border-left: 3px solid #7b83eb;
    padding-left: 30px;
    border-radius: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: space-between;
    padding-right: 30px;
}
span.user_activity a {
    color: #555;
    text-decoration: underline;
    text-decoration-color: #9090a93b;
   cursor: pointer;
}
.friend_block {
    width: 100%;
}

.selection_friends {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 10px;
}

.user_friends, .friend_adds {
    padding: 15px;
    display: flex;
    flex-direction: column;
    border-radius: 7px;
    backdrop-filter: blur(21px);
    background: #0b0b0b91;
}
.user_friends el, .friend_adds el {
    padding-bottom: 10px;
    border-bottom-style: solid;
    border-color: #ffffff08;
    border-width: 1px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}


.friend_block {
    position: relative;
    overflow: hidden;
}

.friend_block .username  {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

button.accept_friend {
    position: absolute;
    bottom: 18px;
    right: 0;
    background: #a3a3ff;
    padding: 4px 14px;
    border-radius: 50px;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.friend_block:hover .text {
    /* Обрезаем текст при наведении */
    max-width: calc(100% - 80px); /* оставляем место для кнопки */
    text-overflow: ellipsis;
}

.friend_block:hover .accept_friend {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}


.tab-button_set {
    max-width: 230px;
    min-width: 230px;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    height: 33px;
    color: #ffffff;
    outline: none;
    border: none;
    border-radius: 3px;
    transition: all 0.4s;
    background: linear-gradient(to left, #99a0b666, #b7cfee73);
}

.tab-button_set.active {
    background-color: #15248f;
    transition: all 0.4s;
}

.tab-button_set:hover {
    background-color: #15248f;
    transition: all 0.4s;
}

.tab-content_set {
    padding: 10px;
    border-radius: 5px;
    width: 100%;
}   
.tab-menu_set {display: flex;gap: 10px;flex-direction: column;align-content: center;}


.tro img {
    cursor: help;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    box-shadow: 0px 0px 4px 0px #ffffff33;
    transition: all 0.40s;
}
.tro img:hover {
    transition: all 0.40s;
    transform: scale(1.2);
    box-shadow: none;
}
.tro {
    display: flex;
    gap: 15px;
    padding-top: 1rem;
}

.friend_top {
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 10px;
    display: flex;
}

span.date_reg {
    color: #555;
    font-size: 18px;
}

span.friend_activity {
    font-size: 14px;
    color: #555;
}
.tab_set {
    display: flex;
    gap: 1rem;
    backdrop-filter: blur(21px);
    background: #0b0b0b91;
    margin-top: 15px;
    padding: 15px;
    border-radius: 7px;
    flex-direction: row-reverse;
}
span.role {
    text-transform: uppercase;
    padding: 3.5px 13px;
    border-radius: 50px;
    font-size: 10px;
    letter-spacing: 1.2px;
}

.friend_top img {
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 50px;
    padding: 2px;
    border: solid 2px #ffffff47;
}

.feed_content {
    font-size: 14px;
    color: #acaaad;
}

.friend_name {
    cursor: pointer;
    font-size: 16px !important;
}

.profile_wrap {
    gap: 10px;
    display: flex;
    justify-content: center;
}

span.username {
    display: flex;
    color: aliceblue;
    font-size: 25px;
    gap: 5px;
    align-items: center;
}

span.admin img {
    margin-top: 7px;
}

.profile_wrap {
    margin: 0 auto;
}

.feed_wrap {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.feed_block .user_avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 3px;
    border: solid 2px var(--colorBlue);
    cursor: pointer;
}

.user_avatar img {
    width: 192px;
    height: 192px;
    border-radius: 9px;
    aspect-ratio: 1/1;
}

span.feed_author {
    font-size: 16px;
    cursor: pointer;
}

span.trophies {
    color: #555;
    font-size: 16px;
}

span.bot {
    font-size: 11px;
    background: var(--colorBlue);
    padding: 3.5px 13px;
    border-radius: 50px;
    color: white;
}

.user_buttons {
    gap: 5px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 7px;
    backdrop-filter: blur(21px);
    background: #0b0b0b91;
    z-index: 0;
}

span.friend_name {
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 90%;
    text-indent: 3px;
    max-width: fit-content;
}

.user_avatar_wrap {
    max-width: 238px;
    min-width: 238px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user_buttons button {
    display: flex;
    width: 100%;
    font-size: 14px;
    align-items: center;
    justify-content: center;
}

.userBtnStyle {
    min-height: 32px;
    max-height: 32px;
    padding: 5px;
    border-radius: 4px;
    outline: none;
    border: none;
}

button.add_friend {
    background: var(--colorBlue);
    color: white;
}

.line_bio {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

/*------------------*/
.tab-controls {backdrop-filter: blur(21px);background: #0b0b0b91;padding: 15px;border-radius: 7px;height: auto;display: flex;gap: 15px;overflow: hidden;overflow-x: auto;white-space: nowrap;-webkit-overflow-scrolling: touch;scroll-behavior: smooth;-webkit-scroll-behavior: smooth;}

.tab-button {
    font-family: "Proxima Nova Bold";
    display: flex;
    gap: 7px;
    font-size: 14px;
    padding: 6px 23px;
    cursor: pointer;
    border-radius: 4px;
    color: #fffffffa;
    align-items: center;
    transition: var(--transitionBtn);
    letter-spacing: 1.1px;
    backdrop-filter: blur(20px);
    border: solid 1px #2d2d2d82;
    background: #8a8c8c21 !important;
    transition: all 0.4s;
}

.tab-button.active {
    backdrop-filter: blur(20px);
    border: solid 1px #54545482;
    background: #8887874f !important;
}

.tab-button:hover {
    transform: scale(0.95);
    transition: all 0.4s;
}

.tab-content {

    /* margin: 1rem 0; */
}

.tab-content.hidden {
    display: none;
}

.tab-content:not(.hidden) {
    display: flex;    /* gap: 8px; */
    flex-direction: column;
}

.tab-controls::-webkit-scrollbar {
    display: none;
}


@media screen and (max-width:750px) {
    main {

        width: 95% !important;
    }

}

@media(max-width:820px) {
    main {
        padding: 0 !important;
    }
    .profile_wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
        /* width: 95%; */
    }

    .user_avatar_wrap {
        width: 100%;
        max-width: 100%;
    }
    span.friend_name {

    }

}

/* ____________ */
.user_header {
    min-height: 238px;
    display: flex;
    gap: 10px;
    border-radius: 7px;
    padding: 15px;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: linear-gradient(to right, rgba(16, 16, 16, 9.94) 15%, rgba(223, 49, 133, 0.17) 100%), url("https://cdn.disearch.space/bg_anime.webp");
}

.feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.ii {
    display: flex;
    gap: 10px;
}
.feed_block {
    display: flex;
    margin-top: 10px;
    gap: 10px;
    color: aliceblue;
    padding: 15px;
    border-radius: 7px;
    align-items: flex-start;
    justify-content: flex-start;
    backdrop-filter: blur(21px);
    background: #0b0b0b91;
    /* flex-direction: column; */
}

.module {/* background: #0b0b0b; *//* padding: 15px; */border-radius: 7px;z-index: 0;margin-top: 0.5rem;}

span.root {
    letter-spacing: 1.2px;
    background: #f7f7f7;
    padding: 4.5px 20px;
    border-radius: 4px;
    color: rebeccapurple;
    text-shadow: 0 0 0px #e24545;
    font-size: 11px;
    align-items: center;
    text-transform: uppercase;
    align-content: center;
}

.new_post {
    width: 100%;
    padding: 15px;
    border-radius: 7px;
    gap: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-direction: column;
    backdrop-filter: blur(21px);
    background: #0b0b0b91;
}

.new_post img {
    width: 42px;
    height: 42px;
    border-radius: 50px;
    padding: 2px;
    border: solid 2px var(--colorBlue);
}

.feeds span {
    color: #555;
    font-size: 14px;
}

.not {
    margin: 10px 0;
    width: 100%;
    backdrop-filter: blur(21px);
    background: #0b0b0b91;
    padding: 15px;
    border-radius: 7px;
    gap: 10px;
    font-size: 14px;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    color: #555;
}
img.none_posts {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.feeds {
    background: #0b0b0b;
    padding: 15px;
    border-radius: 7px;
    margin: 5px 0;
}

textarea.post {
    padding: 10px;
    outline: none;
    border: solid 1px #55515185;
    background: transparent;
    border-radius: 7px;
    min-height: 41px;
    color: #fbefef;
    height: auto;
    width: 100%;
    font-size: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

button.submit_newpost {
    padding: 2px 29px;
    border-radius: 7px;
    outline: none;
    border: solid 2px #555;
    height: 40px;
    width: fit-content;
    background: transparent;
    color: white;
    font-size: 14px;
    transition: var(--transitionBtn);
}

.post_wrap {
    width: 100%;
    display: flex;
    gap: 15px;
}

.feeds-wrap {
    display: flex;
    margin: 15px 0;
    gap: 10px;
    flex-direction: column;
}

button#submit_post:hover {
    transition: var(--transitionBtn);
    background: #212121;
}

span.feed_top {
    display: flex;
    gap: 10px;
    align-items: center;
}

.feed_info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

span.feed_date {
    color: #555;
    font-size: 14px;
}

::placeholder {
    font-size: 14px;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
    color: var(--colorBlue);
    text-indent: 1px
}

img.media_in_feed {
    background-size: cover;
    max-width: 100%;
    width: 100%;
    border-radius: 12px;
    height: 100%;
    padding-top: 1rem;
    border: none;
    max-width: 100%;
    max-height: 400px;
    margin: 0px 0;
    display: inline;
}
img.overlay.big {
    bottom: 0;
    height: 271px;
    left: 0;
    object-fit: cover;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(-14%) translateY(-4%);
    width: 307px;
    z-index: 12;
}

form {
    display: flex;
    width: 100%;
    align-items: flex-end;
    flex-direction: column;
}

.post {
    resize: none;
    overflow: hidden;
    height: auto;
    min-height: 41px;
}
div#author_feed:hover .delete_post {
    display: block !important;
}
.delete_post {

    border-radius: 4px;
    position: absolute;
    right: 15px;
    background: #201f1f;
    padding: 4px;
    font-size: 12px;
    transition: 0.4s all;
}

.delete_post:hover {
    background: #ff818129;
    transition: 0.4s all;
}

.comment {
    display: flex;
    gap: 10px;
    color: aliceblue;
    padding: 5px 0;
    border-radius: 7px;
    align-items: flex-start;
    justify-content: flex-start;

}

.comment_block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wall_comments {
    border-top: 1px solid #363636a3;
    margin-top: 0rem;
    padding-top: 5px;
    width: 100%;
}

abbr.DateTime {
    color: #ffffff75;
    text-decoration: none;
}
el span:first-child {
    color: #a3a3ff;
    padding-left: 10px;
    font-size: 20px;
}
.mention {
    cursor: pointer;
.inter_style {
    background: #20202082;
    padding: 4px 15px;
    border-radius: 50px;
    border: solid 2px #20202000;
    backdrop-filter: blur(20px);
    transition: 0.4s all;
    user-select: none;
}

.feed_intergation {
    display: flex;
    gap: 10px;
}

.inter_style:hover {
    border: solid 2px white;
    transition: 0.4s all;
}
.comment_content {
    font-size: 14px;
    color: #acaaad;
    overflow-wrap: anywhere;
}

.er_sn {
    animation: animation_error 1s
}
@keyframes animation_error {
0% {
    transform: translateX(0)
}

25% {
    transform: translateX(2.5px)
}

50% {
    transform: translateX(-2.5px)
}

75% {
    transform: translateX(2.5px)
}

100% {
    transform: translateX(0)
}

}