/* DemoWelvura: the name of the site in the header/footer (+ the winter logo with the garland) and the local Rubik font. */
@font-face{font-family:Rubik;src:url(/build/assets/Rubik-w28.woff) format("woff");font-style:normal;font-weight:300 900;font-display:swap}

/* winter logo: wordmark «DemoWelvura» + cookie and the garland stretched to the longer name */
html[data-season=winter] .app-header-brand__name,
html[data-season=winter] .app-header-brand.app-header-brand--compact .app-header-brand__name,
html[data-season=winter] .desktop-footer__logo>span{flex:0 0 calc(207.6px * var(--winter-logo-scale))!important;width:calc(207.6px * var(--winter-logo-scale))!important}
html[data-season=winter] .app-header-brand:before,html[data-season=winter] .app-header-brand:after,
html[data-season=winter] .desktop-footer__logo:before,html[data-season=winter] .desktop-footer__logo:after{width:calc(296.56px * var(--winter-logo-scale))!important}
html[data-season=winter] .app-header-brand:before,html[data-season=winter] .desktop-footer__logo:before{-webkit-mask-image:url(/img/wv-brand/winter-wordmark.svg)!important;mask-image:url(/img/wv-brand/winter-wordmark.svg)!important}
html[data-season=winter] .app-header-brand:after,html[data-season=winter] .desktop-footer__logo:after{background-image:url(/img/wv-brand/winter-art.svg)!important}
html[data-season=winter] .app-header-brand__name:after,html[data-season=winter] .desktop-footer__logo>span:after{display:none!important}
/* phone header: the longer name must not run into the balance */
html[data-season=winter] .app-header-brand--compact{--winter-logo-scale:.66!important}
html[data-season=winter] .app-header-brand.app-header-brand--compact .app-header-brand__name{display:block!important}
html[data-season=winter] .app-header-brand--compact:before{display:block!important}
html[data-season=winter] .app-header-brand--compact:after{background-image:url(/img/wv-brand/winter-art.svg)!important;width:calc(296.56px * var(--winter-logo-scale))!important;height:calc(76px * var(--winter-logo-scale))!important;left:calc(-14.1543px * var(--winter-logo-scale))!important;top:calc(var(--winter-logo-top) - 15.5696px * var(--winter-logo-scale))!important}
@media (max-width:360px){html[data-season=winter] .app-header-brand--compact{--winter-logo-scale:.56!important}}

/* without the season: plain text name, smaller on phones so it fits next to the balance */
.app-header-brand--compact .app-header-brand__name{font-size:19px}
@media (max-width:360px){.app-header-brand--compact .app-header-brand__name{font-size:16px}}

/* «Игры» dropdown on PC: their 7 modes + our 16 — three columns instead of one long list */
.header-games__panel{width:600px!important;height:auto!important;max-height:calc(100vh - 160px)!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:40px;gap:4px 6px!important;align-content:start;overflow-y:auto!important}
.header-games__link{min-height:40px!important}
.header-games__link img{border-radius:7px}

/* phone: the games row of the bottom bar scrolls sideways (23 modes) */
.mobile-bottom-navigation--games .mobile-bottom-navigation__content{overflow:hidden!important;min-width:0}
.mobile-bottom-navigation--games .mobile-bottom-navigation__bar{overflow-x:auto!important;overflow-y:hidden!important;justify-content:flex-start!important;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;padding-inline:6px!important}
.mobile-bottom-navigation--games .mobile-bottom-navigation__bar::-webkit-scrollbar{display:none}
.mobile-bottom-navigation--games .mobile-bottom-navigation__item{flex:0 0 62px!important;width:62px!important;min-width:62px!important;max-width:62px!important;padding-inline:0!important;scroll-snap-align:start}
.mobile-bottom-navigation--games .mobile-bottom-navigation__item span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:56px}

/* PC tabs: «Задания» and «Турниры» added — a bit tighter so everything fits in one row */
@media (min-width:1100px){.app-header-navigation:not(.app-header-navigation--compact) .app-header-navigation__items{gap:6px!important}}

/* «Розыгрыш стримера» banner of the real site (creates giveaways on their side) — not in the demo */
.layout-giveaway-create-banner{display:none!important}
/* laptops 1025–1280 px with the chat closed: an old !important rule of styles-v2.css («70px 1fr») squeezed the whole page into a 70 px column */
.mainBody.mainBody--compact{grid-template-columns:minmax(0,1fr)!important}
