/* Shared mobile layout fixes. Desktop styles stay unchanged above 640px. */
@media (max-width:640px){
  html,body{overflow-x:hidden}
  body > canvas[aria-hidden="true"]{opacity:.22!important}
  div[lang="ru"] > div:first-child{flex-direction:column;align-items:flex-start;gap:4px;font-size:10px!important;letter-spacing:.08em!important}
  div[lang="ru"] > header{align-items:center;gap:10px!important;padding:12px 16px!important}
  div[lang="ru"] > header > a:first-child img{height:48px!important}
  div[lang="ru"] > header > a:last-child{font-size:11px!important;padding:10px 14px!important;white-space:nowrap}
  div[lang="ru"] > header > nav{order:3;flex:1 0 100%;flex-wrap:nowrap!important;gap:18px!important;overflow-x:auto;padding:2px 0 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  div[lang="ru"] > header > nav::-webkit-scrollbar{display:none}
  div[lang="ru"] > header > nav a{flex:0 0 auto;white-space:nowrap;font-size:11px!important}
  .hero-side-label{display:none!important}
  #top > div:nth-of-type(3){padding:16px!important}
  #top > div:nth-of-type(3) > div:nth-child(2){font-size:clamp(80px,30vw,120px)!important}
  #top > div:nth-of-type(3) > div:nth-child(3){font-size:clamp(58px,22vw,88px)!important}
  #top > div:nth-of-type(3) a{margin-top:24px!important;padding:13px 18px!important;font-size:12px!important}
}
