/* One frame for every website page (owner 2026-11-14: "visas lapas vienādas malu izmēros no visām pusēm kā Kripto"):
   the home page uses the same side gaps as Crypto / CFD / every content page, and every page starts the same distance
   below the navigation. Website and Windows / Mac app only — the phone app (html.is-app) is untouched. */
@media (min-width:861px){
 /* Content pages draw main at zoom .86: min(100vw/.86 − 44px, 1300px) × .86 = min(100% − 38px, 1118px) on screen. */
 html:not(.is-app):not(#m1y) body.home-page .cz-home2{width:min(calc(100% - 38px),1118px)!important;margin-left:auto!important;margin-right:auto!important}
 html:not(.is-app):not(#m1y) body.cosmos:not(.home-page):not(.app-home):not(.control-page)>main{padding-top:44px!important}
 html:not(.is-app):not(#m1y) body.home-page>main{padding-top:38px!important}
 /* Crypto / CFD already have the date line above main (26 px); legal's hero has its own 11 px. */
 html:not(.is-app):not(#m1y) body.cosmos.services-page:not(.home-page):not(.app-home):not(.control-page)>main{padding-top:14px!important}
 html:not(.is-app):not(#m1y) body.cosmos:not(.home-page):not(.app-home):not(.control-page)>main.legal-page{padding-top:31px!important}
}
@media (max-width:860px){
 html:not(.is-app):not(#m1y) body.home-page .cz-home2{width:min(calc(100% - 44px),1300px)!important;margin-left:auto!important;margin-right:auto!important}
 html:not(.is-app):not(#m1y) body.cosmos:not(.app-home):not(.control-page)>main{padding-top:40px!important}
 html:not(.is-app):not(#m1y) body.cosmos.services-page:not(.app-home):not(.control-page)>main{padding-top:14px!important}
 html:not(.is-app):not(#m1y) body.cosmos:not(.app-home):not(.control-page)>main.legal-page{padding-top:27px!important}
 html:not(.is-app):not(#m1y) body.home-page>main>*{width:min(calc(100% - 44px),1300px)!important;margin-left:auto!important;margin-right:auto!important}
}
html:not(.is-app):not(#m1y) body.cosmos:not(.app-home):not(.control-page)>main>:not(.sr-only):not(.noise):not(script):not(style){margin-top:0!important}
