/* YELLA v1.2.92 — correct-sized metallic outer borders + separate photo waves.
   Fixes v1.2.91: never stretch a transparent frame image across a differently
   proportioned card; frame follows true card perimeter, wave follows photo.
   The real member records, photos and click controls are unchanged. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.rank-1{
 --yc92-metal:linear-gradient(140deg,#fff0a0 0%,#dd9d16 19%,#ffe478 39%,#ad6410 63%,#fff1b1 80%,#c17a12 100%);
 --yc92-edge:#fbd366;--yc92-glow:rgba(255,186,42,.48);
 --yc92-wave:url('./assets/yella-top3-gold-photo-wave-v1292.webp');
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.rank-2{
 --yc92-metal:linear-gradient(140deg,#f5fdff 0%,#94adbd 17%,#f9ffff 36%,#758fa4 62%,#e6f8ff 79%,#96b2c7 100%);
 --yc92-edge:#d7effc;--yc92-glow:rgba(202,230,248,.45);
 --yc92-wave:url('./assets/yella-top3-silver-photo-wave-v1292.webp');
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.rank-3{
 --yc92-metal:linear-gradient(140deg,#ffe0b9 0%,#ad6031 19%,#ffbf89 38%,#994a25 63%,#ffd5ad 80%,#b76a36 100%);
 --yc92-edge:#efab77;--yc92-glow:rgba(244,141,73,.44);
 --yc92-wave:url('./assets/yella-top3-bronze-photo-wave-v1292.webp');
}
/* Move the metal to the actual outside edge; don't draw an inset frame. */
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{
 box-sizing:border-box!important;
 padding:0!important;
 border:2px solid transparent!important;
 border-radius:17px!important;
 background:linear-gradient(135deg,#052a3d,#001824) padding-box,var(--yc92-metal) border-box!important;
 background-origin:padding-box,border-box!important;
 background-clip:padding-box,border-box!important;
 box-shadow:0 12px 28px rgba(0,6,15,.58),0 0 21px var(--yc92-glow),0 0 0 1px var(--yc92-glow),inset 0 0 0 1px rgba(255,255,255,.12)!important;
 overflow:hidden!important;
}
/* Turn off the v1.2.91 absolute overlay that made a smaller rectangle. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.yella-verified-photo-card::after,
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.yella-verified-photo-card::before{
 display:none!important;content:none!important;
}
/* Wave sits at the photo-to-measurement transition, not across the footer. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-photo .yc85-photo-wave{
 display:block!important;position:absolute!important;z-index:4!important;
 inset:auto 0 -1px!important;width:100%!important;height:86px!important;
 background-image:var(--yc92-wave)!important;
 background-repeat:no-repeat!important;background-size:100% 100%!important;
 background-position:center bottom!important;
 opacity:.98!important;pointer-events:none!important;
 filter:drop-shadow(0 -1px 5px var(--yc92-glow))!important;
}
/* Remove the inset detail and footer panels so both meet the edge cleanly. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card .yc36-surface.yella-verified-photo-surface{
 border-radius:14px 14px 0 0!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-photo{
 border-radius:14px 14px 0 0!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card .yc36-details{
 position:relative!important;z-index:5!important;margin:0!important;
 width:100%!important;max-width:100%!important;
 background:linear-gradient(135deg,rgba(2,31,45,.97),rgba(0,21,32,.99))!important;
 border-radius:0!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc84-footer{
 position:relative!important;z-index:5!important;
 margin:0!important;width:100%!important;max-width:100%!important;
 border-top:1px solid rgba(177,221,234,.18)!important;
 border-radius:0 0 13px 13px!important;
 background:linear-gradient(110deg,#021b29,#041d2b)!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-medal{z-index:7!important}
html body #page-reports .yc84-showcase #yella-record-carousel .yc84-card-arrow{z-index:6!important}
@media (hover:hover) and (pointer:fine){
 html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.yella-verified-photo-card:hover{
  box-shadow:0 17px 35px rgba(0,6,15,.65),0 0 28px var(--yc92-glow),0 0 0 1px var(--yc92-glow)!important;
 }
}
@media(max-width:700px){
 html body #page-reports .yc84-showcase #yella-record-carousel .yc36-photo .yc85-photo-wave{height:78px!important;}
}
@media(prefers-reduced-motion:reduce){
 html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card{transition:none!important;}
}
