/* Canonical shell nav: Back and Home stay text buttons in every route. */
#shellTop #shellBackBtn,
#shellTop #shellHomeBtn,
#shellTop .homeTextBtn {
  width: auto !important;
  min-width: 66px !important;
  height: 46px !important;
  padding: 9px 14px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  color: #fff !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

#shellTop #shellBackBtn::before,
#shellTop #shellBackBtn::after,
#shellTop #shellHomeBtn::before,
#shellTop #shellHomeBtn::after,
#shellTop .homeTextBtn::before,
#shellTop .homeTextBtn::after {
  content: none !important;
  display: none !important;
}

#shellTop .shellLogoBtn,
.topIcons,
.topIcons .iconBtn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* Hole Frame visual polish — 2026-06-18 */
.gdHoleStepper button[data-gd-hole-picker],
.gdHoleStepper button[data-gd-hole-picker] strong,
.gdHoleStepper .gdHoleRailNumber{
  background:linear-gradient(180deg,#3cff8d,#18bf63)!important;
  color:#061109!important;
  border-color:rgba(97,255,159,.55)!important;
  box-shadow:0 10px 24px rgba(19,191,99,.22), inset 0 1px 0 rgba(255,255,255,.34)!important;
  text-shadow:none!important;
}
.gdHoleStepper button[data-gd-hole-picker]{
  border-radius:14px!important;
  overflow:hidden!important;
}
.gdHoleStepper button[data-gd-hole-picker] strong{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  font-size:16px!important;
  font-weight:950!important;
  letter-spacing:-.02em!important;
}
.gdGpsFocusMask,
.gdPreLockFocusMask,
.gdGpsFrameMask{
  filter:blur(9px);
  transform-box:fill-box;
  transform-origin:center;
}

/* GPS shell owns navigation. Retire the legacy top-centre hole switcher everywhere. */
#gdNextHolePopout,
.gdNextHolePopout,
body.shell-gps #gdNextHolePopout,
body.shell-gps .gdNextHolePopout,
body.gdGpsActive #gdNextHolePopout,
body.gdGpsActive .gdNextHolePopout,
body.gps-active #gdNextHolePopout,
body.gps-active .gdNextHolePopout {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}


/* Bag/bubble cleanup patch — user-facing GPS polish */
#gdV62NewShotBtn,
#newShotUnlockBtn,
button[aria-label*="Unlock"],
button[title*="Unlock"]{
  background:linear-gradient(180deg,#1fd36d,#12823f)!important;
  color:#031009!important;
  border-color:rgba(126,255,174,.56)!important;
  box-shadow:0 14px 30px rgba(31,211,109,.22), inset 0 1px 0 rgba(255,255,255,.32)!important;
}
#gdGpsClearBtn,
button[aria-label*="Clear shot"],
button[aria-label*="Reset"],
button[title*="Reset"]{
  background:rgba(0,0,0,.42)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.16)!important;
  box-shadow:0 12px 26px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.leaflet-overlay-pane path[stroke="#1fd36d"],
.leaflet-overlay-pane path[stroke="#28b96b"],
.leaflet-overlay-pane path[stroke="#9cffbc"],
.leaflet-overlay-pane path[stroke="#1f8f55"]{
  stroke-opacity:0!important;
}
.leaflet-overlay-pane path[fill="#1fd36d"][stroke="#1fd36d"]{
  opacity:0!important;
  fill-opacity:0!important;
  stroke-opacity:0!important;
}
body.gdDebugGreenMarkers .leaflet-overlay-pane path[fill="#1fd36d"][stroke="#1fd36d"]{
  opacity:.18!important;
  fill-opacity:.08!important;
  stroke-opacity:.18!important;
}

/* GPS shell chrome is real DOM only. Earlier body pseudo-labels painted
   fake Back/Home pills above the actual controls and covered Settings. */
body.gdGpsShellFrame::before,
body[data-clarity-route="gps"]::before,
body.shell-gps::before,
body.gdGpsActive::before,
body.gps-active::before,
body.gdGpsShellFrame::after,
body[data-clarity-route="gps"]::after,
body.shell-gps::after,
body.gdGpsActive::after,
body.gps-active::after {
  content: none !important;
  display: none !important;
}

body.shell-gps #shellTop,
body.gdGpsActive #shellTop,
body.gps-active #shellTop {
  z-index: 2147483000 !important;
  isolation: isolate !important;
  transform: translateZ(0) !important;
}

body.shell-gps #shellTop #shellBackBtn,
body.shell-gps #shellTop #shellHomeBtn,
body.shell-gps #shellTop #shellSettingsBtn,
body.gdGpsActive #shellTop #shellBackBtn,
body.gdGpsActive #shellTop #shellHomeBtn,
body.gdGpsActive #shellTop #shellSettingsBtn,
body.gps-active #shellTop #shellBackBtn,
body.gps-active #shellTop #shellHomeBtn,
body.gps-active #shellTop #shellSettingsBtn {
  background: rgba(0,0,0,.82) !important;
  border-color: rgba(255,255,255,.24) !important;
  box-shadow: 0 18px 36px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.14) !important;
  z-index: 2147483001 !important;
}
