.sm-match-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s ease, visibility 0.38s ease;
}

.sm-match-popup.is-visible {
  visibility: visible;
  pointer-events: auto;
}

.sm-match-popup.is-active {
  opacity: 1;
}

.sm-match-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 17, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.38s ease;
}

.sm-match-popup.is-active .sm-match-popup__overlay {
  opacity: 1;
}

.sm-match-popup__dialog {
    position: relative;
    box-sizing: border-box;
    width: min(1422px, calc(100vw - 48px));
    height: min(585px, calc(100vh - 48px));
    padding: 28px 34px 28px 36px;
    border-radius: 34px;
    overflow: hidden;
    background: #0c2330 var(--sm-popup-bg-desktop) center / cover no-repeat;
    box-shadow: 0 30px 80px rgba(3, 8, 15, 0.45);
    cursor: pointer;
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.34s ease;
}

.sm-match-popup.is-active .sm-match-popup__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sm-match-popup__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sm-match-popup__close:hover {
  opacity: 0.85;
  transform: scale(1.06);
}

.sm-match-popup__close img {
  width: 32px;
  height: 32px;
  display: block;
}

.sm-match-popup__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, 720px);
  gap: 44px;
  align-items: center;
  height: 100%;
}

.sm-match-popup__promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  max-width: 480px;
  padding-left: 72px;
  color: #ffffff;
}

.sm-match-popup__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 3.1vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.sm-match-popup__content {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  max-width: 420px;
}

.sm-match-popup__content > *:first-child {
  margin-top: 0;
}

.sm-match-popup__content > *:last-child {
  margin-bottom: 0;
}

.sm-match-popup__content a {
  color: #9fcbff;
}

.sm-match-popup__content .richtext-heading {
  margin: 0 0 12px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
}

.sm-match-popup__button {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid #59c53c;
  border-radius: 6px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.sm-match-popup__button:hover {
  text-decoration: none;
}

.sm-match-popup__match-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  min-height: 376px;
  padding: 30px 40px 34px;
  border-radius: 36px;
  background: #1e1f2214;
  box-shadow: 0 24px 50px rgba(6, 13, 23, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.sm-match-popup__league {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.sm-match-popup__match-title {
  max-width: 100%;
  margin: 14px auto 0;
  color: #ffffff;
  font-size: clamp(28px, 2.3vw, 36px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  word-break: break-word;
  text-wrap: balance;
}

.sm-match-popup__sport-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 24px auto 0;
    padding: 10px 18px;
    border-radius: 14px;
    background: #f0c24b;
    color: black;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
}

.sm-match-popup__sport-chip img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.sm-match-popup__meta {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.sm-match-popup__scoreline {
  display: grid;
  grid-template-columns: minmax(92px, 120px) minmax(120px, 1fr) minmax(92px, 120px);
  gap: 18px;
  align-items: center;
  margin-top: 20px;
}

.sm-match-popup__team {
  display: flex;
  justify-content: center;
}

.sm-match-popup__team-logo {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.sm-match-popup__team-logo img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.sm-match-popup__team-logo span {
  color: #0d2236;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.sm-match-popup__score {
  color: #ffffff;
  font-size: clamp(42px, 4vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .sm-match-popup__dialog {
    width: min(1200px, calc(100vw - 40px));
    height: min(500px, calc(100vh - 40px));
    padding: 24px 26px 24px 28px;
  }

  .sm-match-popup__layout {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: 28px;
  }

  .sm-match-popup__promo {
    max-width: 420px;
    padding-left: 28px;
  }

  .sm-match-popup__title {
    font-size: clamp(30px, 3vw, 44px);
  }

  .sm-match-popup__button {
    align-self: flex-start;
  }

  .sm-match-popup__match-card {
    max-width: 100%;
    min-height: 332px;
    padding: 26px 28px 30px;
    border-radius: 30px;
  }

  .sm-match-popup__league {
    font-size: 15px;
  }

  .sm-match-popup__match-title {
    font-size: clamp(24px, 2.5vw, 32px);
  }

  .sm-match-popup__sport-chip {
    margin-top: 20px;
    font-size: 15px;
  }

  .sm-match-popup__meta {
    margin-top: 22px;
    font-size: 15px;
  }

  .sm-match-popup__team-logo {
    width: 92px;
    height: 92px;
  }

  .sm-match-popup__team-logo img {
    width: 60px;
    height: 60px;
  }

  .sm-match-popup__score {
    font-size: clamp(38px, 3.6vw, 58px);
  }
}

@media (max-width: 991.98px) {
  .sm-match-popup {
    padding: 16px;
  }

  .sm-match-popup__dialog {
    width: min(728px, calc(100vw - 32px));
    height: min(708px, calc(100vh - 32px));
    padding: 74px 22px 22px;
    border-width: 4px;
    border-radius: 30px;
    background: #0c2330 var(--sm-popup-bg-mobile) center / cover no-repeat;
  }

  .sm-match-popup__close {
    top: 18px;
    right: 18px;
  }

  .sm-match-popup__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 26px;
    align-content: center;
  }

  .sm-match-popup__promo {
    order: 2;
    align-items: center;
    max-width: 100%;
    padding-left: 0;
    gap: 18px;
    text-align: center;
  }

  .sm-match-popup__title {
    max-width: 440px;
    font-size: clamp(30px, 5vw, 42px);
  }

  .sm-match-popup__content {
    max-width: 470px;
    font-size: 15px;
  }

  .sm-match-popup__button {
    align-self: center;
  }

  .sm-match-popup__match-card {
    order: 1;
    max-width: 100%;
    margin-left: 0;
    min-height: 320px;
    padding: 30px 24px 28px;
    border-radius: 26px;
  }

  .sm-match-popup__league {
    font-size: 15px;
  }

  .sm-match-popup__match-title {
    margin-top: 12px;
    font-size: clamp(26px, 5vw, 38px);
  }

  .sm-match-popup__sport-chip {
    margin-top: 20px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 15px;
  }

  .sm-match-popup__meta {
    margin-top: 22px;
    font-size: 15px;
  }

  .sm-match-popup__scoreline {
    grid-template-columns: minmax(72px, 100px) minmax(96px, 1fr) minmax(72px, 100px);
    gap: 16px;
    margin-top: 16px;
  }

  .sm-match-popup__team-logo {
    width: 88px;
    height: 88px;
  }

  .sm-match-popup__team-logo img {
    width: 56px;
    height: 56px;
  }

  .sm-match-popup__team-logo span {
    font-size: 28px;
  }

  .sm-match-popup__score {
    font-size: clamp(34px, 7vw, 52px);
  }
}

@media (max-width: 575.98px) {
  .sm-match-popup {
    padding: 12px;
  }

  .sm-match-popup__dialog {
    width: calc(100vw - 24px);
    height: min(664px, calc(100vh - 24px));
    padding: 66px 16px 18px;
    border-width: 4px;
    border-radius: 28px;
  }

  .sm-match-popup__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .sm-match-popup__close img {
    width: 28px;
    height: 28px;
  }

  .sm-match-popup__layout {
    gap: 18px;
  }

  .sm-match-popup__match-card {
    min-height: 280px;
    padding: 26px 16px 22px;
    border-radius: 24px;
  }

  .sm-match-popup__league {
    font-size: 14px;
  }

  .sm-match-popup__match-title {
    font-size: clamp(22px, 7vw, 31px);
  }

  .sm-match-popup__sport-chip {
    margin-top: 18px;
    padding: 9px 14px;
    font-size: 14px;
  }

  .sm-match-popup__sport-chip img {
    width: 18px;
    height: 18px;
  }

  .sm-match-popup__meta {
    margin-top: 18px;
    font-size: 14px;
  }

  .sm-match-popup__scoreline {
    grid-template-columns: 72px minmax(74px, 1fr) 72px;
    gap: 10px;
    margin-top: 14px;
  }

  .sm-match-popup__team-logo {
    width: 72px;
    height: 72px;
  }

  .sm-match-popup__team-logo img {
    width: 46px;
    height: 46px;
  }

  .sm-match-popup__team-logo span {
    font-size: 24px;
  }

  .sm-match-popup__score {
    font-size: clamp(28px, 8vw, 42px);
  }

  .sm-match-popup__promo {
    gap: 14px;
  }

  .sm-match-popup__title {
    max-width: 320px;
    font-size: clamp(24px, 9vw, 38px);
  }

  .sm-match-popup__content {
    font-size: 14px;
    line-height: 1.45;
  }

  .sm-match-popup__button {
    align-self: center;
  }
}

.sm-global-popup {
  position: fixed;
  inset: 0;
  z-index: 1990;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s ease, visibility 0.38s ease;
}

.sm-global-popup.is-visible {
  visibility: visible;
  pointer-events: auto;
}

.sm-global-popup.is-active {
  opacity: 1;
}

.sm-global-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 13, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 0.38s ease;
}

.sm-global-popup.is-active .sm-global-popup__overlay {
  opacity: 1;
}

.sm-global-popup__dialog {
  position: relative;
  box-sizing: border-box;
  width: min(1320px, calc(100vw - 56px));
  height: min(650px, calc(100vh - 56px));
  margin: 0 auto;
  padding: 26px 38px 34px;
  border: 1.5px solid #69d25a;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(8, 15, 11, 0.92) 0%, rgba(16, 43, 22, 0.76) 52%, rgba(100, 189, 86, 0.56) 100%),
    radial-gradient(circle at 78% 18%, rgba(241, 192, 75, 0.2), transparent 20%),
    radial-gradient(circle at 12% 78%, rgba(84, 197, 70, 0.22), transparent 22%),
    #101813 var(--sm-global-popup-bg-desktop) center / cover no-repeat;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.34s ease;
}

.sm-global-popup__dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(13, 22, 16, 0.78) 8%, rgba(13, 22, 16, 0.14) 44%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

.sm-global-popup.is-active .sm-global-popup__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sm-global-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sm-global-popup__close:hover {
  opacity: 0.84;
  transform: scale(1.06);
}

.sm-global-popup__close img {
  width: 28px;
  height: 28px;
  display: block;
}

.sm-global-popup__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 64px 0 0;
}

.sm-global-popup__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 980px;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 86px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.sm-global-popup__title span{
  color: #59c53c;
}

.sm-global-popup__title > * {
  margin: 0;
}

.sm-global-popup__title strong,
.sm-global-popup__title b {
  font-weight: inherit;
}

.sm-global-popup__title-accent {
  display: block;
  color: #67cb57;
}

.sm-global-popup__title-main {
  display: block;
  color: #ffffff;
}

.sm-global-popup__content {
  max-width: 920px;
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.08;
}

.sm-global-popup__content br {
  display: block;
  content: "";
  margin-top: 0.18em;
}

.sm-global-popup__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: stretch;
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  padding: 12px 22px;
  border: 2px solid #f0c24b;
  border-radius: 7px;
  background: rgba(28, 30, 35, 0.96);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(89, 197, 60, 0.86);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.sm-global-popup__button:hover {
  background: rgba(35, 37, 42, 0.98);
  box-shadow: inset 0 0 0 1px rgba(119, 220, 93, 0.96), 0 10px 24px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transform: translateY(-1px);
}

.sm-global-popup__button img {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 991.98px) {
  .sm-global-popup {
    padding: 18px;
  }

  .sm-global-popup__dialog {
    width: min(720px, calc(100vw - 36px));
    height: min(362px, calc(100vh - 36px));
    padding: 18px 24px 22px;
    border-radius: 16px;
  }

  .sm-global-popup__panel {
    padding: 42px 0 0;
  }

  .sm-global-popup__title {
    max-width: 560px;
    font-size: clamp(28px, 5vw, 44px);
    line-height: 0.97;
  }

  .sm-global-popup__content {
    max-width: 620px;
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.22;
  }

  .sm-global-popup__button {
    width: 100%;
    min-height: 34px;
    margin-top: auto;
    padding: 8px 18px;
    font-size: 15px;
  }
}

@media (max-width: 575.98px) {
  .sm-global-popup {
    padding: 12px;
  }

  .sm-global-popup__dialog {
    width: min(345px, calc(100vw - 24px));
    height: min(345px, calc(100vh - 24px));
    padding: 14px 14px 16px;
    border-radius: 18px;
    background:
      linear-gradient(148deg, rgba(8, 15, 11, 0.92) 0%, rgba(18, 42, 22, 0.7) 60%, rgba(100, 189, 86, 0.52) 100%),
      radial-gradient(circle at 84% 18%, rgba(241, 192, 75, 0.22), transparent 18%),
      radial-gradient(circle at 14% 80%, rgba(84, 197, 70, 0.2), transparent 18%),
      #101813 var(--sm-global-popup-bg-mobile) center / cover no-repeat;
  }

  .sm-global-popup__close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  .sm-global-popup__close img {
    width: 24px;
    height: 24px;
  }

  .sm-global-popup__panel {
    padding: 28px 0 0;
  }

  .sm-global-popup__title {
    max-width: 100%;
    gap: 2px;
    font-size: clamp(24px, 9.1vw, 32px);
    line-height: 0.98;
  }

  .sm-global-popup__content {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.28;
    font-weight: 400;
  }

  .sm-global-popup__button {
    min-height: 30px;
    margin-top: auto;
    padding: 8px 16px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm-match-popup,
  .sm-match-popup__overlay,
  .sm-match-popup__dialog,
  .sm-match-popup__close,
  .sm-match-popup__button,
  .sm-global-popup,
  .sm-global-popup__overlay,
  .sm-global-popup__dialog,
  .sm-global-popup__close,
  .sm-global-popup__button {
    transition: none;
  }
}


.modal-btn-tg-link{
  display: inline-flex;
    gap: 10px;
    padding: 10px 22px 10px 14px;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(36, 15, 74, .18);
    user-select: none;
    cursor: pointer;
    white-space: nowrap;
      border: 0;
    align-items: center;
    border-radius: 999px;
    color: #fff;
    background: #1a8ec9;
    text-decoration: none;
}
.sm-translations__btn-ico {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #fff;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sm-translations__btn-ico svg path{
  fill: #1a8ec9
}