.succ_ok {
    background-color: #48c74c;
    color: #fff;
    padding: 12px;
}

.bbcode a img {
  margin-right: 4px;
  opacity: 0.5;
}

.bbcode a img:hover  {
  filter: none;
}

@supports (position:sticky) {
    .bbcode a img {
      filter: grayscale(1);
      transition: filter .2s;
      opacity: 1;
    }
}

.bbcode {
  background: #212a31;
  padding: 15px 15px 0px 15px;
}

.login {
    display: block;
    /* padding-left: 5px; */
    /* background: #212a31; */
    /* color: #fff; */
    /* border-top: 1px solid #1a2127; */
    transition: background .2s;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.ava_usr {
    max-width: 100%;
    margin: 0px auto;
}

.login_menu {
    flex: 1 1 200px;
    padding-left: 10px;
    line-height: 1.4;
    /*font-size: 13px;*/
    width: 100%;
    word-wrap: break-word;
}
.login_status {
    font-size: 13px;
    word-break: break-all;
}

.time {
    float: right;
    border: 1px solid #5f5e5e;
    background: #777777;
    color: #fff;
    border-radius: 7px;
    font-size: 11px;
    padding: 3px 5px;
    /* color: #4d575f; */
    margin-right: 6px;
    margin-top: 3px;
    font-weight: bold;
}

.furum_nav_adm {
    padding: 5px;
    margin: 6px 0;
}
.furum_nav_adm a{
    background: #de7676;
    color:#fff;
    border-radius: 20%;
    padding:6px;
}
.furum_nav_adm a:hover{
    background: #bb3535;
}

.lock-th {
    padding: 0;
    border: 0;
    width: 32px;
    height: 32px;
    background-color: #0000;
    background-image: url(/views/icon/lock-th.png);
    background-size: contain;
    background-repeat: no-repeat;
    float: left;
    margin-right: 10px;
}

.lock-th-m {
    padding: 0;
    border: 0;
    width: 18px;
    height: 18px;
    background-color: #0000;
    background-image: url(/views/icon/lock-th.png);
    background-size: contain;
    background-repeat: no-repeat;
    float: left;
    margin-right: 10px;
}

/*stiker forum*/


.lclose {
    color: #fff;
    padding: 5px 8px;
    background: #ad3030;
    border-radius: 5px;
    cursor: pointer;
    position: sticky;
    top: 1px;
    float: right;
}
 
/*stiker forum*/
.vip {
    background: #350c77;
    /*font-size: 11px;*/
}

/*
table{border-spacing:10px;counter-reset:numrows;}
tr::before{counter-increment:numrows;content:counter(numrows)}
*/

.num {
    
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  not supported by any browser */
    background: #000;
    margin-right: 15px;
    padding: 2px;
}
.num_block {
   display: -webkit-box;
}

.search_ic {
    padding: 0;
    border: 0;
    width: 17px;
    height: 17px;
    background-color: #0000;
    background-image: url(/views/icon/search_b.png);
    background-size: contain;
    background-repeat: no-repeat;
    float: left;
    margin-right: 10px;
}
.plus_ic {
    padding: 0;
    border: 0;
    width: 17px;
    height: 17px;
    background-color: #0000;
    background-image: url(/views/icon/plus_b.png);
    background-size: contain;
    background-repeat: no-repeat;
    float: left;
    margin-right: 10px;
}

.spfo {
    /*margin: 5px;*/
    border: 1px solid #7c86e4;
    border-left: 7px solid #7c86e4;
    padding: 3px 10px;
}

.ftop {
    background: #70ad61;
    font-size: 11px;
}

.blog_view {
   /* background: #eee;*/
    padding: 10px;
    font-size: 13px;
    border: 1px solid #d9d9d9;
}

.flex_nav {
    display: flex;
    text-align: center;
}

.flex_nav > r {
    padding: 6px;
    margin-top: 10px;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
    border-left: 1px solid #e9e9e9;
    flex: 1;
    vertical-align: middle;
}
.flex_nav > r:last-child {
    border-right: 1px solid #e9e9e9;
}
.padding_menu {
    padding: 8px;
}

.green-div {
    display: inline-block;
    background: #1eaf5f;
    padding: 3px;
    color: #fff;
}
.green-div a{color: #fff;}
.green-div a:hover{background: #3ddf86;}

.red-div {
    background: #dd4141;
    display: inline-block;
    padding: 3px;
    color: #fff;
}
.red-div a{color: #fff;}
.red-div a:hover{background: #dd4141;}

.hashtag {
    padding: 4px;
    background: #e5e5e5;
    margin: 2px;
    border-radius: 5px;
    line-height: 2;
}

.error {
    padding: 7px;
    background: #e76c6c;
    color: #f9f9f9;
}

.forum_file {
    background: #f5eba6;
    /* color: #e9e9e9; */
    font-size: 13px;
    padding: 5px;
    border-radius: 7px;
    font-weight: 500;
}

.progress {
    border-radius: 6px;
}

.f_top_mess {
	overflow: hidden;
	position: relative;    
}
.f_top_mess.hide {
	height: 300px;
}
.f_top_mess.hide:after{
	content: "";
	display: block;
	height: 100px;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	/*background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #000 150%);*/
}

.count_right {
    background: #bcbcbc;
    display: inline-block;
    float: right;
    padding: 4px;
    color: #fff;
}

.div_comm {
    padding-left: 6px;
    border-left: 3px solid #4f8bc9;
    border-bottom: 1px solid #cbcbcb;
    margin-left: 40px;
}

.noContent {
  color: #000 !important;
  background-color: transparent !important;
  pointer-events: none;
}


         .spoiler-list-sp {
            
             display:none;
         }
 
         .d-block-sp {
             display: block;
         }
 
         .menu-link-sp {
             display:block;
             padding:7px 0;
         }

/*
.menu-button-sp{
*/
.spoiler-sp {
  display: block;
  position: relative;
  /*z-index: 9999;*/
  cursor: pointer;
  }
  
  .spoiler-sp : hover {
      text-decoration: none;
  }
  
  .spfo a:hover {
    text-decoration: none;
}

/* Убираем стандартный маркер Chrome */
/*
details summary::-webkit-details-marker {
  display: none
}
*/
/* Убираем стандартный маркер Firefox */
/*
details > summary {
  list-style: none;
}

details > summary:hover {
  cursor: pointer;
}
*/
/* Добавляем собственный маркер для закрытого состояния */
/*
details summary:before {
  content: '+';
 
  margin-right: 7px;
  border: 1px solid #4c4c4c;
  padding: 0 4px;
  border-radius: 3px;
  float: right;
}
*/
/* Добавляем собственный маркер для открытого состояния */
/*
details[open] summary:before {
  content: '-';
}
*/
.noti-text {
    border: 2px solid #93af9d;
    /*margin-left: 25px;*/
    margin-top: 5px;
    padding: 5px;
    border-radius: 6px;
}

.more_item {
    padding: 5px;
    border: 1px solid #5b92cb;
    border-radius: 6px;
    background: #4f8bc9;
    color: #fff;
    display: inline-block;
    margin-top: 8px;
}
.more_item:hover {
    background: #1860ab;
}
.round {
    border-radius: 50%;
    border: 2px solid #eee;
   }
   /*
   .red-div {
    background: #db4545;
    padding: 13px;
}
.red-div a {
    color: #fff;
}
*/
.black-div{
    background: #303030;
    padding: 13px;
    color: #fff;
}
.black-div a {
    color: #fff;
}

.ico {
    padding: 3px;
    background: #579144;
    border-radius: 5px;
}

.ico:hover {
    background: #dd4d4d;
}

.confirm {
    text-align: center;
    padding: 10px;
}


.confirm a {
    padding: 12px;
    margin: 12px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: bold;
	color: #dfdfdf;
}

.confirm a:hover {
	padding: 10px;
}

.confirm_ok {
	background: #1eaf5f;
	border: 2px solid #1d9d57;
}


.confirm_no {
	background: #dd4141;
	border: 2px solid #db2a2a;
}

.bbcode_panel {
    padding: 6px;
}
.bbcode_panel img {
    margin: 2px;
}
.bbcode_panel img:hover {
    /*padding: 4px;*/
    background: #bdbdbd;
    /*border-radius: 50%;*/
}
.q a {
    text-decoration: underline;
}


        .progressbar {
	height: 12px;
	position: relative;
	background: #555;
	padding: 2px;
	border-radius: 0 10px 10px 0;
   /* width: 65%;*/
    /*max-width: 200px;*/
    
    margin-left: 28px;
}
        .progressbar > span {
  display: block;
  height: 100%;
  background-color: rgb(43,194,83);
  position: relative;
  overflow: hidden;
  border-radius: 0 10px 10px 0;
}

.progressbar_text {
   text-align: center;
    position: absolute;
    width: 100%;
    left: 0;
    top: 1px;
    font-size: 12px;
    color: #fff;
    z-index: 1;
}

.progressbar_level{
  display: inline-block;
  background: #198f48;
  color: #000;
  text-align: center;
  border-radius: 50%;
  padding: 0.5em  0;
  width:2em;
  height:1em;
  position: absolute;
  z-index:1;
  margin-top: -10px;
  color: #fff;
  border: 2px dotted #2d831a;
  line-height: 1.1;
  box-sizing: unset;
}

.div-item {
    display: inline-block;
    background: #f8f9cc;
    color: #9d8b05;
    padding: 2px;
    border-radius: 4px;
}

.progressbar1 {
    margin: 0 50px;
    
}

details {
 border-bottom: 1px solid #dee2e6;
 padding: 10px;
 }
 details summary::-webkit-details-marker {
   display: none
 }
 
 details > summary {
   list-style: none;
   font-weight: bold;
 }
 
 details > summary:hover {
   cursor: pointer;
 }
 
 
 details summary:before {
   content: url("data:image/svg+xml; utf8, <svg enable-background='new 0 0 32 32' version='1.1' height='24' width='24' viewBox='0 0 32 32'  xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><path d='M24.285,11.284L16,19.571l-8.285-8.288c-0.395-0.395-1.034-0.395-1.429,0  c-0.394,0.395-0.394,1.035,0,1.43l8.999,9.002l0,0l0,0c0.394,0.395,1.034,0.395,1.428,0l8.999-9.002  c0.394-0.395,0.394-1.036,0-1.431C25.319,10.889,24.679,10.889,24.285,11.284z' fill='%23ccc'/></svg>");
   padding: 0 4px;
   float: right;
 }
 
 details[open] summary:before {
   content: url("data:image/svg+xml; utf8, <svg enable-background='new 0 0 32 32' version='1.1' height='24' width='24' viewBox='0 0 32 32'  xml:space='preserve' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><path d='M16.714,11.297c-0.389-0.389-1.039-0.389-1.429,0l-8.999,8.976  c-0.394,0.394-0.394,1.033,0,1.426c0.394,0.394,1.034,0.394,1.428,0L16,13.436l8.285,8.264c0.395,0.394,1.034,0.394,1.429,0  c0.394-0.394,0.394-1.033,0-1.426L16.714,11.297z' fill='%23ccc' /></svg>");
 }
 
.del_inl {
    padding: 5px 9px;
    float: right;
   
   
    position: relative;
   
    z-index: 9;
    margin-top: -5px;
}

.inline > b {
    display: inline-block;
    padding: 12px 0;
    background-color: var(--menu-bg);
    /* color: #454545; */
    width: 48%;
    border: var(--border);
}
.icons-ava {
    display: block;
}

.icon-ava-level{
	padding: 3px;
    /*background: #ff6766;*/
    border: 1px solid #fff;
    border-radius: 50%;
    position: absolute;
    margin-left: -12px;
    margin-top: 4px;
    font-size: 8px;
    padding: 0.3em 0;
    width: 1.6em;
    height: 1em;
    line-height: 1;
    text-align: center;
    color: #fff;
    /* padding-right: 20px; */
    box-sizing: unset;
}

.icon-ava-online{
	padding: 3px;
    background: #49bb0f;
    border: 1px solid #fff;
    border-radius: 50%;
    position: absolute;
    margin-left: -12px;
    margin-top: -21px;
    font-size: 8px;
    padding: 0.3em 0;
    width: 1.6em;
    height: 1em;
    line-height: 1;
    text-align: center;
    color: #fff;
    /* padding-right: 20px; */
    box-sizing: unset;
}

.user_repl {
    font-size: x-small;
    background: #ebebeb;
    padding: 2px 1px;
    border-radius: 5px;
}












.like {
    position: relative;
}

.reactions__menu {
    position: absolute;
    top: -2.8rem;
    left: -.05rem;
    display: none;
    max-width: 11rem;
    padding: .25rem .5rem;
    background: hsl(224.31deg 5.02% 8.55% / 77%);
    backdrop-filter: blur(.5rem);
    border-radius: 5rem;
    overflow: hidden;
    border: .01rem solid hsl(0deg 0% 100% / 10%);
    line-height: 1;
    z-index: 5;
    transition: .5s;
}

.reactions__menu.active {
    display: block;
    animation: slide-in-top 0.25s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.reactions__menu.hide {
    display: block;
    animation: slide-in-back 0.25s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.reactions__menu.wide {
    max-width: 100%;
}

.reactions__menu.narrow {
    max-width: 11rem;
    transition: .25s;
}

.reactions__expand {
    position: absolute;
    right: -.15rem;
    top: -.05rem;
    background: hsl(0deg 0% 11.18%);
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='a' data-name='Слой 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cpath d='m202.183,130l-95.97,95.98c-2.54,2.53-5.86,3.8-9.19,3.8s-6.65-1.27-9.19-3.8c-5.06-5.07-5.06-13.31,0-18.38l77.61-77.6L87.833,52.4c-5.06-5.07-5.06-13.31,0-18.38,2.46-2.45,5.72-3.8,9.19-3.8s6.73,1.35,9.19,3.8l95.97,95.98Z' fill='%23fff'/%3E%3C/svg%3E");
    background-size: 1rem;
    background-repeat: no-repeat;
    background-position: center .35rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 100%;
    font-size: 1rem;
    font-weight: 500;
    color: hsl(0deg 0% 100%);
    text-align: center;
    cursor: pointer;
    transition: .3s;
}

.wide .reactions__expand {
    transform: rotate(180deg);
}

.reactions__expand.hide {
    display: none;
}

.reactions__icons {
    width: 1.5rem;
    height: 1.5rem;
    fill: #3e5569;
}

.reactions__trigger {
    position: relative;
    top: -.075rem;
    background: none;
    border: none;
    padding: .41rem .6125rem;
    display: inline-block;
    border-radius: .5rem;
}

.reactions__trigger:focus {
    outline: none;
}

.reactions__list {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1;
    transition: width .25s;
}

.reactions__menu .reactions__list li:nth-last-child(2) {
    margin: 0 2rem 0 0;
}

.few .reactions__list li:nth-last-child(2) {
    margin: 0;
}

.reactions__item {
    padding: .25rem .25rem;
    cursor: pointer;
    transition: .15s;
    font-size: 1.125rem;
    will-change: transform;
    transition: transform 0.2s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    filter: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><filter id="gaussian_blur" ><feGaussianBlur in="SourceGraphic" stdDeviation="0" /></filter></defs></svg>#gaussian_blur');
}

.reactions__item:hover {
    transform: scale(1.375);
}

.reactions__display {
    padding: 0 0 .75rem 0;
}

.reactions__display .reactions__list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1;
    gap: .25rem;
    flex-wrap: wrap;
}

.reactions__display .reactions__item {
    padding: .5rem;
    cursor: pointer;
    transition: .15s;
    background: hsl(215.45deg 7.67% 84.99%);
    border-radius: 1rem;
    font-size: .875rem;
}

.reactions__my .reactions__item {
    background: hsl(210deg 15.79% 92.55%);
}

.reactions__display .reactions__item:hover {
    transform: scale(1);
    background: hsl(220deg 1.35% 91.22%);
}

.reactions__my .reactions__item:hover {
    transform: none;
    background: hsl(210deg 15.79% 92.55%);
}

.reactions__display .reactions__item:active {
    transform: scale(.9);
}

.reactions__my .reactions__item:active {
    transform: none;
}

.reactions__count {
    padding: 0 .25rem 0 0;
    font-size: .875rem;
    font-weight: 500;
    color: hsl(220deg 6.76% 26.38%);
}

.particle {
    position: absolute;
    pointer-events: none;
    user-select: none;
    transition: all 1.25s ease-out;
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes slide-in-top {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-in-back {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(1rem);
        opacity: 0;
    }
}

.like.like__touch a {
    padding: .3rem .5rem;
    display: inline-block;
    border: .01rem solid hsl(0 0% 85% / 1);
    border-radius: .5rem;
    transition: .25s;
    line-height: 1.4;
}

.like.like__touch a:hover {
    background-color: hsl(0deg 0% 93.7%);
    border-color: hsl(0deg 0% 89.76%);
}

.post__number {
    padding: 0 .5rem;
    display: inline-block;
    border-radius: .5rem;
    font-weight: 300;
    font-size: .825rem;
    line-height: 1.75;
    background: none;
    color: hsl(0deg 0% 44.2%);
}

.post__menu {
    position: relative;
}

.post__menu .login {
    padding-bottom: .5rem;
}

.time {
    float: right;
    margin: .375rem .25rem 0 0;
    border-radius: 5rem;
    font-size: .6875rem;
    font-weight: 600;
    padding: .25rem .5rem;
    background: hsl(0deg 0% 91.34%);
    color: hsl(0deg 0% 40.94%);
    border: none;
}

.link_visual {
    word-wrap: break-word;
    white-space: pre-wrap;
}

.friends {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    align-items: center;
    flex-wrap: wrap;
}

.friends__link a {
    float: none;
    padding: .5rem .75rem;
    border-radius: .5rem;
    line-height: 1;
}

.furum_nav_adm {
    display: flex;
    width: 100%;
    padding: .5rem 0 0;
    gap: .25rem;
}

.furum_nav_adm a {
    padding: .3rem .5rem;
    display: inline-block;
    border: .01rem solid hsl(0deg 58.01% 79%);
    border-radius: .5rem;
    transition: .25s;
    line-height: 1.4;
    background: hsl(0deg 61.25% 92.68%);
    color: hsl(0deg 47.11% 34.46%);
}

.furum_nav_adm a:hover {
    background: hsl(0deg 100% 83.49%);
    border-color: hsl(0deg 79.41% 64.81%);
}

.card.rounded-3 {
    margin: 0 0 .75rem 0;
}

.menu3 {
    background-color: var(--menu-bg);
    /* box-shadow: 0px 2px 2px #c4c4c4; */
    /* margin: 0 5px 0 5px; */
    border-bottom: var(--menu-border);
    box-shadow: var(--box-shadow);
    position: relative;
}

.post__video {
    border-radius: .5rem;
    object-fit: cover;
    object-position: center;
    background: #b4b4b4;
}

.button__settings {
    position: absolute;
    top: 8px;
    right: 7px;
    margin: 0;
    padding: .35rem;
    color: hsl(0deg 0% 65.35%);
    background: none;
    border: none;
    font-size: 1.375rem;
    line-height: 0;
}

.button__settings span {
    font-size: inherit;
}

.topic__access {
    background-color: #ffffe8 !important;
    color: #8a713e;
}

.title__access {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.topic__access a {
    text-decoration: underline;
}

.ssyl2__icons {
    margin: 0 6px 0 0;
}

.menu__checkbox {
    padding: 0 0 13px 0;
}

.menu__note {
    margin: 0 0 1rem;
    padding: 13px 16px;
    border-left: .2rem solid #c300ff;
    background: #f7dcff;
    color: #6b2d7d;
}

a.link__access {
    display: inline-block;
    margin: 10px 0 0;
    padding: 5px 10px;
    background: #e1dfc5;
    border-radius: 6px;
    color: #676553;
    text-decoration: none;
}

#change_design {
    padding: 5px;
    background: hsl(0deg 0% 100% / 15%);
    border-radius: 4px;
    cursor: pointer;
    transition: .25s;
    position: absolute;
    right: 18px;
    top: 17px;
}

#change_design:hover {
    opacity: .5;
}



:root {
    --chat_form: #f6f8fa;
    --chat_from-b: solid #92a29f;
    --chat_bg: linear-gradient(180deg, #bdd2ce, #dbe7e7);
    --chat_bg-b: solid #92a29f;
    --chat_mes-m: #f1f0e2;
    --chat_mes: #f6f8fa;
    --chat-color-t: inherit;
    --chat_action: .01rem solid hsl(0 0% 85% / 1);
    --chat_action-t: #323232;
}






[type=button]:disabled {
    opacity: .5;
    filter: grayscale(1);
}

.chat__message {
    position: relative;
    min-width: 220px;
    margin: 0 0 0 48px;
    padding: 14px 16px 16px;
    transition: opacity 0.5s ease-in-out;
    border-radius: 8px;
    background: var(--chat_mes);
    color: var(--chat-color-t);
}

.chat__message::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 21px;
    border-style: solid;
    border-width: 12px 12px 8px 0;
    border-color: transparent var(--chat_mes) transparent transparent;
}

.chat__message-me::before {
    left: auto;
    right: -8px;
    border-color: transparent var(--chat_mes-m) transparent transparent;
    transform: rotate(180deg);
}

.chat {
    display: flex;
    padding: 16px;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    height: 80dvh;
    overflow-y: scroll;
    scrollbar-color: #00000042 #00000017;
    scrollbar-width: thin;
    border-radius: 0 0 8px 8px;
    background: var(--chat_bg);
    border: var(--chat_bg-b);
    border-width: 0 1px 1px 1px;
}

.chat__form {
    padding: 8px 16px 16px;
    background: var(--chat_form);
    border: var(--chat_from-b);
    border-width: 0 1px 1px;
}

.chat__message .login_menu {
    display: block;
    flex: none;
    padding: 0;
    margin: 0;
}

.chat__message .icons-ava {
    position: absolute;
    top: 16px;
    right: 16px;
    opacity: .45;
    display: flex;
}

.chat__message .ava_usr {
    max-width: 100%;
    margin: 0px auto;
    position: absolute;
    left: -52px;
    top: 12px;
}

.chat__message .icons-ava div {
    position: relative;
    margin: 0;
}

.chat__message .icons-ava div img {
    width: 100%;
    height: 100%;
    margin: 0;
}

.chat__message .user img {
    vertical-align: sub;
    margin: 0 2px 0 0;
}

.chat__message .login {
    margin: 0 0 8px 0;
    padding: 0;
}

.chat__message .button__delete, .chat__message .button__reply {
    border: none;
    background: none;
    padding: .3rem .5rem;
    display: inline-block;
    transition: .25s;
    line-height: 1.3;
    font-size: 13px;
    outline: none;
    border: var(--chat_action);
    color: var(--chat_action-t);
    border-radius: .5rem;
}

.chat__message .button__delete {
    color: #ff0000;
}

.chat__information {
    margin: 12px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat__information .time {
    float: none;
    position: inherit;
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 11px;
    font-weight: 600;
    background: none;
    color: #bfbfbf;
    line-height: 0;
    border-radius: 0;
}

.chat__message-me .ava_usr {
    display: none;
}

.chat__message-me {
    align-self: end;
    background: var(--chat_mes-m);
}

 .send_new {
    animation: slide-in-top 0.25s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
 }

@keyframes slide-in-top {
  0% {
            transform: translateY(-100%);
    opacity: 0;
  }
  100% {
            transform: translateY(0);
    opacity: 1;
  }
}

span.badge.badge-success.badge-beta {
    background: #66abe7;
}

.fullModeChat {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    width: 100dvw;
    min-width: 100dvw;
    max-width: 100dvw;
    z-index: 5500;
    background: #7c7c7c;
    padding: 0 !important;
}

.fullModeChat .card.rounded-3 {
    display: none !important;
}

.fullChat {
    float: right;
    background: #ffffff73;
    border: 0;
    color: #F6F8FA;
    -webkit-appearance: button;
    padding: 2px 7px;
    margin: 2px 3px 1px;
    font-size: 14px;
    border-radius: 5px;
    max-width: 500px;
    outline: none;
    cursor: pointer;
}

@media screen and (max-width: 1731px) {
    .topbar .top-navbar .navbar-nav>.nav-item>.nav-link {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .collapse:not(.show) {
        display: block !important;
    }
    #change_design {
        right: 44px;
        top: 17px;
    }
}

@media screen and (max-width: 425px) {
    .login {
        padding-bottom: 2rem;
    }
    .results .menu3 {
        padding-bottom: 2rem;
    }
    
    .results .login {
        padding-bottom: .5rem;
    }

    .menu.post__menu {
        margin: 0 0 .25rem 0;
        padding: .75rem .75rem 2.5rem;
    }
    .reactions__menu {
        max-width: 9.5rem;
        top: -3.25rem;
        overflow-x: scroll;
        scrollbar-width: none;
    }
    .reactions__item {
        padding: .5rem .5rem;
    }
    .reactions__display .reactions__item {
        padding: .65rem .65rem .6rem;
        border-radius: 5rem;
        font-size: .875rem;
    }
    .reactions__expand {
        display: none;
    }
    .like.like__touch a {
        padding: .5rem .6125rem;
    }
    .post__number {
        position: absolute;
        bottom: -2rem;
        right: 0;
    }
    .time {
        position: absolute;
        bottom: .85rem;
        left: .75rem;
        float: none;
        margin: 0;
        padding: 0;
        border: none;
        background: none;
        font-size: .75rem;
        font-weight: 300;
        color: hsl(0deg 0% 44.2%);
    }
    .downl .time {
        position: relative;
        top: 0;
        right: auto;
        left: .5rem;
    }
    .page-wrapper>.container-fluid, .page-wrapper>.container-lg, .page-wrapper>.container-md, .page-wrapper>.container-sm, .page-wrapper>.container-xl, .page-wrapper>.container-xxl {
        padding: 10px !important;
    }
}

/* ===== Profile page (layout-only, theme-safe) ===== */

/* Не навязываем цвета теме */
.profile-page{
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 10px 18px;
  color: inherit;
}

.profile-card{
  /* стараемся не ломать твои карточки: минимум вмешательства */
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0;
  overflow: hidden;
}

/* если у темы нет фона у карточек — задаём аккуратно */
.profile-card{
  background: var(--card, rgba(255,255,255,.9));
  border: 1px solid var(--border, rgba(0,0,0,.08));
  box-shadow: var(--shadow, 0 6px 18px rgba(0,0,0,.10));
}

/* Шапка */
.profile-head{
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
  align-items: start;
}

.profile-avatar{
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

/* Ограничиваем то, что возвращает avatar() (там часто <img>) */
.profile-avatar img{
  width: 120px !important;
  height: 120px !important;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Если avatar() возвращает ссылку/обёртку */
.profile-avatar a img{
  width: 120px !important;
  height: 120px !important;
}

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

.profile-name h1{
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.profile-sub{
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  opacity: .78; /* вместо бледных цветов */
}

.profile-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 10px;
}

/* Плашки */
.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border, rgba(0,0,0,.12));
  background: rgba(127,127,127,.10);
  font-size: 13px;
  line-height: 1;
  color: inherit;
}

.pill--good{ background: rgba(46, 204, 113, .14); border-color: rgba(46, 204, 113, .30); }
.pill--warn{ background: rgba(241, 196, 15, .16); border-color: rgba(241, 196, 15, .32); }
.pill--bad { background: rgba(231, 76, 60,  .14); border-color: rgba(231, 76, 60,  .30); }

/* Кнопки */
.profile-actions{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(0,0,0,.12));
  background: rgba(127,127,127,.10);
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.btn:hover{ filter: brightness(1.04); }
.btn:active{ transform: translateY(1px); }

.btn--primary{ background: rgba(52, 152, 219, .16); border-color: rgba(52, 152, 219, .32); }
.btn--danger { background: rgba(231, 76, 60,  .16); border-color: rgba(231, 76, 60,  .32); }

/* Разделы */
.profile-section-title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
}

/* Таблица ключ-значение */
.kv{
  display:grid;
  grid-template-columns: 170px 1fr;
  gap: 8px 14px;
  align-items: baseline;
}

.kv .k{
  font-size: 13px;
  font-weight: 700;
  opacity: .68;
}

.kv .v{
  font-size: 14px;
  word-break: break-word;
}

/* разделитель */
.hr{
  height:1px;
  background: var(--border, rgba(0,0,0,.10));
  margin: 12px 0;
}

/* уведомления */
.notice{
  border: 1px solid var(--border, rgba(0,0,0,.10));
  background: rgba(127,127,127,.08);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 10px 0;
}

.notice h3{ margin:0 0 6px; font-size: 15px; font-weight: 900; }
.notice .muted{ opacity:.8; font-size: 13px; }

.notice--bad{ background: rgba(231, 76, 60, .10); border-color: rgba(231, 76, 60, .26); }
.notice--warn{ background: rgba(241,196,15, .12); border-color: rgba(241,196,15, .28); }

/* medals */
.profile-medals img{
  max-height: 28px;
  height: auto;
  width: auto;
  vertical-align: middle;
}

/* collapsible */
.profile-collapse summary{
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  user-select: none;
}
.profile-collapse summary::-webkit-details-marker{ display:none; }
.profile-collapse .summary-row{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  align-items:center;
}
.profile-collapse .chev{
  opacity:.7;
  font-size: 12px;
}

/* URL block */
.profile-url{
  display:flex;
  gap: 8px;
  align-items:center;
  flex-wrap:wrap;
}
.profile-url input{
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(0,0,0,.12));
  background: rgba(127,127,127,.10);
  color: inherit;
}

/* Mobile */
@media (max-width: 480px){
  .profile-head{ grid-template-columns: 1fr; }
  .kv{ grid-template-columns: 1fr; }
  .profile-avatar{ align-items: center; }
  .profile-avatar img{ width: 128px !important; height: 128px !important; }
}
