/* YELLA Fishing v1.2.17 — homepage recent catches.
   Loaded AFTER the compressed yella-performance bundle to resolve its old layout rules.
   Scoped to #page-home to protect community feed, profiles and standings. */

#page-home .v1-catch-home {
  padding: 24px 0 38px !important;
  background: #001820 !important;
}
#page-home .v1-catch-home > .container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1380px,calc(100% - 40px)) !important;
  padding: 27px 26px 20px !important;
  border-radius: 21px !important;
  border: 1px solid rgba(100,149,163,.40) !important;
  background: radial-gradient(ellipse 85% 100% at 70% -35%,rgba(14,87,108,.28),transparent 75%),linear-gradient(180deg,#002430 0%,#001a23 100%) !important;
  box-shadow: 0 15px 42px rgba(0,0,0,.18) !important;
}
#page-home .v1-catch-home > .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('./assets/yella-ocean-contours-v1102.svg') top right / 620px auto no-repeat;
  opacity: .10;
  pointer-events: none;
  z-index: -1;
}
#page-home .yella-simple-catch-head {
  display: flex;
  align-items: center !important;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 23px !important;
}
#page-home .yella-simple-catch-head > div {min-width: 0; flex: 1 1 auto;}
#page-home .yella-catch-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 11px;
  color: #f2c457 !important;
  font: 800 12px/1.1 'DM Sans',Inter,system-ui,sans-serif;
  letter-spacing: .75px;
}
#page-home .yella-catch-kicker::before {
  content: "";
  display: block;
  width: 36px; height: 2px;
  flex: none;
  background: #f1bc4c;
}
html[data-yella-theme="dark"] #page-home .yella-simple-catch-head h2,
#page-home .yella-simple-catch-head h2 {
  margin: 0 0 12px !important;
  max-width: none !important;
  color: #f6f7f7 !important;
  font: 900 clamp(38px, 3.8vw, 54px)/.98 'Barlow Condensed',Impact,'Arial Narrow',sans-serif !important;
  letter-spacing: .2px !important;
  white-space: nowrap;
}
html[data-yella-theme="dark"] #page-home .yella-simple-catch-head h2 em,
#page-home .yella-simple-catch-head h2 em {
  color: #eab341 !important;
  font: inherit;
}
#page-home .yella-simple-catch-sub {
  margin: 0 !important;
  max-width: 730px;
  color: #becfd5 !important;
  font: 400 14px/1.55 'DM Sans',Inter,system-ui,sans-serif;
}
html[data-yella-theme="dark"] #page-home .yella-simple-catch-head > .yella-catch-cta,
#page-home .yella-simple-catch-head > .yella-catch-cta {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 13px;
  align-self: center;
  white-space: nowrap;
  background: linear-gradient(130deg,#ffdc7a 0%,#e6aa34 100%) !important;
  color: #09212a !important;
  border: 1px solid #f0c363 !important;
  border-radius: 999px !important;
  box-shadow: 0 7px 22px rgba(225,158,42,.22) !important;
  padding: 14px 22px !important;
  font: 800 13px/1.2 'DM Sans',Inter,system-ui,sans-serif;
  min-height: 46px;
  transition: transform .18s ease,filter .18s ease;
}
#page-home .yella-simple-catch-head > .yella-catch-cta:hover {filter: brightness(1.08); transform: translateY(-2px)}
#page-home .v1-catch-grid {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 14px !important;
  align-items: stretch;
  margin-top: 0;
}
html[data-yella-theme="dark"] #page-home .v1-catch-grid > *,
#page-home .v1-catch-grid > * {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(92,145,161,.48) !important;
  border-radius: 16px !important;
  background: linear-gradient(160deg,#052c39 0%,#001f2a 100%) !important;
  box-shadow: 0 7px 18px rgba(0,0,0,.16) !important;
}
html[data-yella-theme="dark"] #page-home .v1-catch-grid .home-catch-preview,
#page-home .v1-catch-grid .home-catch-preview {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  position: relative !important;
  overflow: hidden;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: inherit;
}
html[data-yella-theme="dark"] #page-home .v1-catch-grid .home-catch-link,
#page-home .v1-catch-grid .home-catch-link {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #f5f9f9 !important;
}
#page-home .v1-catch-grid .home-catch-photo {
  position: relative;
  flex: none;
  display: block !important;
  overflow: hidden;
  margin: 10px 10px 0;
  width: calc(100% - 20px) !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1.52 / 1 !important;
  border-radius: 11px;
  background-color: #113c48 !important;
}
#page-home .v1-catch-grid .home-catch-photo img {
  position: absolute;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 36%;
  border-radius: inherit;
}
/* Portrait fish photos stay fully visible, using a blurred copy to fill the sides. */
#page-home .v1-catch-grid .home-catch-photo.is-portrait {
  background-position: center center !important;
  background-size: cover !important;
}
#page-home .v1-catch-grid .home-catch-photo.is-portrait::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: var(--yella-photo-bg) center / cover no-repeat;
  filter: blur(16px) brightness(.56);
  transform: scale(1.08);
}
#page-home .v1-catch-grid .home-catch-photo.is-portrait img {
  z-index: 1;
  object-fit: contain !important;
}
#page-home .v1-catch-grid .home-catch-photo .yella-catch-photo-loading {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 12px;
  text-align: center;
  color: #adc5cc;
  font-size: 12px;
}
html[data-yella-theme="dark"] #page-home .v1-catch-grid .home-catch-copy,
#page-home .v1-catch-grid .home-catch-copy {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  align-items: stretch !important;
  width: 100%;
  min-width: 0;
  padding: 14px 15px 13px !important;
  background: transparent !important;
}
html[data-yella-theme="dark"] #page-home .v1-catch-grid .home-catch-copy > strong,
#page-home .v1-catch-grid .home-catch-copy > strong {
  display: block;
  color: #f5f7f9 !important;
  font: 800 clamp(14px,1.25vw,17px)/1.22 'DM Sans',Inter,system-ui,sans-serif !important;
  letter-spacing: -.4px;
}
#page-home .home-catch-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px 14px !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
html[data-yella-theme="dark"] #page-home .home-catch-meta .home-catch-meta-item,
#page-home .home-catch-meta .home-catch-meta-item {
  display: inline-flex !important;
  align-items: center !important;
  flex-direction: row !important;
  gap: 6px !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #cbd8df !important;
  font: 400 12px/1.4 'DM Sans',Inter,system-ui,sans-serif !important;
}
#page-home .home-catch-meta .home-catch-meta-item svg {
  display: block !important;
  position: static !important;
  flex: 0 0 15px !important;
  width: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  max-height: 15px !important;
  margin: 0 !important;
  color: #f5bd4b !important;
  fill: currentColor !important;
}
#page-home .home-catch-meta .home-catch-meta-item > span {
  display: inline !important;
  flex: initial !important;
  min-width: 0;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #cbd8df !important;
  font-size: 12px !important;
  overflow-wrap: anywhere;
}
html[data-yella-theme="dark"] #page-home .v1-catch-grid .home-catch-view,
#page-home .v1-catch-grid .home-catch-view {
  display: block !important;
  width: 100%;
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(97,145,158,.35) !important;
  color: #f5be4b !important;
  font: 800 12px/1.2 'DM Sans',Inter,system-ui,sans-serif !important;
}
#page-home .v1-catch-grid .home-catch-link:is(:hover,:focus-visible) .home-catch-view {color: #ffda80 !important; text-decoration: none}

/* Overlay existing live, interactive like button; don't create a fake badge. */
#page-home .v1-catch-grid .home-catch-likes {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  bottom: auto !important;
  left: auto !important;
  display: inline-flex !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 6 !important;
}
html[data-yella-theme="dark"] #page-home .v1-catch-grid .home-catch-likes .yella-like-button,
#page-home .v1-catch-grid .home-catch-likes .yella-like-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0 !important;
  min-height: 30px !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(5,17,24,.84) !important;
  border: 1px solid rgba(233,183,71,.78) !important;
  box-shadow: 0 5px 12px rgba(0,0,0,.28) !important;
  color: #f8faf9 !important;
  opacity: 1 !important;
  backdrop-filter: blur(6px);
}
html[data-yella-theme="dark"] #page-home .v1-catch-grid .home-catch-likes .yella-like-heart,
#page-home .v1-catch-grid .home-catch-likes .yella-like-heart {
  display: inline-flex !important;
  align-items: center;
  color: #f7c04d !important;
  filter: none !important;
  font-size: 17px !important;
  line-height: 1 !important;
}
#page-home .v1-catch-grid .home-catch-likes .yella-like-heart svg {
  width: 17px !important;
  height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  fill: #f7c04d !important;
  stroke: #f7c04d !important;
}
#page-home .v1-catch-grid .home-catch-likes .yella-like-heart svg path {
  fill: #f7c04d !important;
  stroke: #f7c04d !important;
}
#page-home .v1-catch-grid .home-catch-likes .yella-like-button span[data-yella-count] {
  color: #fff !important;
  font: 800 12px/1 Inter,system-ui,sans-serif;
}
/* Keep feature-fallback cards readable if fewer than four public catches exist. */
#page-home .v1-catch-grid .yella-catch-action-card {min-height: 275px;}
#page-home .v1-catch-grid .yella-catch-action-card strong {color:#f4f8f8 !important;}
#page-home .v1-catch-home .v1-fineprint {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 22px 2px 0 !important;
  padding: 15px 0 0;
  border-top: 1px solid rgba(94,144,159,.30);
  color: #97b2bc !important;
  font: 400 11px/1.55 'DM Sans',Inter,system-ui,sans-serif;
}
#page-home .v1-catch-home .v1-fineprint::before {
  content: 'i';
  flex: 0 0 18px;
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  border: 1px solid #7f9da6;
  border-radius: 50%;
  color: #c4d9dc;
  font-weight: 800;
}
@media(max-width:1050px) {
  #page-home .v1-catch-grid {grid-template-columns: repeat(2,minmax(0,1fr)) !important;}
  #page-home .yella-simple-catch-head h2 {font-size: clamp(36px,5.5vw,52px) !important;white-space:normal !important;}
}
@media(max-width:680px) {
  #page-home .v1-catch-home {padding: 14px 0 24px !important;}
  #page-home .v1-catch-home > .container {padding: 20px 13px 17px !important; border-radius: 17px !important;}
  #page-home .yella-simple-catch-head {flex-direction: column;align-items: flex-start !important;gap: 15px !important; margin-bottom: 20px !important;}
  #page-home .yella-simple-catch-head h2 {font-size: clamp(36px,10.3vw,49px) !important;letter-spacing: 0 !important;white-space:normal !important;}
  #page-home .yella-simple-catch-sub {font-size: 13px !important;}
  #page-home .yella-simple-catch-head > .yella-catch-cta {padding: 12px 18px !important;min-height: 43px;}
  #page-home .v1-catch-grid {grid-template-columns: 1fr !important;gap: 14px !important;}
  #page-home .v1-catch-grid .home-catch-photo {aspect-ratio: 1.65/1 !important;}
  #page-home .v1-catch-grid .home-catch-copy {padding: 13px !important;}
  #page-home .v1-catch-grid .home-catch-copy > strong {font-size: 16px !important;}
  #page-home .v1-catch-grid .home-catch-likes {top: 18px !important;right: 18px !important;}
  #page-home .v1-catch-home .v1-fineprint {font-size: 10px; margin-top: 16px !important;}
}
@media(prefers-reduced-motion:reduce){#page-home .yella-catch-cta{transition:none !important;}}
