.sportsbook-page {
  min-height: calc(100vh - 80px);
  margin: -10px -10px 0;
  padding: 18px 18px 92px;
  background: #090d13;
  color: #f4f7fb;
  font-family: inherit;
}

.sportsbook-topbar {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(240px, 360px);
  gap: 12px;
  align-items: end;
  width: min(1560px, 100%);
  margin: 0 auto 10px;
}

.sportsbook-kicker {
  color: #21c997;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.sportsbook-topbar h1 {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.sportsbook-mode {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #121923;
}

.sportsbook-mode button,
.sportsbook-betslip-head button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.sportsbook-mode button.is-active {
  background: #263243;
  color: #ffffff;
}

.sportsbook-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #121923;
}

.sportsbook-search svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: #76859a;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.sportsbook-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.sportsbook-status {
  width: min(1560px, 100%);
  min-height: 22px;
  margin: 0 auto 10px;
  color: #7c8ba2;
  font-size: 12px;
  font-weight: 800;
}

.sportsbook-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 330px;
  gap: 10px;
  align-items: start;
  width: min(1560px, 100%);
  margin: 0 auto;
}

.sportsbook-rail,
.sportsbook-betslip,
.sportsbook-event,
.sportsbook-stream-head {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #111821;
}

.sportsbook-rail {
  position: sticky;
  top: 12px;
  display: grid;
  gap: 4px;
  padding: 6px;
}

.sportsbook-sport {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  padding: 5px 7px;
  background: transparent;
  color: #cbd5e1;
  text-align: left;
  cursor: pointer;
}

.sportsbook-sport:hover,
.sportsbook-sport.is-active {
  background: #1a2431;
}

.sportsbook-sport.is-active .sportsbook-sport-icon {
  background: #20c997;
  color: #06100d;
}

.sportsbook-sport-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: #243044;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
}

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

.sportsbook-sport strong {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.15;
}

.sportsbook-sport small {
  margin-top: 2px;
  color: #77869a;
  font-size: 11px;
  font-weight: 800;
}

.sportsbook-board {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.sportsbook-stream-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 9px 12px;
}

.sportsbook-stream-head span {
  display: block;
  color: #20c997;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.sportsbook-stream-head strong {
  display: block;
  margin-top: 3px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.sportsbook-stream-head em {
  color: #8190a6;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.sportsbook-event {
  overflow: hidden;
}

.sportsbook-event-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #121a25;
}

.sportsbook-league {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #8b9ab0;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.sportsbook-league span,
.sportsbook-league strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sportsbook-league strong {
  color: #c2ccda;
  font-size: 11px;
  font-weight: 900;
}

.sportsbook-event-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
}

.sportsbook-event-state.live span {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  border-radius: 5px;
  padding: 0 7px;
  background: rgba(32, 201, 151, 0.14);
  color: #26e0aa;
}

.sportsbook-event-state strong {
  color: #ffffff;
}

.sportsbook-event-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-width: 0;
}

.sportsbook-teams {
  display: grid;
  gap: 7px;
  align-content: center;
  min-width: 0;
  padding: 11px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: #0d131c;
}

.sportsbook-team {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.sportsbook-team span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6f7f95;
}

.sportsbook-team + .sportsbook-team span {
  background: #20c997;
}

.sportsbook-team strong {
  overflow: hidden;
  color: #edf2f7;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
}

.sportsbook-scoreline {
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  border-radius: 5px;
  padding: 4px 8px;
  background: #182233;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.sportsbook-market-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(126px, 1fr);
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  padding: 8px;
  scrollbar-color: #2d3b50 transparent;
}

.sportsbook-market {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.sportsbook-market-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 18px;
  color: #8998ad;
  font-size: 11px;
  font-weight: 900;
}

.sportsbook-market-head span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sportsbook-market-head em {
  flex: 0 0 auto;
  color: #ffcf66;
  font-style: normal;
}

.sportsbook-outcomes {
  display: grid;
  grid-template-columns: repeat(var(--outcomes), minmax(0, 1fr));
  gap: 4px;
}

.sportsbook-odd {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  padding: 6px 7px;
  background: #1a2433;
  color: #d7e0ec;
  cursor: pointer;
}

.sportsbook-odd:hover,
.sportsbook-odd.is-selected {
  border-color: rgba(32, 201, 151, 0.48);
  background: #203247;
}

.sportsbook-odd.is-selected {
  box-shadow: inset 0 0 0 1px rgba(32, 201, 151, 0.3);
}

.sportsbook-odd:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.sportsbook-odd span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #aebbd0;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
}

.sportsbook-odd strong {
  color: #23d6a1;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.sportsbook-betslip {
  position: sticky;
  top: 12px;
  overflow: hidden;
}

.sportsbook-betslip-head,
.sportsbook-wallet,
.sportsbook-slip-math div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sportsbook-betslip-head {
  padding: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sportsbook-betslip-head span,
.sportsbook-my-bets h3 {
  display: block;
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.sportsbook-betslip-head strong,
.sportsbook-wallet span,
.sportsbook-slip-math span,
.sportsbook-stake span {
  color: #8493a8;
  font-size: 12px;
  font-weight: 900;
}

.sportsbook-wallet {
  margin: 11px 13px;
  padding: 10px;
  border-radius: 7px;
  background: #0d131c;
}

.sportsbook-wallet strong {
  overflow: hidden;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
}

.sportsbook-notice {
  margin: 11px 13px 0;
  padding: 10px;
  border-radius: 7px;
  background: rgba(255, 207, 102, 0.1);
  color: #ffd67a;
  font-size: 12px;
  font-weight: 900;
}

.sportsbook-slip-list {
  display: grid;
  gap: 7px;
  padding: 0 13px 11px;
}

.sportsbook-slip-empty,
.sportsbook-empty {
  padding: 18px;
  border-radius: 7px;
  background: #0d131c;
  color: #8190a6;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.sportsbook-slip-item {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 10px 38px 10px 10px;
  border-radius: 7px;
  background: #1a2433;
}

.sportsbook-slip-item button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: #29384d;
  color: #ffffff;
  cursor: pointer;
}

.sportsbook-slip-item span {
  color: #8796ab;
  font-size: 11px;
  font-weight: 900;
}

.sportsbook-slip-item strong,
.sportsbook-slip-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sportsbook-slip-item strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.sportsbook-slip-item small {
  color: #a9b6c8;
  font-size: 12px;
}

.sportsbook-slip-item em {
  color: #23d6a1;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.sportsbook-stake {
  display: grid;
  gap: 8px;
  margin: 0 13px 11px;
}

.sportsbook-stake input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 0 12px;
  background: #0d131c;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  outline: 0;
}

.sportsbook-slip-math {
  display: grid;
  gap: 8px;
  margin: 0 13px 11px;
}

.sportsbook-slip-math strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.sportsbook-place {
  width: calc(100% - 26px);
  min-height: 44px;
  margin: 0 13px 10px;
  border: 0;
  border-radius: 7px;
  background: #20c997;
  color: #06100d;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.sportsbook-place:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.sportsbook-risk-note {
  margin: 0 13px 13px;
  color: #7e8da2;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
}

.sportsbook-my-bets {
  display: grid;
  gap: 8px;
  padding: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sportsbook-my-bets article {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 7px;
  background: #0d131c;
}

.sportsbook-my-bets article span {
  color: #8493a8;
  font-size: 11px;
  font-weight: 900;
}

.sportsbook-my-bets article strong {
  color: #ffffff;
  font-size: 12px;
}

.sportsbook-my-bets article small {
  overflow: hidden;
  color: #a9b6c8;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.sportsbook-skeleton {
  height: 132px;
  border-radius: 8px;
  background: linear-gradient(90deg, #111821, #172232, #111821);
  background-size: 220% 100%;
  animation: sportsbook-skeleton 1.2s linear infinite;
}

@keyframes sportsbook-skeleton {
  from { background-position: 0 0; }
  to { background-position: -220% 0; }
}

.sportsbook-mobile-slip {
  display: none;
}

@media (max-width: 1240px) {
  .sportsbook-layout {
    grid-template-columns: 188px minmax(0, 1fr) 300px;
  }

  .sportsbook-event-grid {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .sportsbook-page {
    margin: 0;
    padding: 14px 10px 88px;
  }

  .sportsbook-topbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .sportsbook-mode {
    width: 100%;
  }

  .sportsbook-mode button {
    width: 100%;
  }

  .sportsbook-layout {
    grid-template-columns: 1fr;
  }

  .sportsbook-rail {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .sportsbook-sport {
    min-width: 164px;
  }

  .sportsbook-betslip {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 140px;
    z-index: 900;
    display: none;
    max-height: min(78vh, 660px);
    overflow-y: auto;
  }

  .sportsbook-page.betslip-open .sportsbook-betslip {
    display: block;
  }

  .sportsbook-mobile-slip {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 84px;
    z-index: 901;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: #20c997;
    color: #06100d;
    font-size: 14px;
    font-weight: 900;
  }

  .sportsbook-mobile-slip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(6, 16, 13, 0.14);
  }
}

@media (max-width: 680px) {
  .sportsbook-topbar h1 {
    font-size: 24px;
  }

  .sportsbook-stream-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .sportsbook-stream-head em {
    white-space: normal;
  }

  .sportsbook-event-grid {
    grid-template-columns: 1fr;
  }

  .sportsbook-teams {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .sportsbook-market-strip {
    grid-auto-columns: minmax(156px, 74vw);
  }

  .sportsbook-event-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .sportsbook-league {
    width: 100%;
  }
}
