header button.player-profile-open {
  display: inline-grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  align-self: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid #b8cde0;
  border-radius: 50%;
  background: #eef6ff;
}

.player-profile-open:focus-visible {
  outline: 2px solid #245daa;
  outline-offset: 3px;
}

.player-profile-open > .chess-photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background-repeat: no-repeat;
}

.player-profile-open > svg {
  display: block;
  width: 22px;
  height: 22px;
}

.chess-player-dialog .chess-profile-details {
  margin-block: 12px 16px;
  padding: 12px 14px;
  border: 1px solid #d6e3f2;
  border-radius: 12px;
  background: #f4f8ff;
  color: #17334b;
}

.chess-profile-details dl {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px 14px;
  margin: 0;
}

.chess-profile-details dt {
  font-weight: 700;
}

.chess-profile-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.chess-profile-details p {
  margin: 8px 0 0;
  color: #4b5f73;
  font-size: 0.875rem;
}
