html {
  overflow-x: hidden;
}

@media (max-width: 767px) {
 .footer-container[data-v-905ccb37] {
    align-items: unset !important;
 }
  /* ── Jackpot ─────────────────────────────────────────── */
  .jackpot__wrapper-desktop {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .jackpot__wrapper-desktop-left,
  .jackpot__wrapper-desktop-right {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Games grid: ограничим высоту и дадим скролл */
  .jackpot__games {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: auto !important;
    height: auto !important;
    max-height: 380px !important;
    overflow-y: auto !important;
    gap: 8px !important;
  }

  /* Каждая игра в jackpot */
  .jackpot__games .jackpot-game,
  .jackpot__games [class*="jackpot-game"],
  .jackpot__games > * {
    width: 100% !important;
    height: auto !important;
  }

  /* ── Footer ──────────────────────────────────────────── */
  .footer-container--desktopWithProviders {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    gap: 16px !important;
  }

  .footer-container--desktopWithProviders .item.menu {
    height: auto !important;
  }

  .footer-container--desktopWithProviders .menu-container {
    width: 100% !important;
    height: auto !important;
  }

  .footer-container--desktopWithProviders .menu-container__item {
    display: block !important;
    height: auto !important;
    columns: unset !important;
  }

  .footer-container--desktopWithProviders .menu-container__item__title {
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 8px !important;
    user-select: none !important;
  }

  .footer-container--desktopWithProviders .menu-container__item__title::after {
    content: '▾';
    font-size: 16px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  .footer-container--desktopWithProviders .menu-container__item.accordion-open .menu-container__item__title::after {
    transform: rotate(180deg);
  }

  .footer-container--desktopWithProviders .menu-container__item a.menu-container__item__text {
    display: block !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transition: max-height 0.25s ease, opacity 0.2s ease !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .footer-container--desktopWithProviders .menu-container__item.accordion-open a.menu-container__item__text {
    max-height: 60px !important;
    opacity: 1 !important;
    padding-top: 6px !important;
    padding-bottom: 2px !important;
  }

}

/* ── Header-bottom responsive ────────────────────────── */

/* Tablet: hide main category nav, keep Акции/Турниры + Вход/Регистрация */
@media (max-width: 1199px) {
  .header {
    padding-top: 6px  !important;
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 16px !important;
  }
  .mid-menu--wrapper {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }
  .collapse-menu.--main {
    display: none !important;
  }
  .header-bottom__container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* Compact: logo + burger only, hide Акции/Турниры + auth buttons */
@media (max-width: 1023px) {
    .header {
        justify-content: space-between !important;
        width: 100% !important;
    }
  .full-menu__left {
    display: none !important;
  }
  .burger.ol-cursor-pointer {
    display: none !important;
  }
  .header-bottom__container .logo {
    display: none !important;
  }
}

/* Mobile: nothing fits → hide entire header-bottom */
@media (max-width: 719px) {
  .header-bottom {
    display: none !important;
  }
}