
    #screen-hole {
      --hole-stack-bottom: 130px; /* fallback until nsfPositionHoleMap() measures the real value */
      --hole-floating-control-gap: 8px; /* EDIT v4.2.9 — shared spacing value: right-edge gap for the Add Score ball equals its vertical gap below the Hole Info/Game Bar stack */
    }
    #screen-hole #hole-map-container {
      /* v4.2.5 — removed the +8px gap; the JPG/placeholder now begins
         directly beneath the hole info bar with no visible green strip.
         v7.6.62 — the rendering ends where the Footer Bar begins (it no longer
         runs underneath it): bottom = --hole-footer-bottom, measured by
         nsfPositionHoleMap() (footer height + safe-area frame). */
      top: var(--hole-stack-bottom) !important;
      left: 0 !important;
      right: 0 !important;
      bottom: var(--hole-footer-bottom, 0px) !important;
      width: auto !important;
      height: auto !important;
      background-size: contain !important;
      background-position: center top !important;
      background-repeat: no-repeat !important;
    }

    /* Hole number: upper-right, just below the game bar stack.
       v3.0.36 — size reduced 50% (clamp 120-220px -> 60-110px) and repositioned
       to sit exactly 0.25in below the measured stack bottom and 0.25in from the
       right screen edge, per directive. Still freestanding text, no ball graphic.
       v3.0.37 — moved up ~0.25in per directive (top offset 0.25in -> 0in below
       stack bottom). Size and right-edge position unchanged. */
    /* EDIT v4.2.9 — Hole Number enlarged and repositioned: sits lower-left,
       fixed (not absolute) so it floats directly over the hole rendering
       regardless of scroll, moved slightly higher and farther toward the
       left edge, and sized noticeably larger than v4.2.8. Still plain white
       text with its existing outline/shadow — no circle/badge added. Stays
       above the footer (footer's own row sits well below bottom:96px).
       Shape/position of the Add Score ball is untouched by this change. */
    #screen-hole #hf-hole-float {
      position: fixed !important;
      top: auto !important;
      /* v7.6.65 — moved up 1/4" (kept). v7.6.66 — the "#"+numeral group is positioned so the numeral sits ~1/4" further left than
         v7.6.65 (was calc(6px + 0.5in)); the small "#" occupies the space to its left, clear of the screen edge. */
      bottom: calc(var(--hole-footer-bottom, 88px) + 8px + 0.25in) !important;
      left: max(6px, calc(6px + 0.25in)) !important; /* v7.7.65 — numeral-only position; # prefix removed */
      right: auto !important;
      transform: none !important;
      font-size: clamp(76px, 23vw, 126px) !important;
      line-height: 0.9 !important;
    }
    /* EDIT vNEXT — old "Score ball ('Add Score')" #nsf-shot-btn rule removed; element no longer exists. */
  
/* v7.6.66 — small "#" prefix: part of the same positioned group as the numeral (one flex row, moves as one). Smaller than the
   numeral (0.34em of it), same colour/outline/shadow (inherited), top-aligned so it reads as a prefix. */
#screen-hole #hf-hole-float { overflow: visible; display: flex !important; align-items: flex-start; justify-content: flex-start; }
#screen-hole #hf-hole-float .hf-hole-prefix {
  position: static; flex: 0 0 auto; align-self: flex-start;
  font-size: 0.34em; line-height: 1; font-weight: 900; font-style: normal; margin: 0.34em 0.1em 0 0; padding: 0;
  pointer-events: none;
}

/* v7.7.65 — Hole number is numeral-only. */
#screen-hole #hf-hole-float .hf-hole-prefix { display:none !important; }

/* v7.7.115 — Bright, legible small # with top aligned optically to
   the large numeral. Keep the numeral's existing X/Y position unchanged.
   A 1px black stroke swallowed the small white glyph on iPhone; remove it. */
#screen-hole #hf-hole-float .hf-hole-prefix {
  display: block !important;
  position: absolute !important;
  right: calc(100% - 2px); top: .52em;
  margin: 0 !important; padding: 0 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: .6px #fff !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.52) !important;
  font-family: Arial, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-style: normal !important;
  font-size: .34em; line-height: 1;
  font-weight: 900;
  pointer-events: none;
}
