.team-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid #3a9e78;
  border-radius: 7px;
  background: #103429;
  color: #9fefd0;
  font:
    600 13px/1.4 "DM Sans",
    sans-serif;
  white-space: nowrap;
}
.team-status svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.team-status[data-status="PENDIENTE"] {
  border-color: #d5a141;
  color: #ffda86;
  background: #33250e;
}
.team-status[data-status="RECHAZADA"] {
  border-color: #c75a75;
  color: #ffb8c8;
  background: #371725;
}
.team-status[data-status="ARCHIVADO"] {
  border-color: #78869f;
  color: #d0d8e5;
  background: #263042;
}
.team-identity {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid #4a91b4;
  border-radius: 50%;
  background: #10283a;
  color: #84e1ff;
  font:
    700 16px/1 "DM Sans",
    sans-serif;
}
.team-roster {
  margin-top: 20px;
}
.team-roster ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.team-roster .team-substitutes {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #3a4b64;
}
.team-roster li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  min-width: 0;
  line-height: 1.5;
  font-size: 15px;
  color: #e5edfa;
}
.team-roster li > svg {
  width: 18px;
  height: 18px;
  color: #a9c4e2;
  flex: none;
}
.team-roster .team-player-name {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
}
.team-player-name svg {
  width: 16px;
  height: 16px;
  color: #efc65d;
  margin-left: 7px;
  vertical-align: middle;
}
.team-roster small {
  flex: none;
  color: #8fd7f4;
  font-size: 13px;
}
@media (forced-colors: active) {
  .team-status,
  .team-identity {
    border-color: CanvasText;
    color: CanvasText;
    background: Canvas;
  }
}
/* Team hero portraits share the existing identity circles. */
.team-identity { overflow: hidden; }
.team-identity img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tr-icon-picker { margin-block: 24px 32px; }
.tr-icon-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.tr-icon-choice { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; min-width: 0; padding: 12px 4px; border: 1px solid #38516e; border-radius: 12px; background: #0a1728; cursor: pointer; }
.tr-icon-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tr-icon-picture { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #17344b; color: #91e8ff; }
.tr-icon-picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tr-icon-choice > span:last-child { max-width: 100%; color: #dbe9fc; font-size: 12px; line-height: 1.35; text-align: center; overflow-wrap: anywhere; }
.tr-icon-choice:has(input:checked) { border-color: #66dcff; background: #163047; box-shadow: inset 0 0 0 1px #66dcff; }
.tr-icon-choice:has(input:focus-visible) { outline: 3px solid #a0e9ff; outline-offset: 3px; }
.tr-icon-choice[data-occupied="true"] { opacity: .35; filter: grayscale(1); cursor: not-allowed; }
.tr-icon-choice:has(input:disabled) { cursor: not-allowed; }
@media (max-width: 767px) { .tr-icon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .tr-icon-picture { width: 48px; height: 48px; } }
@media (max-width: 479px) { .tr-icon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
