.match-video { min-width: 0; }
.public-match-formation { margin-top: .9rem; }
.public-match-formation[hidden],
.public-match-formation__teams[hidden],
html.player-pseudo-fs .public-match-formation { display: none; }

.public-match-formation h2 { margin: 0 0 .55rem; font-size: 1rem; }
.public-match-formation__teams { display: flex; gap: .4rem; margin-bottom: .6rem; }
.public-match-formation__teams button {
  padding: .4rem .85rem;
  border: 1px solid #42536a;
  border-radius: .45rem;
  background: #162231;
  color: #f0f4fa;
  cursor: pointer;
}
.public-match-formation__teams button[aria-pressed="true"] { background: #2b465f; border-color: #a6c8e9; }
.public-match-formation__teams button:focus-visible { outline: 2px solid #c7e2ff; outline-offset: 2px; }

.public-match-formation .tv-formation {
  position: relative;
  width: 100%;
  background: #0b141b;
}
.public-match-formation .tv-formation header { height: auto; min-height: 3.4rem; }
.public-match-formation .tv-formation header img { height: auto; max-height: 2.75rem; }
.public-match-formation .tv-formation__title span { color: #cdd9e6; }
.public-match-formation .tv-formation__body { height: auto; }
.public-match-formation .tv-formation aside h3 { font-size: clamp(.67rem, 2cqw, .9rem); }
.public-match-formation .tv-formation aside p { font-size: clamp(.68rem, 2.15cqw, .9rem); }
.public-match-formation .tv-formation aside p b { color: #e3edf8; }
.public-match-formation .tv-formation__pitch {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: .65rem;
  padding-block: 1.5rem 1.15rem;
  min-height: 17.5rem;
  container-type: normal;
  --formation-marker-size: clamp(19px, 4.6cqw, 33px);
}
.public-match-formation .tv-formation__row { display: flex; position: relative; }
.public-match-formation .tv-formation__player { position: relative; transform: none; flex: 0 0 auto; min-width: 0; }
.public-match-formation .tv-formation__player > b { font-size: clamp(.65rem, 2.4cqw, .95rem); }
.public-match-formation .tv-formation__player > span { font-size: clamp(.68rem, 2.2cqw, .95rem); }

@container (max-width: 460px) {
  .public-match-formation .tv-formation__body { grid-template-columns: minmax(0, 1fr); }
  .public-match-formation .tv-formation aside { order: 1; padding: .7rem .85rem; border-right: 0; border-top: 1px solid #b4c9d326; }
  .public-match-formation .tv-formation__pitch { margin: 0 .2rem; }
}
