.admin-course-search-field {
  position: relative;
}

.admin-course-search-matches {
  display: grid;
  gap: 5px;
}

.admin-course-search-matches:empty {
  display: none;
}

.admin-course-search-matches button {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 7px 8px;
  border: 1px solid #cfe0d5;
  border-radius: 5px;
  color: #0b3425;
  background: #ffffff;
  text-align: left;
}

.admin-course-search-matches button strong,
.admin-player-database summary span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-course-search-matches button small {
  overflow: hidden;
  color: #52665a;
  font-size: 0.66rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-player-database {
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid #bdd7c7;
  border-radius: 6px;
  background: #edf6f1;
}

.admin-player-database summary {
  min-height: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  color: #0b3425;
  font-weight: 950;
  cursor: pointer;
}

.admin-player-database summary::after {
  content: '+';
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #0b3425;
  background: #f4d35e;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 950;
}

.admin-player-database[open] summary::after {
  content: '-';
}

.admin-player-database summary small {
  color: #17633f;
  font-size: 0.68rem;
  font-weight: 950;
}

.participant-label {
  padding-top: 2px;
}

.participant-controls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-tee-player-name small {
  display: block;
  overflow: hidden;
  color: #587066;
  font-size: 0.58rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 430px) {
  .participant-controls {
    grid-template-columns: 1fr;
  }
}
