/* v9.5.4 — keep mobile 3-dot post action menu fully visible */
.panel.post,
.postactions,
.postactions-compact,
.post-more{
  overflow:visible!important;
}
.post-more{
  position:relative!important;
  z-index:35!important;
}
.post-more summary{
  position:relative;
  z-index:36;
}
.post-more-menu{
  position:absolute!important;
  right:0!important;
  top:calc(100% + 10px)!important;
  min-width:220px!important;
  max-width:min(260px,78vw)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  padding:12px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg, rgba(21,58,47,.98), rgba(18,46,39,.98))!important;
  border:1px solid rgba(137,214,169,.26)!important;
  box-shadow:0 18px 36px rgba(0,0,0,.34)!important;
  z-index:60!important;
}
.post-more-menu::before{
  content:"";
  position:absolute;
  top:-8px;
  right:22px;
  width:14px;
  height:14px;
  transform:rotate(45deg);
  background:rgba(20,54,45,.98);
  border-left:1px solid rgba(137,214,169,.26);
  border-top:1px solid rgba(137,214,169,.26);
}
.post-more-menu .inline,
.post-more-menu form,
.post-more-menu button.small,
.post-more-menu .small{
  width:100%!important;
}
.post-more-menu button,
.post-more-menu form button{
  justify-content:flex-start!important;
  text-align:left!important;
  white-space:normal!important;
}
@media (max-width:900px){
  .panel.post{
    overflow:visible!important;
  }
  .postactions{
    align-items:center!important;
    flex-wrap:wrap!important;
    row-gap:10px!important;
  }
  .post-more-menu{
    top:auto!important;
    bottom:calc(100% + 12px)!important;
    right:0!important;
    left:auto!important;
    min-width:200px!important;
    max-width:min(240px,72vw)!important;
  }
  .post-more-menu::before{
    top:auto!important;
    bottom:-8px!important;
    right:20px!important;
    border-left:none!important;
    border-top:none!important;
    border-right:1px solid rgba(137,214,169,.26)!important;
    border-bottom:1px solid rgba(137,214,169,.26)!important;
  }
}
