.player-dialog {
  width: min(620px, calc(100% - 24px));
  max-height: min(78vh, 750px);
  border: 1px solid #c8d9e6;
  border-radius: 14px;
  padding: 0;
  background: #f5f8fb;
  box-shadow: 0 20px 70px rgba(19,39,57,.35);
  color: #30465d;
}
.player-dialog::backdrop { background: rgba(29,48,66,.45); backdrop-filter: blur(3px); }
.player-dialog .dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 19px;
  border-bottom: 1px solid #dae4ed;
}
.player-dialog .dialog-heading h2 { margin: 0; font-size: 19px; }
.player-dialog .dialog-heading button { border: 0; background: transparent; font-size: 24px; color: #657a8e; }
.player-dialog .player-profile-content { max-height: 60vh; overflow: auto; padding: 18px; }
.player-dialog .profile-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.player-dialog .profile-metrics > div { padding: 10px; border: 1px solid #dce6ee; border-radius: 8px; background: white; }
.player-dialog .profile-metrics span { display: block; color: #7b8b9b; font-size: 11px; }
.player-dialog .profile-metrics strong { display: block; font-size: 23px; color: #315675; }
.player-dialog .profile-subhead { margin: 17px 0 8px; font-size: 14px; }
.player-dialog .profile-old-names { margin: 0 0 12px; color: #8194a5; font-size: 11px; line-height: 1.45; }
.player-dialog .data-table-wrap { overflow: auto; }
.player-dialog .data-table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.player-dialog .data-table th { height: 38px; background: rgba(229,236,243,.52); color: #5f748b; font-size: 12px; font-weight: 700; text-align: left; }
.player-dialog .data-table td { height: 40px; color: #344c64; }
.player-dialog .data-table th,.player-dialog .data-table td { padding: 7px 12px; border-bottom: 1px solid #e2e9ef; }
.player-dialog .data-table tr:last-child td { border-bottom: 0; }
.player-dialog .data-table tbody tr:nth-child(2n) { background: rgba(244,247,249,.63); }
.player-dialog .profile-role-table { min-width: 430px; overflow: hidden; border: 1px solid #e0e8ef; border-radius: 8px; background: white; }
.player-dialog .profile-list { display: grid; gap: 5px; }
.player-dialog .profile-list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid #e0e8ef; border-radius: 7px; background: white; font-size: 12px; }
.player-dialog .profile-list a:hover { background: #eaf4fc; }
.player-dialog .profile-list span:last-child { color: #6b8296; }
.player-dialog .empty-detail { margin: 8px 0; color: #798a9b; font-size: 13px; }
@media (max-width: 700px) {
  .player-dialog .profile-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
