@import url('https://fonts.googleapis.com/css2?family=Kodchasan:wght@400;700&display=swap');

body {
  font-family: Inter, sans-serif;
}

.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Анимация счётчика Users в хедере */
#header-users-count {
  display: inline-block;
  transition: transform 0.25s ease-out;
}

#header-users-count.users-counter-pop {
  transform: scale(1.2);
}

#header-users-count.users-counter-pop-down {
  transform: scale(0.9);
}

/* Хедер страницы матча с фоном */
.match-detail-header {
  position: relative;
  width: 100%;
  max-width: 1225px;
  height: 329px;
  overflow: hidden;
  background-color: #211b1b;
  background-image: var(--match-bg-url);
  background-position: center 90px;
  background-repeat: no-repeat;
  background-size: 1000px auto;
}

/* Блок счёта строго по центру хедера */
.match-detail-score-block {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  min-height: 163px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 767px) {
  .match-detail-score-block {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
.match-detail-score-block .match-home-label,
.match-detail-score-block .match-away-label {
  position: absolute;
  bottom: 0;
  pointer-events: none;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 20.26px;
  color: #7f808b;
  font-variant-numeric: tabular-nums;
}


.match-detail-score-block .match-home-label {
  left: 0;
  width: 33.33%;
  text-align: right;
}

.match-detail-score-block .match-away-label {
  right: 0;
  width: 33.33%;
  text-align: left;
}

/* Lineups: поворот полей на десктопе — ворота home влево, away вправо */
.lineup-pitch-rotate-left,
.lineup-pitch-rotate-right {
  width: 490px;
  height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lineup-pitch-rotate-left {
  transform: rotate(90deg);
}
.lineup-pitch-rotate-right {
  transform: rotate(-90deg);
}

/* Контейнер 490×490, SVG внутри растягивается на весь размер */
.lineup-pitch-desktop {
  width: 490px;
  height: 490px;
  flex-shrink: 0;
}
.lineup-pitch-desktop svg {
  width: 100%;
  height: 100%;
  display: block;
}

