.athlete-career {
  --athlete-ink: #f5efe6;
  --athlete-muted: #c6b9ab;
  --athlete-panel: #3a332e;
  --athlete-line: rgba(245, 239, 230, 0.2);
  --athlete-accent: #d6a96f;
  position: relative;
  overflow: clip;
  padding: clamp(5.5rem, 10vw, 9rem) 0;
  color: var(--athlete-ink);
  background:
    radial-gradient(circle at 84% 8%, rgba(214, 169, 111, 0.14), transparent 32rem),
    #2f2924;
}

.athlete-career::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 100% 5rem;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.athlete-career .mb9-wrap {
  position: relative;
  z-index: 1;
}

.athlete-career__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 24rem);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  padding-bottom: clamp(2rem, 4vw, 3.75rem);
  border-bottom: 1px solid var(--athlete-line);
}

.athlete-career .mb9-kicker {
  color: var(--athlete-accent);
}

.athlete-career h2 {
  max-width: 12ch;
  margin: .9rem 0 0;
  color: var(--athlete-ink);
  font-size: clamp(2.45rem, 6vw, 5.2rem);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -.055em;
}

.athlete-career__summary {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.1rem;
  align-items: end;
  padding: 1.25rem 0 .25rem;
}

.athlete-career__summary strong {
  grid-row: 1 / span 2;
  color: var(--athlete-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 9vw, 7.2rem);
  font-weight: 400;
  line-height: .75;
}

.athlete-career__summary span {
  color: var(--athlete-ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.athlete-career__summary p {
  margin: .4rem 0 0;
  color: var(--athlete-muted);
  font-size: .92rem;
  line-height: 1.6;
}

.athlete-career__lead {
  max-width: 62rem;
  margin: clamp(2rem, 4vw, 3.6rem) 0;
  color: var(--athlete-muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.85;
}

.athlete-pro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
}

.athlete-pro-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--athlete-line);
  background: var(--athlete-panel);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .14);
}

.athlete-pro-card::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 4.3rem;
  height: 3px;
  content: "";
  background: var(--athlete-accent);
}

.coach-page .athlete-pro-card figure,
.coach-page .athlete-pro-card figure img {
  width: 100%;
}

.coach-page .athlete-pro-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #1f1b18;
}

.coach-page .athlete-pro-card figure::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  pointer-events: none;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(20,17,15,.75));
}

.coach-page .athlete-pro-card figure img {
  display: block;
  aspect-ratio: 4 / 4.5;
  object-fit: contain !important;
  object-position: center;
  transition: opacity .25s ease;
}

.coach-page .athlete-pro-card--document figure img {
  object-position: center;
}

.coach-page .athlete-pro-card--wide figure img {
  object-position: center;
}

@media (hover: hover) {
  .coach-page .athlete-pro-card:hover figure img {
    opacity: .96;
  }
}

.athlete-pro-card__copy {
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.athlete-pro-card__topline {
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.athlete-pro-card__date {
  margin: 0;
  color: var(--athlete-accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.athlete-pro-card__badge {
  padding: .35rem .55rem;
  border: 1px solid rgba(214, 169, 111, .45);
  color: #ecd0ab;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.athlete-pro-card h3 {
  margin: 0;
  color: var(--athlete-ink);
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.035em;
}

.athlete-pro-card__result {
  min-height: 3.4em;
  margin: .8rem 0 0;
  color: var(--athlete-muted);
  font-size: .94rem;
  line-height: 1.7;
}

.athlete-pro-card__status {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--athlete-line);
  color: #ded2c5;
  font-size: .76rem;
  line-height: 1.5;
}

.athlete-pro-card__status::before {
  flex: 0 0 auto;
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  content: "";
  background: var(--athlete-accent);
}

.athlete-pro-card__link {
  display: inline-flex;
  align-items: center;
  margin-top: .9rem;
  color: var(--athlete-ink);
  font-size: .78rem;
  font-weight: 700;
  text-underline-offset: .3em;
}

.athlete-history {
  margin-top: clamp(2.2rem, 5vw, 4.5rem);
  border-top: 1px solid var(--athlete-line);
  border-bottom: 1px solid var(--athlete-line);
}

.coach-page .athlete-history > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1.25rem;
  align-items: center;
  min-height: 6.25rem;
  padding: 1.5rem 0;
  color: var(--athlete-ink) !important;
  font-size: clamp(1.25rem, 2.5vw, 2rem) !important;
  font-weight: 500;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.coach-page .athlete-history > summary::-webkit-details-marker {
  display: none;
}

.athlete-history > summary span b {
  color: var(--athlete-accent);
  font-weight: 500;
}

.athlete-history > summary em {
  color: var(--athlete-muted);
  font-size: .82rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .03em;
}

.athlete-history > summary i {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid var(--athlete-line);
  border-radius: 50%;
  color: var(--athlete-accent);
  font-size: 1.4rem;
  font-style: normal;
  transition: transform .25s ease;
}

.athlete-history[open] > summary i {
  transform: rotate(45deg);
}

.athlete-history__filters {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid var(--athlete-line);
}

.athlete-history__filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.athlete-history__filter-buttons button {
  min-height: 2.65rem;
  padding: .65rem .85rem;
  border: 1px solid var(--athlete-line);
  color: var(--athlete-muted);
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  background: rgba(20, 17, 15, .24);
}

.athlete-history__filter-buttons button b {
  margin-left: .2rem;
  color: var(--athlete-accent);
  font-weight: 700;
}

.athlete-history__filter-buttons button:hover,
.athlete-history__filter-buttons button:focus-visible,
.athlete-history__filter-buttons button.is-active {
  border-color: var(--athlete-accent);
  color: #1c1815;
  outline: none;
  background: var(--athlete-accent);
}

.athlete-history__filter-buttons button.is-active b {
  color: #1c1815;
}

.athlete-history__filters > p {
  flex: 0 0 auto;
  margin: 0;
  color: #aa9d90;
  font-size: .7rem;
}

.athlete-history__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--athlete-line);
}

.athlete-history-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--athlete-line);
}

.athlete-history-card[hidden] {
  display: none !important;
}

.athlete-history-card:nth-child(odd) {
  border-right: 1px solid var(--athlete-line);
}

.coach-page .athlete-history-card figure {
  width: 100%;
  margin: 0 0 1.25rem;
  overflow: hidden;
  background: #1f1b18;
}

.coach-page .athlete-history-card figure img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: contain !important;
  object-position: center;
}

.athlete-history-card__copy {
  min-width: 0;
  align-self: center;
}

.athlete-history-card__date {
  margin: 0 0 .65rem;
  color: var(--athlete-accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.athlete-history-card h3 {
  margin: 0;
  color: var(--athlete-ink);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.45;
  letter-spacing: -.025em;
}

.athlete-history-card h3 small {
  color: var(--athlete-muted);
  font-size: .68em;
  font-weight: 400;
}

.athlete-history-card__result {
  margin: .65rem 0 0;
  color: var(--athlete-muted);
  font-size: .85rem;
  line-height: 1.65;
}

.athlete-history-card__status {
  display: inline-flex;
  margin-top: .9rem;
  padding: .3rem .5rem;
  border: 1px solid var(--athlete-line);
  color: #dacdbf;
  font-size: .68rem;
  line-height: 1.35;
}

.athlete-history-card__link {
  display: block;
  margin-top: .8rem;
  color: var(--athlete-ink);
  font-size: .72rem;
  font-weight: 700;
  text-underline-offset: .3em;
}

.athlete-career__boundary {
  max-width: 72rem;
  margin: 2rem 0 0;
  color: #a99b8e;
  font-size: .78rem;
  line-height: 1.75;
}

.athlete-media {
  width: 100%;
  min-width: 0;
  background: #1f1b18;
}

.athlete-history-card > .athlete-media {
  border: 1px solid rgba(245, 239, 230, .12);
}

.athlete-media-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  padding: .72rem .85rem;
  border-top: 1px solid rgba(245, 239, 230, .12);
  border-bottom: 1px solid rgba(245, 239, 230, .12);
  background: #2b2521;
}

.athlete-history-card > .athlete-media-tools {
  margin-bottom: 1.25rem;
}

.athlete-pro-card > .athlete-media-tools {
  padding-right: clamp(1.35rem, 2.5vw, 2rem);
  padding-left: clamp(1.35rem, 2.5vw, 2rem);
}

.athlete-media-tools__label {
  margin-right: .15rem;
  color: #aa9d90;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.athlete-media-tools__button {
  min-height: 2.4rem;
  padding: .55rem .72rem;
  border: 1px solid rgba(245, 239, 230, .2);
  color: var(--athlete-ink);
  font: inherit;
  font-size: .68rem;
  font-weight: 700;
  cursor: pointer;
  background: rgba(18, 15, 13, .45);
}

.athlete-media-tools__button.is-video,
.athlete-media-tools__button.is-evidence {
  border-color: rgba(214, 169, 111, .68);
  color: #f0c992;
}

.athlete-media-tools__button:hover,
.athlete-media-tools__button:focus-visible,
.athlete-media-tools__button[aria-expanded="true"] {
  border-color: var(--athlete-accent);
  color: #1c1815;
  outline: none;
  background: var(--athlete-accent);
}

.athlete-media-tools__empty,
.athlete-media-tools__note {
  color: #aa9d90;
  font-size: .64rem;
  line-height: 1.45;
}

.athlete-media-tools__note {
  flex-basis: 100%;
  padding-top: .15rem;
  color: #d6c5b3;
}

.athlete-media__viewport {
  position: relative;
  min-width: 0;
  overflow: hidden;
  outline: none;
  background: #171411;
  touch-action: pan-y;
}

.athlete-media__viewport:focus-visible {
  box-shadow: inset 0 0 0 3px var(--athlete-accent);
}

.athlete-media__slides {
  min-width: 0;
}

.athlete-media__slide {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  background: #171411;
}

.athlete-history-card .athlete-media__slide--image {
  aspect-ratio: var(--athlete-photo-ratio, 4 / 5);
  max-height: min(78vh, 55rem);
}

.athlete-history-card .athlete-media__slide--video {
  aspect-ratio: var(--athlete-video-ratio, 16 / 9);
  max-height: min(78vh, 55rem);
}

.athlete-history-card .athlete-media__slide--youtube {
  aspect-ratio: 16 / 9;
}

.athlete-media__slide[hidden] {
  display: none;
}

.athlete-media__backdrop {
  position: absolute;
  inset: -1.5rem;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  filter: blur(24px) saturate(.78);
  opacity: .3;
  transform: scale(1.08);
}

.athlete-media__slide > img,
.athlete-media__slide > video,
.athlete-media__youtube,
.athlete-media__youtube-stage,
.athlete-media__youtube-stage iframe,
.athlete-media__youtube-play,
.athlete-media__youtube-play img {
  width: 100%;
  height: 100%;
}

.athlete-media__slide > img,
.athlete-media__slide > video {
  position: relative;
  z-index: 1;
  display: block;
  object-fit: contain !important;
  object-position: center;
}

.athlete-history-card .athlete-media__slide--image > img,
.athlete-history-card .athlete-media__slide--video > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
}

.athlete-pro-card .athlete-media__slide--primary > img {
  object-fit: contain !important;
  object-position: center;
}

.athlete-pro-card--wide .athlete-media__slide--primary > img {
  object-position: center;
}

.athlete-pro-card--document .athlete-media__slide--primary > img {
  object-fit: contain;
  object-position: center;
}

.athlete-media__slide > video {
  background: rgba(8, 7, 6, .34);
}

.athlete-media__youtube {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 0;
}

.athlete-media__youtube-stage {
  min-height: 0;
  background: #080706;
}

.athlete-media__youtube-stage iframe {
  display: block;
  border: 0;
}

.athlete-media__youtube-play {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  cursor: pointer;
  background: #080706;
}

.athlete-media__youtube-play img {
  display: block;
  object-fit: contain;
  opacity: .88;
  transition: opacity .2s ease;
}

.athlete-media__youtube-play::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent 60%);
}

.athlete-media__youtube-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  font-size: 1.15rem;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(8px);
}

.athlete-media__youtube-copy {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
}

@media (hover: hover) {
  .athlete-media__youtube-play:hover img {
    opacity: .95;
  }
}

.athlete-media__youtube-link {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  z-index: 3;
  padding: .55rem .75rem;
  border: 1px solid rgba(255,255,255,.32);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: rgba(19,16,14,.78);
  backdrop-filter: blur(8px);
}

.athlete-media__youtube-stage.is-playing + .athlete-media__youtube-link {
  bottom: .5rem;
}

.athlete-media__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transform: translateY(-50%);
  background: rgba(19,16,14,.72);
  box-shadow: 0 .4rem 1.2rem rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}

.athlete-media__arrow--previous {
  left: .8rem;
}

.athlete-media__arrow--next {
  right: .8rem;
}

.athlete-media__arrow:hover:not(:disabled) {
  color: #1b1714;
  background: var(--athlete-accent);
}

.athlete-media__arrow:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.athlete-media__arrow:disabled {
  cursor: default;
  opacity: .32;
}

.athlete-media__footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  min-height: 3.25rem;
  padding: .72rem 1rem;
  border-top: 1px solid rgba(245, 239, 230, .12);
  background: #26211d;
}

.athlete-media__status,
.athlete-media__hint {
  margin: 0;
}

.athlete-media__status {
  min-width: 0;
  color: #eee4d9;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.45;
}

.athlete-media__hint {
  flex: 0 0 auto;
  color: #aa9d90;
  font-size: .64rem;
  line-height: 1.4;
}

.athlete-media--single .athlete-media__footer {
  min-height: 2.9rem;
}

.athlete-evidence {
  width: 100%;
  border-top: 1px solid var(--athlete-line);
  color: var(--athlete-ink);
}

.athlete-pro-card > .athlete-evidence {
  width: auto;
  margin: 0 clamp(1.35rem, 2.5vw, 2rem) clamp(1.35rem, 2.5vw, 2rem);
}

.athlete-history-card > .athlete-evidence {
  margin-top: 1.25rem;
}

.athlete-evidence > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .65rem;
  align-items: center;
  padding: .9rem 0;
  list-style: none;
  cursor: pointer;
}

.athlete-evidence > summary::-webkit-details-marker {
  display: none;
}

.athlete-evidence > summary span {
  font-size: .76rem;
  font-weight: 700;
}

.athlete-evidence > summary b {
  color: var(--athlete-accent);
  font-weight: 700;
}

.athlete-evidence > summary em {
  color: #aa9d90;
  font-size: .66rem;
  font-style: normal;
}

.athlete-evidence > summary::after {
  color: var(--athlete-accent);
  content: "＋";
  font-size: 1rem;
  transition: transform .2s ease;
}

.athlete-evidence[open] > summary::after {
  transform: rotate(45deg);
}

.athlete-evidence ul {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 0 0 1rem;
  list-style: none;
}

.athlete-evidence a {
  display: grid;
  grid-template-columns: minmax(5rem, auto) minmax(0, 1fr);
  gap: .15rem .65rem;
  padding: .7rem .75rem;
  border: 1px solid rgba(245, 239, 230, .14);
  color: var(--athlete-ink);
  text-decoration: none;
  background: rgba(25, 21, 18, .34);
}

.athlete-evidence a:hover,
.athlete-evidence a:focus-visible {
  border-color: rgba(214, 169, 111, .72);
  outline: none;
}

.athlete-evidence a span {
  grid-row: 1 / span 2;
  color: var(--athlete-accent);
  font-size: .64rem;
  font-weight: 700;
  line-height: 1.45;
}

.athlete-evidence a strong,
.athlete-evidence a small {
  min-width: 0;
}

.athlete-evidence a strong {
  font-size: .7rem;
  line-height: 1.45;
}

.athlete-evidence a small {
  color: #aa9d90;
  font-size: .62rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .athlete-career__heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .athlete-career__summary {
    max-width: 22rem;
  }

  .athlete-pro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .athlete-history__grid {
    grid-template-columns: 1fr;
  }

  .athlete-history-card:nth-child(odd) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .athlete-career {
    padding: 4.5rem 0;
  }

  .athlete-career__heading {
    padding-bottom: 2rem;
  }

  .athlete-career__summary strong {
    font-size: 5.25rem;
  }

  .athlete-pro-grid {
    grid-template-columns: 1fr;
  }

  .coach-page .athlete-pro-card figure img {
    aspect-ratio: 4 / 4.2;
  }

  .coach-page .athlete-history > summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    min-height: 5.5rem;
  }

  .athlete-history > summary em {
    display: none;
  }

  .athlete-history__filters {
    display: block;
    padding: .85rem 0;
  }

  .athlete-history__filter-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .athlete-history__filter-buttons button {
    width: 100%;
  }

  .athlete-history__filters > p {
    margin-top: .65rem;
  }

  .athlete-history-card {
    padding: 1rem 0;
  }

  .coach-page .athlete-history-card figure {
    margin: 0 0 1rem;
  }

  .coach-page .athlete-history-card figure img {
    min-height: 0;
  }

  .athlete-history-card > .athlete-media {
    margin-bottom: 0;
  }

  .athlete-history-card > .athlete-media-tools {
    margin-bottom: 1rem;
  }

  .athlete-media-tools__label {
    flex-basis: 100%;
  }

  .athlete-media__slide {
    aspect-ratio: 4 / 5;
  }

  .athlete-history-card .athlete-media__slide--image {
    aspect-ratio: var(--athlete-photo-ratio, 4 / 5);
    max-height: min(76vh, 47.5rem);
  }

  .athlete-history-card .athlete-media__slide--video {
    aspect-ratio: var(--athlete-video-ratio, 16 / 9);
    max-height: min(76vh, 47.5rem);
  }

  .athlete-history-card .athlete-media__slide--youtube {
    aspect-ratio: 16 / 9;
  }

  .athlete-media__arrow {
    width: 2.75rem;
    height: 2.75rem;
  }

  .athlete-media__arrow--previous {
    left: .55rem;
  }

  .athlete-media__arrow--next {
    right: .55rem;
  }

  .athlete-media__hint {
    display: none;
  }

  .athlete-evidence a {
    grid-template-columns: 1fr;
  }

  .athlete-evidence a span {
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coach-page .athlete-pro-card figure img,
  .athlete-history > summary i,
  .athlete-media__youtube-play img {
    transition: none;
  }
}
