/* Owner-approved simplified scoreboard. All selectors stay inside scoreboard. */
#scoreModal:not(.showing-remaining) .modal-content.scoreboard-modal {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: min(94vw, 540px) !important;
  max-height: 96dvh !important;
  height: auto !important;
  padding: 22px 18px 16px !important;
  background: #05291d !important;
  border: 2px solid #b99b57 !important;
  border-radius: 20px !important;
  overflow: auto !important;
  color: #f5e8c7 !important;
}
#scoreModal:not(.showing-remaining) .modal-content.scoreboard-modal::before,
#scoreModal:not(.showing-remaining) .modal-content.scoreboard-modal::after {
  display: none !important;
}
#scoreModal:not(.showing-remaining) #scoreModalTitle {
  position: static !important;
  transform: none !important;
  align-self: center !important;
  width: auto !important;
  margin: 0 0 6px !important;
  padding: 5px 22px !important;
  border-radius: 5px !important;
  font-size: 21px !important;
}
#scoreModal:not(.showing-remaining) #scoreModalBody {
  flex: 0 0 auto !important;
  overflow: visible !important;
}
#scoreModal:not(.showing-remaining) .gh-approved-scoreboard {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  gap: 13px !important;
}
#scoreModal:not(.showing-remaining) .ghsb-contract {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  letter-spacing: 0 !important;
  font: 700 clamp(20px, 6vw, 30px) / 1.2 Georgia !important;
  padding: 10px 0 !important;
  color: #f6e9c6 !important;
}
#scoreModal:not(.showing-remaining) .ghsb-matchup {
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) !important;
  gap: 6px !important;
}
#scoreModal:not(.showing-remaining) .ghsb-team {
  flex-direction: column !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 4px !important;
  gap: 8px !important;
}
#scoreModal:not(.showing-remaining) .ghsb-team-icon {
  order: -1 !important;
  width: 64px !important;
  height: 64px !important;
  object-fit: contain !important;
}
#scoreModal:not(.showing-remaining) .ghsb-raven {
  border-radius: 50% !important;
}
#scoreModal:not(.showing-remaining) .ghsb-team .sb-label {
  font: 400 22px/1.1 Georgia !important;
  color: #f4e7c5 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
#scoreModal:not(.showing-remaining) .ghsb-team .sb-total {
  font: 700 clamp(30px, 12vw, 58px) / 1 Georgia !important;
  color: #f4e7c5 !important;
  white-space: nowrap !important;
  margin: 5px 0 !important;
  letter-spacing: -0.04em;
}
#scoreModal:not(.showing-remaining) .ghsb-team .sb-delta {
  font: 600 14px/1.2 Georgia !important;
  color: #e4c16c !important;
  white-space: normal !important;
}
#scoreModal:not(.showing-remaining) .ghsb-vs span {
  border: 1px solid #a5894c !important;
  box-shadow: none !important;
  width: 30px !important;
  height: 30px !important;
}
#scoreModal:not(.showing-remaining) .ghsb-goal {
  background: none !important;
  border: 0 !important;
  clip-path: none !important;
  box-shadow: none !important;
  font: 400 16px Georgia !important;
  padding: 5px !important;
}
#scoreModal .ghsb-summary {
  text-align: center;
  font: 15px/1.4 Georgia;
  color: #f4e7c5;
}
#scoreModal:not(.showing-remaining) .ghsb-nest,
#scoreModal .ghsb-hand-details {
  border: 1px solid #ad8f4d !important;
  border-radius: 8px !important;
  background: #031c13 !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-align: left !important;
}
#scoreModal:not(.showing-remaining) .ghsb-nest-title,
#scoreModal .ghsb-hand-details > summary {
  display: list-item !important;
  list-style-position: inside !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 12px !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #f4e7c5 !important;
  font: 600 16px/1.2 Georgia !important;
  cursor: pointer;
}
#scoreModal .ghsb-nest-cards {
  padding: 8px;
  box-sizing: border-box;
}
#scoreModal:not(.showing-remaining) .ghsb-details {
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font: 13px/1.4 Georgia !important;
}
#scoreModal .ghsb-nest:not([open]) > .ghsb-nest-cards,
#scoreModal .ghsb-hand-details:not([open]) > .ghsb-details {
  display: none !important;
}
#scoreModal:not(.showing-remaining) .score-modal-actions,
#scoreModal:not(.showing-remaining) .score-modal-actions.has-reveal {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin: 6px 0 0 !important;
}
#scoreModal:not(.showing-remaining) #scoreModalNext {
  grid-column: 1/-1 !important;
  grid-row: 1 !important;
  min-height: 50px !important;
  font: 700 23px Georgia !important;
}
#scoreModal:not(.showing-remaining) #scoreModalHistory,
#scoreModal:not(.showing-remaining) #scoreModalCopy {
  min-height: 38px !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  font: 15px Georgia !important;
  padding: 4px !important;
  color: #e1d0a1 !important;
}
#scoreModal:not(.showing-remaining) #scoreModalRevealHands,
#scoreModal:not(.showing-remaining) #scoreModalLast3 {
  display: none !important;
}
#scoreDetailsRemaining805[hidden] {
  display: none !important;
}
#horNetworkToast.bid-guidance805 {
  top: auto !important;
  bottom: var(--bid-guidance-bottom, 28vh) !important;
  width: max-content;
  max-width: 80vw;
  box-sizing: border-box;
  border-radius: 9px;
  font: 600 14px/1.3 system-ui;
  text-align: center;
  transform: translate(-50%, 8px);
  padding: 9px 14px;
}
#horNetworkToast.bid-guidance805.show {
  transform: translate(-50%, 0);
}
@media (max-height: 620px) {
  #scoreModal:not(.showing-remaining) .modal-content.scoreboard-modal {
    padding: 12px !important;
    gap: 5px !important;
  }
  #scoreModal:not(.showing-remaining) .gh-approved-scoreboard {
    gap: 6px !important;
  }
  #scoreModal:not(.showing-remaining) .ghsb-team-icon {
    width: 48px !important;
    height: 48px !important;
  }
  #scoreModal:not(.showing-remaining) .ghsb-contract {
    padding: 4px !important;
    font-size: 21px !important;
  }
  #scoreModal:not(.showing-remaining) .ghsb-team .sb-total {
    font-size: 38px !important;
  }
}
