@import url(https://fonts.googleapis.com/css?family=Noto+Naskh+Arabic+UI);
@import url(https://fonts.googleapis.com/css?family=Noto+Kufi+Arabic);
body {
  font-family:
    noto kufi arabic,
    sans-serif,
    trebuchet ms,
    lucida grande,
    lucida sans unicode,
    arial,
    helvetica,
    sans-serif;
}
.lazy {
  opacity: 1;
}
.grad_bigger_border,
.grad_small_border {
  border-radius: 1000px;
  background: gray;
  display: flex;
}
.grad_bigger_border {
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}
.grad_small_border {
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
}
.small_av {
  height: 23px !important;
  width: 23px !important;
}
.absolute_center {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.user_item_frame_avatar_new {
  display: table-cell;
  vertical-align: middle;
  width: 48px;
  height: 48px;
  position: relative;
}
.over,
.over2,
.over3,
.overlist,
.under {
  position: absolute;
}
.user_item_frame_inner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  cursor: pointer;
}
.overlist {
  z-index: 1;
  left: 0;
}
.ul_fr_bg {
  width: 46px;
  top: -6px;
}
.ul_fr_av {
  left: 5px;
  top: 5px;
}
.over {
  z-index: 1;
  left: 0;
  top: 0;
}
.over2 {
  z-index: 1;
  left: 0;
}
.chat_frame_avatar {
  display: inline-block;
  position: relative;
  vertical-align: top;
  width: 33px;
}
.chat_frame_avatar_inner2 {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  display: block;
  overflow: hidden;
  cursor: pointer;
}
.ch_fr_av {
  left: 0;
  top: 4px;
}
.ch_fr_bg {
  width: 37px;
  top: -5px;
}
.ch_fr_rich_bg {
  width: 40px;
  height: 44px;
  top: -5px;
  right: -2px;
}
.over_pro {
  position: absolute;
  z-index: 1;
  left: 0;
}
#submit_button,
.chat_message,
.pro_title,
.quiz_bad,
.quiz_good,
.quiz_hint,
.quiz_question,
.ranking_lm {
  font-weight: 700;
}
.chat_system {
  color: #000;
}
.inline {
  display: inline !important;
}
.iblock {
  display: inline-block;
}
.flexcenter,
.my_text2 {
  display: table-cell;
}
.user_item_sex {
  width: 24px;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  font-size: 20px;
}
.girl {
  border-color: #f9f;
  color: #f9f;
}
.boy {
  border-color: #03add8;
  color: #03add8;
}
.nosex {
  color: #a1a1a1;
  border-color: #a1a1a1;
}
.toplist_avatar,
.toplist_avatar2 {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.toplist_avatar {
  position: relative;
  width: 70px;
  height: 70px;
}
.toplist_avatar2 {
  position: relative;
  width: 48px;
  height: 48px;
}
.topav_default {
  margin-left: 15px;
}
.topav_circle {
  border-radius: 50%;
  display: block;
  width: 36px;
  height: 36px;
}
.toplist_name {
  display: table-cell;
  padding: 0 5px;
}
.in_room_element,
.toplist_item2 {
  display: table;
  table-layout: fixed;
  width: 100%;
}
.toplist_item2 {
  padding: 10px 5px 5px;
  margin-bottom: 5px;
  height: 64px;
}
.in_room_name,
.page_drop_text,
.page_menu_text,
.toplist_name {
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  overflow: hidden;
}
.in_room_icon,
.profile_close {
  font-size: 20px;
  text-align: center;
}
.over2,
.over3,
.over_pro {
  pointer-events: none;
}
.bcell_mid_center,
.centered_element,
.in_room_icon,
.profile_close,
.tcenter {
  text-align: center;
}
#submit_button,
.sub_gift .chat_message {
  color: #fff !important;
}
#submit_button,
.chat_message,
.pro_title,
.quiz_bad,
.quiz_good,
.quiz_hint,
.quiz_question,
.ranking_lm {
  font-weight: 700;
}
body {
  font-family:
    noto kufi arabic,
    sans-serif,
    trebuchet ms,
    lucida grande,
    lucida sans unicode,
    arial,
    helvetica,
    sans-serif;
  line-height: 1.2;
}
.boy,
.sex-boy {
  border-color: 2px solid #03add8;
}
.girle,
.sex-girl {
  border-color: 2px solid #f9f;
}
.other,
.sex-other {
  border: 2px solid #ccc;
}
.seenn {
  background: #ffe6f2;
  color: #330019;
}
.profile_close {
  display: table-cell;
  vertical-align: middle;
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 15px;
  margin: 0 auto;
  z-index: 2;
  cursor: pointer;
}
.toplist_avatar,
.toplist_avatar2 {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.toplist_avatar {
  position: relative;
  width: 70px;
  height: 70px;
}
.toplist_avatar2 {
  position: relative;
  width: 48px;
  height: 48px;
}
.topav_default {
  margin-left: 15px;
}
.topav_circle {
  border-radius: 50%;
  display: block;
  width: 36px;
  height: 36px;
}
.toplist_name {
  display: table-cell;
  padding: 0 5px;
}
.in_room_element,
.toplist_item2 {
  display: table;
  table-layout: fixed;
  width: 100%;
}
input {
  user-select: text;
  -webkit-user-select: text;
}
.toplist_item2 {
  padding: 10px 5px 5px;
  margin-bottom: 5px;
  height: 64px;
}
.in_room_element {
  height: 40px;
  cursor: pointer;
}
.in_room_name,
.page_drop_text,
.page_menu_text {
  display: table-cell;
  font-weight: bold;
  font-size: 12px;
}
.in_room_count {
  width: 105px;
  padding: 10px;
  text-align: left;
  font-weight: bold;
}
.in_room_icon {
  width: 40px;
  position: relative;
  text-align: center;
}
.in_room_icon .room_cicon {
  width: 30px;
  height: 30px;
  margin: 0 auto;
}
.in_room_count,
.in_room_icon {
  vertical-align: middle;
  display: table-cell;
}
.in_room_count .room_ctag {
  width: 14px;
  height: 14px;
  display: inline-block;
  margin: 0 5px;
  vertical-align: middle;
}
.noview {
  background: #2b2b2b12;
}
.glens {
  height: 50px;
}
.chat_system {
  color: #000;
}
.inline {
  display: inline !important;
}
.iblock {
  display: inline-block;
}
.flexcenter,
.my_text2 {
  display: table-cell;
}
.chat_avatar {
  width: 23px;
}
.icon_action {
  display: inline-block;
  margin: 0 3px;
  font-size: 12px;
  width: 16px;
  color: #9b9b9b;
}
.other_logs {
  padding: 7px 8px;
}
.quiz_bad span,
.quiz_good span,
.quiz_hint span,
.quiz_question span,
.send_btn {
  color: #fff;
}
#disabled_content,
#main_input,
#main_load_content {
  height: 38px;
  width: 100%;
}
#main_header,
#my_menu,
#page_wrapper,
.btable_height,
.input_table,
.intro_social_btn,
.out_page_container,
.page_drop_item,
.page_full,
.page_menu_item,
.split,
.ulist_item,
.user_item,
.warning_box {
  table-layout: fixed;
}
.main_item {
  width: 38px;
  height: 100%;
  font-size: 20px;
  display: table-cell;
  position: relative;
}
#submit_button {
  width: 100%;
  float: right;
  height: 100% !important;
  box-shadow: none !important;
  padding: 0;
  border: none !important;
  font-size: 16px;
}
.send_btn {
  border-radius: 100px;
  background: #222;
}
#emo_item {
  padding: 0;
  top: 6px;
  width: auto;
  height: 26px;
}
#emo_item,
#emo_item_priv,
.prev_right_btn {
  right: 12px;
  position: absolute;
}
#content,
#message_content {
  width: 100%;
  height: 100%;
  padding: 0 32px 0 12px;
  float: left;
  font-size: 16px;
  border-radius: 100px;
}
.logmsg {
  background: rgba(107, 61, 85, 0.13);
  color: red;
  padding: 3px;
  font-size: 1.1em;
}
.chat_message {
  font-family:
    HelveticaNeue,
    noto kufi arabic,
    Arial,
    sans-serif;
  vertical-align: middle;
  display: inline;
}
.grad_bigger_border,
.grad_small_border {
  border-radius: 1000px;
  background: gray;
  display: flex;
}
.grad_bigger_border {
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}
.grad_small_border {
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
}
.small_av {
  height: 23px !important;
  width: 23px !important;
}
.absolute_center {
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.user_item_frame_avatar_new {
  display: table-cell;
  vertical-align: middle;
  width: 48px;
  height: 48px;
  position: relative;
}
.over,
.over2,
.over3,
.overlist,
.under {
  position: absolute;
}
.user_item_frame_inner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  cursor: pointer;
}
.overlist {
  z-index: 1;
  left: 0;
}
.ul_fr_bg {
  width: 46px;
  top: -6px;
}
.ul_fr_av {
  left: 5px;
  top: 5px;
}
.over {
  z-index: 1;
  left: 0;
  top: 0;
}
.over2 {
  z-index: 1;
  left: 0;
}
.chat_frame_avatar {
  display: inline-block;
  position: relative;
  vertical-align: top;
  width: 33px;
}
.chat_frame_avatar_inner2 {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  display: block;
  overflow: hidden;
  cursor: pointer;
}
.ch_fr_av {
  left: 0;
  top: 4px;
}
.ch_fr_bg {
  width: 39px;
  top: -5px;
}
.over_pro {
  position: absolute;
  z-index: 1;
  left: 0;
}
.gift___message {
  background-image: linear-gradient(
    143.3deg,
    #d81b60 33.1%,
    #ed6b9a 74.9%
  ) !important;
  outline: #d9e167 dashed 1px;
  outline-offset: -4px;
  box-shadow: inset 0 0 10px #e7d074;
  padding: 8px;
}
#av_menu,
.user_item {
  border-radius: 0;
}
.user_item {
  position: relative;
  overflow: hidden;
}
.user_item .np_bg,
.user_item img.np_bg,
.user_item video.np_bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.92;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.user_item .user_item_avatar,
.user_item .user_item_frame_avatar_new,
.user_item .user_item_data,
.user_item .user_item_icon,
.user_item .user_item_sex {
  position: relative;
  z-index: 1;
}
.user_item.bm_has_np {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  direction: rtl !important;
  isolation: isolate !important;
  background: #fff !important;
  max-width: 280px;
}
.user_item.bm_has_np .np_bg,
.user_item.bm_has_np img.np_bg,
.user_item.bm_has_np video.np_bg {
  opacity: 0.92 !important;
  mix-blend-mode: normal !important;
  filter: brightness(1.08) contrast(1.06) !important;
}
.user_item.bm_has_np > .user_item_avatar,
.user_item.bm_has_np > .user_item_frame_avatar_new {
  display: block !important;
  flex: 0 0 auto !important;
}
.user_item.bm_has_np > .user_item_data,
.user_item.bm_has_np > .user_item_name {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.user_item.bm_has_np > .user_item_icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 24px !important;
}
.user_item.bm_has_np > .user_item_option {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 40px !important;
}
.user_item.bm_has_np > .user_item_flag {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 24px !important;
}
.user_item.bm_has_np > .user_item_sex {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 24px !important;
}
.modal_wrap_top.pro_top {
  position: relative;
  overflow: hidden;
}
.modal_wrap_top.pro_top .peffect_bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0.92;
  transform: scaleX(-1);
}
.profile_effect_overlay video {
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.profile_overlay_img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@supports (-webkit-touch-callout: none) {
  .user_item .np_bg,
  .user_item img.np_bg,
  .user_item video.np_bg {
    transform: scaleX(-1) !important;
    -webkit-transform: scaleX(-1) !important;
  }
  .modal_wrap_top.pro_top .peffect_bg {
    transform: none !important;
    -webkit-transform: none !important;
  }
  .profile_effect_overlay video {
    transform: none !important;
    -webkit-transform: none !important;
  }
  .profile_overlay_img video {
    transform: none !important;
    -webkit-transform: none !important;
  }
}
.modal_wrap_top.pro_top .bg_pro_cover,
.modal_wrap_top.pro_top .btable,
.modal_wrap_top.pro_top .brow {
  position: relative;
  z-index: 1;
}
.footer_item {
  width: 50px;
  text-align: center;
}
.footer_item p {
  font-size: 12px;
  margin: 0;
  line-height: 1;
  color: #fff;
}
.adnoyer_log {
  padding: 3px;
  background: linear-gradient(0deg, #2ca98587, transparent);
  border: 1px solid #f5f5dc;
  margin: 3px 0;
}
.chat_ico_inv {
  position: absolute;
  top: 14px;
  right: -2px;
  background: #fff;
  border-radius: 10px;
  font-size: 15px;
}
.user_item_flag img {
  width: 18px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 2px;
}
.modal_top {
  border-radius: 5px 5px 0 0;
}
.modal_pad {
  padding: 0 0 20px;
}
#over_modal_content,
#small_modal_content {
  padding: 15px 15px 0;
}
.form_split {
  width: 100%;
}
.clear,
.clear10,
.clear15,
.clear20,
.clear25,
.clear3,
.clear30,
.clear5,
.form_split,
.ptdate {
  clear: both;
}
.label {
  margin: 5px 0;
  font-size: 12px;
}
.selectboxit-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.pdetails_icon {
  display: table-cell;
  vertical-align: middle;
  width: 22px;
}
#large_modal,
#small_modal {
  -webkit-tap-highlight-color: transparent;
}
.modal_back {
  backdrop-filter: blur(3px);
}
.in_room_element {
  border-bottom: 1px solid #e2e2e2;
}
.chat_video_container_old {
  width: 173px;
  max-width: 100% !important;
  position: relative;
  margin-top: 5px;
}
.bg_pro_cover {
  display: table;
  width: 100%;
  position: relative;
  height: inherit;
  transition: 1.5s;
}
.border_bottom,
.box_title,
.list_element,
.listing_element,
.panel_bar,
.post_element,
.ulist_item,
.user_item {
  border-bottom: 1px solid #ededed;
}
.pro_title {
  padding-bottom: 3px;
}
.text_small {
  font-size: 13px;
}
.listing_element {
  padding: 5px 0;
}
.aclist:first-child,
.avitem:first-child,
.background_reply:first-child,
.elem_in:first-child,
.list_element:first-child,
.listing_element:first-child,
.page_drop_item:first-child,
.panel_list:first-child,
.post_element:first-child,
.status_option:first-child,
.sub_list:first-child,
.sub_list_item:first-child,
.sub_menu_item:first-child,
.ulist_item:first-child {
  border-top: none !important;
}
.aclist:last-child,
.avitem:last-child,
.background_reply:last-child,
.elem_in:last-child,
.list_element:last-child,
.listing_element:last-child,
.page_drop_item:last-child,
.panel_list:last-child,
.post_element:last-child,
.status_option:last-child,
.sub_list:last-child,
.sub_list_item:last-child,
.sub_menu_item:last-child,
.ulist_item:last-child,
.user_item:last-child {
  border-bottom: none !important;
}
.avatar_spin {
  border: none;
}
.round5,
.sub_gift {
  border-radius: 5px;
}
.my_notice {
  background: #ff9;
  color: #000;
  padding: 0;
}
@media (min-width: 300px) {
  body {
    font-family:
      sans-serif,
      trebuchet ms,
      lucida grande,
      lucida sans unicode,
      arial,
      helvetica,
      sans-serif;
  }
  .chat_message {
    font-family:
      HelveticaNeue,
      noto naskh arabic ui,
      Arial,
      sans-serif;
    font-size: 15px;
  }
}
@media (min-width: 600px) {
  body {
    font-family:
      noto kufi arabic,
      sans-serif,
      trebuchet ms,
      lucida grande,
      lucida sans unicode,
      arial,
      helvetica,
      sans-serif;
  }
  .chat_message {
    font-family:
      HelveticaNeue,
      noto kufi arabic,
      Arial,
      sans-serif;
  }
}
::-webkit-scrollbar {
  width: 0.4em;
}
::-webkit-scrollbar-thumb {
  background: #d3d3d3;
}
.loading_av {
  animation: 1s linear infinite loading_av;
  background-image: linear-gradient(0deg, #f0d, #07f, red, #f0d, #07f);
  background-size: 100% 400%;
  padding: 1px;
}
@keyframes loading_av {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100%;
  }
}
.inline-block {
  display: inline-block !important;
}
.lheight15 {
  line-height: 17px !important;
  vertical-align: middle;
}
.gift_image {
  cursor: pointer;
  height: 80px;
  width: 80px;
}
.sub_gift {
  background: linear-gradient(to top, #77a7ef, #024f63) !important;
  padding: 10px 0;
  box-shadow: 0 0 10px #008eff;
}
.quiz_question {
  background: #03add8;
  color: #012832;
}
.quiz_bad {
  background: #c00;
  color: orange;
}
.quiz_good {
  background: #74b20e;
  color: #030;
}
.quiz_hint {
  background: #ac00e6;
  color: #39004d;
}
.quiz_text {
  border-radius: 3px;
  padding: 2px 10px;
  margin-top: 5px;
  display: inline-block;
}
.ranking_lm,
.score_lm {
  display: table-cell;
  vertical-align: middle;
  width: 30px;
}
.quiz_text .my_notice {
  background: 0 0 !important;
}
.score_lm {
  text-align: right;
  padding: 0 5px;
}
.ranking_lm {
  text-align: center;
}
.quiz_leaderbox {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  overflow-y: auto;
}
.friends-container {
  display: flex;
  flex-direction: column;
  color: #fff;
}
.friend {
  display: flex;
  align-items: center;
  background-color: #ededed;
  padding: 10px;
  margin: 5px 0;
  border-radius: 8px;
  transition: background-color 0.3s;
}
.friend:hover {
  background-color: #f6f6f6;
}
.profile-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}
.friend-info {
  flex-grow: 1;
}
.friend-info h4 {
  margin: 0;
  font-size: 14px;
  color: #222;
}
.friend-info p {
  margin: 5px 0 0;
  color: #a3a3a3;
  font-size: 11px;
}
.friend-actions {
  margin-left: auto;
}
.friend-actions button {
  background-color: #3a3b3c;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}
.friend-actions button:hover {
  background-color: #4e4f50;
}
.friend-actions .fa {
  color: #222;
  font-size: 24px;
}
.user_item_sex {
  width: 24px;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
  font-size: 20px;
}
.girl {
  border-color: #f9f;
  color: #f9f;
}
.boy {
  border-color: #03add8;
  color: #03add8;
}
.nosex {
  color: #a1a1a1;
  border-color: #a1a1a1;
}
.over3 {
  z-index: 1;
  left: -4px;
}
.sub_gift {
  background: linear-gradient(to top, #77a7ef, #024f63) !important;
  padding: 10px 0;
  border-radius: 5px;
  box-shadow: 0 0 10px #008eff;
}
.sub_gift .chat_message {
  color: #fff !important;
}
.room_icon_placeholder {
  width: 20px;
  height: 20px;
  margin: 9px 10px;
  box-sizing: border-box;
}
.placeholder {
  background-color: #eee;
  animation: placeholder ease-in-out 0.8s infinite;
}
.w100 {
  width: 100%;
}
.pl30 {
  padding-left: 30px;
}
@keyframes placeholder {
  0% {
    background-color: #eee;
  }
  50% {
    background-color: #ccc;
  }
  100% {
    background-color: #eee;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100%;
  }
}
.code-editor-container {
  display: flex;
  flex-direction: row-reverse;
  height: 300px;
}
.line-counter {
  flex: 0 0 auto;
  padding: 10px;
  background-color: #1e1e1e;
  color: #ccc;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  border-left: 1px solid #ccc;
}
.textarea-container {
  flex: 1 1 auto;
  direction: ltr;
}
#code-editor {
  font-family: monospace;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px;
  border: none;
  border-radius: 0;
  background-color: #1e1e1e;
  color: #fff;
  width: 100%;
  height: 100%;
  resize: none;
  direction: ltr;
  text-align: left;
}
.backup-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  padding: 20px 10px;
  overflow: hidden;
  border: 1px solid #ddd;
}
.backup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}
.backup-date {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}
.btn {
  padding: 10px 20px;
  font-size: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn-primary {
  background-color: #007bff;
  color: #fff;
}
/* TYPING INDICATOR */
.typing-indicator {
  display: inline-block;
  padding: 0 5px;
}
.typing-indicator span {
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: #888;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
  margin-right: 3px;
}
.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

.user_item_avatar,
.user_item_frame_avatar_new {
  position: relative;
}
.story_badge {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-sizing: border-box;
  cursor: pointer;
  pointer-events: auto;
  z-index: 3;
}
.story_badge.story_unseen {
  border: 2px solid #1fd26a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.story_badge.story_seen {
  border: 2px solid rgba(255, 255, 255, 0.35);
}
@keyframes typing {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* SEEN MARK */
.prview {
  color: #ccc; /* Default grey */
  font-size: 12px;
}
.prview_hide {
  display: inline-block;
}
.prview.seen {
  color: #0084ff; /* Messenger blue */
}

/* PERSONAL PRIVATE CHAT BACKGROUNDS */
#private_box.private_bg_ex_emerald,
.private_bg_card.private_bg_ex_emerald { background-image: url('../default_images/private_background/hi-pattern.svg'), linear-gradient(145deg, #071f1a 0%, #0f6a55 55%, #63d3aa 140%); }
#private_box.private_bg_ex_midnight,
.private_bg_card.private_bg_ex_midnight { background-image: url('../default_images/private_background/hi-pattern.svg'), linear-gradient(145deg, #070b1d 0%, #18265c 58%, #6174cb 140%); }
#private_box.private_bg_ex_ocean,
.private_bg_card.private_bg_ex_ocean { background-image: url('../default_images/private_background/hi-pattern.svg'), linear-gradient(145deg, #061923 0%, #075b78 58%, #48bfd0 140%); }
#private_box.private_bg_ex_sunset,
.private_bg_card.private_bg_ex_sunset { background-image: url('../default_images/private_background/hi-pattern.svg'), linear-gradient(145deg, #30111d 0%, #a33b44 58%, #f4a35d 140%); }
#private_box.private_bg_ex_rose,
.private_bg_card.private_bg_ex_rose { background-image: url('../default_images/private_background/hi-pattern.svg'), linear-gradient(145deg, #28101f 0%, #7f315d 58%, #db7fab 140%); }
#private_box.private_bg_ex_sand,
.private_bg_card.private_bg_ex_sand { background-image: url('../default_images/private_background/hi-pattern.svg'), linear-gradient(145deg, #241d13 0%, #78603d 58%, #d0ad72 140%); }

#private_box[class*="private_bg_ex_"] {
  background-attachment: local;
  background-position: center, center;
  background-repeat: repeat, no-repeat;
  background-size: 180px 180px, cover;
}

.private_bg_heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.private_bg_reset {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #db4b58;
  background: rgba(219, 75, 88, .12);
  cursor: pointer;
}
.private_bg_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.private_bg_card {
  position: relative;
  min-height: 88px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 10px;
  color: #fff;
  background-position: center;
  background-size: 105px 105px, cover;
  box-shadow: inset 0 -34px 34px rgba(0, 0, 0, .28);
  cursor: pointer;
  isolation: isolate;
}
.private_bg_card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .42));
}
.private_bg_card.selected {
  border-color: #fff;
  box-shadow: 0 0 0 2px #23a57a, inset 0 -34px 34px rgba(0, 0, 0, .28);
}
.private_bg_card_mark {
  display: block;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.04em;
  text-align: right;
  opacity: .9;
}
.private_bg_card_name {
  position: absolute;
  right: 9px;
  bottom: 8px;
  left: 9px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.private_bg_upload {
  display: block;
  background-color: #26313b;
  background-position: center;
  background-size: cover;
}
.private_bg_upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.private_bg_upload_icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin: 6px auto 0;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  font-size: 17px;
}
@media (max-width: 420px) {
  .private_bg_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Keep the standard composer visible over personal conversation backgrounds. */
#private_center.private_has_background #private_content {
  background: transparent !important;
}
#private_center.private_has_background #priv_input {
  background: rgba(12, 18, 28, .52) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
#private_center.private_has_background #private_input {
  background: transparent !important;
}

/* TYPING INDICATOR */
.typing-indicator {
  display: inline-block;
  padding: 0 5px;
}
.typing-indicator span {
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: #888;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
  margin-right: 3px;
}
.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* SEEN MARK */
.prview {
  color: #ccc; /* Default grey */
  margin-right: 5px;
  font-size: 12px;
}
.prview.seen {
  color: #0084ff !important; /* Messenger blue */
}
.onAndOffSwitch {
  display: table;
  padding: 2px;
  border-radius: 100px;
}
.post_avatar_frame {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  cursor: pointer;
}
.post_avatar_frame {
  display: table-cell;
  vertical-align: middle;
}
.post_avatar_frame .under {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  cursor: pointer;
}
#submit_button,
.chat_message,
.pro_title,
.quiz_bad,
.quiz_good,
.quiz_hint,
.quiz_question,
.ranking_lm {
  font-weight: 700;
}

.sendfile {
  z-index: 99999;
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 75px;
  bottom: 0px;
}
.sendr {
  right: 10px;
  bottom: 15px;
  position: absolute;
  font-size: 16px;
}
.sendl {
  left: 10px;
  bottom: 15px;
  position: absolute;
  font-size: 16px;
}
.post_pin {
  cursor: pointer;
  width: 40px;
  font-size: 15px;
  position: relative;
}
.post_pin img,
.square20,
.title_icon,
.title_icon img {
  width: 20px;
  height: 20px;
}

#cannot_private {
  background-color: white;
}

/* v11 WebAuthn prompt */
.webauthn_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  direction: rtl;
}
.webauthn_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--sec-bg);
  border-radius: 12px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.webauthn_box .webauthn_icon {
  font-size: 56px;
  color: var(--theme-color);
  margin-bottom: 15px;
}
.webauthn_box h2 {
  margin: 0 0 8px;
  font-size: 20px;
}
.webauthn_box p {
  color: #888;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
}
.webauthn_box button {
  width: 100%;
  padding: 12px;
  font-size: 15px;
}
.webauthn_box .text_small {
  font-size: 12px;
}

/* v11 rank list modal */
#over_modal_in:has(.v11mic_list) {
  background: #000 !important;
}
#over_modal_in:has(.v11mic_list) #over_modal_content {
  background: #000 !important;
}

/* v11 black market gift preview */
#bm_gift_modal .bm_gift_input{margin-top:8px}
#bm_gift_modal .bm_gift_preview{display:flex;align-items:center;gap:12px;padding:12px;background:rgba(0,0,0,.04);border-radius:14px;margin-top:12px}
#bm_gift_modal .bm_gift_preview img{width:40px;height:40px;border-radius:12px;object-fit:cover;flex-shrink:0}
#bm_gift_modal .bm_gift_preview_name{font-weight:900;font-size:14px}
#bm_gift_modal .bm_gift_preview_sub{font-size:12px;color:rgba(0,0,0,.55)}
#bm_gift_modal .bm_gift_error{color:#dc2626;font-size:13px;margin-top:8px;padding:8px 0}

/* v11 premium avatar frame adjustment */
.ch_fr_bg {
  width: 38px;
}

/* v11 rank icon in news/wall posts */
i.news_rank, i.wall_rank {
  font-size: 13px;
  vertical-align: middle;
  margin-right: 3px;
}

/* v11 profile frame preview card + admin thumb */
.bm_frame_preview,
.bm_admin_thumb_frame,
#black_market .bm_admin_thumb_frame,
#black_market .bm_admin_card:has(.bm_admin_thumb_frame) {
  overflow: visible !important;
}
#black_market .bm_admin_thumb_frame {
  width: 140px !important;
  height: auto !important;
  min-height: 120px;
  flex-shrink: 0;
}
.bmf_test_frame {
  overflow: visible !important;
  z-index: 99;
}
.bmf_test_frame img {
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* v11 rank icon in userlist (PHP-rendered) */
i.list_rank {
  font-size: 15px;
  vertical-align: middle;
}

/* private call video mute state indicator */
.vcall_video .private_call_mute_state {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 46;
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #ff7d7d;
}
.vcall_video .private_call_self_mute {
  right: auto;
  left: 12px;
}
.bus_game_chat_box {
  display: inline;
}
