/* TSP typography and compact section layout. Scoped to the season reader. */
.tsp-mlb-history-shell{background:#fafafa;font-family:"TSP Inter",Inter,Arial,sans-serif}
.tsp-mlb-history-shell :is(.tsp-masthead,.tsp-footer){font-family:"TSP Inter",Inter,Arial,sans-serif}
.tsp-mlb-history{--mlh-paper:#fafafa;--mlh-ink:#17242b;--mlh-muted:#66727a;--mlh-rule:#d9dddf;--mlh-yellow:#ffdf00;--mlh-soft:#eceff0;box-sizing:border-box;min-width:0;width:100%;max-width:1280px;margin:0 auto;padding:18px 20px 28px;background:var(--mlh-paper);color:var(--mlh-ink);font:400 14px/1.4 "TSP Inter",Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}
.tsp-mlb-history *{box-sizing:border-box}.tsp-mlb-history [hidden]{display:none!important}.tsp-mlb-history :is(button,input,select){font:inherit;color:inherit}.tsp-mlb-history button{cursor:pointer}.tsp-mlb-history button:disabled{cursor:default;opacity:.4}.tsp-mlb-history :is(a,button,input,select):focus-visible{outline:2px solid var(--mlh-ink);outline-offset:3px}.tsp-mlb-history a{color:inherit}.mlh-back{display:inline-flex;align-items:center;min-height:44px;color:var(--mlh-muted)!important;font-size:12px;text-decoration:none}.mlh-back:hover{text-decoration:underline}.mlh-heading{margin:0 0 9px}.mlh-eyebrow{font-size:10px;letter-spacing:.14em;font-weight:750;color:var(--mlh-muted);margin:0 0 8px}.mlh-heading h1{font:400 clamp(30px,3.3vw,40px)/1.12 "Editorial Anton","Arial Narrow",Arial,sans-serif;letter-spacing:-.3px;text-transform:uppercase;margin:0}.mlh-heading>p:last-of-type{font-size:13px;color:var(--mlh-muted);margin:0 0 18px}.mlh-views{display:flex;flex-wrap:wrap;gap:0 24px;border-bottom:1px solid var(--mlh-rule);padding-top:4px}.mlh-views a{display:flex;align-items:center;min-height:46px;padding:10px 0 9px;text-decoration:none;border-bottom:3px solid transparent;font-size:13px;color:var(--mlh-muted);font-weight:650}.mlh-views a[aria-current=page]{border-bottom-color:var(--mlh-yellow);color:var(--mlh-ink);font-weight:800}.mlh-status{font-size:12px;color:var(--mlh-muted);margin:0 0 12px;min-height:20px}.mlh-status a{margin-left:7px;text-underline-offset:3px}.mlh-section{margin-top:20px;padding-top:16px;border-top:1px solid var(--mlh-rule);min-width:0}.mlh-section:first-child{margin-top:0;padding-top:0;border-top:0}.mlh-section-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:7px 16px;margin-bottom:10px}.mlh-section h2{font:400 23px/1.15 "Editorial Anton","Arial Narrow",Arial,sans-serif;letter-spacing:0;text-transform:uppercase;margin:0}.mlh-section-heading>p{font-size:11px;color:var(--mlh-muted);margin:0}.mlh-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 0;font-size:13px;font-weight:700;text-underline-offset:5px}.mlh-note,.mlh-source{color:var(--mlh-muted);font-size:12px;line-height:1.65}.mlh-source{margin:17px 0 0}.mlh-notice{border-left:3px solid var(--mlh-yellow);padding:7px 12px;margin:16px 0;color:var(--mlh-muted);font-size:13px}.mlh-retry{background:transparent;border:0;text-decoration:underline;min-height:44px;padding:8px;font-size:13px;font-weight:700}.mlh-week-bar{display:flex;align-items:center;gap:14px;background:var(--mlh-ink);color:var(--mlh-paper);padding:13px 18px;border-radius:5px;margin-bottom:19px}.mlh-week-bar label{display:flex;align-items:center;gap:12px;flex:1;justify-content:center;font-size:11px;font-weight:750;letter-spacing:.1em}.mlh-week-bar select{background:var(--mlh-ink);border:0;color:var(--mlh-yellow);font-size:17px;font-weight:750;min-height:44px;padding:6px;max-width:150px}.mlh-week-bar button{width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;background:#ffffff12;color:var(--mlh-paper);font-size:24px}.mlh-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}.mlh-day{grid-column:1/-1;margin:22px 0 0;padding:0 0 7px;border-bottom:1px solid var(--mlh-rule);font-size:11px;letter-spacing:.05em;font-weight:750;color:var(--mlh-muted)}.mlh-day:first-child{margin-top:0}.mlh-game{display:block;width:100%;min-width:0;text-align:left;padding:16px 0;border:0;border-bottom:1px solid var(--mlh-rule);background:transparent}.mlh-game:hover,.mlh-stat-row:hover,.mlh-team-button:hover{background:#d9dddf2e}.mlh-game-status{display:block;font-size:10px;color:var(--mlh-muted);margin-bottom:10px}.mlh-live{color:#ad2323!important;font-weight:800}.mlh-game-team{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;margin:7px 0;font-size:14px;font-weight:700}.mlh-game-team b{font-size:19px;font-variant-numeric:tabular-nums}.mlh-game-team small{font-size:10px;display:block;font-weight:400;color:var(--mlh-muted)}.mlh-game-info{display:block;font-size:11px;color:var(--mlh-muted);margin-top:10px}.mlh-logo{width:30px;height:30px;object-fit:contain;flex-shrink:0}.mlh-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px 24px;margin-bottom:12px}.mlh-controls label{display:flex;flex-direction:column;gap:5px;font-size:10px;font-weight:750;color:var(--mlh-muted);letter-spacing:.04em;min-width:0;flex:1 1 130px}.mlh-controls :is(select,input){appearance:auto;min-height:46px;background:transparent;color:var(--mlh-ink);border:0;border-bottom:1px solid var(--mlh-rule);border-radius:0;padding:8px 2px;font-size:16px;width:100%;min-width:0;max-width:100%}.mlh-controls label.mlh-wide{flex-basis:220px}.mlh-tabs{display:flex;flex-wrap:wrap;gap:0 18px;border-bottom:1px solid var(--mlh-rule);margin:0 0 10px}.mlh-tabs button{min-height:46px;padding:11px 1px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--mlh-muted);font-size:12px;font-weight:650;white-space:nowrap}.mlh-tabs button[aria-pressed=true]{border-bottom-color:var(--mlh-yellow);color:var(--mlh-ink);font-weight:800}.mlh-table-wrap{overflow:auto;max-width:100%;overscroll-behavior-inline:contain}.mlh-table{border-collapse:collapse;width:100%;font-size:13px;font-variant-numeric:tabular-nums}.mlh-table th{font-size:10px;color:var(--mlh-muted);font-weight:750;text-align:right;white-space:nowrap;padding:10px 7px;border-bottom:1px solid var(--mlh-rule)}.mlh-table td{padding:11px 7px;border-bottom:1px solid var(--mlh-rule);text-align:right}.mlh-table :is(th,td):first-child{text-align:left}.mlh-table button{display:flex;gap:9px;align-items:center;min-height:44px;min-width:110px;text-align:left;padding:0;border:0;background:transparent;font-weight:700}.mlh-division{font-size:14px;font-weight:750;margin:22px 0 9px}.mlh-directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px 16px}.mlh-team-button{display:flex;align-items:center;gap:11px;min-height:66px;width:100%;padding:9px 0;border:0;border-bottom:1px solid var(--mlh-rule);background:transparent;text-align:left;min-width:0}.mlh-team-button .mlh-logo{width:42px;height:42px}.mlh-team-button strong{font-size:13px;line-height:1.4}.mlh-team-button small{display:block;font-size:10px;font-weight:400;color:var(--mlh-muted);margin-top:4px}.mlh-stat-row{display:grid;grid-template-columns:22px 53px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;min-height:68px;text-align:left;padding:10px 0;border:0;border-bottom:1px solid var(--mlh-rule);background:transparent}.mlh-rank{font-size:11px;color:var(--mlh-muted);font-variant-numeric:tabular-nums}.mlh-headshot{width:53px;height:53px;object-fit:contain;object-position:center bottom;background:var(--mlh-soft);border-radius:50%}.mlh-image-fallback{display:grid;place-items:center;font-size:12px;font-weight:750;color:var(--mlh-muted)}.mlh-stat-name{font-size:14px;font-weight:750;line-height:1.4;overflow-wrap:break-word}.mlh-stat-name small{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:400;color:var(--mlh-muted);margin-top:4px}.mlh-stat-name .mlh-logo{width:17px;height:17px}.mlh-stat-value{font-size:24px;font-weight:800;letter-spacing:-.4px;line-height:1.2;text-align:right;font-variant-numeric:tabular-nums}.mlh-stat-value small{display:block;max-width:120px;font-size:9px;font-weight:500;line-height:1.5;letter-spacing:0;color:var(--mlh-muted);margin-top:3px}.mlh-stats-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:13px}.mlh-load-more{min-height:44px;padding:10px 0;border:0;background:transparent;text-decoration:underline;font-size:13px;font-weight:750;text-underline-offset:5px}.mlh-dialog{width:calc(100% - 28px);max-width:550px;max-height:calc(100dvh - 36px);overflow:auto;border:0;border-radius:6px;padding:0;background:var(--mlh-paper);color:var(--mlh-ink);box-shadow:0 22px 70px #17242b45;font-family:inherit}.mlh-dialog::backdrop{background:#17242b99}.mlh-dialog-inner{padding:25px;position:relative;min-height:200px}.mlh-close{float:right;width:44px;height:44px;background:var(--mlh-soft);border:0;border-radius:50%;font-size:25px}.mlh-dialog .mlh-profile-image{width:104px;height:104px;object-fit:contain;object-position:center bottom;margin:16px 0;border-radius:12px;background:var(--mlh-soft)}.mlh-dialog h2{font:750 32px/1.13 "TSP Inter",Arial,sans-serif;letter-spacing:-.7px;margin:12px 0}.mlh-dialog h3{font:750 21px/1.25 "TSP Inter",Arial,sans-serif;margin-top:25px}.mlh-dialog dl{margin:15px 0}.mlh-dialog dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--mlh-rule)}.mlh-dialog dt{font-size:12px;color:var(--mlh-muted)}.mlh-dialog dd{font-size:19px;font-weight:750;margin:0;text-align:right;font-variant-numeric:tabular-nums}.mlh-dialog .mlh-game-team{font-size:15px}.mlh-filter-line{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;color:var(--mlh-muted);margin-bottom:12px}.mlh-filter-line button{min-height:44px;border:0;background:transparent;text-decoration:underline;padding:6px 0}.mlh-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1000px){.tsp-mlb-history{padding-top:20px}.mlh-controls{max-width:880px}.mlh-stat-row{grid-template-columns:26px 56px minmax(0,1fr) auto}.mlh-dialog .mlh-games{grid-template-columns:1fr}}
@media(max-width:700px){.tsp-mlb-history{padding:12px 14px 22px}.mlh-views{gap:0 20px}.mlh-games{grid-template-columns:1fr}.mlh-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.mlh-section{margin-top:18px;padding-top:14px}.mlh-section h2{font:400 23px/1.15 "Editorial Anton","Arial Narrow",Arial,sans-serif;letter-spacing:0;text-transform:uppercase;margin:0}.mlh-dialog-inner{padding:20px}.mlh-stat-row{grid-template-columns:15px 45px minmax(0,1fr) auto;gap:8px}.mlh-headshot{width:45px;height:45px}.mlh-stat-name{font-size:13px}.mlh-stat-value{font-size:21px}.mlh-stat-value small{max-width:90px}.mlh-week-bar{padding:10px}.mlh-controls{gap:10px 18px}.mlh-controls label{flex-basis:130px}.mlh-controls label.mlh-wide{flex-basis:100%}.mlh-table th,.mlh-table td{padding-left:5px;padding-right:5px}.mlh-table button{min-width:100px;gap:6px}.mlh-table .mlh-logo{width:24px;height:24px}}
@media(prefers-reduced-motion:no-preference){.mlh-game,.mlh-team-button,.mlh-stat-row{transition:background .15s ease}}
/* One persistent team season, using the same editorial spacing and paper. */
.tsp-mlb-history :is(a.mlh-team-button,a.mlh-stat-row){text-decoration:none}
.mlh-standings-team{display:flex;align-items:center;gap:9px;min-height:44px;min-width:110px;text-align:left;font-weight:700;text-decoration:none}
.mlh-team-breadcrumb .mlh-link{font-size:12px;color:var(--mlh-muted);padding-top:0}
.mlh-team-hero{display:flex;align-items:center;gap:14px;padding:6px 0 12px;min-width:0}
.mlh-team-hero>div{min-width:0}.mlh-team-hero-logo{width:60px;height:60px;object-fit:contain;flex-shrink:0}
.mlh-team-hero h2{font:750 clamp(30px,4vw,46px)/1.12 "TSP Inter",Arial,sans-serif;letter-spacing:-1px;margin:5px 0 12px;overflow-wrap:anywhere}
.mlh-team-record{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin:0;color:var(--mlh-muted);font-size:12px}
.mlh-team-record strong{font-size:25px;letter-spacing:-.6px;color:var(--mlh-ink);font-variant-numeric:tabular-nums}
.mlh-team-tabs{display:flex;flex-wrap:wrap;gap:0 26px;border-bottom:1px solid var(--mlh-rule);margin:0 0 14px}
.mlh-team-tabs a{display:flex;align-items:center;min-height:46px;padding:10px 0 9px;border-bottom:3px solid transparent;font-size:13px;font-weight:650;color:var(--mlh-muted);text-decoration:none}
.mlh-team-tabs a[aria-current=page]{border-bottom-color:var(--mlh-yellow);font-weight:800;color:var(--mlh-ink)}
.mlh-team-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0;padding:6px 0 4px}
.mlh-team-summary dt{font-size:11px;color:var(--mlh-muted)}.mlh-team-summary dd{font-size:31px;font-weight:750;letter-spacing:-1px;margin:5px 0 0;font-variant-numeric:tabular-nums}
.mlh-schedule-row{display:grid;grid-template-columns:70px minmax(0,1fr) minmax(120px,.55fr) 15px;align-items:center;gap:18px;padding:11px 0;border-bottom:1px solid var(--mlh-rule);text-decoration:none;min-width:0}
.mlh-schedule-week{font-size:10px;letter-spacing:.05em;font-weight:750;color:var(--mlh-muted);white-space:nowrap}
.mlh-schedule-opponent{display:flex;align-items:center;gap:12px;min-width:0}.mlh-schedule-opponent>span{min-width:0}
.mlh-schedule-opponent strong{font-size:14px;line-height:1.45}.mlh-schedule-row small{display:block;font-size:11px;font-weight:400;color:var(--mlh-muted);line-height:1.5;margin-top:4px;overflow-wrap:anywhere}
.mlh-schedule-result{text-align:right;font-size:14px;font-variant-numeric:tabular-nums}.mlh-schedule-result strong{font-weight:750}
a.mlh-schedule-row:hover{background:#d9dddf2e}.mlh-schedule-bye,.mlh-schedule-unavailable{grid-template-columns:70px minmax(0,1fr) minmax(120px,.55fr);color:var(--mlh-muted);font-size:12px}
.mlh-schedule-bye strong,.mlh-schedule-unavailable strong{font-size:14px;color:var(--mlh-ink)}
.mlh-roster-summary{display:flex;gap:14px 25px;flex-wrap:wrap;color:var(--mlh-muted);font-size:12px}.mlh-roster-summary strong{font-size:18px;color:var(--mlh-ink);font-variant-numeric:tabular-nums}
.mlh-roster-group{margin-top:25px}.mlh-roster-group>h3{display:flex;align-items:baseline;gap:12px;font:750 22px/1.3 "TSP Inter",Arial,sans-serif;margin:0 0 7px}.mlh-roster-group>h3 small{font:500 11px/1.5 Inter,Arial,sans-serif;color:var(--mlh-muted)}
.mlh-roster-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}
.mlh-roster-player{display:grid;grid-template-columns:48px minmax(0,1fr) minmax(55px,auto) 12px;align-items:center;gap:12px;width:100%;min-height:72px;padding:10px 0;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--mlh-rule)}
.mlh-roster-player>.mlh-headshot{height:48px;width:48px}.mlh-roster-player>span{min-width:0;overflow-wrap:anywhere}.mlh-roster-player strong{font-size:13px;line-height:1.45}.mlh-roster-player small{display:block;font-size:10px;font-weight:400;color:var(--mlh-muted);margin-top:4px;line-height:1.5}.mlh-roster-status{font-size:10px;color:var(--mlh-muted);overflow-wrap:anywhere;text-align:right;max-width:85px}
.mlh-roster-player:hover{background:#d9dddf2e}
.mlh-team-metrics dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 35px;margin:0}
.mlh-team-metrics dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid var(--mlh-rule);min-width:0}
.mlh-team-metrics dt{font-size:12px;color:var(--mlh-muted);overflow-wrap:anywhere}.mlh-team-metrics dd{font-size:24px;line-height:1.3;font-weight:750;margin:0;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.mlh-team-coverage{border-top:1px solid var(--mlh-rule);padding-top:25px;margin-top:20px}.mlh-team-coverage h3{font:750 24px/1.25 "TSP Inter",Arial,sans-serif;margin:7px 0 0}
.mlh-team-sources{margin-top:24px;color:var(--mlh-muted);font-size:12px}.mlh-team-sources summary{cursor:pointer;min-height:44px;display:list-item;padding:11px 0}
.mlh-dialog .mlh-player-bio dd{font-size:14px;font-weight:600;overflow-wrap:anywhere}.mlh-dialog .mlh-player-bio dt{min-width:90px}
@media(max-width:900px){.mlh-roster-list{grid-template-columns:1fr}}
@media(max-width:700px){.mlh-team-hero{gap:15px;align-items:flex-start;padding:10px 0 20px}.mlh-team-hero-logo{width:64px;height:64px;margin-top:8px}.mlh-team-hero h2{font-size:30px;letter-spacing:-.7px}.mlh-team-record{gap:5px 12px}.mlh-team-record span{flex-basis:100%}.mlh-team-tabs{gap:0 22px;margin-bottom:14px}.mlh-team-tabs a{font-size:12px}.mlh-team-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}.mlh-team-summary dd{font-size:28px}.mlh-schedule-row{grid-template-columns:52px minmax(0,1fr) 15px;gap:10px;padding:11px 0}.mlh-schedule-week{font-size:9px;grid-column:1;grid-row:1/3;align-self:center}.mlh-schedule-opponent{grid-column:2;gap:8px}.mlh-schedule-opponent .mlh-logo{width:27px;height:27px}.mlh-schedule-opponent strong{font-size:13px}.mlh-schedule-result{grid-column:2;text-align:left;padding-left:35px;font-size:13px}.mlh-schedule-row>[aria-hidden]{grid-column:3;grid-row:1/3}.mlh-schedule-bye,.mlh-schedule-unavailable{grid-template-columns:52px minmax(0,1fr);font-size:11px}.mlh-schedule-bye>span:last-child,.mlh-schedule-unavailable>span:last-child{grid-column:2}.mlh-roster-player{grid-template-columns:44px minmax(0,1fr) 65px 10px;gap:8px;min-height:72px}.mlh-roster-player>.mlh-headshot{width:44px;height:44px}.mlh-roster-player strong{font-size:12px}.mlh-roster-status{font-size:9px;max-width:65px}.mlh-team-metrics dl{grid-template-columns:1fr;gap:0}.mlh-team-metrics dl>div{padding:10px 0}.mlh-team-metrics dd{font-size:22px}.mlh-standings-team{min-width:100px;gap:6px}}
@media(prefers-reduced-motion:no-preference){.mlh-schedule-row,.mlh-roster-player{transition:background .15s ease}}

/* One context line, one title, then navigation and useful data. */
.mlh-context{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;margin-bottom:5px;font-size:11px;color:var(--mlh-muted)}
.mlh-context .mlh-back{min-height:34px;padding:0;font-size:11px;font-weight:650}
.mlh-edition{white-space:nowrap;font-weight:650}
.mlh-heading{border-top:3px solid var(--mlh-ink);padding-top:12px}
.mlh-views{gap:0 22px;padding-top:8px}.mlh-views a[aria-current=page],.mlh-tabs button[aria-pressed=true],.mlh-team-tabs a[aria-current=page]{border-bottom-color:#e31b23}
.mlh-status{line-height:1.4;font-size:11px;min-height:16px}
.mlh-section-heading{border-bottom:1px solid var(--mlh-rule);padding-bottom:8px}
.mlh-section-heading>p{font-size:11px}
.mlh-week-bar{padding:4px 10px;margin-bottom:9px;background:#171d21;color:#fff;gap:8px}
.mlh-week-bar select{background:#171d21;color:#ffdf00;font-size:16px}.mlh-week-bar button{height:44px;width:44px;background:transparent}
.mlh-controls{gap:8px 18px}.mlh-controls :is(input,select){min-height:44px;padding:6px 2px}
.mlh-table td{padding-block:5px}.mlh-table th{padding-block:7px}.mlh-table :is(a,button){min-height:40px}
.mlh-note-details,.mlh-source-details{font-size:11px;color:var(--mlh-muted);margin:6px 0 0;line-height:1.5}
.mlh-note-details summary,.mlh-source-details summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:600}
.mlh-note-details p,.mlh-source-details p{margin:0 0 8px}.mlh-source-details .mlh-source{margin:0 0 8px}
.mlh-note{line-height:1.45;margin:8px 0}.mlh-link{padding-block:6px}
.mlh-notice{font-size:12px;line-height:1.45;padding:6px 10px;margin:10px 0;border-left-color:#e31b23}
.mlh-team-hero .mlh-eyebrow{margin:0 0 5px;letter-spacing:.04em}.mlh-team-record{gap:8px 14px}.mlh-team-record strong{font-size:24px}
.mlh-team-summary{gap:12px;padding:0}.mlh-team-summary dd{font-size:27px;margin-top:3px}
.mlh-team-coverage{padding-top:12px;margin-top:16px}.mlh-team-coverage h3{font:750 16px/1.3 "TSP Inter",Arial,sans-serif;margin:0}
.mlh-team-metrics dl>div{padding:10px 0}.mlh-roster-group>h3{font:750 16px/1.3 "TSP Inter",Arial,sans-serif;margin-bottom:3px}
.mlh-dialog h2{font:750 28px/1.15 "TSP Inter",Arial,sans-serif}.mlh-dialog h3{font:750 18px/1.3 "TSP Inter",Arial,sans-serif}
@media(min-width:1100px){
 #mlh-content[data-view="overview"]{display:block}
 #mlh-content[data-view="overview"]>.mlh-section{margin:22px 0 0;padding:0;border:0}
 #mlh-content[data-view="overview"]>#mlh-teams{grid-column:1/-1}
 #mlh-content[data-view="overview"] .mlh-games{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px}
}
@media(max-width:700px){
 .mlh-context{font-size:10px;gap:8px}.mlh-context .mlh-back{font-size:11px}.mlh-edition{font-size:10px}
 .mlh-heading h1{font-size:30px}.mlh-views{gap:0 18px}.mlh-views a{font-size:12px;min-height:44px;padding-block:8px}
 .mlh-team-record span{flex-basis:auto}.mlh-team-hero-logo{width:50px;height:50px;margin:0}.mlh-team-hero{align-items:center}
 .mlh-team-summary{gap:12px 20px}.mlh-team-summary dd{font-size:26px}.mlh-team-tabs{gap:0 18px}
 .mlh-team-tabs a{font-size:12px}.mlh-team-sources{margin-top:10px}
 .mlh-game{padding:10px 0}.mlh-game-status{margin-bottom:5px}.mlh-game-team{margin:4px 0}.mlh-game-info{margin-top:5px}
 .mlh-stat-row{min-height:68px;padding:9px 0}.mlh-team-button{min-height:66px;padding:8px 0}
}

.mlh-section-heading-redundant{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;padding:0;border:0;margin:0}
.mlh-browse-teams{grid-column:1/-1;border-top:2px solid var(--mlh-ink);padding-top:8px}

.mlh-week-bar :is(button,select):focus-visible{outline:2px solid #ffdf00;outline-offset:2px}
.mlh-heading h1{display:flex;gap:12px;align-items:center}.mlh-title-logo{width:42px;height:42px;object-fit:contain;flex-shrink:0}
.mlh-team-breadcrumb{display:flex;justify-content:flex-end;height:0;position:relative;top:6px}.mlh-team-breadcrumb .mlh-link{min-height:34px;position:relative;z-index:1}
.mlh-team-hero{padding-right:90px}.mlh-team-hero .mlh-eyebrow{margin-bottom:3px}
.mlh-notice p{margin:3px 0}.mlh-notice{border-radius:0}
@media(max-width:700px){.mlh-title-logo{width:34px;height:34px}.mlh-heading h1{gap:8px}.mlh-team-hero{padding-right:80px}}

@media(max-width:1100px){body.tsp-mlb-history-shell.tsp-shared-quick-links .tsp-home-rail{padding-top:0!important;margin:10px auto 0!important}}
@media(max-width:700px){.mlh-views{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:0 12px}.mlh-views a{font-size:11px;white-space:nowrap;flex:none}.mlh-heading{padding-top:10px}.mlh-team-tabs{margin-bottom:10px}}

@media(min-width:1100px){#mlh-content[data-view="overview"] :is(#mlh-stats-players,#mlh-stats-teams) .mlh-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;max-width:none}#mlh-content[data-view="overview"] :is(#mlh-stats-players,#mlh-stats-teams) .mlh-controls label.mlh-wide{grid-column:1/-1}}

/* Ordering stays beside the statistic: one tap reverses the current direction. */
.mlh-metric-control{display:flex;align-items:flex-end;gap:8px;min-width:0;flex:2 1 220px}
.mlh-metric-control>label{flex:1 1 0;min-width:0}
.mlh-controls .mlh-sort-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-bottom:1px solid var(--mlh-rule);border-radius:0;background:transparent;color:var(--mlh-ink);font:600 24px/1 "TSP Inter",Arial,sans-serif;cursor:pointer}
.mlh-sort-toggle:hover{background:#f0f1f2}
.mlh-stat-controls>label:has([data-mlh-mode]){flex:1 1 115px}
@media(min-width:1100px){#mlh-content[data-view="overview"] :is(#mlh-stats-players,#mlh-stats-teams) .mlh-controls{grid-template-columns:minmax(0,1.6fr) minmax(110px,1fr);gap:8px 14px}}
@media(max-width:700px){.mlh-stat-controls{gap:8px 12px}.mlh-metric-control{flex:1 1 180px}.mlh-stat-controls>label:has([data-mlh-mode]){flex:0 1 115px}}

/* Football standings: division races and separate source-seeded playoff picture. */
.mlh-standings-controls{display:flex;align-items:center;justify-content:space-between;gap:8px 24px;flex-wrap:wrap;margin:0 0 14px}
.mlh-standings-controls .mlh-tabs{margin:0;gap:0 20px}.mlh-conference-tabs{gap:0 14px!important}
.mlh-standings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 28px;align-items:start}
.mlh-conference{min-width:0}.mlh-conference-title{font:750 20px/1.3 "TSP Inter",Arial,sans-serif;margin:0;padding:0 0 8px;border-bottom:2px solid var(--mlh-ink)}
.mlh-division-card,.mlh-playoff-group{margin:0 0 18px}.mlh-division-card h4,.mlh-playoff-group h4{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:12px 0 7px;font:750 13px/1.4 "TSP Inter",Arial,sans-serif}
.mlh-playoff-group h4>span{font-size:10px;font-weight:400;color:var(--mlh-muted)}
.mlh-division-table,.mlh-playoff-table{width:100%;min-width:0;table-layout:auto}.mlh-division-table th,.mlh-playoff-table th{font-size:10px;white-space:nowrap}
.mlh-division-table td,.mlh-playoff-table td{font-size:12px;padding:5px 6px;white-space:nowrap}.mlh-division-table :is(th,td):first-child,.mlh-playoff-table :is(th,td):first-child{padding-left:0}
.mlh-division-table :is(th,td):last-child,.mlh-playoff-table :is(th,td):last-child{padding-right:0}
.mlh-standings-team{gap:7px;min-width:0}.mlh-standing-name{white-space:normal;line-height:1.25}.mlh-standing-abbr{display:none}
.mlh-standings-team .mlh-logo{width:24px;height:24px;flex:0 0 24px}.mlh-seed{display:inline-block;width:20px;font-weight:750;text-align:center}
.mlh-bye-label{display:block;font-size:9px;color:var(--mlh-muted);padding-left:31px;margin-top:-5px;line-height:1.3}
.mlh-playoff-group[data-mlh-playoff-group="wildcard"]{border-bottom:2px solid #e31b23;padding-bottom:6px}.mlh-playoff-context{font-size:11px;color:var(--mlh-muted);margin:0 0 14px}
.mlh-standings-compact{grid-template-columns:1fr;gap:14px}.mlh-standings-compact .mlh-conference-title{font-size:15px}.mlh-standings-compact .mlh-playoff-group{margin-bottom:6px}
.mlh-standings-compact .mlh-playoff-group h4{padding-top:8px;font-size:11px}.mlh-standings-compact .mlh-playoff-group h4>span{display:none}
.mlh-standings-compact .mlh-table :is(a,button){min-height:32px}.mlh-standings-compact .mlh-table td{padding-block:3px}
@media(max-width:1100px){.mlh-standings-grid{grid-template-columns:1fr}.mlh-standings-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.mlh-standings-grid{grid-template-columns:1fr;gap:18px}.mlh-standings-controls{gap:4px 18px}.mlh-standings-controls .mlh-tabs{gap:0 16px}.mlh-standings-controls button{font-size:12px}.mlh-standing-detail{display:none}.mlh-division-table td,.mlh-playoff-table td{font-size:12px;padding-inline:5px}.mlh-division-table :is(th,td):first-child{width:54%}.mlh-playoff-table :is(th,td):nth-child(2){width:60%}.mlh-standings-team{max-width:none}.mlh-standing-name{font-size:12px}.mlh-standings-team .mlh-logo{width:22px;height:22px;flex-basis:22px}.mlh-bye-label{padding-left:29px}}

.mlh-playoff-table :is(th,td):nth-child(2){text-align:left}

/* Native player links retain the existing roster presentation. */
.tsp-mlb-history a.mlh-roster-player{text-decoration:none}

/* Native game links keep the existing score-card presentation. */
.tsp-mlb-history a.mlh-game{text-decoration:none}

.mlh-archive-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 18px;margin:0 0 16px}.mlh-archive-controls label{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:700}.mlh-archive-controls select{min-height:40px;max-width:180px;padding:6px 28px 6px 10px;border:1px solid #cfd5d8;background:#fff}.mlh-stat-row.mlh-historical-player{cursor:default}.mlh-team-heading-links{display:flex;gap:16px;flex-wrap:wrap}.mlh-scope{font-size:11px;color:#66727a;margin:0 0 12px}.mlh-conference-table th:nth-child(2),.mlh-conference-table td:nth-child(2){text-align:left}.mlh-source-link{display:inline-flex;min-height:40px;align-items:center;font-size:11px;font-weight:650}.mlh-archive-game{display:block;text-decoration:none}.mlh-archive-game:hover{text-decoration:none}

.mlh-history-neighbors{display:flex;align-items:center;gap:18px}.mlh-history-neighbors .mlh-back{font-size:11px}

.mlh-date-bar{display:flex;align-items:center;gap:6px;margin:0 0 10px;background:#171d21;color:#fff;padding:4px 8px;border-radius:4px}.mlh-date-bar>button{flex:0 0 40px;width:40px;min-height:44px;border:0;background:transparent;color:#fff;font-size:20px}.mlh-date-bar>label{flex:1;min-width:0}.mlh-date-bar input{display:block;width:100%;min-width:0;min-height:44px;border:0;background:#171d21;color:#ffdf00;font-size:14px;font-weight:650;text-align:center;padding:4px 8px}.mlh-date-bar>.mlh-last-date{width:auto;flex-basis:auto;font-size:11px;font-weight:650;padding-inline:8px}.mlh-measure-note{align-self:center;white-space:nowrap;font-size:11px;color:var(--mlh-muted)}


/* Full-width multi-stat tables; overflow remains inside the table region. */
.mlh-stat-table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain}
.mlh-stat-table{width:100%;min-width:100%;border-collapse:separate;border-spacing:0;font-size:12px;font-variant-numeric:tabular-nums}
.mlh-stat-table :is(th,td){padding:8px 10px;border-bottom:1px solid var(--mlh-rule);text-align:right;white-space:nowrap}
.mlh-stat-table thead th{font-size:10px;font-weight:750;background:var(--mlh-paper);color:var(--mlh-muted)}
.mlh-stat-table thead button{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;min-height:34px;padding:2px 0;border:0;background:transparent;color:inherit;font:inherit;font-weight:750;cursor:pointer;white-space:nowrap}
.mlh-stat-table thead th[aria-sort=ascending],.mlh-stat-table thead th[aria-sort=descending]{color:var(--mlh-ink)}
.mlh-stat-table .mlh-stats-identity{position:sticky;left:0;z-index:1;min-width:205px;max-width:260px;text-align:left;background:var(--mlh-paper)}
.mlh-stat-table thead .mlh-stats-identity{z-index:2}.mlh-stat-table tbody th{font-weight:650}
.mlh-table-rank{display:inline-block;width:20px;font-size:10px;font-weight:400;color:var(--mlh-muted);vertical-align:middle}
.mlh-table-person{display:inline-flex;align-items:center;gap:8px;min-height:34px;max-width:220px;text-decoration:none;vertical-align:middle;white-space:normal}
.mlh-table-person>span{min-width:0;line-height:1.3}.mlh-table-person small{display:block;font-size:9px;font-weight:400;color:var(--mlh-muted);margin-top:3px}
.mlh-table-person:hover span{text-decoration:underline}.mlh-table-portrait{width:32px;height:32px;object-fit:contain;object-position:center bottom;background:var(--mlh-soft);border-radius:50%;flex:0 0 32px}.mlh-table-logo{width:28px;height:28px;object-fit:contain;flex:0 0 28px}
.mlh-table-team{display:inline-flex;gap:5px;align-items:center;min-height:30px;text-decoration:none;font-size:10px}.mlh-table-team-logo{width:17px;height:17px;object-fit:contain}.mlh-table-team:hover span{text-decoration:underline}
.mlh-stat-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:8px 0;font-size:11px;color:var(--mlh-muted)}
.mlh-stat-measure{display:flex;align-items:center;gap:7px;margin-left:auto}.mlh-stat-measure select,.mlh-stat-search input{min-height:36px;padding:5px 8px;background:transparent;border:1px solid var(--mlh-rule);border-radius:0;font:inherit;color:var(--mlh-ink)}
.mlh-stat-search{margin-left:auto}.mlh-stat-search input{width:190px;max-width:100%}.mlh-stat-units{font-size:10px}.mlh-stat-list{max-width:none}
@media(max-width:700px){.mlh-stat-table{font-size:11px}.mlh-stat-table :is(th,td){padding:7px 8px}.mlh-stat-table .mlh-stats-identity{min-width:175px;max-width:195px}.mlh-table-person{gap:6px;max-width:150px}.mlh-table-rank{width:16px}.mlh-table-portrait{width:28px;height:28px;flex-basis:28px}.mlh-stat-search input{width:160px}.mlh-stat-toolbar{gap:7px 10px}}

/* Overview sections flow independently; controls never occupy a content column. */
#mlh-content[data-view="overview"]>.mlh-section:first-child{margin-top:0}
@media(min-width:701px){#mlh-content[data-view="overview"] .mlh-standings-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px}}
@media(min-width:1100px){#mlh-content[data-view="overview"] :is(#mlh-stats-players,#mlh-stats-teams) .mlh-controls{display:flex;max-width:none}}

.mlh-overview-game{min-width:0}.mlh-overview-game>.mlh-day{margin-top:0}

@media(min-width:1100px){#mlh-content[data-view="overview"] .mlh-stat-table{table-layout:fixed;min-width:760px}#mlh-content[data-view="overview"] .mlh-stat-table thead th:first-child{width:240px}}
