/* Layout that the reference stylesheet does not include. */
.sb-auth-logo {
  align-self: flex-start;
  display: block;
  width: 157px;
  height: 28px;
  max-width: 70%;
  object-fit: contain;
  object-position: left center;
}
.sbx-promo {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
}
.sbx-promo-card {
  width: min(440px, 100%);
  max-height: min(640px, calc(100dvh - 32px));
  overflow: auto;
  border-radius: 16px;
  background: #17141c;
  color: #f4f1f6;
}
.sbx-promo-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.sbx-promo-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}
.sbx-promo-body h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}
.sbx-promo-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #b7b1bd;
  font-size: 14px;
}
.sbx-promo-body button {
  height: 44px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.sbx-promo-go { background: #e80104; color: #fff; }
.sbx-promo-no { background: #2a2430; color: #f4f1f6; }

.sbx-home { display: flex; flex-direction: column; gap: 28px; }
.sbx-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #f4f1f6;
  font-size: 20px;
  line-height: 22px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: var(--system-title-default-family), sans-serif;
}
.sbx-title svg { width: 22px; height: 22px; flex: none; }
.sbx-home > .sbx-title-mobile { margin-bottom: 0; }
.sbx-more {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #ff4d4f;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
}
.sbx-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--sbx-item, 320px);
  align-items: start;
  column-gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 12px;
  scrollbar-width: none;
  margin: 0 -12px;
  padding: 2px 12px 4px;
}
.sbx-rail::-webkit-scrollbar { display: none; }
.sbx-rail > * { scroll-snap-align: start; min-width: 0; }

.sbx-slide {
  position: relative;
  display: flex;
  width: 320px;
  height: 128px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #241f28;
  color: #fff;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.sbx-slide img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 128px;
  object-fit: cover;
}
.sbx-slide-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
}
.sbx-slide-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: 160px;
  height: 100%;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 12px 12px;
}
.sbx-slide-copy b {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-family: var(--system-title-default-family), sans-serif;
  font-size: 18px;
  line-height: 18px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.375px;
  text-transform: uppercase;
}
.sbx-slide-copy span { font-size: 12px; line-height: 18px; }
.sbx-cta {
  display: inline-flex;
  align-items: center;
  height: 24px;
  width: fit-content;
  margin-top: auto;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: #190f23;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.sbx-sports {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -12px 8px;
  padding: 0 12px;
}
.sbx-sports::-webkit-scrollbar { display: none; }
.sbx-sport {
  display: flex;
  width: 32px;
  height: 32px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #3a343f;
  color: #f4f1f6;
  cursor: pointer;
}
.sbx-sport svg { width: 16px; height: 16px; }
.sbx-sport.is-on { background: #e80104; }

.sbx-livecard {
  display: flex;
  width: 320px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #1d181f;
  padding: 12px;
  color: inherit;
}
.sbx-live-league {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding-bottom: 12px;
  color: #b7b1bd;
  font-size: 12px;
  text-decoration: none;
}
.sbx-live-league .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbx-flag { font-size: 14px; line-height: 1; }
.sbx-live-board {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  padding: 14px 8px 8px;
  background: linear-gradient(180deg, transparent, #1d181f);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  color: inherit;
  text-decoration: none;
}
.sbx-live-pill {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #1f8f4e;
  padding: 1px 6px;
  color: rgba(255,255,255,.84);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.sbx-live-pill .sb-pulse { color: #fff; }
.sbx-live-teams {
  display: grid;
  grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr);
  gap: 8px;
  align-items: center;
}
.sbx-side { display: flex; min-height: 80px; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.sbx-side b {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.sbx-crest, .sbx-crest img, .sbx-crest b {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  object-fit: contain;
}
.sbx-crest.sm, .sbx-crest.sm img, .sbx-crest.sm b { width: 16px; height: 16px; font-size: 10px; }
.sbx-crest b { border-radius: 999px; background: #3a343f; font-size: 14px; }
.sbx-scorebox { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #b7b1bd; }
.sbx-scorebox strong {
  border-radius: 10px;
  background: #3a343f;
  padding: 4px 8px;
  color: #f4f1f6;
  font-size: 20px;
  line-height: 22px;
  letter-spacing: 0.8px;
}
.sbx-progress { display: flex; height: 1px; margin-top: 8px; background: rgba(255,255,255,.12); }
.sbx-progress i { display: block; height: 1px; background: #3dce7a; }
.sbx-markets { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.sbx-market-name { color: #b7b1bd; font-size: 12px; font-weight: 700; }
.sbx-odds3 { display: flex; gap: 8px; }
.sbx-odd { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: center; gap: 4px; }
.sbx-odd > span { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; color: #b7b1bd; font-size: 12px; }
.sbx-odd button {
  position: relative;
  width: 100%;
  height: 32px;
  border: 0;
  border-radius: 5px;
  background: #3a343f;
  color: #f4f1f6;
  font-weight: 700;
  cursor: pointer;
}
.sbx-odd button.is-on { background: #e80104; color: #fff; }
.sbx-odd button:disabled { cursor: default; opacity: .55; }

.sbx-top {
  display: flex;
  width: 284px;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  border-radius: 10px;
  background: #1d181f;
  padding: 12px;
}
.sbx-top-head { display: flex; align-items: center; gap: 8px; color: #b7b1bd; font-size: 11px; }
.sbx-top-head span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbx-top-head a { margin-left: auto; flex: none; color: #ff4d4f; font-size: 12px; font-weight: 700; text-decoration: none; }
.sbx-top-time { color: #b7b1bd; font-size: 11px; }
.sbx-top-team { display: flex; height: 24px; align-items: center; gap: 8px; color: #f4f1f6; font-size: 14px; text-decoration: none; }
.sbx-top-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbx-top a.block { color: inherit; text-decoration: none; }
.sbx-divider { height: 1px; background: rgba(255,255,255,.12); }

.sbx-tour {
  position: relative;
  display: block;
  width: 144px;
  height: 66px;
  overflow: hidden;
  border-radius: 10px;
  padding: 12px;
  color: #fff;
  text-decoration: none;
}
.sbx-tour-ball {
  position: absolute;
  right: -8px;
  top: -6px;
  width: 72px;
  height: 72px;
  opacity: .28;
}
.sbx-tour-meta { position: relative; z-index: 1; display: flex; align-items: center; gap: 4px; height: 16px; margin-bottom: 6px; font-size: 11px; }
.sbx-tour b { position: relative; z-index: 1; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; line-height: 18px; }

.sbx-badge {
  position: absolute;
  top: -2px;
  left: 27px;
  z-index: 1;
  border-radius: 999px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  font-style: normal;
}
.sbx-badge-hot { background: #e80104; color: #fff; }
.sbx-badge-new { background: #c6f54a; color: #17300c; }
.sbx-nav-count {
  position: absolute;
  top: 0;
  left: calc(50% + 6px);
  min-width: 16px;
  border-radius: 999px;
  background: #e80104;
  padding: 0 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
}
@media (min-width: 1024px) {
  .sbx-title-mobile { display: none; }
  .sbx-rail { margin: 0; padding-left: 0; padding-right: 0; scroll-padding-left: 0; }
}

.sbx-match {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sbx-match a { color: inherit; text-decoration: none; font-weight: 700; }
.sbx-kicker {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #b7b1bd;
  font-size: 12px;
}
.sbx-kicker a { color: #ff4d4f; font-weight: 700; text-decoration: none; }

.sbx-csearch {
  display: flex;
  height: 40px;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #2a2430;
  padding: 0 12px;
  color: #b7b1bd;
}
.sbx-csearch input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: #f4f1f6;
  font-size: 14px;
  outline: none;
}
.sbx-csearch svg { width: 18px; height: 18px; flex: none; }
.sbx-gchip {
  display: flex;
  width: 72px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-align: center;
  text-decoration: none;
}
.sbx-gchip i { display: block; width: 52px; height: 52px; overflow: hidden; border-radius: 999px; background: #2a2430; }
.sbx-gchip img { width: 100%; height: 100%; object-fit: cover; }
.sbx-gchip span {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.sbx-wide {
  position: relative;
  display: block;
  width: 280px;
  height: 168px;
  overflow: hidden;
  border-radius: 10px;
  background: #1d181f;
  color: inherit;
  text-decoration: none;
}
.sbx-wide > span:first-child { display: block; height: 100%; }
.sbx-wide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 82%;
}
.sbx-portrait-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sbx-wide-top {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  height: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
  pointer-events: none;
}
.sbx-wide-top b {
  display: inline-flex;
  box-sizing: border-box;
  min-width: 18px;
  height: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  padding: 0 4px;
  color: #101416;
  font-size: 8px;
  font-weight: 800;
  line-height: 14px;
}
.sbx-tag {
  border-radius: 999px;
  padding: 1px 4px;
  color: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 10px;
  text-transform: uppercase;
}
.sbx-tag.is-crash { background: #2f6fed; }
.sbx-tag.is-live { background: #e10600; }
.sbx-portrait { display: flex; width: 140px; flex-direction: column; }
.sbx-portrait-art {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #241f28;
  color: inherit;
  text-decoration: none;
}
.sbx-portrait-art > span:first-child { display: block; aspect-ratio: 4 / 5; }
.sbx-portrait-art .sbx-tag { position: absolute; top: 8px; right: 8px; }
.sbx-portrait p {
  margin: 0;
  overflow: hidden;
  padding: 4px 4px 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sbx-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sbx-wall .sbx-portrait { width: auto; }

.sbx-chip { width: 72px; display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: transparent; color: #f4f1f6; font-size: 12px; font-weight: 600; text-decoration: none; text-align: center; cursor: pointer; }
.sbx-chip i { position: relative; width: 52px; height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(0,0,0,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.4); background: radial-gradient(ellipse 95% 90% at 50% 128%, rgba(255,40,40,.95) 0%, rgba(236,10,10,.85) 18%, rgba(190,0,6,.6) 34%, rgba(110,0,8,.35) 50%, rgba(40,6,10,.12) 66%, rgba(20,18,22,0) 80%), #141216; }
.sbx-chip svg { width: 24px; height: 24px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.65)); }
.sbx-chip em { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; }

.sbx-authbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 58px;
  z-index: 9999;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  background: #09060bf0;
}
@media (min-width: 1024px) {
  .sbx-authbar, .sbx-csearch { display: none; }
  .sbx-rail.sbx-portraits {
    grid-auto-flow: row;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
  }
  .sbx-portrait { width: auto; }
  .sbx-wall { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .sbx-match { grid-template-columns: 1fr; }
  .sb-shell main { padding-bottom: 72px; }
}
