/* WinOdds — Betika-grade dark navy-slate sportsbook layout (desktop + mobile) */

:root {
  --bk-bg: #14161f;
  --bk-surf: #1a1d29;
  --bk-surf2: #222636;
  --bk-odd: #252a3a;
  --bk-odd-h: #2f3549;
  --bk-line: #272c3d;
  --bk-text: #f3f5fa;
  --bk-muted: #9aa3b8;
  --bk-lime: #9af927;
  --bk-lime-d: #82dc17;
  --bk-red: #e53935;
}

body.sx.bk {
  background: var(--bk-bg);
  color: var(--bk-text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ===== ROW 1: Top Header (50px exact Betika height) ===== */
body.bk .sx-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bk-surf);
  border-bottom: 1px solid var(--bk-line);
  box-shadow: none;
}
body.bk .sx-bar {
  min-height: 50px !important;
  height: 50px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bk-bg);
  border-bottom: 1px solid var(--bk-line);
}
body.bk .sx-bar .menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #e6ebf5;
  border-radius: 6px;
  padding: 0;
}
body.bk .sx-bar .menu-btn:hover { background: var(--bk-surf2); }
body.bk .sx-brand { display: inline-flex; align-items: center; gap: 6px; padding: 0; }
body.bk .sx-brand .nx-logo { height: 24px; width: auto; display: block; }
body.bk .bk-bar-spacer { flex: 1; }
body.bk #userBox { display: flex; align-items: center; gap: 10px; }
body.bk .bk-login {
  color: var(--bk-lime);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 8px;
}
body.bk .bk-login:hover { text-decoration: underline; }
body.bk .bk-reg {
  background: var(--bk-lime);
  color: #0e1406;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 6px;
  line-height: 1;
}
body.bk .bk-reg:hover { background: var(--bk-lime-d); }
body.bk .bal-chip {
  background: var(--bk-surf2);
  border: 1px solid var(--bk-line);
  color: var(--bk-lime);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
body.bk .dep-btn {
  background: var(--bk-lime) !important;
  color: #0e1406 !important;
  border: 0 !important;
  font-weight: 800;
  border-radius: 6px;
  padding: 6px 12px;
}
body.bk .bk-msearch {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 0;
  color: #e6ebf5;
}

/* ===== ROW 2: Betika Main Nav Bar (38px) ===== */
body.bk .bk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 14px;
  background: var(--bk-surf);
  gap: 12px;
}
body.bk .bk-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  height: 100%;
}
body.bk .bk-nav-links::-webkit-scrollbar { display: none; }
body.bk .bk-nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 38px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #c5cde0;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
body.bk .bk-nav-links a:hover { color: #fff; }
body.bk .bk-nav-links a.active {
  color: var(--bk-lime);
  border-bottom-color: var(--bk-lime);
}
body.bk .bk-new {
  position: relative;
  top: -5px;
  background: var(--bk-red);
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1.2;
  letter-spacing: .02em;
}
body.bk .bk-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
body.bk .bk-calc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bk-muted);
  text-decoration: none;
  white-space: nowrap;
}
body.bk .bk-calc-link:hover { color: #fff; }
body.bk .bk-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 170px;
  margin: 0;
}
body.bk .bk-search .bk-sico {
  position: absolute;
  left: 9px;
  color: var(--bk-muted);
  pointer-events: none;
}
body.bk .bk-search input {
  width: 100%;
  height: 27px;
  padding: 0 10px 0 28px;
  background: var(--bk-surf2);
  border: 1px solid var(--bk-line);
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
}
body.bk .bk-search input::placeholder { color: var(--bk-muted); }
body.bk .bk-mstrip { display: none; }
body.bk .sx-ticker { display: none !important; }

/* ===== 3-COLUMN DESKTOP SHELL (Betika 250 / 1fr / 355) ===== */
body.bk .shell.sx-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  max-width: 100%;
  margin: 0;
  min-height: calc(100vh - 88px);
  background: var(--bk-bg);
}
body.bk .sidebar {
  position: sticky;
  top: 89px;
  height: calc(100vh - 89px);
  overflow-y: auto;
  background: var(--bk-bg);
  border-right: 1px solid var(--bk-line);
  padding: 8px 0 20px;
}
body.bk .sx-side-brand { display: none; }
body.bk .sx-side-sec { margin-bottom: 10px; }
body.bk .sidebar .nav-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6f7a94;
  padding: 8px 14px 4px;
}
body.bk .sx-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #cfd6e6;
  text-decoration: none;
  border-left: 3px solid transparent;
}
body.bk .sx-list a:hover { background: var(--bk-surf); color: #fff; }
body.bk .sx-list a.on {
  background: var(--bk-surf);
  color: var(--bk-lime);
  font-weight: 700;
  border-left-color: var(--bk-lime);
}
body.bk .bk-sp-ico, body.bk .bk-lg-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bk-surf2);
  color: #9aa3b8;
  flex-shrink: 0;
  font-style: normal;
}
body.bk .sx-list a.on .bk-sp-ico,
body.bk .sx-list a.on .bk-lg-ico { background: rgba(154,249,39,.14); color: var(--bk-lime); }
body.bk .bk-lg-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.bk .sx-list a .n {
  margin-left: auto;
  font-size: 11px;
  color: #77829c;
  font-variant-numeric: tabular-nums;
}
body.bk .sidebar .nav { display: block; border-top: 1px solid var(--bk-line); margin-top: 8px; padding-top: 6px; }
body.bk .sidebar.open .nav { display: block; }

/* Main + Right Betslip */
body.bk .main { min-width: 0; background: var(--bk-bg); }
body.bk .content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  gap: 0;
  padding: 0;
  align-items: start;
}
body.bk #view.view {
  min-width: 0;
  padding: 8px 14px 28px !important;
  max-width: none !important;
}

/* ===== CENTRE COLUMN: Sub-tabs ===== */
body.bk .nx-home { display: block; }
body.bk .nx-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--bk-line);
  padding: 2px 0 0;
  margin: 0 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
body.bk .nx-tabs::-webkit-scrollbar { display: none; }
body.bk .nx-tabs button, body.bk .bk-tab-link {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--bk-muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 10px 9px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
body.bk .nx-tabs button:hover, body.bk .bk-tab-link:hover { color: #fff; }
body.bk .nx-tabs button.on {
  color: #fff;
  font-weight: 700;
  border-bottom-color: var(--bk-lime);
}
body.bk .bk-new-inline {
  background: var(--bk-red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
}
body.bk .bk-tab-ai { color: var(--bk-lime); margin-left: auto; font-weight: 700; }

/* ===== FILTER ROW: Betika exact 1-left + 3-right pills ===== */
body.bk .bk-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
body.bk .bk-fright {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
body.bk .bk-fpill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 31px;
  padding: 0 11px;
  border-radius: 18px;
  background: var(--bk-surf2);
  border: 1px solid var(--bk-line);
  color: #e6ebf5;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
body.bk .bk-fpill.bk-fbtn {
  background: transparent;
  border-color: #3a4258;
}
body.bk .bk-fpill.bk-fbtn.on {
  border-color: var(--bk-lime);
  color: var(--bk-lime);
}
body.bk .bk-fpill select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  color: #e6ebf5;
  font-size: 12px;
  font-weight: 600;
  padding-right: 16px;
  cursor: pointer;
  outline: none;
  max-width: 130px;
}
body.bk .bk-fpill select option { background: var(--bk-surf); color: #fff; }
body.bk .bk-fpill .bk-chev {
  position: absolute;
  right: 9px;
  pointer-events: none;
  color: var(--bk-muted);
}
body.bk .bk-fpill.bk-fbtn .bk-chev { position: static; }

/* Compact single-row 7-day bar */
body.bk .daystrip.nx-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin: 0 0 10px;
}
body.bk .daystrip.nx-days .day {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 30px;
  padding: 0 4px;
  background: var(--bk-surf);
  border: 1px solid var(--bk-line);
  border-radius: 6px;
  color: var(--bk-muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  min-width: 0;
}
body.bk .daystrip.nx-days .day:hover { border-color: #3f4861; color: #fff; }
body.bk .daystrip.nx-days .day.on {
  background: rgba(154,249,39,.12);
  border-color: var(--bk-lime);
  color: var(--bk-lime);
}
body.bk .daystrip.nx-days .day .wd { font-weight: 700; }
body.bk .daystrip.nx-days .day .dn { opacity: .8; font-size: 10.5px; }
body.bk .daystrip.nx-days .day .cnt {
  font-size: 10px;
  color: var(--bk-lime);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ===== VIVID BETIKA-STYLE PROMO BANNER CAROUSEL ===== */
body.bk .bk-promo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 12px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
body.bk .bk-promo.s-jp {
  background: linear-gradient(105deg, #b82500 0%, #e04800 42%, #ff7b00 78%, #d92b04 100%);
}
body.bk .bk-promo.s-ai {
  background: linear-gradient(105deg, #0b3d24 0%, #116b3b 48%, #1a8c45 82%, #0d4a2b 100%);
}
body.bk .bk-promo.s-live {
  background: linear-gradient(105deg, #0d2359 0%, #18429e 50%, #1d5bd6 85%, #0e2c70 100%);
}
body.bk .bk-promo-legal {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255,255,255,.82);
  text-align: center;
  padding: 4px 28px 0;
}
body.bk .bk-promo-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 36px 14px;
  text-decoration: none;
  color: #fff;
}
body.bk .bk-promo-left { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
body.bk .bk-promo-kick {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  color: #fff;
  text-transform: uppercase;
}
body.bk .bk-promo-hl {
  background: #ffe600;
  color: #111;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 3px;
  line-height: 1.3;
}
body.bk .bk-promo-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
body.bk .bk-promo-top { font-size: 10px; font-weight: 900; letter-spacing: .08em; color: #ffe600; }
body.bk .bk-promo-num {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
body.bk .bk-promo-sub { font-size: 12px; font-weight: 900; letter-spacing: .1em; color: #ffe600; }
body.bk .bk-promo-cta {
  background: #ffe600;
  color: #111;
  font-size: 12px;
  font-weight: 900;
  padding: 9px 15px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
body.bk .bk-pnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 36px;
  border: 0;
  background: rgba(0,0,0,.3);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.bk .bk-pnav.prev { left: 0; border-radius: 0 4px 4px 0; }
body.bk .bk-pnav.next { right: 0; border-radius: 4px 0 0 4px; }
body.bk .bk-pclose {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
body.bk .bk-pdots {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
body.bk .bk-pdots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
}
body.bk .bk-pdots i.on { background: #ffe600; width: 16px; border-radius: 3px; }

/* ===== MATCH LIST TABLE (Exact Betika proportions) ===== */
body.bk .nx-colhead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  align-items: center;
  padding: 6px 4px 6px;
  border-bottom: 1px solid var(--bk-line);
  font-size: 12px;
  font-weight: 600;
  color: var(--bk-muted);
}
body.bk .nx-colhead .o {
  display: grid;
  grid-template-columns: repeat(3, 120px);
  gap: 6px;
  text-align: center;
}
body.bk .nx-colhead .o b { font-weight: 600; color: var(--bk-muted); }

body.bk .nx-list { display: block; }
body.bk .nx-row {
  display: block;
  padding: 9px 4px 8px;
  border-bottom: 1px solid var(--bk-line);
  background: transparent;
  border-radius: 0;
  margin: 0;
  cursor: pointer;
}
body.bk .nx-row:hover { background: rgba(255,255,255,.02); }
body.bk .nx-row.live { border-left: 2px solid var(--bk-red); padding-left: 8px; }

body.bk .bk-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}
body.bk .nx-lg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--bk-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.bk .bk-globe { color: #7e88a1; flex-shrink: 0; }
body.bk .nx-when {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--bk-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
body.bk .nx-live { color: #ff5252; font-weight: 700; }
body.bk .nx-tag {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  border: 1px solid #3c4660;
  color: #b7c2da;
}

body.bk .bk-row-mid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  align-items: center;
  gap: 10px;
}
body.bk .nx-teams {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  min-width: 0;
}
body.bk .nx-teams span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  line-height: 1.3;
  color: #fff;
}
body.bk .nx-teams b {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.bk .nx-teams em {
  font-style: normal;
  font-weight: 800;
  color: var(--bk-lime);
  font-variant-numeric: tabular-nums;
  padding-right: 6px;
}

body.bk .nx-right { display: flex; justify-content: flex-end; }
body.bk .nx-odds {
  display: grid;
  grid-template-columns: repeat(3, 120px);
  gap: 6px;
}
body.bk .nx-odds.n2 { grid-template-columns: repeat(2, 183px); }
body.bk .nx-odds .odd {
  height: 32px;
  min-height: 32px;
  border-radius: 16px;
  background: var(--bk-odd);
  border: 1px solid transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  cursor: pointer;
}
body.bk .nx-odds .odd:hover { background: var(--bk-odd-h); border-color: #46506e; }
body.bk .nx-odds .odd.picked {
  background: var(--bk-lime) !important;
  color: #0e1406 !important;
  border-color: var(--bk-lime) !important;
}
body.bk .nx-odds .odd .ol, body.bk .nx-odds .odd small { display: none; }

body.bk .bk-row-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
}
body.bk .bk-ai-chip {
  font-size: 10.5px;
  font-weight: 600;
  color: #8c96ae;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--bk-line);
  padding: 1px 7px;
  border-radius: 10px;
}
body.bk .bk-ai-chip.conf-high { color: var(--bk-lime); border-color: rgba(154,249,39,.28); }
body.bk .nx-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--bk-lime);
  text-decoration: none;
  margin-left: auto;
}
body.bk .nx-more:hover { text-decoration: underline; }

body.bk .nx-loadmore {
  display: block;
  width: 100%;
  margin: 14px 0;
  padding: 10px;
  background: var(--bk-surf2);
  border: 1px solid var(--bk-line);
  border-radius: 6px;
  color: var(--bk-lime);
  font-weight: 700;
  cursor: pointer;
}
body.bk .nx-note {
  font-size: 11px;
  color: var(--bk-muted);
  margin-top: 14px;
}

/* ===== RIGHT BETSLIP PANEL (Exact Betika 3-tab + Code Loader) ===== */
body.bk .betslip {
  position: sticky;
  top: 89px;
  height: calc(100vh - 89px);
  overflow-y: auto;
  background: var(--bk-surf);
  border-left: 1px solid var(--bk-line);
  border-radius: 0;
  padding: 0;
}
body.bk .betslip .slip-head { display: none; }
body.bk .bk-sliptabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bk-bg);
  border-bottom: 1px solid var(--bk-line);
}
body.bk .bk-sliptabs button {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--bk-line);
  border-bottom: 2px solid transparent;
  color: var(--bk-muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 12px 6px;
  cursor: pointer;
  white-space: nowrap;
}
body.bk .bk-sliptabs button:last-child { border-right: 0; }
body.bk .bk-sliptabs button.on {
  color: var(--bk-lime);
  border-bottom-color: var(--bk-lime);
  font-weight: 700;
}
body.bk #slipBody { padding: 14px; }
body.bk .bk-slip-empty { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
body.bk .bk-code-lbl { font-size: 13px; color: var(--bk-muted); margin: 0; line-height: 1.4; }
body.bk .bk-code-in {
  width: 100%;
  height: 40px;
  background: var(--bk-bg);
  border: 1px solid var(--bk-line);
  border-radius: 6px;
  color: #fff;
  padding: 0 12px;
  font-size: 13.5px;
}
body.bk .bk-code-in:focus { outline: none; border-color: var(--bk-lime); }
body.bk .bk-loadbtn {
  width: 100%;
  height: 40px;
  background: var(--bk-lime);
  color: #0e1406;
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
body.bk .bk-loadbtn:hover { background: var(--bk-lime-d); }
body.bk .bk-code-hint { font-size: 11.5px; color: #717c96; margin: 4px 0 0; }

/* Footer & subtle demo badge */
body.bk .sx-footer {
  background: var(--bk-bg);
  border-top: 1px solid var(--bk-line);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
body.bk .sx-footer .demo-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--bk-surf2);
  border: 1px solid var(--bk-line);
  color: var(--bk-muted);
}

/* ===== MOBILE (<= 960px): Exact Betika Mobile Layout ===== */
body.bk .sx-bottom { display: none; }

@media (max-width: 1180px) {
  body.bk .shell.sx-shell { grid-template-columns: 210px minmax(0, 1fr); }
  body.bk .content { grid-template-columns: minmax(0, 1fr) 310px; }
  body.bk .nx-colhead, body.bk .bk-row-mid { grid-template-columns: minmax(0, 1fr) 294px; }
  body.bk .nx-colhead .o, body.bk .nx-odds { grid-template-columns: repeat(3, 94px); }
  body.bk .nx-odds.n2 { grid-template-columns: repeat(2, 144px); }
}

@media (max-width: 960px) {
  body.bk .sx-bar { height: 48px; min-height: 48px !important; padding: 0 10px; gap: 6px; }
  body.bk .sx-brand .nx-logo { height: 21px; }
  body.bk .bk-login { font-size: 12.5px; padding: 4px 6px; }
  body.bk .bk-reg { font-size: 12px; padding: 6px 12px; }
  body.bk .bk-msearch { display: inline-flex; }

  body.bk .bk-nav { display: none; }
  body.bk.bk-msearch-open .bk-nav {
    display: flex;
    height: auto;
    padding: 8px 10px;
    border-bottom: 1px solid var(--bk-line);
  }
  body.bk.bk-msearch-open .bk-nav-links, body.bk.bk-msearch-open .bk-calc-link { display: none; }
  body.bk.bk-msearch-open .bk-nav-right, body.bk.bk-msearch-open .bk-search { width: 100%; }

  /* Mobile sports circular icon strip */
  body.bk .bk-mstrip {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px 10px 7px;
    background: var(--bk-bg);
    border-bottom: 1px solid var(--bk-line);
  }
  body.bk .bk-mstrip::-webkit-scrollbar { display: none; }
  body.bk .bk-mstrip a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 58px;
    text-decoration: none;
    color: var(--bk-muted);
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
  }
  body.bk .bk-mstrip a i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bk-surf2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cfd6e6;
    font-style: normal;
  }
  body.bk .bk-mstrip a.on { color: var(--bk-lime); }
  body.bk .bk-mstrip a.on i { background: rgba(154,249,39,.15); color: var(--bk-lime); }

  body.bk .shell.sx-shell { display: block; }
  body.bk .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    height: 100vh;
    z-index: 120;
    transform: translateX(-100%);
    transition: transform .2s ease;
  }
  body.bk .sidebar.open { transform: translateX(0); }
  body.bk .sidebar.open .sx-side-brand { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--bk-line); }
  body.bk .content { display: block; }
  body.bk #view.view { padding: 6px 10px 84px !important; }

  /* Mobile filter pills: fit cleanly inside 360-390px without clipping */
  body.bk .bk-filters { flex-wrap: nowrap; gap: 4px; }
  body.bk .bk-fright { gap: 4px; flex: 1; justify-content: flex-end; min-width: 0; }
  body.bk .bk-fpill { height: 28px; padding: 0 7px; font-size: 11px; gap: 3px; }
  body.bk .bk-fpill select { font-size: 11px; padding-right: 12px; max-width: 76px; }
  body.bk .bk-fpill .bk-chev { right: 5px; width: 10px; height: 10px; }

  /* Mobile 7-day bar */
  body.bk .daystrip.nx-days { gap: 3px; }
  body.bk .daystrip.nx-days .day { flex-direction: column; height: 38px; gap: 0; font-size: 10px; padding: 2px; }
  body.bk .daystrip.nx-days .day .dn { display: none; }

  /* Mobile promo banner */
  body.bk .bk-promo { min-height: 96px; }
  body.bk .bk-promo-body { padding: 6px 26px 14px; gap: 8px; }
  body.bk .bk-promo-hl { font-size: 9.5px; padding: 1px 5px; }
  body.bk .bk-promo-num { font-size: 16px; }
  body.bk .bk-promo-sub { font-size: 9.5px; }
  body.bk .bk-promo-cta { display: none; }

  /* Mobile match rows */
  body.bk .nx-colhead { grid-template-columns: minmax(0, 1fr) 186px; font-size: 11px; }
  body.bk .nx-colhead .o { grid-template-columns: repeat(3, 58px); gap: 4px; }
  body.bk .bk-row-mid { grid-template-columns: minmax(0, 1fr) 186px; gap: 6px; }
  body.bk .nx-teams span { font-size: 13px; }
  body.bk .nx-odds { grid-template-columns: repeat(3, 58px); gap: 4px; }
  body.bk .nx-odds.n2 { grid-template-columns: repeat(2, 90px); }
  body.bk .nx-odds .odd { height: 30px; min-height: 30px; font-size: 12px; border-radius: 14px; padding: 0 4px; }

  /* Mobile slide-up betslip */
  body.bk .betslip {
    position: fixed;
    inset: auto 0 0 0;
    height: 78vh;
    z-index: 130;
    transform: translateY(105%);
    transition: transform .22s ease;
    border-left: 0;
    border-top: 1px solid var(--bk-line);
    border-radius: 14px 14px 0 0;
  }
  body.bk .betslip.open { transform: translateY(0); }
  body.bk .betslip .slip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--bk-line);
  }

  /* Mobile fixed 5-item bottom nav with raised center lime Betslip button */
  body.bk .sx-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58px;
    background: var(--bk-surf);
    border-top: 1px solid var(--bk-line);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    z-index: 90;
    padding-bottom: env(safe-area-inset-bottom);
  }
  body.bk .sx-bottom a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--bk-muted);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
  }
  body.bk .sx-bottom a.active { color: var(--bk-lime); }
  body.bk .sx-bottom .slip-fab {
    position: relative;
    top: -12px;
    margin: 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bk-lime);
    color: #0e1406;
    border: 3px solid var(--bk-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(154,249,39,.35);
    cursor: pointer;
  }
  body.bk .sx-bottom .slip-fab .slip-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: var(--bk-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
  }
  body.bk .sx-bottom .slip-fab .slip-count[hidden] { display: none; }
}

/* ===== SURGICAL POLISH OVERRIDES (verified via screenshot inspection) ===== */
/* 1. Keep logo strictly on the LEFT next to hamburger, matching Betika */
body.bk .sx-bar { justify-content: flex-start !important; }
body.bk .sx-brand { margin-left: 0 !important; margin-right: auto !important; flex-shrink: 0; }
body.bk .bk-bar-spacer { display: none !important; }

/* 2. Desktop 7-day strip: show weekday + date + count cleanly in a single compact row */
body.bk .daystrip.nx-days .day {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  height: 30px !important;
  padding: 0 6px !important;
}
body.bk .daystrip.nx-days .day .wd {
  display: inline !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #dce2f0 !important;
  text-transform: uppercase;
}
body.bk .daystrip.nx-days .day.on .wd { color: var(--bk-lime) !important; }
body.bk .daystrip.nx-days .day .dn {
  display: inline !important;
  font-size: 10.5px !important;
  color: var(--bk-muted) !important;
}
body.bk .daystrip.nx-days .day .cnt {
  display: inline !important;
  font-size: 10.5px !important;
  color: var(--bk-lime) !important;
}

/* 3. Razor-sharp fixed-width odds column alignment across every row */
body.bk .nx-odds { width: 372px !important; }
body.bk .nx-odds .odd { width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
body.bk .nx-teams em { margin-right: 10px; min-width: 18px; text-align: right; flex-shrink: 0; }

/* 4. Consistent red NEW badges */
body.bk .bk-new, body.bk .bk-new-inline {
  font-size: 8.5px !important;
  font-weight: 800 !important;
  padding: 1px 5px !important;
  border-radius: 3px !important;
  line-height: 1.25 !important;
  background: var(--bk-red) !important;
  color: #fff !important;
  text-transform: uppercase;
}

/* 5. Promo banner generous spacing & clean close button */
body.bk .bk-promo-legal {
  padding: 5px 34px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.bk .bk-promo-body {
  padding: 10px 40px 22px !important;
  gap: 20px !important;
}
body.bk .bk-pclose { top: 6px !important; right: 8px !important; }
body.bk .bk-pdots { bottom: 6px !important; }

@media (max-width: 1180px) {
  body.bk .nx-odds { width: 294px !important; }
}
@media (max-width: 960px) {
  /* All 5 tabs fit cleanly inside 390px without clipping Jackpots */
  body.bk .nx-tabs { gap: 2px !important; justify-content: space-between; }
  body.bk .nx-tabs button, body.bk .bk-tab-link { padding: 8px 6px 8px !important; font-size: 12.5px !important; }
  body.bk .daystrip.nx-days .day { flex-direction: column !important; height: 38px !important; gap: 1px !important; padding: 2px !important; }
  body.bk .daystrip.nx-days .day .wd { font-size: 9.5px !important; }
  body.bk .daystrip.nx-days .day .dn { display: none !important; }
  body.bk .daystrip.nx-days .day .cnt { font-size: 10px !important; }
  body.bk .bk-promo-body { padding: 8px 30px 22px !important; gap: 10px !important; }
  body.bk .bk-promo-num { font-size: 15.5px !important; }
  body.bk .nx-odds { width: 186px !important; }
  body.bk .nx-teams em { margin-right: 4px; min-width: 14px; font-size: 12.5px; }
}

/* ======================================================================
   RELOCATED HORIZONTAL HUB (RED -> YELLOW) + COLLAPSIBLE 7-DAY TOGGLE
   ====================================================================== */

/* 1. Full-width Betika-style 2-column layout (Centre + Right Betslip); sidebar becomes clean slide-out drawer */
body.bk .shell.sx-shell {
  display: block !important;
  grid-template-columns: none !important;
}
body.bk .sidebar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 280px !important;
  max-width: 84vw !important;
  height: 100vh !important;
  z-index: 95 !important;
  background: #141722 !important;
  border-right: 1px solid var(--bk-line) !important;
  transform: translateX(-105%) !important;
  transition: transform .22s cubic-bezier(.22,.9,.32,1) !important;
  box-shadow: 12px 0 36px rgba(0,0,0,.55) !important;
  padding-top: 0 !important;
}
body.bk .sidebar.open {
  transform: translateX(0) !important;
}
body.bk .sidebar.open .sx-side-brand {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--bk-line);
}
body.bk .sidebar.open + .sx-scrim {
  display: block !important;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 90;
}
body.bk .bk-center-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
body.bk .content {
  grid-template-columns: minmax(0, 1fr) 365px !important;
  max-width: 1440px;
  margin: 0 auto;
}

/* 2. Horizontal Quick Hub in the yellow-circled area */
body.bk .sx-hub {
  margin: 10px 14px 2px;
  padding: 8px 10px 9px;
  background: linear-gradient(180deg, #1b2030 0%, #151926 100%);
  border: 1px solid #283047;
  border-radius: 10px;
  min-width: 0;
  max-width: calc(100% - 28px);
  box-sizing: border-box;
}
body.bk .sx-hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #242b3f;
  padding-bottom: 6px;
  margin-bottom: 7px;
  min-width: 0;
}
body.bk .sx-hub-cats {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}
body.bk .sx-hub-cats::-webkit-scrollbar { display: none; }
body.bk .sx-hub-cats button {
  background: transparent;
  border: 1px solid transparent;
  color: #9aa5be;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
body.bk .sx-hub-cats button:hover {
  color: #fff;
  background: rgba(255,255,255,.05);
}
body.bk .sx-hub-cats button.on {
  background: rgba(154,249,39,.13);
  border-color: rgba(154,249,39,.45);
  color: var(--bk-lime);
}
body.bk .sx-hub-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
body.bk .sx-hub-admin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(250,204,21,.14);
  border: 1px solid rgba(250,204,21,.4);
  color: #fde047;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
body.bk .sx-hub-admin[hidden] { display: none !important; }
body.bk .sx-hub-engine {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  font-size: 10.5px;
  color: #9fb0c9;
  white-space: nowrap;
  margin: 0 !important;
}
body.bk .sx-hub-engine .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bk-lime);
  display: inline-block;
  flex-shrink: 0;
}

body.bk .sx-hub-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
  scrollbar-color: #2e3750 transparent;
}
body.bk .sx-hub-pills::-webkit-scrollbar { height: 4px; }
body.bk .sx-hub-pills::-webkit-scrollbar-thumb { background: #2e3750; border-radius: 4px; }
body.bk .sx-hpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #22283a;
  border: 1px solid #2e364f;
  color: #dce3f2;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color .15s, background .15s, color .15s;
}
body.bk .sx-hpill:hover {
  border-color: #4a577a;
  background: #293046;
  color: #fff;
}
body.bk .sx-hpill.on {
  background: rgba(154,249,39,.14);
  border-color: var(--bk-lime);
  color: var(--bk-lime);
}
body.bk .sx-hdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
body.bk .sx-hico, body.bk .sx-hemoji {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1;
}
body.bk .sx-hpill .n {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--bk-lime);
  background: rgba(154,249,39,.1);
  padding: 1px 5px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
body.bk .sx-hlive {
  background: var(--bk-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
}

/* 3. Collapsible Days-of-the-Week icon button at top-right beneath the yellow hub */
body.bk .nx-tabs {
  align-items: center !important;
}
body.bk .bk-days-toggle {
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 28px !important;
  padding: 0 10px !important;
  margin-bottom: 4px !important;
  background: #202738 !important;
  border: 1px solid #313b54 !important;
  border-bottom: 1px solid #313b54 !important;
  border-radius: 999px !important;
  color: #e4eaf7 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: border-color .15s, background .15s, color .15s !important;
}
body.bk .bk-days-toggle:hover {
  border-color: var(--bk-lime) !important;
  color: #fff !important;
}
body.bk .bk-days-toggle.open {
  background: rgba(154,249,39,.13) !important;
  border-color: var(--bk-lime) !important;
  color: var(--bk-lime) !important;
}
body.bk .bk-days-toggle .bk-chev {
  transition: transform .18s ease;
}
body.bk .bk-days-toggle.open .bk-chev {
  transform: rotate(180deg);
}

/* Smooth collapse/expand for 7-day strip */
body.bk .daystrip.nx-days {
  transition: max-height .22s ease, opacity .18s ease, margin .18s ease;
  max-height: 70px;
  opacity: 1;
  overflow: hidden;
}
body.bk .daystrip.nx-days.collapsed {
  max-height: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 1180px) {
  body.bk .content { grid-template-columns: minmax(0, 1fr) 315px !important; }
  body.bk .sx-hub-engine { display: none; }
}
@media (max-width: 960px) {
  body.bk .content { display: block !important; }
  body.bk .sx-hub {
    margin: 6px 8px 2px;
    padding: 6px 8px 7px;
    max-width: calc(100% - 16px);
  }
  body.bk .sx-hub-engine { display: none; }
  body.bk .sx-hub-cats button { padding: 4px 8px; font-size: 11px; }
  body.bk .sx-hpill { padding: 4px 8px; font-size: 11px; }
  body.bk .bk-days-toggle { height: 26px !important; padding: 0 8px !important; font-size: 11px !important; }
  body.bk .bk-days-toggle .bk-dt-lbl { display: none; }
}
@media (max-width: 960px) {
  body.bk .bk-days-toggle {
    position: sticky !important;
    right: 0 !important;
    z-index: 3 !important;
    box-shadow: -8px 0 12px rgba(20,22,31,.92) !important;
  }
}

/* ======================================================================
   DEVICE-ADAPTIVE FULL-WIDTH FIT + ADMIN-ONLY + 2FA SECURITY STYLES
   ====================================================================== */

body.sx.bk {
  width: 100%;
  max-width: 100%;
  overflow-x: visible;
  margin: 0;
  padding: 0;
}

/* Remove any leftover red NEW badges */
body.bk .bk-new,
body.bk .bk-new-inline {
  display: none !important;
}

/* Fluid edge-to-edge fit on every viewport (360px phone to 2560px+ ultrawide) */
body.bk .sx-header,
body.bk .sx-bar,
body.bk .bk-nav,
body.bk .shell.sx-shell,
body.bk .main,
body.bk .content,
body.bk .bk-center-col,
body.bk #view.view,
body.bk .sx-footer {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

body.bk .sx-bar {
  padding: 0 clamp(10px, 1.4vw, 24px) !important;
}

body.bk .bk-nav {
  padding: 0 clamp(10px, 1.4vw, 24px) !important;
}

body.bk .content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) clamp(310px, 24vw, 410px) !important;
  align-items: start;
}

body.bk #view.view {
  padding: 8px clamp(10px, 1.4vw, 20px) 24px !important;
}

body.bk .sx-hub {
  margin: 10px clamp(10px, 1.4vw, 20px) 4px !important;
  max-width: calc(100% - clamp(20px, 2.8vw, 40px)) !important;
}

/* Responsive odds column widths so rows fill desktop cleanly without cramping */
body.bk .nx-colhead,
body.bk .bk-row-mid {
  grid-template-columns: minmax(0, 1fr) clamp(300px, 25vw, 420px) !important;
}
body.bk .nx-colhead .o,
body.bk .nx-odds {
  width: clamp(300px, 25vw, 420px) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
body.bk .nx-odds.n2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 1180px) {
  body.bk .content {
    grid-template-columns: minmax(0, 1fr) 300px !important;
  }
  body.bk .nx-colhead,
  body.bk .bk-row-mid {
    grid-template-columns: minmax(0, 1fr) 264px !important;
  }
  body.bk .nx-colhead .o,
  body.bk .nx-odds {
    width: 264px !important;
  }
}

@media (max-width: 960px) {
  body.bk .content {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.bk #view.view {
    padding: 6px 8px 84px !important;
  }
  body.bk .sx-hub {
    margin: 8px 8px 2px !important;
    max-width: calc(100% - 16px) !important;
  }
  body.bk .nx-colhead,
  body.bk .bk-row-mid {
    grid-template-columns: minmax(0, 1fr) 186px !important;
  }
  body.bk .nx-colhead .o,
  body.bk .nx-odds {
    width: 186px !important;
  }
}

@media (max-width: 400px) {
  body.bk .nx-colhead,
  body.bk .bk-row-mid {
    grid-template-columns: minmax(0, 1fr) 162px !important;
  }
  body.bk .nx-colhead .o,
  body.bk .nx-odds {
    width: 162px !important;
  }
}

/* Admin-only nav badge styling (hidden for all non-admins) */
body.bk .bk-nav-links a.bk-nav-admin {
  color: #fde047 !important;
  font-weight: 700;
}
body.bk .bk-nav-links a.bk-nav-admin[hidden],
body.bk .side-admin-link[hidden] {
  display: none !important;
}

/* Two-Step Verification (2FA) UI */
.tfa-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.tfa-badge.on {
  background: rgba(154, 249, 39, 0.14);
  border: 1px solid rgba(154, 249, 39, 0.45);
  color: #9af927;
}
.tfa-badge.off {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #9aa3b8;
}
.tfa-qr-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 14px 0;
  padding: 14px;
  background: #141824;
  border: 1px solid #283047;
  border-radius: 10px;
}
.tfa-qr-box {
  background: #ffffff;
  padding: 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tfa-qr-box svg {
  width: 168px;
  height: 168px;
  display: block;
}
.tfa-secret-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.tfa-secret-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  background: #0d1018;
  border: 1px solid #2e3750;
  border-radius: 6px;
  color: #9af927;
  user-select: all;
}
.tfa-codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.tfa-code-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-align: center;
  padding: 7px 8px;
  background: #0d1018;
  border: 1px solid #2e3750;
  border-radius: 6px;
  color: #f3f5fa;
  letter-spacing: 0.06em;
}
.tfa-otp-input {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 20px !important;
  letter-spacing: 0.25em !important;
  text-align: center !important;
  font-weight: 700 !important;
}

/* ---- phone: hub rows scroll cleanly instead of being squeezed/clipped ---- */
@media (max-width: 960px) {
  body.bk .sx-hub-top {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
  }
  body.bk .sx-hub-cats {
    flex: 1 1 100%;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%);
  }
  body.bk .sx-hub-cats button { flex: 0 0 auto; scroll-snap-align: start; }
  body.bk .sx-hub-meta {
    flex: 1 1 100%;
    width: 100%;
    justify-content: space-between;
    min-width: 0;
  }
  body.bk .sx-hub-pills {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 22px), transparent 100%);
  }
  body.bk .sx-hpill { flex: 0 0 auto; }
  body.bk .bk-nav-links { width: 100%; }
}

/* === FLOATING BOTTOM-DOCK BETSLIP & HEADER TRIGGER === */

/* 1. Full-width content: free up the entire page width on every screen */
body.bk .content {
  grid-template-columns: minmax(0, 1fr) !important;
}
body.bk #view.view {
  padding-bottom: 92px !important;
}
body.bk .sx-footer {
  padding-bottom: 84px !important;
}
body.bk .toasts {
  bottom: 86px !important;
}

/* 2. Quick-access Betslip button in top header */
body.bk .bk-slipbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #1c2233;
  border: 1px solid #2e3852;
  color: #e6ebf5;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
body.bk .bk-slipbtn:hover {
  background: #242c42;
  border-color: var(--bk-lime);
  color: #fff;
}
body.bk .bk-slipbtn.has,
body.bk .bk-slipbtn.on {
  background: rgba(154, 249, 39, .14);
  border-color: var(--bk-lime);
  color: var(--bk-lime);
}
body.bk .bk-slipbtn .hdr-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--bk-lime);
  color: #0b0e14;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
body.bk .bk-slipbtn .hdr-count[hidden] { display: none; }

/* 3. Desktop Floating Bottom-Center Betslip Dock (> 960px) */
@media (min-width: 961px) {
  body.bk .betslip {
    position: fixed !important;
    top: auto !important;
    bottom: 14px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(980px, calc(100vw - 32px)) !important;
    height: auto !important;
    max-height: calc(100vh - 110px) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    background: rgba(20, 24, 36, .96) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid #2d3752 !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .62), 0 0 0 1px rgba(255, 255, 255, .03) inset !important;
    overflow: hidden !important;
    z-index: 95 !important;
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  body.bk .betslip.has-sels,
  body.bk .betslip.dock-open {
    border-color: rgba(154, 249, 39, .55) !important;
    box-shadow: 0 16px 46px rgba(0, 0, 0, .72), 0 0 22px rgba(154, 249, 39, .12) !important;
  }
  body.bk .betslip.flash {
    animation: dockPulse .45s ease;
  }
  @keyframes dockPulse {
    0% { box-shadow: 0 14px 40px rgba(0,0,0,.62), 0 0 0 0 rgba(154,249,39,.55); }
    60% { box-shadow: 0 14px 40px rgba(0,0,0,.62), 0 0 0 8px rgba(154,249,39,0); }
    100% { box-shadow: 0 14px 40px rgba(0,0,0,.62), 0 0 0 0 rgba(154,249,39,0); }
  }

  body.bk .betslip .slip-head { display: none !important; }

  /* Always-visible bottom control bar */
  body.bk .dock-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    min-height: 54px;
    background: linear-gradient(180deg, #191f30 0%, #131724 100%);
  }
  body.bk .dock-id {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    color: #fff;
    font-size: 13.5px;
  }
  body.bk .dock-ico {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(154, 249, 39, .14);
    color: var(--bk-lime);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  body.bk .dock-id .slip-count {
    background: var(--bk-lime);
    color: #0b0e14;
    font-weight: 800;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 999px;
  }
  body.bk .dock-id .slip-count[hidden] { display: none; }

  /* Compact tabs inside dock bar */
  body.bk .dock-bar .bk-sliptabs {
    display: inline-flex !important;
    background: #0e111b !important;
    border: 1px solid #262f47 !important;
    border-radius: 9px !important;
    padding: 2px !important;
    gap: 2px;
    flex-shrink: 0;
  }
  body.bk .dock-bar .bk-sliptabs button {
    border: 0 !important;
    border-radius: 7px !important;
    padding: 5px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #9ba5bc !important;
    background: transparent !important;
  }
  body.bk .dock-bar .bk-sliptabs button.on {
    background: #232b42 !important;
    color: var(--bk-lime) !important;
    font-weight: 700 !important;
  }

  /* Center actions area: code loader OR odds + stake + place bet */
  body.bk .dock-actions {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
  }
  body.bk .dock-code {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
  }
  body.bk .dock-code-lbl {
    font-size: 12px;
    color: #9ba5bc;
    white-space: nowrap;
  }
  body.bk .dock-code-in {
    width: 148px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: #0d1018;
    border: 1px solid #2b344d;
    color: #f3f5fa;
    font-size: 12.5px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.04em;
  }
  body.bk .dock-code-in:focus {
    outline: none;
    border-color: var(--bk-lime);
  }
  body.bk .dock-load {
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    border: 0;
    background: var(--bk-lime);
    color: #0b0e14;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
  }
  body.bk .dock-load:hover { filter: brightness(1.06); }

  body.bk .dock-stat,
  body.bk .dock-win {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    white-space: nowrap;
  }
  body.bk .dock-stat span,
  body.bk .dock-win span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8f9bb3;
  }
  body.bk .dock-stat b { font-size: 13.5px; color: #f3f5fa; }
  body.bk .dock-win b { font-size: 13.5px; color: var(--bk-lime); }

  body.bk .dock-stake {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0d1018;
    border: 1px solid #2c3550;
    border-radius: 8px;
    padding: 0 8px;
    height: 34px;
    margin: 0;
  }
  body.bk .dock-stake span {
    font-size: 11px;
    color: #8f9bb3;
    font-weight: 600;
  }
  body.bk .dock-stake input {
    width: 78px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    padding: 0;
    outline: none;
  }
  body.bk .dock-place {
    height: 34px;
    padding: 0 16px !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Expand / Minimise toggle button */
  body.bk .dock-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: #20273b;
    border: 1px solid #303a57;
    color: #cfd6e6;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
  }
  body.bk .dock-toggle:hover { border-color: var(--bk-lime); color: #fff; }
  body.bk .dock-toggle svg { transition: transform .2s ease; }
  body.bk .betslip.dock-open .dock-toggle svg { transform: rotate(180deg); }

  /* Message area (bet placed / errors / code feedback) */
  body.bk .dock-msg:not(:empty) {
    padding: 8px 14px;
    background: #121622;
    border-bottom: 1px solid #242c44;
  }
  body.bk .dock-msg .notice { margin: 0; }

  /* Expandable panel opening UPWARD above the dock bar */
  body.bk .dock-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .24s ease, opacity .18s ease;
    background: #141825;
  }
  body.bk .betslip.dock-open .dock-panel {
    max-height: min(52vh, 440px);
    opacity: 1;
    overflow-y: auto;
    border-bottom: 1px solid #262f47;
  }
  body.bk #slipBody { padding: 14px 16px; }
  body.bk .dock-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
  }
  body.bk .dock-panel-head .slip-kind { margin: 0; width: 220px; }
  body.bk .dock-clear {
    background: transparent;
    border: 1px solid #303a57;
    color: #b7c0d4;
    border-radius: 7px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
  }
  body.bk .dock-clear:hover { border-color: #f87171; color: #fca5a5; }
  body.bk .betslip .slip-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 8px;
    margin-bottom: 10px;
  }
  body.bk .betslip .quick {
    max-width: 340px;
    margin-bottom: 10px;
  }
  body.bk .betslip .slip-sum {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #0f131f;
    border: 1px solid #232b42;
  }
  body.bk .dock-note { margin: 8px 0 0; }
  body.bk .dock-empty-links { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
}

@media (max-width: 1120px) and (min-width: 961px) {
  body.bk .dock-code-lbl { display: none; }
  body.bk .dock-bar { gap: 8px; padding: 8px 10px; }
}

/* 4. Mobile (<= 960px): keep Betika center FAB + slide-up sheet cleanly styled */
@media (max-width: 960px) {
  body.bk .bk-slipbtn { display: none !important; }
  body.bk .sx-footer { padding-bottom: 78px !important; }
  body.bk .toasts { bottom: 72px !important; }
  body.bk .betslip {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    inset: auto 0 0 0 !important;
    width: 100% !important;
    height: 80vh !important;
    transform: translateY(105%) !important;
    transition: transform .22s ease !important;
    border-radius: 16px 16px 0 0 !important;
    z-index: 130 !important;
    overflow: hidden !important;
  }
  body.bk .betslip.open { transform: translateY(0) !important; }
  body.bk .betslip .slip-head { display: flex !important; flex-shrink: 0; }
  body.bk .dock-id, body.bk .dock-toggle { display: none !important; }
  body.bk .dock-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--bk-line);
    flex-shrink: 0;
  }
  body.bk .dock-bar .bk-sliptabs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100%;
  }
  body.bk .dock-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
  }
  body.bk .dock-code { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
  body.bk .dock-code-lbl { width: 100%; font-size: 12.5px; color: var(--bk-muted); }
  body.bk .dock-code-in {
    flex: 1; min-width: 140px; height: 38px; padding: 0 10px;
    background: #0d1018; border: 1px solid var(--bk-line); border-radius: 8px; color: #fff;
  }
  body.bk .dock-load {
    height: 38px; padding: 0 16px; border: 0; border-radius: 8px;
    background: var(--bk-lime); color: #0b0e14; font-weight: 800;
  }
  body.bk .dock-stat, body.bk .dock-win { display: flex; flex-direction: column; font-size: 12px; }
  body.bk .dock-stake {
    display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; height: 36px;
    background: #0d1018; border: 1px solid var(--bk-line); border-radius: 8px;
  }
  body.bk .dock-stake input { width: 72px; border: 0; background: transparent; color: #fff; font-weight: 700; }
  body.bk .dock-place { flex: 1; min-width: 120px; height: 38px; }
  body.bk .dock-msg:not(:empty) { padding: 8px 14px; flex-shrink: 0; }
  body.bk .dock-panel {
    max-height: none !important;
    opacity: 1 !important;
    flex: 1 1 auto;
    overflow-y: auto;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  body.bk .dock-panel-head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px;
  }
  body.bk .dock-clear {
    background: transparent; border: 1px solid var(--bk-line); color: var(--bk-muted);
    border-radius: 7px; padding: 5px 10px; font-size: 12px;
  }
}
/* header betslip button sits with the account controls on the right */
body.bk .sx-bar .bk-slipbtn {
  order: 5 !important;
  flex: 0 0 auto;
}
body.bk .sx-bar #userBox { order: 6 !important; }
