/* =========================================================
   StakeZ Betslip Theme
   Clean mobile bottom sheet + premium desktop panel
========================================================= */

:root {
  --nx-slip-bg: #0d1b26;
  --nx-slip-deep: #071019;
  --nx-slip-top: #102331;
  --nx-slip-card: #172632;
  --nx-slip-card-2: #1d2b37;
  --nx-slip-card-3: #253442;

  --nx-slip-text: #ffffff;
  --nx-slip-muted: #b9c7d6;
  --nx-slip-soft: #d8e2ee;
  --nx-slip-faint: rgba(255, 255, 255, .48);

  --nx-slip-line: rgba(255, 255, 255, .10);
  --nx-slip-line-soft: rgba(255, 255, 255, .07);

  --nx-slip-green: #18c75a;
  --nx-slip-green-light: #23df6d;
  --nx-slip-green-dark: #0da84a;
  --nx-slip-yellow: #ffd400;
  --nx-slip-red: #ff4d55;
  --nx-slip-black: #071019;

  --nx-slip-shadow: 0 -22px 60px rgba(0, 0, 0, .42);
  --nx-slip-safe-bottom: env(safe-area-inset-bottom, 0px);

  --nx-bottom-nav-height: 84px;
  --nx-slip-font: Arial, Helvetica, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#sporty-betslip,
#betslip-panel,
#bookingCodeModal,
#betSuccessModal {
  font-family: var(--nx-slip-font);
}

/* =========================================================
   SMALL FLOATING BETSLIP BUTTON
========================================================= */

#sporty-betslip {
  position: fixed;
  right: 10px;
  bottom: calc(92px + var(--nx-slip-safe-bottom));
  z-index: 9998;
  width: 66px;
  height: 52px;
  border-radius: 19px;
  background:
    radial-gradient(circle at 20% 0%, rgba(35, 223, 109, .22), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .018)),
    var(--nx-slip-card);
  border: 1px solid rgba(24, 199, 90, .38);
  color: #fff;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, box-shadow .14s ease;
}

#sporty-betslip:active {
  transform: scale(.96);
}

.nx-slip-fab-inner {
  width: 100%;
  height: 100%;
  padding: 7px 8px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.nx-slip-fab-icon {
  width: 22px;
  height: 22px;
  color: var(--nx-slip-green-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nx-slip-fab-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nx-slip-fab-main {
  min-width: 0;
  height: 30px;
  border-radius: 12px;
  background: var(--nx-slip-yellow);
  color: var(--nx-slip-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  line-height: 1;
}

#sporty-betslip-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: transparent;
  color: var(--nx-slip-black);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

#sporty-betslip-label {
  color: var(--nx-slip-black);
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
}

#sporty-betslip.has-slip #sporty-betslip-count {
  display: flex;
}

#sporty-betslip.has-slip #sporty-betslip-label {
  display: none;
}

#sporty-betslip.is-empty #sporty-betslip-count {
  display: none;
}

#sporty-betslip.is-empty #sporty-betslip-label {
  display: block;
}

/* =========================================================
   OVERLAY / MAIN PANEL
========================================================= */

#betslip-overlay,
.nx-booking-overlay,
.nx-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: none;
  background: rgba(7, 16, 25, .70);
  opacity: 0;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: opacity .18s ease;
}

#betslip-overlay.show,
.nx-booking-overlay.show,
.nx-success-overlay.show {
  display: block;
  opacity: 1;
}

#betslip-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--nx-bottom-nav-height);
  z-index: 9999;
  width: 100vw;
  height: calc(100dvh - var(--nx-bottom-nav-height));
  max-height: calc(100dvh - var(--nx-bottom-nav-height));
  color: var(--nx-slip-text);
  background:
    radial-gradient(circle at 14% 0%, rgba(35, 223, 109, .12), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(255, 212, 0, .065), transparent 30%),
    linear-gradient(180deg, #102331 0%, #0d1b26 100%);
  box-shadow: var(--nx-slip-shadow);
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  transform: translateY(calc(100% + var(--nx-bottom-nav-height) + 24px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .24s ease, opacity .18s ease, visibility .18s ease;
}

#betslip-panel.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#betslip-panel *,
#betslip-panel *::before,
#betslip-panel *::after,
#bookingCodeModal *,
#bookingCodeModal *::before,
#bookingCodeModal *::after,
#betSuccessModal *,
#betSuccessModal *::before,
#betSuccessModal *::after {
  box-sizing: border-box;
}

.nx-slip-panel-shell {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* =========================================================
   TOP BAR
========================================================= */

.nx-slip-topbar {
  flex: 0 0 auto;
  min-height: 64px;
  padding: 11px 12px 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    var(--nx-slip-top);
  border-bottom: 1px solid rgba(255, 255, 255, .075);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.nx-slip-top-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nx-slip-title {
  min-width: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.045em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nx-slip-count-pill {
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: 13px;
  background: var(--nx-slip-yellow);
  color: var(--nx-slip-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.nx-slip-top-right {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.nx-slip-wallet {
  max-width: 150px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(24, 199, 90, .12);
  border: 1px solid rgba(24, 199, 90, .28);
  color: var(--nx-slip-green-light);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nx-slip-auth-links {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 212, 0, .10);
  border: 1px solid rgba(255, 212, 0, .22);
  color: var(--nx-slip-yellow);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
}

.nx-slip-auth-links a {
  color: var(--nx-slip-yellow);
  text-decoration: none;
}

.nx-slip-collapse {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  color: var(--nx-slip-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nx-slip-collapse svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* =========================================================
   TOOL ROW / TABS
========================================================= */

.nx-slip-control-row {
  flex: 0 0 auto;
  padding: 9px 12px;
  background: rgba(13, 27, 38, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.nx-slip-tabs {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.nx-slip-tabs--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nx-slip-tab-btn {
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)),
    var(--nx-slip-card);
  color: var(--nx-slip-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nx-slip-tab-btn.active {
  background: var(--nx-slip-yellow);
  border-color: var(--nx-slip-yellow);
  color: var(--nx-slip-black);
}

.nx-slip-control-btn {
  min-height: 38px;
  border: 1px solid rgba(255, 77, 85, .24);
  border-radius: 14px;
  background: rgba(255, 77, 85, .08);
  color: #ff8b91;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nx-slip-control-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex: 0 0 auto;
}

/* =========================================================
   CONTENT AREA
========================================================= */

.nx-slip-content {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.nx-slip-body,
.nx-slip-empty-view {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: transparent;
  padding: 10px 12px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .32) transparent;
}

.nx-slip-body::-webkit-scrollbar,
.nx-slip-empty-view::-webkit-scrollbar {
  width: 4px;
}

.nx-slip-body::-webkit-scrollbar-thumb,
.nx-slip-empty-view::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .32);
  border-radius: 999px;
}

/* =========================================================
   SELECTED BET ITEMS
========================================================= */

.nx-slip-item {
  margin: 0 0 9px;
  padding: 11px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(35, 223, 109, .10), transparent 36%),
    linear-gradient(180deg, #253442 0%, #172632 100%);
  border: 1px solid var(--nx-slip-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.nx-slip-item-top {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.nx-slip-remove {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 77, 85, .24);
  border-radius: 11px;
  background: rgba(255, 77, 85, .08);
  color: #ff8b91;
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.nx-slip-item-main {
  min-width: 0;
  flex: 1;
}

.nx-slip-item-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
}

.nx-slip-market-name {
  min-width: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nx-slip-ball,
.nx-slip-2up {
  display: none !important;
}

.nx-slip-item-odd {
  min-width: 52px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 212, 0, .12);
  border: 1px solid rgba(255, 212, 0, .22);
  color: var(--nx-slip-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  text-align: center;
}

.nx-slip-match-name {
  margin-top: 5px;
  color: var(--nx-slip-soft);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nx-slip-item-meta {
  margin-top: 7px;
  color: var(--nx-slip-muted);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 850;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nx-slip-checkbox {
  width: 15px;
  height: 15px;
  border: 2px solid var(--nx-slip-green-light);
  border-radius: 5px;
  display: inline-block;
  flex: 0 0 auto;
}

.nx-slip-help {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .10);
  color: var(--nx-slip-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  font-size: 10px;
  font-weight: 950;
}

.nx-slip-live-badge {
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 77, 85, .14);
  border: 1px solid rgba(255, 77, 85, .28);
  color: #ff8b91;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
}

.nx-slip-single-wrap {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

.nx-slip-single-input {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  background: rgba(7, 16, 25, .34);
  color: #fff;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 950;
  text-align: right;
  outline: none;
}

.nx-slip-single-input:focus {
  border-color: rgba(24, 199, 90, .44);
  box-shadow: 0 0 0 4px rgba(24, 199, 90, .08);
}

.nx-slip-single-input::placeholder {
  color: rgba(255, 255, 255, .40);
}

.nx-slip-single-win {
  min-width: 96px;
  text-align: right;
}

.nx-slip-single-win span {
  display: block;
  color: var(--nx-slip-muted);
  font-size: 10px;
  font-weight: 850;
}

.nx-slip-single-win strong {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

/* =========================================================
   EMPTY / LOAD CODE VIEW
========================================================= */

.nx-slip-empty-content {
  padding-top: 2px;
}

.nx-slip-empty-title {
  color: #fff;
  font-size: 17px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.04em;
  margin: 0 0 11px;
}

.nx-slip-load-card {
  border-radius: 19px;
  padding: 11px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 212, 0, .08), transparent 36%),
    linear-gradient(180deg, #253442 0%, #172632 100%);
  border: 1px solid var(--nx-slip-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.nx-slip-load-wrap {
  min-height: 52px;
  border-radius: 15px;
  background: rgba(7, 16, 25, .32);
  border: 1px solid rgba(255, 255, 255, .075);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 6px;
}

#bookingCodeInput {
  width: 100%;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  padding: 0 9px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

#bookingCodeInput::placeholder {
  color: rgba(255, 255, 255, .45);
  opacity: 1;
  text-transform: none;
}

.nx-slip-load-btn {
  height: 40px;
  min-width: 86px;
  border: 0;
  border-radius: 13px;
  background: var(--nx-slip-yellow);
  color: var(--nx-slip-black);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nx-slip-load-btn:active {
  transform: scale(.98);
}

.nx-slip-load-note {
  margin-top: 9px;
  color: var(--nx-slip-muted);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 750;
}

/* Hide old unused sections if old HTML appears */
.nx-slip-brand-divider,
.nx-slip-multimaker,
.nx-slip-people,
.nx-slip-empty-tabs,
.nx-slip-recommended-head,
.nx-slip-recommended-card,
.nx-slip-rec-pager,
.nx-success-brand,
.nx-success-personal,
.nx-success-you-might,
.nx-success-promo {
  display: none !important;
}

/* =========================================================
   FOOTER
========================================================= */

.nx-slip-footer {
  flex: 0 0 auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)),
    var(--nx-slip-top);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 9px 12px calc(10px + var(--nx-slip-safe-bottom));
}

.nx-slip-boost {
  min-height: 32px;
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(24, 199, 90, .10);
  border: 1px solid rgba(24, 199, 90, .22);
  color: var(--nx-slip-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 850;
}

.nx-slip-boost span {
  display: none;
}

.nx-slip-boost strong {
  font-weight: 850;
}

.nx-slip-stake-row {
  min-height: 50px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(145px, 42%);
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.nx-slip-stake-label {
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
}

.nx-slip-stake-box {
  height: 44px;
  border-radius: 15px;
  background: rgba(7, 16, 25, .32);
  border: 1px solid rgba(255, 255, 255, .10);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 0 9px;
}

.nx-slip-stake-currency {
  color: var(--nx-slip-muted);
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

#stakeInput {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  font-size: 14px;
  font-weight: 950;
  text-align: right;
  outline: none;
}

#stakeInput::placeholder {
  color: rgba(255, 255, 255, .38);
}

.nx-slip-single-note {
  margin: 0 0 7px;
  padding: 8px 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .075);
  color: var(--nx-slip-muted);
  font-size: 11px;
  font-weight: 850;
}

.nx-slip-summary-list {
  padding: 0;
  display: grid;
  gap: 5px;
}

.nx-slip-summary-line {
  min-height: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.nx-slip-summary-line span {
  color: var(--nx-slip-muted);
  font-size: 12px;
  font-weight: 850;
}

.nx-slip-summary-line strong {
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.nx-slip-potential {
  min-height: 42px;
  margin: 2px 0 4px;
  padding: 0 11px;
  border-radius: 15px;
  background: rgba(255, 212, 0, .10);
  border: 1px solid rgba(255, 212, 0, .20);
}

.nx-slip-potential span {
  color: var(--nx-slip-yellow);
  font-weight: 950;
}

.nx-slip-potential strong {
  color: var(--nx-slip-yellow);
  font-size: 16px;
}

.nx-slip-total-stake-hidden {
  display: none;
}

.nx-slip-action-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: .85fr 1.4fr;
  gap: 8px;
}

.nx-slip-action-btn {
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 950;
  -webkit-tap-highlight-color: transparent;
}

.nx-slip-action-btn--ghost {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .10);
  color: #fff;
}

.nx-slip-action-btn--primary {
  background: var(--nx-slip-yellow);
  color: var(--nx-slip-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.nx-slip-action-btn--primary span {
  display: block;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
}

.nx-slip-action-btn--primary small {
  display: block;
  max-width: 100%;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nx-slip-action-btn:disabled {
  opacity: .62;
  cursor: not-allowed;
}

/* =========================================================
   BOOKING CODE MODAL
========================================================= */

.nx-booking-overlay,
.nx-success-overlay {
  z-index: 10000;
}

.nx-booking-modal,
.nx-success-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--nx-bottom-nav-height);
  z-index: 10001;
  width: 100vw;
  max-height: calc(100dvh - var(--nx-bottom-nav-height));
  color: #fff;
  background:
    radial-gradient(circle at 14% 0%, rgba(35, 223, 109, .12), transparent 34%),
    linear-gradient(180deg, #102331 0%, #0d1b26 100%);
  border-radius: 24px 24px 0 0;
  box-shadow: var(--nx-slip-shadow);
  overflow: hidden;
  transform: translateY(calc(100% + var(--nx-bottom-nav-height) + 24px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .24s ease, opacity .18s ease, visibility .18s ease;
}

.nx-booking-modal.open,
.nx-success-modal.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nx-booking-sheet,
.nx-success-sheet {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 17px 12px calc(13px + var(--nx-slip-safe-bottom));
  background: transparent;
}

.nx-booking-title {
  color: #fff;
  text-align: left;
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.045em;
  margin: 0 0 13px;
}

.nx-booking-code-row {
  min-height: 56px;
  padding: 0 11px;
  border-radius: 18px;
  background: var(--nx-slip-card);
  border: 1px solid var(--nx-slip-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
}

#bookingPopupCode {
  min-width: 0;
  color: var(--nx-slip-yellow);
  font-size: 21px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .08em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nx-booking-copy {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: var(--nx-slip-yellow);
  color: var(--nx-slip-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nx-booking-copy svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.nx-booking-meta {
  color: var(--nx-slip-muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
  margin: 0 0 11px;
}

.nx-booking-mini-card {
  border-radius: 19px;
  padding: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)),
    var(--nx-slip-card);
  border: 1px solid var(--nx-slip-line);
}

.nx-booking-mini-head {
  display: none;
}

.nx-booking-mini-body {
  display: grid;
  gap: 6px;
}

.nx-booking-mini-body span {
  color: var(--nx-slip-muted);
  font-size: 11px;
  font-weight: 850;
}

.nx-booking-mini-body strong {
  color: #fff;
  font-size: 17px;
  font-weight: 950;
}

.nx-booking-mini-body small {
  color: var(--nx-slip-muted);
  font-size: 11px;
  font-weight: 750;
}

/* =========================================================
   SUCCESS MODAL
========================================================= */

.nx-success-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  margin-bottom: 12px;
}

.nx-success-title-wrap {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.nx-success-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: var(--nx-slip-green);
  color: var(--nx-slip-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 950;
  flex: 0 0 auto;
}

.nx-success-title-wrap strong {
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.045em;
}

.nx-success-refresh {
  display: none;
}

.nx-success-message {
  padding: 12px;
  border-radius: 16px;
  background: rgba(24, 199, 90, .10);
  border: 1px solid rgba(24, 199, 90, .22);
  color: var(--nx-slip-green-light);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 850;
  margin-bottom: 10px;
}

.nx-success-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.nx-success-lines > div {
  min-height: 48px;
  padding: 0 12px;
  border-radius: 16px;
  background: var(--nx-slip-card);
  border: 1px solid var(--nx-slip-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.nx-success-lines span {
  color: var(--nx-slip-muted);
  font-size: 11px;
  font-weight: 850;
}

.nx-success-lines span small {
  display: none;
}

.nx-success-lines strong {
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.nx-success-code {
  color: var(--nx-slip-yellow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nx-success-code svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.nx-success-open-bets {
  min-height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .10);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 9px;
}

.nx-success-open-bets span {
  color: var(--nx-slip-muted);
  font-size: 20px;
}

.nx-success-actions {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 8px;
}

.nx-success-action {
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}

.nx-success-action--ghost {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .10);
  color: #fff;
}

.nx-success-action--primary {
  background: var(--nx-slip-yellow);
  color: var(--nx-slip-black);
}

/* =========================================================
   SELECTED ODDS OUTSIDE BETSLIP
========================================================= */

.odd-box {
  transition: background-color .15s ease, color .15s ease, transform .1s ease, box-shadow .15s ease;
}

.odd-box:active {
  transform: scale(.97);
}

.live-section .odd-box.selected,
.live-section.upcoming .odd-box.selected,
.odd-box.selected,
.odd-box.is-selected,
.odd-box.active,
.odd-box.in-slip {
  background: var(--nx-slip-yellow) !important;
  color: var(--nx-slip-black) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .18),
    0 8px 18px rgba(0, 0, 0, .18) !important;
}

.odd-box.selected span,
.odd-box.is-selected span,
.odd-box.active span,
.odd-box.in-slip span {
  color: var(--nx-slip-black) !important;
  font-weight: 950 !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 370px) {
  :root {
    --nx-bottom-nav-height: 80px;
  }

  #sporty-betslip {
    right: 7px;
    bottom: calc(88px + var(--nx-slip-safe-bottom));
    width: 60px;
    height: 48px;
    border-radius: 17px;
  }

  .nx-slip-fab-inner {
    padding: 6px;
    grid-template-columns: 19px minmax(0, 1fr);
    gap: 5px;
  }

  .nx-slip-fab-icon,
  .nx-slip-fab-icon svg {
    width: 18px;
    height: 18px;
  }

  .nx-slip-fab-main {
    height: 28px;
    border-radius: 11px;
  }

  #sporty-betslip-label {
    font-size: 9px;
  }

  .nx-slip-topbar,
  .nx-slip-control-row,
  .nx-slip-body,
  .nx-slip-empty-view,
  .nx-slip-footer,
  .nx-booking-sheet,
  .nx-success-sheet {
    padding-left: 10px;
    padding-right: 10px;
  }

  .nx-slip-wallet {
    max-width: 118px;
    font-size: 11px;
  }

  .nx-slip-title {
    font-size: 16px;
  }

  .nx-slip-stake-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .nx-slip-action-row,
  .nx-success-actions {
    grid-template-columns: 1fr;
  }

  .nx-slip-action-btn,
  .nx-success-action {
    min-height: 46px;
  }
}

@media (min-width: 768px) {
  #sporty-betslip {
    right: 22px;
    bottom: 24px;
    width: 70px;
    height: 56px;
    border-radius: 20px;
  }

  #betslip-panel {
    left: auto;
    right: 22px;
    bottom: 22px;
    width: min(440px, calc(100vw - 44px));
    height: min(760px, calc(100dvh - 44px));
    max-height: calc(100dvh - 44px);
    border-radius: 24px;
    transform: translateY(calc(100% + 46px));
  }

  #betslip-panel.open {
    transform: translateY(0);
  }

  .nx-slip-panel-shell {
    border-radius: 24px;
    overflow: hidden;
  }

  .nx-slip-topbar {
    min-height: 68px;
    padding: 13px 14px 10px;
  }

  .nx-slip-control-row {
    padding: 10px 14px;
  }

  .nx-slip-body,
  .nx-slip-empty-view {
    padding: 12px 14px 14px;
  }

  .nx-slip-footer {
    padding: 10px 14px 14px;
  }

  .nx-slip-market-name {
    font-size: 14px;
  }

  .nx-slip-match-name {
    font-size: 13px;
  }

  .nx-slip-action-btn {
    min-height: 54px;
  }

  .nx-booking-modal,
  .nx-success-modal {
    left: auto;
    right: 22px;
    bottom: 22px;
    width: min(420px, calc(100vw - 44px));
    max-height: calc(100dvh - 44px);
    border-radius: 24px;
    transform: translateY(calc(100% + 46px));
  }

  .nx-booking-modal.open,
  .nx-success-modal.open {
    transform: translateY(0);
  }

  .nx-booking-sheet,
  .nx-success-sheet {
    max-width: none;
    padding: 18px 14px 14px;
  }
}

@media (min-width: 1200px) {
  #betslip-panel {
    right: 28px;
    bottom: 28px;
    width: 460px;
    height: min(780px, calc(100dvh - 56px));
    max-height: calc(100dvh - 56px);
  }

  #sporty-betslip {
    right: 28px;
    bottom: 28px;
  }

  .nx-booking-modal,
  .nx-success-modal {
    right: 28px;
    bottom: 28px;
    width: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #sporty-betslip,
  #betslip-panel,
  #betslip-overlay,
  .nx-booking-overlay,
  .nx-success-overlay,
  .nx-booking-modal,
  .nx-success-modal {
    transition: none;
  }
}
/* =========================================================
   FIX DESKTOP BETSLIP BUTTON VISIBILITY
   Put this at the VERY BOTTOM of betslip.css
========================================================= */

@media (min-width: 768px) {
  #sporty-betslip {
    position: fixed !important;
    right: 24px !important;
    bottom: calc(var(--nx-bottom-nav-height, 84px) + 18px) !important;
    z-index: 1000002 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  #betslip-panel.open ~ #sporty-betslip,
  #sporty-betslip.is-hidden {
    display: flex !important;
  }
}

@media (min-width: 1200px) {
  #sporty-betslip {
    right: 28px !important;
    bottom: calc(var(--nx-bottom-nav-height, 84px) + 22px) !important;
  }
}
#sporty-betslip.is-empty #sporty-betslip-label {
  display: none !important;
}

#sporty-betslip.is-empty .nx-slip-fab-main {
  display: none !important;
}

#sporty-betslip.is-empty .nx-slip-fab-inner {
  grid-template-columns: 1fr !important;
  place-items: center !important;
}

#sporty-betslip.is-empty .nx-slip-fab-icon {
  width: 28px !important;
  height: 28px !important;
}

#sporty-betslip.is-empty .nx-slip-fab-icon svg {
  width: 25px !important;
  height: 25px !important;
}
/* =========================================================
   FIX DESKTOP BETSLIP FOOTER ABOVE BOTTOM NAV
========================================================= */

@media (min-width: 768px) {
  #betslip-panel {
    right: 22px !important;
    bottom: calc(var(--nx-bottom-nav-height, 84px) + 18px) !important;
    height: min(720px, calc(100dvh - var(--nx-bottom-nav-height, 84px) - 38px)) !important;
    max-height: calc(100dvh - var(--nx-bottom-nav-height, 84px) - 38px) !important;
    z-index: 1000001 !important;
  }

  #betslip-panel.open {
    transform: translateY(0) !important;
  }

  .nx-slip-footer {
    padding-bottom: 16px !important;
  }

  .nx-booking-modal,
  .nx-success-modal {
    right: 22px !important;
    bottom: calc(var(--nx-bottom-nav-height, 84px) + 18px) !important;
    max-height: calc(100dvh - var(--nx-bottom-nav-height, 84px) - 38px) !important;
    z-index: 1000003 !important;
  }

  .nx-booking-modal.open,
  .nx-success-modal.open {
    transform: translateY(0) !important;
  }
}

@media (min-width: 1200px) {
  #betslip-panel {
    right: 28px !important;
    bottom: calc(var(--nx-bottom-nav-height, 84px) + 22px) !important;
    height: min(740px, calc(100dvh - var(--nx-bottom-nav-height, 84px) - 46px)) !important;
    max-height: calc(100dvh - var(--nx-bottom-nav-height, 84px) - 46px) !important;
  }

  .nx-booking-modal,
  .nx-success-modal {
    right: 28px !important;
    bottom: calc(var(--nx-bottom-nav-height, 84px) + 22px) !important;
    max-height: calc(100dvh - var(--nx-bottom-nav-height, 84px) - 46px) !important;
  }
}