/* v56 fixture layout; scoped to the league calendar. */
#tab-fixtures { color: #21382e; }
#tab-fixtures .fx-intro { margin: 10px 0 0; color: #768273; font-size: 14px; }
#tab-fixtures .fx-filter { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #71816d; }
#tab-fixtures select { background: #fff; color: #234032; border: 1px solid #dfe6d9; border-radius: 6px; padding: 9px 12px; max-width: 230px; font-size: 13px; }
#tab-fixtures button { cursor: pointer; font: inherit; }
#tab-fixtures button:focus-visible, #tab-fixtures select:focus-visible, #tab-fixtures .fx-scroll:focus-visible { outline: 2px solid #356e4d; outline-offset: 2px; }
#tab-fixtures .fx-toolbar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 0 0 24px; }
#tab-fixtures .fx-round-nav { display: flex; gap: 8px; align-items: center; }
#tab-fixtures .fx-round-nav label { display: flex; align-items: center; gap: 8px; font-size: 12px; }
#tab-fixtures .fx-round-nav button { border: 1px solid #dfe6d9; background: white; color: #234032; border-radius: 5px; padding: 9px 12px; }
#tab-fixtures .fx-round-nav button:disabled { opacity: .35; cursor: default; }
#tab-fixtures #fxReset { border: 0; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
#tab-fixtures .fx-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 22px 24px; background: #153b2d; border-radius: 8px 8px 0 0; color: white; }
#tab-fixtures .fx-summary strong { display: block; font-size: 20px; letter-spacing: -.3px; }
#tab-fixtures .fx-eyebrow { display: block; color: #d9ef9e; font-size: 10px; letter-spacing: 2px; margin-bottom: 8px; }
#tab-fixtures .fx-summary-round { font-size: 25px; font-weight: 800; color: #d9ef9e; white-space: nowrap; }
#tab-fixtures .fx-summary-round span { margin: 0 12px; opacity: .5; }
#tab-fixtures .fx-summary small { font-size: 12px; color: #ced8cb; }
#tab-fixtures .fx-scroll { overflow: auto; max-height: 760px; border: 1px solid #e2e8dc; border-top: 0; border-radius: 0 0 7px 7px; }
#tab-fixtures .fx-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; min-width: 1000px; margin: 0; }
#tab-fixtures .fx-table th, #tab-fixtures .fx-table td { padding: 7px; border: 0; border-bottom: 1px solid #e9eee5; text-align: left; vertical-align: middle; }
#tab-fixtures .fx-table thead th { background: #f0f3eb; position: sticky; top: 0; z-index: 2; }
#tab-fixtures .fx-table th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; width: 220px; box-shadow: 1px 0 #e2e8dc; }
#tab-fixtures .fx-table thead th:first-child { z-index: 3; background: #f0f3eb; padding: 18px; font-size: 12px; }
#tab-fixtures .fx-table thead button { background: none; border: 0; text-align: center; width: 100%; color: #234032; font-weight: 800; padding: 7px 0; }
#tab-fixtures .fx-table small { display: block; font-size: 10px; font-weight: 400; opacity: .75; margin-top: 5px; }
#tab-fixtures .fx-team-pick { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; text-align: left; color: #234032; padding: 4px 8px; }
#tab-fixtures .fx-team-pick b { font-size: 12px; overflow-wrap: anywhere; }
#tab-fixtures .fx-avatar { width: 30px; height: 34px; flex-shrink: 0; border-radius: 5px 5px 12px 12px; background: #e8eddc; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
#tab-fixtures .fx-opponent { background: #f1f4eb; color: #35503d; border: 1px solid transparent; border-radius: 4px; padding: 10px 5px; min-height: 61px; width: 100%; text-align: center; }
#tab-fixtures .fx-opponent b { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tab-fixtures .fx-leading { background: #e1e9d2; }
#tab-fixtures .fx-opponent:hover { border-color: #789568; background: #d9ef9e; }
#tab-fixtures .fx-note { font-size: 12px; color: #7c8876; line-height: 1.8; margin: 15px 0 0; }
#tab-fixtures .fx-no-match { display: block; text-align: center; font-size: 12px; color: #899384; }
#tab-fixtures .fx-round { margin-bottom: 22px; }
#tab-fixtures .fx-round-heading { display: flex; align-items: center; gap: 12px; padding: 13px 18px; background: #f1f4eb; font-size: 12px; border-left: 3px solid #789568; }
#tab-fixtures .fx-round-heading strong { font-size: 16px; }
#tab-fixtures .fx-round-heading small { margin-left: auto; color: #768273; }
#tab-fixtures .fx-match { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) 120px minmax(0,1fr); align-items: center; gap: 20px; position: relative; background: white; color: #234032; border: 0; border-bottom: 1px solid #e7ecdf; padding: 22px 28px; text-align: left; }
#tab-fixtures button.fx-match:hover { background: #f8faf4; }
#tab-fixtures .fx-match-team b { font-size: 15px; overflow-wrap: anywhere; }
#tab-fixtures .fx-match-team small { display: block; color: #84907d; font-size: 11px; margin-top: 5px; }
#tab-fixtures .fx-match-team { text-align: center; min-width: 0; }
#tab-fixtures .fx-current-rank { color: #47603b; font-weight: 650; white-space: nowrap; }
#tab-fixtures .fx-match-score { text-align: center; }
#tab-fixtures .fx-match-score strong { display: block; border-radius: 5px; background: #f1f4eb; padding: 10px; font-size: 20px; font-variant-numeric: tabular-nums; }
#tab-fixtures .fx-match-score small { display: block; margin-top: 5px; color: #87927d; font-size: 10px; }
#tab-fixtures .fx-following b { box-shadow: 0 3px #d9ef9e; }
#tab-fixtures .fx-match-arrow { position: absolute; right: 7px; color: #8b9a81; font-size: 12px; }
#tab-fixtures #fxMatchPanel .panel-head { margin-bottom: 12px; padding-bottom: 12px; }
#tab-fixtures #fxMatchPanel .fx-round { margin-bottom: 0; }
#tab-fixtures #fxMatchPanel .fx-round-heading { padding: 8px 14px; }
#tab-fixtures #fxMatchPanel .fx-match { max-width: 920px; margin-inline: auto; padding: 7px 20px; gap: 16px; grid-template-columns: minmax(0,1fr) 98px minmax(0,1fr); }
#tab-fixtures #fxMatchPanel .fx-match-team b { font-size: 13px; }
#tab-fixtures #fxMatchPanel .fx-match-team small { margin-top: 2px; font-size: 10px; }
#tab-fixtures #fxMatchPanel .fx-match-score strong { padding: 5px 8px; font-size: 17px; white-space: nowrap; }
#tab-fixtures #fxMatchPanel .fx-match-score small { display: none; }
#tab-fixtures .fx-season-scroll { max-height: 420px; overflow: auto; border: 1px solid #e2e8dc; border-radius: 6px; }
#tab-fixtures .fx-manager-choices { display: grid; grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: 8px; margin-bottom: 18px; padding: 3px; }
#tab-fixtures .fx-manager-choice { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-width: 0; min-height: 84px; padding: 10px 8px; border: 1px solid #dfe6d9; border-radius: 6px; background: #f7f9f3; color: #234032; text-align: center; }
#tab-fixtures .fx-manager-choice b { font-size: 12px; overflow-wrap: anywhere; }
#tab-fixtures .fx-manager-choice small { font-size: 10px; color: #71816d; overflow-wrap: anywhere; }
#tab-fixtures .fx-manager-rank { font-size: 10px; font-weight: 650; }
#tab-fixtures .fx-manager-choice:hover { border-color: #789568; }
#tab-fixtures .fx-manager-choice[aria-pressed="true"] { background: #d9ef9e; border-color: #597f40; box-shadow: inset 0 0 0 1px #597f40; }
#tab-fixtures .fx-manager-empty { padding: 22px 16px; color: #7c8876; font-size: 13px; margin: 0; }
#tab-fixtures .fx-season-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 540px; font-size: 12px; }
#tab-fixtures .fx-season-table th, #tab-fixtures .fx-season-table td { text-align: left; padding: 7px 16px; border: 0; border-bottom: 1px solid #e6ebdf; }
#tab-fixtures .fx-season-table thead th { position: sticky; top: 0; background: #f0f3eb; z-index: 1; padding: 12px 16px; font-size: 11px; }
#tab-fixtures .fx-season-table small { display: block; font-size: 10px; color: #819078; margin-top: 2px; }
#tab-fixtures .fx-season-table .fx-next-round { background: #eff6df; }
@media(max-width:640px) {
  #tab-fixtures .fx-manager-choices { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 140px; overflow-x: auto; padding-bottom: 8px; }
  #tab-fixtures #fxMatchPanel .fx-match { grid-template-columns: minmax(0,1fr) 76px minmax(0,1fr); padding: 7px 4px; gap: 8px; }
  #tab-fixtures #fxMatchPanel .fx-match-score strong { font-size: 15px; padding: 5px 3px; }
  #tab-fixtures #fxMatchPanel .fx-match-team b { font-size: 12px; }
  #tab-fixtures #fxManagerPanel .panel-head { flex-wrap: wrap; gap: 14px; }
  #tab-fixtures .fx-season-table { min-width: 480px; }
  #tab-fixtures .fx-heading { align-items: flex-start; gap: 18px; flex-direction: column; }
  #tab-fixtures .fx-summary { padding: 20px 16px; gap: 15px; }
  #tab-fixtures .fx-summary strong { font-size: 17px; }
  #tab-fixtures .fx-summary-round { font-size: 19px; }
  #tab-fixtures .fx-summary small { flex-basis: 100%; }
  #tab-fixtures .fx-table th:first-child { width: 145px; }
  #tab-fixtures .fx-team-pick { gap: 5px; padding: 2px; }
  #tab-fixtures .fx-avatar { display: none; }
  #tab-fixtures .fx-round-nav { flex-wrap: wrap; }
  #tab-fixtures .fx-round-heading { flex-wrap: wrap; gap: 8px; }
  #tab-fixtures .fx-round-heading small { flex-basis: 100%; margin-left: 0; }
  #tab-fixtures .fx-match { grid-template-columns: minmax(0,1fr) 73px minmax(0,1fr); gap: 10px; padding: 16px 6px; }
  #tab-fixtures .fx-match-team b { font-size: 12px; }
  #tab-fixtures .fx-match-score strong { font-size: 16px; padding: 8px 3px; }
}
