/* ═══════════════════════════════════════
   LANGUAGE SWITCHER — shared design
   Used by #switcher / .lang-switcher on every page
   that exposes the PageLang flag bar.
═══════════════════════════════════════ */
.lang-switcher,
#switcher {
  list-style: none;
  margin: 0.5rem auto;
  padding: 0;
  width: max-content;
  max-width: 100%;
  /* !important needed because main.css sets body.form #switcher { display: table }
     and several page stylesheets set #switcher { display: none } */
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.lang-switcher li,
#switcher li {
  float: none !important;
  list-style: none;
  margin: 0;
  display: inline-flex;
  margin: 2.5px;
}
.lang-switcher li a,
#switcher li a {
  display: block;
  line-height: 0;
  text-decoration: none;
}
.lang-switcher li img,
#switcher li img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  transition: opacity .2s, transform .2s;
  cursor: pointer;
  border: 5px solid var(--primary-color);
  corner-shape: squircle;
}
.lang-switcher li img:hover,
#switcher li img:hover {
  opacity: 1;
  transform: scale(1.12);
}
.lang-switcher li a.active img,
#switcher li a.active img,
.lang-switcher li.active img,
#switcher li.active img {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/* Jumbotron pages (standings, schedule, brackets, …) opt into
   mobile-only visibility by adding `.mobile-only` to the <ul>. */
.lang-switcher.mobile-only,
#switcher.mobile-only {
  display: none;
}
@media (max-width: 1079px) {
  .lang-switcher.mobile-only,
  #switcher.mobile-only {
    display: flex;
  }
}

body[d-broadcaster_code="24h"] .lang-switcher li img, body[d-broadcaster_code="24h"] #switcher li img{
    border-radius:unset !important;
}