/* Canonical attendance and match callup presentation. */
.v2165-att-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  padding: 6px;
  background: #f2f2ef;
  border: 1px solid #deded8;
  border-radius: 14px;
  width: max-content;
  max-width: 100%;
}
.v2165-att-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #666;
  font: 700 13px/1.2 inherit;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}
.v2165-att-tabs button.active {
  background: #111;
  color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
/* Keep the section switcher in one permanent visual slot. The training
   renderer can return it before .page-head while the callup renderer returns
   it after .page-head; ordering the direct children prevents the whole page
   from jumping when switching between the two sections. */
#main:has(> .v2165-att-tabs) {
  display: flex !important;
  flex-direction: column !important;
}
#main:has(> .v2165-att-tabs) > .page-head {
  order: 0;
}
#main:has(> .v2165-att-tabs) > .v2165-att-tabs {
  order: 1;
  flex: 0 0 auto;
}
#main:has(> .v2165-att-tabs) > :not(.page-head):not(.v2165-att-tabs) {
  order: 2;
}
.v2165-callup-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.v2165-callup-toolbar label {
  display: grid;
  gap: 7px;
  min-width: min(340px, 100%);
}
.v2165-callup-toolbar label span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6c6c68;
}
.v2165-callup-toolbar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d7d7d1;
  border-radius: 11px;
  background: #fff;
  padding: 0 38px 0 12px;
  font: 700 14px/1.2 inherit;
}
.v2165-season-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  border-radius: 999px;
  background: #fff6a8;
  border: 1px solid #ebda39;
  font-size: 12px;
  font-weight: 800;
  color: #181818;
}
.v2165-callup-shell {
  display: grid;
  gap: 14px;
}
.v2165-callup-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.v2165-callup-metric {
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 15px 16px;
  min-width: 0;
}
.v2165-callup-metric.highlight {
  background: #ffe500;
  color: #111;
}
.v2165-callup-metric strong {
  display: block;
  font-size: 25px;
  line-height: 1;
  margin-bottom: 7px;
}
.v2165-callup-metric span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.78;
}
.v2165-callup-card .card-title {
  align-items: flex-start;
}
.v2165-callup-note {
  margin: 0;
  color: #76766f;
  font-size: 12px;
  line-height: 1.5;
}
.v2165-callup-list {
  display: grid;
  gap: 8px;
}
.v2165-callup-row {
  display: grid;
  grid-template-columns: 42px minmax(160px, 1.25fr) minmax(120px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #e3e3dd;
  border-radius: 12px;
  background: #fff;
}
.v2165-callup-row.is-top {
  border-color: #e0ca00;
  background: #fffdf0;
}
.v2165-callup-row.is-low {
  background: #fafafa;
}
.v2165-callup-dorsal {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #111;
  color: #ffe500;
  font-weight: 900;
  font-size: 14px;
}
.v2165-callup-player {
  min-width: 0;
}
.v2165-callup-player strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v2165-callup-player small {
  display: block;
  margin-top: 3px;
  color: #7b7b75;
  font-size: 11px;
}
.v2165-callup-badge {
  display: inline-flex;
  margin-left: 6px;
  padding: 3px 6px;
  border-radius: 999px;
  background: #ffe500;
  color: #111;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.v2165-callup-bar {
  height: 8px;
  border-radius: 999px;
  background: #ecece7;
  overflow: hidden;
}
.v2165-callup-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
}
.v2165-callup-numbers {
  text-align: right;
  min-width: 88px;
}
.v2165-callup-numbers strong,
.v2165-callup-numbers small {
  display: block;
}
.v2165-callup-numbers strong {
  font-size: 13px;
}
.v2165-callup-numbers small {
  margin-top: 3px;
  color: #777;
  font-size: 11px;
}
.v2165-callup-empty {
  padding: 24px 16px;
  border: 1px dashed #d8d8d2;
  border-radius: 12px;
  text-align: center;
  color: #777;
  background: #fafaf8;
}
.v2165-callup-loading {
  display: grid;
  place-items: center;
  min-height: 170px;
  color: #777;
  font-weight: 700;
}
.v2165-callup-error {
  padding: 14px;
  border-radius: 11px;
  background: #fff1f1;
  color: #9a2222;
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 760px) {
  .v2165-att-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .v2165-att-tabs button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 11px 8px;
  }
  .v2165-callup-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .v2165-callup-toolbar label {
    min-width: 0;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }
  .v2165-callup-toolbar select {
    min-width: 0;
    max-width: 100%;
    contain: layout inline-size;
  }
  .v2165-callup-card .card-title {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .v2165-season-tag {
    align-self: flex-start;
  }
  .v2165-callup-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .v2165-callup-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 9px;
  }
  .v2165-callup-bar {
    grid-column: 2/4;
  }
  .v2165-callup-numbers {
    min-width: 72px;
  }
  .v2165-callup-player strong {
    white-space: normal;
  }
  .v2165-callup-metric {
    padding: 13px;
  }
  .v2165-callup-metric strong {
    font-size: 22px;
  }
}
@media (max-width: 380px) {
  .v2165-callup-metrics {
    grid-template-columns: 1fr;
  }
  .v2165-callup-row {
    padding: 10px 9px;
  }
  .v2165-callup-numbers {
    min-width: 64px;
  }
}

/* Match callup context and rate presentation. */
.v2166-callup-rate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin-top: 5px;
  padding: 3px 8px;
  border: 1px solid rgba(8, 8, 8, 0.16);
  border-radius: 999px;
  background: #fff8cc;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
.v2166-callup-rate.is-empty {
  background: #f3f3f1;
  color: #6d6d68;
  font-weight: 700;
}
.v2140-callup-player > span:last-child {
  min-width: 0;
}
.v2140-callup-player > span:last-child strong,
.v2140-callup-player > span:last-child small {
  display: block;
}
@media (max-width: 640px) {
  .v2166-callup-rate {
    min-height: 22px;
    padding: 3px 7px;
    font-size: 10px;
  }
  .v2140-callup-row {
    align-items: flex-start;
  }
  .v2140-callup-player {
    align-items: flex-start;
  }
}

/* Complete player names remain available, including unbroken surnames. */
.v2165-callup-player strong{white-space:normal;overflow:visible;overflow-wrap:anywhere;line-height:1.4}

.v2140-callup-player strong{white-space:normal;overflow:visible;overflow-wrap:anywhere;line-height:1.4}
