/* YELLA Fishing v1.2.138 — Community header, approved Option 3.
   A quiet ocean-teal post header with a fine metallic accent.
   Scope: scrolling Community cards only, never Grid / Gallery / member profiles.
   Keep DOM, accessible owner/admin menu, relative time and points unchanged. */

/* The design is part of the post card, not a second floating boxed widget. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile {
  box-sizing:border-box!important;
  min-height:59px!important;
  padding:9px 55px 9px 12px!important;
  gap:10px!important;
  background:linear-gradient(108deg,#062b36 0%,#042631 56%,#03232d 100%)!important;
  border-bottom:1px solid rgba(112,162,171,.27)!important;
  border-radius:15px 15px 0 0!important;
  box-shadow:inset 0 1px 0 rgba(122,179,189,.20),
             inset 1px 0 0 rgba(122,179,189,.08),
             inset -1px 0 0 rgba(122,179,189,.08)!important;
}
/* Metallic gold should be a tiny understated detail, not a bright border. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile::after {
  content:"";
  position:absolute;
  bottom:-1px;
  left:50%;
  transform:translateX(-50%);
  width:clamp(64px,20%,126px);
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(225,185,94,.55) 50%,transparent);
  box-shadow:0 0 6px rgba(217,167,63,.12);
  pointer-events:none;
}
/* Gold-ring avatar ties into YELLA's level system without glowing. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .yella-feed-avatar {
  width:37px!important;height:37px!important;flex:0 0 37px!important;
  border:1.25px solid #d6ab58!important;
  box-shadow:0 0 0 1px rgba(0,14,22,.35)!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-author {
  gap:2px 7px!important;
  align-items:center!important;
  line-height:1.2!important;
  letter-spacing:0!important;
  text-shadow:none!important;
}
/* High-contrast identity first; keep long names from crowding the menu/time. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-author > .yella-author-profile-link {
  font:780 14px/1.25 'Manrope','DM Sans',system-ui,sans-serif!important;
  letter-spacing:-.12px!important;
  color:#f5fbfb!important;
  text-shadow:none!important;
  min-width:0!important;
  flex:0 1 auto!important;
  max-width:100%!important;
  text-overflow:ellipsis!important;
  overflow:hidden!important;
  white-space:nowrap!important;
}
/* Design 5 levels remain functional. Just shrink the presentation slightly. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-author .yella-feed-level-v12135 {
  height:19px!important;
  min-height:19px!important;
  padding:0 6px!important;
  gap:3px!important;
  border:1px solid rgba(221,181,97,.65)!important;
  background:linear-gradient(130deg,#092d38,#061f2c)!important;
  box-shadow:none!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-author .yella-feed-level-v12135 .yella-l135-lvl {
  font-size:8.5px!important;
  font-weight:750!important;
  letter-spacing:.025em!important;
}
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-author .yella-feed-level-v12135 .yella-l135-number {
  font-size:10.5px!important;
  font-weight:800!important;
}
/* Keep time to the right of the name/level, not floating above the dots. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-author > time {
  font:500 10.5px/1.3 'DM Sans',system-ui,sans-serif!important;
  color:#93adb8!important;
  margin-left:auto!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
}
/* The location is supporting information; leave breathing room under the name. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-author > .yella-author-zone-v193 {
  margin:2px 0 0!important;
  font:450 10.5px/1.35 'DM Sans',system-ui,sans-serif!important;
  color:#a4bbc3!important;
  letter-spacing:.005em!important;
  text-shadow:none!important;
}
/* The menu stays a full-size accessible target, with no decorative square. */
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-detail > .catch-footer > .yella-catch-more-v1293 {
  top:4px!important;
  right: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 > summary {
  color:#9fb7bf!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!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 svg {
  width:17px!important;height:17px!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:is(:hover,:active),
html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .catch-detail > .catch-footer > .yella-catch-more-v1293[open] > summary {
  color:#edf6f7!important;
  background:rgba(89,149,167,.13)!important;
}
/* Mobile: same hierarchy, modest sizing, no larger footprint. */
@media(max-width:600px) {
  html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile {
    min-height:57px!important;
    padding:8px 49px 8px 10px!important;
    gap:8px!important;
  }
  html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .yella-feed-avatar {
    width:35px!important;height:35px!important;flex-basis:35px!important;
  }
  html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-author > .yella-author-profile-link {
    font-size:13px!important;
  }
  html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-author > time {
    font-size: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 {
    top:3px!important;right:7px!important;
  }
}
/* On very narrow phones reserve space for the timestamp instead of wrapping it
   under the location: truncate the username and keep LVL + date visible. */
@media(max-width:390px) {
  html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-author {
    gap:2px 5px!important;
  }
  html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-author > .yella-author-profile-link {
    max-width:calc(100% - 107px)!important;
  }
  html[data-yella-theme="dark"] body #page-reports #reports-list:not(.yella-catch-grid-v178) .yella-v198-profile .catch-author .yella-feed-level-v12135 {
    padding:0 5px!important;
  }
}
