/* Presentation only: league records and all application views remain intact. */
.competition-tabs.compact-nav.simple-nav{display:flex;align-items:center;gap:6px;grid-template-columns:none;padding:7px;margin-bottom:20px}
.simple-nav>.compact-trigger{flex:1;display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:10px 14px;font-size:.85rem;text-decoration:none}
.simple-nav .compact-trigger::after{display:none!important}
.simple-mobile-nav{display:none}
.simple-sections-menu:not([open]){display:none!important}
.simple-sections-menu{width:min(850px,calc(100% - 32px));max-height:85dvh;box-sizing:border-box;padding:26px;border:1px solid #78948b55;border-radius:18px;background:#182321;color:#edf6f1;box-shadow:0 24px 100px #0008;overflow:auto}
.simple-sections-menu::backdrop{background:#040b0bcc;backdrop-filter:blur(4px)}
.simple-sections-menu>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.simple-sections-menu header p{font-size:.65rem;letter-spacing:.12em;color:#91baa7;margin:0 0 6px}
.simple-sections-menu h2{margin:0;font:700 1.9rem/1.1 var(--font-display)}
.simple-menu-close{width:44px;height:44px;flex:none;border:1px solid #afc9be33;border-radius:10px;background:#273832;color:#e7f5ee;font-size:1.8rem}
.simple-menu-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.simple-menu-groups section{min-width:0}.simple-menu-groups h3{margin:0 0 12px;font:700 .85rem/1.4 var(--font-body);color:#8fd6b8}
.simple-menu-groups a{display:flex;align-items:center;min-height:46px;padding:10px 12px;margin:4px 0;border:1px solid transparent;border-radius:9px;text-decoration:none;font:600 .82rem/1.4 var(--font-body);color:#d1ded8;box-sizing:border-box}
.simple-menu-groups a:hover,.simple-menu-groups a[aria-current=page]{background:#30473c;border-color:#74bf9a44;color:#e2fff0}
.simple-page-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.simple-page-shortcuts button,.simple-table-toggle{min-height:40px;padding:9px 14px;border:1px solid #92b6a53b;border-radius:9px;background:#1b2a24;color:#cfe7da;font:600 .75rem/1.4 var(--font-body)}
.simple-page-shortcuts button:hover{background:#2a4537}
.simple-table-toggle{display:none}
#league-view .intro.league-broadcast-hero{padding:22px 26px;min-height:0;margin-bottom:14px;gap:20px}
#league-view .intro h1{font-size:2.5rem;line-height:1.1}
#league-view .intro .league-hero-logo{width:64px;height:64px}
#league-view .stats-grid{gap:12px;margin:16px 0}
#league-view .stat-card{padding:16px 18px;min-height:0}
#league-view .stat-number{font-size:2rem}
#league-view :is(.standings-card,.fixtures-section,.league-top-players){scroll-margin-top:20px}
@media(max-width:900px){.simple-menu-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 body:has(.simple-mobile-nav){padding-bottom:calc(74px + env(safe-area-inset-bottom,0px))}
 .competition-tabs.compact-nav.simple-nav{display:none!important}
 .simple-mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:1000;padding:5px 10px calc(5px + env(safe-area-inset-bottom,0px));border-top:1px solid #8da99c44;background:#15221ff5;box-shadow:0 -6px 24px #0003}
 .simple-mobile-nav a,.simple-mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:54px;margin:0;padding:6px 2px;background:none;border:0;border-radius:9px;color:#9ab0a5;text-decoration:none;font:600 .68rem/1.2 var(--font-body)}
 .simple-mobile-nav .is-current{background:#2b4538;color:#a0f1c8}
 .simple-mobile-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 .simple-sections-menu{padding:20px;width:calc(100% - 20px);max-height:calc(90dvh - env(safe-area-inset-bottom,0px));border-radius:14px}
 .simple-menu-groups{gap:14px}.simple-menu-groups a{padding:10px 7px;font-size:.78rem}
 .page-shell,.profile-shell{width:calc(100% - 24px);max-width:100%;box-sizing:border-box}
 .site-header{padding:12px;gap:12px;min-height:76px;margin-bottom:14px;flex-wrap:wrap}
 .site-header .brand-mark{width:42px;height:42px}.site-header .brand strong{font-size:1rem}.site-header .brand small{font-size:.55rem}
 .header-actions{min-width:0;gap:6px}.season-switcher{min-width:0;max-width:100%}.season-switcher-trigger{min-height:46px;padding:7px 9px;gap:7px}.season-trigger-copy strong{font-size:.8rem}.season-trigger-status{font-size:.6rem}
 #league-view .intro.league-broadcast-hero{padding:17px;gap:13px;flex-wrap:wrap}
 #league-view .intro h1{font-size:1.9rem}#league-view .intro .league-hero-logo{width:42px;height:42px}
 .intro-copy{font-size:.8rem;line-height:1.5;margin-top:6px}.matchweek{min-width:0}
 .simple-page-shortcuts{gap:6px;margin-bottom:15px}.simple-page-shortcuts button{flex:1;padding:9px 7px;font-size:.68rem;white-space:nowrap}
 #league-view .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}#league-view .stat-card{padding:12px 9px}#league-view .stat-number{font-size:1.65rem}#league-view .stat-label{font-size:.6rem}.stat-card small{font-size:.6rem}
 .league-rankings-layout{grid-template-columns:minmax(0,1fr)!important;gap:16px}
 .ranking-dock{height:auto!important;min-height:0!important}.ranking-dock .ranking-body{height:auto!important;min-height:0!important;max-height:none!important}
 .ranking-dock .top-players-list{min-height:0!important}.ranking-dock .top-players-list>li{flex:none;min-height:62px}
 .standings-card .section-heading{padding:17px 13px;gap:10px;flex-wrap:wrap}.standings-card .section-heading h2{font-size:1.55rem}.standings-card .legend{font-size:.6rem;gap:8px}
 .simple-table-toggle{display:block;margin-left:auto;min-height:38px;padding:8px 10px;font-size:.68rem}
 .standings-card:not([data-table-details=true]) :is(th,td):is(:nth-child(4),:nth-child(5),:nth-child(6),:nth-child(10)){display:none}
 .standings-card:not([data-table-details=true]) table{width:100%;min-width:0!important;table-layout:auto}
 .standings-card:not([data-table-details=true]) :is(th,td){padding:11px 6px;font-size:.78rem}
 .standings-card:not([data-table-details=true]) .position-col{width:26px}
 .standings-card:not([data-table-details=true]) .team-cell{gap:7px;min-width:0}
 .standings-card:not([data-table-details=true]) .team-name{font-size:.78rem;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
 .standings-card:not([data-table-details=true]) .team-badge{width:28px;height:28px;min-width:28px;flex-basis:28px}
 .standings-card:not([data-table-details=true]) .points-col{font-size:.85rem;min-width:32px}
 .standings-card[data-table-details=true] .table-wrap{overflow-x:auto!important;touch-action:pan-x pan-y}
 .standings-card .table-note{padding:11px 12px;gap:8px;flex-wrap:wrap;font-size:.6rem}
 .fixtures-section .section-heading{padding:16px 13px;gap:12px;flex-wrap:wrap}.fixtures-section .week-controls{width:100%;min-width:0;justify-content:space-between;flex-wrap:wrap;gap:8px}.week-controls select{max-width:100%}
 .hub-intro h1,.intro h1{font-size:2rem}.hub-toolbar{gap:10px;flex-wrap:wrap}.hub-toolbar label{min-width:0;flex:1}.hub-toolbar select{width:100%;max-width:100%}
 .profile-heading h1{font-size:clamp(1.65rem,6.5vw,2.3rem);line-height:1.15;overflow-wrap:anywhere}.profile-nav{padding:12px;gap:12px}.profile-nav-links a{font-size:.7rem;padding:9px 11px}
}
@media(max-width:370px){.simple-page-shortcuts{flex-wrap:wrap}.simple-page-shortcuts button{flex:1 1 40%}.simple-menu-groups{grid-template-columns:minmax(0,1fr)}.site-header .header-actions{width:100%}}
@media(max-width:700px){
 .site-header{flex-direction:row!important;justify-content:space-between;align-items:center;flex-wrap:nowrap}
 .site-header .header-actions{width:auto;flex:none}.site-header .season-switcher{width:135px}.site-header .season-switcher-trigger{width:100%;min-width:0}
 .site-header .brand{gap:8px;min-width:0}.site-header .brand strong{letter-spacing:.06em}
 #league-view.active{display:flex;flex-direction:column}
 #league-view>*{order:5}
 #league-view>.intro{order:0}#league-view>.simple-page-shortcuts{order:1}#league-view>.stats-grid{order:2}#league-view>.league-rankings-layout{order:3}#league-view>.league-score-strip{order:4}
 #league-view .intro.league-broadcast-hero{display:grid;grid-template-columns:42px minmax(0,1fr);padding:15px;gap:10px;align-items:center}
 #league-view .intro .matchweek{grid-column:1/-1;width:100%;min-height:0;height:auto;margin-top:0;padding:9px 0 0;display:block;box-sizing:border-box}
 #league-view .intro .matchweek>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
 #league-view .intro .matchweek strong{font-size:1rem}#league-view .intro .matchweek>div>span{font-size:.6rem}
 #league-view .intro .matchweek .progress{height:3px;margin-top:6px}
 #league-view .intro-copy{margin-bottom:0}
 .ranking-dock .ranking-pane{max-height:none!important;height:auto!important}
 #league-view .standings-card{content-visibility:visible}
 #league-view .leader-line{min-width:0;gap:6px;flex-wrap:wrap}#league-view .leader-line>div{min-width:0;flex:1 1 100%}#league-view .leader-line strong{font-size:.78rem;overflow-wrap:anywhere;min-width:0}
}
@media(max-width:350px){.site-header .season-switcher{width:116px}.site-header .brand strong{font-size:.85rem}.site-header .brand-mark{width:34px;height:34px}}
#league-view.active{display:flex;flex-direction:column}
#league-view>*{order:5}
#league-view>.intro{order:0}#league-view>.simple-page-shortcuts{order:1}#league-view>.stats-grid{order:2}#league-view>.league-rankings-layout{order:3}#league-view>.league-score-strip{order:4}
@media(prefers-reduced-motion:reduce){.simple-sections-menu::backdrop{backdrop-filter:none}}

/* All categories remain visible in one vertical sidebar. */
body:has(.simple-nav) .page-shell{width:calc(100% - 268px);max-width:1600px;margin-left:248px;margin-right:20px}
.competition-tabs.compact-nav.simple-nav{position:fixed;top:16px;bottom:auto;max-height:calc(100dvh - 32px);left:16px;z-index:950;width:212px;box-sizing:border-box;margin:0;padding:20px 12px;display:flex;flex-direction:column;align-items:stretch;gap:3px;overflow-y:auto;border:1px solid #78948b44;border-radius:16px;background:#15221ff5;box-shadow:0 12px 40px #0004}
.simple-nav>a,.simple-menu-list>a{display:flex;align-items:center;flex:none;min-height:44px;padding:10px 12px;box-sizing:border-box;border:1px solid transparent;border-radius:8px;color:#bed1c7;text-decoration:none;font:600 .8rem/1.35 var(--font-body);transition:background .16s,color .16s}
.simple-nav>a:hover,.simple-menu-list>a:hover{background:#233b30;color:#edfff4}
.simple-nav>a.is-current,.simple-menu-list>a.is-current{background:#2b493a;border-color:#79d4a444;color:#b5ffdb;box-shadow:none}
.sidebar-brand{padding:2px 10px 18px;font:800 1.4rem/1 var(--font-display);letter-spacing:.06em;color:#edf6f1}.sidebar-brand span{display:block;margin-top:6px;font-size:.75rem;color:#8bd6ad;letter-spacing:.22em}
.sidebar-caption{padding:0 12px;margin:0 0 8px;color:#7b9e8c;font-size:.6rem;letter-spacing:.15em}
.sidebar-mobile-bar{display:none}
.simple-sections-menu{position:fixed;inset:0 auto auto 0;margin:0;width:min(320px,86vw);max-width:none;height:auto;max-height:100dvh;border-radius:0 18px 18px 0;padding:18px 16px;overflow-y:auto;animation:sidebar-enter .2s ease-out}
.simple-sections-menu>header{margin:0 0 14px;position:sticky;top:-18px;background:#182321;z-index:1;padding:12px 0}
.simple-sections-menu h2{font-size:1.6rem}.simple-menu-list{display:flex;flex-direction:column;gap:3px}.simple-menu-list>a{font-size:.86rem;min-height:44px}
body:has(dialog.simple-sections-menu[open]){overflow:hidden}
@keyframes sidebar-enter{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@media(max-width:1000px){
 body:has(.simple-nav) .page-shell{width:calc(100% - 24px);max-width:100%;margin-left:auto;margin-right:auto}
 .competition-tabs.compact-nav.simple-nav{display:none!important}
 .sidebar-mobile-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:0;z-index:900;padding:10px 0;background:#182b24;margin-bottom:10px}
 .sidebar-mobile-bar button{display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 13px;border:1px solid #80b39755;border-radius:9px;background:#233c2f;color:#d6f4e3;font:700 .83rem/1.3 var(--font-body)}
 .sidebar-current{font:600 .75rem/1.3 var(--font-body);color:#b0c9bc;text-align:right}
 .simple-sections-menu{width:min(320px,86vw);height:auto;max-height:100dvh;padding:18px 16px;border-radius:0 18px 18px 0}
}
@media(prefers-reduced-motion:reduce){.simple-sections-menu{animation:none}}
/* Persistent mobile category rail, using the same links as desktop. */
@media(max-width:1000px){
 body:has(.simple-nav){--category-width:150px}
 body:has(.simple-nav) .page-shell{width:calc(100% - var(--category-width) - 24px);margin-left:calc(var(--category-width) + 16px);margin-right:8px;min-width:0}
 .competition-tabs.compact-nav.simple-nav{display:flex!important;left:6px;top:8px;width:var(--category-width);max-height:calc(100dvh - 16px);padding:14px 7px;gap:3px;border-radius:12px}
 .simple-nav>a{font-size:.72rem;padding:9px 7px;min-height:44px;overflow-wrap:anywhere}
 .sidebar-brand{font-size:1.1rem;padding:2px 6px 13px}.sidebar-brand span{font-size:.58rem;letter-spacing:.12em}.sidebar-caption{padding:0 6px;font-size:.52rem}
}
.site-sidebar-toggle{position:fixed;top:12px;left:16px;z-index:960;display:flex;align-items:center;justify-content:center;gap:9px;width:212px;height:40px;padding:8px;border:1px solid #80b39755;border-radius:10px;background:#1c3529;color:#d6f4e3;font:600 .78rem/1.3 var(--font-body);cursor:pointer}
.site-sidebar-toggle b{font-size:1.1rem}.site-sidebar-toggle:focus-visible{outline:2px solid #a0f1c8;outline-offset:2px}
.competition-tabs.compact-nav.simple-nav{top:62px;max-height:calc(100dvh - 70px)}
body.site-sidebar-collapsed .competition-tabs.compact-nav.simple-nav{display:none!important}
body.site-sidebar-collapsed:has(.simple-nav) .page-shell{width:calc(100% - 80px);margin-left:60px;margin-right:20px}
.site-sidebar-collapsed .site-sidebar-toggle{width:40px;left:10px}.site-sidebar-collapsed .site-sidebar-toggle span{display:none}
@media(max-width:1000px){.site-sidebar-toggle{left:6px;top:8px;width:var(--category-width);font-size:.65rem;gap:5px}.competition-tabs.compact-nav.simple-nav{top:56px;max-height:calc(100dvh - 64px)}body.site-sidebar-collapsed:has(.simple-nav) .page-shell{width:calc(100% - 64px);margin-left:56px;margin-right:8px}.site-sidebar-collapsed .site-sidebar-toggle{left:6px}}
@media(max-width:600px){
 body:has(.simple-nav){--category-width:104px}
 .simple-nav>a{font-size:.66rem;padding:8px 6px;line-height:1.35}
 .sidebar-brand{font-size:.92rem;letter-spacing:0}.sidebar-brand span{font-size:.5rem}
 body:has(.simple-nav) .site-header{flex-direction:column!important;align-items:stretch;padding:10px;gap:10px}
 body:has(.simple-nav) .site-header .brand{justify-content:center}
 body:has(.simple-nav) .site-header .header-actions,body:has(.simple-nav) .site-header .season-switcher{width:100%}
 #league-view .intro.league-broadcast-hero{grid-template-columns:minmax(0,1fr);padding:13px}
 #league-view .intro .league-hero-logo{display:none}#league-view .intro h1{font-size:1.65rem}
 #league-view .stats-grid{grid-template-columns:minmax(0,1fr);gap:7px}
 #league-view .leader-line{flex-wrap:nowrap}#league-view .leader-line>div{flex:1}
 .simple-page-shortcuts{flex-direction:column}.simple-page-shortcuts button{flex:auto;white-space:normal}
 #league-view .standings-card .section-heading h2{font-size:1.35rem;line-height:1.25}
 .standings-card .table-wrap{overflow-x:auto!important}
 .standings-card:not([data-table-details=true]) :is(th,td):is(:nth-child(3),:nth-child(9)){display:none}
 .standings-card:not([data-table-details=true]) table{min-width:0!important;width:100%}
 .league-rankings-layout,.site-main,.competition-view{min-width:0}
 .hub-toolbar{flex-direction:column;align-items:stretch}.hub-toolbar label{width:100%}
}
