.profile-section { margin-block: 1rem; }
.profile-metrics { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.profile-records { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.profile-records article { border: 1px solid #344256; border-radius: .65rem; padding: 1rem; }
.profile-records h3 { font-size: .9rem; margin: 0 0 .45rem; }
.profile-records strong { font-size: 1.4rem; }
.profile-records ul { list-style: none; margin: .55rem 0 0; padding: 0; }
.profile-controls { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; }
.profile-controls input { width: auto; }
.profile-controls label:first-child { color: #42d9ca; }
.profile-controls label:last-child { color: #ffab62; }
.profile-plot svg { display: block; min-width: 560px; width: 100%; }
.profile-plot [role=button] { cursor: pointer; }
.profile-plot [role=button]:focus { outline: none; }
.profile-plot [role=button]:focus .profile-hit { stroke: currentColor; stroke-dasharray: 4 4; }
.profile-point { min-height: 3em; }
.shooter-preview { display: inline-block; position: relative; }
.shooter-preview a { text-decoration: underline; text-underline-offset: .18em; }
.shooter-preview .shooter-summary { display: none; }
@media (hover: hover) {
  .shooter-preview:hover .shooter-summary { display: block; }
}
.shooter-preview:focus-within .shooter-summary { display: block; }
.shooter-summary {
  position: absolute; z-index: 3; inset: 100% auto auto 0;
  background: #182336; color: #eef4fa; border: 1px solid #526479;
  padding: .65rem .85rem; border-radius: .4rem; width: max-content; max-width: 15rem; white-space: normal;
}

.shooter-preview > a:any-link {
  color: #eef4fa;
  text-decoration-color: #899bb2;
}
.profile-section a:any-link {
  color: #ffb67e;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.shooter-preview > a:any-link:hover,
.profile-section a:any-link:hover {
  color: #ffd3ae;
  text-decoration-color: currentColor;
}
.shooter-preview > a:focus-visible,
.profile-section a:focus-visible {
  outline: 2px solid #ffb67e;
  outline-offset: 3px;
  border-radius: 2px;
}
.profile-controls label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.profile-controls input {
  display: inline-block;
  margin: 0;
  flex: none;
  accent-color: currentColor;
}
