* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.newbrus {
    text-align: center;
    padding: 10px 10px;
    font-weight: 400;
    font-size: 17px;
    color: steelblue;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.post-video {
    max-width: 240px;
    max-height: 340px;
    border-radius: 15px;
	 }
	 
	 b {
    font-weight: 500;
}
 	 
	 

video.post-video {
    margin-top: 5px;
}



span.icon-camera {
    color: slategrey;
    margin: -10px 0px 0px 27px;
    font-size: 14px;
}


span.target {
    color: forestgreen;
}

.menu_name {
    font-size: 10px !important;
    margin: 0px 3px 0px 0px;
    display: block;
}


.menu-top {
   
    padding: 0px 6px 0px 4px;
    /* border: 1px solid #708090; */
    margin: 5px 20px 10px 20px;
    justify-content: space-between;
    color: #708090 !important;
    font-size: 26px;
}



.new_menu {
    min-width: 15px;
    width: fit-content;
    height: 15px;
    line-height: 15px;
    padding: 0 3px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: orangered;
    margin: 0px 0px -15px -10px;
    z-index: 1111111;
    font-size: 10px !important;
    color: white !important;
    font-weight: 600;
    box-sizing: border-box;
    white-space: nowrap;
    display: block;
}



.replypost {
    /* display: inline; */
    padding: 0px 10px 0px 0px;
    /* color: teal; */
   /*  font-size: 14px; */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background-color: whitesmoke;
    border-radius: 5px;
    padding: 3px 10px 5px 10px;
    margin: 8px 0 6px 0;
    border-left: 2px solid #d0d0d0;
}


span.new {
  min-width: 15px;
    width: fit-content;
    height: 15px;
    line-height: 15px;
    padding: 0 3px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: orangered;
    margin: 0px -24px 0px 0px;
    z-index: 999;
    font-size: 10px;
    color: white;
    font-weight: 600;
    box-sizing: border-box;
    white-space: nowrap;
}


.obsuzh {
   font-size: 14px;
    margin: 3px 0px 0px 0px;
    text-align: center;
    color: #a5a5a5;
}


.author_klikuha {
       font-size: 12px !important;
    color: #ababab;
    margin: -3px 0px -3px 0px;
    display: block;
}

input#edit-nickname {
    padding: 5px 5px 3px 5px;
    width: 220px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin: 0px 5px 5px 0px;
}

 
.post-image {
 width: 180px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 5px;
}


.ava {
    display: grid;
}
.friendshow {
   margin: 0px -2px -5px -10px;
    font-size: 22px;
}

#commentInput::placeholder {
    color: black;
}

.editpost {
    display: none;
    justify-content: space-between;
    gap: 10px;
    background-color: whitesmoke;
    border-radius: 5px;
    padding: 3px 10px 5px 10px;
    margin: 8px 0 6px 0;
    border-left: 2px solid #d0d0d0;
}

.bush-view .text {
    font-size: 14px ;
}

div#bush-view .text {
    font-size: 14px;
}


.emoji-user {
    max-width: 190px;
}

.emoji-user span {
    font-size: 14px !important;
    padding: 0px 5px 5px 10px;
}

.emoji-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
}
.emoji-menu {
    position: fixed;
    background: white;
    border-radius: 20px;
    padding: 12px 16px;
    display: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    border: 1px solid #e0e0e0;
    min-width: 220px;
}
.emoji-user {
   padding: 0px 0px 5px 10px;
    margin: -5px 0px 0px 0px;
    /* border-top: 1px solid #eee; */
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #666;
}
.emoji-user span {
    display: block;
    padding: 3px 0;
}
.emoji-user span:before {
    margin-right: 8px;
}


.editpost {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background-color: whitesmoke;
    border-radius: 5px;
    padding: 3px 10px 5px 10px;
    margin: 8px 0 6px 0;
    border-left: 2px solid #d0d0d0;
}

.reactions-container {
    display: inline;
   padding: 0px 20px 0px 0px;
    color: slategray;
    font-size: 14px;
}

.headmenu {
    /* position: fixed; */
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    /* border-top: 0.5px solid #708090; */
    z-index: 1000;
    /* transition: transform 0.3s ease; */
    display: flex;
    justify-content: space-between;
}


.user {
      display: flex;
    gap: 10px;
    padding: 12px 10px 10px 4px;
    border-bottom: 0.5px solid #e8e8e8;
}

span#invite-url {

    font-size: 12px;
}



.grouplist {
      padding: 5px 10px 10px 22px;
    font-size: 22px;
    line-height: 1;
    border-bottom: 0.5px solid #e8e8e8;
}

img.yamuz {
    width: 20px;
    margin: 0px 5px -5px 0px;
}

.branches {
   padding: 0px 0px 10px 15px;
    display: flex;
    align-items: center;
}

.scroll {
   display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
    /* border-right: 1px solid #d4d4d4; */
    padding: 0px 0px 5px 0px;
}

span.online {
    width: 10px;
    border-radius: 10px;
    display: inline-block;
    background-color: #6ef200;
    height: 10px;
    
}


.comment-field {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding: 8px 0;
    outline: none;
    resize: none; /* Запрещаем ручное изменение размера */
    overflow-y: hidden; /* Скрываем скролл */
    line-height: 1.4; /* Добавьте для лучшего вида */
    max-height: 120px; /* Опционально: ограничиваем максимальную высоту */
}


.scroll::-webkit-scrollbar {
    display: none;
}

.header a {
    text-decoration: none;
}

.last-time {    
    color: #a1a1a6;
    font-size: 14px;
    border-bottom: none;
}




.branches .target {
    
    font-size: 16px !important;
}


.newp {
   display: block;
    text-align: center;
    background-color: #00000096;
    width: 21px;
    height: 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    color: white;
    height: fit-content;
    position: absolute;
    margin: 29px 0px 0px 29px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    
}


.branches span.icon-menu-1 {
    position: sticky;
    right: 0;
    background-color: inherit;
    padding-left: 5px;
    flex-shrink: 0;
    z-index: 1;
    font-size: 25px;
    color: slategray !important;
    cursor: pointer;
}



.branches .icon-plus-squared-alt {
    position: sticky;
    right: 0;
    background-color: inherit;
    padding-left: 5px;
    flex-shrink: 0;
    z-index: 1;
    font-size: 22px;
    color: slategray !important;
    cursor: pointer;
}

.emojis {
    display: inline;
    padding: 0px 10px 0px 0px;
    color: slategray;
    font-size: 14px;
}

.head {
   text-align: center;
    padding: 15px 15px;
    font-weight: 400;
    font-size: 17px;
    color: slategrey;
    /* cursor: pointer; */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
      min-height: 100vh;    
	  
}

.feed {
    max-width: 600px;
    width: 100%;
    background: #ffffff;
    padding-bottom: 80px;
    min-height: 100dvh;
}

.post {
    display: flex;
    gap: 12px;
    padding: 12px 10px;
        border-bottom: 0.5px solid #8a8a8a;
    -webkit-touch-callout: none;
    /*-webkit-user-select: none; */
  /*   user-select: none; */
}

.avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #f0f0f0;
}

.content {
    flex: 1;
}

.header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px;
    justify-content: space-between;
}

.author {
    font-weight: 600;
    font-size: 17px;
    color: #111111;
}

.arrow {
    color: #8e8e8e;
    font-size: 14px;
}

.target {
       color: #000000;
    background-color: #a3a3a31c;
    padding: 1px 10px 3px 10px;
    border-radius: 15px;
    margin: 2px 5px 2px 0px;
    flex-shrink: 0;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
}

.target a {
    color: black;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.target a,
.target a:link,
.target a:visited,
.target a:hover,
.target a:active,
.target a:focus {
    background: transparent !important;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.whom .target {
    align-items: center;
    font-size: 12px;
    color: #000000;
    background-color: #a3a3a333;
    padding: 2px 10px 2px 10px;
    border-radius: 10px;
    margin: 0px 0px 3px 0px;
    flex-shrink: 0;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
}

span.times {
    color: #8e8e8e;
    font-size: 13px;
    margin: 0px 10px 0px 0px;
    display: block;
    position: absolute;
    right: 0px;
}

.timestamp {
  color: #afafaf;
    font-size: 13px;
    margin: -20px 10px 0px 0px;
    display: block;
    text-align: right;
}

.dot {
    color: #8e8e8e;
    font-size: 13px;
    margin: 0 2px;
}

.text {
   font-size: 16px;
    line-height: 1.45;
    color: #1c1c1e;
    font-weight: 400;
    /*-webkit-user-select: text !important; */
    /* user-select: text !important;  */
	white-space: pre-wrap;
    word-wrap: break-word;
	overflow-wrap: anywhere;
    margin-bottom: 5px;
	-webkit-touch-callout: none;      /* отключает меню при долгом нажатии */
    -webkit-user-select: none;        /* отключает выделение текста на iOS */
    user-select: none;                /* стандартное отключение выделения */
}

.media .media-title {
    color: #111;
    font-weight: 500;
}

.reply {
    margin: 8px 0 6px 0;
    padding-left: 10px;
    border-left: 2px solid #d0d0d0;
}

.reply-author {
    font-size: 13px;
    color: #6c6c70;
    margin-bottom: 4px;
}

.reply-text {
    font-size: 14px;
    color: #3a3a3c;
}

.footer-note {
    text-align: center;
    padding: 24px 16px 20px;
    color: #a1a1a6;
    font-size: 13px;
    border-bottom: none;
}

span.media-title a {
    color: cornflowerblue;
    font-size: 14px;
}

.branch {
    position: relative;
    display: flex;
    flex-direction: column;
     
}

.branch .post {
    border-bottom: none;
}

.branch .post:last-child {
    border-bottom: 0.5px solid #e8e8e8;
}

.branch .post:not(:last-child) {
    position: relative;
}

.branch .post:not(:last-child)::before {
   content: '';
    position: absolute;
    left: 31px;
    top: 70px;
    bottom: 0px;
    width: 1px;
    background: #adadb0;
    z-index: 0;
}

.branch .post:not(:first-child) .avatar {
    position: relative;
    z-index: 1;
    background: white;
}

.branch .post:not(:first-child) .avatar::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 21px;
    width: 16px;
    height: 2px;
    background: #c0c0c0;
    z-index: 0;
}

.attach-btn, .send-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #8e8e8e;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-field {
   flex: 1;
    border: none;
    background: transparent;
    font-size: 18px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding: 10px 0;
    outline: none;
}

.menu-buttons {
     
    
    
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    border-radius: 50px;
    padding: 0px 10px;
    border: 1px solid #9c9c9c;
    margin: 10px 20px 10px 20px;
	justify-content: space-between; 
}

.menu-buttons span {
    font-size: 28px  ;
    color: slategrey  ;
    cursor: pointer;
}

.menu-buttons span:active, .attach-btn:active, .send-btn:active {
    background: none !important;
    -webkit-tap-highlight-color: transparent;
}

.bottom-menu {
   position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
/*    border-top: 0.5px solid #708090; */
    z-index: 1000;
    transition: transform 0.3s ease;
    /*box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08); */
}

.bottom-menu.hide {
    transform: translateY(100%);
}

.comment-wrapper {
   position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 600px;
    margin: 0 auto;
    /* background: #ffffff; */
    /*border-top: 0.5px solid #e8e8e8; */
   padding: 10px 15px;
    z-index: 1001;
  /*  transform: translateY(100%);  */
  /*  transition: transform 0.3s ease;  */
}

.comment-wrapper.show {
    transform: translateY(0);
}

.comment-input-wrapper {
    padding: 10px 16px;
    background: #ffffff;
    border-bottom: 0.5px solid #e8e8e8;
}

.comment-input-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border-radius: 40px;
    padding: 6px 12px;
	border: 1px solid #9c9c9c;
}

.emoji-menu {
    position: fixed;
    background: white;
    border-radius: 20px;
    padding: 12px 16px;
    display: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 10000;
    border: 1px solid #e0e0e0;
    min-width: 220px;
}

.emoji-row {
       display: flex;
    gap: 2px;
    justify-content: center;
    padding-bottom: 0px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.emoji-row span {
   cursor: pointer;
    padding: 5px 5px 5px 5px;
    display: inline-block;
    color: slategray !important;
    font-size: 22px !important;
}

.menu-row {
    display: block;
    
}

.menu-row span {
  padding: 5px 10px;
    color: #696969 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0px 0px 0px 0px !important;
}

.post, .post * {
    -webkit-touch-callout: none !important;
/*    -webkit-user-select: none !important;  */
/*    user-select: none !important; */
    -webkit-tap-highlight-color: transparent;
}


.menup {
   /*display: flex; */
    text-align: center;
   
}



.foto-container {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.foto-container::-webkit-scrollbar {
    display: none;
}

.foto {
    display: flex;
    gap: 10px;
    flex: 1; /* как у .scroll */
}

.foto img {
    border-radius: 10px;
    height: 130px;
    width: auto;
    flex-shrink: 0;
}



input#edit-name {   
    padding: 5px 5px 3px 5px;
    width: 90px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin: 0px 5px 5px 0px;
}

input#edit-email {
    padding: 5px 5px 3px 5px;
    width: 220px;
    border-radius: 5px;
    border: 1px solid #ccc;
	margin: 0px 5px 5px 0px;
}

input#edit-lastname {
    padding: 5px 5px 3px 5px;
    width: 120px;
    border-radius: 5px;
    border: 1px solid #ccc;
	margin: 0px 5px 5px 0px;
}

input#edit-phone {
    padding: 5px 5px 3px 5px;
    width: 140px;
    border-radius: 5px;
    border: 1px solid #ccc;
	margin: 0px 5px 5px 0px;
}

input#edit-pincode {
    padding: 5px 5px 3px 5px;
    width: 70px;
    border-radius: 5px;
    border: 1px solid #ccc;
	margin: 0px 5px 5px 0px;
	text-align: center;
}


button#save-btn,
button#cancel-btn,
button#save-bush-btn,
button#cancel-bush-btn {
    padding: 5px 15px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
 
 
 
 textarea#edit-bush-descrip,
input#edit-bush-name {
    width: 90%;
    padding: 5px 5px 3px 5px;
  
    border-radius: 5px;
    border: 1px solid #ccc;
    margin: 0px 5px 5px 0px;
    color: slategrey;
}



div#bush-edit {
   
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 0.5px solid #e8e8e8;
    -webkit-touch-callout: none;
 
    user-select: none;
}


a.newbrus {
    text-align: center;
    padding: 10px 10px;
    font-weight: 400;
    font-size: 17px;
    color: steelblue;
    cursor: pointer;
    text-decoration: none;
   
    display: block;
}