:root {
  --s37-primary: var(--vux-theme-primary, #0c913f);
  --s37-bg: var(--vux-theme-background, #1b1c22);
  --s37-text: var(--vux-theme-text, #ffffff);
  --s37-surface: rgba(255, 255, 255, 0.09);
  --s37-surface-strong: rgba(255, 255, 255, 0.14);
  --s37-border: rgba(255, 255, 255, 0.13);
  --s37-muted: rgba(255, 255, 255, 0.68);
  --s37-danger: #ef5350;
  --s37-warning: #ffb547;
}

body.s37-sport-open {
  overflow: hidden !important;
}

.s37-scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.s37-scroll-x::-webkit-scrollbar {
  display: none;
}

.s37-home-sports {
  margin: 7px 10px 12px;
  color: var(--s37-text);
  font-family: inherit;
}

.s37-home-sports__head {
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
}

.s37-home-sports__title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
}

.s37-home-sports__title img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.s37-home-sports__more {
  border: 0;
  background: transparent;
  color: #63d894;
  padding: 5px 0 5px 8px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.s37-home-sports__track {
  display: flex;
  gap: 7px;
  padding: 1px 0 4px;
  scroll-snap-type: x proximity;
}

.s37-home-match {
  display: block;
  flex: 0 0 46%;
  width: 46%;
  min-width: 150px;
  max-width: 178px;
  min-height: 98px;
  box-sizing: border-box;
  border: 1px solid var(--s37-border);
  border-radius: 5px;
  background: #24262e;
  color: var(--s37-text);
  padding: 5px;
  text-align: left;
  scroll-snap-align: start;
  cursor: pointer;
}

.s37-home-match__meta,
.s37-home-match__league {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  font-size: 8px;
}

.s37-home-match__meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  justify-content: initial;
  color: var(--s37-muted);
}

.s37-home-match__meta > b {
  color: #63d894;
  font-size: 8px;
}

.s37-home-match__league {
  margin-top: 0;
  color: var(--s37-text);
}

.s37-home-match__league span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s37-home-match__league img {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  object-fit: contain;
}

.s37-home-match__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  margin: 5px 0;
}

.s37-home-team {
  min-width: 0;
  text-align: center;
}

.s37-home-team img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
}

.s37-home-team span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  font-weight: 600;
}

.s37-home-score {
  text-align: center;
  font-size: 10px;
  font-weight: 900;
}

.s37-home-odds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.s37-home-odd {
  min-height: 24px;
  border-radius: 4px;
  background: #1d1f26;
  padding: 2px 3px;
  text-align: center;
  font-size: 7px;
  color: var(--s37-muted);
}

.s37-home-odd strong {
  display: block;
  color: var(--s37-text);
  font-size: 9px;
}

.s37-home-match.is-world-cup {
  border-top-color: #18ad58;
}

.s37-home-odd--locked {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s37-hidden-pot {
  display: none !important;
}

.s37-sport-shell {
  position: fixed;
  inset: 0;
  z-index: 1000005;
  display: none;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--s37-bg);
  color: var(--s37-text);
  font-family: inherit;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.58);
}

.s37-sport-shell.is-open {
  display: flex;
  flex-direction: column;
}

.s37-sport-head {
  display: grid;
  flex: 0 0 52px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  box-sizing: border-box;
  padding: 0 9px;
  border-bottom: 1px solid var(--s37-border);
  background: var(--s37-primary);
}

.s37-icon-button {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  padding: 0;
  font: inherit;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.s37-sport-head__title {
  min-width: 0;
}

.s37-sport-head__title strong,
.s37-sport-head__title small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s37-sport-head__title strong {
  font-size: 15px;
}

.s37-sport-head__title small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.s37-sport-head__actions {
  display: flex;
  gap: 5px;
}

.s37-sport-head__actions .s37-icon-button {
  width: 31px;
  height: 31px;
  flex-basis: 31px;
  font-size: 17px;
}

.s37-sport-search {
  display: none;
  flex: 0 0 46px;
  align-items: center;
  gap: 7px;
  box-sizing: border-box;
  padding: 6px 10px;
  border-bottom: 1px solid var(--s37-border);
  background: rgba(0, 0, 0, 0.14);
}

.s37-sport-search.is-open {
  display: flex;
}

.s37-sport-search input {
  width: 100%;
  height: 34px;
  box-sizing: border-box;
  border: 1px solid var(--s37-border);
  border-radius: 7px;
  outline: 0;
  background: rgba(0, 0, 0, 0.18);
  color: var(--s37-text);
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
}

.s37-sport-filters {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-bottom: 1px solid var(--s37-border);
  background: rgba(0, 0, 0, 0.08);
}

.s37-sport-filter {
  display: inline-flex;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 999px;
  background: var(--s37-surface);
  color: var(--s37-muted);
  padding: 0 10px;
  font: inherit;
  font-size: 10px;
  white-space: nowrap;
  cursor: pointer;
}

.s37-sport-filter.is-active {
  background: var(--s37-primary);
  color: #fff;
  font-weight: 800;
}

.s37-sport-filter span {
  display: none;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  line-height: 15px;
  text-align: center;
  font-size: 9px;
}

.s37-sport-filter span.has-count {
  display: inline-block;
}

.s37-sport-category {
  display: flex;
  flex: 0 0 54px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
  padding: 6px 10px;
  border-bottom: 1px solid var(--s37-border);
  background: rgba(255, 255, 255, 0.04);
}

.s37-sport-category__item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.s37-sport-category__item img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.s37-sport-category__item strong,
.s37-sport-category__item small {
  display: block;
}

.s37-sport-category__item strong {
  font-size: 12px;
}

.s37-sport-category__item small {
  color: var(--s37-muted);
  font-size: 9px;
}

.s37-sport-records {
  border: 0;
  background: transparent;
  color: var(--s37-text);
  padding: 7px;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.s37-sport-content {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 9px 9px 76px;
  overscroll-behavior-y: contain;
}

.s37-sport-state {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--s37-muted);
  padding: 24px;
  text-align: center;
  font-size: 12px;
}

.s37-sport-loader {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--s37-primary);
  border-radius: 50%;
  animation: s37-spin 0.8s linear infinite;
}

@keyframes s37-spin {
  to { transform: rotate(360deg); }
}

.s37-league {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--s37-border);
}

.s37-league__head {
  display: grid;
  width: 100%;
  min-height: 38px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--s37-text);
  padding: 5px 8px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.s37-league__head img {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  object-fit: contain;
}

.s37-league__name {
  min-width: 0;
}

.s37-league__name strong,
.s37-league__name small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s37-league__name strong {
  font-size: 11px;
}

.s37-league__name small {
  margin-top: 1px;
  color: var(--s37-muted);
  font-size: 9px;
}

.s37-league__chevron {
  transition: transform 0.2s ease;
}

.s37-league.is-collapsed .s37-league__chevron {
  transform: rotate(-90deg);
}

.s37-league.is-collapsed .s37-match {
  display: none;
}

.s37-match {
  padding: 9px 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.s37-match__time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--s37-muted);
  font-size: 9px;
}

.s37-match__live {
  color: var(--s37-danger);
  font-weight: 800;
}

.s37-match__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 8px;
  margin-bottom: 8px;
}

.s37-match__team-list {
  min-width: 0;
}

.s37-match__team {
  display: grid;
  min-height: 29px;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}

.s37-match__team img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.07);
}

.s37-match__team strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.s37-match__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--s37-border);
  font-size: 16px;
  font-weight: 900;
}

.s37-match__score small {
  margin-top: 2px;
  color: var(--s37-muted);
  font-size: 8px;
  font-weight: 600;
}

.s37-market-labels,
.s37-match__odds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.s37-market-labels {
  margin-bottom: 4px;
  color: var(--s37-muted);
  text-align: center;
  font-size: 8px;
}

.s37-odd {
  min-height: 38px;
  border: 1px solid var(--s37-border);
  border-radius: 6px;
  background: var(--s37-surface);
  color: var(--s37-text);
  padding: 4px 3px;
  font: inherit;
  font-size: 9px;
  cursor: pointer;
}

.s37-odd strong {
  display: block;
  margin-top: 1px;
  font-size: 12px;
}

.s37-odd.is-selected {
  border-color: var(--s37-primary);
  background: var(--s37-primary);
  color: #fff;
}

.s37-match__locked {
  display: flex;
  min-height: 37px;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--s37-border);
  border-radius: 6px;
  color: var(--s37-muted);
  font-size: 10px;
}

.s37-sport-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: grid;
  height: 62px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--s37-border);
  background: rgba(14, 16, 28, 0.97);
  backdrop-filter: blur(10px);
}

.s37-sport-bottom button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--s37-muted);
  padding: 8px 2px 5px;
  font: inherit;
  font-size: 9px;
  cursor: pointer;
}

.s37-sport-bottom button strong {
  display: block;
  height: 22px;
  color: inherit;
  font-size: 18px;
  line-height: 22px;
}

.s37-sport-bottom button.is-active {
  color: var(--s37-primary);
  font-weight: 800;
}

.s37-ticket-badge {
  position: absolute;
  top: 4px;
  left: calc(50% + 7px);
  display: none;
  min-width: 16px;
  height: 16px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--s37-danger);
  color: #fff;
  padding: 0 4px;
  line-height: 16px;
  font-size: 9px;
}

.s37-ticket-badge.has-items {
  display: block;
}

.s37-ticket-backdrop {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: none;
  border: 0;
  background: rgba(0, 0, 0, 0.58);
}

.s37-ticket-backdrop.is-open {
  display: block;
}

.s37-ticket {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 8;
  max-height: 82%;
  overflow-y: auto;
  box-sizing: border-box;
  border-top: 1px solid var(--s37-border);
  background: #171927;
  padding: 12px 10px 16px;
  transform: translateY(102%);
  transition: transform 0.22s ease;
}

.s37-ticket.is-open {
  transform: translateY(0);
}

.s37-ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.s37-ticket__head strong {
  font-size: 13px;
}

.s37-ticket__head button,
.s37-ticket__remove {
  border: 0;
  background: transparent;
  color: var(--s37-muted);
  padding: 4px;
  font: inherit;
  cursor: pointer;
}

.s37-ticket__empty {
  padding: 24px 12px;
  border: 1px dashed var(--s37-border);
  color: var(--s37-muted);
  text-align: center;
  font-size: 11px;
}

.s37-ticket__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.s37-ticket__item strong,
.s37-ticket__item small {
  display: block;
}

.s37-ticket__item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.s37-ticket__item small {
  margin-top: 3px;
  color: var(--s37-muted);
  font-size: 9px;
}

.s37-ticket__odd {
  color: var(--s37-warning);
  font-size: 14px;
  font-weight: 900;
}

.s37-ticket__stake {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.s37-ticket__stake input,
.s37-ticket__return {
  min-height: 43px;
  box-sizing: border-box;
  border: 1px solid var(--s37-border);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--s37-text);
  padding: 7px 9px;
  font: inherit;
}

.s37-ticket__stake input {
  width: 100%;
  outline: 0;
  font-size: 12px;
}

.s37-ticket__return {
  color: var(--s37-muted);
  font-size: 9px;
}

.s37-ticket__return strong {
  display: block;
  margin-top: 2px;
  color: var(--s37-text);
  font-size: 13px;
}

.s37-ticket__submit {
  width: 100%;
  min-height: 42px;
  margin-top: 9px;
  border: 0;
  border-radius: 7px;
  background: var(--s37-primary);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.s37-ticket__submit:disabled {
  opacity: 0.48;
  cursor: default;
}

.s37-history {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.s37-history__item {
  border: 1px solid var(--s37-border);
  border-radius: 7px;
  background: var(--s37-surface);
  padding: 9px;
}

.s37-history__head,
.s37-history__totals,
.s37-history__pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.s37-history__head {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--s37-muted);
  font-size: 9px;
}

.s37-history__status {
  border-radius: 4px;
  background: var(--s37-warning);
  color: #171927;
  padding: 2px 5px;
  font-weight: 900;
}

.s37-history__status--won { background: #66bb6a; }
.s37-history__status--lost { background: var(--s37-danger); color: #fff; }
.s37-history__status--cashed_out { background: #29b6f6; }

.s37-history__picks {
  padding: 6px 0;
}

.s37-history__pick {
  margin: 4px 0;
  font-size: 10px;
}

.s37-history__pick strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s37-history__totals {
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
}

.s37-history__cashout {
  width: 100%;
  min-height: 34px;
  margin-top: 7px;
  border: 0;
  border-radius: 6px;
  background: #039be5;
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.s37-sport-toast {
  position: absolute;
  right: 12px;
  bottom: 73px;
  left: 12px;
  z-index: 12;
  display: none;
  border: 1px solid var(--s37-border);
  border-radius: 7px;
  background: rgba(17, 19, 31, 0.98);
  color: #fff;
  padding: 9px 11px;
  text-align: center;
  font-size: 11px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.s37-sport-toast.is-open {
  display: block;
}

@media (min-width: 431px) {
  .s37-sport-shell {
    top: 8px;
    bottom: 8px;
    border-radius: 8px;
  }
}

@media (max-width: 360px) {
  .s37-home-match {
    flex-basis: calc(50% - 5px);
    width: calc(50% - 5px);
    min-width: 142px;
  }

  .s37-sport-filter {
    padding: 0 8px;
  }

  .s37-match {
    padding-right: 6px;
    padding-left: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .s37-ticket,
  .s37-league__chevron {
    transition: none;
  }
}

/* Native SaaS sports layout with the 37B accent. */
.s37-sport-shell.s37-native-layout {
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 405px;
  border-radius: 0;
  background: #1b1c22;
  box-shadow: 0 0 0 9999px #343844;
  color: #f7f9fb;
  font-size: 12px;
}

.s37-native-header {
  position: relative;
  z-index: 5;
  display: grid;
  flex: 0 0 52px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  min-width: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #24262e;
  padding: 0 10px;
}

.s37-native-back {
  display: inline-flex;
  width: 28px;
  height: 36px;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  background: transparent;
  color: #9fb0c1;
  padding: 0;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.s37-native-brand {
  width: 110px;
  max-width: 100%;
  height: 35px;
  object-fit: contain;
  object-position: left center;
}

.s37-native-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  color: #d8e1e9;
  font-size: 10px;
}

.s37-native-user,
.s37-native-balance {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.s37-native-user b {
  display: block;
  max-width: 62px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.s37-native-user i {
  color: #9fb0c1;
  font-size: 11px;
}

.s37-native-balance {
  min-height: 24px;
  border: 1px solid rgba(24, 173, 88, 0.35);
  border-radius: 12px;
  background: #1f2128;
  color: #7ce3a4;
  padding: 0 6px 0 3px;
}

.s37-native-balance img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: contain;
}

.s37-native-balance i {
  width: 0;
  height: 0;
  margin-left: 1px;
  border-top: 4px solid #8293a4;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
}

.s37-native-scroll {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #3a3d47 transparent;
}

.s37-native-share-note {
  display: flex;
  height: 34px;
  align-items: center;
  box-sizing: border-box;
  margin: 8px 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 4px;
  background: #24262e;
  color: #c6d2dd;
  padding: 0 10px;
  overflow: hidden;
}

.s37-native-share-note span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s37-native-layout .s37-sport-search {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 8;
  display: flex;
  height: 47px;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #24262e;
  padding: 7px 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.s37-native-layout .s37-sport-search.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.s37-native-layout .s37-sport-search > i {
  color: #8fa1b2;
  font-size: 14px;
}

.s37-native-layout .s37-sport-search input {
  height: 32px;
  border-color: #3a3d47;
  border-radius: 4px;
  background: #1b1c22;
  color: #fff;
}

.s37-native-layout .s37-sport-search button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #aab8c5;
  padding: 0;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.s37-native-layout .s37-sport-filters {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  border: 0;
  background: #1b1c22;
  padding: 6px 10px;
}

.s37-native-layout .s37-sport-filter {
  min-height: 28px;
  border: 1px solid #3a3d47;
  border-radius: 15px;
  background: #292c34;
  color: #c6d1dc;
  padding: 0 14px;
  font-size: 10px;
}

.s37-native-layout .s37-sport-filter.is-active {
  border-color: #18ad58;
  background: #18ad58;
  color: #07130b;
  font-weight: 800;
}

.s37-native-layout .s37-sport-filter span[data-s37-filter-count] {
  display: inline;
  min-width: 0;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  line-height: inherit;
  font-size: inherit;
}

.s37-native-layout .s37-sport-filter .s37-sport-filter__label {
  display: inline;
  min-width: 0;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  line-height: inherit;
  font-size: inherit;
}

.s37-native-layout .s37-sport-filter span[data-s37-filter-count]::before {
  content: " ";
}

.s37-native-sport-tabs {
  display: flex;
  height: 88px;
  align-items: stretch;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #202127;
  padding: 3px 6px 4px;
}

.s37-native-sport-tab {
  position: relative;
  display: flex;
  width: 58px;
  min-width: 58px;
  height: 80px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  background: transparent;
  color: #b8c6d2;
  padding: 4px 3px 3px;
  font: inherit;
  font-size: 9px;
  line-height: 12px;
  text-align: center;
  cursor: pointer;
}

.s37-native-sport-tab.is-active {
  color: #63d894;
}

.s37-native-sport-tab::after {
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 2px;
  background: transparent;
  content: "";
}

.s37-native-sport-tab.is-active::after {
  background: #18ad58;
}

.s37-native-sport-tab__icon {
  position: relative;
  display: block;
  width: 42px;
  height: 46px;
  margin-bottom: 2px;
}

.s37-native-sport-tab__icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.s37-native-sport-tab__icon b {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 17px;
  height: 15px;
  border-radius: 8px;
  background: #172a39;
  color: #dfe8ef;
  padding: 0 3px;
  line-height: 15px;
  font-size: 9px;
}

.s37-native-tools {
  display: flex;
  height: 55px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0e1d2b;
  padding: 0 10px;
}

.s37-native-current {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.s37-native-current img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.s37-native-current strong {
  font-size: 13px;
}

.s37-native-current span {
  color: #8fa2b3;
  font-size: 14px;
}

.s37-native-tool-actions {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 3px;
}

.s37-native-tool-actions button {
  display: flex;
  width: 59px;
  height: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: #c4d0da;
  padding: 0;
  font: inherit;
  font-size: 9px;
  white-space: nowrap;
  cursor: pointer;
}

.s37-native-tool-actions img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.78;
}

.s37-native-list-meta {
  display: none;
}

.s37-native-layout .s37-sport-content {
  position: relative;
  min-height: 260px;
  overflow: visible;
  padding: 0 10px 80px;
}

.s37-native-layout .s37-sport-state {
  min-height: 250px;
  color: #9caebb;
}

.s37-native-layout .s37-league {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #202127;
}

.s37-native-layout .s37-league__head {
  display: grid;
  min-height: 35px;
  grid-template-columns: 22px minmax(0, 1fr) 16px 16px;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #292b33;
  padding: 5px 7px;
}

.s37-native-layout .s37-league__head .s37-native-league-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: contain;
}

.s37-native-layout .s37-league__name strong {
  color: #e8edf2;
  font-size: 10px;
}

.s37-native-layout .s37-league__name small {
  color: #8fa1b0;
  font-size: 8px;
}

.s37-native-pin {
  position: relative;
  width: 12px;
  height: 12px;
  opacity: 0.55;
}

.s37-native-pin::before,
.s37-native-pin::after {
  position: absolute;
  background: #9fb1c0;
  content: "";
}

.s37-native-pin::before {
  top: 1px;
  left: 5px;
  width: 2px;
  height: 10px;
}

.s37-native-pin::after {
  top: 2px;
  left: 2px;
  width: 8px;
  height: 2px;
}

.s37-native-layout .s37-league__chevron {
  color: #96a8b6;
  font-size: 14px;
}

.s37-native-layout .s37-league.is-collapsed .s37-native-match {
  display: none;
}

.s37-native-match {
  display: grid;
  min-height: 188px;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: #202127;
}

.s37-native-match + .s37-native-match {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.s37-native-match__left {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 8px 7px 6px;
}

.s37-native-match__time {
  display: flex;
  min-height: 25px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
  color: #d4dce4;
  font-size: 9px;
}

.s37-native-match__time .is-live {
  color: #ff5a65;
  font-weight: 800;
}

.s37-native-follow {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.s37-native-follow img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.65;
}

.s37-native-follow.is-active img {
  filter: none;
  opacity: 1;
}

.s37-native-team-row {
  display: grid;
  min-height: 42px;
  grid-template-columns: 27px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 5px;
}

.s37-native-team-row .s37-native-team-logo {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  object-fit: contain;
}

.s37-native-team-row strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #f3f6f8;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 600;
}

.s37-native-team-row > b {
  color: #fff;
  text-align: center;
  font-size: 15px;
}

.s37-native-match__source {
  display: flex;
  min-height: 25px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 5px;
  color: #7f93a4;
  font-size: 8px;
}

.s37-native-match__source span {
  display: block;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s37-native-live {
  border-radius: 2px;
  background: #d93442;
  color: #fff;
  padding: 1px 3px;
  font-size: 7px;
}

.s37-native-match__markets {
  position: relative;
  min-width: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  padding: 7px 5px 12px;
}

.s37-native-market-head,
.s37-native-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.s37-native-market-head {
  height: 38px;
  align-items: center;
  color: #91a3b1;
  text-align: center;
  font-size: 7px;
  line-height: 9px;
}

.s37-native-market-grid {
  grid-auto-rows: 38px;
}

.s37-native-bet-cell {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #132b3d;
  color: #e9eef2;
  padding: 2px;
  font: inherit;
  cursor: pointer;
}

.s37-native-bet-cell span,
.s37-native-bet-cell strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s37-native-bet-cell span {
  color: #a9b8c4;
  font-size: 8px;
}

.s37-native-bet-cell strong {
  margin-top: 1px;
  color: #fff;
  font-size: 11px;
}

.s37-native-bet-cell:hover,
.s37-native-bet-cell:focus-visible {
  border-color: rgba(24, 173, 88, 0.7);
  outline: none;
}

.s37-native-bet-cell.is-selected {
  border-color: #63d894;
  background: #137b41;
}

.s37-native-bet-cell.is-locked,
.s37-native-bet-cell.is-more {
  background: #202229;
  cursor: default;
  opacity: 0.56;
}

.s37-native-market-pages {
  position: absolute;
  right: 5px;
  bottom: 5px;
  left: 5px;
  display: flex;
  height: 2px;
  justify-content: center;
  gap: 3px;
}

.s37-native-market-pages i {
  width: 14px;
  height: 2px;
  background: #464952;
}

.s37-native-market-pages i.is-active {
  background: #18ad58;
}

.s37-native-skeleton {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #24262e;
}

.s37-native-skeleton__head {
  height: 34px;
  background: #292b33;
}

.s37-native-skeleton__body {
  display: grid;
  height: 170px;
  grid-template-columns: 46% 54%;
  gap: 8px;
  padding: 10px;
}

.s37-native-skeleton__body > div:first-child span,
.s37-native-skeleton__body > div:first-child i,
.s37-native-skeleton__markets i {
  display: block;
  border-radius: 3px;
  background: #383b44;
  animation: s37-native-pulse 1.15s ease-in-out infinite alternate;
}

.s37-native-skeleton__body > div:first-child i {
  width: 70%;
  height: 12px;
  margin-bottom: 23px;
}

.s37-native-skeleton__body > div:first-child span {
  width: 85%;
  height: 24px;
  margin: 11px 0;
}

.s37-native-skeleton__markets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.s37-native-skeleton__markets i {
  height: 39px;
}

@keyframes s37-native-pulse {
  from { opacity: 0.42; }
  to { opacity: 0.9; }
}

.s37-native-ticket-float {
  position: absolute;
  right: 7px;
  bottom: 43%;
  z-index: 6;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #18ad58;
  padding: 0;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.42);
  cursor: pointer;
}

.s37-native-ticket-float img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.s37-native-ticket-float .s37-ticket-badge {
  top: -4px;
  right: -3px;
  left: auto;
}

.s37-native-layout .s37-ticket,
.s37-native-settings {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  max-height: 84%;
  overflow-y: auto;
  box-sizing: border-box;
  border-top: 1px solid #353843;
  background: #202229;
  padding: 12px 10px 16px;
  transform: translateY(103%);
  transition: transform 0.2s ease;
}

.s37-native-layout .s37-ticket.is-open,
.s37-native-settings.is-open {
  transform: translateY(0);
}

.s37-native-layout .s37-ticket-backdrop,
.s37-settings-backdrop {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: none;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
}

.s37-native-layout .s37-ticket-backdrop.is-open,
.s37-settings-backdrop.is-open {
  display: block;
}

.s37-native-layout .s37-ticket__submit {
  border-radius: 4px;
  background: #18ad58;
  color: #07130b;
}

.s37-native-layout .s37-ticket__stake input,
.s37-native-layout .s37-ticket__return,
.s37-native-layout .s37-ticket__empty,
.s37-native-layout .s37-history__item {
  border-color: #353843;
  border-radius: 4px;
  background: #252831;
}

.s37-native-settings__head {
  display: flex;
  height: 34px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.s37-native-settings__head strong {
  font-size: 14px;
}

.s37-native-settings__head button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #a9b8c4;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.s37-native-setting {
  display: grid;
  min-height: 60px;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.s37-native-setting span,
.s37-native-setting strong,
.s37-native-setting small {
  display: block;
}

.s37-native-setting strong {
  color: #edf2f5;
  font-size: 11px;
}

.s37-native-setting small {
  margin-top: 3px;
  color: #91a3b2;
  font-size: 9px;
}

.s37-native-setting input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.s37-native-setting > i {
  position: relative;
  width: 39px;
  height: 22px;
  border-radius: 11px;
  background: #353843;
  transition: background 0.18s ease;
}

.s37-native-setting > i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dce4ea;
  content: "";
  transition: transform 0.18s ease;
}

.s37-native-setting input:checked + i {
  background: #55c91c;
}

.s37-native-setting input:checked + i::after {
  transform: translateX(17px);
}

.s37-native-refresh {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  border: 0;
  border-radius: 4px;
  background: #18ad58;
  color: #07130b;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.s37-native-layout .s37-sport-toast {
  bottom: 76px;
  border-color: #474a54;
  border-radius: 4px;
  background: #292b33;
}

@media (max-width: 365px) {
  .s37-native-identity {
    gap: 3px;
    font-size: 9px;
  }

  .s37-native-user b {
    max-width: 45px;
  }

  .s37-native-balance {
    padding-right: 4px;
  }

  .s37-native-match {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  }

  .s37-native-match__left {
    padding-right: 4px;
    padding-left: 5px;
  }

  .s37-native-bet-cell span {
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .s37-native-layout .s37-sport-search,
  .s37-native-layout .s37-ticket,
  .s37-native-settings,
  .s37-native-setting > i,
  .s37-native-setting > i::after {
    transition: none;
  }

  .s37-native-skeleton__body > div:first-child span,
  .s37-native-skeleton__body > div:first-child i,
  .s37-native-skeleton__markets i {
    animation: none;
  }
}
