/* === YG3 widgets bridge — numbers only, no background === */
/* Handicap */
.yg3-hub .yg3-card__media .yg3w-hcp-overlay{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  pointer-events:none; background:transparent !important;
}
.yg3-hub .yg3w-hcp-overlay .yg3w-hcp-line{
  background:transparent !important; border:0 !important; box-shadow:none !important;
  padding:0 !important; margin:0 !important;
}
.yg3-hub .yg3w-hcp-overlay .yg3w-hcp-label{ display:none !important; }
.yg3-hub .yg3w-hcp-overlay .yg3w-hcp-value{
  display:block;
  font-weight:800; line-height:1;
  font-size:clamp(18px, 5.2vw, 30px);
  color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.35);
}

/* Rounds (Avg over Diff, numbers only) */
.yg3-hub .yg3-card__media .yg3w-rounds-overlay{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  pointer-events:none; background:transparent !important;
}
.yg3-hub .yg3w-rounds-overlay .yg3w-rounds-inner{
  display:flex; flex-direction:column; align-items:center; gap:6px;
  background:transparent !important; padding:0 !important; margin:0 !important; border:0 !important;
}
.yg3-hub .yg3w-rounds-overlay .r-label{ display:none !important; }
.yg3-hub .yg3w-rounds-overlay .r-val{
  display:block; line-height:1; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.35);
}
.yg3-hub .yg3w-rounds-overlay [data-yg3w-rounds-avg]{ 
  font-weight:800; font-size:clamp(18px, 5.2vw, 30px);
}
.yg3-hub .yg3w-rounds-overlay [data-yg3w-rounds-diff]{ 
  font-weight:700; font-size:clamp(14px, 4vw, 20px);
}

/* Make sure our overlay sits above the image but below any fav icons */
.yg3-hub .yg3-card__media{ position:relative; }
.yg3-hub .yg3w-hcp-overlay,
.yg3-hub .yg3w-rounds-overlay{ z-index:2; }

/* Mobile: 3× size for HCP + Rounds overlay numbers */
@media (max-width: 640px) {
  /* Official Handicap number */
  .yg3-hub .yg3w-hcp-overlay .yg3w-hcp-val {
    font-size: clamp(54px, 9vw, 84px) !important; /* was clamp(18px,3vw,28px) */
  }

  /* Rounds: top (365 handicap) */
  .yg3-hub .yg3w-rounds-overlay .r-top {
    font-size: clamp(54px, 9vw, 84px) !important; /* was clamp(18px,3vw,28px) */
  }

  /* Rounds: bottom (arrow + differential) */
  .yg3-hub .yg3w-rounds-overlay .r-bot {
    font-size: clamp(42px, 8vw, 60px) !important; /* was clamp(14px,2.6vw,20px) */
  }
}
