/* The Edge: soccer (soccer.js). League tiles, the match list, the three-way chance bars and the graded price gap log.
   The price tables and the cards reuse the Odds and pick card styles in shell.css. Loaded after it. */

/* ---------- choosing a league ---------- */
.sc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.sc-pick a { display: flex; flex-direction: column; gap: 3px; min-height: 96px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.sc-pick a:hover { border-color: var(--line-2); }
.sc-pick b { font-family: var(--display); font-stretch: 70%; font-style: italic; font-weight: 800; font-size: 24px; line-height: 1.1; }
.sc-pick span { font-size: 13px; color: var(--ink-2); }
.sc-pick small { margin-top: auto; padding-top: 8px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- the match list ---------- */
.sc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 12px; align-items: start; }
.sc-day { grid-column: 1 / -1; margin: 10px 0 0; font-size: 22px; }
.sc-day:first-child { margin-top: 0; }
.sc-match { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.sc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sc-top h3 { margin: 0; font-size: 19px; line-height: 1.2; font-weight: 750; overflow-wrap: anywhere; }
.sc-top h3 i, .sx-teams i { font-style: normal; font-weight: 400; color: var(--ink-3); }
.sc-top span { flex: 0 0 auto; font-size: 13px; color: var(--ink-2); }
.sc-chs { display: flex; flex-direction: column; gap: 7px; }
.sc-ch { display: grid; grid-template-columns: 78px minmax(0, 1fr) repeat(3, 46px); gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); }
.sc-ch b { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.sc-ch-head b { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.sc-bar { display: flex; gap: 2px; height: 12px; }
.sc-bar i { min-width: 2px; border-radius: 3px; background: var(--ink); }
.sc-bar i:nth-child(2) { background: #6b6b75; }
.sc-bar i:nth-child(3) { background: var(--red); }
.sc-foot { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.sc-match .od-box { background: var(--bg); }
table.sc-tbl { min-width: 520px; }
table.sc-tbl th, table.sc-tbl td { padding: 4px 4px; }
table.sc-tbl thead th { padding: 9px 4px; font-size: 12px; }
table.sc-tbl thead th:first-child, table.sc-tbl tbody th { padding-left: 12px; text-align: left; }
table.sc-tbl tbody th { max-width: 150px; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
table.sc-tbl tbody tr:last-child th, table.sc-tbl tbody tr:last-child td { padding-bottom: 10px; }
table.sc-tbl .od-model { font-size: 14px; }
table.sc-tbl .od-cell { min-height: 38px; background: var(--panel); border-color: var(--panel); }
table.sc-tbl .od-cell.od-best { background: var(--ink); border-color: var(--ink); } table.sc-tbl .od-cell.od-long { border-color: var(--red); }
table.sc-tbl .od-cell b { font-size: 14.5px; }
table.sc-tbl .od-cell small { font-size: 10.5px; color: var(--ink-2); } table.sc-tbl .od-cell.od-best small { color: #44444c; }

/* ---------- the graded log ---------- */
table.sc-log { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.sc-log th, .sc-log td { padding: 10px 12px; text-align: left; border-top: 1px solid var(--line); white-space: nowrap; }
.sc-log thead th { border-top: 0; background: var(--panel-2); font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.sc-log tbody th { font-weight: 700; white-space: normal; }
.sc-won { font-weight: 700; } .sc-lost { color: var(--ink-2); }

@media (max-width: 759px) {
  .sc-top h3 { font-size: 18px; }
  .sc-ch { grid-template-columns: 70px minmax(0, 1fr) repeat(3, 40px); gap: 6px; }
}
