/* Tennis Player OS v1.2.13 · Athletics Footwork Patterns */

.athletics-footwork-subhead{
  align-items:flex-end;
}
.athletics-footwork-subhead p{
  max-width:820px;
}

.athletics-footwork-reference{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) auto auto;
  gap:16px;
  align-items:center;
  margin-bottom:14px;
  padding:14px 16px;
  border:1px solid #dbe5ef;
  border-radius:14px;
  background:linear-gradient(135deg,#f4f8fc 0%,#fff 62%,#f8fbfd 100%);
}
.athletics-footwork-reference-copy{
  display:grid;
  gap:3px;
}
.athletics-footwork-reference-copy>span{
  color:#54708f;
  font-size:.59rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.athletics-footwork-reference-copy strong{
  color:#203953;
  font-size:.86rem;
}
.athletics-footwork-reference-copy small{
  color:var(--muted);
  font-size:.65rem;
  line-height:1.4;
}
.athletics-footwork-reference-categories{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.athletics-footwork-reference-categories span,
.athletics-footwork-category{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:4px 8px;
  border:1px solid transparent;
  border-radius:999px;
  font-size:.58rem;
  font-weight:900;
  letter-spacing:.02em;
}
.athletics-footwork-reference-categories .attacking,
.athletics-footwork-category.category-attacking{
  color:#9b5d1a;
  background:#fff5e8;
  border-color:#f2dfc4;
}
.athletics-footwork-reference-categories .rallying,
.athletics-footwork-category.category-rallying{
  color:#276f68;
  background:#ecf8f5;
  border-color:#d5ece7;
}
.athletics-footwork-reference-categories .defensive,
.athletics-footwork-category.category-defensive{
  color:#6c54a5;
  background:#f4f0fb;
  border-color:#e5dcf5;
}
.athletics-footwork-category.category-serve-return{
  color:#2d668d;
  background:#eef7fd;
  border-color:#d7e8f5;
}
.athletics-footwork-category.category-net{
  color:#a04d69;
  background:#fff0f5;
  border-color:#f3d9e3;
}
.athletics-footwork-category.category-other{
  color:#647083;
  background:#f4f6f8;
  border-color:#e4e8ed;
}
.athletics-footwork-reference>a{
  color:#486b8f;
  font-size:.65rem;
  font-weight:850;
  text-decoration:none;
  white-space:nowrap;
}
.athletics-footwork-reference>a:hover{text-decoration:underline}

.athletics-footwork-kpis{
  margin-bottom:14px;
}
.athletics-footwork-kpi-focus{
  max-width:220px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.athletics-footwork-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.athletics-footwork-card{
  position:relative;
  overflow:hidden;
  border-color:#dfe6ed;
  box-shadow:0 7px 22px rgba(25,44,68,.045);
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}
.athletics-footwork-card:hover{
  transform:translateY(-1px);
  box-shadow:0 11px 26px rgba(25,44,68,.07);
}
.athletics-footwork-card.is-focus{
  border-color:#91b6b0;
  box-shadow:0 0 0 2px rgba(61,147,133,.09),0 12px 28px rgba(25,44,68,.07);
}
.athletics-footwork-accent{
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,#3d9385,#6976bb);
}
.athletics-footwork-card.is-focus .athletics-footwork-accent{
  width:6px;
  background:linear-gradient(180deg,#1f9d86,#62b6a7);
}
.athletics-footwork-card .panel-body{
  display:grid;
  gap:13px;
  padding-left:19px;
}
.athletics-footwork-card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
}
.athletics-footwork-card-head>div:first-child{
  min-width:0;
}
.athletics-footwork-card-head h3{
  margin:6px 0 3px;
  color:#263a53;
  font-size:1rem;
}
.athletics-footwork-card-head p{
  margin:0;
  color:var(--muted);
  font-size:.67rem;
}
.athletics-footwork-badges{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.athletics-footwork-focus-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 8px;
  border-radius:999px;
  background:#eaf7f3;
  color:#247d6f;
  border:1px solid #d4ece5;
  font-size:.58rem;
  font-weight:900;
}
.athletics-footwork-card-actions{
  display:flex;
  gap:6px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.athletics-footwork-small-button{
  min-height:29px;
  padding:5px 8px;
  font-size:.59rem;
}
.athletics-footwork-focus-mark{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:10px;
  background:#eaf7f3;
  color:#247d6f;
  font-weight:950;
}
.athletics-footwork-learning{
  display:grid;
  gap:7px;
}
.athletics-footwork-learning-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
.athletics-footwork-learning-head span{
  color:#758196;
  font-size:.61rem;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.athletics-footwork-learning-head strong{
  color:#3b516d;
  font-size:.68rem;
}
.athletics-footwork-progress{
  height:10px;
  overflow:hidden;
  border-radius:999px;
  background:#e9eef3;
  box-shadow:inset 0 0 0 1px rgba(59,81,109,.04);
}
.athletics-footwork-progress>div{
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6f83c4,#3d9b85);
  transition:width .18s ease;
}
.athletics-footwork-cue{
  display:grid;
  gap:3px;
  padding:10px 11px;
  border:1px solid #e6eaf0;
  border-radius:10px;
  background:#fafbfd;
}
.athletics-footwork-cue span,
.athletics-footwork-resources-head strong{
  color:#778397;
  font-size:.58rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.athletics-footwork-cue strong{
  color:#3e5068;
  font-size:.72rem;
}
.athletics-footwork-resources{
  display:grid;
  gap:7px;
}
.athletics-footwork-resources-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.athletics-footwork-resources-head>span{
  display:grid;
  place-items:center;
  min-width:24px;
  min-height:24px;
  padding:2px 7px;
  border-radius:999px;
  background:#f0f3f7;
  color:#68778a;
  font-size:.57rem;
  font-weight:900;
}
.athletics-footwork-resource-list{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.athletics-footwork-resource-chip{
  appearance:none;
  border:1px solid #dfe5ec;
  border-radius:999px;
  background:#fff;
  color:#52647a;
  padding:6px 9px;
  font-size:.63rem;
  font-weight:800;
  cursor:pointer;
}
.athletics-footwork-resource-chip:hover{
  border-color:#becbd8;
  background:#f8fafc;
}
.athletics-footwork-resource-chip.youtube{
  color:#a04444;
  border-color:#efd6d6;
  background:#fff8f8;
}
.athletics-footwork-resource-chip.youtube:hover{
  border-color:#dfa7a7;
  background:#fff3f3;
}
.athletics-footwork-muted{
  color:#8a96a5;
  font-size:.65rem;
}
.athletics-footwork-notes{
  padding-top:9px;
  border-top:1px solid #edf0f3;
  color:#687589;
  font-size:.69rem;
  line-height:1.48;
  white-space:pre-wrap;
}
.athletics-footwork-empty .panel-body{
  display:grid;
  justify-items:center;
  gap:8px;
  padding:34px 20px;
  text-align:center;
}
.athletics-footwork-empty-icon{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:14px;
  background:linear-gradient(135deg,#eef4fb,#ecf8f5);
  color:#507998;
  font-size:1.1rem;
  font-weight:950;
}
.athletics-footwork-empty h3{margin:0;color:#2f4259}
.athletics-footwork-empty p{
  max-width:640px;
  margin:0 0 5px;
  color:var(--muted);
  font-size:.72rem;
  line-height:1.5;
}

.athletics-footwork-dialog{
  width:min(900px,calc(100% - 24px));
}
.athletics-footwork-dialog .dialog-head p{
  max-width:660px;
  margin:4px 0 0;
  color:var(--muted);
  font-size:.67rem;
}
.athletics-footwork-learning-field{
  display:grid;
  gap:7px;
}
.athletics-footwork-learning-control{
  display:grid;
  grid-template-columns:minmax(0,1fr) 180px;
  gap:12px;
  align-items:center;
}
.athletics-footwork-learning-control input[type="range"]{
  width:100%;
  accent-color:#677d9c;
}
.athletics-footwork-learning-control output{
  padding:7px 9px;
  border-radius:9px;
  background:#f4f7fa;
  color:#455a73;
  font-size:.67rem;
  font-weight:850;
  text-align:center;
}
.athletics-footwork-learning-scale{
  display:flex;
  justify-content:space-between;
  gap:8px;
  color:#8a95a5;
  font-size:.53rem;
}
.athletics-footwork-focus-check{
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:11px 12px;
  border:1px solid #dce7e4;
  border-radius:11px;
  background:#f6fbf9;
}
.athletics-footwork-focus-check input{
  width:17px;
  height:17px;
  margin-top:1px;
}
.athletics-footwork-focus-check span{
  display:grid;
  gap:2px;
}
.athletics-footwork-focus-check strong{
  color:#315d56;
  font-size:.72rem;
}
.athletics-footwork-focus-check small{
  color:#78918c;
  font-size:.61rem;
}
.athletics-footwork-resource-fieldset{
  margin:0;
  padding:12px;
  border:1px solid #dfe5ec;
  border-radius:12px;
}
.athletics-footwork-resource-fieldset legend{
  padding:0 6px;
  color:#5c6b7f;
  font-size:.68rem;
  font-weight:850;
}
.athletics-footwork-resource-picker{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.athletics-footwork-resource-picker label{
  display:flex;
  align-items:flex-start;
  gap:8px;
  padding:9px 10px;
  border:1px solid #e4e9ef;
  border-radius:9px;
  background:#fafbfd;
}
.athletics-footwork-resource-picker label.is-youtube{
  background:#fff9f9;
  border-color:#f0dede;
}
.athletics-footwork-resource-picker input{
  width:16px;
  height:16px;
  margin-top:1px;
}
.athletics-footwork-resource-picker span{
  display:grid;
  min-width:0;
  gap:2px;
}
.athletics-footwork-resource-picker strong{
  color:#40536b;
  font-size:.68rem;
  overflow-wrap:anywhere;
}
.athletics-footwork-resource-picker small{
  color:#8b96a6;
  font-size:.58rem;
}
.athletics-footwork-no-resources{
  display:grid;
  gap:3px;
  padding:10px 11px;
  border:1px dashed #d7dfe8;
  border-radius:9px;
  color:#8490a1;
  font-size:.64rem;
}
.athletics-footwork-no-resources strong{
  color:#647286;
}

@media(max-width:1050px){
  .athletics-footwork-reference{
    grid-template-columns:1fr;
    align-items:start;
  }
  .athletics-footwork-reference-categories{justify-content:flex-start}
}
@media(max-width:850px){
  .athletics-footwork-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:700px){
  .athletics-footwork-card-head,
  .athletics-footwork-learning-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .athletics-footwork-card-actions{justify-content:flex-start}
  .athletics-footwork-learning-control{
    grid-template-columns:1fr;
  }
  .athletics-footwork-learning-scale{
    display:none;
  }
  .athletics-footwork-resource-picker{
    grid-template-columns:1fr;
  }
}
