/* release 376 (owner: "how about Games tab", after Live became a bold scoreboard in 375): Games and the game page in the same
   confident look.
   - the controls read as one quiet panel; the status notes are grey, not orange
   - each game is a white card with a soft shadow: team shirts, big team names, solid price tiles with the price large
   - the moneyline (the price most bettors compare) sits on an indigo tint; a better price elsewhere is green
   - our forecast is bold with a bar; the market's chance of the same team is a marker on it
   - the game page opens with a big matchup title and a larger best-price table
   :not(#gm376a)... outranks the page's own layers (games_*.css, b371_p2, b373_r1, the cream themes). */

html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page { background: #fff !important; }

/* ---- the controls panel and notes ---- */
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .bt-filters { border: 0 !important; background: var(--b-soft) !important; border-radius: var(--b-radius-lg, 12px) !important; box-shadow: none !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .bt-filters :is(select, input[type="text"]) { background: #fff !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .bt-fresh, html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .bt-fresh * { color: var(--b-muted) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .bt-alert { border-radius: var(--b-radius) !important; background: var(--b-soft) !important; border: 0 !important; padding: 14px 16px !important; }

/* ---- the game cards ---- */
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .bt-list { gap: 20px !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page article.gx { border: 0 !important; border-radius: var(--b-radius-lg, 12px) !important; box-shadow: var(--b-shadow) !important; background: #fff !important; padding: 20px 22px !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page article.gx.is-stale { opacity: .92; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-head { align-items: center; gap: 10px !important; margin-bottom: 6px !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-head .bt-league { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--b-primary-50); color: var(--b-primary-700) !important; font: 800 12px/1.3 var(--b-font) !important; letter-spacing: .04em; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-head time { color: var(--b-ink) !important; font: 700 15px/1.3 var(--b-font) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-head a.gx-open { margin-left: auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--b-radius); background: var(--b-primary) !important; color: #fff !important; font: 800 14px/1 var(--b-font) !important; text-decoration: none !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-head a.gx-open:hover { background: var(--b-primary-600) !important; }

/* team names with shirts */
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-team { display: flex !important; align-items: center; gap: 12px; font: 800 19px/1.25 var(--b-font) !important; color: var(--b-ink) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-kit { display: block; flex: none; width: 30px; height: 30px; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-kit svg { display: block; width: 100%; height: 100%; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-row.is-head > span { color: var(--b-muted) !important; font: 700 12px/1.2 var(--b-font) !important; letter-spacing: .05em; text-transform: uppercase; }

/* price tiles: solid, big price; the moneyline tinted */
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx .bt-tile { border: 1px solid var(--b-line) !important; border-style: solid !important; border-radius: var(--b-radius) !important; background: #fff !important; min-height: 64px; transition: border-color .15s, transform .15s; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx a.bt-tile:hover { border-color: var(--b-primary) !important; transform: translateY(-1px); }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx .bt-tile b { font: 800 20px/1.15 var(--b-font) !important; color: var(--b-ink) !important; font-variant-numeric: tabular-nums; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx .bt-tile i { color: var(--b-muted) !important; font: 700 13px/1.2 var(--b-font) !important; font-style: normal !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx .bt-tile small { color: var(--b-muted) !important; font: 600 12px/1.3 var(--b-font) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx .bt-tile.is-ml { background: var(--b-primary-50) !important; border-color: transparent !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx .bt-tile.is-ml b { color: var(--b-primary-700) !important; font-size: 22px !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx .bt-tile.is-ml:hover { border-color: var(--b-primary) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx .bt-tile .gx-better { color: #23662A !important; font-weight: 800 !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx .bt-tile.is-empty b { color: var(--b-line) !important; }

/* our forecast: bold, with a bar; the market marker */
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-foot { align-items: center; gap: 12px 16px !important; padding-top: 14px !important; margin-top: 12px !important; border-top: 1px solid var(--b-line) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-model { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px !important; flex: 1 1 360px; margin: 0 !important; color: var(--b-text) !important; font: 600 15px/1.35 var(--b-font) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-model > span:first-child { color: var(--b-ink) !important; font-weight: 800 !important; font-size: 16px !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-model b { color: var(--b-muted) !important; font-weight: 700 !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-fbar { position: relative; display: block; flex: 0 1 220px; min-width: 140px; height: 8px; border-radius: 999px; background: var(--b-line); }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-fbar i { display: block; height: 100%; border-radius: 999px; background: var(--b-primary); }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-fbar u { position: absolute; top: -4px; width: 3px; height: 16px; margin-left: -1.5px; border-radius: 2px; background: var(--b-ink); text-decoration: none; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-foot .gx-save { min-height: 40px; border: 1px solid var(--b-primary) !important; border-radius: var(--b-radius) !important; background: #fff !important; color: var(--b-ink) !important; font: 800 14px/1 var(--b-font) !important; padding: 0 14px !important; }
/* the Pro lock reads as a small outlined chip, not a loud pill */
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d):not(#gm376e) body.bt-page .gx-model a.bt-lock { background: #fff !important; color: var(--b-primary-700) !important; border: 1px solid var(--b-primary) !important; font-weight: 700 !important; }

/* ---- the game page: big matchup, bigger best-price table ---- */
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page [data-gp-head] h1 { font: 800 48px/1.08 var(--b-font) !important; letter-spacing: -.015em; color: var(--b-ink) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page :is(.gp-chances, .gp-panel table, .bt-table) { font-family: var(--b-font) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .bt-table td b, html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gp-ch-row b { font-weight: 800 !important; font-size: 18px !important; color: var(--b-ink) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .bt-table td.is-best { background: var(--b-primary-50) !important; color: var(--b-primary-700) !important; font-weight: 800 !important; }

/* motion: cards fade in once */
html.b-motion:not(.gm376-seen) body.bt-page .bt-list > article.gx { animation: gm376in .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes gm376in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html body.bt-page .bt-list > article.gx, html body.bt-page .gx a.bt-tile { animation: none !important; transition: none !important; transform: none !important; } }

/* ---- phones ---- */
@media (max-width: 767px) {
  html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page article.gx { padding: 16px 14px !important; }
  html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-team { font-size: 16px !important; gap: 8px; }
  html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-kit { width: 24px; height: 24px; }
  html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx .bt-tile b { font-size: 17px !important; }
  html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx .bt-tile.is-ml b { font-size: 18px !important; }
  html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-head a.gx-open { min-height: 36px; padding: 0 12px; font-size: 13px !important; }
  html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-fbar { flex-basis: 100%; }
  html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page [data-gp-head] h1 { font-size: 30px !important; }
}

/* fixes after the first look: room under the card header; column labels on one line on phones */
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-head { margin-bottom: 16px !important; }
@media (max-width: 767px) {
  html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .gx-row.is-head > span { white-space: nowrap; letter-spacing: 0; text-transform: none; font-size: 12px !important; }
}
/* the game page's best-price table: team names and prices large, our forecast in indigo */
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .dw-game-table tbody th { font: 800 18px/1.3 var(--b-font) !important; color: var(--b-ink) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .dw-game-table td strong { font: 800 22px/1.15 var(--b-font) !important; color: var(--b-ink) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .dw-game-table td small { font: 600 13px/1.3 var(--b-font) !important; color: var(--b-muted) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .dw-game-table .gp-num { font: 800 20px/1.2 var(--b-font) !important; color: var(--b-primary-700) !important; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .dw-game-table { border-radius: var(--b-radius-lg, 12px); }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .dw-comparison { border: 0 !important; box-shadow: var(--b-shadow) !important; border-radius: var(--b-radius-lg, 12px) !important; overflow: hidden; }
html:not(#gm376a):not(#gm376b):not(#gm376c):not(#gm376d) body.bt-page .dw-comparison .dw-source { padding: 10px 16px 14px !important; margin: 0 !important; }
