﻿/* Compact, even result rows for tournament dashboard: AFL + Cup */
html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-list-caption {
  display:none !important;
}
html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-result-list,
html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-result-list {
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  margin:0 !important;
  padding:0 !important;
}
html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row,
html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row {
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  gap:10px !important;
  width:100% !important;
  min-height:126px !important;
  padding:12px 12px !important;
  margin:0 !important;
  background:#25483E !important;
  border-radius:12px !important;
  border:1px solid rgba(255,255,255,.06) !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row > span,
html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row > span {
  display:inline-flex !important;
  align-self:flex-start !important;
  align-items:center !important;
  width:auto !important;
  max-width:100% !important;
  min-height:24px !important;
  padding:5px 10px !important;
  border-radius:8px !important;
  background:var(--eltd-brand, #356fc6) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font:800 11px/1.2 Arial, Helvetica, sans-serif !important;
  letter-spacing:.01em !important;
  white-space:nowrap !important;
}
html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row > div,
html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row > div {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items:center !important;
  column-gap:12px !important;
  width:100% !important;
  max-width:330px !important;
  margin:0 auto !important;
  min-height:42px !important;
}
html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row > div > .eltd-team,
html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row > div > .eltd-team {
  display:grid !important;
  grid-template-columns:26px auto !important;
  align-items:center !important;
  column-gap:8px !important;
  width:auto !important;
  min-width:0 !important;
  margin:0 !important;
}
html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row > div > .eltd-team.eltd-team--left,
html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row > div > .eltd-team.eltd-team--left {
  justify-self:end !important;
}
html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row > div > .eltd-team.eltd-team--right,
html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row > div > .eltd-team.eltd-team--right {
  justify-self:start !important;
}
html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row .eltd-teamname,
html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row .eltd-teamname {
  min-width:0 !important;
  max-width:112px !important;
  overflow-wrap:anywhere !important;
  font:800 11px/1.28 Arial, Helvetica, sans-serif !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row img.eltd-crest,
html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row img.eltd-crest {
  display:block !important;
  width:26px !important;
  min-width:26px !important;
  max-width:26px !important;
  height:28px !important;
  min-height:28px !important;
  max-height:28px !important;
  object-fit:contain !important;
  object-position:center !important;
  flex:0 0 26px !important;
  margin:0 !important;
}
html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row > div > b,
html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row > div > b {
  display:block !important;
  min-width:42px !important;
  padding:0 2px !important;
  justify-self:center !important;
  text-align:center !important;
  white-space:nowrap !important;
  font:900 16px/1.1 Arial, Helvetica, sans-serif !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row > small,
html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row > small {
  display:block !important;
  width:100% !important;
  margin:0 !important;
  text-align:left !important;
  font:700 10px/1.35 Arial, Helvetica, sans-serif !important;
  color:#E7D8B3 !important;
  -webkit-text-fill-color:#E7D8B3 !important;
}
@media (max-width: 560px) {
  html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row > div,
  html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row > div {
    max-width:100% !important;
    column-gap:10px !important;
  }
  html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row .eltd-teamname,
  html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row .eltd-teamname {
    max-width:96px !important;
    font-size:10.5px !important;
  }
  html body #standings.eltd-v2 [data-eltd-pane="afl-games"] .eltd-cup-result-row > div > b,
  html body #standings.eltd-v2 [data-eltd-pane="cup-results"] .eltd-cup-result-row > div > b {
    min-width:38px !important;
    font-size:15px !important;
  }
}
