/* Static multilingual routing and blog additions. */
header nav{min-width:0}
header nav>a{flex:0 1 auto}
header nav [data-static-blog-link="true"]{white-space:nowrap}
header nav+div{position:relative;z-index:2;flex-shrink:0}
.static-app-header{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(2,11,22,.98)!important;
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
}
body[data-static-page="app"] main>div{
  opacity:1!important;
  transform:none!important;
}
body[data-static-page] main[style*="opacity: 0"],
body[data-static-page] main [style*="opacity: 0"]{
  opacity:1!important;
  transform:none!important;
}
body[data-static-page="faq"] main .overflow-hidden[style*="height"]{
  height:auto!important;
}
.static-app-header-shell{
  width:min(96rem,100%);
  min-height:5rem;
  margin:0 auto;
  padding:.75rem 1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.static-app-header-shell>a{
  flex:0 0 auto;
}
.static-app-primary-nav{
  flex:1 1 auto;
  min-width:0;
  align-items:center;
  justify-content:center;
  gap:.125rem;
}
.static-app-header-controls{
  position:relative;
  z-index:72;
  display:flex!important;
  align-items:center;
  gap:.375rem;
  flex:0 0 auto;
}
.static-app-language-menu{
  position:absolute;
  top:calc(100% + .5rem);
  right:0;
  z-index:90;
  width:min(24rem,calc(100vw - 2rem));
  max-height:min(70vh,34rem);
  overflow-y:auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.25rem;
  padding:.6rem;
  border:1px solid rgba(255,255,255,.14);
  border-radius:1rem;
  background:#071321;
  box-shadow:0 22px 60px rgba(0,0,0,.6);
}
.static-app-language-menu[hidden]{display:none!important}
.static-app-language-menu>a{
  min-width:0;
  min-height:42px;
  display:flex;
  align-items:center;
  gap:.6rem;
  padding:.6rem .7rem;
  border-radius:.65rem;
  color:#9aa9bb;
  font-size:.82rem;
  text-decoration:none;
}
.static-app-language-menu>a:hover,
.static-app-language-menu>a[aria-current="true"]{
  color:#fff;
  background:rgba(77,166,255,.14);
}
.static-app-language-menu img{flex:0 0 auto;border-radius:2px}
.static-app-language-menu span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.static-article__editorial section{margin:0 0 2.25rem}
.static-article__editorial h2{margin:0 0 .9rem;font-size:clamp(1.45rem,3vw,2rem);line-height:1.25}
.static-article__editorial p{margin:.8rem 0;color:hsl(var(--muted-foreground));font-size:1.02rem;line-height:1.85}
.static-blog-main{min-height:100vh;padding:7rem 1.25rem 5rem}
.static-blog-shell{width:min(1120px,100%);margin:0 auto}
.static-blog-kicker{color:hsl(var(--primary));font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.static-blog-title{margin:.8rem 0 1rem;font-size:clamp(2.4rem,6vw,4.8rem);line-height:1.05}
.static-blog-lead{max-width:48rem;color:hsl(var(--muted-foreground));font-size:1.1rem;line-height:1.75}
.static-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:3rem}
.static-blog-card{display:flex;min-width:0;flex-direction:column;padding:1.5rem;border:1px solid hsl(var(--border));border-radius:1.25rem;background:hsl(var(--card));box-shadow:0 18px 50px rgba(0,0,0,.12)}
.static-blog-card time{color:hsl(var(--muted-foreground));font-size:.8rem}
.static-blog-card h2{margin:1rem 0 .75rem;font-size:1.35rem;line-height:1.25}
.static-blog-card p{flex:1;color:hsl(var(--muted-foreground));line-height:1.7}
.static-blog-card a{display:inline-flex;margin-top:1rem;color:hsl(var(--primary));font-weight:800;text-decoration:none}
.static-article{max-width:860px;margin:0 auto}
.static-article__back{display:inline-flex;margin-bottom:1.5rem;color:hsl(var(--primary));font-weight:800;text-decoration:none}
.static-article header{margin-bottom:2.5rem}
.static-article h1{font-size:clamp(2.25rem,5vw,4.25rem);line-height:1.08}
.static-article__description{font-size:1.1rem;line-height:1.75;color:hsl(var(--muted-foreground))}
.static-article__source{line-height:1.75}
.static-article__source>section:first-child{padding-top:0}
html[dir="rtl"] .static-blog-main,html[dir="rtl"] .static-article{text-align:right}
html[dir="rtl"] [data-static-number],html[dir="rtl"] .tabular-nums{direction:ltr;unicode-bidi:isolate}
@media (min-width:1280px){
  header>div.max-w-7xl{max-width:96rem}
}
@media (min-width:1024px){
  body[data-static-page="app"] #root>div>header+div{
    height:min(56.28vw,70vh)!important;
    min-height:26rem;
    background:#071321;
  }
  body[data-static-page="app"] #root>div>header+div>img:first-child{
    object-fit:contain!important;
    object-position:center!important;
  }
}
@media (min-width:768px){
  header a[href="https://service.m1900.com/telegram"],
  header a[href="https://service.m1900.com/messenger"]{display:none!important}
}
@media (min-width:1024px) and (max-width:1440px){
  header nav{gap:.15rem!important}
  header nav>a{padding-left:.38rem!important;padding-right:.38rem!important;font-size:.68rem!important}
  .static-app-header-shell{gap:.45rem;padding-left:.75rem;padding-right:.75rem}
  .static-app-primary-nav{gap:0!important}
  .static-app-primary-nav>a{padding-left:.32rem!important;padding-right:.32rem!important;font-size:.66rem!important}
}
@media (min-width:1024px) and (max-width:1151px){
  header>div.max-w-7xl>div>a>span{display:none!important}
  header nav+div>a[href*="/login"]{display:none!important}
  header nav+div .relative button span{display:none!important}
  header nav+div{gap:.2rem!important}
  .static-app-header-shell>a>span{display:none!important}
  .static-app-header-controls button span{display:none!important}
}
@media (max-width:900px){
  .static-blog-grid{grid-template-columns:1fr}
  .static-blog-main{padding-top:6rem}
}
@media (max-width:1023px){
  header{
    isolation:isolate;
  }
  header>div:first-child a[href*="/register"]{
    display:none!important;
  }
  .static-app-header{
    position:sticky!important;
    overflow:visible!important;
    background:#020b16!important;
  }
  .static-app-header-shell{
    min-height:4rem;
    padding:.65rem 1rem;
    gap:.75rem;
  }
  .static-app-language-menu{
    position:fixed;
    top:4.25rem;
    left:1rem;
    right:1rem;
    width:auto;
    max-height:calc(100vh - 5.25rem);
  }
  .static-app-header-shell>a{
    min-width:0;
  }
  header>div.lg\:hidden.border-t,
  .static-mobile-drawer{
    position:absolute!important;
    top:100%;
    left:0;
    right:0;
    z-index:70!important;
    width:100%;
    max-height:calc(100vh - 4rem);
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    background:#020b16!important;
    border-top:1px solid rgba(255,255,255,.1)!important;
    box-shadow:0 20px 45px rgba(0,0,0,.55);
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    pointer-events:auto!important;
  }
  .static-mobile-drawer[hidden]{
    display:none!important;
  }
  .static-mobile-drawer__shell{
    display:grid;
    gap:.25rem;
    padding:.75rem 1rem 1rem;
  }
  .static-mobile-drawer__shell>a,
  header>div.lg\:hidden.border-t a{
    position:relative;
    z-index:1;
    min-height:44px;
    pointer-events:auto!important;
    touch-action:manipulation;
  }
  .static-mobile-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:.75rem;
    margin-top:.75rem;
    padding-top:.75rem;
    border-top:1px solid rgba(255,255,255,.1);
  }
  .static-mobile-actions>a{
    position:relative;
    z-index:2;
    min-width:0;
    min-height:46px;
    display:flex!important;
    align-items:center;
    justify-content:center;
    gap:.4rem;
    margin:0!important;
    padding:.7rem .65rem!important;
    border-radius:.75rem;
    font-size:.875rem!important;
    font-weight:800!important;
    line-height:1.2;
    text-align:center;
    text-decoration:none;
    white-space:normal!important;
    pointer-events:auto!important;
    touch-action:manipulation;
  }
  [data-static-mobile-action="app"]{
    color:#8cc8ff!important;
    background:rgba(30,95,168,.35)!important;
    border:1px solid rgba(77,166,255,.5)!important;
    box-shadow:none!important;
  }
  [data-static-mobile-action="register"]{
    color:#fff!important;
    background:linear-gradient(135deg,#1e5fa8,#4da6ff)!important;
    border:1px solid rgba(77,166,255,.75)!important;
    box-shadow:0 5px 18px rgba(77,166,255,.22);
  }
  header>div.lg\:hidden.border-t .pt-3.border-t{display:none!important}
  header>div.lg\:hidden.border-t [data-static-mobile-blog-link="true"]{
    display:flex;
    align-items:center;
    gap:.5rem;
    padding:.625rem 1rem;
    border-radius:.5rem;
    font-size:.875rem;
    font-weight:600;
    color:hsl(var(--muted-foreground));
    text-decoration:none;
  }
  header>div.lg\:hidden.border-t [data-static-mobile-blog-link="true"]:hover{
    color:hsl(var(--foreground));
    background:rgba(255,255,255,.05);
  }
}
