:root{--ink:#233442;--muted:#637585;--blue:#2456a6;--line:#dce4ed;--paper:#fff;--page:#f4f4f9;--green:#21674f;--red:#a94046;--gold:#956b15;font-family:Arial,sans-serif;font-size:13px;color:var(--ink);background:var(--page);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:var(--blue);text-underline-offset:3px}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,select{min-height:32px}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #3971c9;outline-offset:3px}button:disabled{cursor:default}h1,h2,h3,p{margin-top:0}h2{font-size:18px;letter-spacing:-.4px}h3{font-size:15px}p{line-height:1.45}small{font-size:12px;color:var(--muted)}[hidden]{display:none!important}
main{max-width:940px;margin:auto;padding:20px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}h1{font-size:24px;letter-spacing:-.5px;margin-bottom:6px}.page-heading p{color:var(--muted);margin:0}.page-heading>a{font-size:13px;white-space:nowrap}.team-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 0;border-top:1px solid var(--line)}label{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:600}select{max-width:100%;padding:6px 26px 6px 8px;border:1px solid #bdcad8;border-radius:6px;background:white;color:var(--ink)}#favoriteButton{padding:6px 10px;background:white;border:1px solid var(--line);border-radius:6px;color:var(--blue)}#favoriteButton[aria-pressed=true]{color:var(--gold);border-color:#d9bf86;background:#fff9e9}#competitionLabel{font-size:12px;color:var(--muted)}#updatedAt{margin-left:auto;font-size:11px;color:var(--muted)}.stale{color:var(--red)!important}.favorites{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.favorites:empty{margin:0}.favorites button{border:1px solid var(--line);background:white;border-radius:16px;padding:4px 10px;color:var(--muted);font-size:13px}.favorites button[aria-pressed=true]{border-color:var(--blue);color:var(--blue);background:#eaf1ff}
.position-history{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}.position-step{padding:4px 6px;background:#f2f5f9;border-radius:5px}.primary-button{border:0;border-radius:6px;background:var(--blue);color:white;padding:7px 12px;font-size:12px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 10px}.section-heading h2{margin:0}.section-heading>span,.section-heading>a{font-size:13px;color:var(--muted)}.explanation{color:var(--muted);font-size:13px;max-width:80ch}.table-scroll{overflow-x:auto;background:white;border:1px solid var(--line);border-radius:8px}table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}th,td{padding:7px 8px;text-align:right;border-bottom:1px solid #eaf0f5;white-space:nowrap}thead th{background:#eff3f8;font-weight:600;font-size:12px;color:var(--muted)}th:first-child,td:first-child,th:nth-child(2),td:nth-child(2){text-align:left}th button{border:0;background:none;color:inherit;font:inherit;padding:0;min-height:24px}th[aria-sort] button{color:var(--blue)}tbody tr:last-child td{border-bottom:0}.selected-row{background:#edf3ff}.team-link{border:0;background:transparent;color:var(--ink);font-weight:600;padding:0;text-align:left;min-height:22px}.team-link:hover{text-decoration:underline}.selected-row .team-link{color:var(--blue)}.form{display:flex;gap:3px;justify-content:flex-end}.form span{display:inline-flex;align-items:center;justify-content:center;width:18px;height:20px;border-radius:4px;font-size:11px;font-weight:700}.win{color:var(--green);background:#e3f1eb}.loss{color:var(--red);background:#fae8e8}.draw{color:#586777;background:#edf0f4}.positive{color:var(--green)}.negative{color:var(--red)}.table-note{font-size:12px;color:var(--muted);margin:8px 0 16px}
.comparison-metrics{display:grid;grid-template-columns:1fr 1fr;gap:0;background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:12px 0}.metric{padding:12px;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric h3{font-size:12px;color:var(--muted);font-weight:400;margin:0 0 8px}.metric-pair{display:flex;gap:10px;align-items:baseline}.metric-pair strong{font-size:19px;color:var(--blue)}.metric-pair span{font-size:17px;color:var(--muted)}.rating-gap{display:block;font-size:11px;margin-top:4px}.insight{font-size:12px;border-left:3px solid var(--blue);padding:8px 10px;background:#edf3ff;margin:12px 0;color:#375475}.season-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;margin:15px 0 28px}.fixture{display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line)}.fixture-date{font-size:12px;font-weight:600}.fixture-date small{display:block;margin-top:4px}.fixture-opponent{font-size:12px;font-weight:600}.fixture-opponent small{display:block;font-weight:400;margin-top:4px}.fixture button{padding:4px 8px;min-width:60px;font-size:12px;border:1px solid var(--line);border-radius:5px;background:white;color:var(--ink);font-variant-numeric:tabular-nums}.fixture.next-fixture{border-left:3px solid var(--blue);padding-left:10px;background:#edf3ff}.fixture button:hover{border-color:var(--blue);color:var(--blue)}.players-table th,.players-table td{padding:7px 8px}.players-table td:nth-child(2),.players-table th:nth-child(2){text-align:right}.players-table td:first-child{white-space:normal}footer{max-width:900px;margin:0 auto;padding:16px 0 20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;font-size:12px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:8px;padding:18px;width:min(800px,95vw);max-height:90dvh;color:var(--ink)}dialog::backdrop{background:rgba(25,42,65,.5)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.dialog-header h2{margin:0}.dialog-header button{border:0;background:#edf0f4;border-radius:50%;width:40px;font-size:25px}.dialog-meta{font-size:13px;color:var(--muted)}.empty{font-size:14px;padding:24px;color:var(--muted);background:white;border:1px dashed var(--line);border-radius:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:900px){.comparison-metrics{grid-template-columns:1fr 1fr}.metric:nth-child(2){border-right:0}.season-grid{grid-template-columns:1fr}.section-heading>span{display:none}.page-heading{align-items:flex-start}.page-heading>a{white-space:normal;text-align:right}footer{margin:0 24px}}
@media(max-width:600px){main{padding:16px 12px}.page-heading{display:block}.page-heading>a{display:inline-block;margin-top:15px}#updatedAt{width:100%;margin:0}.team-toolbar>label{flex:1;min-width:0}.team-toolbar select{min-width:0;flex:1}.section-heading{align-items:flex-start;flex-direction:column;gap:12px}.section-heading h2{font-size:18px}.fixture{grid-template-columns:65px 1fr auto;gap:8px}.fixture-opponent{font-size:13px}.metric{padding:10px}.metric-pair{gap:10px}.metric-pair strong{font-size:18px}footer{flex-direction:column;margin:0 16px}dialog{padding:16px}.dialog-header h2{font-size:18px}}
#favoriteButton:disabled{opacity:.5}#loadStatus button{padding:7px 12px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--blue)}
.team-picker{position:relative;display:flex;align-items:center;gap:10px;flex:0 1 290px;min-width:0}.team-picker>label{white-space:nowrap}.team-picker-field{position:relative;flex:1;min-width:0}.team-picker-field input{width:100%;min-height:34px;border:1px solid #bdcad8;border-radius:6px;padding:7px 28px 7px 10px;background:white;font:inherit;color:var(--ink)}#teamPickerToggle{position:absolute;right:1px;top:1px;bottom:1px;width:32px;min-height:0;padding:0;border:0;border-radius:0 5px 5px 0;background:transparent;color:var(--muted);font-size:16px}#teamPickerToggle:hover{background:#edf3ff}.team-picker-field input:focus-visible{outline:3px solid #3971c9;outline-offset:2px}.team-popup{position:absolute;z-index:20;top:calc(100% + 6px);left:0;width:100%;min-width:260px;padding:6px;background:white;border:1px solid #bdcad8;border-radius:8px;box-shadow:0 8px 22px rgba(35,52,66,.14)}#teamOptions{max-height:300px;overflow-y:auto;overscroll-behavior:contain}.team-option-group{padding:10px 10px 5px;font-size:12px;font-weight:600;color:var(--muted)}#teamOptions [role=option]{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;border:0;border-radius:4px;min-height:34px;padding:7px 9px;text-align:left;color:var(--ink);background:white;font-size:13px}#teamOptions [role=option] small{font-size:11px;white-space:nowrap}#teamOptions [aria-selected=true]{font-weight:700;color:var(--blue)}#teamOptions .is-active,#teamOptions [role=option]:hover{background:#edf3ff}#searchStatus{font-size:12px;color:var(--muted);margin:0;padding:10px;border-top:1px solid var(--line)}@media(max-width:600px){.team-picker{flex:1 1 100%}.team-popup{min-width:0}.team-toolbar{gap:10px}}
.view-tabs{display:flex;gap:4px;margin:4px 0 16px;border-bottom:1px solid #bdcad8}.view-tabs [role=tab]{position:relative;min-height:36px;padding:8px 16px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font-weight:600}.view-tabs [role=tab]:hover{background:#eaf0f7;color:var(--ink)}.view-tabs [aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue);background:#eaf1ff;border-radius:6px 6px 0 0}.view-surface{padding:16px;background:white;border:1px solid var(--line);border-radius:10px}.view-surface>.section-heading{margin:0 0 14px}.section-heading>div>p{font-size:13px;color:var(--muted);margin:7px 0 0}.performance-toggle{font-size:12px;color:var(--muted);white-space:nowrap;cursor:pointer}.performance-toggle input{width:16px;height:16px;accent-color:var(--blue)}#standings:not(.show-performance) :is(th,td):nth-child(n+6):nth-child(-n+7){display:none}.season-sections{display:flex;flex-direction:column;gap:10px}.content-section{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden}.content-section>summary{padding:13px 16px;cursor:pointer;font-size:14px;font-weight:600;list-style:none;display:flex;align-items:center;gap:10px}.content-section>summary::-webkit-details-marker{display:none}.content-section>summary::before{content:'›';font-size:24px;font-weight:400;color:var(--muted);line-height:1;transform:rotate(0)}.content-section[open]>summary::before{transform:rotate(90deg)}.content-section>summary>span{margin-left:auto;color:var(--muted);font-size:12px;font-weight:400}.content-section[open]>summary{border-bottom:1px solid var(--line)}.section-body{padding:6px 14px 12px}.section-source{margin:8px 0;font-size:12px;text-align:right}.view-surface .table-note:last-child{margin-bottom:0}@media(max-width:600px){.view-tabs{gap:0;margin-bottom:12px}.view-tabs [role=tab]{flex:1;padding:9px 10px;font-size:13px}.view-surface{padding:12px 10px}.content-section>summary{padding:13px 14px}.section-body{padding:8px 12px 12px}.performance-toggle{min-height:40px}.view-surface .section-heading{gap:8px}}

#standings th{white-space:normal;line-height:1.3}#standings td:nth-child(2){white-space:normal;width:26%;min-width:140px}#standings .team-link{white-space:normal;line-height:1.35}#standings.show-performance th:nth-child(n+6):nth-child(-n+7){max-width:95px}@media(max-width:600px){button,select{min-height:40px}.team-picker-field input{min-height:40px}#teamPickerToggle{width:38px}#teamOptions [role=option]{min-height:42px}.view-tabs [role=tab]{min-height:40px}.fixture button{min-height:36px}.team-link{min-height:28px}th button{min-height:28px}footer{margin:0 12px}}

.team-brief{background:white;border:1px solid var(--line);border-radius:7px;margin-bottom:12px;overflow:hidden}.brief-stats{display:flex;flex-wrap:wrap;align-items:center;gap:12px 26px;margin:0;padding:11px 14px;background:#f8fafc}.brief-stats>div{display:flex;align-items:baseline;gap:6px}.brief-stats dt{font-size:12px;color:var(--muted)}.brief-stats dd{margin:0;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}#positionHistory{margin-bottom:12px}#positionHistory:empty{display:none}@media(max-width:600px){.brief-stats{gap:10px;padding:10px 12px}.brief-stats>div{flex:1;flex-direction:column;gap:3px}.brief-stats dt{font-size:11px}}
.team-link:disabled{opacity:1;color:var(--blue)}.player-link{padding:0;min-height:22px;border:0;background:transparent;color:var(--blue);font:inherit;text-align:left;line-height:1.4;white-space:normal}.player-link:hover{text-decoration:underline}.metric-pair span:last-child{color:var(--green)}.player-games small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.player-games td:nth-child(4){white-space:normal;min-width:130px}.player-games td:first-child{white-space:nowrap}@media(max-width:600px){.player-link{min-height:28px}}
.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line)}.calendar-heading h2{font-size:14px;margin:0}.calendar-heading>span{font-size:12px;color:var(--muted)}.fixture-opponent .team-link{font-size:12px}
.season-calendar .calendar-heading{padding:9px 12px}.calendar-links{display:flex;align-items:center;gap:14px;font-size:11px;color:var(--muted)}#calendar .calendar-table{font-size:12px;table-layout:fixed}#calendar .fixture{display:table-row;padding:0;border-left:0;background:white}#calendar th,#calendar td{padding:3px 8px;line-height:1.25;vertical-align:middle;text-align:left}#calendar th{padding-top:6px;padding-bottom:6px;font-size:11px}#calendar :is(th,td):first-child{width:48px;text-align:center}#calendar :is(th,td):nth-child(2){width:104px}#calendar :is(th,td):nth-child(4){width:62px;font-size:11px;color:var(--muted)}#calendar :is(th,td):last-child{width:76px;text-align:right}#calendar .fixture-opponent{white-space:normal;font-weight:400}#calendar button{min-height:24px;min-width:0;padding:0;border:0;border-radius:0;background:transparent;font-size:12px}#calendar button:hover{text-decoration:underline}#calendar [data-match]{font-weight:600}#calendar .team-link{overflow-wrap:anywhere;line-height:1.25}#calendar .next-fixture{background:#edf3ff}#calendar .next-fixture td:first-child{box-shadow:inset 2px 0 var(--blue)}.next-label{display:inline-block;margin-left:7px;padding:2px 5px;border-radius:3px;font-size:10px;color:var(--blue);background:#dde9fc}#calendar tbody tr:last-child td{border-bottom:0}@media(max-width:600px){.calendar-links{gap:8px}.calendar-links>span{display:none}#calendar th,#calendar td{padding:4px 5px}#calendar :is(th,td):first-child{width:34px}#calendar :is(th,td):nth-child(2){width:73px;font-size:11px;white-space:normal}#calendar :is(th,td):nth-child(4){width:42px}#calendar :is(th,td):last-child{width:60px}#calendar button{min-height:28px}.next-label{margin-left:4px;padding:1px 3px}}
@media(min-width:601px){#calendar th,#calendar td{padding-top:2px;padding-bottom:2px}#calendar th{padding-top:4px;padding-bottom:4px}#calendar button{min-height:22px}.season-calendar .calendar-heading{padding-top:6px;padding-bottom:6px}#playersSection>summary{padding-top:10px;padding-bottom:10px}.page-heading{margin-bottom:12px}.team-toolbar{padding-top:8px;padding-bottom:8px}.view-tabs{margin-bottom:12px}main{padding-top:16px;padding-bottom:12px}}
#calendar :is(th,td):last-child{width:116px}#calendar .encounter-action{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;color:var(--blue)}.encounter-cue{font-size:10px;font-weight:400;color:var(--blue)}@media(max-width:600px){#calendar :is(th,td):last-child{width:100px}#calendar .encounter-action{gap:4px;font-size:11px}.encounter-cue{font-size:10px}}

.player-games .player-game-win{background:#e6f4ea}.player-games .player-game-loss{background:#fce8e6}.player-games .player-game-draw{background:#f8f9fa}.player-result{padding:3px 6px;border-radius:4px;white-space:nowrap}.player-result.win{color:#155724}.player-result.loss{color:#721c24}



#teamOptions .player-search-option small{display:block;margin-top:3px;white-space:normal;line-height:1.4;font-weight:400}.players-table .searched-player{background:#edf3ff}.players-table .searched-player td:first-child{box-shadow:inset 3px 0 var(--blue)}
