/* Mobile-only layout safeguards. Desktop rules are intentionally untouched. */
@media(max-width:760px){
html,body{max-width:100%;overflow-x:hidden}
.wrap{width:100%;max-width:100%;padding-left:12px;padding-right:12px}
.score-ticker-inner{padding-left:0;padding-right:0}.score-ticker-title{flex:0 0 auto}.score-ticker-viewport{min-width:0;overflow:hidden}
.site-header .header-main{display:grid!important;grid-template-columns:minmax(92px,1fr) auto!important;grid-template-rows:42px 42px;align-items:center;gap:7px 8px;padding:7px 12px!important}.site-header .brand{grid-column:1;grid-row:1;min-width:0;width:min(128px,100%)}.site-header .brand-logo{display:block;width:100%;height:38px;object-position:left center}.site-header .header-actions{grid-column:2;grid-row:1;display:flex!important;align-items:center;justify-content:flex-end;gap:5px;min-width:0;margin:0!important}.site-header .settings-wrap{display:block!important;position:static}.site-header .theme-switch{display:block!important;width:46px;flex:0 0 46px;height:32px}.site-header .theme-switch-track{border-width:1px}.site-header .theme-switch-thumb{width:20px;height:20px}.site-header .theme-switch.is-dark .theme-switch-thumb{transform:translateX(19px)}.site-header .header-login-link,.site-header .header-settings-link,.site-header .header-favorites{width:36px!important;height:36px!important;min-width:36px;flex:0 0 36px;padding:0!important}.site-header .header-login-link{display:grid!important;place-items:center;font-size:0!important}.site-header .header-login-link span,.site-header .header-login-link:after{display:none!important;content:none!important}.site-header .header-login-link svg{width:17px}.site-header .header-settings-link,.site-header .header-favorites{display:grid!important}.site-header .global-search{grid-column:1/-1;grid-row:2;order:initial!important;width:100%!important;height:40px;margin:0!important;padding:0 12px!important;flex-basis:auto!important}.site-header .global-search kbd{display:none}.site-header .nav-shell{max-width:100%;overflow:hidden}.site-header .header-nav{width:100%;max-width:100%;padding:0 8px;overflow-x:auto;overscroll-behavior-x:contain}.site-header .nav-links{display:flex;min-width:max-content}.site-header .nav-links>a{min-height:42px;padding:0 11px}
.settings-wrap{position:static}.settings-menu{position:absolute!important;top:calc(100% + 6px)!important;right:12px!important;left:auto!important;width:min(220px,calc(100vw - 24px))!important}
.page{padding-top:15px}.score-update-status{max-width:none;margin:0 0 9px;padding:0 2px;white-space:nowrap}.page-layout{display:block;width:100%;min-width:0}.scoreboard,.right-sidebar,.standings{width:100%;max-width:100%;min-width:0}.right-sidebar{margin-top:14px}
.scoreboard-title{padding:15px 12px 12px}.scoreboard-title h2{font-size:15px}.date-picker{gap:1px;padding:0 5px 11px}.date-strip{overflow:hidden}.date-day{padding:8px 1px}.calendar{flex:0 0 28px;margin-left:2px}.status-tabs{justify-content:flex-start;gap:15px;padding:0 12px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.status-tabs::-webkit-scrollbar{display:none}.status-tabs button{flex:0 0 auto;padding:14px 0 11px}
.match-toolbar{display:grid!important;grid-template-columns:1fr 1fr auto;grid-template-areas:'league sort live' 'font font font';align-items:center;gap:7px;padding:9px!important;background:#f8faf9}.match-toolbar .toolbar-button{grid-area:league;display:flex;width:100%;height:40px;justify-content:center;border-radius:9px;background:#fff}.match-toolbar .sort-picker{grid-area:sort;display:flex;width:100%;height:40px;padding:0 8px;border-radius:9px;background:#fff}.match-toolbar .sort-picker>span{display:none}.match-toolbar .sort-picker select{width:100%;max-width:none;height:38px;padding:0 20px 0 2px;font-size:9px}.match-toolbar .font-controls{grid-area:font;display:flex;width:max-content;height:34px;margin:0;padding:3px;border-radius:8px;background:#fff}.match-toolbar .font-controls button{width:31px}.match-toolbar .live-switch{grid-area:live;display:flex;width:54px;height:40px;margin:0;padding:0 7px;border-radius:9px;background:#fff}.match-toolbar .live-switch b{display:none}.match-toolbar .live-switch span{width:30px;flex:0 0 30px}.toolbar-button svg{width:16px!important;height:16px!important}.filter-row{padding:10px 8px 7px}.match-search{min-height:39px;border-radius:9px}.results-meta{padding:4px 11px 10px}.league-heading{position:static!important;padding:10px 9px;gap:7px}.league-heading>div{min-width:0}.league-heading h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.league-heading .league-toggle-label{flex:0 0 auto;white-space:nowrap}.league-chevron{flex:0 0 24px}
.match-card,.match-row{max-width:100%}.match-row{grid-template-columns:36px minmax(46px,1fr) 50px minmax(46px,1fr) 30px 22px;gap:3px;padding:8px 4px}.match-club span:not(.badge){font-size:7.5px}.match-time b{min-width:30px;font-size:7px}.match-time small{font-size:5.5px}.match-score{gap:2px}.match-score strong{width:19px;height:23px;font-size:10px}.iddaa-button{width:30px}.favorite{width:22px}.odds-panel{padding:9px}.odds-market{grid-template-columns:1fr}.odds-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.odds-grid span,.odds-grid a{padding:0 7px}.odds-provider small{max-width:220px}.scoreboard-foot{padding:12px 9px}
.standings{overflow:hidden}.standings-cover .standings-nav{padding:10px}.standings-current{min-width:0}.standings-current h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standings table{table-layout:fixed}.standings th,.standings td{padding-left:3px;padding-right:3px}.standings th:first-child,.standings td:first-child{width:42px}.standings th:nth-child(2),.standings td:nth-child(2){width:auto;max-width:none}.standings th:nth-child(n+3),.standings td:nth-child(n+3){width:29px}.standings td:nth-child(2)>a{overflow:hidden}.standings td:nth-child(2)>a span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standings-legend{padding:8px;gap:4px}
.vk-footer{margin-top:28px}.footer-grid{grid-template-columns:1fr 1fr;gap:24px 18px;padding-top:30px;padding-bottom:26px}.footer-about{grid-column:1/-1}.footer-bottom{padding-top:15px;padding-bottom:17px}
}
@media(max-width:760px){
.site-header .header-main{position:relative!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:42px 42px!important;align-items:center;gap:7px!important;padding:7px 12px!important}.site-header .brand{grid-column:1!important;grid-row:1!important;width:112px!important;min-width:0}.site-header .header-actions{position:absolute!important;z-index:3;top:10px;right:12px;display:flex!important;align-items:center;justify-content:flex-end;gap:4px;width:auto!important;min-width:0;margin:0!important}.site-header .settings-wrap,.site-header .header-login-link,.site-header .header-settings-link,.site-header .header-favorites,.site-header .theme-switch{display:grid!important}.site-header .global-search{grid-column:1!important;grid-row:2!important}
.match-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 52px!important;grid-template-areas:'league sort live' 'font font font'!important;align-items:center;width:100%;max-width:100%;gap:7px;padding:9px!important}.match-toolbar>*{min-width:0!important;max-width:100%!important}.match-toolbar .toolbar-button{width:100%!important;overflow:hidden}.match-toolbar .sort-picker{width:100%!important;padding:0 6px!important;overflow:hidden}.match-toolbar .sort-picker select{display:block;width:100%!important;min-width:0!important;max-width:100%!important;padding:0 4px!important;text-overflow:ellipsis}.match-toolbar .live-switch{width:52px!important;min-width:52px!important}
}
@media(max-width:390px){.site-header .header-main{padding-left:9px!important;padding-right:9px!important}.site-header .brand{width:94px!important}.site-header .header-actions{right:9px;gap:3px}}
@media(max-width:390px){
.wrap{padding-left:9px;padding-right:9px}.site-header .header-main{grid-template-columns:minmax(74px,1fr) auto!important;padding-left:9px!important;padding-right:9px!important}.site-header .brand{width:100px}.site-header .header-actions{gap:3px}.site-header .theme-switch{width:40px;flex-basis:40px}.site-header .header-login-link,.site-header .header-settings-link,.site-header .header-favorites{width:32px!important;height:34px!important;min-width:32px;flex-basis:32px}.site-header .theme-switch.is-dark .theme-switch-thumb{transform:translateX(13px)}
.status-tabs{gap:12px}.status-tabs button{font-size:8px}.match-toolbar{gap:5px}.font-controls button{width:24px}.match-row{grid-template-columns:34px minmax(42px,1fr) 47px minmax(42px,1fr) 28px 20px;gap:2px;padding-inline:3px}.match-club .badge{width:20px;height:20px;flex-basis:20px}.league-heading .league-toggle-label{max-width:86px;overflow:hidden;text-overflow:ellipsis}.footer-grid{gap:21px 13px}
}
@media(max-width:760px){.site-header .header-main{position:relative!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:42px 42px!important;gap:7px!important}.site-header .brand{grid-column:1!important;grid-row:1!important;width:112px!important}.site-header .header-actions{position:absolute!important;top:10px;right:12px;display:flex!important;gap:4px;width:auto!important;margin:0!important}.site-header .settings-wrap,.site-header .header-login-link,.site-header .header-settings-link,.site-header .header-favorites,.site-header .theme-switch{display:grid!important}.site-header .global-search{grid-column:1!important;grid-row:2!important}.match-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 52px!important}.match-toolbar>*{min-width:0!important;max-width:100%!important}.match-toolbar .sort-picker,.match-toolbar .sort-picker select{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden}}
@media(max-width:390px){.site-header .header-main{grid-template-columns:1fr!important}.site-header .brand{width:94px!important}.site-header .header-actions{right:9px;gap:3px}}
@media(max-width:760px){
.site-header .header-main{grid-template-rows:38px 42px 40px!important;gap:7px!important}.site-header .brand{grid-row:1!important;width:112px!important}.site-header .header-actions{position:static!important;grid-column:1!important;grid-row:3!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%!important}.site-header .header-actions>*{min-width:0!important}.site-header .settings-wrap{position:relative!important;width:100%;height:38px}.site-header .theme-switch,.site-header .header-login-link,.site-header .header-settings-link,.site-header .header-favorites{display:grid!important;width:100%!important;min-width:0!important;height:38px!important;place-items:center;border-radius:9px}.site-header .theme-switch{max-width:none!important;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.14)}.site-header .theme-switch-track{left:50%;right:auto;width:46px;transform:translateX(-50%)}.site-header .header-login-link{display:flex!important;gap:5px;font-size:9px!important}.site-header .header-login-link span{display:inline!important}.site-header .header-login-link:after{display:none!important}.site-header .header-settings-link,.site-header .header-favorites{width:100%!important}.site-header .settings-menu{top:44px!important;right:0!important}.site-header .global-search{grid-row:2!important}
.match-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:'league sort' 'font live'!important}.match-toolbar .live-switch{width:100%!important;min-width:0!important;justify-content:center}.match-toolbar .live-switch b{display:inline}.match-toolbar .font-controls{width:100%!important;justify-content:center}.match-toolbar .font-controls button{flex:1;max-width:42px}.match-toolbar .sort-picker select{appearance:none;-webkit-appearance:none;background:transparent!important;text-align:center}.match-toolbar .toolbar-button{min-width:0}.match-toolbar .toolbar-button span{display:inline!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:390px){.site-header .brand{width:100px!important}.site-header .header-actions{gap:5px}.site-header .header-login-link span{display:inline!important}.match-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}}
