/* Scoped styles match the approved navy/grey mockup. */
:is(#root#root#root#root#root#root#root#root, #gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root) .gm235Results {
  width: 100%; min-width: 0; color: #162b45;
}
:is(#root#root#root#root#root#root#root#root, #gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root) .gm235Table {
  width: 100% !important; table-layout: fixed !important; border-collapse: separate !important;
  border-spacing: 0 !important; border: 1px solid #cfd9e8 !important; border-radius: 9px !important;
  overflow: hidden !important; background: white !important; margin: 0 !important;
}
.gm235PastCol { width: 20%; } .gm235NameCol { width: 21%; }
.gm235ScoreCol { width: 29%; } .gm235RankCol { width: 10%; } .gm235MoneyCol { width: 20%; }
.gm235FirstHole .gm235NameCol { width: 24%; } .gm235FirstHole .gm235ScoreCol { width: 36%; }
.gm235FirstHole .gm235RankCol { width: 14%; } .gm235FirstHole .gm235MoneyCol { width: 26%; }
:is(#root#root#root#root#root#root#root#root, #gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root) .gm235Table :is(th, td) {
  padding: 0 4px !important; border: 0 !important; border-right: 1px solid #e5e9ee !important;
  border-bottom: 1px solid #e5e9ee !important; box-shadow: none !important;
  vertical-align: middle !important; text-align: center; box-sizing: border-box !important;
}
:is(#root#root#root#root#root#root#root#root, #gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root) .gm235Table tr > :last-child { border-right: 0 !important; }
:is(#root#root#root#root#root#root#root#root, #gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root) .gm235Table tbody tr:last-child > * { border-bottom: 0 !important; }
.gm235Table thead th { height: 34px; font-size: 12px; font-weight: 750; }
.gm235PastHead { background: #e9edf2 !important; color: #626e7e !important; }
.gm235NameHead { background: #31445e !important; color: white !important; }
.gm235CurrentHead { background: #172b47 !important; color: white !important; font-size: 14px !important; }
.gm235Table tbody :is(th, td) { height: 35px; }
.gm235Past { background: #fafbfc !important; color: #7b8694; font-size: 11px; font-weight: 600; white-space: nowrap; }
.gm235Name { background: #f5f7fa !important; color: #142740 !important; font-size: 12px; font-weight: 800; white-space: nowrap; }
.gm235Name > span { position: relative; }
.gm235Name i { position: absolute; left: calc(100% + 3px); top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: #07845d; }
.gm235ScoreCell, .gm235Rank, .gm235Money { background: white !important; }
.gm235Score { display: grid; grid-template-columns: 24px 28px 23px; justify-content: center; align-items: baseline; gap: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gm235Score b { color: #162b45; text-align: right; font-size: 17px; font-weight: 850; line-height: 1.3; }
.gm235Score sub { vertical-align: baseline; font-size: 9px; margin-left: 1px; }
.gm235Score small { color: #67788b; font-size: 11px; text-align: left; line-height: 1.3; }
.gm235TeeSlot { text-align: left; }
.gm235TeeSlot em { display: inline-block; font-size: 8px; line-height: 1.3; background: #f3e9ec; color: #93485b; padding: 2px; border-radius: 3px; font-weight: 750; font-style: normal; }
.gm235TeeSlot .isHZD { background: #fff8dd; color: #967019; }
.gm235Waiting { color: #7a8592; font-size: 11px; }
.gm235Rank { color: #566475; font-size: 12px; font-weight: 500; white-space: nowrap; }
:is(#root#root#root#root#root#root#root#root, #gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root) .gm235Money { text-align: right !important; color: #31445e; font-size: 14px; font-weight: 850; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gm235Table .gm235Gold { color: #95600c !important; } .gm235Table .gm235Blue { color: #2857ae !important; }
.gm235Table .gm235Gain { color: #087653 !important; } .gm235Table .gm235Loss { color: #b33f54 !important; }
.gm235Past.gm235Gain { color: #45826f !important; } .gm235Past.gm235Loss { color: #b16575 !important; }
/* Small screens keep the same column padding and reserve a badge slot in every row. */
@media (max-width: 350px) {
  .gm235Score { grid-template-columns: 21px 25px 19px; gap: 1px; }
  .gm235Score b { font-size: 15px; } .gm235Score small { font-size: 10px; }
  .gm235Name { font-size: 11px; } .gm235Past { font-size: 10px; }
  .gm235TeeSlot em { font-size: 7px; padding-inline: 1px; }
  :is(#root#root#root#root#root#root#root#root, #gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root) .gm235Money { font-size: 12px; }
}
/* Tight spacing between the rail, result board and entry card. */
#root#root#root#root#root#root#root#root .gm234BoardFirst { row-gap: 0 !important; }
#root#root#root#root#root#root#root#root .gm234BoardFirst > .v57Progress,
#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root .gm3fixture > .gm3progressWrap { margin-block: 3px !important; }
#root#root#root#root#root#root#root#root .gm234BoardFirst > .v55Board:has(.gm235Results),
#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root .gm3fixture > .gm3currentOutcome:has(.gm235Results) { padding: 4px !important; margin-block: 3px !important; }
#root#root#root#root#root#root#root#root .gm234BoardFirst > .v55InputCard,
#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root .gm3fixture > .gm3navyLive { margin-block: 3px !important; }
@media (max-height: 690px) { .gm235Table thead th { height: 30px; } .gm235Table tbody :is(th, td) { height: 30px; } }

@media (max-width: 350px) {
 :is(#root#root#root#root#root#root#root#root, #gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root) .gm235Money.gm235LongMoney { font-size: 10px; }
}
@media (min-width: 351px) and (max-width: 420px) {
 :is(#root#root#root#root#root#root#root#root, #gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root#gm3-root) .gm235Money.gm235LongMoney { font-size: 11px; }
}
