/* STATWIRE MLB additions (loaded after league.css on the /mlb pages): live-game situation (bases, outs, count),
   probable starters on preview tiles, spray chart and pitch-zone charts, standings and draft table details. */
.mlb-sit{display:flex;align-items:center;gap:10px;min-height:34px;font:600 10.5px var(--mono);letter-spacing:.04em;text-transform:uppercase;color:#6b6b76}
.mlb-bases{flex:0 0 auto;width:40px;height:30px;display:block}
.mlb-bases rect{fill:#fff;stroke:#9a9aa6;stroke-width:1.5}
.mlb-bases rect.on{fill:#A16207;stroke:#A16207}
.mlb-outs{display:inline-flex;align-items:center;gap:3px}
.mlb-outs i{width:7px;height:7px;border-radius:50%;border:1.5px solid #9a9aa6;display:inline-block}
.mlb-outs i.on{background:#0c0c11;border-color:#0c0c11}
.mlb-sit b{color:#0c0c11;font-weight:700}
.mlb-sit .mlb-who{margin-left:auto;text-align:right;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:none;letter-spacing:0;font-weight:500}
.mlb-prob{display:flex;justify-content:space-between;gap:8px;font:10.5px var(--mono);color:#6b6b76;letter-spacing:.02em}
.mlb-prob span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mlb-prob span:last-child{text-align:right}
.mlb-prob b{color:#0c0c11;font-weight:600}
/* spray chart (batter) and pitch zone (pitcher) */
.mlb-field .fld-grass{fill:#EEF6EC}
.mlb-field .fld-dirt{fill:#F4EADB}
.mlb-field .fld-line{fill:none;stroke:#C9CBD6;stroke-width:1.2}
.mlb-field .fld-base{fill:#fff;stroke:#B8B8C6;stroke-width:1}
.mlb-field .hit{fill:var(--make,#16A34A);stroke:#fff;stroke-width:1}
.mlb-field .out path{stroke:var(--miss,#DC2626);stroke-width:1.8;stroke-linecap:round}
.mlb-zone .zn-box{fill:none;stroke:#0c0c11;stroke-width:1.5}
.mlb-zone .zn-grid{stroke:#C9CBD6;stroke-width:1;stroke-dasharray:3 3}
.mlb-zone .zn-plate{fill:#fff;stroke:#B8B8C6;stroke-width:1.2}
.mlb-zone .zn-bg{fill:var(--panel2)}
.mlb-zone circle{stroke:#fff;stroke-width:1;fill-opacity:.9}
.mlb-zone .p-sw{fill:#DC2626}.mlb-zone .p-cs{fill:#F59E0B}.mlb-zone .p-b{fill:#64748B}.mlb-zone .p-ip{fill:#2563EB}.mlb-zone .p-f{fill:#A78BFA}
.lg-legend .k-sw{background:#DC2626}.lg-legend .k-cs{background:#F59E0B}.lg-legend .k-b{background:#64748B}.lg-legend .k-ip{background:#2563EB}.lg-legend .k-f{background:#A78BFA}
.lg-legend .k-hit{background:var(--make,#16A34A);border-radius:50%}
.lg-legend .k-out{width:auto!important;height:auto!important;background:none!important;color:var(--miss,#DC2626);font-style:normal;font-weight:800;line-height:0}
.mlb-chart-note{font:10px var(--mono);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:0}
/* series result tiles on the Playoff Map */
.mlb-series{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));gap:10px}
.mlb-ser{border:1px solid var(--line);border-radius:10px;background:var(--panel2);padding:10px 12px;display:flex;flex-direction:column;gap:6px}
.mlb-ser h3{margin:0;font:700 10.5px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.mlb-ser-row{display:flex;align-items:center;gap:8px;font-weight:600}
.mlb-ser-row .num{margin-left:auto;font-family:var(--mono);font-size:16px}
.mlb-ser-row.lost{color:var(--muted)}
.mlb-ser-g{font:10px var(--mono);color:var(--muted);line-height:1.5}
.mlb-round{margin:14px 0 8px;font:800 11px var(--sans);letter-spacing:.12em;text-transform:uppercase}
.mlb-round:first-child{margin-top:0}
/* lines page */
.mlb-odds .lg-tbl td{vertical-align:middle}
.mlb-odds .mlb-sp{font-size:12px;color:var(--muted)}
.mlb-odds .fav{font-weight:700}
/* Season leaders: team-colored stat-race bars (hitting + pitching), Option #3 lime & obsidian */
#leadCard .mlb-ld-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:-4px 0 10px;padding:4px;background:#F5F8F1;border-bottom:1px solid #E3ECDA;border-radius:10px 10px 0 0}
#leadCard .mlb-ld-tabs .bl-pill{min-height:36px;padding:0 4px;border:1px solid transparent;font-size:11px;letter-spacing:.05em;line-height:1.1;white-space:nowrap}
#leadCard .mlb-ld-tabs .bl-pill:hover{background:#ECF1E6;color:#0C0C11}
#leadCard .mlb-ld-tabs .bl-pill[aria-pressed="true"],#leadCard .mlb-ld-tabs .bl-pill[aria-pressed="true"]:hover{background:#0C0C11;border-color:#0C0C11;color:#A3E635}
#leadCard .mlb-ld-tabs .bl-pill:focus-visible{outline:2px solid #84CC16;outline-offset:2px}
#leadCard #strips{justify-content:flex-start;gap:0}
/* rows match the NFL Season leaders card (.l-row in nfl.css): white rows, only the #1 rank badge is lime, one line per text */
.mlb-ld-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}
.mlb-l-row{display:grid;grid-template-columns:28px 42px minmax(115px,150px) minmax(0,1fr) 92px;align-items:center;gap:8px;width:100%;min-height:44px;padding:5px 8px;border:1px solid #EEF3E8;border-radius:10px;background:#fff;cursor:pointer;font:inherit;text-align:left;color:#0C0C11;transition:background-color .15s,border-color .15s}
.mlb-l-row:hover{background:#F7FBF1;border-color:#D6E8BF}
.mlb-l-row:focus-visible{outline:2px solid #84CC16;outline-offset:2px}
.mlb-l-row .rk{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;background:#F5F8F1;color:var(--muted);font:700 11px var(--mono)}
.mlb-l-row .rk.first{background:#D9F99D;color:#0C0C11}
.mlb-l-row .tm .team{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:20px;font-size:10.5px;box-sizing:border-box}
.mlb-l-row .who{display:flex;flex-direction:column;min-width:0;overflow:hidden}
.mlb-l-row .nm{font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mlb-l-row .sub{font:500 10.5px var(--mono);color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mlb-l-row .bar-t{display:block;height:12px;border-radius:6px;background:#ECF1E6;overflow:hidden;min-width:0}
.mlb-l-row .bar-t i{display:block;height:100%;border-radius:6px;min-width:2%}
.mlb-l-row .val{text-align:right;font-family:var(--mono);white-space:nowrap;flex-shrink:0;font-variant-numeric:tabular-nums}
.mlb-l-row .val b{font-size:15px;font-weight:700}
.mlb-l-row .val small{font-size:9.5px;font-weight:600;color:var(--muted);letter-spacing:.04em}
/* phones, and the half-width card of the 2-column tablet layout */
@media (max-width:600px),(min-width:720px) and (max-width:1023px){
  .mlb-l-row{grid-template-columns:24px 40px minmax(0,1fr) auto;gap:7px;padding:5px 7px}
  .mlb-l-row .bar-t{display:none}
  .mlb-l-row .val b{font-size:14px}
}
/* narrow phones (360-380px): a little more room for the name and stat line so nothing is cut */
@media (max-width:380px){
  .mlb-l-row{grid-template-columns:22px 36px minmax(0,1fr) auto;gap:6px;padding:5px 6px}
  .mlb-l-row .tm .team{min-width:34px;font-size:10px}
  .mlb-l-row .nm{font-size:12.5px}
  .mlb-l-row .sub{font-size:10px}
  .mlb-l-row .val b{font-size:13.5px}
  .mlb-l-row .val small{font-size:9px;letter-spacing:.02em}
}
/* top 100 in a fixed scroll window (about ten rows) with the bottom fade + caption, as on /nfl */
#leadCard .ld-scroll{flex:1 0 auto;height:540px;overflow-y:auto;overscroll-behavior:contain;margin-top:0}
#leadCard .ld-scroll:focus-visible{outline:2px solid #84CC16;outline-offset:2px}
#leadCard .ld-hint{text-align:center;letter-spacing:.12em;font-weight:700}
@media (max-width:719px){#leadCard .ld-scroll{height:480px}}
#leadCard:not([hidden]){align-self:stretch;display:flex;flex-direction:column}
