/* HF20 WALL RIOT — layered hand-ink collages, light public theme only. */
html:root[data-theme="light"][data-vega-accent] body:has(#main){--hf20-l:url(../assets/images/underground/hf20/home-left.webp);--hf20-r:url(../assets/images/underground/hf20/home-right.webp);}
html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .mc173-head){--hf20-l:url(../assets/images/underground/hf20/matches-left.webp);--hf20-r:url(../assets/images/underground/hf20/matches-right.webp);}
html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .team-grid):not(:has(#main .hero-carousel)){--hf20-l:url(../assets/images/underground/hf20/teams-left.webp);--hf20-r:url(../assets/images/underground/hf20/teams-right.webp);}
html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .news-page-list){--hf20-l:url(../assets/images/underground/hf20/news-left.webp);--hf20-r:url(../assets/images/underground/hf20/news-right.webp);}
html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .media-grid){--hf20-l:url(../assets/images/underground/hf20/media-left.webp);--hf20-r:url(../assets/images/underground/hf20/media-right.webp);}
html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .history-timeline){--hf20-l:url(../assets/images/underground/hf20/history-left.webp);--hf20-r:url(../assets/images/underground/hf20/history-right.webp);}
html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .vk-club-article){--hf20-l:url(../assets/images/underground/hf20/school-left.webp);--hf20-r:url(../assets/images/underground/hf20/school-right.webp);}
html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .calendar-v2-heading,#main .calendar-page){--hf20-l:url(../assets/images/underground/hf20/calendar-left.webp);--hf20-r:url(../assets/images/underground/hf20/calendar-right.webp);}
html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .vega-contacts-showcase){--hf20-l:url(../assets/images/underground/hf20/contacts-left.webp);--hf20-r:url(../assets/images/underground/hf20/contacts-right.webp);}
html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .players-grid){--hf20-l:url(../assets/images/underground/hf20/players-left.webp);--hf20-r:url(../assets/images/underground/hf20/players-right.webp);}
html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .media-grid a.media-card){--hf20-l:url(../assets/images/underground/hf20/media-left.webp);--hf20-r:url(../assets/images/underground/hf20/media-right.webp);}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="gold"]{--hf20-hue:28deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="blue"]{--hf20-hue:0deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="red"]{--hf20-hue:135deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="pink"]{--hf20-hue:105deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="violet"]{--hf20-hue:52deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="green"]{--hf20-hue:-88deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="cyan"]{--hf20-hue:-35deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="milk"]{--hf20-hue:0deg;--hf20-sat:.45;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="orange"]{--hf20-hue:155deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="lime"]{--hf20-hue:-115deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="teal"]{--hf20-hue:-58deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="indigo"]{--hf20-hue:25deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="coral"]{--hf20-hue:145deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="amber"]{--hf20-hue:170deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="emerald"]{--hf20-hue:-75deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="lavender"]{--hf20-hue:55deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="mint"]{--hf20-hue:-65deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="magenta"]{--hf20-hue:92deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="ice"]{--hf20-hue:-20deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="silver"]{--hf20-hue:0deg;--hf20-sat:.45;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="rainbow"]{--hf20-hue:0deg;--hf20-sat:1.02;}
html:root[data-theme="light"][data-vega-accent][data-vega-accent="thermal"]{--hf20-hue:0deg;--hf20-sat:1.02;}
@media(min-width:1100px){
html:root[data-theme="light"][data-vega-accent] body:has(#main), html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .media-grid a.media-card){--hf20-gutter:calc((100vw - min(1140px,calc(100vw - 104px)))/2);--hf20-show:clamp(52px,calc(var(--hf20-gutter) + 12px),410px);--hf20-wide:clamp(230px,calc(var(--hf20-gutter) + 110px),440px);--hf20-tall:clamp(1240px,calc(1160px + 18vw),1740px);}
html:root[data-theme="light"][data-vega-accent] body:has(#main)::after,html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .media-grid a.media-card)::after{inset:285px 0 0!important;width:100%!important;height:auto!important;max-height:1850px!important;z-index:5!important;pointer-events:none!important;opacity:.94!important;background-image:var(--hf20-l),var(--hf20-r)!important;background-size:var(--hf20-wide) var(--hf20-tall),calc(var(--hf20-wide) * .94) calc(var(--hf20-tall) * .97)!important;background-position:left calc(var(--hf20-show) - var(--hf20-wide)) top 0,right calc(var(--hf20-show) - var(--hf20-wide)*.94) top 53px!important;background-repeat:no-repeat!important;filter:hue-rotate(var(--hf20-hue,0deg)) saturate(var(--hf20-sat,1));}
html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .media-grid a.media-card)::after{background-size:var(--hf20-wide) var(--hf20-tall),var(--hf20-wide) calc(var(--hf20-tall) * 1.03)!important;background-position:left calc(var(--hf20-show) - var(--hf20-wide)) top -24px,right calc(var(--hf20-show) - var(--hf20-wide)) top 37px!important;}
}
@media(max-width:1099px){
html:root[data-theme="light"][data-vega-accent] body:has(#main)::after,html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .media-grid a.media-card)::after{background-image:var(--hf20-l),var(--hf20-r)!important;background-size:105px 620px,115px 710px!important;background-position:left -92px top 55px,right -102px top 160px!important;opacity:.55!important;z-index:1!important;pointer-events:none!important;filter:hue-rotate(var(--hf20-hue,0deg)) saturate(var(--hf20-sat,1));}
}
@media(max-width:620px){
html:root[data-theme="light"][data-vega-accent] body:has(#main)::after,html:root[data-theme="light"][data-vega-accent] body:has(#main):has(#main .media-grid a.media-card)::after{background-size:90px 570px,104px 640px!important;background-position:left -82px top 105px,right -96px top 280px!important;opacity:.48!important;}
}
/* No ornament can receive pointer events or create layout space. All other themes inherit HF19 verbatim. */

