/* Shared public league system: readable navy, restrained gold, accessible controls. */
:root{--hub-ink:#142d44;--hub-muted:#627587;--hub-gold:#b39747;--hub-line:#dfe6ec;--hub-bg:#f3f6f8}
body.hub-page,body.player-directory-page{margin:0;background:var(--hub-bg);background-image:none;color:var(--hub-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.hub-page *, .hub-page *::before,.hub-page *::after{box-sizing:border-box}
.hub-page [hidden]{display:none!important}
.league-public-navigation{box-shadow:none}
.league-public-navigation .navbar{min-height:94px}
.league-public-navigation .navbar-brand{max-width:320px;gap:12px;margin-right:24px}
.league-public-navigation__brand-mark{width:54px;height:78px;flex-basis:54px}
.schedule-brand{display:flex;flex-direction:column;gap:4px;white-space:normal}
.schedule-brand strong{font-size:17px;font-weight:750;line-height:1.2}
.schedule-brand small{color:var(--hub-muted);font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.league-public-navigation .navbar .navbar-nav .nav-link{min-height:44px;color:var(--hub-ink);font-size:13px}
.league-public-navigation .navbar .navbar-nav .nav-link.active{color:var(--hub-ink);background:var(--ui-soft, #f5efdd);box-shadow:inset 0 -2px var(--hub-gold)}
.league-public-navigation .navbar .navbar-nav .nav-link:hover{color:var(--hub-ink);background:var(--ui-soft, #f0f3f6)}
.league-public-navigation .navbar .navbar-nav .league-public-navigation__login{border:1px solid var(--hub-line);margin-left:12px;padding:0 18px;background:var(--ui-surface, #fff);box-shadow:none}
.hub-shell{width:min(1240px,calc(100% - 40px));margin:auto;padding:40px 0 24px}
.hub-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.hub-eyebrow{margin:0 0 10px;color:var(--ui-warning, #766124);font-size:11px;font-weight:750;letter-spacing:.13em;text-transform:uppercase}
.hub-heading h1{margin:0 0 12px;font-size:clamp(28px,3.2vw,40px);line-height:1.15;letter-spacing:-.035em;font-weight:750}
.hub-heading p:last-child{margin:0;color:var(--hub-muted);font-size:14px;line-height:1.7;max-width:740px}
.hub-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:12px;padding:10px 16px;border:1px solid var(--hub-line);border-radius:9px;color:var(--hub-ink);background:var(--ui-surface, white);font-size:13px;font-weight:700;line-height:1.4;text-decoration:none;cursor:pointer;white-space:nowrap}
.hub-button:hover{background:var(--ui-soft, #f4f0e4);border-color:var(--ui-line, #cabb8f);color:var(--hub-ink);text-decoration:none}
.hub-button--primary{background:var(--hub-ink);color:var(--ui-inverse, white);border-color:var(--hub-ink)}
.hub-button--primary:hover{background:var(--ui-header, #24435d);color:var(--ui-inverse, white)}
.hub-button--quiet{background:transparent}
.hub-icon-button{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;border:1px solid var(--hub-line);border-radius:9px;background:var(--ui-surface, white);color:var(--hub-ink);cursor:pointer}
.hub-page :is(a,button,input,select,summary):focus-visible,.league-public-navigation :is(a,button):focus-visible{outline:3px solid var(--hub-gold);outline-offset:3px}
.hub-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 24px}
.hub-stats>div{padding:20px 24px;background:var(--ui-surface, #fff);border:1px solid var(--hub-line);border-radius:12px;display:flex;flex-direction:column-reverse;gap:5px}
.hub-stats dt{color:var(--hub-muted);font-size:12px;font-weight:500}
.hub-stats dd{margin:0;font-size:26px;font-weight:750;letter-spacing:-.025em;line-height:1.2}
.hub-notice{display:flex;gap:14px;padding:18px 20px;margin-bottom:24px;border:1px solid var(--ui-line, #e3d7b4);border-radius:10px;background:var(--ui-soft, #faf7ef);font-size:13px}
.hub-notice>i{color:var(--ui-warning, #88702d);padding-top:3px}.hub-notice strong{font-weight:700}.hub-notice p{margin:4px 0 0;color:var(--ui-muted, #6b6555);line-height:1.6}
.hub-filters{padding:20px;border:1px solid var(--hub-line);border-radius:12px;background:var(--ui-surface, #fff)}
.hub-filter-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hub-search{position:relative;display:flex;align-items:center;gap:10px;flex:1;min-width:190px;margin:0;padding:0 14px;height:44px;background:var(--ui-surface, #fff);border:1px solid var(--ui-line, #d4dee6);border-radius:8px}
.hub-search>i{color:var(--ui-muted, #758595);font-size:13px}.hub-search input{min-width:0;flex:1;width:100%;height:100%;padding:0;border:0;background:transparent;color:var(--hub-ink);font-size:13px;outline:none}
.hub-search:focus-within{outline:2px solid var(--hub-gold);outline-offset:2px}.hub-search input:focus-visible{outline:none}
.hub-select{display:flex;align-items:center;gap:9px;margin:0;font-size:12px;color:var(--hub-muted)}
.hub-select select{height:44px;max-width:250px;padding:0 30px 0 12px;border:1px solid var(--ui-line, #d4dee6);border-radius:8px;background:var(--ui-surface, white);color:var(--hub-ink);font-size:13px}
.hub-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.hub-chips button{min-height:40px;padding:8px 15px;border:1px solid var(--hub-line);border-radius:7px;background:var(--ui-surface, white);color:var(--ui-muted, #506577);font-size:12px;font-weight:650;cursor:pointer}
.hub-chips button[aria-pressed=true]{background:var(--hub-ink);border-color:var(--hub-ink);color:var(--ui-inverse, white)}
.hub-filter-count{min-height:18px;margin:14px 0;color:var(--hub-muted);font-size:12px}
.hub-panel{overflow:hidden;background:var(--ui-surface, white);border:1px solid var(--hub-line);border-radius:12px}
.hub-standing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.hub-panel-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--hub-line);background:var(--ui-surface, #fbfcfd)}
.hub-panel-header .hub-eyebrow{margin-bottom:4px;font-size:10px}.hub-panel-header h2{font-size:22px;margin:0;font-weight:750}
.hub-tag{padding:5px 9px;border:1px solid var(--ui-line, #e3e8ed);background:var(--ui-soft, #f5f7f9);border-radius:6px;font-size:10px;font-weight:650;color:var(--ui-muted, #566b7d);white-space:nowrap}
.hub-table-wrap{overflow-x:auto;overscroll-behavior-x:contain}
.hub-table{width:100%;border-collapse:collapse;font-size:13px;color:var(--hub-ink)}
.hub-table th,.hub-table td{padding:18px 16px;border-bottom:1px solid var(--ui-line, #e9edf1);vertical-align:middle}
.hub-table thead th{padding-top:13px;padding-bottom:13px;background:var(--ui-surface, #fbfcfd);font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--ui-muted, #718293);font-weight:700}
.hub-table tbody tr:last-child>*{border-bottom:0}.hub-table tbody tr:hover{background:var(--ui-surface, #fcfcf9)}
.hub-table th[scope=row]{font-weight:650}.hub-table .hub-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.hub-table .hub-number>strong{font-size:19px;font-weight:750}.hub-position{width:48px;color:var(--ui-muted, #778898);text-align:center;font-variant-numeric:tabular-nums}
.hub-table tfoot{border-top:1px solid var(--hub-line);background:var(--ui-surface, #f7f8fa);font-weight:750}
.hub-team-link{display:flex;align-items:center;gap:12px;color:var(--hub-ink);line-height:1.5;text-decoration:none}
.hub-team-link:hover,.hub-player-link:hover{color:var(--ui-warning, #796123);text-decoration:none}
.hub-mark{display:inline-grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid var(--hub-line);border-radius:50%;background:var(--ui-surface, #fff);color:var(--ui-ink, #35546c);overflow:hidden;font-size:13px;font-weight:750}
.hub-mark img{width:100%;height:100%;object-fit:contain;padding:3px}.hub-mark [hidden]{display:none!important}
.hub-breakdown{display:block;margin:3px 0 0 auto;min-height:28px;padding:2px 0;border:0;color:var(--ui-warning, #796123);background:transparent;font-size:10px;cursor:pointer}
.hub-breakdown i{font-size:8px;margin-left:4px}.hub-result-fallback{font-size:11px;font-weight:400}.hub-result-fallback p{margin:5px 0}
.hub-muted{display:block;color:var(--hub-muted);font-weight:400;font-size:11px;margin-top:4px;white-space:normal}
.hub-player-link{color:var(--hub-ink);font-weight:650;text-decoration:none;line-height:1.5}.hub-player-link i{font-size:10px;color:var(--hub-muted)}
.hub-rank{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:7px}.hub-rank--leading{background:var(--ui-soft, #f4edda);color:var(--ui-warning, #796123);font-weight:750}
.hub-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:52px 24px;border:1px solid var(--hub-line);border-radius:14px;background:var(--ui-surface, white)}
.hub-empty>i{color:var(--hub-gold);font-size:25px}.hub-empty h2{max-width:600px;margin:0;color:var(--hub-ink);font-size:26px;font-weight:750;line-height:1.3;letter-spacing:-.025em}
.hub-empty p:not(.hub-eyebrow){max-width:550px;margin:0;color:var(--hub-muted);font-size:14px;line-height:1.7}.hub-empty .hub-eyebrow{margin:3px 0 0}
.hub-empty-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 0 8px;border:1px solid var(--ui-line, #e5d7ae);border-radius:16px;background:var(--ui-soft, #faf7ee);color:var(--ui-warning, #9a7d2e);font-size:25px}
.hub-empty--mvp{padding-top:58px;padding-bottom:58px}.hub-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.hub-footnote{font-size:11px;line-height:1.7;color:var(--hub-muted);margin:20px 0}
.hub-footer{display:flex;justify-content:center;align-items:center;gap:10px;color:var(--ui-muted, #82909c);font-size:11px;padding:32px 0 12px}
.hub-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hub-team-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid var(--hub-line);border-top:3px solid var(--team-accent);border-radius:12px;background:var(--ui-surface, white);transition:box-shadow .15s}
.hub-team-card:hover{box-shadow:0 6px 24px #142d4409}
.hub-team-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.hub-team-card-top .hub-mark{width:58px;height:58px;flex-basis:58px;font-size:20px}
.hub-team-card h2{min-height:50px;margin:0 0 14px;font-size:19px;line-height:1.35;font-weight:750;letter-spacing:-.02em}
.hub-captain{min-height:55px;margin-bottom:16px}.hub-captain span{display:block;color:var(--hub-muted);font-size:10px;margin-bottom:5px}.hub-captain strong{font-size:12px;line-height:1.5;font-weight:600}
.hub-team-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:16px 0;border-top:1px solid var(--ui-line, #e9edf1);border-bottom:1px solid var(--ui-line, #e9edf1)}
.hub-team-metrics dt{margin-bottom:6px;color:var(--hub-muted);font-size:10px;font-weight:400}.hub-team-metrics dd{margin:0;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums}.hub-team-metrics small{font-size:10px;font-weight:400;color:var(--hub-muted)}
.hub-composition{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 20px;font-size:10px;color:var(--ui-muted, #647889)}.hub-composition span::before{content:'';display:inline-block;width:5px;height:5px;background:var(--hub-gold);border-radius:50%;vertical-align:middle;margin-right:5px}
.hub-squad-button{width:100%;margin-top:auto;justify-content:space-between;background:var(--ui-surface, #f8fafb)}.hub-roster-inline{margin-top:auto}.hub-roster-inline>summary{display:flex;list-style:none}.hub-roster-inline>div{padding-top:16px}
.hub-captain-badge{display:inline-block;padding:3px 6px;margin-left:6px;background:var(--ui-soft, #f5efdf);border:1px solid var(--ui-line, #eadfbf);border-radius:4px;color:var(--ui-warning, #796123);font-size:9px;font-weight:650}.hub-role{color:var(--ui-muted, #617587);font-size:11px}
.hub-dialog{padding:0;width:min(860px,calc(100vw - 32px));max-height:calc(100dvh - 48px);border:1px solid var(--hub-line);border-radius:16px;color:var(--hub-ink);background:var(--ui-surface, white);box-shadow:0 24px 90px #102a4340}
.hub-dialog[open]{display:flex;flex-direction:column}.hub-dialog--results{width:min(590px,calc(100vw - 32px))}.hub-dialog::backdrop{background:#10263e9e;backdrop-filter:blur(3px)}
.hub-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;padding:22px 26px;border-bottom:1px solid var(--hub-line)}
.hub-dialog-header .hub-eyebrow{font-size:10px;margin-bottom:6px}.hub-dialog-header h2{margin:0;font-size:22px;font-weight:750;line-height:1.3}.hub-dialog-header p:last-child:not(.hub-eyebrow){margin:6px 0 0;color:var(--hub-muted);font-size:12px}
.hub-dialog-scroll{overflow:auto;min-height:0;padding:0 26px;overscroll-behavior:contain}.hub-dialog-scroll .hub-table th:first-child,.hub-dialog-scroll .hub-table td:first-child{padding-left:0}.hub-dialog-scroll .hub-table th:last-child,.hub-dialog-scroll .hub-table td:last-child{padding-right:0}
.hub-dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-shrink:0;padding:16px 26px;border-top:1px solid var(--hub-line);background:var(--ui-surface, #fbfcfd)}
.hub-dialog--results .hub-dialog-footer{justify-content:space-between}.hub-result-summary{color:var(--hub-muted);font-size:12px}.hub-result-summary strong{color:var(--hub-ink);margin-left:10px;font-size:19px;font-variant-numeric:tabular-nums}
.hub-squad-intro{display:flex;align-items:center;gap:16px;padding:24px 0}.hub-squad-intro .hub-mark{width:62px;height:62px;flex-basis:62px}.hub-squad-intro h2{font-size:23px;font-weight:750;margin:0 0 7px;line-height:1.3}.hub-squad-intro .hub-eyebrow{font-size:10px;margin-bottom:5px}.hub-squad-intro p:last-child{margin:0;color:var(--hub-muted);font-size:12px;line-height:1.6}
.hub-squad-pending{padding:24px 0;font-size:13px;color:var(--hub-muted);text-align:center}
body.hub-dialog-open{overflow:hidden}
/* Retain the player directory's richer profile and travel tools. */
.player-directory-page .league-public-shell{width:min(1240px,calc(100% - 40px));padding-top:40px}
.player-directory-page .directory-eyebrow{color:var(--ui-warning, #796123)}
.player-directory-page .directory-heading h1{color:var(--hub-ink);font-weight:750}
.player-directory-page .directory-heading h1>span{color:var(--hub-gold)}
.player-directory-page .directory-filters{border-radius:12px}
.player-directory-page .player-profile::backdrop{background:#10263e9e}
.player-directory-page .directory-primary{background:var(--hub-ink);border-color:var(--hub-ink)}
.player-directory-page :is(button,input,select):focus-visible{outline-color:var(--hub-gold)}
.player-directory-page .directory-search:focus-within{outline-color:var(--hub-gold)}
.player-directory-page .league-empty-state{min-height:300px;border:1px solid var(--hub-line);background:var(--ui-surface, white);box-shadow:none;border-radius:14px}
.player-directory-page .league-empty-state::before,.player-directory-page .league-empty-state::after{display:none}
.player-directory-page .league-empty-state__halo{color:var(--hub-gold);box-shadow:none;border-color:var(--ui-line, #e5d7ae);background:var(--ui-soft, #faf7ee)}
.hub-overview-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.hub-overview-links>a{display:flex;align-items:center;gap:14px;padding:22px;border:1px solid var(--hub-line);border-radius:12px;background:var(--ui-surface, white);color:var(--hub-ink);text-decoration:none}
.hub-overview-links>a:hover{border-color:var(--ui-line, #cabb8f);background:var(--ui-surface, #fbfaf6)}.hub-overview-links>a>i:first-child{color:var(--ui-warning, #9a7d2e);font-size:20px}.hub-overview-links>a>i:last-child{margin-left:auto;font-size:11px}
.hub-overview-links strong{display:block;font-size:14px;margin-bottom:5px}.hub-overview-links span{display:block;color:var(--hub-muted);font-size:11px;line-height:1.6}
.hub-artwork{padding:24px;background:var(--ui-soft, #eaf0f4);border:1px solid var(--hub-line);border-radius:14px}.hub-artwork figure{display:flex;justify-content:center;margin:0}.hub-artwork img{display:block;width:auto;height:auto;max-width:100%;max-height:75vh;object-fit:contain;box-shadow:0 8px 28px #142d4412}
@media(max-width:800px){.hub-overview-links{grid-template-columns:1fr}.hub-overview-links>a{padding:18px}.hub-artwork{padding:12px}}
.player-directory-page .player-card{box-shadow:none;border-color:var(--hub-line)}
.player-directory-page .directory-status button[aria-pressed=true]{background:var(--hub-ink);border-color:var(--hub-ink);color:var(--ui-inverse, #fff)}
.player-directory-page .profile-dialog::backdrop{background:#10263e9e}
@media(max-width:1199.98px){.league-public-navigation .navbar-brand{max-width:none}.league-public-navigation .navbar .navbar-nav .league-public-navigation__login{margin-left:0}.league-public-navigation .navbar{padding-bottom:10px}.hub-heading h1{font-size:32px}.hub-standing-grid{grid-template-columns:1fr}}
@media(max-width:950px){.hub-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-heading{align-items:flex-start}.hub-stats dd{font-size:24px}}
@media(max-width:600px){.league-public-navigation__inner{width:calc(100% - 28px)}.league-public-navigation .navbar{min-height:88px}.schedule-brand strong{font-size:15px}.schedule-brand small{font-size:10px}.hub-shell,.player-directory-page .league-public-shell{width:calc(100% - 28px);padding-top:26px}.hub-heading{display:block;margin-bottom:22px}.hub-heading h1{font-size:29px;line-height:1.2}.hub-heading>.hub-button{margin-top:18px}.hub-stats{gap:8px}.hub-stats>div{padding:16px 12px}.hub-stats dd{font-size:20px}.hub-stats dt{font-size:10px}.hub-team-grid{grid-template-columns:1fr;gap:16px}.hub-team-card h2{min-height:0}.hub-captain{min-height:0}.hub-team-card{padding:22px}.hub-notice{padding:16px}.hub-filters{padding:16px}.hub-filter-line{gap:10px}.hub-search{flex-basis:100%}.hub-select{flex:1;justify-content:space-between}.hub-select select{max-width:200px;min-width:0}.hub-filter-line>.hub-button{padding:10px}.hub-panel-header{padding:18px 16px}.hub-table th,.hub-table td{padding:16px 10px}.hub-standings-table .hub-position{width:34px;padding-left:8px;padding-right:4px}.hub-standings-table .hub-mark{display:none}.hub-standings-table th[scope=row]{max-width:190px}.hub-team-link{gap:8px;font-size:12px}.hub-standings-table .hub-number{width:52px}.hub-mvp-table{min-width:580px}.hub-empty{padding:36px 20px}.hub-empty h2{font-size:23px}.hub-actions{width:100%}.hub-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:12px}.hub-dialog-header{padding:18px}.hub-dialog-scroll{padding:0 18px}.hub-dialog-footer{padding:14px 18px;gap:10px}.hub-dialog-footer .hub-search{flex-basis:auto;min-width:0}.hub-squad-intro{align-items:flex-start}.hub-squad-intro h2{font-size:20px}.hub-roster-table{font-size:12px;min-width:340px}.hub-roster-table .hub-role{font-size:10px}.hub-roster-table th[scope=row]{min-width:135px}.hub-captain-badge{margin-left:0;margin-top:4px;display:table}.hub-footer{font-size:10px;gap:6px}}
@media(max-width:600px){.hub-roster-table{min-width:0;table-layout:fixed;width:100%;font-size:11px}.hub-roster-table th[scope=row]{min-width:0;overflow-wrap:anywhere}.hub-roster-table thead th:first-child{width:46%}.hub-roster-table thead th:nth-child(2){width:18%}.hub-roster-table thead th:nth-child(3){width:16%}.hub-roster-table thead th:nth-child(4){width:20%}.hub-roster-table th,.hub-roster-table td{padding:16px 6px}.hub-roster-table thead th{font-size:9px;letter-spacing:0}.hub-roster-table .hub-player-link{font-size:11px}}
@media(prefers-reduced-motion:reduce){.hub-team-card{transition:none}.hub-dialog::backdrop{backdrop-filter:none}}
.hub-favorites{margin:0 0 22px;align-items:center}.hub-favorites .hub-muted{font-size:12px}.hub-favorites button i{margin-right:5px}

/* Overview: actual participating squads, presented in three equal columns. */
.hub-season-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0;padding:16px 0;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-surface)}
.hub-season-summary>div{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:0 10px}.hub-season-summary>div+div{border-left:1px solid var(--ui-line)}
.hub-season-summary dt{font-size:13px;line-height:1.4;font-weight:500;color:var(--ui-muted)}.hub-season-summary dd{order:-1;margin:0;font-size:26px;line-height:1.2;font-weight:750;font-variant-numeric:tabular-nums;color:var(--ui-ink)}
@media(max-width:540px){.hub-season-summary{padding:13px 0;margin:16px 0}.hub-season-summary dd{font-size:24px}.hub-season-summary dt{font-size:12px}}
