/* EllGab Modern v1.0.31 — mobile topic post section contrast.
   The header (.poster) and footer (.moderatorbar) share one shade;
   the message (.postarea) keeps a darker shade. No changes to markup or actions.
   Desktop and the Classic theme are unaffected. */
@media screen and (max-width: 700px) {
  #forumposts .post_wrapper {
    --eg-post-chrome: #253644;
    --eg-post-body: #192633;
    --eg-post-divider: #405568;
    overflow: hidden;
    background: var(--eg-post-body) !important;
    border-radius: 12px;
  }

  #forumposts .post_wrapper > .poster,
  #forumposts .post_wrapper > .moderatorbar {
    background: var(--eg-post-chrome) !important;
    background-image: none !important;
  }
  #forumposts .post_wrapper > .poster {
    border-bottom: 1px solid var(--eg-post-divider) !important;
  }
  #forumposts .post_wrapper > .postarea {
    background: var(--eg-post-body) !important;
    background-image: none !important;
    border: 0 !important;
    color: #e4e9ef;
  }
  #forumposts .post_wrapper > .moderatorbar {
    border-top: 1px solid var(--eg-post-divider) !important;
    border-bottom: 0 !important;
  }
  #forumposts .post_wrapper > .moderatorbar .signature {
    border-top-color: var(--eg-post-divider) !important;
  }
  /* Prevent parent background images from obscuring the section colors. */
  #forumposts .post_wrapper > .poster::before,
  #forumposts .post_wrapper > .postarea::before,
  #forumposts .post_wrapper > .moderatorbar::before {
    background-image: none;
  }
}
