/* rc54 correction 0.1.0-rc17: shared native actions and selected-image controls. */
body.majaa-community-design #buddypress.majaa-community {
  --mc-button-width:140.8px;
  --mc-button-visible-height:39.6px;
  --mc-target-height:48.4px;
  --mc-button-type:14.3px;
  --mc-privacy-width:84px;
  --mc-privacy-height:21px;
  --mc-privacy-type:11px;
  --mc-privacy-inset:6px;
  --mc-composer-gap:14.4px;
  --mc-composer-row-gap:21px;
  --mc-comment-offset:calc(var(--mc-avatar-size) + var(--mc-composer-gap));
  --mc-editor-type:var(--mc-name-type);
}
body.majaa-community-design #buddypress.majaa-community .mc-button,
body.majaa-community-design #buddypress.majaa-community .mc-submit-shell > input.mc-button {
  width:var(--mc-button-width)!important;
  height:var(--mc-target-height)!important;
  min-height:var(--mc-target-height)!important;
  font-size:var(--mc-button-type)!important;
  line-height:1.35!important;
}
body.majaa-community-design #buddypress.majaa-community .mc-submit-shell {
  width:var(--mc-button-width)!important;
  height:var(--mc-target-height)!important;
  min-height:var(--mc-target-height)!important;
  padding:4px 0!important;
}
body.majaa-community-design #buddypress.majaa-community .mc-button-face {
  height:var(--mc-button-visible-height)!important;
  min-height:var(--mc-button-visible-height)!important;
  white-space:nowrap!important;
  font-size:inherit!important;
  line-height:1.35!important;
}
body.majaa-community-design #buddypress.majaa-community .mc-native-label,
body.majaa-community-design #buddypress.majaa-community .majaa-feed-upload-label {white-space:nowrap!important;}
body.majaa-community-design #buddypress.majaa-community .mc-button--privacy {
  width:var(--mc-privacy-width)!important;
  font-size:var(--mc-privacy-type)!important;
  align-items:center!important;
}
body.majaa-community-design #buddypress.majaa-community .mc-button--privacy > .mc-button-face {
  height:var(--mc-privacy-height)!important;
  min-height:var(--mc-privacy-height)!important;
  padding:2px var(--mc-privacy-inset)!important;
  gap:4px!important;
  justify-content:space-between!important;
}
body.majaa-community-design #buddypress.majaa-community .mc-button--privacy svg {width:10px!important;height:10px!important;}
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy {display:flex!important;align-items:center!important;gap:8px!important;}
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy-label {margin:0!important;padding:0!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form {
  --mc-composer-offset:calc(var(--mc-avatar-size) + var(--mc-composer-gap));
}
body.majaa-community-design #buddypress.majaa-community #whats-new-avatar,
body.majaa-community-design #buddypress.majaa-community #whats-new-avatar img,
body.majaa-community-design #buddypress.majaa-community .ac-reply-avatar,
body.majaa-community-design #buddypress.majaa-community .ac-reply-avatar img,
body.majaa-community-design #buddypress.majaa-community .acomment-avatar,
body.majaa-community-design #buddypress.majaa-community .acomment-avatar > a,
body.majaa-community-design #buddypress.majaa-community .acomment-avatar img {
  display:block!important;
  flex:0 0 var(--mc-avatar-size)!important;
  width:var(--mc-avatar-size)!important;
  min-width:var(--mc-avatar-size)!important;
  max-width:var(--mc-avatar-size)!important;
  height:var(--mc-avatar-size)!important;
  min-height:var(--mc-avatar-size)!important;
  max-height:var(--mc-avatar-size)!important;
  margin:0!important;
  border-radius:50%!important;
  object-fit:cover;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-content #whats-new-options {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:calc(100% + var(--mc-composer-offset))!important;
  margin:16px 0 0 calc(-1 * var(--mc-composer-offset))!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-options > .rtmedia-plupload-container {justify-self:start!important;width:var(--mc-button-width)!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-options > #whats-new-submit {
  grid-column:2!important;grid-row:1!important;justify-self:end!important;
  width:var(--mc-button-width)!important;float:none!important;position:static!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #mc-post-submit-shell {margin:0!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-textarea textarea#whats-new,
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments form.ac-form textarea.ac-input {
  font:400 var(--mc-editor-type)/1.5 var(--mc-font-heading)!important;
  min-height:144px!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream > li.activity-item.mc-post {
  padding:16px 0 24px!important;margin:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream > li.activity-item .dropdown-activity {
  top:16px!important;right:var(--mc-gutter)!important;
}
body.majaa-community-design #buddypress.majaa-community .activity-comments .acomment-user {gap:var(--mc-composer-gap)!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments .acomment-meta .mc-name {
  font:400 var(--mc-name-type)/1.4 var(--mc-font-heading)!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments .acomment-meta .activity-time-since {
  display:block!important;font-size:var(--mc-time-type)!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments .acomment-content,
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments .acomment-options {
  margin-left:var(--mc-comment-offset)!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments li > form.ac-form {
  width:100%!important;margin-left:0!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .ac-form-content {gap:var(--mc-composer-gap)!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .majaa-feed-comment-label {
  font:400 var(--mc-name-type)/1.4 var(--mc-font-heading)!important;margin-bottom:12px!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .mc-comment-native-actions {
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  flex-wrap:wrap!important;gap:8px!important;
  width:calc(100% + var(--mc-comment-offset))!important;
  margin:16px 0 0 calc(-1 * var(--mc-comment-offset))!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .mc-comment-native-actions > .rtmedia-uploader-div,
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .rtm-upload-button-wrapper,
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form button.mc-button {
  width:var(--mc-button-width)!important;max-width:100%!important;margin:0!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .mc-comment-native-actions .mc-submit-shell {margin-left:auto!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments ul > li.mc-comment + li.mc-comment {
  margin-top:24px!important;padding-top:24px!important;border:0!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments li.mc-comment + li.mc-comment::before {
  content:''!important;position:absolute!important;top:0!important;
  left:12%!important;right:12%!important;width:auto!important;height:2px!important;
  background:radial-gradient(ellipse closest-side,var(--mc-action-border) 90%,transparent 100%) center / 10px 2px repeat-x!important;
  mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent)!important;
  opacity:.75!important;border:0!important;box-shadow:none!important;transform:none!important;
}
@media(max-width:360px) {
  body.majaa-community-design #buddypress.majaa-community {--mc-composer-gap:12px;}
  body.majaa-community-design #buddypress.majaa-community .mc-button-face {padding:4px 7px!important;gap:4px!important;}
  body.majaa-community-design #buddypress.majaa-community .mc-button--privacy > .mc-button-face {padding:2px var(--mc-privacy-inset)!important;}
}

/* Explicit native comment scopes outrank the inherited small/hidden reply avatar. */
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments .acomment-avatar,
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments .acomment-avatar > a,
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments .acomment-avatar img,
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments .ac-form .ac-reply-avatar,
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments .ac-form .ac-reply-avatar img {display:block!important;flex:0 0 var(--mc-avatar-size)!important;width:var(--mc-avatar-size)!important;min-width:var(--mc-avatar-size)!important;max-width:var(--mc-avatar-size)!important;height:var(--mc-avatar-size)!important;min-height:var(--mc-avatar-size)!important;max-height:var(--mc-avatar-size)!important;margin:0!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .mc-comment-native-actions .mc-submit-shell,
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .mc-comment-native-actions button.mc-button {width:var(--mc-button-width)!important;max-width:100%!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments li.mc-comment > ul {margin-left:24px!important;padding-left:0!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments li.mc-comment li.mc-comment > ul {margin-left:0!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments .acomment-meta {min-width:0!important;flex:1!important;overflow-wrap:anywhere;}
@media(max-width:360px) {
 body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments form.ac-form textarea.ac-input {min-height:180px!important;}
}

body.majaa-community-design #buddypress.majaa-community .mc-button-face {padding:4px 6px!important;gap:4px!important;}
body.majaa-community-design #buddypress.majaa-community .mc-native-label,
body.majaa-community-design #buddypress.majaa-community .majaa-feed-upload-label {font:inherit!important;}
body.majaa-community-design #buddypress.majaa-community .mc-button--privacy > .mc-button-face {padding:2px var(--mc-privacy-inset)!important;}

/* rc2: match the existing individual-choice panel and post text token. */
body.majaa-community-design #buddypress.majaa-community {
  --mc-choice-width:190px;
  --mc-choice-inset:12px;
}
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy-menu,
body.majaa-community-design #buddypress.majaa-community .majaa-feed-choice-panel {
  box-sizing:border-box!important;
  width:var(--mc-choice-width)!important;
  max-width:calc(100cqi - 32px)!important;
  padding:var(--mc-choice-inset)!important;
}
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy-option {
  box-sizing:border-box!important;
  padding:8px 0!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-textarea textarea#whats-new {
  font:400 var(--mc-post-type)/1.6 var(--mc-font-heading)!important;
}
/* Keep the native menu inside its actions group; align it to the measured avatar. */
body.majaa-community-design #buddypress.majaa-community #activity-stream >li.activity-item.mc-post {
  position:relative!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream >li.activity-item.mc-post .activity-content,
body.majaa-community-design #buddypress.majaa-community #activity-stream >li.activity-item.mc-post .activity-options {
  position:static!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream >li.activity-item.mc-post .dropdown-activity {
  position:absolute!important;
  inset:var(--mc-post-menu-top,16px) auto auto var(--mc-post-menu-left,auto)!important;
  width:var(--mc-avatar-size,44px)!important;
  margin:0!important;
  transform:none!important;
}

/* The comment prompt and entry use the existing post text size. */
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments form.ac-form .majaa-feed-comment-label,
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments form.ac-form textarea.ac-input {
  font-size:var(--mc-post-type)!important;
  line-height:1.6!important;
}

/* A small chosen image replaces the image icon, within the same 128px button. */
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .mc-comment-button-preview {
  display:block!important;width:20px!important;height:20px!important;
  min-width:20px!important;max-width:20px!important;flex:0 0 20px!important;
  object-fit:cover!important;border-radius:4px!important;margin:0!important;
  padding:0!important;pointer-events:none!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .rtmedia-comment-media-upload[data-mc-comment-preview] .dashicons {
  display:none!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .rtmedia-comment-media-upload[data-mc-comment-preview] .mc-button-face::before {
  display:none!important;content:none!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form.mc-comment-compact-upload .plupload_file_thumb {
  display:none!important;
}

/* rc4: restore the selected privacy marker and inner row spacing. */
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy-option {
  position:relative!important;
  padding:8px 36px 8px var(--mc-choice-inset)!important;
}
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy-option[aria-checked="true"]::after {
  content:''!important;display:block!important;position:absolute!important;
  inset:50% 14px auto auto!important;width:6px!important;height:11px!important;
  border:solid var(--mc-ink)!important;border-width:0 2px 2px 0!important;
  border-radius:0!important;background:none!important;box-shadow:none!important;
  transform:translateY(-65%) rotate(45deg)!important;
}

/* The theme positions the dot pseudo-element at the toggle's top edge.
   Center that glyph itself, while retaining the measured native menu box. */
body.majaa-community-design #buddypress.majaa-community #activity-stream .dropdown-activity > .dropdown-toggle::before {
  position:absolute!important;inset:50% auto auto 50%!important;
  margin:0!important;transform:translate(-50%,-50%)!important;
}

/* Keep queue state/error/progress nodes and the native remove handler.
   Only its filename, large image and duplicate remove action are hidden. */
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form.mc-comment-has-selection .plupload_file_name,
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form.mc-comment-has-selection .plupload_file_thumb,
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form.mc-comment-has-selection .plupload_file_action {
  display:none!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form.mc-comment-has-selection .mc-comment-native-actions > .rtmedia-uploader-div {
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;
  gap:8px!important;width:calc(var(--mc-button-width) + 52px)!important;
  max-width:100%!important;min-height:var(--mc-target-height)!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .mc-comment-native-actions .mc-comment-image-clear {
  display:grid!important;place-items:center!important;flex:0 0 44px!important;
  width:44px!important;height:44px!important;min-height:44px!important;
  margin:0!important;padding:0!important;border:0!important;
  border-radius:0!important;background:transparent!important;
  color:var(--mc-ink)!important;cursor:pointer!important;box-shadow:none!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .mc-comment-native-actions .mc-comment-image-clear[hidden] {
  display:none!important;
}
body.majaa-community-design #buddypress.majaa-community .mc-comment-image-clear-icon {
  display:grid!important;place-items:center!important;width:24px!important;height:24px!important;
  border:1px solid var(--mc-action-border)!important;border-radius:50%!important;
  background:var(--mc-white)!important;font:400 20px/1 var(--mc-font-body)!important;
  pointer-events:none!important;
}
body.majaa-community-design #buddypress.majaa-community .mc-comment-image-clear:focus-visible {
  outline:2px solid var(--mc-ink)!important;outline-offset:2px!important;
}
body.majaa-community-design #buddypress.majaa-community .mc-comment-image-clear:disabled {
  opacity:.5!important;cursor:default!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form.mc-comment-has-selection .plupload_filelist_content {
  flex:0 0 100%!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .plupload_filelist_content:empty,
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form.mc-comment-has-selection .plupload_file_status:empty {
  display:none!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form.mc-comment-has-selection .plupload_filelist_content > li {
  width:100%!important;height:auto!important;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;box-shadow:none!important;
}

/* rtMedia places the browse wrapper inside an action container. Use that
   existing container for one horizontal browse/X row; keep picker shims intact. */
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form.mc-comment-has-selection .mc-comment-image-controls {
  display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
  gap:8px!important;width:calc(var(--mc-button-width) + 52px)!important;
  min-width:calc(var(--mc-button-width) + 52px)!important;
  height:var(--mc-target-height)!important;min-height:var(--mc-target-height)!important;
  margin:0!important;padding:0!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form.mc-comment-has-selection .mc-comment-image-controls > .rtm-upload-button-wrapper {
  flex:0 0 var(--mc-button-width)!important;width:var(--mc-button-width)!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .mc-comment-image-controls > .mc-comment-image-clear {
  padding:0!important;min-width:44px!important;
}

/* Reuse the existing field/button components in the native inline editor. */
body.majaa-community-design #buddypress.majaa-community #activity-stream form.majaa-feed-edit-form.mc-post-edit {
  box-sizing:border-box!important;margin:16px 0!important;padding:12px!important;
  border:1px solid var(--mc-action-border)!important;border-radius:var(--mc-radius)!important;
  background:var(--mc-panel-soft)!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .majaa-feed-edit-form > label {
  display:block!important;margin:0 0 8px!important;color:var(--mc-ink)!important;
  font:400 14px/1.4 var(--mc-font-body)!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .majaa-feed-edit-form textarea.mc-field {
  box-sizing:border-box!important;margin:0!important;min-height:150px!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .majaa-feed-edit-form .majaa-feed-edit-actions {
  display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:12px 0 0!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .majaa-feed-edit-form .majaa-feed-edit-error {
  margin:8px 0 0!important;color:var(--mc-red)!important;
  font:400 14px/1.4 var(--mc-font-body)!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .majaa-feed-edit-form .majaa-feed-edit-error:empty {
  display:none!important;
}

/* rc6: keep the native controls; share geometry, icons and feedback. */
body.majaa-community-design #buddypress.majaa-community {
  --mc-choice-width:152px;
  --mc-choice-inset:9.6px;
}
body.majaa-community-design #buddypress.majaa-community .mc-button,
body.majaa-community-design #buddypress.majaa-community .mc-button-face,
body.majaa-community-design #buddypress.majaa-community .mc-submit-shell >input.mc-button,
body.majaa-community-design #buddypress.majaa-community .mc-button[aria-pressed="true"] .mc-button-face {
  font-weight:700!important;
}
body.majaa-community-design #buddypress.majaa-community .mc-submit-shell {
  padding:4.4px 0!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form {
  padding-bottom:12.5px!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-textarea textarea#whats-new {
  height:115.2px!important;min-height:115.2px!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-content #whats-new-options {
  row-gap:var(--mc-composer-row-gap)!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-options::before,
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-options::after {content:none!important;display:none!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #aw-whats-new-submit,
body.majaa-community-design #buddypress.majaa-community #activity-stream form.ac-form input[name="ac_form_submit"] {font-weight:700!important;}
body.majaa-community-design #buddypress.majaa-community .activity-type-tabs #activity-all .mc-button-face,
body.majaa-community-design #buddypress.majaa-community .activity-type-tabs #majaa-feed-custom >button .mc-button-face {font-weight:700!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-options >.majaa-feed-privacy,
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-options >.rtmedia-uploader-div,
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-options >.error.bp-ajax-message {
  grid-column:1/-1!important;grid-row:auto!important;margin:0!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-options >.rtmedia-uploader-div:has(.plupload_filelist_content:empty) {
  display:none!important;
}
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy-control,
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy-control .mc-button--privacy {
  height:44px!important;min-height:44px!important;
}
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy-label >svg path {fill:var(--mc-white)!important;}
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy-label >svg circle {fill:var(--mc-panel)!important;}
body.majaa-community-design #buddypress.majaa-community .mc-button--privacy >.mc-button-face {
  padding:2px 4px!important;gap:6px!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-options >.error.bp-ajax-message {text-align:center!important;}
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy-menu {
  top:calc(50% + 16px)!important;left:0!important;
}
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy-option {
  min-height:44px!important;font-size:12.8px!important;
  padding:6.4px 28.8px 6.4px var(--mc-choice-inset)!important;
}
body.majaa-community-design #buddypress.majaa-community .majaa-feed-privacy-option[aria-checked="true"]::after {
  right:11.2px!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form .plupload_filelist_content >li {
  padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form .plupload_file_thumb {
  height:auto!important;min-height:0!important;border:0!important;background:transparent!important;
  border-radius:var(--mc-radius)!important;overflow:hidden!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form .plupload_file_thumb :is(img,canvas) {
  display:block!important;width:100%!important;height:auto!important;max-height:220px!important;
  object-fit:contain!important;border-radius:var(--mc-radius)!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form .plupload_file_action {
  position:absolute!important;inset:4px 4px auto auto!important;width:44px!important;height:44px!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form .mc-gallery-clear,
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form .mc-comment-native-actions .mc-comment-image-clear {
  box-sizing:border-box!important;display:grid!important;place-items:center!important;
  width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;
  background:var(--majaa-color-paper)!important;color:#39312d!important;box-shadow:none!important;font-size:0!important;
}
body.majaa-community-design #buddypress.majaa-community .mc-gallery-close-icon,
body.majaa-community-design #buddypress.majaa-community .mc-comment-image-clear-icon {
  display:block!important;width:20px!important;height:20px!important;border:0!important;border-radius:0!important;
  background:currentColor!important;mask:url('close.svg') center/contain no-repeat!important;
  -webkit-mask:url('close.svg') center/contain no-repeat!important;pointer-events:none!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form .mc-gallery-clear::before,
body.majaa-community-design #buddypress.majaa-community #whats-new-form .mc-gallery-clear::after {display:none!important;content:none!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form.mc-comment-has-selection .mc-comment-image-controls,
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form.mc-comment-has-selection .mc-comment-native-actions >.rtmedia-uploader-div {
  gap:4px!important;width:calc(var(--mc-button-width) + 48px)!important;
  min-width:0!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .dropdown-activity >.dropdown-menu {
  inset:calc(50% + 8px * var(--mc-author-scale) + 12px) calc(50% + 2px * var(--mc-author-scale) + 12px) auto auto!important;width:var(--mc-choice-width)!important;padding:6.4px!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .dropdown-activity .dropdown-menu >.mc-post-action {
  gap:6.4px!important;padding:6.4px!important;font-size:12.8px!important;line-height:1.4!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .dropdown-menu >.mc-post-action::before {
  width:16px!important;height:16px!important;background:var(--majaa-color-ink)!important;
  mask:url('edit.svg') center/contain no-repeat!important;-webkit-mask:url('edit.svg') center/contain no-repeat!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .dropdown-menu >.mc-post-action-delete::before {
  mask-image:url('trash.svg')!important;-webkit-mask-image:url('trash.svg')!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .dropdown-menu >.mc-post-action >:is(i,svg,.dashicons) {display:none!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-options >a.mc-text-button,
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-options >a.maj-like-feedback {gap:4px!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-options .mc-comment-toggle >span {
  margin-left:0!important;margin-right:0!important;padding:0!important;
  width:auto!important;min-width:0!important;flex:0 0 auto!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .mc-comments-title {
  font-size:21px!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments .mc-reply-context {
  display:block!important;margin:2px 0!important;color:var(--mc-secondary)!important;
  font:400 14px/1.4 var(--mc-font-body)!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments li.mc-comment >.acomment-content {
  margin:8px 0 0 var(--mc-comment-offset)!important;padding:0!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments li.mc-comment >.acomment-content :is(.rtmedia-activity-container,.rtmedia-activity-text,p) {
  margin-top:0!important;margin-bottom:0!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments li.mc-comment >.acomment-options {
  margin:4px 0 0 var(--mc-comment-offset)!important;padding:0!important;gap:4px!important;
  float:none!important;width:calc(100% - var(--mc-comment-offset))!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments .acomment-options >a.acomment-delete {
  flex:0 0 44px!important;justify-content:center!important;margin-left:auto!important;
  width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
}
body.majaa-community-design #buddypress.majaa-community .mc-delete-label {
  position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;
}
body.majaa-community-design #buddypress.majaa-community .mc-motif-circle-only >.mc-motif-core {
  border:1px solid currentColor!important;border-radius:50%!important;
  background:transparent!important;mask:none!important;-webkit-mask:none!important;
}
/* Only the native editor is framed; existing comment content keeps its position. */
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments.mc-comments:has(>ul >li),
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments.mc-comments:has(form.ac-form:not([style*="display: none"])) {
  border:0!important;padding:18px!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments form.ac-form {
  box-sizing:border-box!important;padding:12px!important;
  border:2px solid var(--mc-panel)!important;border-radius:var(--mc-radius)!important;
}
/* Preserve the original dot size, orientation and measured position. */
body.majaa-community-design #buddypress.majaa-community #activity-stream >li.activity-item .dropdown-activity >.dropdown-toggle::before,
body.majaa-community-design #buddypress.majaa-community #activity-stream >li.activity-item .dropdown-activity >.dropdown-toggle:is(:hover,:focus,[aria-expanded="true"])::before {
  background:var(--mc-action-border)!important;
  box-shadow:0 calc(-6px * var(--mc-author-scale)) 0 var(--mc-action-border),0 calc(6px * var(--mc-author-scale)) 0 var(--mc-action-border)!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-options >a.maj-like-feedback >.maj-like-label::after {font-size:16px!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-options >a.mc-like::before,
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-options >a.mc-comment-toggle::before {
  width:18px!important;height:18px!important;margin-right:0!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream .activity-comments li.mc-comment +li.mc-comment::before {
  left:0!important;right:0!important;height:1px!important;opacity:.75!important;mask:none!important;
  -webkit-mask:none!important;background:linear-gradient(90deg,transparent,var(--mc-action-border) 50%,transparent)!important;
}
/* At narrow widths the native rows wrap; type and target size stay intact. */
@media(max-width:375px) {
  body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-content #whats-new-options {grid-template-columns:minmax(0,1fr)!important;}
  body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-options >#whats-new-submit {grid-column:1!important;grid-row:2!important;justify-self:end!important;}
}

/* rc8: the previous 40px lower clear space becomes 46px (+15%). The next
   post's 16px top inset remains; 30px below +16px equals 46px above. */
body.majaa-community-design #buddypress.majaa-community #activity-stream.activity-list >li.activity-item.mc-post {padding-bottom:30px!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream >li.mc-post >.mc-post-divider {margin-top:46px!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream >li.mc-comments-collapsed >:is(.activity-comments,.mc-comments-title) {display:none!important;}
/* Same compact image/close component in the main composer and comments. */
body.majaa-community-design #buddypress.majaa-community #whats-new-form.mc-comment-has-selection :is(.plupload_file_name,.plupload_file_thumb,.plupload_file_action) {display:none!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form .mc-comment-image-controls {display:flex!important;align-items:center!important;gap:4px!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form .mc-comment-image-clear {display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;border:0!important;border-radius:50%!important;padding:0!important;margin:0!important;background:var(--mc-white)!important;box-shadow:none!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form .mc-comment-image-clear[hidden] {display:none!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form [data-mc-comment-preview] .mc-button-face >:is(svg,.majaa-feed-upload-icon) {display:none!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form .mc-comment-button-preview {display:block!important;width:20px!important;height:20px!important;object-fit:cover!important;border-radius:4px!important;margin:0!important;}

/* Reuse the existing Majaa dialog surface and Timeline button primitives. */
#mc-image-review *{box-sizing:border-box}
#mc-image-review{--paper:var(--majaa-color-paper);--ink:#39312d;--soft:#796d63;--gold:var(--majaa-color-gold-soft);--line:#e7ddd0;width:760px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;margin:auto;padding:20px 20px 22px!important;overflow:auto!important;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;background:var(--majaa-dialog-bg);color:var(--majaa-color-ink);color-scheme:light;border:1px solid var(--majaa-dialog-border);border-radius:var(--majaa-dialog-radius);box-shadow:var(--majaa-dialog-shadow);font:14px/1.5 var(--majaa-font-body)}
#mc-image-review:not([open]){display:none}
#mc-image-review::backdrop{background:var(--majaa-dialog-backdrop)}
#mc-image-review .mj-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#mc-image-review h2{margin:0;color:var(--majaa-color-ink);font:400 var(--majaa-dialog-title-size)/1.3 var(--majaa-font-heading)}
#mc-image-review .mj-intro{margin:4px 0 18px!important;color:var(--majaa-color-text);font:14px/1.5 var(--majaa-font-body)}
#mc-image-review button{cursor:pointer;margin:0;min-height:44px;box-shadow:none;text-transform:none;letter-spacing:normal}
#mc-image-review button:disabled{cursor:wait;opacity:.65}
#mc-image-review :is(button,input,select):focus-visible{outline:2px solid var(--mc-action-border);outline-offset:3px}
#mc-image-review [hidden]{display:none!important}
#mc-image-review button.mc-button{padding:0;border:0;background:transparent;color:var(--mc-action-text);font-family:var(--mc-font-body);font-weight:700}
#mc-image-review button.mc-button .mc-button-face{font-weight:700}
#mc-image-review .mc-button--crop[aria-pressed="true"] .mc-button-face{background:var(--mc-panel)!important}
#mc-image-review .mc-image-frame{display:flex;justify-content:center;align-items:center;padding:10px;border:1px solid var(--gold);border-radius:24px 8px 24px 8px}
#mc-image-review .mj-stage{position:relative;width:min(100%,calc(48dvh * var(--mc-image-ratio,1.6)),calc(420px * var(--mc-image-ratio,1.6)));max-width:100%;line-height:0;overflow:hidden;border-radius:12px 3px 12px 3px;touch-action:pan-y;user-select:none}
#mc-image-review .mj-stage >img{display:block;width:100%;height:auto;max-width:100%;max-height:none;object-fit:contain;margin:0;border:0;border-radius:12px 3px 12px 3px}
#mc-image-review .mj-selection{position:absolute;box-shadow:0 0 0 800px #1d19188c;border:1.5px solid var(--majaa-color-paper)}
#mc-image-review .mj-selection .mj-move{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0!important;padding:0;border:0!important;border-radius:0;background:transparent!important;cursor:grab;touch-action:pan-y}
#mc-image-review .mj-move[data-movable="true"]{touch-action:none}
#mc-image-review .mj-move:active{cursor:grabbing}
#mc-image-review .mj-selection .mj-move:focus-visible{outline:2px solid var(--gold);outline-offset:-4px}
#mc-image-review .mj-handle{position:absolute;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;touch-action:none;z-index:2}
#mc-image-review .mj-handle::after{content:"";width:13px;height:13px;border:3px solid var(--majaa-color-paper);filter:drop-shadow(0 1px 2px #39312d99)}
#mc-image-review .mj-nw{left:0;top:0;cursor:nwse-resize}
#mc-image-review .mj-ne{right:0;top:0;cursor:nesw-resize}
#mc-image-review .mj-sw{left:0;bottom:0;cursor:nesw-resize}
#mc-image-review .mj-se{right:0;bottom:0;cursor:nwse-resize}
#mc-image-review .mj-nw::after{border-right:0;border-bottom:0}
#mc-image-review .mj-ne::after{border-left:0;border-bottom:0}
#mc-image-review .mj-sw::after{border-right:0;border-top:0}
#mc-image-review .mj-se::after{border-left:0;border-top:0}
#mc-image-review .mj-options{display:flex;align-items:flex-start;justify-content:flex-start;flex-wrap:wrap;gap:4px 12px;margin-top:10px}
#mc-image-review .mj-reset:not(.mc-button){display:flex;align-items:center;gap:6px;min-height:44px;padding:0;border:0;background:transparent;color:var(--mc-action-text);font:13px/1.4 var(--majaa-font-body)}
#mc-image-review .mc-image-format{position:relative}
#mc-image-review .mc-image-format-toggle .mc-button-face{justify-content:space-between!important;padding:4px 10px!important}
#mc-image-review .mc-image-format-toggle .mc-button-face::after{content:"";display:block;flex:0 0 6px;width:6px;height:6px;margin:0 2px 3px 6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
#mc-image-review .mc-image-format-menu{position:absolute;top:calc(var(--mc-target-height) + 4px);left:0;z-index:30;box-sizing:border-box;width:var(--mc-choice-width);max-width:calc(100vw - 48px);padding:var(--mc-choice-inset);border:1px solid var(--mc-action-border);border-radius:var(--mc-radius);background:var(--paper);box-shadow:0 8px 24px #39303c1f}
#mc-image-review .mc-image-format-option{position:relative;display:flex;align-items:center;width:100%;min-height:44px;padding:6.4px 28.8px 6.4px var(--mc-choice-inset);border:0;border-radius:8px;background:transparent;color:var(--mc-ink);text-align:left;font:400 12.8px/1.4 var(--mc-font-body)}
#mc-image-review .mc-image-format-option:hover,#mc-image-review .mc-image-format-option:focus-visible,#mc-image-review .mc-image-format-option[aria-checked="true"]{background:var(--mc-action-fill)}
#mc-image-review .mc-image-format-option[aria-checked="true"]::after{content:"";position:absolute;right:11.2px;top:50%;width:6px;height:10px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-65%) rotate(45deg)}
#mc-image-review .mj-controls{margin-top:16px}
#mc-image-review .mj-size-label{display:block;margin:10px 0 2px;font:13px/1.5 var(--majaa-font-body)}
#mc-image-review .mj-range-row{display:flex;align-items:center;gap:10px}
#mc-image-review .mj-range-row span{font:12px/1.5 var(--majaa-font-body);color:var(--soft)}
#mc-image-review input[type=range]{appearance:none;-webkit-appearance:none;flex:1;width:100%;min-width:0;height:44px;margin:0;border:0;padding:0;background:transparent;accent-color:var(--mc-panel);cursor:pointer;touch-action:pan-y}
#mc-image-review input[type=range]::-webkit-slider-runnable-track{height:6px;border:1px solid #c8d1c8;border-radius:6px;background:var(--mc-panel)}
#mc-image-review input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin-top:-9px;border:1.5px solid var(--mc-action-border);border-radius:50%;background:var(--mc-panel)}
#mc-image-review input[type=range]::-moz-range-track{height:6px;border:1px solid #c8d1c8;border-radius:6px;background:var(--mc-panel)}
#mc-image-review input[type=range]::-moz-range-thumb{width:20px;height:20px;border:1.5px solid var(--mc-action-border);border-radius:50%;background:var(--mc-panel)}
#mc-image-review .mj-help{margin:10px 0 0;color:var(--soft);font:12px/1.5 var(--majaa-font-body);text-align:center}
#mc-image-review .mj-status{margin:12px 0 0;color:var(--soft);font:12px/1.5 var(--majaa-font-body)}
#mc-image-review .mj-status:empty{display:none}
#mc-image-review .mj-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:8px}
#mc-image-review .mj-submit.mc-button{padding:0!important;border:0!important;background:transparent!important;font-family:var(--mc-font-body)!important;font-weight:700!important}
#mc-image-review .mc-image-format-toggle.mc-button >.mc-button-face{background:var(--mc-white)!important;font-weight:700!important}
#mc-image-review .mj-submit.mc-button >.mc-button-face{background:var(--mc-action-fill)!important;font-weight:700!important}
#mc-image-review .mc-image-privacy:empty{display:none!important}
body.majaa-community-design #buddypress.majaa-community #mc-image-review .mc-image-privacy.majaa-feed-privacy{margin-top:calc(var(--mc-composer-row-gap) + (var(--mc-target-height) - var(--mc-button-visible-height)) / 2)!important;min-height:44px;padding:0!important;justify-content:flex-start!important;align-items:flex-start!important}
#mc-image-review .majaa-feed-privacy-menu{position:static!important;margin-top:4px!important}
#mc-image-review .mc-image-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--majaa-color-paper)}
#mc-image-review .mc-gallery-close-icon{display:block;width:20px;height:20px;background:#39312d;mask:url('close.svg') center/contain no-repeat;-webkit-mask:url('close.svg') center/contain no-repeat}
@media(max-width:480px){#mc-image-review{padding:16px 12px!important}#mc-image-review .mc-image-frame{padding:7px}#mc-image-review .mj-footer .mj-submit{width:100%}#mc-image-review .mj-options{gap:4px 10px}}

body.majaa-community-design #buddypress.majaa-community #whats-new-form .mc-comment-image-controls {flex-wrap:nowrap!important;width:calc(var(--mc-button-width) + 48px)!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form .mc-comment-image-controls >.rtm-upload-button-wrapper {flex:0 0 var(--mc-button-width)!important;width:var(--mc-button-width)!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form .mc-comment-image-controls::before,
body.majaa-community-design #buddypress.majaa-community #whats-new-form .mc-comment-image-controls::after {display:none!important;content:none!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #rtmedia-action-update.mc-comment-image-controls {display:flex!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream form.ac-form.mc-comment-has-selection .mc-comment-native-actions .mc-comment-image-controls {display:flex!important;flex-wrap:nowrap!important;gap:4px!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form [data-mc-comment-preview] .dashicons,
body.majaa-community-design #buddypress.majaa-community #whats-new-form [data-mc-comment-preview] .mc-button-face::before {display:none!important;content:none!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form.mc-comment-has-selection .plupload_filelist_content {display:block!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form.mc-comment-has-selection .plupload_filelist_content >li {min-height:0!important;height:auto!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form.mc-comment-has-selection .plupload_file_status:empty {display:none!important;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-options >.rtmedia-uploader-div:not(.mc-queue-feedback) {display:none!important;}
#mc-image-review .mj-footer{flex-direction:row;align-items:center;}
#mc-image-review .mj-submit{width:auto;}
@media(max-width:480px){#mc-image-review .mj-footer .mj-submit{width:100%;}}

#mc-image-review .bp-template-notice {font-family:var(--mc-font-body);text-align:center;}
#mc-image-review .bp-template-notice {font-size:1rem;}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #whats-new-options >.rtmedia-uploader-div.mc-queue-feedback {display:block!important;opacity:1!important;visibility:visible!important;}

/* rc9: a single-line native alert is exactly25% lower; retain its type/icon. */
body.majaa-community-design #buddypress.majaa-community #whats-new-form .error.bp-ajax-message >p {
  padding-top:calc(.75em - .125lh - .125px)!important;padding-bottom:calc(.75em - .125lh - .125px)!important;
}
/* The dialog uses the existing Timeline palette, with its accepted geometry. */
#mc-image-review .mj-submit,
#mc-image-review .mj-submit:hover {
  background:var(--mc-action-fill)!important;color:var(--mc-action-text)!important;
  border-color:var(--mc-action-border)!important;box-shadow:none!important;
}
#mc-image-review .mj-reset, #mc-image-review .mj-reset:hover {background:transparent!important;color:var(--mc-action-text)!important;}
/* A24px visible badge, with an unchanged44px touch target and native remove. */
body.majaa-community-design #buddypress.majaa-community #whats-new-form #rtmedia-action-update.mc-comment-image-controls {
  position:relative!important;width:var(--mc-button-width)!important;overflow:visible!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #rtmedia-action-update >.mc-comment-image-clear {
  position:absolute!important;right:-22px!important;top:-10px!important;z-index:1100!important;
  display:grid!important;align-items:start!important;justify-items:center!important;
  width:44px!important;height:44px!important;min-height:44px!important;
  background:transparent!important;border:0!important;border-radius:0!important;
}
body.majaa-community-design #buddypress.majaa-community #whats-new-form #rtmedia-action-update >.mc-comment-image-clear[hidden] {display:none!important;}

/* rc11: win over the installed Grimlock menu rule and honor its actual
   activity-content nesting; keep the approved geometry and native handlers. */
body.majaa-community-design #buddypress.majaa-community #activity-stream >li.activity-item.mc-post .dropdown-activity >.dropdown-menu {
  inset:calc(50% + 8px * var(--mc-author-scale) + 12px) calc(50% + 2px * var(--mc-author-scale) + 12px) auto auto!important;
  transform:none!important;
}
body.majaa-community-design #buddypress.majaa-community #activity-stream >li.activity-item.mc-post.mc-comments-collapsed .activity-comments.mc-comments,
body.majaa-community-design #buddypress.majaa-community #activity-stream >li.activity-item.mc-post.mc-comments-collapsed .mc-comments-title {display:none!important;}

/* The same compact badge/44px target on Timeline, comments and replies. */
body.majaa-community-design #buddypress.majaa-community #activity-stream form.ac-form .mc-comment-native-actions .mc-comment-image-controls {position:relative!important;flex-wrap:nowrap!important;width:var(--mc-button-width)!important;gap:0!important;overflow:visible!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream form.ac-form .mc-comment-native-actions .mc-comment-image-controls >.mc-comment-image-clear {position:absolute!important;right:-22px!important;top:-10px!important;z-index:2!important;display:grid!important;align-items:start!important;justify-items:center!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;}
body.majaa-community-design #buddypress.majaa-community #activity-stream form.ac-form .mc-comment-image-controls >.mc-comment-image-clear[hidden] {display:none!important;}
/* Expanded in-flow privacy list must contribute its height to modal scrolling. */
#mc-image-review .mc-image-privacy .majaa-feed-privacy-control:has(.majaa-feed-privacy-toggle[aria-expanded="true"]) {height:auto!important;}

body.majaa-community-design #buddypress.majaa-community .mc-image-clear-badge {display:grid!important;place-items:center!important;width:24px!important;height:24px!important;border:1px solid var(--mc-action-border)!important;border-radius:50%!important;background:var(--majaa-color-paper)!important;color:#39312d!important;pointer-events:none!important;}
body.majaa-community-design #buddypress.majaa-community .mc-image-clear-badge >.mc-comment-image-clear-icon {width:14px!important;height:14px!important;}

#mc-image-review .mc-image-privacy >.majaa-feed-privacy-label {height:44px!important;align-self:flex-start!important;}
#mc-image-review .mj-heading {position:sticky;top:0;z-index:40;background:var(--paper);}
#mc-image-review .mj-heading::before {content:"";position:absolute;inset:-20px -20px 0;z-index:-1;background:var(--paper);pointer-events:none;}

/* Hide only native selection artwork immediately, before any image load/JS pass.
   Upload status and errors remain in rtMedia's existing feedback nodes. */
body.majaa-community-design #buddypress.majaa-community :is(#whats-new-form,form.ac-form) .plupload_filelist_content >li :is(.plupload_file_thumb,.plupload_file_name,.plupload_file_size,.plupload_file_fields,.plupload_file_action){display:none!important}

/* rc17: the native comment form must not shrink dialog action faces with its input padding. */
body.majaa-community-design #buddypress.majaa-community #activity-stream .ac-form #mc-image-review button.mc-button:is(.mj-submit,.mj-reset,.mc-image-format-toggle) {
  padding:4px 0!important;
}
