/* Topic 94 final text-fit overrides: scoped to framed text/cards/buttons only. */
html body main.ioc-site section.ioc-latest-stage,
html body main.ioc-site section.ioc-news-stage {
  max-width: 100% !important;
  overflow-x: clip !important;
  height: auto !important;
  min-height: 0 !important;
}
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__heading {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  width: min(340px, calc(100vw - 56px)) !important;
  max-width: min(340px, calc(100vw - 56px)) !important;
  min-width: 0 !important;
  overflow: visible !important;
}
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__heading > * {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__ghost {
  font-size: clamp(34px, 6vw, 48px) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.07em !important;
  padding: 0 0 6px !important;
  margin: 0 !important;
  transform: none !important;
}
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__all-link {
  line-height: 1.5 !important;
  padding-block: 4px !important;
}
html body main.ioc-site .faces-athlete-card__content,
html body main.ioc-site .faces-athlete-card__content > * {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: clip !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  white-space: normal !important;
}
html body main.ioc-site .faces-athlete-card__content {
  padding-inline: 18px !important;
}
html body .mn-news-item__footer button.mn-news-item__read,
html body button.mn-news-item__read {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 104px !important;
  min-width: 104px !important;
  max-width: 104px !important;
  flex: 0 0 104px !important;
  padding: 10px 8px !important;
  overflow: visible !important;
  white-space: nowrap !important;
  line-height: 1.15 !important;
  font-size: 11px !important;
  letter-spacing: 0 !important;
}
html body button.mn-news-item__read i,
html body button.mn-news-item__read .fas {
  display: none !important;
}

/* Topic 94 final: neutralize legacy heading offsets that create scroll overflow. */
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__heading,
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__heading > *,
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__ghost,
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__heading p,
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__heading h2,
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__all-link {
  left: auto !important;
  right: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
  translate: none !important;
}
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__ghost {
  position: relative !important;
  inset: auto !important;
  white-space: normal !important;
  font-size: clamp(30px, 5.2vw, 42px) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.04em !important;
}
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__heading h2 {
  margin-top: 8px !important;
  font-size: clamp(34px, 4.2vw, 48px) !important;
  line-height: 1.05 !important;
}
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__all-link {
  margin-top: 8px !important;
}
html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__heading p {
  margin-top: 0 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

/* Topic 94 2026-08-24: keep the mobile shared header from widening the page. */
@media (max-width: 820px) {
  html body #headerContainer {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  html body #headerContainer .header {
    width: 100% !important;
    max-width: 100vw !important;
    min-height: 80px !important;
    overflow: hidden !important;
  }

  html body #headerContainer .header-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    grid-template-areas: "logo menu" !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 12px !important;
    overflow: hidden !important;
  }

  html body #headerContainer .logo {
    grid-area: logo !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  html body #headerContainer .logo-title,
  html body #headerContainer .logo-subtitle {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body #headerContainer .header-auth {
    display: none !important;
  }

  html body #headerContainer .header-center-stack,
  html body #headerContainer .header-nav-shell,
  html body #headerContainer .nav {
    display: none !important;
  }

  html body #headerContainer .header-menu-toggle {
    grid-area: menu !important;
    position: static !important;
    justify-self: end !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    transform: none !important;
    margin: 0 !important;
  }

  html body.mn-tournaments-page.messenger-page #headerContainer .header-container,
  html body.mn-tournaments-page #headerContainer .header-container,
  html body.mn-tournaments-page .header .header-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    grid-template-areas: "logo menu" !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 12px !important;
    overflow: hidden !important;
  }

  html body.mn-tournaments-page.messenger-page #headerContainer .header-auth,
  html body.mn-tournaments-page #headerContainer .header-auth,
  html body.mn-tournaments-page .header .header-auth {
    display: none !important;
  }

  html body.mn-tournaments-page #headerContainer .header-center-stack,
  html body.mn-tournaments-page #headerContainer .header-nav-shell,
  html body.mn-tournaments-page #headerContainer .nav,
  html body.mn-tournaments-page .header .header-center-stack,
  html body.mn-tournaments-page .header .header-nav-shell,
  html body.mn-tournaments-page .header .nav {
    display: none !important;
  }

  html body.mn-tournaments-page.messenger-page #headerContainer .header-menu-toggle,
  html body.mn-tournaments-page #headerContainer .header-menu-toggle,
  html body.mn-tournaments-page .header .header-menu-toggle {
    display: grid !important;
    grid-area: menu !important;
    position: static !important;
    justify-self: end !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
  }
}

/* Topic 94 2026-08-24: mobile visual audit fix for the homepage latest-news stage. */
@media (max-width: 640px) {
  html body.mn-tournaments-page {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
  }

  html body.mn-tournaments-page::before,
  html body.mn-tournaments-page::after,
  html body.mn-tournaments-page .topic94-tournament-side-ticker,
  html body.mn-tournaments-page .topic94-side-ticker {
    content: none !important;
    display: none !important;
  }

  html body.mn-tournaments-page .tournaments-grid > .tournament-card,
  html body.mn-tournaments-page .events-group--upcoming > .tournaments-grid > .tournament-card,
  html body.mn-tournaments-page .events-group--upcoming > .tournaments-grid > .tournament-card:first-child {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body.mn-tournaments-page .tournament-card .tournament-header,
  html body.mn-tournaments-page .tournament-card .tournament-header-info,
  html body.mn-tournaments-page .tournament-card .tournament-description,
  html body.mn-tournaments-page .tournament-card .participants-section,
  html body.mn-tournaments-page .tournament-card .friend-activity,
  html body.mn-tournaments-page .tournament-card .tournament-actions,
  html body.mn-tournaments-page .events-group--upcoming > .tournaments-grid > .tournament-card:first-child .tournament-header,
  html body.mn-tournaments-page .events-group--upcoming > .tournaments-grid > .tournament-card:first-child .tournament-header-info,
  html body.mn-tournaments-page .events-group--upcoming > .tournaments-grid > .tournament-card:first-child .tournament-description,
  html body.mn-tournaments-page .events-group--upcoming > .tournaments-grid > .tournament-card:first-child .participants-section,
  html body.mn-tournaments-page .events-group--upcoming > .tournaments-grid > .tournament-card:first-child .friend-activity,
  html body.mn-tournaments-page .events-group--upcoming > .tournaments-grid > .tournament-card:first-child .tournament-actions {
    grid-column: 1 / -1 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html body.mn-tournaments-page .tournament-card .tournament-header-info,
  html body.mn-tournaments-page .events-group--upcoming > .tournaments-grid > .tournament-card:first-child .tournament-header-info {
    padding: 18px 18px 12px !important;
    background: rgba(255,255,255,.92) !important;
  }

  html body.mn-tournaments-page .tournament-card .tournament-header-info h3,
  html body.mn-tournaments-page .events-group--upcoming > .tournaments-grid > .tournament-card:first-child .tournament-header-info h3 {
    max-width: 100% !important;
    font-size: clamp(24px, 8vw, 32px) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto !important;
  }

  html body.mn-tournaments-page .tournament-card .tournament-description,
  html body.mn-tournaments-page .events-group--upcoming > .tournaments-grid > .tournament-card:first-child .tournament-description {
    padding: 14px 18px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    background: rgba(255,255,255,.94) !important;
    overflow-wrap: anywhere !important;
  }

  html body.mn-tournaments-page .tournament-card .tournament-actions {
    padding: 0 18px 18px !important;
    gap: 10px !important;
  }

  html body main.ioc-site section.ioc-latest-stage {
    padding: 42px 16px 34px !important;
    overflow: hidden !important;
  }

  html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__heading {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 22px !important;
    gap: 6px !important;
  }

  html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__heading::before {
    content: none !important;
    display: none !important;
  }

  html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__all-link {
    display: inline-flex !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__ghost {
    position: static !important;
    color: #9aa3ad !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    opacity: .9 !important;
    white-space: nowrap !important;
  }

  html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__heading p {
    display: none !important;
  }

  html body main.ioc-site section.ioc-latest-stage .ioc-latest-stage__heading h2 {
    margin: 6px 0 0 !important;
    font-size: clamp(34px, 12vw, 48px) !important;
    line-height: .98 !important;
    letter-spacing: 0 !important;
  }

  html body main.ioc-site section.ioc-latest-stage .ioc-news-strip-track {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  html body main.ioc-site section.ioc-latest-stage .ioc-latest-news-card {
    display: grid !important;
    grid-template-rows: auto auto !important;
    min-height: 0 !important;
    border: 1px solid rgba(15,23,42,.14) !important;
    background: #fff !important;
  }

  html body main.ioc-site section.ioc-latest-stage .ioc-latest-news-thumb {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
  }

  html body main.ioc-site section.ioc-latest-stage .ioc-latest-news-body {
    padding: 16px !important;
  }

  html body main.ioc-site section.ioc-latest-stage .ioc-latest-news-body h3 {
    font-size: clamp(24px, 8vw, 34px) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
  }
}

/* Topic 94 2026-09-09: production visual/UX guard for readable controls.
   Keeps the existing design, but prevents white-on-white hover states,
   tiny tap targets, invisible menu icons, and under-sized carousel controls. */
html body :is(a, button, .btn, .button, [role="button"], input, select, textarea) {
  -webkit-tap-highlight-color: rgba(21, 72, 184, 0.18) !important;
}

html body :is(button, .btn, .button, [role="button"], .filter-btn, .tab-btn, .mn-filter, .page-btn, .photobank-tab, .contacts-topic-btn, .document-download, .news-read-more) {
  min-height: 40px !important;
  color: #050605 !important;
  text-shadow: none !important;
}

html body :is(button, .btn, .button, [role="button"], .filter-btn, .tab-btn, .mn-filter, .page-btn, .photobank-tab, .contacts-topic-btn, .document-download, .news-read-more):where(:hover, :focus-visible) {
  color: #ffffff !important;
  background-color: #071321 !important;
  border-color: #071321 !important;
  box-shadow: 0 0 0 3px rgba(21, 72, 184, 0.22) !important;
  outline: none !important;
}

html body :is(.btn-primary, .btn.active, .btn.is-active, .filter-btn.active, .filter-btn.is-active, .tab-btn.active, .tab-btn.is-active, .mn-filter.active, .mn-filter.is-active, .page-btn.active, .photobank-tab.active, .document-download, .news-read-more) {
  color: #ffffff !important;
  background-color: #071321 !important;
  border-color: #071321 !important;
}

html body :is(.btn-primary, .btn.active, .btn.is-active, .filter-btn.active, .filter-btn.is-active, .tab-btn.active, .tab-btn.is-active, .mn-filter.active, .mn-filter.is-active, .page-btn.active, .photobank-tab.active, .document-download, .news-read-more):where(:hover, :focus-visible) {
  color: #ffffff !important;
  background-color: #1548b8 !important;
  border-color: #1548b8 !important;
}

html body #headerContainer .header-menu-toggle,
html body .header .header-menu-toggle {
  color: #050605 !important;
  background: #ffffff !important;
  border-color: rgba(5, 6, 5, 0.22) !important;
  min-width: 48px !important;
  min-height: 48px !important;
}
html body #headerContainer .header-menu-toggle :is(i, svg, span),
html body .header .header-menu-toggle :is(i, svg, span),
html body #headerContainer .header-menu-toggle .hamburger-line,
html body .header .header-menu-toggle .hamburger-line {
  color: #050605 !important;
  background-color: #050605 !important;
  border-color: #050605 !important;
}
html body #headerContainer .header-menu-toggle:where(:hover, :focus-visible),
html body .header .header-menu-toggle:where(:hover, :focus-visible) {
  color: #ffffff !important;
  background: #071321 !important;
}
html body #headerContainer .header-menu-toggle:where(:hover, :focus-visible) :is(i, svg, span),
html body .header .header-menu-toggle:where(:hover, :focus-visible) :is(i, svg, span),
html body #headerContainer .header-menu-toggle:where(:hover, :focus-visible) .hamburger-line,
html body .header .header-menu-toggle:where(:hover, :focus-visible) .hamburger-line {
  color: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}

html body :is(.ioc-news-pause, .carousel-pause, .slider-pause) {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  background: #ffffff !important;
  color: #050605 !important;
  border: 1px solid rgba(5, 6, 5, 0.22) !important;
}
html body :is(.ioc-news-dots, .dots, .pagination-dots) > button,
html body :is(.ioc-news-dot, .slider-dot, .carousel-dot) {
  min-width: 36px !important;
  min-height: 36px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid rgba(5, 6, 5, 0.22) !important;
  color: #050605 !important;
  position: relative !important;
}
html body :is(.ioc-news-dots, .dots, .pagination-dots) > button::after,
html body :is(.ioc-news-dot, .slider-dot, .carousel-dot)::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  margin: auto;
}
html body :is(.ioc-news-dots, .dots, .pagination-dots) > button:where(.is-active, .active),
html body :is(.ioc-news-dot, .slider-dot, .carousel-dot):where(.is-active, .active) {
  background: #071321 !important;
  color: #ffffff !important;
}

html body :is(.modal-close, .close, .btn-close, [aria-label*="Закры"], [aria-label*="закры"], [aria-label*="Close"], [aria-label*="close"]) {
  min-width: 44px !important;
  min-height: 44px !important;
  color: #050605 !important;
  background: #ffffff !important;
  border: 1px solid rgba(5, 6, 5, 0.22) !important;
}
html body :is(.modal-close, .close, .btn-close, [aria-label*="Закры"], [aria-label*="закры"], [aria-label*="Close"], [aria-label*="close"]):where(:hover, :focus-visible) {
  color: #ffffff !important;
  background: #b42318 !important;
  border-color: #b42318 !important;
}

html body :is(.footer a, #footerContainer a, .footer-socials a, .footer-bottom-links a, .auth-page a, .login-page a, .register-page a, .social-login a, .social-auth a) {
  min-height: 36px !important;
  color: inherit;
}
html body :is(.auth-page .social-login a, .auth-page .social-auth a, .login-page .social-login a, .register-page .social-login a, .footer-socials a, #footerContainer .footer-socials a) {
  color: #ffffff !important;
  background: #071321 !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
}
html body :is(.auth-page .social-login a, .auth-page .social-auth a, .login-page .social-login a, .register-page .social-login a, .footer-socials a, #footerContainer .footer-socials a):where(:hover, :focus-visible) {
  color: #071321 !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
}

@media (max-width: 720px) {
  html body :is(.mn-filter, .filter-btn, .tab-btn, .photobank-tab, .page-btn) {
    min-height: 44px !important;
    padding-block: 10px !important;
  }
  html body :is(a, button, .btn, .button, [role="button"]) {
    touch-action: manipulation;
  }
}

/* Topic 94 2026-09-09 button audit: keep IOC CTA links large enough to tap/read. */
html body main.ioc-site a.ioc-button,
html body main.ioc-site button.ioc-button,
html body a.ioc-button,
html body button.ioc-button {
  box-sizing: border-box !important;
  min-height: 40px !important;
  padding: 10px 18px !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Topic 94 2026-09-10: neural light burst for button clicks. */
.fmr-neural-burst {
  position: fixed;
  width: 1px;
  height: 1px;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 2147483000;
  contain: layout style paint;
}

.fmr-neural-burst::before,
.fmr-neural-burst::after {
  content: '';
  position: absolute;
  width: 58px;
  height: 2px;
  top: -1px;
  border-radius: 999px;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(184, 154, 94, .62));
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,236,177,.98), rgba(93,213,255,.76), rgba(255,255,255,0));
  animation: fmr-neural-ray 620ms cubic-bezier(.16, 1, .3, 1) forwards;
}

.fmr-neural-burst::before {
  right: 7px;
  transform-origin: right center;
  --fmr-ray-dir: -1;
}

.fmr-neural-burst::after {
  left: 7px;
  transform-origin: left center;
  --fmr-ray-dir: 1;
}

.fmr-neural-burst__particle {
  position: absolute;
  width: var(--fmr-burst-size, 4px);
  height: var(--fmr-burst-size, 4px);
  margin-left: calc(var(--fmr-burst-size, 4px) / -2);
  margin-top: calc(var(--fmr-burst-size, 4px) / -2);
  border-radius: 999px;
  opacity: 0;
  background:
    radial-gradient(circle, #fff 0 18%, #fff4be 19% 48%, rgba(87, 210, 255, .92) 49% 72%, rgba(87, 210, 255, 0) 73%);
  box-shadow:
    0 0 10px rgba(255, 236, 177, .96),
    0 0 22px rgba(79, 205, 255, .58),
    0 0 34px rgba(184, 154, 94, .36);
  animation: fmr-neural-particle 720ms cubic-bezier(.16, 1, .3, 1) var(--fmr-burst-delay, 0ms) forwards;
}

.fmr-neural-pressed {
  animation: fmr-neural-button-press 360ms cubic-bezier(.16, 1, .3, 1);
}

@keyframes fmr-neural-particle {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(.45);
  }
  16% {
    opacity: .98;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--fmr-burst-x, 70px) + var(--fmr-burst-drift, 0px)), var(--fmr-burst-y, -20px), 0) scale(.12);
  }
}

@keyframes fmr-neural-ray {
  0% {
    opacity: 0;
    transform: translateX(0) scaleX(.2);
  }
  22% {
    opacity: .92;
  }
  100% {
    opacity: 0;
    transform: translateX(calc(var(--fmr-ray-dir, 1) * 74px)) scaleX(1.18);
  }
}

@keyframes fmr-neural-button-press {
  0% { transform: translateY(0) scale(1); }
  36% { transform: translateY(1px) scale(.985); filter: brightness(1.08) saturate(1.08); }
  100% { transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .fmr-neural-burst,
  .fmr-neural-burst__particle {
    animation: none !important;
    display: none !important;
  }
  .fmr-neural-pressed {
    animation: none !important;
  }
}


/* Topic 94 2026-09-10 QA pass: login validation, mobile pagination/menu/cookie polish. */
html body .fmr-auth-inline-error {
  margin: 0 0 14px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(185, 28, 28, .28) !important;
  border-left: 4px solid #B91C1C !important;
  border-radius: 12px !important;
  background: #FEF2F2 !important;
  color: #7F1D1D !important;
  font: 700 14px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

html body :is(.page-btn, .pagination button, .mn-news-pagination button, .pagination-btn),
html body :is(.ioc-news-dots, .dots, .pagination-dots) > button,
html body :is(.carousel-arrow, .slider-arrow, [aria-label^="Показать новость"]) {
  min-width: 44px !important;
  min-height: 44px !important;
}

html body :is(.pagination, .mn-news-pagination, #pagination, #newsPagination, .news-pagination) {
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  padding-inline: 8px !important;
  overflow: visible !important;
  transform: none !important;
  translate: none !important;
}

@media (max-width: 640px) {
  html body :is(.pagination, .mn-news-pagination, #pagination, #newsPagination, .news-pagination) {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-padding-inline: 12px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  html body :is(.pagination, .mn-news-pagination, #pagination, #newsPagination, .news-pagination) > * {
    flex: 0 0 auto !important;
  }

  html body .cookie-banner,
  html body #cookieBanner {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    max-height: 34vh !important;
    overflow: auto !important;
    border-radius: 16px !important;
  }

  html body :is(.cookie-banner-content, .cookie-content) {
    gap: 8px !important;
    padding: 12px !important;
  }

  html body :is(.cookie-banner-text p, .cookie-text p) {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  html body :is(.cookie-banner-buttons, .cookie-actions) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  html body :is(.cookie-banner-buttons button, .cookie-actions button) {
    min-height: 40px !important;
    padding: 9px 11px !important;
    font-size: 11px !important;
    flex: 1 1 135px !important;
  }

  html body #headerContainer .header-container.menu-open .header-menu-toggle,
  html body .header .header-container.menu-open .header-menu-toggle {
    background: #111827 !important;
    color: #fff !important;
    border-color: #111827 !important;
  }
}


/* Topic 94 2026-09-10 QA follow-up: keep news pagination visible on mobile, not off-canvas. */
@media (max-width: 640px) {
  html body :is(.pagination, .mn-news-pagination, #pagination, #newsPagination, .news-pagination) {
    flex-wrap: wrap !important;
    justify-content: center !important;
    overflow-x: visible !important;
  }

  html body :is(.pagination, .mn-news-pagination, #pagination, #newsPagination, .news-pagination) > :is(button, .page-btn, a) {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    padding-inline: 0 !important;
  }
}
