.tournament-standings .standings-intro {
  max-width: 78ch;
  color: var(--ui-muted);
  line-height: 1.65;
}

.tournament-standings .standings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--ui-line);
}

.tournament-standings .standings-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 390px);
  min-height: 44px;
  padding-left: 12px;
  border: 1px solid #b8c9c4;
  border-radius: 8px;
  background: #fff;
}

.tournament-standings .standings-search:focus-within {
  outline: 3px solid rgba(15, 111, 127, .2);
  border-color: var(--ui-ocean);
}

.tournament-standings .standings-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ui-ink);
  font: inherit;
  font-size: .9rem;
}

.tournament-standings .standings-search button {
  width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  border: 0;
  background: transparent;
  color: var(--ui-muted);
}

.tournament-standings .standings-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tournament-standings .standings-detail-actions .btn {
  min-height: 44px;
}

.tournament-standings .standings-wrap {
  max-height: 72vh;
  overflow: auto;
}

.tournament-standings .standings-summary {
  min-width: 620px;
  font-variant-numeric: tabular-nums;
}

.tournament-standings .standings-summary > thead > tr > th {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 14px 12px;
  background: #fff;
  color: #385247;
  border-bottom: 2px solid #c8dbce;
  font-size: .82rem;
  vertical-align: middle;
}

.tournament-standings .standings-summary-row > th,
.tournament-standings .standings-summary-row > td {
  padding: 10px 12px;
  border-color: #e0e8e2;
}

.tournament-standings .standings-summary .standings-score {
  background: #edf7ed;
  color: #245439;
}

.tournament-standings .standings-summary .standings-total {
  background: #d9efdc;
  color: #174b2b;
}

.tournament-standings .standings-numeric {
  text-align: right;
  white-space: nowrap;
}

.tournament-standings .standings-rank {
  width: 58px;
  text-align: center;
}

.tournament-standings .standings-player {
  min-width: 190px;
}

.tournament-standings .standings-rank-number {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  min-height: 30px;
  border-radius: 8px;
  font-weight: 750;
}

.tournament-standings .standings-rank-number.is-podium {
  background: #f9edc9;
  color: #74530e;
}

.tournament-standings .standings-player-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ui-ink);
  font: inherit;
  font-weight: 750;
  text-align: left;
}

.tournament-standings .standings-player-button > i {
  font-size: .75rem;
  color: var(--ui-ocean);
}

.tournament-standings .standings-player-button[aria-expanded="true"] > i {
  transform: rotate(180deg);
}

.tournament-standings .standings-player-button:focus-visible {
  outline: 3px solid var(--ui-gold);
  outline-offset: 3px;
}

.tournament-standings [hidden] {
  display: none !important;
}

.tournament-standings .standings-details-row > td {
  padding: 0;
  background: #fafcf9;
}

.tournament-standings .standings-player-details {
  padding: 16px 20px 20px;
  border-left: 4px solid #b7d6bd;
}

.tournament-standings .standings-breakdown {
  width: min(100%, 760px);
  font-size: .86rem;
}

.tournament-standings .standings-breakdown th,
.tournament-standings .standings-breakdown td {
  padding: 10px 12px;
  border-bottom: 1px solid #dce5df;
}

.tournament-standings .standings-breakdown .standings-table-number {
  text-align: center;
  background: #e8eceb;
}

.tournament-standings .standings-breakdown .standings-round-vp {
  text-align: right;
  background: #fbf3d7;
}

.tournament-standings .standings-no-matches {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: var(--ui-muted);
}

.tournament-standings .standings-search-status {
  margin-top: 10px;
}

@media (max-width: 767.98px) {
  .tournament-standings > .d-flex:first-child {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 14px;
  }

  .tournament-standings > .d-flex:first-child > .d-flex {
    justify-content: flex-start !important;
  }

  .tournament-standings .standings-search {
    width: 100%;
  }

  .tournament-standings .standings-summary {
    min-width: 540px;
  }

  .tournament-standings .standings-summary-row > th,
  .tournament-standings .standings-summary-row > td,
  .tournament-standings .standings-summary > thead > tr > th {
    padding-inline: 8px;
  }

  .tournament-standings .standings-player {
    min-width: 170px;
  }
}
