/* YELLA v1.2.132 — Community Catch Feed layout polish.
   Feed list only. Gallery, photo lightbox, verified carousel and moderation permissions unchanged. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) > .catch-card {
  border:1px solid rgba(67,145,164,.40)!important;
  border-radius:16px!important;
  background:#001c26!important;
  box-shadow:0 10px 24px rgba(0,0,0,.16)!important;
  margin-bottom:12px!important;
  isolation:isolate!important;
  position:relative!important;
}
/* Clean single-line member header ABOVE the photo. Leave room for owner/admin menu. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile {
  display:flex!important;
  position:relative!important;
  flex:0 0 auto!important;
  align-items:center!important;
  padding:9px 58px 9px 12px!important;
  min-height:57px!important;
  gap:9px!important;
  background:#03242f!important;
  border-bottom:1px solid rgba(91,164,181,.22)!important;
  box-sizing:border-box!important;
  z-index:2!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-meta-top {
  flex:1!important;min-width:0!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .yella-feed-avatar {
  width:36px!important;height:36px!important;flex:0 0 36px!important;
  border:1.5px solid #eac359!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .yella-author-zone-v193 {
  margin-top:2px!important;
}
/* Allow photos to fill their frames (no large blurred sidebars), with adaptive
   height set from the real image proportions in the companion script. Clicking
   the image still opens the existing full-photo viewer. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-photo {
  height:auto!important;
  min-height:0!important;
  max-height:min(680px,80vh)!important;
  aspect-ratio:var(--yf-feed-photo-ratio, 4 / 5)!important;
  overflow:hidden!important;
  background:#001923!important;
  position:relative!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-photo > img {
  width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center center!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-photo > .yella-photo-backdrop-v199 {
  display:none!important;
}
/* Short, readable Instagram-style details instead of a tall empty footer. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-detail {
  position:static!important;
  padding:5px 13px 12px!important;
  gap:0!important;
  background:#001c26!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-social-actions-v191 {
  border:0!important;background:transparent!important;
  padding:0!important;margin:0 0 3px!important;
  gap:8px!important;min-height:38px!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-social-actions-v191 :is(button,.yella-like-slot) {
  min-height:38px!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-detail > h3 {
  margin:1px 0 2px!important;
  font:750 15px/1.35 'Manrope','DM Sans',sans-serif!important;
  letter-spacing:-.2px!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-detail > p {
  margin:0 0 3px!important;
  font:450 12.5px/1.45 'DM Sans',system-ui,sans-serif!important;
  color:#c8dade!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-add-comment-v1105 {
  margin:0!important;padding:4px 0!important;min-height:28px!important;
  font-size:12px!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-pills:empty,
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-footer:empty {display:none!important}
/* Place the existing secure owner/admin <details> in the top-right.
   Crucially, don't clone or replace the action buttons or their event handlers. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-detail > .catch-footer {
  position:static!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  min-height:0!important;
  gap:0!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-detail > .catch-footer:has(> .yella-catch-more-v1293:only-child) {
  height:0!important;
  flex:0 0 0!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-detail > .catch-footer > .yella-catch-more-v1293 {
  position:absolute!important;
  left:auto!important;bottom:auto!important;
  right:12px!important;top:9px!important;
  margin:0!important;
  width:38px!important;height:38px!important;
  z-index:32!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-detail > .catch-footer > .yella-catch-more-v1293 > summary {
  background:#052833!important;
  border:1px solid rgba(217,180,74,.5)!important;
  color:#ffd060!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-catch-more-v1293 > .yella-catch-options-v1293 {
  bottom:auto!important;top:calc(100% + 7px)!important;
  right:0!important;
  z-index:33!important;
}
@media(max-width:600px) {
  html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile {
    padding:8px 56px 8px 10px!important;min-height:54px!important;
  }
  html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-photo {
    max-height:min(570px,80vh)!important;
  }
  html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-detail {
    padding:4px 11px 10px!important;
  }
  html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-detail > .catch-footer > .yella-catch-more-v1293 {
    right:9px!important;top:8px!important;
  }
}
