/* 888 LOTTO Player v3.10.93 — payout card proportions + withdrawal card carousel */

/* Saved payout destinations keep a real debit-card proportion on wide screens. */
.payout-saved-group .saved-methods {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 360px)) !important;
  align-items: start;
  justify-content: start;
}
.payout-digital-card {
  width: min(100%, 360px);
  aspect-ratio: 1.586 / 1;
  min-height: 0 !important;
  justify-self: start;
  display: flex;
  flex-direction: column;
}
.payout-digital-card-provider { margin-top: 18px !important; }
.payout-digital-card-footer { margin-top: auto !important; padding-top: 15px; }

/* Withdrawal method chooser: e-wallet and bank remain separate. */
.withdrawal-method-options {
  display: block !important;
  margin-top: 9px;
}
.withdrawal-method-picker {
  display: grid;
  gap: 12px;
}
.withdrawal-method-category-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(244,211,111,.17);
  border-radius: 14px;
  background: rgba(16,2,5,.48);
}
.withdrawal-method-category-tab {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(255,240,178,.66);
  background: transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.withdrawal-method-category-tab small {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  color: rgba(255,240,178,.7);
  background: rgba(255,255,255,.06);
  font-size: 10px;
}
.withdrawal-method-category-tab.active {
  color: #fff9df;
  border-color: rgba(244,211,111,.52);
  background: linear-gradient(180deg, rgba(170,20,43,.95), rgba(93,9,19,.98));
  box-shadow: 0 8px 20px rgba(46,1,9,.24);
}
.withdrawal-method-category-tab.active small {
  color: #2a1702;
  background: #f4d36f;
}
.withdrawal-method-category-tab:disabled {
  opacity: .38;
  cursor: not-allowed;
}
.withdrawal-method-carousel-shell {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 13px;
  border: 1px solid rgba(244,211,111,.13);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(71,6,15,.27), rgba(10,1,3,.42));
}
.withdrawal-method-card-stage {
  width: 100%;
  display: grid;
  place-items: center;
  min-height: 190px;
}
.withdrawal-digital-card {
  appearance: none;
  width: min(100%, 360px) !important;
  aspect-ratio: 1.586 / 1;
  min-height: 0 !important;
  padding: 18px !important;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transform: none !important;
  transition: border-color .16s ease, box-shadow .16s ease, filter .16s ease;
}
.withdrawal-digital-card:hover {
  filter: brightness(1.04);
}
.withdrawal-digital-card.active {
  border-color: rgba(255,236,166,.82) !important;
  box-shadow: 0 0 0 2px rgba(242,207,98,.16), 0 20px 44px rgba(0,0,0,.35) !important;
}
.withdrawal-digital-card .payout-digital-card-header,
.withdrawal-digital-card .payout-digital-card-footer {
  width: 100%;
}
.withdrawal-digital-card-selected {
  margin-left: auto;
  padding: 6px 9px;
  border: 1px solid rgba(255,240,178,.28);
  border-radius: 999px;
  color: #fff0b2;
  background: rgba(20,1,4,.24);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.withdrawal-digital-card.active .withdrawal-digital-card-selected {
  color: #251501;
  border-color: #f4d36f;
  background: #f4d36f;
}
.withdrawal-method-carousel-nav {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}
.withdrawal-method-nav-button {
  width: 44px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244,211,111,.28);
  border-radius: 11px;
  color: #fff0b2;
  background: linear-gradient(180deg, rgba(119,13,25,.78), rgba(59,5,12,.94));
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.withdrawal-method-nav-button:hover:not(:disabled) {
  border-color: rgba(244,211,111,.62);
  background: linear-gradient(180deg, rgba(169,20,42,.9), rgba(91,8,18,.98));
}
.withdrawal-method-nav-button:disabled {
  opacity: .25;
  cursor: default;
}
.withdrawal-method-carousel-count {
  color: rgba(255,240,178,.62);
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.withdrawal-method-carousel-nav.single .withdrawal-method-nav-button { visibility: hidden; }

@media (max-width: 820px) {
  .payout-saved-group .saved-methods {
    grid-template-columns: 1fr !important;
  }
  .payout-digital-card,
  .withdrawal-digital-card {
    width: 100% !important;
    max-width: 380px;
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .withdrawal-method-carousel-shell { padding: 10px; }
  .withdrawal-digital-card { padding: 16px !important; }
  .withdrawal-digital-card .payout-digital-card-provider { margin-top: 14px !important; }
  .withdrawal-method-card-stage { min-height: 0; }
}

/* v3.10.94 — force the withdrawal selector to use the same debit-card visual language
   as the saved payout destinations, including on desktop. */
#withdrawalMethodOptions .withdrawal-method-carousel-shell {
  width: min(100%, 430px);
  justify-self: start;
}
#withdrawalMethodOptions .withdrawal-method-card-stage {
  min-height: 230px;
}
#withdrawalMethodOptions .withdrawal-digital-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: min(100%, 390px) !important;
  aspect-ratio: 1.586 / 1 !important;
  border: 1px solid rgba(255,236,166,.44) !important;
  border-radius: 25px !important;
  padding: 20px 22px !important;
  color: #fff8df !important;
  background:
    radial-gradient(circle at 88% 82%, rgba(255,231,145,.22), transparent 28%),
    linear-gradient(145deg, var(--card-a, #8f1428), var(--card-b, #27040b) 72%) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.10) !important;
}
#withdrawalMethodOptions .withdrawal-digital-card::after {
  content: "";
  position: absolute;
  inset: auto -18% -38% 38%;
  height: 75%;
  border-radius: 50%;
  background: rgba(255,245,200,.10);
  transform: rotate(-13deg);
  z-index: -1;
}
#withdrawalMethodOptions .withdrawal-digital-card .payout-digital-card-watermark {
  position: absolute;
  right: -4px;
  bottom: -36px;
  font-size: clamp(84px, 8vw, 132px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.09em;
  color: rgba(255,245,200,.14);
  pointer-events: none;
}
#withdrawalMethodOptions .withdrawal-digital-card .payout-digital-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
#withdrawalMethodOptions .withdrawal-digital-card .payout-digital-card-logo {
  width: 58px !important;
  height: 58px !important;
  flex: 0 0 58px;
  border-radius: 15px !important;
}
#withdrawalMethodOptions .withdrawal-digital-card .payout-digital-card-type {
  padding: 8px 13px;
  border: 1px solid rgba(255,240,178,.34);
  border-radius: 999px;
  background: rgba(11,1,3,.18);
  color: #fff4c7;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#withdrawalMethodOptions .withdrawal-digital-card .payout-digital-card-provider {
  margin-top: 20px !important;
  color: #fff8df;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
#withdrawalMethodOptions .withdrawal-digital-card .payout-digital-card-number {
  margin-top: 8px;
  color: #fff8df;
  font-size: clamp(22px, 2.15vw, 30px);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: .12em;
  text-shadow: 0 2px 14px rgba(0,0,0,.24);
  position: relative;
  z-index: 1;
}
#withdrawalMethodOptions .withdrawal-digital-card .payout-digital-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto !important;
  padding-top: 18px;
  position: relative;
  z-index: 1;
}
#withdrawalMethodOptions .withdrawal-digital-card .payout-digital-card-footer small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,240,178,.62);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
}
#withdrawalMethodOptions .withdrawal-digital-card .payout-digital-card-footer strong {
  display: block;
  max-width: 230px;
  overflow: hidden;
  color: #fff8df;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#withdrawalMethodOptions .withdrawal-digital-card .payout-digital-card-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff4c7;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
#withdrawalMethodOptions .withdrawal-digital-card .payout-digital-card-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4be39b;
  box-shadow: 0 0 0 5px rgba(75,227,155,.13);
}
@media (max-width: 820px) {
  #withdrawalMethodOptions .withdrawal-method-carousel-shell { width: 100%; }
  #withdrawalMethodOptions .withdrawal-method-card-stage { min-height: 0; }
  #withdrawalMethodOptions .withdrawal-digital-card { width: min(100%, 390px) !important; }
}
