/* BetConstruct-like sportsbook UI — dark + mint green (screenshot match) */
:root {
  --bc-bg: #1a1d21;
  --bc-bg2: #22262c;
  --bc-bg3: #2a2f36;
  --bc-line: #323842;
  --bc-text: #e8eaed;
  --bc-muted: #9aa3ad;
  --bc-green: #30c889;
  --bc-green-dim: #249e6c;
  --bc-warn: #e6b422;
  --bc-odd: #2c3138;
  --bc-odd-hover: #353b44;
  --bc-radius: 4px;
  --bc-left: 340px;
  --bc-right: 370px;
  --bc-detail: 430px;
  --bc-gutter: 12px;
  --bc-font: "Roboto", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body.bc-body {
  margin: 0; padding: 0; height: 100%;
  background: var(--bc-bg);
  color: var(--bc-text);
  font-family: var(--bc-font);
  font-size: 13px;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}
body.bc-body {
  min-height: 100%;
  min-height: 100dvh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.bc-app {
  display: grid;
  grid-template-rows: 44px 1fr;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}
.bc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background: #15181c;
  border-bottom: 1px solid var(--bc-line);
  gap: 10px;
}
.bc-top__brand { font-weight: 700; letter-spacing: .02em; color: var(--bc-text); }
.bc-top__brand span { color: var(--bc-green); }
.bc-top__links { display: flex; gap: 8px; align-items: center; }
.bc-top__links a, .bc-top__links .chip {
  padding: 6px 10px;
  border-radius: var(--bc-radius);
  background: var(--bc-bg3);
  color: var(--bc-muted);
  font-size: 12px;
  font-weight: 600;
}
.bc-top__links a:hover { color: #fff; }
.bc-top__cta {
  background: var(--bc-green) !important;
  color: #0d1a14 !important;
  font-weight: 800 !important;
}
.bc-top__logout:hover { color: #ff8f8f !important; }
.bc-hint a {
  color: var(--bc-green);
  font-weight: 700;
  text-decoration: none;
}
.bc-hint a:hover { text-decoration: underline; }
.bc-top__bal {
  color: var(--bc-green);
  font-weight: 700;
  font-size: 13px;
}

.pb-locale{display:inline-flex;gap:4px;align-items:center;margin:0}
.pb-locale select{padding:5px 6px;border-radius:6px;border:1px solid #2a374d;background:#101820;color:#e8eef8;font:inherit;font-size:11px;max-width:92px}
.pb-locale__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

.bc-shell {
  display: grid;
  grid-template-columns: var(--bc-left) minmax(0, 1fr) var(--bc-right);
  gap: 0 var(--bc-gutter);
  min-height: 0;
  height: 100%;
  background: #12151a;
}
.bc-shell.has-detail {
  grid-template-columns: var(--bc-left) minmax(280px, 1fr) var(--bc-detail) var(--bc-right);
  gap: 0 var(--bc-gutter);
}
.bc-shell.hide-left {
  grid-template-columns: minmax(0, 1fr) var(--bc-right);
}
.bc-shell.hide-left.has-detail {
  grid-template-columns: minmax(0, 1fr) var(--bc-detail) var(--bc-right);
}
.bc-shell.hide-right {
  grid-template-columns: var(--bc-left) minmax(0, 1fr);
}
.bc-shell.hide-right.has-detail {
  grid-template-columns: var(--bc-left) minmax(0, 1fr) var(--bc-detail);
}
.bc-shell.hide-left.hide-right {
  grid-template-columns: minmax(0, 1fr);
}
.bc-shell.hide-left.hide-right.has-detail {
  grid-template-columns: minmax(0, 1fr) var(--bc-detail);
}
.bc-shell.hide-left .bc-left { display: none; }
.bc-shell.hide-right .bc-right { display: none; }

.bc-logo { height: 28px; vertical-align: middle; }

/* LEFT */
.bc-left {
  background: var(--bc-bg2);
  border-right: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.bc-search {
  padding: 10px;
  border-bottom: 1px solid var(--bc-line);
}
.bc-search input {
  width: 100%;
  padding: 9px 32px 9px 12px;
  border: 1px solid var(--bc-green);
  border-radius: var(--bc-radius);
  background: var(--bc-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2330c889' viewBox='0 0 16 16'%3E%3Cpath d='M11.7 10.3l3 3-1.4 1.4-3-3A5.5 5.5 0 1111.7 10.3zM6.5 10a3.5 3.5 0 100-7 3.5 3.5 0 000 7z'/%3E%3C/svg%3E") right 10px center no-repeat;
  color: var(--bc-text);
  outline: none;
}
.bc-search input::placeholder { color: var(--bc-muted); }

.bc-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px;
}
.bc-mode a {
  text-align: center;
  padding: 10px 6px;
  border-radius: var(--bc-radius);
  background: var(--bc-bg3);
  color: var(--bc-muted);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .03em;
}
.bc-mode a.on {
  background: var(--bc-green);
  color: #0d1a14;
}

.bc-nav {
  overflow: auto;
  flex: 1;
  padding: 4px 0 16px;
}
.bc-nav__sec {
  padding: 10px 12px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--bc-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bc-sport { border-bottom: 1px solid transparent; }
.bc-sport__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: 0;
  color: var(--bc-text);
  cursor: pointer;
  text-align: left;
}
.bc-sport__head:hover { background: rgba(255,255,255,.03); }
.bc-sport__head .nm { font-weight: 600; }
.bc-sport__head .ct {
  color: var(--bc-muted);
  font-size: 11px;
  background: var(--bc-bg);
  padding: 2px 7px;
  border-radius: 10px;
}
.bc-sport__body { display: none; }
.bc-sport.open .bc-sport__body { display: block; }
.bc-sport.open .bc-sport__head { background: rgba(48,200,137,.08); }
.bc-comp {
  display: flex;
  justify-content: space-between;
  padding: 7px 12px 7px 22px;
  color: var(--bc-muted);
  font-size: 12px;
}
.bc-comp:hover, .bc-comp.on {
  color: #fff;
  background: rgba(48,200,137,.12);
}
.bc-comp.on { border-left: 2px solid var(--bc-green); }
.bc-comp .ct { font-size: 11px; }

/* CENTER */
.bc-main {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  background: var(--bc-bg);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--bc-line);
  border-right: 1px solid var(--bc-line);
}
.bc-main.bc-main--loading {
  opacity: 0.55;
  pointer-events: none;
}
.bc-league-bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bc-bg2);
  border-bottom: 1px solid var(--bc-line);
  gap: 10px;
}
.bc-league-bar h1 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.bc-multi-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--bc-muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.bc-multi-toggle input {
  accent-color: var(--bc-green);
  width: 16px;
  height: 16px;
}

.bc-cols-head {
  display: grid;
  gap: 10px;
  padding: 10px 14px;
  color: var(--bc-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--bc-line);
  background: #181b1f;
  position: sticky;
  top: 41px;
  z-index: 2;
}
.bc-cols-head--multi {
  grid-template-columns: minmax(180px, 1.25fr) minmax(140px, 1fr) minmax(120px, 0.9fr) minmax(120px, 0.9fr) 56px;
}
.bc-cols-head .col-group {
  text-align: center;
  line-height: 1.25;
}
.bc-cols-head .col-group small {
  display: block;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  opacity: .85;
}
.bc-cols-head .col-match { text-align: left; }
.bc-shell.simple-cols .bc-cols-head--multi {
  grid-template-columns: minmax(200px, 1.4fr) minmax(160px, 1fr) 56px;
}
.bc-shell.simple-cols .bc-cols-head .col-group:nth-child(3),
.bc-shell.simple-cols .bc-cols-head .col-group:nth-child(4),
.bc-shell.simple-cols .bc-row--multi .bc-odd-group:nth-child(3),
.bc-shell.simple-cols .bc-row--multi .bc-odd-group:nth-child(4) {
  display: none;
}

.bc-date {
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--bc-muted);
  background: #171a1e;
  border-bottom: 1px solid var(--bc-line);
}

.bc-row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid var(--bc-line);
}
.bc-row--multi {
  grid-template-columns: minmax(180px, 1.25fr) minmax(140px, 1fr) minmax(120px, 0.9fr) minmax(120px, 0.9fr) 56px;
}
.bc-shell.simple-cols .bc-row--multi {
  grid-template-columns: minmax(200px, 1.4fr) minmax(160px, 1fr) 56px;
}
.bc-row:hover { background: rgba(255,255,255,.02); }
.bc-row.is-active {
  background: rgba(48,200,137,.08);
  box-shadow: inset 2px 0 0 var(--bc-green);
}
.bc-teams { cursor: pointer; min-width: 0; }
.bc-teams .t {
  display: block;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bc-teams .meta { color: var(--bc-muted); font-size: 11px; margin-top: 2px; }
.bc-teams .live-badge {
  display: inline-block;
  background: var(--bc-green);
  color: #0d1a14;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  margin-right: 4px;
}
.bc-teams .bc-score {
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  margin-right: 6px;
}
.bc-teams .bc-clk {
  color: var(--bc-green);
  font-weight: 700;
  font-size: 11px;
}

.bc-odd-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.bc-odd-group--2 { grid-template-columns: repeat(2, 1fr); }

.bc-odd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 4px 4px;
  border: 0;
  border-radius: var(--bc-radius);
  background: var(--bc-odd);
  color: #fff;
  cursor: pointer;
}
.bc-odd:hover:not(:disabled) { background: var(--bc-odd-hover); }
.bc-odd:disabled { opacity: .35; cursor: default; }
.bc-odd .lbl { font-size: 9px; color: var(--bc-muted); line-height: 1.1; }
.bc-odd .pr { font-weight: 700; font-size: 12px; }
.bc-odd.on {
  outline: 1px solid var(--bc-green);
  background: rgba(48,200,137,.15);
}
.bc-odd.on .pr { color: var(--bc-green); }
.bc-odd.ovr .pr { color: #5dade2; }

.bc-more {
  border: 0;
  background: transparent;
  text-align: center;
  color: var(--bc-green);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 2px;
}
.bc-more:hover { text-decoration: underline; }

.bc-empty {
  padding: 48px 16px;
  text-align: center;
  color: var(--bc-muted);
}

/* DETAIL PANEL */
.bc-detail {
  background: var(--bc-bg2);
  border-left: 0;
  border-right: 1px solid var(--bc-line);
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}
.bc-detail[hidden] { display: none !important; }
.bc-detail__hero {
  flex-shrink: 0;
}
.bc-detail__tabs {
  flex-shrink: 0;
}
.bc-detail__sec {
  flex-shrink: 0;
}
.bc-detail__body {
  flex: 1 1 auto;
  min-height: 120px;
  overflow: auto;
  padding: 8px;
}
.bc-detail.markets-collapsed .bc-detail__body {
  display: none !important;
}
.bc-detail.markets-collapsed .bc-detail__tabs {
  display: none;
}
.bc-detail__more {
  flex: 0 1 auto;
  border-top: 1px solid var(--bc-line);
  background: #12151a;
  max-height: 38%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.bc-detail.markets-collapsed .bc-detail__more {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
}
.bc-detail__more-tog {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 0;
  background: #1a1f25;
  color: #dfe5ea;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.bc-detail__more-tog:hover { color: #fff; }
.bc-detail__more-body {
  overflow: auto;
  min-height: 0;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
/* Only ONE scroll area — children must not nest scroll */
.bc-detail__stats,
.bc-detail__analytics,
.bc-detail__timeline,
.bc-detail__lineups,
.bc-detail__standings {
  flex-shrink: 0;
  max-height: none !important;
  overflow: visible !important;
  border-bottom: 1px solid var(--bc-line);
  background: #14181c;
  padding: 12px;
}
.bc-detail__head {
  position: relative;
  padding: 12px 36px 10px 12px;
  border-bottom: 1px solid var(--bc-line);
  background: linear-gradient(180deg, #2a323a 0%, var(--bc-bg2) 100%);
}
.bc-detail__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: var(--bc-radius);
  background: var(--bc-bg3);
  color: var(--bc-muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
.bc-detail__close:hover { color: #fff; }
.bc-detail__title {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
}
.bc-detail__sub {
  margin-top: 4px;
  font-size: 11px;
  color: var(--bc-muted);
}
.bc-detail__score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
}
.bc-detail__score .sc { line-height: 1; }
.bc-detail__score .clk {
  font-size: 11px;
  font-weight: 700;
  background: var(--bc-green);
  color: #0d1a14;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0;
}

.bc-sg__head,
.bc-an__head {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bc-muted);
  margin-bottom: 10px;
}
.bc-sg__teams {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #dfe5ea;
  margin-bottom: 10px;
}
.bc-sg__row {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.bc-sg__v { text-align: center; font-weight: 800; font-size: 13px; }
.bc-sg__lab {
  font-size: 11px;
  color: var(--bc-muted);
  text-align: center;
  margin-bottom: 4px;
}
.bc-sg__bar {
  height: 6px;
  border-radius: 99px;
  background: #2a3038;
  overflow: hidden;
}
.bc-sg__bar > i {
  display: block;
  height: 100%;
  background: var(--bc-green);
}
.bc-an__block {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.bc-an__block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.bc-an__form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.bc-an__name {
  font-size: 13px;
  font-weight: 700;
  color: #e8ecef;
}
.bc-an__meta {
  font-size: 11px;
  color: var(--bc-muted);
}
.bc-form {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.bc-form__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 28px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
  background: #2a3038;
  color: #c5ccd3;
  letter-spacing: .02em;
}
.bc-form__pill--ht {
  min-width: 42px;
  font-size: 11px;
}
.bc-form__pill--w { background: rgba(48,200,137,.28); color: var(--bc-green); }
.bc-form__pill--l { background: rgba(220,80,80,.28); color: #f08080; }
.bc-form__pill--d { background: #3a414c; color: #d0d5db; }
.bc-form__pill--g { background: rgba(48,200,137,.28); color: var(--bc-green); }
.bc-form__pill--n { background: #3a414c; color: #9aa3ad; }
.bc-an__sum {
  font-size: 12px;
  color: #c5ccd3;
  margin-bottom: 8px;
  font-weight: 600;
}
.bc-an__h2h {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bc-an__h2h-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  font-size: 12px;
}
.bc-an__date { color: var(--bc-muted); font-size: 11px; }
.bc-an__match { color: #e8ecef; font-weight: 600; line-height: 1.35; }
.bc-tl__info {
  color: var(--bc-muted);
  font-size: 12px;
  margin: 0 0 8px;
  line-height: 1.4;
}

.bc-tl__head {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bc-muted);
  margin-bottom: 8px;
}
.bc-tl__empty {
  margin: 0;
  font-size: 12px;
  color: var(--bc-muted);
}
.bc-tl__list { display: flex; flex-direction: column; gap: 4px; }
.bc-tl__row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  padding: 4px 6px;
  background: rgba(255,255,255,.03);
  border-radius: 4px;
}
.bc-tl__ico { text-align: center; line-height: 1; }
.bc-tl__main { color: #e8ecef; font-weight: 600; min-width: 0; }
.bc-tl__side { color: var(--bc-muted); font-size: 11px; white-space: nowrap; }
.bc-tl__row--goal .bc-tl__main { color: var(--bc-green); }
.bc-tl__row--yellow_card .bc-tl__ico,
.bc-tl__row--red_card .bc-tl__ico { font-size: 13px; }
.bc-tl__row--period {
  background: transparent;
  border-left: 2px solid var(--bc-green);
  border-radius: 0;
  padding-left: 8px;
}

.bc-detail__lineups,
.bc-detail__standings {
  background: #12161a;
}
.bc-st__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bc-muted);
  margin-bottom: 6px;
}
.bc-st__season {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bc-green);
  font-size: 11px;
}
.bc-st__empty {
  margin: 0;
  font-size: 12px;
  color: var(--bc-muted);
}
.bc-st__group {
  margin-bottom: 8px;
}
.bc-st__group:last-child { margin-bottom: 0; }
.bc-st__group-name {
  font-size: 10px;
  font-weight: 700;
  color: #9aa4ad;
  margin: 0 0 4px;
}
.bc-st__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.bc-st__table th {
  text-align: center;
  font-weight: 800;
  color: var(--bc-muted);
  padding: 2px 3px;
  border-bottom: 1px solid var(--bc-line);
  font-size: 9px;
  letter-spacing: .04em;
}
.bc-st__table th.bc-st__team,
.bc-st__table td.bc-st__team {
  text-align: left;
  padding-left: 4px;
}
.bc-st__table td {
  text-align: center;
  padding: 3px 3px;
  color: #c8d0d6;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.bc-st__table td.bc-st__team {
  color: #e8ecef;
  font-weight: 600;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bc-st__table td.bc-st__pos {
  color: var(--bc-muted);
  font-weight: 800;
  width: 22px;
}
.bc-st__table td.bc-st__pts {
  color: var(--bc-green);
  font-weight: 800;
}
.bc-st__table tr.bc-st__hl td {
  background: rgba(48, 200, 137, .08);
}
.bc-st__table tr.bc-st__hl td.bc-st__team {
  color: #fff;
}
.bc-comp-standings {
  margin: 0 0 8px;
  padding: 8px 10px 10px;
  background: #12161a;
  border: 1px solid var(--bc-line);
  border-radius: 4px;
  max-height: 280px;
  overflow: auto;
}
.bc-comp-standings[hidden] { display: none !important; }
.bc-comp-standings .bc-st__table td.bc-st__team {
  max-width: 180px;
}
.bc-lu__head {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bc-muted);
  margin-bottom: 6px;
}
.bc-lu__empty {
  margin: 0;
  font-size: 12px;
  color: var(--bc-muted);
}
.bc-lu__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.bc-lu__col {
  min-width: 0;
  background: rgba(255,255,255,.03);
  border-radius: 4px;
  padding: 6px 7px;
}
.bc-lu__team {
  font-size: 12px;
  font-weight: 700;
  color: #e8ecef;
  line-height: 1.25;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bc-lu__meta {
  font-size: 10px;
  font-weight: 700;
  color: var(--bc-green);
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.bc-lu__group {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--bc-muted);
  margin: 6px 0 3px;
}
.bc-lu__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bc-lu__row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 5px;
  align-items: center;
  font-size: 11px;
  padding: 2px 0;
}
.bc-lu__num {
  font-weight: 800;
  color: var(--bc-green);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.bc-lu__name {
  color: #dce2e6;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bc-lu__pos {
  color: var(--bc-muted);
  font-size: 10px;
  font-weight: 700;
}
.bc-lu__row--bench .bc-lu__name { color: var(--bc-muted); font-weight: 500; }

.bc-detail__tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--bc-line);
  background: #181b1f;
  flex-shrink: 0;
}
.bc-detail__tabs button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--bc-muted);
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.bc-detail__tabs button.on {
  color: var(--bc-green);
  border-bottom-color: var(--bc-green);
}

.bc-mkt {
  background: var(--bc-bg3);
  border-radius: var(--bc-radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.bc-mkt__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #252a31;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}
.bc-mkt__head:hover { color: #fff; }
.bc-mkt__head .star { color: var(--bc-muted); font-weight: 400; }
.bc-mkt.collapsed .bc-mkt__grid { display: none; }
.bc-mkt__grid {
  display: grid;
  gap: 6px;
  padding: 8px;
}
.bc-mkt__grid.cols-2 { grid-template-columns: 1fr 1fr; }
.bc-mkt__grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.bc-mkt__grid.cols-1 { grid-template-columns: 1fr; }

.bc-mkt .bc-odd {
  min-height: 42px;
  width: 100%;
}
.bc-mkt .bc-odd .lbl {
  font-size: 10px;
  color: var(--bc-muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 4px;
}

/* RIGHT */
.bc-right {
  background: var(--bc-bg2);
  border-left: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.bc-fav {
  padding: 12px;
  border-bottom: 1px solid var(--bc-line);
  color: var(--bc-muted);
  font-size: 12px;
  font-weight: 700;
}
.bc-slip-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.bc-slip-tabs button {
  border: 0;
  background: transparent;
  color: var(--bc-muted);
  padding: 12px 8px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .03em;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.bc-slip-tabs button.on {
  color: var(--bc-green);
  border-bottom-color: var(--bc-green);
}
.bc-slip-body {
  flex: 1;
  overflow: auto;
  padding: 10px 12px;
}
.bc-slip-item {
  background: var(--bc-bg3);
  border-radius: var(--bc-radius);
  padding: 10px;
  margin-bottom: 8px;
  position: relative;
}
.bc-slip-item .rm {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  color: var(--bc-muted);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.bc-slip-item .match { font-size: 12px; font-weight: 600; padding-right: 18px; }
.bc-slip-item .pick { color: var(--bc-muted); font-size: 11px; margin-top: 4px; }
.bc-slip-item .price { color: var(--bc-green); font-weight: 800; margin-top: 6px; }

.bc-slip-foot {
  border-top: 1px solid var(--bc-line);
  padding: 12px;
  background: #181b1f;
}
.bc-quick {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.bc-quick button {
  flex: 1;
  border: 1px solid var(--bc-line);
  background: var(--bc-bg3);
  color: var(--bc-text);
  border-radius: var(--bc-radius);
  padding: 7px;
  cursor: pointer;
  font-weight: 700;
}
.bc-quick button:hover { border-color: var(--bc-green); }
.bc-slip-foot label {
  display: block;
  font-size: 11px;
  color: var(--bc-muted);
  margin-bottom: 8px;
}
.bc-slip-foot input {
  width: 100%;
  margin-top: 4px;
  padding: 9px;
  border-radius: var(--bc-radius);
  border: 1px solid var(--bc-line);
  background: var(--bc-bg);
  color: #fff;
}
.bc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 8px 0;
  color: var(--bc-muted);
}
.bc-meta strong { color: var(--bc-green); }
.bc-place {
  width: 100%;
  border: 0;
  border-radius: var(--bc-radius);
  padding: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  background: var(--bc-green);
  color: #0d1a14;
  cursor: pointer;
}
.bc-place:hover { background: #3ad698; }
.bc-hint { font-size: 11px; color: var(--bc-muted); margin: 8px 0 0; min-height: 14px; }

@media (max-width: 1480px) {
  :root {
    --bc-left: 280px;
    --bc-right: 300px;
    --bc-detail: 360px;
    --bc-gutter: 8px;
  }
  .bc-shell.has-detail {
    grid-template-columns: var(--bc-left) minmax(240px, 1fr) var(--bc-detail) var(--bc-right);
  }
  .bc-cols-head--multi,
  .bc-row--multi {
    grid-template-columns: minmax(150px, 1.2fr) minmax(120px, 1fr) minmax(100px, 0.85fr) minmax(100px, 0.85fr) 50px;
  }
}
@media (max-width: 1280px) {
  :root {
    --bc-left: 250px;
    --bc-right: 270px;
    --bc-detail: 320px;
    --bc-gutter: 6px;
  }
  .bc-shell.has-detail {
    grid-template-columns: var(--bc-left) minmax(220px, 1fr) var(--bc-detail) var(--bc-right);
  }
  /* Prefer 1X2 only on mid screens so odds stay readable */
  .bc-shell:not(.force-multi) .bc-cols-head--multi,
  .bc-shell:not(.force-multi) .bc-row--multi {
    grid-template-columns: minmax(160px, 1.35fr) minmax(150px, 1fr) 52px;
  }
  .bc-shell:not(.force-multi) .bc-cols-head .col-group:nth-child(3),
  .bc-shell:not(.force-multi) .bc-cols-head .col-group:nth-child(4),
  .bc-shell:not(.force-multi) .bc-row--multi .bc-odd-group:nth-child(3),
  .bc-shell:not(.force-multi) .bc-row--multi .bc-odd-group:nth-child(4) {
    display: none !important;
  }
}

/* Desktop: hide mobile-only chrome */
.bc-mob-btn,
.bc-bottom,
.bc-drawer-head,
.bc-backdrop { display: none; }

/*
 * Phone + tablet (incl. iPad portrait / small landscape):
 * ONE drawer layout. Old 901–1100 gap hid the slip with no bottom nav.
 */
@media (max-width: 1100px) {
  .bc-mob-btn { display: inline-flex; }
  .bc-bottom { display: grid; }
  .bc-drawer-head { display: flex; }
  .bc-top__hide-sm { display: none !important; }
  .bc-league-bar__right .bc-panel-btn { display: none; }
  .bc-multi-toggle,
  .bc-switch { display: none !important; }
  .bc-top__links > a:not(.bc-top__cta) { display: none; }
  .pb-locale--top .pb-locale__cur { display: none; }

  .bc-app {
    height: 100dvh;
    max-height: 100dvh;
    grid-template-rows: 52px minmax(0, 1fr);
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  .bc-top {
    padding: 0 10px;
    padding-top: env(safe-area-inset-top, 0px);
    gap: 8px;
    min-height: 52px;
    height: auto;
    position: sticky;
    top: 0;
    z-index: 35;
  }
  .bc-top__brand { font-size: 14px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bc-logo { height: 26px; }
  .bc-top__links { gap: 6px; margin-left: auto; }
  .bc-top__links a, .bc-top__bal {
    padding: 8px 10px;
    font-size: 12px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .bc-top__cta { padding: 8px 12px !important; }
  .pb-locale--top select { max-width: 78px; font-size: 11px; min-height: 36px; }

  .bc-shell,
  .bc-shell.has-detail,
  .bc-shell.hide-left,
  .bc-shell.hide-right,
  .bc-shell.hide-left.has-detail,
  .bc-shell.hide-right.has-detail,
  .bc-shell.hide-left.hide-right,
  .bc-shell.hide-left.hide-right.has-detail {
    display: block !important;
    grid-template-columns: none !important;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    position: relative;
  }

  .bc-shell.hide-left .bc-left,
  .bc-shell.hide-right .bc-right {
    display: flex !important;
  }

  .bc-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--bc-bg);
  }

  .bc-left {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(88vw, 340px);
    max-width: 100%;
    z-index: 50;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 8px 0 28px rgba(0,0,0,.45);
    overflow: hidden;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .bc-shell.mob-menu-open .bc-left {
    transform: translateX(0);
  }
  .bc-left .bc-nav,
  .bc-left .bc-sports,
  .bc-left > .bc-sport-list,
  .bc-left > nav,
  .bc-left > div:last-child {
    overflow: auto;
    flex: 1;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
  }

  .bc-right {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    height: min(82dvh, 640px);
    max-height: calc(100dvh - 52px);
    z-index: 55;
    transform: translateY(110%);
    transition: transform .22s ease;
    border-left: 0;
    border-top: 1px solid var(--bc-line);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,.45);
    padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    background: var(--bc-bg2);
  }
  .bc-shell.mob-slip-open .bc-right {
    transform: translateY(0);
  }
  .bc-shell:not(.mob-menu-open) .bc-left { pointer-events: none; }
  .bc-shell.mob-menu-open .bc-left { pointer-events: auto; }
  .bc-shell:not(.mob-slip-open) .bc-right { pointer-events: none; }
  .bc-shell.mob-slip-open .bc-right { pointer-events: auto; }

  .bc-detail {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100dvh !important;
    z-index: 60 !important;
    box-shadow: none !important;
    border-left: 0 !important;
    display: flex !important;
    flex-direction: column;
    background: var(--bc-bg2);
    padding-top: env(safe-area-inset-top, 0px);
  }
  .bc-detail[hidden] { display: none !important; }
  .bc-detail__body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .bc-detail__close {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .bc-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(1px);
  }

  .bc-league-bar {
    padding: 10px 12px;
    gap: 6px;
    position: sticky;
    top: 0;
    z-index: 5;
    background: #171a1e;
  }
  .bc-league-bar h1 { font-size: 15px; }

  /* Match cards: teams on top, 1X2 full width, more button */
  .bc-cols-head,
  .bc-cols-head--multi {
    display: none !important;
  }
  .bc-row,
  .bc-row--multi,
  .bc-shell.simple-cols .bc-row--multi {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "teams more"
      "odds odds" !important;
    gap: 8px !important;
    padding: 12px !important;
    align-items: start;
    background: var(--bc-bg2);
    border-bottom: 8px solid #12151a;
  }
  .bc-row .bc-teams,
  .bc-row--multi .bc-teams {
    grid-area: teams;
    min-width: 0;
  }
  .bc-row .bc-odd-group,
  .bc-row--multi .bc-odd-group {
    grid-area: odds;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100%;
  }
  /* Keep 1X2 visible (2nd child); hide handicap/totals only */
  .bc-row--multi > .bc-odd-group:nth-child(2) {
    display: grid !important;
    grid-area: odds;
  }
  .bc-row .bc-odd-group--2,
  .bc-row--multi .bc-odd-group--2,
  .bc-row--multi .bc-odd-group:nth-child(3),
  .bc-row--multi .bc-odd-group:nth-child(4) {
    display: none !important;
  }
  .bc-row .bc-more,
  .bc-row--multi .bc-more {
    grid-area: more;
    align-self: start;
    min-width: 48px;
    min-height: 40px;
    padding: 8px 6px;
    font-size: 12px;
    font-weight: 800;
  }
  .bc-odd {
    min-height: 48px;
    padding: 8px 4px;
    border-radius: 8px;
  }
  .bc-odd .pr { font-size: 15px; font-weight: 800; }
  .bc-odd .lbl { font-size: 11px; }
  .bc-teams .t {
    font-size: 14px;
    font-weight: 700;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.3;
  }
  .bc-teams .meta { font-size: 12px; margin-top: 4px; }
  .bc-date {
    padding: 12px;
    font-size: 13px;
    position: sticky;
    top: 44px;
    z-index: 4;
  }

  .bc-mode a {
    font-size: 12px;
    padding: 12px 6px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bc-row-item {
    min-height: 44px;
    padding: 10px 12px !important;
    font-size: 13px;
  }
  .bc-search input {
    min-height: 44px;
    font-size: 16px; /* iOS: avoid zoom on focus */
    padding: 10px 36px 10px 12px;
  }
  .bc-place {
    min-height: 48px;
    font-size: 15px;
    border-radius: 10px;
  }
  .bc-slip-foot { padding: 12px; }
  .bc-quick button {
    min-height: 40px;
    min-width: 48px;
    font-size: 13px;
  }
  #slip-stake, .bc-slip-foot input[type="number"] {
    min-height: 44px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .bc-top__logout { display: none; }
  .bc-row, .bc-row--multi {
    padding: 14px 12px !important;
  }
  .bc-odd { min-height: 52px; }
  .bc-odd .pr { font-size: 16px; }
  .bc-detail__title { font-size: 17px; }
  .bc-detail__hero { min-height: 130px; }
}

@media (max-width: 420px) {
  .pb-locale--top select { max-width: 68px; font-size: 10px; }
  .bc-top__cta { padding: 7px 9px !important; font-size: 11px !important; }
  .bc-logo { height: 22px; }
}

/* Mobile chrome pieces */
.bc-mob-btn {
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--bc-line);
  border-radius: 10px;
  background: var(--bc-bg3);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
  -webkit-tap-highlight-color: transparent;
}
.bc-mob-slip-btn { font-size: 16px; }
.bc-mob-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--bc-green);
  color: #0d1a14;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bc-mob-badge:empty,
.bc-mob-badge[data-n="0"] { display: none; }

.bc-drawer-head {
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--bc-line);
  flex-shrink: 0;
}
.bc-drawer-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--bc-bg3);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.bc-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #15181c;
  border-top: 1px solid var(--bc-line);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.bc-bottom__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  background: transparent;
  color: var(--bc-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 2px;
  min-height: 48px;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.bc-bottom__btn .ico { font-size: 17px; line-height: 1; }
.bc-bottom__btn.on,
.bc-bottom__btn:active { color: var(--bc-green); }
.bc-bottom__btn .bc-mob-badge {
  top: 2px;
  right: calc(50% - 22px);
}

@media (min-width: 1101px) {
  .bc-mob-btn,
  .bc-bottom,
  .bc-drawer-head,
  .bc-backdrop { display: none !important; }
  .bc-shell.mob-menu-open .bc-left,
  .bc-shell.mob-slip-open .bc-right {
    transform: none;
  }
}

/* Landscape phones / short tablets */
@media (max-width: 1100px) and (max-height: 500px) {
  .bc-right {
    height: calc(100dvh - 8px);
    max-height: calc(100dvh - 8px);
    border-radius: 0;
  }
  .bc-app { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== UI upgrades: nav tree, filters, panels, hero ===== */
.bc-filter-row {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--bc-line);
  position: relative;
}
.bc-tf { position: relative; }
.bc-tf__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius);
  background: var(--bc-bg3);
  color: var(--bc-text);
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
}
.bc-tf__btn .chev { margin-left: auto; color: var(--bc-muted); }
.bc-tf__btn .ic-clock::before { content: "\23F1"; }
.bc-tf__menu {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 4px);
  z-index: 20;
  background: #2a313a;
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.bc-tf__menu a {
  display: block;
  padding: 9px 12px;
  color: var(--bc-muted);
  font-size: 12px;
  font-weight: 600;
}
.bc-tf__menu a:hover, .bc-tf__menu a.on {
  background: rgba(48,200,137,.12);
  color: #fff;
}
.bc-bb {
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius);
  background: var(--bc-bg3);
  color: var(--bc-muted);
  font-weight: 800;
  font-size: 11px;
  cursor: default;
}

.bc-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  background: transparent;
  color: var(--bc-text);
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
}
.bc-nav-link .tx { flex: 1; }
.bc-nav-link .arrow { color: var(--bc-muted); }
.bc-nav-hint { padding: 8px 12px 12px 36px; color: var(--bc-muted); font-size: 11px; margin: 0; }

.bc-nav-match.bc-row-item {
  grid-template-columns: minmax(0, 1fr) !important;
  padding-left: 36px !important;
  min-height: 40px;
  font-weight: 500;
  color: var(--bc-muted);
}
.bc-nav-match.bc-row-item:hover {
  color: #fff;
}
.bc-nav-match .nm {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: normal;
  line-height: 1.25;
  font-weight: 500;
}
.bc-nav-match .teams {
  color: var(--bc-text);
  font-weight: 600;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bc-nav-match .meta {
  font-size: 10px;
  color: var(--bc-muted);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bc-acc__body .bc-comp .reg {
  color: var(--bc-muted);
  font-weight: 500;
  font-size: 10px;
}
.bc-acc__body .bc-comp.bc-row-item {
  padding-left: 36px !important;
}

.ic {
  width: 18px; height: 18px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #3a424c center/12px no-repeat;
  display: inline-block;
}
.ic-soccer { background-color: #2e7d32; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
.ic-basketball { background-color: #e65100; }
.ic-tennis { background-color: #c0ca33; }
.ic-volleyball { background-color: #0277bd; }
.ic-icehockey { background-color: #455a64; }
.ic-baseball { background-color: #c62828; }
.ic-handball { background-color: #6a1b9a; }
.ic-tabletennis { background-color: #00838f; }
.ic-esports { background-color: #4527a0; }
.ic-default { background-color: #546e7a; }
.ic-globe { background-color: #1565c0; }
.ic-cal { background-color: #37474f; }
.ic-star { background-color: #6a1b9a; }
.ic-trophy { background-color: #1565c0; }

.bc-sport__head {
  display: grid;
  grid-template-columns: 22px 1fr auto 28px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  background: transparent;
  border: 0;
  color: var(--bc-text);
  cursor: pointer;
  text-align: left;
}
.bc-sport__head .nm { font-weight: 600; }
.bc-sport__head .ct {
  color: var(--bc-muted);
  font-size: 11px;
}
.sport-chev {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: var(--bc-green);
  color: #0d1a14;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}
.bc-sport.open .sport-chev::after { content: none; }
.bc-sport:not(.open) .sport-chev::after { content: none; }
.bc-sport__body { display: none; }
.bc-sport.open .bc-sport__body { display: block; }
.bc-sport.open .bc-sport__head { background: rgba(48,200,137,.08); }

.bc-region__head {
  display: grid;
  grid-template-columns: 18px 1fr auto 18px;
  gap: 6px;
  align-items: center;
  width: 100%;
  padding: 7px 10px 7px 18px;
  border: 0;
  background: transparent;
  color: var(--bc-muted);
  cursor: pointer;
  font-size: 12px;
  text-align: left;
}
.bc-region.open > .bc-region__head { color: #fff; }
.bc-region__body { display: none; }
.bc-region.open > .bc-region__body { display: block; }
.bc-region__body .bc-comp { padding-left: 36px; }

.bc-acc__body[hidden], .bc-sport__body[hidden], .bc-region__body[hidden], .bc-date-block[hidden] {
  display: none !important;
}
.bc-sport.open > .bc-sport__body[hidden] { display: none !important; }
.bc-sport.open > .bc-sport__body:not([hidden]) { display: block; }

.bc-league-bar__left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bc-league-bar__left h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-league-bar__right { display: flex; align-items: center; gap: 8px; }
.bc-icon-btn, .bc-panel-btn {
  width: 32px; height: 28px;
  border: 1px solid var(--bc-line);
  border-radius: var(--bc-radius);
  background: var(--bc-bg3);
  color: var(--bc-muted);
  cursor: pointer;
}
.bc-panel-btn:hover, .bc-icon-btn:hover { color: #fff; border-color: var(--bc-green); }

.bc-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bc-muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.bc-switch input { display: none; }
.bc-switch i {
  width: 36px; height: 18px;
  border-radius: 999px;
  background: #555c66;
  position: relative;
  display: inline-block;
  transition: .15s;
}
.bc-switch i::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: .15s;
}
.bc-switch input:checked + i { background: #6b7280; }
.bc-switch input:checked + i::after {
  left: 20px;
  background: var(--bc-green);
}

.bc-date-wrap { border-bottom: 1px solid var(--bc-line); }
.bc-date {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--bc-muted);
  background: #171a1e;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.bc-date-block[hidden] { display: none !important; }

.bc-detail__hero {
  position: relative;
  min-height: 140px;
  padding: 14px 36px 14px 14px;
  background: #1c242c center/cover no-repeat;
  border-bottom: 1px solid var(--bc-line);
}
.bc-detail__hero-meta {
  font-size: 11px;
  color: rgba(255,255,255,.75);
  margin-bottom: 10px;
}
.bc-detail__title {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.bc-detail__sub {
  margin-top: 8px;
  font-size: 12px;
  color: var(--bc-green);
  font-weight: 700;
}
.bc-detail__tabs {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--bc-line);
  background: #181b1f;
  flex-shrink: 0;
}
.bc-detail__tabs .bc-tab-ic {
  padding: 10px 8px;
  color: var(--bc-muted);
  font-size: 14px;
}
.bc-detail__tabs button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--bc-muted);
  padding: 10px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.bc-detail__tabs button.on {
  color: #fff;
  border-bottom-color: var(--bc-green);
}
.bc-detail__tabs button sup {
  font-size: 9px;
  margin-left: 2px;
  color: var(--bc-muted);
}
.bc-detail__sec-tog {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid var(--bc-line);
  background: #1c2128;
  color: var(--bc-muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.bc-mkt__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.bc-mkt__head .l { display: flex; align-items: center; gap: 6px; }
.bc-mkt__head .r { display: flex; align-items: center; gap: 8px; color: var(--bc-muted); font-size: 11px; }
.bc-mkt__head .star { color: var(--bc-muted); }
.mkt-cash {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bc-green);
  color: #0d1a14;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11px;
}
.bc-mkt.collapsed .bc-mkt__grid { display: none; }
.bc-mkt.open .bc-mkt__grid { display: grid; }

/* ===== Thin boxed nav rows + real icons (screenshot 12) ===== */
.bc-nav {
  padding: 0;
  gap: 0;
}
.bc-row-item {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 8px 12px !important;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  background: transparent;
  color: var(--bc-text);
  cursor: pointer;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  box-sizing: border-box;
}
.bc-row-item:hover {
  background: rgba(255,255,255,.04);
}
.bc-row-item .tx,
.bc-row-item .nm {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: .02em;
}
.bc-nav-link .tx {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}
.bc-row-item .ct {
  color: var(--bc-muted);
  font-size: 11px;
  font-weight: 600;
  justify-self: end;
}
.bc-row-item .arrow,
.bc-row-item .chev-acc {
  color: var(--bc-muted);
  font-size: 12px;
  justify-self: end;
  width: 16px;
  text-align: center;
}
.bc-comp.bc-row-item {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-left: 40px !important;
  min-height: 32px;
  font-weight: 500;
  color: var(--bc-muted);
}
.bc-comp.bc-row-item.on {
  color: #fff;
  background: rgba(48,200,137,.14);
  border-left: 2px solid var(--bc-green);
  padding-left: 38px !important;
}
.bc-region__head.bc-row-item {
  padding-left: 14px !important;
  color: var(--bc-muted);
  font-weight: 500;
}
.bc-region.open > .bc-region__head {
  color: #fff;
}
.bc-sport__head.bc-row-item {
  font-size: 13px;
}
.bc-sport.open > .bc-sport__head {
  background: rgba(48,200,137,.07);
}

.bc-ico {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}
.bc-ico img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}
.bc-ico--flag {
  border-radius: 3px;
  background: transparent;
  width: 20px;
  height: 14px;
}
.bc-ico--flag img {
  width: 20px;
  height: 14px;
  filter: none;
  object-fit: cover;
  border-radius: 2px;
}
.bc-ico--flag .flag-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: #3a4450;
  border-radius: 2px;
}
.bc-ico--ui {
  border-radius: 6px;
}
.bc-ico--ui img {
  width: 13px;
  height: 13px;
}

.sport-chev {
  width: 20px !important;
  height: 20px !important;
  border-radius: 3px;
  background: var(--bc-green);
  color: #0d1a14;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  justify-self: end;
}
.bc-sport:not(.open) .sport-chev {
  background: transparent;
  color: var(--bc-muted);
  border: 1px solid var(--bc-line);
}
.bc-sport:not(.open) .sport-chev::after { content: none !important; }
.bc-sport.open .sport-chev::after { content: none !important; }

.bc-tf__ico {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(.75);
  flex: 0 0 auto;
}

/* Override older icon circles */
.bc-nav .ic { display: none; }
