.announcements-box{
    display:flex;
    align-items: flex-start;
    font-family: Montserrat;
    flex-direction: column;
    color:var(--cloudy-white);
    font-weight: 600;
    justify-content: center;
    width: 366px;
    border-radius: 6px 6px 0 0;
    min-height: 36px;
    position:fixed;
    bottom:0;
    right:0;
    transition:width 250ms ease-in-out;
}

.ann-active{
    width:366px;
}


.announcements-head{
    display:flex;
    align-items: center;
    justify-content: center;
    background-color: var(--azure-blue);
    cursor: var(--custom-pointer);
    width: 100%;
    height: 36px;
    user-select: none;
    border-radius: 6px 6px 0 0;
    transition:filter 100ms ease-in-out;
}

.announcements-head:hover{
    filter:brightness(1.1);
}

.announcements-head h4{
    font-weight: 500;
    margin:0;
    padding:0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:4px;
}

.announcements-head h4 img{
    height: 18px;
}

.announcements{
    display:flex;
    align-items: center;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 50svh;
    min-height: 100px;
    gap:10px;
    color: var(--cloudy-white);
}

.announcements::-webkit-scrollbar {
    width: 5px;
    position: relative;
    height: 4px;
    
  }
  
  /* Track */
    .announcements::-webkit-scrollbar-track {
    border-radius: 8px;
    background: #36373f;
  }
  
  .announcements::-webkit-scrollbar-thumb {
    background: rgb(85, 85, 85);
    border-radius: 10px;
  }
  
  .announcements::-webkit-scrollbar-thumb:hover {
    background: #575966;
  }
  

.announcements-wrapper{
    display:none;
    width: 100%;
    flex-direction: column;
    gap:8px;
    box-sizing: border-box;
    background-color: var(--dark-gunmetal);
}

.announcements-wrapper>form{
    display:flex;
    box-sizing: border-box;
    border-top:2px solid var(--slate-steel);
    width: 100%;
    margin:0;
}

.pinned{
    border:2px solid #0082fa;
    -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 130, 250, 1);
    -moz-box-shadow: 0px 0px 6px 0px rgba(0, 130, 250, 1);
    box-shadow: 0px 0px 6px 0px rgba(0, 130, 250, 1);
    background-color: #2b4162;
    background-image: linear-gradient(315deg, #2b4162 0%, #12100e 74%);
    }

.pinnedspan{
    position: absolute;
    display:flex;
    justify-content: center;
    align-items: center;
    top:4px;
    right:4px;
    height: 10px;
}

.pinnedspan img{
    height: 10px;
}

.announcements-wrapper>form textarea{
    width: 100%;
    background: #323237;
    border:none;
    resize:none;
    min-height: 32px;
    height: 32px;
    color:var(--cloudy-white);
    box-sizing: border-box;
    outline:none;
    padding:8px;
    font-family: Montserrat;
}

.announcements-wrapper>form button:disabled{
    filter:brightness(.7);
    cursor:not-allowed;
}

.announcements-wrapper>form button:disabled:hover{
    background: var(--main-green);
}

.announcements-wrapper>form button{
    background: var(--main-green);
    border:none;
    cursor: var(--custom-pointer);
    font-weight: 600;
    color:var(--cloudy-white);
    box-sizing: border-box;
    padding:5px;
    font-family: Montserrat;
    transition:background-color 150ms ease-in-out;
}

.announcements-wrapper>form button:hover{
    background-color: var(--main-green-hover);
}

.announcement-box{
    display: flex;
    box-sizing: border-box;
    padding: 16px 16px 8px 16px;
    color:var(--cloudy-white);
    width: 100%;
    position: relative;
}

.breakline{
    height: 1px;
    width: 95%;
    background-color: #33353d;
    display: block;
    position: absolute;
    bottom:-4px;
    margin-left:auto;
    margin-right: auto;
    left:0;
    right:0;
}

.ann-wrap{
    display:flex;
    gap:8px;
}

.pfpann{
    display:flex;
    border-radius: 100%;
    height: 32px;
    width: 32px;
}

.pfpann img{
    border-radius: 100%;
    height: 32px;
    width: 32px;
}


.posttimeago{
    color: #6c7075;
    position: relative;
}

.agm{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:4px;
    color: #6c7075;
    font-size:10px;
    position: relative;
}

.agm img{
    height: 12px;
}

.poster{
    display:flex;
    gap:10px;
    font-weight: 400;
    font-size:12px;
}

.poster a{
    color: var(--cloudy-white);
    text-decoration: none;
    font-weight: 600;
}

.discx{
    font-size:24px;
    color:#696d72;
    position: absolute;
    left:-8px;
    top:-6px;
}

.ann-content{
    display:flex;
    flex-direction: column;
    gap:10px;
}

.post-top{
    display:flex;
    flex-direction: column;
    gap:2px;
}


.ann-text{
    width: 100%;
    text-align: start;
    font-weight: 400;
    font-size:14px;
    margin-top:3px;
    word-break: break-word;
}

.ann-text a{
    color:white;
    text-decoration: none;
}

.ann-text a:hover{
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ann-text b{
    font-weight: 600;
}

.ann-control{
    display: flex;
    gap:10px;
    margin-top:5px;
}

.ann-control button{
    display:flex;
    justify-content: center;
    align-items: center;
    background: none;
    font-size:12px;
    gap:3px;
    border:none;
    color:#696d72;
    font-weight: 500;
    cursor: var(--custom-pointer);
    font-family: Montserrat;
    padding:0;
}

.ann-control button:hover{
    filter:brightness(1.5);
}

.ann-control button img{
    height: 12px;
    filter:brightness(.5);
}

.no-ann{
    padding-top:45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 500;
}

.no-ann img{
    height: 18px;
}