/* Community Hub 12.4.1: feed More actions: mobile-safe viewport overlay. */
.postactions .post-more.hcm1224-post-more { isolation:auto !important; }
.postactions .post-more.hcm1224-post-more > summary { list-style:none; cursor:pointer; }
.postactions .post-more.hcm1224-post-more > summary::-webkit-details-marker { display:none; }
.postactions .post-more.hcm1224-post-more > summary::marker { content:""; }
/* JavaScript supplies exact coordinates after the details opens. Do not let
   legacy absolute positioning, transforms or clipping take over. */
body .postactions .post-more.hcm1224-post-more[open] > .post-more-menu.hcm1241-menu-active {
  position:fixed !important;
  inset:auto !important;
  left:var(--hcm1241-left, 8px) !important;
  top:var(--hcm1241-top, 8px) !important;
  right:auto !important;
  bottom:auto !important;
  width:var(--hcm1241-width, min(288px, calc(100vw - 16px))) !important;
  min-width:0 !important;
  max-width:calc(100vw - 16px) !important;
  max-height:var(--hcm1241-height, calc(100dvh - 110px)) !important;
  overflow-y:auto !important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  z-index:2147483000 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:9px !important;
  border:1px solid #446f76 !important;
  border-radius:13px !important;
  background:#172c3e !important;
  color:#f2f8ff !important;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
  box-shadow:0 18px 48px rgba(0,0,0,.5) !important;
  backdrop-filter:none !important;
}
body .postactions .post-more.hcm1224-post-more[open] > .post-more-menu.hcm1241-menu-active::before,
body .postactions .post-more.hcm1224-post-more[open] > .post-more-menu.hcm1241-menu-active::after { content:none !important; display:none !important; }
body .postactions .post-more.hcm1224-post-more[open] > .post-more-menu.hcm1241-menu-active > :is(button,form,div) {position:relative !important;float:none !important;left:auto !important;right:auto !important;top:auto !important;bottom:auto !important; transform:none !important;width:100% !important;max-width:100% !important;min-width:0 !important;margin:0 !important;box-sizing:border-box !important;}
body .postactions .post-more.hcm1224-post-more[open] > .post-more-menu.hcm1241-menu-active :is(button, .small, .hcm100-save-button) {
  display:flex !important;align-items:center !important;justify-content:flex-start !important;
  width:100% !important;min-height:43px !important;max-height:none !important;
  box-sizing:border-box !important;margin:0 !important;padding:10px 13px !important;
  border:0 !important;border-radius:8px !important;
  background:#2a4058 !important;color:#f4faff !important;
  font-size:15px !important;font-weight:600 !important;text-align:left !important;
  text-decoration:none !important;white-space:normal !important;
  opacity:1 !important;visibility:visible !important;
}
body .postactions .post-more.hcm1224-post-more[open] > .post-more-menu.hcm1241-menu-active :is(button,.small):focus-visible {outline:2px solid #57dbd2 !important;outline-offset:1px !important;}
/* Prevent legacy floating share controls from sticking out of the popover. */
body .postactions .post-more.hcm1224-post-more[open] > .post-more-menu.hcm1241-menu-active .hcm964-share-action,
body .postactions .post-more.hcm1224-post-more[open] > .post-more-menu.hcm1241-menu-active .hcm100-save-form {display:block !important;}
html[data-theme="light"] body .postactions .post-more.hcm1224-post-more[open] > .post-more-menu.hcm1241-menu-active,
body[data-theme="light"] .postactions .post-more.hcm1224-post-more[open] > .post-more-menu.hcm1241-menu-active {
  background:#fff !important;border-color:#b9cbd7 !important;color:#183247 !important;
  box-shadow:0 12px 38px rgba(24,48,62,.24) !important;
}
html[data-theme="light"] body .postactions .post-more.hcm1224-post-more[open] > .post-more-menu.hcm1241-menu-active :is(button,.small,.hcm100-save-button),
body[data-theme="light"] .postactions .post-more.hcm1224-post-more[open] > .post-more-menu.hcm1241-menu-active :is(button,.small,.hcm100-save-button) {background:#edf3f7 !important;color:#19364a !important;}
