:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  color: #173a5e;
  background: #f2f5f9;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 280px;
  line-height: 1.5;
  background: radial-gradient(ellipse at 85% 0%, #e2ebf6 0, transparent 42%), #f2f5f9;
}
button, input, select { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.record-main { width: min(1120px, calc(100% - 80px)); margin: 32px auto 0; }
.record-main [hidden] { display: none !important; }
.record-main :is(a, button, input, select):focus-visible { outline: 3px solid #d5a33e; outline-offset: 4px; }
.record-masthead {
  position: relative;
  overflow: hidden;
  border: 1px solid #1c456c;
  border-radius: 24px;
  background: linear-gradient(115deg, #173a5e, #0b223d 75%);
  box-shadow: 0 16px 40px #0d29451a;
}
.record-masthead::before {
  content: "";
  position: absolute;
  inset: -50% -5% -50% 55%;
  transform: rotate(25deg);
  background: repeating-linear-gradient(90deg, transparent 0 62px, #e5b75b0d 62px 63px);
  pointer-events: none;
}
.record-page-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px 31px;
  color: #fff;
}
.record-heading-copy { min-width: 0; }
.record-eyebrow {
  margin: 0 0 7px;
  color: #edc370;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.record-page-heading h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 850;
  letter-spacing: -2.6px;
  line-height: 1.05;
}
.record-page-heading h1 span { color: #e4b254; }
.record-heading-description { margin: 12px 0 0; font-size: 14px; color: #c1d3e6; }
.record-emblem {
  display: grid;
  place-items: center;
  flex: none;
  width: 104px;
  height: 104px;
  border: 1px solid #e8b65a55;
  border-radius: 50%;
  background: radial-gradient(circle, #e8b65a1f, #e8b65a05 70%);
  box-shadow: 0 0 0 12px #e8b65a05, 0 0 0 25px #e8b65a03;
  color: #edc370;
}
.record-emblem svg {
  width: 57px;
  height: 57px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.record-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
  border-top: 1px solid #ffffff14;
  background: #081e3566;
}
.record-tab {
  min-height: 51px;
  padding: 12px 15px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #d1deec;
  font-size: 14px;
  font-weight: 750;
  transition: background .18s, color .18s;
}
.record-tab span {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #ffffff12;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.record-tab[aria-selected="true"] {
  color: #172f49;
  background: #edc370;
  border-color: #f6d798;
  box-shadow: 0 4px 14px #00000018;
}
.record-tab[aria-selected="true"] span { color: #173a5e; background: #173a5e14; }
.record-tab:hover:not([aria-selected="true"]) { background: #ffffff0d; color: #fff; }
.record-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 14px;
  margin-top: 26px;
}
.record-filters--lane { grid-template-columns: minmax(0, 1fr); }
.record-panel-title { display: none; }
.record-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 11px; font-weight: 750; color: #48627e; }
.record-field input, .record-field select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #cddbea;
  border-radius: 12px;
  background: #fff;
  color: #173a5e;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 3px 10px #173a5e03;
}
.record-field input::placeholder { color: #7a8ca0; }
.record-results-info { display: flex; justify-content: space-between; gap: 16px; margin: 15px 0 30px; font-size: 11px; color: #62788f; }
.record-results-info p { margin: 0; }
#record-results { font-weight: 700; color: #395775; }
.record-group { margin: 0 0 34px; }
.record-group-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.record-group-heading h2 { margin: 0; font-size: 22px; font-weight: 850; letter-spacing: -.5px; white-space: nowrap; }
.record-group-heading::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, #cbd8e7, #cbd8e733); }
.record-group-count { padding: 3px 8px; border-radius: 6px; background: #e1e9f3; font-size: 10px; font-weight: 650; color: #45627f; white-space: nowrap; }
.record-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.record-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  border: 1px solid #d5e0ed;
  border-top: 3px solid #dcb267;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 65%, #f6f9fd);
  box-shadow: 0 5px 12px #173a5e04, 0 15px 30px #173a5e06;
  transition: border-color .2s, box-shadow .2s;
}
.record-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.record-card-heading > div:first-child { min-width: 0; padding-top: 4px; }
.record-card-heading h3 { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 800; letter-spacing: -.15px; overflow-wrap: anywhere; }
.record-throws { display: inline-block; margin: 5px 0 0; padding: 2px 6px; border-radius: 5px; background: #edf2f8; font-size: 11px; font-weight: 600; color: #526e8c; }
.record-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.record-badge { display: inline-block; padding: 4px 7px; border: 1px solid #e7cf9b; border-radius: 5px; font-size: 9px; font-weight: 750; color: #72501a; background: #fbf0d8; }
.record-badge--shared { border-color: #d4e1ef; color: #426080; background: #ecf2f8; }
.record-score {
  flex: none;
  min-width: 88px;
  padding: 9px 12px 8px;
  border: 1px solid #224b73;
  border-radius: 13px;
  background: linear-gradient(130deg, #204970, #102e4c);
  box-shadow: 0 5px 12px #173a5e12;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.record-score strong { display: block; font-size: 38px; font-weight: 850; letter-spacing: -1.4px; line-height: 1; color: #fff; }
.record-score small { display: block; margin-top: 6px; font-size: 9px; font-weight: 650; letter-spacing: .7px; color: #edc370; }
.record-people { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 12px; }
.record-people--team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; }
.record-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.record-person-copy { min-width: 0; }
.record-person-copy strong { display: block; font-size: 17px; line-height: 1.3; font-weight: 800; letter-spacing: -.25px; overflow-wrap: anywhere; }
.record-person-copy small { display: block; margin-top: 4px; font-size: 11px; line-height: 1.5; color: #5c7590; overflow-wrap: anywhere; }
.record-person a { text-decoration: none; }
.record-person a:hover { color: #a27021; text-decoration: underline; text-underline-offset: 4px; }
.record-portrait {
  position: relative;
  display: block;
  flex: none;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 12px;
  background: linear-gradient(140deg, #dce8f5, #eef4fb);
  box-shadow: 0 0 0 1px #cddceb, 0 5px 12px #173a5e12;
}
.record-initials { position: absolute; inset: 0; display: grid; place-items: center; color: #3e6489; font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.record-portrait img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The player is in the left part of the wide profile graphic, as on player.html. */
  object-position: 0% 50%;
  background: #edf3fa;
}
.record-portrait.is-missing img { display: none; }
.record-people--team .record-portrait { width: 44px; height: 44px; border-width: 2px; border-radius: 9px; }
.record-people--team .record-person { gap: 9px; }
.record-people--team .record-person-copy strong { font-size: 13px; letter-spacing: -.15px; }
.record-people--team .record-person-copy small { font-size: 10px; margin-top: 3px; }
.record-people--team .record-initials { font-size: 17px; }
.record-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; border-top: 1px solid #e4ebf4; color: #627b96; font-size: 11px; line-height: 1.6; }
.record-meta p { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.record-meta time { flex: none; padding: 3px 7px; border-radius: 5px; background: #edf3f9; white-space: nowrap; font-weight: 600; color: #426282; }
.record-card--vacant { border-color: #cdd9e7; border-top-width: 1px; border-style: dashed; background: #f7f9fc; box-shadow: none; }
.record-card--vacant .record-score { border-color: #dce4ee; background: #e7edf4; box-shadow: none; }
.record-card--vacant .record-score strong { color: #7d8fa3; }
.record-card--vacant .record-score small { color: #63768c; letter-spacing: 0; max-width: 85px; }
.record-vacant { margin: 4px 0 8px; font-size: 16px; font-weight: 750; color: #6d8299; }
.record-vacant-note { margin: 0 0 15px; font-size: 11px; color: #708399; }
.record-empty { padding: 40px 20px; text-align: center; background: #fff; border: 1px solid #d5e0ed; border-radius: 19px; color: #607691; }
.record-empty h2 { margin: 0 0 7px; font-size: 20px; color: #173a5e; }
.record-empty p { margin: 0 0 18px; font-size: 13px; }
.record-reset { min-height: 44px; padding: 10px 17px; border: 1px solid #d4a348; border-radius: 10px; background: #edc370; color: #173a5e; font-size: 13px; font-weight: 750; }
.record-source-note { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid #d2deec; font-size: 11px; line-height: 1.7; color: #627b96; }
.record-skip { position: fixed; left: 12px; top: 12px; z-index: 100; transform: translateY(-180%); padding: 10px 16px; border-radius: 8px; background: #fff; }
.record-skip:focus { transform: none; }
@media (hover: hover) {
  .record-card:not(.record-card--vacant):hover { border-color: #cba35b; box-shadow: 0 8px 18px #173a5e07, 0 18px 35px #173a5e0d; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .record-people--team { grid-template-columns: minmax(0, 1fr); }
  .record-person { gap: 12px; }
  .record-person-copy strong { font-size: 17px; }
  .record-portrait { width: 60px; height: 60px; }
}
@media (max-width: 760px) {
  .record-main { width: calc(100% - 36px); margin-top: 26px; }
  .record-masthead { border-radius: 20px; }
  .record-page-heading { gap: 18px; padding: 24px 23px 26px; }
  .record-eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  .record-page-heading h1 { font-size: 48px; letter-spacing: -2px; }
  .record-heading-description { max-width: 260px; font-size: 12px; }
  .record-emblem { width: 72px; height: 72px; box-shadow: 0 0 0 9px #e8b65a05; }
  .record-emblem svg { width: 40px; height: 40px; }
  .record-tabs { padding: 8px; gap: 4px; }
  .record-tab { padding: 10px 4px; font-size: 11px; min-height: 46px; border-radius: 9px; }
  .record-tab span { margin-left: 3px; min-width: 19px; padding: 1px 4px; font-size: 9px; }
  .record-filters { grid-template-columns: minmax(0, 1fr) 155px; gap: 10px; margin-top: 23px; }
  .record-filters--lane { grid-template-columns: minmax(0, 1fr); }
  .record-field input, .record-field select { font-size: 16px; }
  .record-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .record-card { padding: 16px; }
  .record-group-heading h2 { font-size: 21px; }
  .record-results-info { font-size: 10px; margin-bottom: 25px; }
  .record-person-copy strong { font-size: 17px; }
  .record-score strong { font-size: 38px; }
}
@media (max-width: 440px) {
  .record-page-heading { padding: 23px 20px 25px; gap: 12px; }
  .record-page-heading h1 { font-size: 44px; }
  .record-emblem { width: 57px; height: 57px; box-shadow: none; }
  .record-emblem svg { width: 32px; height: 32px; }
  .record-heading-description { max-width: 230px; }
  .record-filters { grid-template-columns: minmax(0, 1fr); }
  .record-results-info { flex-direction: column; gap: 4px; }
  .record-card { padding: 16px; border-radius: 14px; }
  .record-card-heading { gap: 12px; }
  .record-card-heading h3 { font-size: 13px; }
  .record-score { min-width: 78px; padding: 8px 10px 7px; }
  .record-score strong { font-size: 35px; letter-spacing: -1.2px; }
  .record-person { gap: 11px; }
  .record-portrait { width: 60px; height: 60px; border-radius: 11px; }
  .record-people--team { grid-template-columns: minmax(0, 1fr); }
  .record-people--team .record-person-copy strong { font-size: 14px; }
  .record-meta { font-size: 10px; gap: 9px; }
}
@media (max-width: 370px) {
  .record-main { width: calc(100% - 28px); }
  .record-tab { font-size: 10px; }
  .record-tab span { display: none; }
  .record-card { padding: 14px; }
  .record-page-heading { padding: 21px 17px 23px; }
  .record-eyebrow { letter-spacing: 1px; }
  .record-page-heading h1 { font-size: 40px; }
  .record-emblem { width: 48px; height: 48px; }
  .record-score { min-width: 70px; padding: 8px 9px 7px; }
  .record-score strong { font-size: 33px; }
  .record-person-copy strong { font-size: 16px; }
  .record-portrait { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .record-tab, .record-card { transition: none; }
}
