/* Match the batting dashboard heading and keep the profile header compact. */
#player-profile.player-dashboard {padding:24px 32px}
#player-profile .player-dashboard-head {
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  align-items:center;gap:16px 32px;padding-bottom:16px;
}
#player-profile .player-dashboard-head>div {min-width:0}
#player-profile .player-dashboard-head h2 {
  display:flex;flex-direction:column;align-items:flex-start;gap:8px;
  margin:8px 0 12px;font-size:clamp(26px,3vw,39px);line-height:1.2;letter-spacing:-.04em;
  overflow-wrap:anywhere;
}
#player-profile .player-dashboard-head h2 small {margin:0;font-size:12px;line-height:1.5}
#player-profile .player-dashboard-summary {display:grid;gap:12px;align-content:center}
#player-profile .home-player-picker {margin:0;max-width:none;width:100%;display:grid;gap:8px}
#player-profile .home-player-picker[hidden] {display:none}
#player-profile .home-player-picker select {width:100%;min-width:0;min-height:44px;box-sizing:border-box}
#player-profile .player-facts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;margin:0}
#player-profile .player-facts>div {min-width:0;padding:14px 12px}
#player-profile .player-facts dd {white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
#player-profile .player-tags {margin-top:8px;gap:8px;flex-wrap:wrap}
#player-profile .home-player-edit {display:inline-block;font-size:12px;line-height:1.6}
@media(max-width:760px){
  #player-profile.player-dashboard {padding:20px}
  #player-profile .player-dashboard-head {grid-template-columns:1fr;gap:16px;padding-bottom:16px}
  #player-profile .player-dashboard-head h2 {font-size:clamp(26px,3vw,39px);margin-bottom:12px}
  #player-profile .player-dashboard-summary {gap:14px}
  #player-profile .player-facts>div {padding:12px 8px}
}
