/* Static equivalents for Vue/Vuetify layout behavior. */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  width: 100%;
  margin-top: 0;
  background: #171717;
  backdrop-filter: blur(14px);
}

.shell:has(> .app-header) .page-body .profile-page {
  margin-top: 80px;
}

.header-top {
  height: 64px;
  min-height: 64px;
}

.nextbet-cashier-loading {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(4px);
}

.nextbet-cashier-loading.is-active {
  display: flex;
}

.nextbet-cashier-loading .nextbet-cashier-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 212, 0, 0.18);
  border-top-color: #ffd400;
  border-radius: 50%;
  animation: nextbet-login-spin 0.7s linear infinite;
}

.nextbet-cashier-loading .loadText {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

#loginOverlay .popup.is-loading .close-btn,
#loginOverlay .popup.is-loading form {
  pointer-events: none;
}

#nextbetLoginSubmit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

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

.shell:has(> .app-header) #games-menu.slots_menu_wrapper {
  padding-top: 120px !important;
  padding-bottom: 30px !important;
}

@media (max-width: 768px) {
  .shell:has(> .app-header) #games-menu.slots_menu_wrapper {
    padding-top: 70px !important;
    padding-bottom: 10px !important;
  }
}

.focus-shell.page-body {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: 0;
  padding-left: 0;
}

body > .shell .focus-shell[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.focus-shell .sub-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 5px 16px 48px;
}

.focus-shell .sub-page .page-heading {
  margin: 0 0 18px;
}

.focus-shell .sub-page .page-heading h1 {
  margin-left: 0;
  text-align: left;
}

.focus-back-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #303030;
  color: #fff;
  font-size: 28px;
}

.focus-app-bar-title {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.focus-app-bar.is-scrolled .focus-app-bar-title {
  opacity: 1;
  transform: translateY(0);
}

.page-body:has(.support-static-page) {
  padding: 0 !important;
  max-width: 1180px;
  width: 100%;
  margin-inline: auto;
}

.support-static-page {
  margin-top: 70px;
}

.support-static-page.page-body {
  min-height: auto;
  padding: 0 14px;
  max-width: 1180px;
  width: 100%;
  margin-inline: auto;
}

.support-static-page > .section + .section {
  margin-top: 28px;
}

.support-static-page > .section:first-child {
  margin-top: 0;
}

.support-static-page > .section:last-child {
  margin-bottom: 0;
}

.support-static-page .section {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.support-static-page .section-title {
  display: block;
  margin: 0 0 13px;
  padding: 0;
}

.support-static-page .section-title h2 {
  margin: 0;
  padding: 0;
  font-size: 19px;
  color: #fff;
}

.support-static-page .support-grid {
  display: grid;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.support-static-page .menu-action {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 14px;
  width: 100%;
  min-height: 88px;
  margin: 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  background: #323232;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.support-static-page .action-icon {
  display: grid;
  width: 38px;
  height: 38px;
  min-width: 38px;
  max-width: 38px;
  place-items: center;
  justify-self: start;
  border-radius: 10px;
  background: #2d2d2d;
  flex-shrink: 0;
}

.support-static-page .action-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
  text-align: left;
}

.support-static-page .action-copy strong {
  font-size: 16px;
  font-weight: 950;
  line-height: 1.12;
}

.support-static-page .action-copy small {
  color: #d6d6d6;
  font-size: 11px;
  line-height: 1.18;
}

.support-static-page .lang-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.support-static-page .lang-action {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-items: start;
  gap: 16px;
  width: 100%;
  min-height: 82px;
  padding: 18px 20px;
  border: 0;
  border-radius: 24px;
  background: #323232;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.support-static-page .lang-action .action-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
}

.support-static-page .lang-action .action-icon img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.support-static-page .lang-label {
  justify-self: start;
  text-align: left;
  font-size: 18px;
  font-weight: 850;
}

.support-static-page .radio-indicator {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  justify-self: end;
  border: 2px solid #4c4c4c;
  border-radius: 50%;
}

.support-static-page .lang-action.active .radio-indicator {
  border-color: #ffd400;
}

.support-static-page .lang-action.active .radio-indicator::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd400;
}

.support-static-page .menu-action .action-icon img,
.support-static-page .action-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@media (min-width: 720px) {
  .support-static-page .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-static-page .menu-action:not(.compact) {
    grid-column: 1 / -1;
  }

  .support-static-page.page-body {
    padding-inline: 28px;
  }
}

@media (min-width: 960px) {
  .support-static-page.page-body {
    padding-inline: 32px;
  }
}

@media (max-width: 719px) {
  .support-static-page .menu-action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .support-static-page .lang-row {
    gap: 10px;
  }

  .support-static-page .lang-action {
    gap: 10px;
    min-height: 72px;
    padding: 14px;
    border-radius: 18px;
  }

  .support-static-page .lang-label {
    font-size: 15px;
  }

  .support-static-page .radio-indicator {
    width: 22px;
    height: 22px;
  }
}

.statement-page .page-heading,
.bonus-page .page-heading,
.transactions-page .page-heading,
.turnover-page .page-heading {
  align-items: center;
}

.bonus-page .quick-icon img {
  width: 25px;
  height: 25px;
}

.bonus-page .quick-card {
  height: 94px;
}

@media (min-width: 960px) {
  .bonus-page {
    transform: translateY(-14px);
  }

  .bonus-page .page-heading {
    margin-bottom: -26px;
  }

  .bonus-page .quick-grid {
    margin-bottom: -32px;
  }
}

.statement-page .statement-values,
.statement-page .total-card {
  width: 100%;
}

.statement-page .statement-values > span,
.statement-page .total-card > span {
  min-width: 0;
}

.statement-page .statement-values > span:last-child,
.statement-page .total-card > span:last-child {
  text-align: right;
}

.profile-page .profile-action.compact {
  grid-column: auto !important;
}

.profile-page .profile-hero h1 {
  text-align: left;
}

.profile-page .profile-hero > b {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: 28px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.profile-page .profile-hero > b .mdi {
  font-size: inherit;
  line-height: 1;
}

.deposit-page {
  width: min(100%, 760px);
  margin: 0 auto;
  padding-right: 16px;
  padding-left: 16px;
}

.bank-option-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

.bank-option-page .bank-info {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.bank-option-page .info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.bank-option-page .info-row > span {
  display: inline;
  color: #fff;
  font-size: inherit;
  font-weight: inherit;
}

.bank-option-page .info-row .free {
  color: greenyellow;
  background: green;
  padding: 4px 10px;
  border-radius: 15px;
}

.bank-option-page .info-row .view {
  background: gray;
  color: #fff;
  padding: 4px 10px;
  border-radius: 15px;
}

.focus-shell.has-app-bar .sub-page,
.focus-shell.has-app-bar .bank-option-page {
  padding-top: 0;
}

.promotion-detail .detail-banner {
  width: 100%;
  object-fit: cover;
}

.promotion-apply-bar,
.promotion-detail .apply-wrap {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  background: #1e1e1e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.38);
}

.promotion-apply-bar .btn,
.promotion-apply-bar .btn.primary-action,
.promotion-detail .apply-wrap .btn,
.promotion-detail .apply-wrap .btn.primary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30%;
    margin: 0 auto;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: #ffd400;
  color: #000;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.promotion-apply-bar .btn:active,
.promotion-detail .apply-wrap .btn:active {
  transform: scale(0.985);
}

.deposit-page .header-actions {
  margin-left: auto;
}

.withdraw-modal-shell,
.deposit-modal-shell {
  position: fixed;
  z-index: 90;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #171717;
  animation: static-fade-in 0.2s ease;
}

/* Cashier deposit/withdraw page enter (same as support panel) */
.deposit-modal-shell > .focus-shell.cashier-page-enter,
.withdraw-modal-shell > .focus-shell.cashier-page-enter {
  animation: support-panel-fade-up 600ms cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

.deposit-modal-shell .focus-shell[data-aos],
.withdraw-modal-shell .focus-shell[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

#nextbet-deposit-method-popup,
#nextbet-withdraw-method-popup {
  animation: static-fade-in 0.2s ease;
}

#nextbet-deposit-method-popup .deposit-method-sheet,
#nextbet-withdraw-method-popup .deposit-method-sheet {
  animation: static-sheet-up 0.25s ease;
}

.deposit-method-sheet .sheet-content {
  gap: 18px;
  padding: 4px 10px calc(24px + env(safe-area-inset-bottom));
}

.deposit-method-sheet .sheet-content p {
  line-height: 1.05;
}

.deposit-method-sheet .deposit-method {
  gap: 0;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 18px;
}

.deposit-method-sheet .method-copy strong {
  font-weight: 900;
}

.modal-backdrop.withdraw-modal-shell {
  align-items: stretch;
  padding: 0;
  background: #171717 !important;
}

.deposit-page .deposit-flow {
  display: grid;
  gap: 19px;
  align-content: start;
  min-height: calc(100vh - 89px - env(safe-area-inset-bottom, 0px));
  padding-top: 18px;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

.deposit-page .btn-fixed {
  margin-top: auto;
}

.deposit-page .btn-fixed .primary-action,
.deposit-page .btn-fixed button.primary-action,
#depositModal .btn-fixed .primary-action,
#withdrawModal .btn-fixed .primary-action {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 9px;
  background: #ffd000;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  font-size: 17px;
  font-weight: 950;
}

.deposit-page .method-row h2,
.deposit-page .method-select span {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
}

.deposit-page .method-row h2 {
  display: flex;
  align-items: center;
  min-height: 40px;
  border-radius: 8px;
  color: #fff;
}

.deposit-page .profile-info-withdraw .title {
  color: #cfcfcf;
  font-size: 12px;
}

.deposit-page .profile-info-withdraw .value {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.deposit-page .profile-info-withdraw .copy-btn {
  margin-left: 4px;
}

.deposit-page .profile-info-withdraw .copy-btn a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
}

.deposit-page .setup-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.deposit-page .setup-input::placeholder {
  color: rgb(255 255 255 / 40%);
}

#nextbet-deposit-method-popup .deposit-method,
#nextbet-withdraw-method-popup .deposit-method {
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.deposit-page .upload-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #ffd000;
  border-radius: 7px;
  background: transparent;
  color: #ffd000;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.deposit-page .deposit-upload-preview {
  display: grid;
  gap: 8px;
}

.deposit-page .deposit-upload-preview [data-upload-thumb] {
  display: block;
  width: 100%;
  max-height: 160px;
  padding: 12px;
  object-fit: contain;
  border-radius: 8px;
  background: #343434;
  box-sizing: border-box;
}

.deposit-page .deposit-upload-preview .uploaded-file {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: #343434;
  color: #ddd;
  font-size: 12px;
}

.deposit-page .deposit-upload-preview .uploaded-file button {
  display: grid;
  border: 0;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  padding: 4px;
}

.deposit-page .deposit-upload-preview [data-upload-filename] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-empty {
  padding: 24px 16px;
  text-align: center;
  color: #bdbdbd;
  margin: 0;
}

.deposit-page .account-row strong {
  display: flex;
  align-items: center;
  gap: 6px;
}

.deposit-page.needs-bank-setup .amount-input-wrap input {
  font-size: 1rem;
}

.deposit-page.needs-bank-setup .amount-card {
  padding: 15px;
}

/* Bank account setup form */
#nextbet-bank-setup .method-row-solo,
.deposit-bank-setup .method-row-solo {
  display: block;
}

#nextbet-bank-setup .method-row-solo h2,
.deposit-bank-setup .method-row-solo h2 {
  margin: 0;
}

#nextbet-bank-setup .deposit-flow-hint,
.deposit-bank-setup .deposit-flow-hint {
  margin: 0;
  color: #bdbdbd;
  font-size: 14px;
  line-height: 1.45;
}

#nextbet-bank-setup .field-block,
.deposit-bank-setup .field-block {
  display: grid;
  gap: 10px;
}

#nextbet-bank-setup .field-block > label,
.deposit-bank-setup .field-block > label {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

#nextbet-bank-setup .setup-field-card,
.deposit-bank-setup .setup-field-card {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: #303030;
  box-sizing: border-box;
}

#nextbet-bank-setup .setup-field-card .setup-input,
.deposit-bank-setup .setup-field-card .setup-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

#nextbet-bank-setup .setup-field-card .setup-input::placeholder,
.deposit-bank-setup .setup-field-card .setup-input::placeholder {
  color: rgb(255 255 255 / 42%);
}

#nextbet-bank-setup button.setup-field-card[data-setup-bank-select],
.deposit-bank-setup button.setup-field-card[data-setup-bank-select] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
}

#nextbet-bank-setup .bank-badge,
.deposit-bank-setup .bank-badge {
  display: grid;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #0b73b9;
}

#nextbet-bank-setup .bank-badge img,
.deposit-bank-setup .bank-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#nextbet-bank-setup .bank-select-label,
.deposit-bank-setup .bank-select-label {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#nextbet-bank-setup .bank-select-label:empty::before,
.deposit-bank-setup .bank-select-label:empty::before {
  content: "Select Bank";
  color: rgb(255 255 255 / 42%);
  font-weight: 500;
}

#nextbet-bank-setup .bank-select-chevron,
.deposit-bank-setup .bank-select-chevron {
  flex-shrink: 0;
  color: rgb(255 255 255 / 55%);
  font-size: 22px;
  line-height: 1;
}

.deposit-page .deposit-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  margin-bottom: 4px;
}

.deposit-page .back-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #303030;
  color: #fff;
  cursor: pointer;
}

.deposit-page .user-wallet-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.deposit-page .user-wallet-actions .wallet-pill {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  border: 1px dashed #ffd400;
  border-radius: 8px;
  background: rgb(0 0 0 / 20%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.deposit-page .user-wallet-actions .wallet-pill span:first-child {
  color: #ffd400;
}

.deposit-page .user-wallet-actions .wallet-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #ffcd00;
  color: #1f1f1f;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.games-page {
  display: grid;
  gap: 18px;
  margin: 80px auto 0;
}

.games-page .games-heading h1,
.games-page .games-heading h2,
.games-page .games-heading h3 {
  margin: 0;
  color: #f7f7f7;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}

.games-page .section-spacer {
  margin-bottom: -10px;
}

.games-page > .category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 0 16px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
}

.games-page > .category-tabs::-webkit-scrollbar {
  display: none;
}

.games-page .games-grid {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.games-page .games-grid .gradient-border {
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0 !important;
}

.games-page .games-grid-swap {
  overflow: hidden;
  touch-action: pan-y;
  transition: height 0.22s ease;
}

.games-page .games-grid-track {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: transform 0.22s ease;
  will-change: transform;
}

.games-page .games-grid-track.is-dragging {
  transition: none;
}

.games-page .games-grid[aria-hidden="true"] {
  flex: 0 0 100%;
  max-height: 0;
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.games-page .games-heading,
.games-page > .category-tabs,
.games-page .games-grid-swap {
  margin-right: 16px;
  margin-left: 16px;
}

@media (min-width: 720px) {
  .games-page {
    gap: 22px;
  }

  .games-page .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .games-page .games-heading,
  .games-page > .category-tabs,
  .games-page .games-grid-swap {
    margin-right: 0;
    margin-left: 0;
  }
}

@media (min-width: 960px) {
  .games-page {
    gap: 24px;
  }

  .games-page .games-heading h1,
  .games-page .games-heading h2,
  .games-page .games-heading h3 {
    font-size: 30px;
  }

  .games-page .games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1025px) {
  .games-page .games-grid-swap {
    padding-inline: 16px !important;
  }
}

body.overlay-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.deposit-card {
  position: relative;
  display: none;
}

.deposit-card-trigger {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 5px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: #5d5d5d;
}

.deposit-card-trigger img,
.deposit-card-icon img {
  width: 26px;
  height: 26px;
}

.deposit-card-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
}

.responsive-overlay {
  padding: 0;
  animation: static-fade-in 0.2s ease;
}

.modal-backdrop.responsive-overlay:not(.dialog-overlay) {
  z-index: 110;
}

@media (max-width: 1024px) {
  .modal-backdrop.responsive-overlay:not(.dialog-overlay):not(.support-panel-overlay) {
    align-items: end;
    padding: 0;
  }
}

.responsive-overlay .modal {
  border: 0;
  box-shadow: none;
}

.promotion-sheet-overlay .promotion-sheet {
  width: min(100%, 620px);
  margin: 0 auto;
  animation: static-sheet-up 0.25s ease;
}

.promotion-sheet .sheet-action .primary-action {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: 8px;
  background: #ffd000;
  color: #111;
  font-weight: 900;
  text-decoration: none;
}

.deposit-method-sheet,
.bottom-sheet-card {
  width: min(100%, 560px);
  max-height: 90vh;
  margin: 0 auto;
  padding: 0;
  overflow-y: auto;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: #303030;
  color: #fff;
  box-shadow: 0 20px 70px rgb(0 0 0 / 55%);
  transition: transform 0.25s ease;
  animation: static-sheet-up 0.25s ease;
}

.deposit-method-sheet.is-dragging,
.bottom-sheet-card.is-dragging,
.games-grid-track.is-dragging {
  transition: none !important;
}

.sheet-handle-wrap {
  position: sticky;
  z-index: 4;
  top: 0;
  display: grid;
  padding: 18px 0 10px;
  place-items: center;
  background: #303030;
  cursor: grab;
  touch-action: none;
}

.sheet-handle {
  width: 68px;
  height: 5px;
  border-radius: 999px;
  background: rgb(255 255 255 / 80%);
}

.sheet-content {
  display: grid;
  gap: 15px;
  padding: 4px 16px calc(24px + env(safe-area-inset-bottom));
}

.sheet-content header {
  text-align: center;
}

.sheet-content h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.sheet-content p {
  margin: 4px 0 0;
  color: #bdbdbd;
  font-size: 15px;
  line-height: 1.2;
}

.deposit-method {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid #444;
  border-radius: 16px;
  background: #303030;
  color: #fff;
  cursor: pointer;
  width: 100%;
  text-align: left;
  text-decoration: none;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.method-copy {
  display: grid;
  gap: 8px;
  text-align: left;
}

.method-copy strong {
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
}
.method-copy small {
  max-width: 250px;
  color: #bdbdbd;
  font-size: 14px;
  line-height: 1.15;
}
.method-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 44px;
  flex-shrink: 0;
}
.method-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
}
.method-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.method-icons.khqr .method-icon {
  background: #ef0b2d;
}
.method-icons.bank .method-icon {
  margin-left: -10px;
  background: #303030;
}
.method-icons.bank .method-icon:first-child {
  margin-left: 0;
}

.dialog-overlay {
  align-items: center;
  padding: 16px;
}

.provider-dialog {
  width: min(100%, 460px);
  padding: 20px;
  border-radius: 16px;
  background: #303030;
  animation: static-dialog-in 0.2s ease;
}

.provider-dialog h2 {
  margin: 0 0 16px;
  font-size: 20px;
}
.provider-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid #454545;
  background: transparent;
  color: #fff;
  font: inherit;
  text-align: left;
}
.provider-option.active {
  color: #ffd400;
}
.provider-option .mdi {
  font-size: 22px;
}
.provider-option > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bank-option-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

#nextbet-bank-dialog-backdrop,
#nextbet-company-bank-dialog-backdrop,
#nextbet-qr-dialog-backdrop {
  z-index: 120;
}

#nextbet-qr-dialog-backdrop.khqr-pay-overlay {
  align-items: center;
  overflow: hidden;
  padding: max(12px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom));
  background: rgb(0 0 0 / 72%);
}

.khqr-pay-dialog {
  display: flex;
  flex-direction: column;
  width: min(100%, 374px);
  max-height: min(calc(100dvh - 24px), calc(100vh - 24px));
  margin: 0 auto;
  padding: 16px 18px 14px;
  border: 0;
  border-radius: 18px;
  background: #252525;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 20px 70px rgb(0 0 0 / 55%);
  animation: static-dialog-in 0.2s ease;
  box-sizing: border-box;
}

.khqr-pay-header {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.khqr-pay-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.khqr-pay-timer {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-right: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.khqr-pay-timer .mdi {
  font-size: 18px;
  line-height: 1;
}

.khqr-pay-close {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.khqr-pay-card {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: min(100%, 290px);
  min-height: 0;
  margin: 0 auto;
  padding: 12px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 5px 16px rgb(0 0 0 / 16%);
}

.khqr-pay-qr-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.khqr-pay-qr-wrap img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(320px, calc(100dvh - 220px), calc(100vh - 220px));
  object-fit: contain;
}

.khqr-pay-dialog .khqr-pay-note {
  flex-shrink: 0;
  margin: 18px 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.42;
  text-align: left;
}

.khqr-pay-save {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #ffd000;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.khqr-pay-save .mdi {
  font-size: 22px;
  line-height: 1;
}

.bank-dialog {
  display: grid;
  gap: 10px;
  width: min(100%, 460px);
  max-height: 80vh;
  overflow-y: auto;
  padding: 18px;
  border: 0;
  border-radius: 18px;
  background: #303030;
  color: #fff;
  animation: static-dialog-in 0.2s ease;
}

.bank-dialog h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.1;
}

.bank-dialog .bank-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #383838;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.bank-dialog .bank-option.active {
  border-color: #ffd000;
}

.bank-dialog .bank-option-icon {
  width: 34px;
  height: 34px;
}

.bank-dialog .bank-option-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bank-dialog .bank-radio {
  display: grid;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  place-items: center;
  border: 2px solid rgb(255 255 255 / 80%);
  border-radius: 50%;
  background: transparent;
}

.bank-dialog .bank-option.active .bank-radio {
  border-color: #ffd000;
  background: #ffd000;
}

.bank-dialog .bank-option.active .bank-radio::after {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
}

.view-qr {
  padding: 4px 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.deposit-page .account-row .deposit-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}
.deposit-page .account-row .deposit-copy-btn i {
  font-size: 14px;
  line-height: 1;
}
.proof-input {
  display: none;
}

.history-content {
  padding: 0 14px 24px;
}
.history-group {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.history-group h2 {
  margin: 0;
  color: #bdbdbd;
  font-size: 14px;
}
.history-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid #444;
  border-radius: 14px;
  background: #2f2f2f;
  color: #fff;
}
.history-left,
.history-left > span {
  display: flex;
}
.history-left {
  align-items: center;
  gap: 12px;
}
.history-left img {
  width: 26px;
  height: 26px;
}
.history-left > span {
  flex-direction: column;
  text-align: left;
}
.history-left small {
  color: #aaa;
  font-size: 12px;
}
.history-row em,
.history-detail em {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
}
.history-row em.pending,
.history-detail em.pending {
  background: rgba(255, 208, 0, 0.15);
  color: #ffd000;
}
.history-row em.successed,
.history-detail em.successed {
  background: rgba(0, 255, 100, 0.15);
  color: #20f31e;
}
.history-row em.reject,
.history-detail em.reject {
  background: rgba(255, 0, 0, 0.15);
  color: #ff4c4c;
}
.history-detail {
  padding: 0 14px 24px;
}
.history-back {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 30px;
}
.history-detail-card {
  display: grid;
  gap: 14px;
  padding: 18px 6px;
  border-radius: 16px;
  background: #2f2f2f;
}
.history-detail-amount {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
}
.history-detail-amount img {
  width: 30px;
  height: 30px;
}
.history-divider {
  height: 1px;
  margin: 6px 0;
  background: #444;
}
.history-detail dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0 12px;
}
.history-detail dt {
  color: #aaa;
  font-size: 12px;
}
.history-detail dd {
  margin: 0;
  color: #fff;
  font-size: 13px;
  text-align: right;
}

.money-dialog-overlay .qr-modal,
.money-dialog-overlay .success-modal {
  position: static;
  transform: none;
}
.money-dialog-overlay .qr-modal {
  width: min(100%, 420px);
}
.qr-image {
  text-align: center;
}
.qr-image img {
  max-width: 100%;
}

.static-date-picker {
  padding: 0 20px 20px;
}
.static-date-picker header {
  display: grid;
  gap: 4px;
  padding: 10px 0 18px;
}
.static-date-picker header span {
  color: #bdbdbd;
  font-size: 13px;
}
.static-date-picker header strong {
  color: #ffd400;
  font-size: 28px;
}
.date-picker-nav,
.static-date-picker footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.date-picker-nav button,
.static-date-picker footer button,
.date-days button {
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}
.date-week,
.date-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 12px;
  text-align: center;
}
.date-week {
  color: #aaa;
  font-size: 12px;
}
.date-days button {
  aspect-ratio: 1;
  border-radius: 50%;
}
.date-days button.active,
.static-date-picker .date-apply {
  background: #ffd400;
  color: #171717;
}
.static-date-picker footer {
  margin-top: 18px;
}
.static-date-picker footer button {
  padding: 10px 18px;
  border-radius: 8px;
  color: #ffd400;
  font-weight: 800;
}

.static-detail-content {
  padding: 4px 20px 28px;
}
.static-detail-content h2 {
  margin: 8px 0 22px;
  color: #ffd400;
  font-size: 28px;
}
.static-detail-content dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px 10px;
  margin: 0;
}
.static-detail-content dt {
  color: #aaa;
  font-size: 12px;
}
.static-detail-content dd {
  margin: 0;
  color: #fff;
  font-size: 13px;
  text-align: right;
}

.success-card {
  display: grid;
  width: min(90%, 420px);
  justify-items: center;
  gap: 14px;
  padding: 42px 22px 22px;
  border-radius: 18px;
  background: #272727;
  text-align: center;
  animation: static-dialog-in 0.2s ease;
}
.success-card h2 {
  margin: 0;
  font-size: 28px;
}
.success-card p {
  max-width: 300px;
  color: #cfcfcf;
  font-size: 13px;
}
.success-icon {
  display: grid;
  width: 144px;
  height: 144px;
  place-items: center;
  border-radius: 50%;
  background: rgb(24 186 169 / 42%);
  color: #23f0d3;
}
.success-icon .mdi {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 50%;
  background: #18bbae;
  color: #46f6de;
  font-size: 78px;
}

.games-grid-swap {
  touch-action: pan-y;
}

.transfer-page [data-transfer-panel] {
  margin-top: 16px;
}

.transfer-page div[data-transfer-panel] {
  display: grid;
  gap: 16px;
}

.transfer-page [data-transfer-panel][hidden] {
  display: none;
}

.transfer-page .submit-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #ffd000;
  color: #111;
  font: inherit;
  font-weight: 800;
}

.profile-detail-page {
  padding-bottom: 40px;
}

.profile-detail-page .detail-hero {
  display: grid;
  grid-template-columns: 62px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 16px;
  align-items: center;
  justify-items: start;
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
}

.profile-detail-page .detail-hero .avatar {
  grid-row: 1 / span 2;
  width: 62px;
  height: 62px;
  font-size: 25px;
}

.profile-detail-page .detail-hero span {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  color: #c2c2c2;
  font-size: 14px;
}

.profile-detail-page .detail-hero h1 {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: start;
  margin: 0;
  color: #ffd000;
  font-size: 20px;
  font-weight: 800;
}

.profile-detail-page .info-card {
  padding: 16px;
  border-radius: 16px;
  background: #1b1b1b;
  overflow: visible;
}

.profile-detail-page .info-card > .profile-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 14px 0;
  border-bottom: 0;
}

.profile-detail-page .profile-info .title {
  flex-shrink: 0;
  color: #c2c2c2;
  font-size: 13px;
  white-space: nowrap;
}

.profile-detail-page .profile-info .value {
  min-width: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
}

.profile-detail-page .info-card > .profile-info:not(:last-child) {
  border-bottom: 1px solid #3a3a3a;
}

.profile-detail-page .profile-info--copy .value {
  flex: 1;
  min-width: 0;
  white-space: normal;
}

.profile-detail-page .profile-info--copy .ref-link-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.profile-detail-page .ref-link {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-detail-page .copy-btn {
  position: static !important;
  inset: auto !important;
  display: inline-grid;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transform: none !important;
}

.profile-detail-page .copy-btn i {
  font-size: 15px;
}

.profile-detail-page .logout-wrapper {
  position: static !important;
  inset: auto !important;
  z-index: auto;
  margin-top: 24px;
  margin-bottom: calc(110px + env(safe-area-inset-bottom));
  padding: 0;
  width: auto;
}

.profile-detail-page .logout-btn {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #323232;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

body:has(.profile-detail-page) .floating-actions-root {
  display: none;
}

.profile-detail-shell .focus-app-bar-title {
  opacity: 0;
  visibility: hidden;
}

@media (min-width: 960px) {
  .deposit-card {
    display: inline-flex;
  }
}

.shell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: none;
  min-height: auto !important;
  padding-bottom: 0 !important;
}

.shell > .page-body,
.shell > .shell,
.page-body {
  flex: 0 0 auto;
  min-height: auto !important;
}

.shell > .shell {
  width: 100%;
}

.footer {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  flex-shrink: 0;
  align-self: stretch;
  box-sizing: border-box;
  background: #2b2b2b;
  margin-top: 28px !important;
}

.footer-inner {
  padding: 0 14px;
}

.footer-payments,
.footer .legal {
  width: 100% !important;
  max-width: 100% !important;
  margin: 40px 0 0 !important;
}

@media (min-width: 720px) {
  .footer {
    margin-top: 36px !important;
    padding: 28px 0 calc(112px + env(safe-area-inset-bottom));
  }

  .footer-inner {
    padding: 0 28px;
  }

  .footer p {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
    font-size: 12px;
    line-height: 1.45;
  }
}

@media (min-width: 960px) {
  .shell {
    padding-bottom: 0 !important;
  }

  .footer {
    margin-top: 42px !important;
    padding: 30px 0;
    text-align: center;
  }

  .footer-inner {
    padding: 0 32px;
  }

  .footer-payments,
  .footer .legal {
    margin: 40px auto 0 !important;
  }

  .footer .socials,
  .footer .payments,
  .footer-payments > .payments {
    justify-content: center;
  }

  .footer-payments > p {
    margin-right: auto;
    margin-left: auto;
  }

  .footer .payment-sections {
    justify-content: center;
    max-width: 520px;
    margin: 0 auto;
  }

  .footer .legal p {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
}

.profile-page {
  margin-top: 50px !important;
}

.profile-top-grid,
.profile-primary,
.profile-secondary {
  display: grid;
  gap: 18px;
  min-width: 0;
}

@media (min-width: 960px) {
  .profile-page {
    display: block;
    max-width: 1120px;
    margin-top: 55px;
  }

  .profile-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
  }

  .profile-secondary {
    align-self: center;
  }

  .profile-secondary {
    gap: 16px;
    transform: translateY(-13px);
  }

  .profile-page .profile-hero {
    padding-top: 0;
  }

  .profile-page .quick-grid,
  .profile-page .profile-controls {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }

  .profile-page .quick-card {
    min-height: 112px;
  }

  .profile-page .profile-controls .profile-action {
    min-height: 70px;
  }

  .profile-page .profile-main-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
  }

  .profile-page .profile-main-actions .profile-action {
    min-height: 118px;
  }
}

.children-page > .games-grid {
  grid-auto-rows: 151px;
  margin-top: 20px;
}

.children-page > .games-grid .game-card {
  width: 100%;
  height: 151px;
  min-height: 151px;
  aspect-ratio: auto;
}

.children-page > .games-grid .card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.password-page .narrow-form {
  width: 100%;
  max-width: none;
  margin-top: 48px;
}

.password-page .field {
  gap: 6px;
}

.password-page .field > span {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-top: 10px;
}

.password-page .input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #303030;
  color: #fff;
  font: inherit;
}

.password-page .password-input-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding-right: 12px;
  border-radius: 8px;
  background: #303030;
}

.password-page .password-input-shell .input {
  background: transparent;
}

.password-page .password-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #999;
  font-size: 22px;
  cursor: pointer;
}

.password-page .password-toggle:hover,
.password-page .password-toggle:focus-visible {
  color: #ffd400;
}

.password-page .password-save-btn {
  position: fixed;
  z-index: 110;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 16px;
  width: auto;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #ffd000;
  color: #111;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 8px 24px rgb(0 0 0 / 35%);
}

.payment-page {
  width: min(100%, 1180px) !important;
}

.payment-page .account-card {
  border: 0;
}

.payment-page .edit-button img {
  width: 20px;
  height: 20px;
}

.payment-edit-overlay .payment-edit-sheet {
  animation: static-sheet-up 0.25s ease;
}

.payment-edit-sheet .payment-form .primary-action {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #ffd000;
  color: #111;
  font-weight: 900;
}

@media (min-width: 960px) {
  .payment-page {
    padding-top: 32px !important;
  }

  .payment-page .account-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .payment-edit-overlay {
    align-items: center;
    padding: 16px;
  }

  .payment-edit-overlay .payment-edit-sheet {
    border-radius: 20px !important;
  }

  .payment-edit-overlay .sheet-handle-wrap {
    display: none;
  }

  .password-page .password-save-btn {
    position: static;
    width: 100%;
    margin-top: 24px;
    box-shadow: none;
  }
}

.contact-page {
  text-align: center;
}

.contact-page h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.contact-page .contact-head {
  text-align: center;
}

.contact-page .contact-head h1 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.contact-page .contact-head p {
  margin-top: 10px;
  line-height: 1.5;
}

.contact-page .contact {
  margin-top: 20px;
}

.contact-page .contact h4 {
  margin: 0 0 8px;
  color: #fff;
  text-align: center;
}

.contact-page .social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.contact-page .social-item {
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: #323232;
  font: inherit;
  color: #fff;
  cursor: pointer;
  transition: 0.2s ease;
}

.contact-page .social-item span {
  color: #fff;
}

.contact-page .social-lists {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contact-page .social-items {
  flex: 0 1 222px;
  width: auto;
  min-width: 0;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: #323232;
  font: inherit;
  color: #fff;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.contact-page .social-items > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.contact-page .social-items p {
  margin: 0;
  color: #fff;
  line-height: 1.2;
  font-size: 14px;
  font-weight: 400;
}

.contact-page .social-items img {
  background: #2d2d2d;
  padding: 6px;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-page .contact-phone-list .social-items p {
  font-weight: 400;
}

@media (max-width: 719px) {
  .contact-page {
    text-align: left;
  }

  .contact-page h2,
  .contact-page .contact h4 {
    text-align: left;
  }

  .contact-page .contact-head {
    text-align: center;
  }

  .contact-page .contact .social-lists:not(.contact-phone-list) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    justify-content: stretch;
  }

  .contact-page .contact .social-lists:not(.contact-phone-list) .social-items {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .contact-page .contact-phone-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    justify-content: stretch;
  }

  .contact-page .contact-phone-list .social-items {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .contact-page .contact-phone-list .social-items:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 720px) {
  .contact-page .social-lists {
    justify-content: center;
  }

  .contact-page .contact-phone-list .social-items {
    flex: 0 1 calc(33.333% - 12px);
    max-width: 260px;
  }
}

.contact-page .social-items:hover,
.contact-page .social-item:hover {
  background: #444;
  transform: translateY(-2px);
}

.transactions-page .report-switch {
  margin-top: -15px;
  margin-bottom: 2px;
}

.transactions-page {
  gap: 12px;
}

.information-page .faq-list {
  display: block;
}

.information-page .faq-list details {
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.information-page .faq-list summary {
  min-height: 60px;
  padding: 16px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.information-page .faq-list summary > span {
  display: flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #3a3a3a;
  color: #fff;
}

.information-page .faq-list summary i {
  font-size: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.information-page .faq-list details[open] summary {
  min-height: 64px;
  color: #fff;
}

.information-page .faq-list details[open] summary i {
  transform: rotate(90deg);
}

.information-page .faq-list details p {
  margin: 0 20px 12px;
  padding: 0;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.6;
}

.information-page .faq-list details p:last-child {
  margin-bottom: 20px;
}

.information-page .faq-list details .section-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.support-static-page button.menu-action,
.menu-page button.menu-card {
  width: 100%;
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.support-static-page .lang-action {
  cursor: pointer;
}

.support-static-page [data-support-panel],
.support-static-page [data-live-help] {
  cursor: pointer;
}

.support-static-page [data-support-panel].is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.support-panel-overlay.is-loading {
  display: grid !important;
  place-items: center !important;
  align-items: center !important;
  align-content: center !important;
  justify-items: center !important;
}

.support-panel-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  height: auto;
  color: #bdbdbd;
  font-size: 14px;
  font-weight: 600;
}

.support-panel-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgb(255 255 255 / 15%);
  border-top-color: #ffd000;
  border-radius: 50%;
  animation: support-panel-spin 0.8s linear infinite;
}

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

@keyframes support-panel-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 100px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.support-panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: block;
  padding: 0 !important;
  background: #171717;
  overflow: hidden;
}

.support-panel-overlay:not(.is-loading) {
  align-items: stretch !important;
}

.support-panel-overlay > .shell {
  width: 100%;
  max-width: 1180px;
  height: 100%;
  min-height: 100%;
  max-height: 100dvh;
  margin: 0 auto;
  padding: 0;
  overflow: hidden auto;
  background: #171717;
  -webkit-overflow-scrolling: touch;
}

.support-panel-overlay > .shell.support-panel-enter {
  animation: support-panel-fade-up 600ms cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

.support-panel-overlay .focus-shell[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.support-panel-overlay .focus-app-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
  background: #171717;
}

.support-panel-overlay .focus-shell {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  min-height: auto;
  background: #171717;
}

.support-panel-overlay .focus-shell.page-body {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
}

@media (min-width: 720px) {
  .support-panel-overlay .focus-app-bar {
    padding: 14px 32px;
  }
}

.support-panel-overlay .focus-shell.has-app-bar {
  padding-top: 0;
}

.support-panel-overlay .focus-shell .sub-page,
.support-panel-overlay .focus-shell .bank-option-page {
  width: 100%;
  max-width: 1180px;
  margin: 0;
  padding: 5px 16px 48px;
}

.support-panel-overlay .focus-shell .sub-page .page-heading {
  margin-top: 0;
}

.support-panel-overlay .category-tab,
.support-panel-overlay .report-switch button,
.support-panel-overlay .focus-back-button,
.support-panel-overlay .contact-socials button,
.support-panel-overlay .contact-page .social-item,
.support-panel-overlay .contact-page .social-items,
.support-panel-overlay .faq-list summary {
  cursor: pointer;
}

.support-panel-overlay #toast {
  display: none;
}

.withdraw-page-state .deposit-flow {
  transform: none;
}

.auth-screen .auth-header,
.register-screen .auth-header {
  margin-bottom: 0;
}

.auth-screen .welcome {
  margin-bottom: 0;
}

.register-screen .auth-form {
  margin-top: 12px;
}

@media (max-width: 719px) {
  .add-payment-page {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }

  .add-payment-page .page-heading .icon-btn {
    visibility: hidden;
  }

  .add-payment-page .narrow-form {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .add-payment-page .field,
  .add-payment-page .input,
  .add-payment-page .method-card,
  .add-payment-page .btn {
    width: 100%;
  }
}

@keyframes static-fade-in {
  from {
    opacity: 0;
  }
}
@keyframes static-sheet-up {
  from {
    transform: translateY(100%);
  }
}
@keyframes static-dialog-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}

@media (min-width: 1025px) {
  .modal-backdrop.responsive-overlay:not(.dialog-overlay):not(.support-panel-overlay) {
    align-items: center;
    padding: 24px;
  }

  .responsive-overlay:not(.support-panel-overlay) {
    align-items: center;
    padding: 24px;
  }

  .deposit-method-sheet,
  .bottom-sheet-card,
  .promotion-sheet,
  .edit-sheet {
    max-height: min(86vh, 760px);
    padding: 0 !important;
    border: 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 70px rgb(0 0 0 / 55%);
    animation: static-dialog-in 0.2s ease;
  }

  .deposit-method-sheet .sheet-handle-wrap {
    display: grid;
  }

  .bottom-sheet-card .sheet-handle-wrap,
  .promotion-sheet .sheet-handle-wrap,
  .edit-sheet .sheet-handle-wrap {
    display: none;
  }

  .deposit-method-sheet .sheet-content {
    padding: 4px 10px calc(24px + env(safe-area-inset-bottom));
  }

  #nextbet-deposit-method-popup .deposit-method-sheet,
  #nextbet-withdraw-method-popup .deposit-method-sheet {
    animation: static-dialog-in 0.2s ease;
  }

  .bottom-sheet-card .static-date-picker,
  .bottom-sheet-card .static-detail-content {
    padding: 24px;
  }

  .promotion-sheet .sheet-content {
    padding: 24px 24px 100px;
  }

  .promotion-sheet .sheet-action {
    padding-right: 24px;
    padding-left: 24px;
  }

  .payment-edit-sheet {
    padding: 24px !important;
  }
}