/* The Edge: the site shell and the pages built on it (Today, Picks, Odds, Tools, More). Loaded last.
   The menu is organised by task; the sport is a row of chips under it; a phone gets a tab bar at the foot of the screen. */

/* ---------- header: task menu, sport chips ---------- */
nav.sports a { position: relative; white-space: nowrap; }
nav.sports a small.tk, .sx-more-item small.tk { font-family: var(--body); font-stretch: 100%; font-size: 10.5px; font-weight: 700; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 4px; padding: 1px 4px; margin-left: 6px; letter-spacing: 0; align-self: center; }
nav.sports a { display: inline-flex; align-items: center; }
.sx-chips { display: flex; gap: 8px; padding: 10px 0 12px; overflow-x: auto; scrollbar-width: none; }
.sx-chips::-webkit-scrollbar { display: none; }
.sx-chips a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.sx-chips a:hover { border-color: var(--ink-3); }
.sx-chips a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 700; }
.sx-chips a.off { opacity: .55; }
body.out .sx-chips, body.out .sx-tabbar, body.bare .sx-tabbar { display: none; }
/* the row of tabs each sport page used to carry is the menu now */
.mast + .tabs { display: none; }
.mast { margin-bottom: 18px; }

/* a laptop-width header keeps the whole menu on one row: the model time, the byline and the package marks give way first */
@media (max-width: 1365px) { .top #fresh, .brand small, nav.sports a small.tk { display: none; } nav.sports a { padding: 3px 9px 0; font-size: 18.5px; } .bar { gap: 16px; } }

/* ---------- phone and tablet: tab bar ---------- */
.sx-tabbar { display: none; }
@media (max-width: 1099px) {
  .top nav.sports, .top .fresh { display: none; }
  .top .bar { justify-content: space-between; }
  .sx-tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--panel-2); border-top: 1px solid var(--line); padding: 4px 4px calc(6px + env(safe-area-inset-bottom)); }
  .sx-tabbar[hidden] { display: none; }
  .sx-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; font-size: 11px; color: var(--ink-2); text-decoration: none; }
  .sx-tabbar svg { width: 22px; height: 22px; }
  .sx-tabbar a[aria-current="page"] { color: var(--ink); font-weight: 700; }
  .sx-tabbar a[aria-current="page"] svg { stroke: var(--red); stroke-width: 2.3; }
  body:not(.out):not(.bare) footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- page furniture shared by the new pages ---------- */
.sx-page { display: flex; flex-direction: column; gap: 22px; }
.sx-head { display: flex; flex-direction: column; gap: 8px; }
.sx-head h1::after { content: ""; display: block; width: min(60%, 3.4em); height: .11em; margin-top: .16em; background: var(--red); clip-path: polygon(1.35% 0, 100% 0, 0 100%); }
.sx-date { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.sx-lede { margin: 2px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 64ch; }
.sx-note { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); max-width: 80ch; }
.sx-page h2 { margin: 0; }
.sx-bar { position: relative; display: block; height: 6px; background: var(--line); border-radius: 3px; }
.sx-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); border-radius: 3px; }
.sx-bar u { position: absolute; left: 52.4%; top: -3px; bottom: -3px; width: 2px; background: var(--red); }
.sx-badge { flex: 0 0 auto; border: 1px solid #55555f; border-radius: 6px; padding: 2px 8px; font-size: 11.5px; white-space: nowrap; color: var(--ink); }
.sx-seg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.sx-seg::-webkit-scrollbar { display: none; }
.sx-seg button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 9px; font-size: 14px; font-weight: 600; cursor: pointer; }
.sx-seg button span { font-size: 12px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sx-seg button[aria-pressed="true"] { background: var(--red); border-color: var(--red); font-weight: 700; }
.sx-seg button[aria-pressed="true"] span { color: #fff; }
.sx-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.sx-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.sx-sort select { min-height: 44px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 9px; padding: 0 12px; }
.sx-fresh { font-size: 13px; color: var(--ink-2); }

/* ---------- the site record ---------- */
.sx-record { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.sx-record-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.sx-record-head h2 { font-family: var(--body); font-stretch: 100%; font-style: normal; font-size: 16px; font-weight: 700; }
.sx-record-head span { font-size: 12.5px; color: var(--ink-3); }
.sx-record-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.sx-record-cells > div { background: var(--panel-2); border-radius: 10px; padding: 11px 13px; display: flex; flex-direction: column; gap: 6px; }
.sx-record-cells span, .sx-record-cells small { font-size: 12.5px; color: var(--ink-2); }
.sx-record-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin: -4px 0 -8px; } .sx-record-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.sx-record-cells b { font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.1; }

/* ---------- Today: feed and side column ---------- */
.sx-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.sx-feed, .sx-rail { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.sx-rail { gap: 22px; }
.sx-feed-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sx-feed-head a, .sx-all { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.sx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 12px; align-items: start; }
.sx-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.sx-panel h2 { font-size: 21px; margin-bottom: 8px; }
.sx-game { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 11px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 13px; color: var(--ink-2); }
.sx-game b { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.sx-game span:nth-child(even) { text-align: right; }
.sx-all { border-top: 1px solid var(--line); }
.sx-count { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 44px; text-decoration: none; font-size: 14px; font-variant-numeric: tabular-nums; }
.sx-count b { font-weight: 700; }
.sx-slate { border-top: 1px solid var(--line); color: var(--ink-2); }
.sx-slate b { color: var(--ink); } .sx-slate i { font-style: normal; font-size: 20px; color: var(--ink-3); }
.sx-teams { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; font-size: 13.5px; color: var(--ink-2); }
.sx-teams span { display: inline-flex; align-items: center; white-space: nowrap; }
.sx-teams i { font-style: normal; color: var(--ink-3); }
.sx-teams img.lg { width: 18px; height: 18px; margin-right: 5px; vertical-align: 0; }

/* ---------- the pick card ---------- */
.sx-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.sx-card-top { display: flex; justify-content: space-between; gap: 10px; padding: 9px 16px; background: var(--panel-2); font-size: 12.5px; color: var(--ink-2); }
.sx-card-top b { color: var(--ink); font-weight: 700; }
.sx-card-main { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px 10px; }
.sx-card-bet { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.sx-card-bet h3 { margin: 0; font-size: 21px; line-height: 1.18; font-weight: 750; overflow-wrap: anywhere; }
.sx-card-bet h3 img.lg { width: 24px; height: 24px; vertical-align: -4px; }
.sx-card-price { flex: 0 0 auto; display: flex; flex-direction: column; gap: 1px; text-align: right; }
.sx-card-price small, .sx-card-price span { font-size: 12px; color: var(--ink-2); }
.sx-card-price b { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.sx-meter { position: relative; height: 10px; margin: 0 16px; background: var(--line); border-radius: 5px; }
.sx-meter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); border-radius: 5px; }
.sx-meter u { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1px; background: var(--red); border-radius: 2px; }
.sx-card-nums { display: flex; justify-content: space-between; gap: 8px; padding: 8px 16px 12px; font-size: 13px; font-variant-numeric: tabular-nums; }
.sx-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.sx-card-links { display: flex; flex-wrap: wrap; gap: 0 18px; padding: 0 16px 6px; }
.sx-card-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; font-weight: 600; }

/* ---------- Odds ---------- */
.od-key { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: 13px; color: var(--ink-2); }
.od-key span { display: inline-flex; align-items: center; gap: 7px; }
.od-k1 { width: 14px; height: 14px; background: var(--ink); border-radius: 3px; } .od-k2 { width: 10px; height: 10px; border: 2px solid var(--red); border-radius: 3px; }
.od-box { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
table.od { width: 100%; min-width: 860px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.od th, .od td { padding: 5px 6px; text-align: center; }
.od thead th { padding: 12px 6px; background: var(--panel-2); font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.od thead th:first-child, .od tbody th { text-align: left; padding-left: 16px; }
.od-day th { padding: 14px 16px 8px; font-family: var(--display); font-stretch: 70%; font-weight: 800; font-style: italic; font-size: 19px; background: var(--panel-2); border-top: 1px solid var(--line); }
.od-game th { padding: 12px 16px 2px; font-size: 13px; font-weight: 600; color: var(--ink-2); border-top: 1px solid var(--line); }
.od-game th span { margin-left: 10px; font-weight: 400; color: var(--ink-3); }
.od-a th, .od-b th { font-size: 15.5px; font-weight: 700; white-space: nowrap; }
.od-b + tr.od-a td, .od-b + tr.od-a th, .od-a + tr.od-b td, .od-a + tr.od-b th { padding-bottom: 10px; }
.od-model { font-size: 15.5px; font-weight: 600; color: var(--ink-2); }
.od-cell { display: flex; flex-direction: column; justify-content: center; min-height: 42px; padding: 4px; background: var(--panel-2); border: 2px solid var(--panel-2); border-radius: 9px; }
.od-cell b { font-size: 16px; font-weight: 800; white-space: nowrap; }
.od-cell small { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.od-cell.od-best { background: var(--ink); border-color: var(--ink); color: var(--bg); } .od-cell.od-best small { color: #44444c; }
.od-cell.od-long { border-color: var(--red); }
.od-none { color: var(--ink-3); }

/* ---------- Tools ---------- */
.tl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; align-items: start; }
.tl-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.tl-box h2 { font-size: 21px; } .tl-box p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.tl-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.tl-f { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--ink-2); }
.tl-f .inp { width: 100%; min-height: 46px; font-size: 17px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.tl-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.tl-out div { display: flex; flex-direction: column; gap: 2px; }
.tl-out span { font-size: 12.5px; color: var(--ink-2); } .tl-out b { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- More ---------- */
.sx-more { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.sx-more-item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.sx-more-item:hover { border-color: var(--line-2); }
.sx-more-item > span { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; }
.sx-more-item b { font-size: 16px; font-weight: 700; } .sx-more-item span span { font-size: 13px; color: var(--ink-2); }
.sx-more-item i { font-style: normal; font-size: 22px; color: var(--ink-3); }

@media (max-width: 980px) { .sx-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 759px) {
  .sx-card-bet h3 { font-size: 20px; } .sx-lede { font-size: 15px; }
  .sx-record { padding: 14px; } .sx-record-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sx-record-cells b { font-size: 19px; }
}

/* ---------- search: the button beside the account, and the page ---------- */
.sx-find { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink-2); }
.sx-find:hover { border-color: var(--ink-3); color: var(--ink); }
.sx-find svg { width: 20px; height: 20px; }
.sr-box { display: flex; flex-direction: column; gap: 6px; max-width: 720px; font-size: 13px; color: var(--ink-2); }
.sr-box .inp { width: 100%; min-height: 52px; font-size: 18px; font-weight: 600; }
.sr-out { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.sr-hint { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.sr-list { list-style: none; margin: 0; padding: 0; }
.sr-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 14px; min-height: 56px; padding: 4px 0; border-top: 1px solid var(--line); }
.sr-name { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.sr-name img.lg { width: 28px; height: 28px; flex: 0 0 auto; }
.sr-name > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sr-name b { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; } .sr-name small { font-size: 12.5px; color: var(--ink-2); }
.sr-links { display: inline-flex; gap: 0 18px; }
.sr-links a, .sr-page { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; }
.sr-page { flex: 1 1 auto; justify-content: space-between; text-decoration: none; font-size: 16px; } .sr-page i { font-style: normal; font-size: 20px; color: var(--ink-3); }

/* ---------- a pick card's comparison across the five sportsbooks ---------- */
.sx-books { border-top: 1px solid var(--line); }
.sx-books summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 16px; font-size: 13.5px; font-weight: 600; cursor: pointer; list-style: none; }
.sx-books summary::-webkit-details-marker { display: none; }
.sx-books summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); margin: -4px 4px 0 0; }
.sx-books[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.sx-books > div { padding: 0 16px 12px; }
.sx-wait { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.od-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.od-strip .od-cell { min-height: 50px; padding: 5px 2px; text-align: center; }
.od-strip .od-cell small { order: -1; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; }
.od-strip .od-cell b { font-size: 14px; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: normal; }
@media (max-width: 419px) { .od-strip .od-cell b { font-size: 12.5px; } .od-strip .od-cell small { font-size: 10px; } }

/* ---------- what a Free member sees where the picks would be: the card's shape, with nothing in it ---------- */
.sx-ghosts { position: relative; }
.sx-ghosts .sx-grid { filter: blur(3px); opacity: .55; pointer-events: none; user-select: none; }
.sx-ghost i { display: block; height: 10px; background: var(--line-2); border-radius: 4px; }
.sx-ghost i.tall { height: 20px; }
.sx-ghost .sx-card-top span, .sx-ghost .sx-card-price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.sx-ghost .sx-card-bet { gap: 9px; }
.sx-ghost .sx-meter i { height: auto; background: var(--ink-3); border-radius: 5px; }
.sx-ghosts > p { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92%, 420px); margin: 0; padding: 14px 16px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-2); text-align: center; }
.sx-ghosts > p b { display: block; margin-bottom: 2px; font-size: 16px; color: var(--ink); }
@media (max-width: 759px) { .sx-ghosts .sx-card:nth-child(n + 2) { display: none; } }

/* ---------- the five sportsbooks inside an opened game ---------- */
.bk { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.bk h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.bk h3 span { font-weight: 400; font-size: 12px; color: var(--ink-3); }
.bk .od-box { background: var(--bg); }
.bk table.od { min-width: 660px; }
.bk table.od th, .bk table.od td { border-top: 0; text-align: center; padding: 4px 5px; white-space: nowrap; }
.bk table.od thead th { padding: 9px 5px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.bk table.od thead th:first-child, .bk table.od tbody th { text-align: left; padding-left: 12px; }
.bk table.od tr.od-game th { padding: 10px 12px 2px; font-size: 12.5px; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); }
.bk table.od tr.od-a th, .bk table.od tr.od-b th { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.bk table.od tr.od-a th img.lg, .bk table.od tr.od-b th img.lg { width: 20px; height: 20px; margin-right: 6px; vertical-align: -4px; }
.bk table.od td.od-model { font-size: 14.5px; color: var(--ink-2); }
.bk .od-cell { min-height: 38px; background: var(--panel); border-color: var(--panel); }
.bk .od-cell.od-best { background: var(--ink); border-color: var(--ink); } .bk .od-cell.od-long { border-color: var(--red); }
.bk .od-cell b { font-size: 14.5px; }
.bk > p { margin: 8px 0 0; }
