/* UI-only desktop layer derived from the supplied v83 patch.
   Strictly desktop scoped: phone/tablet app keeps its own styles. */
@media (min-width:1025px){
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-layout{--sx-sidebar-w:264px;width:100%;max-width:none;margin:0}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-sidebar{margin:0;top:0;height:100dvh;border-radius:0;border:0;border-right:1px solid rgba(255,255,255,.13);background:radial-gradient(ellipse at 0 0,rgba(61,79,147,.24),transparent 62%),linear-gradient(155deg,rgba(17,37,73,.97),rgba(7,20,43,.96));backdrop-filter:blur(28px) saturate(150%);-webkit-backdrop-filter:blur(28px) saturate(150%);box-shadow:inset -1px 0 rgba(255,255,255,.04)}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-main{width:100%;max-width:none;padding:0;min-width:0}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-view{width:100%;max-width:none;margin:0;padding:24px 28px 40px;box-sizing:border-box}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-view>.page-content,
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-view .sx-settings-view,
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-view .sx-dem-hub{width:100%;max-width:none;margin-inline:0;box-sizing:border-box}

 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-nav{position:relative}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-nav-item{transition:color .18s,background .18s,transform .18s;isolation:isolate}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-nav-item:hover{transform:translateX(1px)}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-nav-item.is-active{background:rgba(255,255,255,.12);box-shadow:inset 0 1px rgba(255,255,255,.16),0 4px 12px rgba(0,0,0,.07)}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-nav-marker{display:block;position:absolute;left:13px;right:13px;top:0;pointer-events:none;border-radius:12px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.12);box-sizing:border-box;z-index:0}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-nav:has(.sx-native-nav-marker) .sx-nav-item.is-active{background:transparent;box-shadow:none}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-nav-group{position:relative}

 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-hub{gap:20px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-search{min-height:48px;padding:8px 14px;border-radius:14px;background:var(--bg-card);box-sizing:border-box}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-search input{font-size:15px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-search-results{background:var(--bg-card);margin-top:8px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-picker{grid-template-columns:minmax(240px,1fr) minmax(320px,1fr);align-items:start;gap:20px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-team-grid{grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:16px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-team-card{min-height:116px;padding:20px;border-radius:20px;background:var(--bg-card)}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-team-copy strong{font-size:20px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-team-copy>span{font-size:14px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-followed button{background:var(--bg-card)}

 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-fixtures{grid-template-columns:repeat(auto-fit,minmax(min(370px,100%),1fr));gap:18px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-match-view.is-list .sx-dem-fixtures{grid-template-columns:1fr}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-fixture{padding:20px;border-radius:20px;background:var(--bg-card)}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-fixture-date small{font-size:14px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-fixture-main{font-size:16px;min-height:64px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-fixture-main strong{font-size:23px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-fixture footer{display:flex;gap:16px;align-items:center;color:var(--text-muted);font-size:13px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-fixture footer svg{width:16px;height:16px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-fixture-date{padding-right:38px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-fixture>img{width:30px;height:30px}

 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-standings-row{min-height:64px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-standing-team b{font-size:15px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-standings-head{padding:24px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-standings-table{padding:0 20px 20px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-standings-foot{font-size:12px;flex-wrap:wrap}

 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dash-grid{grid-template-columns:repeat(auto-fit,minmax(min(390px,100%),1fr));gap:20px;align-items:start}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dash-card{border-radius:20px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dash-title{font-size:30px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dash-training-row{padding:15px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dash-training-row b{font-size:15px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dash-training-row small{font-size:13px}

 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-settings-card{border-radius:20px;padding:26px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-tabs{max-width:none}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-tabs button{min-height:42px;font-size:14px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-dem-sync-team-list{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}

 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-weather-host{min-width:0}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-weather-card{height:100%;min-height:270px;overflow:hidden;border-radius:22px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-weather-hero{height:100%;min-height:270px;position:relative;overflow:hidden;padding:24px;box-sizing:border-box}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-weather-hero .sx-overview-weather-rich{position:relative;z-index:2;color:#fff}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-weather-hero .sx-weather-proxy{display:none}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-weather-hero .sx-overview-weather-city{display:block;font-size:22px}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-weather-hero .sx-overview-weather-tempbox{font-size:54px;line-height:1.15}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-weather-hero .sx-overview-weather-tempbox em{font-style:normal}
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-weather-hero .sx-overview-weather-meta,
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-weather-hero .sx-overview-weather-details{display:flex;flex-wrap:wrap;gap:10px;font-size:12px}
}
.sx-native-nav-marker{display:none}
@media (min-width:1025px){html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-nav-marker{display:block}}
@media (prefers-reduced-motion:reduce){
 html:not(.sx-phone-webapp):not(.sx-tablet-webapp) .sx-native-nav-marker{transition:none!important}
}
