/* YELLA v1.2.96 — Replace old Top 3 Verified frames with the supplied
   gold / blue-silver / bronze neon artwork. Layout remains real HTML.
   Nine-slice (border-image) preserves rounded corners instead of distorting
   the wide source frames into square cards. Only the outer frame is replaced.
   Original photo, rank medallion, stats, footer, click and swipe remain live. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.rank-1 {
  --yc96-frame:url('./assets/yella-top3-gold-neon-frame-v1296.webp');
  --yc96-glow:rgba(255,178,31,.29);
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.rank-2 {
  --yc96-frame:url('./assets/yella-top3-silver-neon-frame-v1296.webp');
  --yc96-glow:rgba(119,213,255,.26);
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.rank-3 {
  --yc96-frame:url('./assets/yella-top3-bronze-neon-frame-v1296.webp');
  --yc96-glow:rgba(255,120,48,.27);
}
/* Give the outward glow room in the scroll track instead of clipping it. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc40-track {
  gap:28px!important;
  padding:28px 22px 31px!important;
  scroll-padding-inline:22px!important;
}
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 {
  flex-basis:calc((100% - 56px)/3)!important;
  position:relative!important;
  isolation:isolate!important;
  padding:0!important;
  border:0!important;
  border-radius:17px!important;
  background:#041d2b!important;
  background-image:none!important;
  box-shadow:0 13px 24px rgba(0,6,13,.51),0 0 11px var(--yc96-glow)!important;
  overflow:visible!important;
}
/* True nine-slice border for natural corners, straight edges and original
   ambient glow; unlike background-size:100% 100%, no warped frames. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.yella-verified-photo-card::after,
html[data-yella-theme="dark"] body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.yella-verified-photo-card::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:-20px!important;
  z-index:11!important;
  pointer-events:none!important;
  box-sizing:border-box!important;
  border:52px solid transparent!important;
  border-image-source:var(--yc96-frame)!important;
  border-image-slice:116 110 116 110!important;
  border-image-width:52px 48px 52px 48px!important;
  border-image-repeat:stretch!important;
  border-image-outset:0!important;
  border-radius:0!important;
  background:none!important;
  filter:none!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.yella-verified-photo-card::before {display:none!important;content:none!important;}
/* Remove all previously imposed wave stripes and the old metallic rim. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-photo .yc85-photo-wave {
  display:none!important;content:none!important;background:none!important;
}
/* Keep functional card content above the noninteractive glow. */
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card .yc36-surface.yella-verified-photo-surface {
  position:relative!important;
  z-index:2!important;
  border-radius:15px 15px 0 0!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card .yc36-photo {
  border-radius:15px 15px 0 0!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card .yc36-details {
  position:relative!important;
  z-index:2!important;
  background:linear-gradient(120deg,#032638,#001722)!important;
  padding-left:19px!important;
  padding-right:19px!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card .yc84-footer {
  z-index:2!important;
  border-top:1px solid rgba(154,217,231,.19)!important;
  border-radius:0 0 15px 15px!important;
  background:linear-gradient(110deg,#041c29,#061e2a)!important;
  padding-left:15px!important;
  padding-right:15px!important;
}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card .yc36-medal{z-index:9!important}
html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card .yc84-card-arrow{z-index:9!important}
@media (min-width:701px) and (max-width:1050px) {
  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 {
    flex-basis:calc((100% - 28px)/2)!important;
  }
}
@media (max-width:700px) {
  html body #page-reports .yc84-showcase #yella-record-carousel .yc40-track {
    gap:19px!important;
    padding:27px 21px 27px!important;
    scroll-padding-inline:21px!important;
  }
  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 {
    flex:0 0 min(81vw,335px)!important;
    border-radius:16px!important;
  }
  html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card .yc36-details {padding-left:16px!important;padding-right:16px!important;}
  html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card .yc84-footer {padding-left:12px!important;padding-right:12px!important;}
}
@media (max-width:360px) {
  html body #page-reports .yc84-showcase #yella-record-carousel .yc40-track {padding-left:20px!important;padding-right:20px!important;scroll-padding-inline:20px!important;}
  html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card.yella-verified-photo-card {flex-basis:80vw!important;}
}
@media (prefers-reduced-motion:reduce) {
  html body #page-reports .yc84-showcase #yella-record-carousel .yc36-card {transition:none!important;}
}
