/* Release 529 (owner, after osmo.supply, noth.in, visualsociety.ch and wearedirect.co: "the top part can be like our American
   style"): on desktop the controls above the panels drop their grey boxes and pills. The sports are big words, the chosen one in
   black; every other choice is a bracketed text toggle, "[ ] Upcoming", "[x] Live", in the site's own black; the selects are
   plain words on a black underline; thin rules between the rows. Same buttons, same order, same behaviour: only the look
   changes. Phones keep their compact controls. */
@media (min-width: 900px) {
  /* ---------- Games ---------- */
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-filters {
    background: transparent !important; border: 0 !important; border-top: 1px solid #0A0B0F !important; border-bottom: 1px solid #D4D7DE !important; border-radius: 0 !important;
    box-shadow: none !important; padding: 18px 0 16px !important; margin: 0 0 18px !important; backdrop-filter: none !important;
  }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-filters { background: #fff !important; }   /* it stays under the top bar while scrolling (518) */
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-filters .bt-filter-row.is-scope { display: flex !important; align-items: flex-end !important; justify-content: space-between !important; gap: 16px 32px !important; flex-wrap: wrap; margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; }
  /* the sports: big words */
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-tabs.bt-fams { display: flex !important; flex-wrap: wrap; gap: 4px 28px !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-tabs.bt-fams > button {
    min-height: 0 !important; height: auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
    color: #A3A7B3 !important; font: 800 clamp(26px, 2.5vw, 42px)/1.05 Manrope, system-ui, sans-serif !important; letter-spacing: -.025em !important; transition: color .15s ease;
  }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-tabs.bt-fams > button:hover { color: #0A0B0F !important; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-tabs.bt-fams > button[aria-selected="true"] { color: #0A0B0F !important; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-tabs.bt-fams > button span[aria-hidden] { font-size: .5em; vertical-align: .35em; }

  /* every other choice: "[ ] Word" / "[x] Word" */
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt :is(.bt-tabs.is-date, .bt-tabs.is-small, .bt-views),
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv :is(.lv-when, .lv-days, .lv-sports) {
    display: flex !important; flex-wrap: wrap; gap: 6px 22px !important; padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt :is(.bt-tabs.is-date, .bt-tabs.is-small, .bt-views) > button,
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv :is(.lv-when, .lv-sports) > button,
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv .lv-days > .lv-day {
    display: inline-flex !important; align-items: baseline !important; gap: 6px; min-height: 32px !important; height: auto !important; min-width: 0 !important; padding: 4px 0 !important; border: 0 !important; border-radius: 0 !important;
    background: transparent !important; box-shadow: none !important; color: #0A0B0F !important; font: 700 15px/1.2 Manrope, system-ui, sans-serif !important; letter-spacing: 0 !important; white-space: nowrap;
  }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt :is(.bt-tabs.is-date, .bt-tabs.is-small, .bt-views) > button::before,
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv :is(.lv-when, .lv-sports) > button::before,
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv .lv-days > .lv-day::before {
    content: "[ ]"; white-space: pre; display: inline-block; min-width: 2.2em; color: #0A0B0F; font: 500 15px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: -.02em;
  }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt :is(.bt-tabs.is-date, .bt-tabs.is-small, .bt-views) > button:is([aria-pressed="true"], [aria-selected="true"])::before,
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv :is(.lv-when, .lv-sports) > button[aria-pressed="true"]::before,
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv .lv-days > .lv-day[aria-selected="true"]::before { content: "[x]"; font-weight: 800; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body :is(.bt, .lv) :is(.bt-tabs.is-date, .bt-tabs.is-small, .bt-views, .lv-when, .lv-sports) > button:is([aria-pressed="false"], [aria-selected="false"]),
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv .lv-days > .lv-day[aria-selected="false"] { color: #5B6070 !important; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body :is(.bt, .lv) :is(.bt-tabs.is-date, .bt-tabs.is-small, .bt-views, .lv-when, .lv-sports) > button:hover,
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv .lv-days > .lv-day:hover { color: #0A0B0F !important; text-decoration: underline; text-underline-offset: 4px; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body :is(.bt, .lv) :is(.bt-tabs, .bt-views, .lv-when, .lv-sports, .lv-days) > button:focus-visible { outline: 2px solid #0A0B0F !important; outline-offset: 3px; }
  /* counts and plan tags stay small and plain beside the word */
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body :is(.bt, .lv) :is(.bt-views, .lv-sports, .bt-tabs.is-date) > button :is(span[data-count], .dw-live-count, .bt-pro-tag, .lv-dot) {
    background: transparent !important; color: inherit !important; border: 0 !important; padding: 0 !important; font: 600 12px/1 Manrope, system-ui, sans-serif !important; letter-spacing: .04em; text-transform: uppercase; opacity: .75; box-shadow: none !important;
  }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv .lv-sports > button .lv-dot { display: inline-block; width: 7px; height: 7px; padding: 0 !important; border-radius: 50%; background: #D70015 !important; opacity: 1; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv .lv-days > .lv-day { flex-direction: row !important; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv .lv-days > .lv-day b { color: inherit !important; font: inherit !important; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv .lv-days > .lv-day small { font: 500 12px/1.2 Manrope, system-ui, sans-serif !important; color: #5B6070 !important; opacity: 1 !important; }

  /* the view row: "[x] All games  [ ] Qualified PRO  [ ] Price gaps INSIDER", and the models link, as plain text */
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .dw-view-heading { display: flex !important; align-items: center !important; justify-content: space-between !important; margin: 0 0 14px !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .dw-view-heading .bt-linkbtn { color: #0A0B0F !important; font: 700 15px/1.2 Manrope, system-ui, sans-serif !important; text-decoration: underline; text-underline-offset: 4px; }

  /* the selects: label above, the choice on a black underline */
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-filters :is(.bt-quick, .bt-filter-row.is-comp) { display: flex !important; flex-wrap: wrap; align-items: flex-end !important; gap: 14px 36px !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-filters :is(.bt-field > label, .bt-label) { color: #5B6070 !important; font: 700 11px/1.2 Manrope, system-ui, sans-serif !important; letter-spacing: .08em !important; text-transform: uppercase !important; margin-bottom: 6px !important; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-filters select {
    min-height: 38px !important; padding: 4px 26px 4px 0 !important; border: 0 !important; border-bottom: 1.5px solid #0A0B0F !important; border-radius: 0 !important; background-color: transparent !important; box-shadow: none !important;
    color: #0A0B0F !important; font: 700 16px/1.2 Manrope, system-ui, sans-serif !important;
  }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-filters :is(.bt-qmore > summary, .bt-books-btn) {
    border: 0 !important; border-bottom: 1.5px solid #0A0B0F !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 4px 0 !important; color: #0A0B0F !important; font: 700 16px/1.2 Manrope, system-ui, sans-serif !important;
  }

  /* the sort row and the note under the controls: plain text on a hairline, no grey box */
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-bar select { border: 0 !important; border-bottom: 1.5px solid #0A0B0F !important; border-radius: 0 !important; background-color: transparent !important; font: 700 15px/1.2 Manrope, system-ui, sans-serif !important; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-alert { background: transparent !important; border: 0 !important; border-left: 3px solid #0A0B0F !important; border-radius: 0 !important; box-shadow: none !important; padding: 2px 0 2px 16px !important; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .bt .bt-alert h2 { font: 800 18px/1.3 Manrope, system-ui, sans-serif !important; color: #0A0B0F !important; }

  /* ---------- Live ---------- */
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv .lv-bar {
    display: flex !important; flex-wrap: wrap; align-items: center !important; justify-content: space-between !important; gap: 10px 36px !important;
    background: #fff !important; border: 0 !important; border-top: 1px solid #0A0B0F !important; border-bottom: 1px solid #D4D7DE !important; border-radius: 0 !important; box-shadow: none !important; padding: 14px 0 !important;
  }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv .lv-sports { flex-basis: 100%; order: 3; }
  html:not(#b529a):not(#b529b):not(#b529c):not(#b529d):not(#b529e):not(#b529f):not(#b529g) body .lv .lv-bar + * { margin-top: 26px; }
}

/* release 531: selects as wide as their words, the arrow after them */
@media (min-width: 900px) {
  html:not(#b531a):not(#b531b):not(#b531c):not(#b531d):not(#b531e):not(#b531f):not(#b531g):not(#b531h) body .bt .bt-filters select { width: 15.5em !important; max-width: 100%; padding-right: 34px !important; background-position: right 4px center !important; }
  html:not(#b531a):not(#b531b):not(#b531c):not(#b531d):not(#b531e):not(#b531f):not(#b531g):not(#b531h) body .bt .bt-filters .bt-field { width: auto !important; min-width: 0 !important; flex: 0 0 auto !important; }
}
