/* Shared gross-score palette: Trip, Tournament, personal rounds and clubhouse. */
:root{--bnh-score-eagle:#f2cf58;--bnh-score-birdie:#c83b45;--bnh-score-par:#e6e9e7;--bnh-score-bogey:#b7d3e8;--bnh-score-double:#174c78;}
.v3-leaderboard{--v3-score-eagle:var(--bnh-score-eagle)}
html body #app#app #content-view :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.eagle),html body .board-scorecard :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.eagle){background:var(--bnh-score-eagle)!important;color:#000!important;-webkit-text-fill-color:#000!important;box-shadow:none!important}
html body #app#app #content-view :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.eagle) *{color:inherit!important;-webkit-text-fill-color:inherit!important}
html body #app#app #content-view .profile-score-bars-v439 .bar.eagle,.board-sc-legend i.eagle{background:var(--bnh-score-eagle)!important}
html body #app#app #content-view .v2-score-legend span:nth-child(1):before{background:var(--bnh-score-eagle)!important}
.v3-leaderboard{--v3-score-birdie:var(--bnh-score-birdie)}
html body #app#app #content-view :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.birdie),html body .board-scorecard :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.birdie){background:var(--bnh-score-birdie)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none!important}
html body #app#app #content-view :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.birdie) *{color:inherit!important;-webkit-text-fill-color:inherit!important}
html body #app#app #content-view .profile-score-bars-v439 .bar.birdie,.board-sc-legend i.birdie{background:var(--bnh-score-birdie)!important}
html body #app#app #content-view .v2-score-legend span:nth-child(2):before{background:var(--bnh-score-birdie)!important}
.v3-leaderboard{--v3-score-par:var(--bnh-score-par)}
html body #app#app #content-view :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.par),html body .board-scorecard :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.par){background:var(--bnh-score-par)!important;color:#123d46!important;-webkit-text-fill-color:#123d46!important;box-shadow:none!important}
html body #app#app #content-view :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.par) *{color:inherit!important;-webkit-text-fill-color:inherit!important}
html body #app#app #content-view .profile-score-bars-v439 .bar.par,.board-sc-legend i.par{background:var(--bnh-score-par)!important}
html body #app#app #content-view .v2-score-legend span:nth-child(3):before{background:var(--bnh-score-par)!important}
.v3-leaderboard{--v3-score-bogey:var(--bnh-score-bogey)}
html body #app#app #content-view :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.bogey),html body .board-scorecard :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.bogey){background:var(--bnh-score-bogey)!important;color:#000!important;-webkit-text-fill-color:#000!important;box-shadow:none!important}
html body #app#app #content-view :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.bogey) *{color:inherit!important;-webkit-text-fill-color:inherit!important}
html body #app#app #content-view .profile-score-bars-v439 .bar.bogey,.board-sc-legend i.bogey{background:var(--bnh-score-bogey)!important}
html body #app#app #content-view .v2-score-legend span:nth-child(4):before{background:var(--bnh-score-bogey)!important}
.v3-leaderboard{--v3-score-double:var(--bnh-score-double)}
html body #app#app #content-view :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.double,.over,.worse),html body .board-scorecard :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.double,.over,.worse){background:var(--bnh-score-double)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none!important}
html body #app#app #content-view :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.double,.over,.worse) *{color:inherit!important;-webkit-text-fill-color:inherit!important}
html body #app#app #content-view .profile-score-bars-v439 .bar.double,.board-sc-legend i.double{background:var(--bnh-score-double)!important}
html body #app#app #content-view .v2-score-legend span:nth-child(5):before{background:var(--bnh-score-double)!important}

.pp-score .bnh-score-bubble{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:7px}.pp-score-legend{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px 18px;padding:16px 0;font:12px/1.5 Arial,sans-serif;color:#123d46}.pp-score-legend span{display:inline-flex;gap:6px;align-items:center}.pp-score-legend span:before{content:"";display:inline-block;width:12px;height:12px;border-radius:3px}

/* The same readable legend in Trip and Tournament, including narrow screens. */
html body #app#app #content-view :is(.v3l-results,.tl-leaderboard,.t2-leaderboard) .v2-score-legend{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:10px 14px!important;font:12px/1.5 Arial,sans-serif!important;color:#123d46!important;padding:14px 0 0!important}
html body #app#app #content-view :is(.v3l-results,.tl-leaderboard,.t2-leaderboard) .v2-score-legend span{display:inline-flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important}
html body #app#app #content-view :is(.v3l-results,.tl-leaderboard,.t2-leaderboard) .v2-score-legend span:before{width:12px!important;height:12px!important;flex:none!important;margin:0!important;border-radius:3px!important}

html body #app#app #content-view :is(.v3l-results,.pp-score,.tl-leaderboard,.t2-leaderboard,.board-scorecard) :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.eagle),html body .board-scorecard .board-sc-score:is(.eagle){background:#f2cf58!important;color:#000!important;-webkit-text-fill-color:#000!important;border-radius:50%!important;aspect-ratio:1;box-sizing:border-box}
html body #app#app #content-view :is(.v3l-results,.tl-leaderboard,.t2-leaderboard,.pp-score-legend) .v2-score-legend span:nth-child(1):before,html body #app#app #content-view .pp-score-legend span:nth-child(1):before{background:#f2cf58!important;border-radius:50%!important}

html body #app#app #content-view :is(.v3l-results,.pp-score,.tl-leaderboard,.t2-leaderboard,.board-scorecard) :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.birdie),html body .board-scorecard .board-sc-score:is(.birdie){background:#c83b45!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-radius:50%!important;aspect-ratio:1;box-sizing:border-box}
html body #app#app #content-view :is(.v3l-results,.tl-leaderboard,.t2-leaderboard,.pp-score-legend) .v2-score-legend span:nth-child(2):before,html body #app#app #content-view .pp-score-legend span:nth-child(2):before{background:#c83b45!important;border-radius:50%!important}

html body #app#app #content-view :is(.v3l-results,.pp-score,.tl-leaderboard,.t2-leaderboard,.board-scorecard) :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.bogey),html body .board-scorecard .board-sc-score:is(.bogey){background:#b7d3e8!important;color:#000!important;-webkit-text-fill-color:#000!important;border-radius:5px!important;aspect-ratio:1;box-sizing:border-box}
html body #app#app #content-view :is(.v3l-results,.tl-leaderboard,.t2-leaderboard,.pp-score-legend) .v2-score-legend span:nth-child(4):before,html body #app#app #content-view .pp-score-legend span:nth-child(4):before{background:#b7d3e8!important;border-radius:5px!important}

html body #app#app #content-view :is(.v3l-results,.pp-score,.tl-leaderboard,.t2-leaderboard,.board-scorecard) :is(.score-dot,.bnh-score-bubble,.board-sc-score):is(.double,.over,.worse),html body .board-scorecard .board-sc-score:is(.double,.over,.worse){background:#174c78!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-radius:5px!important;aspect-ratio:1;box-sizing:border-box}
html body #app#app #content-view :is(.v3l-results,.tl-leaderboard,.t2-leaderboard,.pp-score-legend) .v2-score-legend span:nth-child(5):before,html body #app#app #content-view .pp-score-legend span:nth-child(5):before{background:#174c78!important;border-radius:5px!important}

html body #app#app #content-view .pp-score .bnh-score-bubble:is(.eagle,.birdie){width:34px!important;min-width:34px!important;height:34px!important;padding:0!important}
