/* CODEX Lwin9 mobile fidelity overrides — 2026-07-18 */
button.footer-heading {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

@media (min-width: 768px) {
  .site-footer .footer-col > ul {
    max-height: none !important;
    overflow: visible !important;
  }

  .site-footer .footer-heading {
    min-height: 28px !important;
  }

  .site-footer .footer-contact-list a,
  .site-footer .footer-links-list a {
    display: inline-flex !important;
    min-height: 24px !important;
    align-items: center !important;
  }
}

@media (max-width: 767px) {
  header.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9998 !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .42) !important;
  }

  #page.site {
    padding-top: 101px !important;
  }

  header.site-header .header-inner {
    background: #1e1e1e !important;
  }

  .auth-bottom-mobile {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    pointer-events: auto !important;
  }

  .site-footer {
    padding-bottom: 0 !important;
  }

  .footer-dark .x-site-lang-section {
    display: flex !important;
    width: 100% !important;
    margin: 0 0 36px !important;
    padding: 0 !important;
    justify-content: stretch !important;
    align-items: center !important;
  }

  .footer-dark .x-site-lang-trigger {
    display: flex !important;
    width: 172px !important;
    max-width: 172px !important;
    min-height: 40px !important;
    margin: 0 auto !important;
    padding: 6px 12px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: 2px solid #4a79ff !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, .08) !important;
    color: #fff !important;
    font: 700 15px/1.15 inherit !important;
    letter-spacing: .01em !important;
    cursor: pointer !important;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .28) !important;
  }

  .footer-dark .x-site-lang-trigger:active {
    transform: translateY(1px) !important;
  }

  .footer-dark .x-site-lang-flag {
    font-size: 19px !important;
    line-height: 1 !important;
  }

  .get-bonus {
    pointer-events: none !important;
  }

  .get-bonus .gb-action-wrapper {
    left: 8px !important;
    right: auto !important;
    bottom: 82px !important;
    width: 96px !important;
    height: 96px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .get-bonus .gb-trigger,
  .get-bonus .gb-trigger__gif {
    width: 96px !important;
    height: 96px !important;
  }

  .get-bonus .gb-overlay:not([hidden]) {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .faq-answer {
    display: block !important;
    height: auto !important;
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    transition: max-height .38s ease, opacity .24s ease, padding .38s ease !important;
  }

  .faq-item.is-open .faq-answer {
    height: auto !important;
    max-height: 640px !important;
    opacity: 1 !important;
    padding: 16px 16px 18px !important;
  }

  .faq-item.is-open {
    height: auto !important;
    min-height: 50px !important;
    overflow: visible !important;
    transform: none !important;
  }

  .faq-item.is-open .faq-icon {
    transform: rotate(45deg) !important;
    transition: transform .25s ease !important;
  }

  .footer-col > ul {
    overflow: hidden !important;
    transition: max-height .38s ease !important;
  }

  .footer-heading[aria-expanded="true"]::after {
    transform: rotate(90deg) !important;
  }
}

/* CLAUDE 2026-10-21: V34 — родная нижняя панель сайта (div.auth-bottom-mobile) прилипает к низу экрана и оставляет пустое место 231 px в конце страницы; по ТЗ доводки скрыта целиком. */
div.auth-bottom-mobile,
div.auth-bottom-mobile.is-visible {
  display: none !important;
}

/* CLAUDE 2026-10-21: резерв 75 px под скрытую нижнюю панель сайта снят: под концом страницы остаётся только распорка липкого меню. */
@media (max-width: 767px) {
  body {
    padding-bottom: 0 !important;
  }
}
