/* V7.73 — Names on the artwork. Loaded only by teams.html. */
body[data-page="teams"] #teams-page-list .team-card {
  display: flex !important;
  flex-direction: column;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
}

body[data-page="teams"] #teams-page-list .team-card-visual {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  container-type: inline-size;
}

body[data-page="teams"] #teams-page-list .team-card-portrait {
  object-fit: contain;
  object-position: center top;
}

body[data-page="teams"] #teams-page-list .team-image-name {
  position: absolute;
  top: var(--nameplate-y, 92%);
  left: 7%;
  right: 7%;
  bottom: auto;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  font-family: var(--body) !important;
  font-size: clamp(0.75rem, 1.5vw, 1.5rem) !important;
  font-size: clamp(0.75rem, 5cqw, 1.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  text-align: center;
  color: #111 !important;
  text-shadow: none;
  z-index: 3;
}

body[data-page="teams"] #teams-page-list .team-image-name span {
  display: inline-block;
  flex: 0 0 auto;
  transform: scaleX(var(--name-scale, 1));
  transform-origin: center;
}

body[data-page="teams"] #teams-page-list .team-card-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #fbfbf7;
  color: #fdd103;
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6rem);
}
