/* YELLA Fishing v1.2.91 | Official glowing wave-frame overlays
   Three supplied transparent border images. Underlying live R2/Supabase photos,
   catch measurements, names, verification badges, profiles, swipe and viewer remain HTML. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.rank-1 {
 --yc91-frame:url('./assets/yella-top3-gold-wave-glow-v1291.webp');
 --yc91-glow:rgba(255,182,19,.39);
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.rank-2 {
 --yc91-frame:url('./assets/yella-top3-silver-wave-glow-v1291.webp');
 --yc91-glow:rgba(207,230,247,.37);
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.rank-3 {
 --yc91-frame:url('./assets/yella-top3-bronze-wave-glow-v1291.webp');
 --yc91-glow:rgba(250,145,74,.35);
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.yella-verified-photo-card,
html[data-yella-theme="dark"] body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.yella-verified-photo-card {
 background:linear-gradient(180deg,#052c40 0%,#001926 66%,#001824 100%)!important;
 border-color:transparent!important;
 box-shadow:0 12px 32px rgba(0,7,17,.57),0 0 24px var(--yc91-glow)!important;
}
/* Frame sits *on* the functional card; fully transparent openings keep actual images visible. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.yella-verified-photo-card::after {
 content:""!important;display:block!important;position:absolute!important;
 inset:0!important;pointer-events:none!important;z-index:9!important;
 background:var(--yc91-frame) center center / 100% 100% no-repeat!important;
 border-radius:inherit!important;
 filter:drop-shadow(0 0 3px var(--yc91-glow));
}
/* Remove the old competing wave SVG, avoiding doubled ripple lines. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-photo .yc85-photo-wave {
 display:none!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-photo {
 background:radial-gradient(ellipse at 50% 42%,#17566b,#052a3e 54%,#001a28 100%)!important;
}
/* Landscape photos fill the entire image area; portrait photos remain uncropped
   so the fish and angler aren't cut off on mobile or desktop. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-photo .yella-verified-catch-image:not(.yc36-portrait) {
 object-fit:cover!important;object-position:center center!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-photo .yella-verified-catch-image.yc36-portrait {
 object-fit:contain!important;object-position:center center!important;
}
/* Readable content stays above the overlay while the metallic wave remains behind it. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card .yc36-details {
 position:relative!important;z-index:10!important;
 background:linear-gradient(180deg,rgba(0,22,34,.78) 0%,rgba(0,20,30,.92) 95%)!important;
 margin-left:5px!important;margin-right:5px!important;width:calc(100% - 10px)!important;
 border-radius:4px!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc84-footer {
 position:relative!important;z-index:10!important;
 margin:0 5px 5px!important;
 width:calc(100% - 10px)!important;
 min-height:42px!important;
 background:linear-gradient(90deg,rgba(0,19,29,.83),rgba(3,25,37,.88))!important;
 border-top:1px solid rgba(191,230,235,.18)!important;
 border-radius:0 0 9px 9px!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-medal {z-index:12!important}
html body #page-reports .yc84-showcase #yella-record-carousel .yc84-card-arrow {position:relative!important;z-index:11!important}
@media(max-width:700px){
 html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card .yc36-details {
  margin-left:4px!important;margin-right:4px!important;width:calc(100% - 8px)!important;
 }
 html body #page-reports .yc84-showcase #yella-record-carousel .yc84-footer {
  margin:0 4px 4px!important;width:calc(100% - 8px)!important;
 }
}
@media (prefers-reduced-motion:reduce){
 html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card {transition:none!important}
}
