@media (max-width: 499px){
  #drawer-inner .notification-list-wr .notification-list .notis-content .noti-item .multi-avatar-wr{
      margin-right: 23px !important;  
  }
  .notis-title-wr{
    max-width: none !important;
  }
}
.drawer-popup.drawer-popup--confirm.open{
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  
    padding: 20px 20px 20px 20px;
    box-sizing: border-box;    
    max-width: 420px; /*otherwise huge on desktop*/
}
.drawer-popup.drawer-popup--confirm.open .drawer-popup-content{
  width: auto !important;
}
#drawer-popup{
  transition: opacity 100ms ease, visibility 0s linear 100ms;
}
.drawer-popup {
    position: fixed;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
}
.drawer-popup.drawer-popup--login.open .drawer-popup-content{
    top: auto;
    right: auto;
      padding: 20px;
}
.drawer-popup.drawer-popup--login.open .drawer-popup{
    top: auto;
    right: auto;
}
.drawer-popup.drawer-popup--login.open .drawer-popup-close{
  display: none !important;
}
.drawer-popup.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-popup--notis.drawer-popup-content {
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  width: 460px;
}
.drawer-popup-content.from-avatar {
  overflow: visible !important;
}
.drawer-popup-content.from-avatar .drawer-popup-close{
 display: none;
}
body.drawer-open { 
  overflow: hidden; 
}
.drawer .drawer-content {
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.drawer.drawer--notis.open .drawer-content {
  max-height: 60vh !important;
}
.drawer.open.drawer--login .drawer-content {
   overflow-y: visible !important;
}
.drawer-content, .drawer-popup-content { 
  overscroll-behavior: contain; 
}

.drawer-popup-close {
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    z-index: 400;
    position: fixed;
    background: none;
    border-radius: var(--border-radius-999);
    padding: 7px 10px 6px 10px;
    margin-top: -12px;
    margin-right: -13px;
}

.drawer-popup-close i {
    color: black !important;
}

.drawer-popup-close:hover {
  background-color: var(--btn-bg-clr-new);
}

.drawer-popup-close:active {
  background-color: var(--flash-clr-blue);
}

.drawer-h2{
  display: block;
  padding: 16px 25px 10px 25px;
  font-size: 16px;
  font-weight: 600;
}
.drawer {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  z-index: 99999;
}


.drawer-list button{
  border: none;
  padding: 0;
  margin: 0;
  background: none;
  padding: 13px 21px 13px 25px;
  gap: 10px;
  display: flex;
  width: 100%;
}
.drawer-list li{
  text-decoration: none;
  color: var(--font-clr);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  display: block;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.drawer-list li .menu-item:hover{
  background-color: var(--index-posts-hover);
}
.drawer-list li button span{
  width: 25px;
  display: inline-block;
}
.drawer-list i {
  font-size: 1.25rem;
}
.drawer-list .fa-regular.fa-trash-can{
  margin: 0 !important;
  padding: 0 !important;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /*transition: opacity 100ms ease, visibility 0s linear 100ms;*/
  will-change: opacity;
  background: rgba(0,0,0,0.5);
  /*backdrop-filter: blur(4px);*/
  /*-webkit-backdrop-filter: blur(4px);*/
}

.drawer-overlay.overlay--has-bottom.visible{
   opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(0,0,0,0.14);
  transition: opacity 300ms ease, visibility 0s linear 0s; 
}
.drawer-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(0,0,0,0.5);
  /*backdrop-filter: blur(4px);*/
  /*-webkit-backdrop-filter: blur(4px);*/
  /*transition: opacity 300ms ease, visibility 0s linear 0s;*/
}

.drawer.open { bottom: 0; }
.drawer.hidden { display: none; } 


.nav-list-icon{
  width: 25px;
}
.nav-list-icon .fa-solid.fa-right-from-bracket{
  margin-left: 3px;
}
.nav-list-icon .fa-solid.fa-gear{
  margin-left: 1px;
}
.nav-list-icon .fa-solid.fa-award{
  margin-left: -2px;
}
.nav-list-icon .fa-solid.fa-shirt{
  margin-left: -2px;
}
.transparent-btn{
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}


.fp-motto{
    position: absolute;
    z-index: 200;
    inset: 75% 12% 10% 10%;          
    margin: 0;
    text-align: center;
    line-height: 1.2;
    font-weight: 800;
    word-break: break-word;
    top: 233px;
    display: flex;
    align-items: center;    
    justify-content: center;
}
.bubble-img { 
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    width: 305px;
    z-index: 100;
    pointer-events: none;
    bottom: 10px;
}


.avatar-bg{
    height:333px;
    background-color: pink;
    border: 2px solid var(--neutral);
    position: relative; 
    border-radius: 20px 20px 20px 20px;
    width: 340px;
}

.fp-container{
    border: 1px solid green;
    width: 400px;
}

.fp-username{
    font-size: 15px;
}
.username-wr{
    margin-top: 10px;
    margin-bottom: 15px;
}
.drawer-user .hr-divider{
    border-style: solid;
    color: #e6e6e69e;
    z-index: 31;
    position: relative;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
}

#four{
  z-index: 10;
}

.fp-avatar .avatar-container svg{
  width: 14rem;
  height: 20rem;
  top: 72px;
  left: 50%;
  position: absolute;      
  transform: translate(-50%, -50%);
}

.fp-avatar-img{
  position: relative;
  width: 100%;
  height: 100%;
  display: flex; 
  justify-content: center; 
  align-items: center;  
}

.fp-avatar-img img {
position: absolute;
   image-rendering: pixelated;
   margin-top: 45px;
   margin-left: -35px;
}
.fp-info-badgets img{
    image-rendering: pixelated;
}
.fp-username{
    font-size: 16px;
    text-align: center;
}
.info-wr{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.fp-comment-wr, .fp-like-wr, .visit-wr{
    display: flex;
    flex-direction: row;

}
.fp-comment-wr p, .fp-like-wr p , .visit-wr a{
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
}
.fp-comment-wr i, .fp-like-wr i , .visit-wr i{
    font-size: 16px;
}
.visit-wr a{
    align-items: start;
}

.notis-comment{
  display: -webkit-box;
  -webkit-line-clamp: 2;    
  line-clamp: 2;   
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;              
  max-height: calc(1.4em * 2);  
  }
.notis-timestamp{
    font-weight: 400;
  }

  .flash-click {
  background-color: var(--btn-bg-hover-new); 
  transition: background-color 0.1s ease;
}

.drawer-popup .header-right{
   display: flex;
   flex-direction: row;
   gap: 5px;
    margin-right: 10px;
}
.drawer-popup .drawer-settings-btn {
    border: none;
    font-size: 15px;
    cursor: pointer;
    color: #2c2c2c;
    background: none;
    padding: 8px 10px 8px 9px;
    border-radius: var(--border-radius-999);
}
.drawer-popup .drawer-settings-btn:hover {
    background-color: var(--btn-bg-hover-new);

}
.drawer-popup .drawer-radio-label{
    margin-top: 2px;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    border-radius: var(--border-radius-999);
}
.drawer-popup .drawer-radio-label:hover{
    background-color: var(--btn-bg-hover-new)
}
.notis-content{
    margin-left: 5px;
    margin-right: 5px;
}
#bottom-drawer .noti-item:first-child{
  margin-top: 50px;
}



.noti-wrapper a .menu-toggle{
    margin-left: 5px;
    background: none;
    border: none;
    border-radius: 50%;
    padding-right: 8px;
    cursor: pointer;
    height: 30px;
    color: black;
    font-size: 16px;
    display: none;
}

.noti-wrapper a .menu-toggle:hover{
  background-color: var(--btn-bg-hover-new);
  cursor: pointer;
}
.notis-title-wr{
    padding-right: 27px;
    min-width: 209px;
    max-width: 209px;    
}
.drawer-popup .notis-header{
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    background-color: #ffffff;
    height: 57px;
    top: 55px;
    right: 23px;
    border-radius: 10px 10px 0px 0px;
    z-index: 999;
    align-items: center;
}


.drawer-popup .notis-header-title{
    font-size: 20px;
    margin-top: -7px;
    margin-left: 15px;
}

.notis-input-wr{
  display: flex;
  flex-direction: row;
  height: fit-content;  
}
@keyframes notiFlashIn {
  0%   { background-color: var(--noti-unread-flash-bg); box-shadow: 0 0 0 0 var(--noti-unread-ring); }
  35%  { background-color: var(--noti-unread-flash-bg); box-shadow: 0 0 0 10px rgba(255, 208, 0, 0); }
  100% { background-color: var(--noti-unread-flash-end); box-shadow: none; }
}

@media (max-width: 455px) {

   .drawer-popup .notis-header{
    width: 360px !important;
  }
    .drawer-popup-content{
    width: 435px !important;
  }
}
/*
.noti-item[data-seen="0"] {
#fffbe6
#fff3af;
#fff8d1
}
  */

#drawer-inner{
  min-height: 300px;
  overflow-x: hidden;
}

.drawer-popup .notification-list {
  overflow-y: scroll;
  height: 350px;
  PADDING-LEFT: 6px;
}
/*-------------MOBILE----------*/
.drawer.drawer--notis.open .drawer-content{
  padding-top: 20px;
}
.drawer.drawer--notis.open{
  padding-top: 8px;
}
#drawer-inner .notification-list-wr .notis-header {
    display: flex;
    justify-content: space-around;
    background-color: #ffffff;
    position: absolute;
    height: 70px;
    width: 100%;
    z-index: 1000;
    border-radius: 20px 20px 0px 0px;
    top: 2px;
}
.notification-list{
border-radius: 20px 20px 0px 0px;
}
#drawer-inner .notification-list-wr .header-right{ 
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
}
#drawer-inner .notification-list-wr .drawer-settings-btn{
      background-color: #ffffff00;
    border: none;
    color: black;
    font-size: 20px;
    margin-top: 3px;
    height: fit-content;    
}

#drawer-inner .notification-list-wr .drawer-radio-label{
  margin-top: 5px;
}

.notis-header-title{
    font-size: 18px;
    margin-top: 23px;
}
