@media(max-width:900px){
  .athlete-system .week-segments{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    width:calc(100% - 44px)!important;
    max-width:none!important;
    min-width:0!important;
    margin:16px 22px 30px!important;
    padding:14px 0 0!important;
    gap:10px!important;
    overflow:visible!important;
    box-sizing:border-box!important;
    border-top:1px solid #e2e7e4!important;
  }
  .athlete-system .week-segments>button{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:58px!important;
    margin:0!important;
    padding:0 0 8px!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    border:0!important;
    border-bottom:4px solid #dce2df!important;
    border-radius:0!important;
    background:transparent!important;
    color:#08110d!important;
    font-size:1.55rem!important;
    font-weight:900!important;
    line-height:1!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
  }
  .athlete-system .week-segments>button.current{
    color:#08110d!important;
    border-bottom-color:#c9ff3d!important;
    background:radial-gradient(circle at center,#efffc0 0,#efffc0 42%,transparent 44%)!important;
  }
  .athlete-system .week-segments>button.done{border-bottom-color:#8ca536!important}
  .athlete-system .profile-nav{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    width:calc(100% - 44px)!important;
    margin:0 22px 24px!important;
    border-top:1px solid #dfe4e1!important;
  }
  .athlete-system .profile-nav>button{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:76px!important;
    padding:12px 44px 12px 62px!important;
    border:0!important;
    border-bottom:1px solid #dfe4e1!important;
    border-radius:0!important;
    background:#fff!important;
    color:#0a110e!important;
    text-align:left!important;
    font-size:1rem!important;
    font-weight:900!important;
    font-style:italic!important;
    line-height:1.15!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
  }
  .athlete-system .profile-nav>button::after{content:'›';position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:2rem;font-style:normal;font-weight:700;color:#08110d}
  .athlete-system .profile-nav>button::before{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:38px;text-align:center;font-size:1.75rem;font-style:normal}
  .athlete-system .profile-nav>button[data-tab="overview"]::before{content:'▥';color:#9ec72e}
  .athlete-system .profile-nav>button[data-tab="training"]::before{content:'▣';color:#9ec72e}
  .athlete-system .profile-nav>button[data-tab="testing"]::before{content:'◴';color:#9ec72e}
  .athlete-system .profile-nav>button.active{box-shadow:inset 4px 0 0 #c9ff3d!important}
  .athlete-system .dashboard-grid{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;width:100%!important;margin-top:18px!important}
  .athlete-system .dashboard-grid .dark-stat{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;min-height:140px!important;height:auto!important;padding:22px!important;overflow:hidden!important;background:#0b1612!important;border:1px solid #26372f!important;box-sizing:border-box!important}
  .athlete-system .dashboard-grid .dark-stat>span{position:static!important;display:block!important;width:auto!important;margin:0 0 10px!important;padding:0!important;color:#ffffff!important;background:transparent!important;font-size:1rem!important;line-height:1.2!important;font-weight:900!important;letter-spacing:.06em!important;opacity:1!important;visibility:visible!important;transform:none!important}
  .athlete-system .dashboard-grid .dark-stat>strong{position:static!important;display:block!important;margin:0!important;padding:0!important;color:#ffffff!important;background:transparent!important;font-size:2rem!important;line-height:1.05!important;font-weight:900!important;opacity:1!important;visibility:visible!important;transform:none!important}
  .athlete-system .dashboard-grid .dark-stat>b{position:static!important;display:block!important;margin:8px 0 0!important;padding:0!important;color:#c9ff3d!important;background:transparent!important;font-size:1rem!important;line-height:1.2!important;font-weight:900!important;opacity:1!important;visibility:visible!important;transform:none!important}
  .athlete-system .dashboard-grid .dark-stat>i{position:absolute!important;left:0!important;bottom:0!important;height:5px!important;background:#c9ff3d!important}
  .athlete-system .profile-nav [data-competition-launch]{display:flex!important;align-items:center!important;justify-content:center!important;min-height:58px!important;position:relative!important;z-index:20!important;pointer-events:auto!important;touch-action:manipulation!important}
}

/* Consistent mobile-first athlete navigation across phone, tablet and desktop.
   Scoped to Athlete Mode only. Game Schedule remains independently styled. */
.athlete-system .profile-nav.athlete-mode-nav{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
  width:100%!important;
  margin:24px 0 28px!important;
  padding:0!important;
  border:0!important;
  overflow:visible!important;
}
.athlete-system .profile-nav.athlete-mode-nav>button[data-tab]{
  display:flex!important;
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  min-height:70px!important;
  align-items:center!important;
  padding:14px 22px!important;
  white-space:normal!important;
  text-align:left!important;
  font-size:clamp(15px,1.5vw,19px)!important;
  font-weight:900!important;
  font-style:italic!important;
  line-height:1.3!important;
  cursor:pointer!important;
  border-radius:0!important;
}
.athlete-system .profile-nav.athlete-mode-nav>button[data-tab]::before,
.athlete-system .profile-nav.athlete-mode-nav>button[data-tab]::after{
  content:none!important;
}
.athlete-system:has(.athlete-mode-nav) .athlete-identity{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  justify-content:start!important;
  align-items:center!important;
  column-gap:20px!important;
  row-gap:12px!important;
}
.athlete-system:has(.athlete-mode-nav) .athlete-identity>.week-badge{
  grid-column:2!important;
  width:auto!important;
  text-align:left!important;
  margin:0!important;
  padding:8px 0 0!important;
  border-top:1px solid #344139!important;
}
.athlete-system:has(.athlete-mode-nav) .week-badge strong{
  display:block!important;
}
@media(max-width:600px){
  .athlete-system:has(.athlete-mode-nav) .athlete-identity{
    grid-template-columns:56px minmax(0,1fr)!important;
    column-gap:12px!important;
  }
  .athlete-system:has(.athlete-mode-nav) .profile-placeholder{
    width:54px!important;
    height:54px!important;
  }
  .athlete-system .profile-nav.athlete-mode-nav{
    margin:18px 0 24px!important;
  }
  .athlete-system .profile-nav.athlete-mode-nav>button[data-tab]{
    min-height:66px!important;
    padding:12px 16px!important;
  }
}

/* Athlete-mode menu buttons: shared on phone, tablet and desktop.
   Matches the nav rendered by profileNav(); excludes Game Schedule. */
.athlete-system nav.profile-nav.athlete-mode-nav{
  background:transparent;
}
.athlete-system nav.profile-nav.athlete-mode-nav button[data-tab]{
  display:flex!important;
  background-color:#0a0f0a!important;
  background-image:none!important;
  color:#fff!important;
  border:0!important;
  border-bottom:2px solid #29352b!important;
  box-shadow:none!important;
  font-weight:900!important;
  font-style:italic!important;
}
.athlete-system nav.profile-nav.athlete-mode-nav button[data-tab].active{
  background-color:#0a0f0a!important;
  color:#fff!important;
  border-bottom:4px solid #d4ff4f!important;
}
.athlete-system nav.profile-nav.athlete-mode-nav button[data-tab]:focus-visible{
  outline:3px solid #d4ff4f!important;
  outline-offset:2px!important;
}
@media(hover:hover){
  .athlete-system nav.profile-nav.athlete-mode-nav button[data-tab]:hover{
    background-color:#18251b!important;
    color:#fff!important;
  }
}
.athlete-system .week-segments>button{
  background:#fff!important;
  color:#2f7bff!important;
  border:1px solid #acb8b1!important;
  font-size:26px!important;
  font-weight:900!important;
  font-style:italic!important;
  box-shadow:none!important;
}
.athlete-system .week-segments>button.current{
  background:#0a0f0a!important;
  color:#2f7bff!important;
  border-color:#0a0f0a!important;
}
.athlete-system .week-segments>button.done:not(.current){
  background:#fff!important;
  color:#2f7bff!important;
  border-color:#acb8b1!important;
}
.athlete-system .week-segments>button:focus-visible{
  outline:3px solid #8caf00!important;
  outline-offset:3px!important;
}
