﻿.app-header {
  position: absolute;
  z-index: 35;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--ui-backdrop-translucent);
  border-bottom: 1px solid var(--ui-border);
  backdrop-filter: blur(16px);
}

.icon-button,
.text-button,
.ghost-button,
.close-button,
.primary-button,
.slider-controls button {
  border: 0;
  color: var(--ui-text);
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-content: center;
  gap: 4px;
  border-radius: 12px;
  background: var(--ui-surface-2);
}

.icon-button span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.brand {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: var(--ui-font-size-lg);
}

.brand small,
.auth-chip,
.tab-panel,
.game-card span {
  color: var(--ui-muted);
}

.text-button,
.ghost-button,
.section-title button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ui-success-soft);
}

.ghost-button {
  border: 1px solid var(--ui-border);
  background: transparent;
}

.ui-modal,
.ui-drawer {
  position: absolute;
  inset: 0;
  z-index: var(--z-modal);
  pointer-events: none;
}

.ui-drawer {
  z-index: var(--z-drawer);
}

.ui-backdrop {
  position: absolute;
  inset: 0;
  background: var(--ui-overlay);
  opacity: 0;
  transition: opacity var(--ui-duration) ease;
}

.ui-modal-panel,
.ui-drawer-panel {
  position: absolute;
  background: var(--ui-surface);
  border: 1px solid var(--ui-border);
  box-shadow: var(--ui-shadow);
  transition: transform var(--ui-duration) ease, opacity var(--ui-duration) ease;
}

.ui-modal-panel {
  left: 50%;
  bottom: 18px;
  width: min(calc(100% - 28px), 402px);
  border-radius: 22px;
  padding: 18px;
  transform: translate(-50%, 24px);
  opacity: 0;
}

.ui-drawer-panel {
  top: 0;
  bottom: 0;
  left: 0;
  width: min(84%, 330px);
  padding: 22px 16px;
  display: grid;
  align-content: start;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-102%);
}

.ui-drawer[data-side="right"] .ui-drawer-panel {
  right: 0;
  left: auto;
  width: 100%;
  transform: translateX(100%);
}

.ui-modal.is-active,
.ui-drawer.is-active {
  pointer-events: auto;
}

.ui-modal[aria-hidden="true"] .ui-backdrop,
.ui-drawer[aria-hidden="true"] .ui-backdrop,
.ui-modal[aria-hidden="true"] .ui-modal-panel,
.ui-drawer[aria-hidden="true"] .ui-drawer-panel,
.ui-modal[aria-hidden="true"] [role="dialog"],
.ui-drawer[aria-hidden="true"] [role="dialog"] {
  visibility: hidden;
  opacity: 0 !important;
  pointer-events: none;
}

.ui-modal.is-active .ui-backdrop,
.ui-drawer.is-active .ui-backdrop {
  opacity: 1;
}

.ui-modal.is-active .ui-modal-panel {
  transform: translate(-50%, 0);
  opacity: 1;
}

.activity-notice-modal {
  z-index: calc(var(--z-modal) + 2);
}

.activity-notice-panel {
  display: grid;
  gap: 10px;
  padding: 22px 20px 18px;
}

.activity-notice-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: var(--ui-text-muted);
  background: transparent;
  font-size: 24px;
  line-height: 1;
}

.activity-notice-eyebrow {
  margin: 0;
  color: var(--ui-text-muted);
  font-size: var(--ui-font-size-xs);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.activity-notice-panel h2,
.activity-notice-description {
  margin: 0;
}

.activity-notice-panel h2 {
  padding-right: 28px;
  color: var(--ui-text-primary);
  font-size: var(--ui-font-size-lg);
  line-height: 1.3;
}

.activity-notice-description {
  color: var(--ui-text-secondary);
  font-size: var(--ui-font-size-sm);
  line-height: 1.5;
  white-space: pre-line;
}

.activity-notice-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.activity-notice-actions button {
  min-width: 92px;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  color: var(--ui-on-accent, #fff);
  background: var(--ui-accent);
  font-weight: 700;
}

.ui-drawer.is-active .ui-drawer-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.close-button {
  width: 34px;
  height: 34px;
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  background: var(--ui-surface-hover-muted);
  font-size: var(--ui-font-size-display-sm);
}

.close-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tab-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 4px;
  border-radius: 14px;
  background: var(--ui-surface-hover-soft);
  gap: 4px;
}

.tab-list button {
  min-height: 38px;
  border: 0;
  border-radius: 11px;
  color: var(--ui-muted);
  background: transparent;
}

.tab-list button.is-active {
  color: var(--ui-text-inverse);
  background: var(--ui-primary);
}

.tab-panel {
  display: none;
  padding: 14px 2px 0;
}

.tab-panel.is-active {
  display: block;
}

.primary-button {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  background: var(--ui-gradient-primary-button);
  color: var(--ui-text-inverse);
  font-weight: var(--ui-font-weight-heavy);
}

.auth-panel {
  --login-hello-color: var(--ui-success);
  --login-input-underline: var(--ui-success);
  --login-submit-arrow-bg: var(--ui-success-muted);
  inset: 0;
  left: 0;
  bottom: auto;
  width: 100%;
  height: 100%;
  max-height: none;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ui-text-primary);
  background: var(--ui-surface-auth);
  box-shadow: none;
  transform: translateX(100%);
}

.ui-modal.is-active .auth-panel {
  transform: translateX(0);
}

.ui-modal:not(.is-active) .auth-panel {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.ui-modal.is-active .auth-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.auth-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 25%;
  height: 75%;
  border-top: 2px solid var(--ui-success);
  border-radius: 18% 18% 0 0 / 8% 8% 0 0;
  background: var(--ui-surface-auth-panel);
}

.auth-back-button {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 27px;
  width: 32px;
  height: 40px;
  border: 0;
  color: var(--ui-text-primary);
  background: transparent;
  font-size: var(--ui-font-size-auth-back);
  font-weight: var(--ui-font-weight-light);
  line-height: var(--ui-line-height-auth-back);
  transform: scaleX(.72);
}

.auth-panel .ui-tabs {
  position: relative;
  z-index: 2;
  min-height: 100%;
  padding: 33.5dvh 20px 28px;
}

.auth-panel .tab-list {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  gap: 10px;
  width: auto;
  padding: 0;
  background: transparent;
}

.auth-panel .tab-list button {
  min-height: 28px;
  padding: 0 8px;
  border-radius: 0;
  color: var(--ui-text-disabled);
  background: transparent;
  font-size: var(--ui-font-size-xs);
}

.auth-panel .tab-list button.is-active {
  color: var(--ui-success);
  background: transparent;
}

.auth-message {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 31.5%;
  min-height: 20px;
  margin: 0;
  color: var(--ui-muted);
  font-size: var(--ui-font-size-xs);
  /* çŠ¶æ€æç¤ºæ–‡æœ¬ç»å¯¹å®šä½æµ®åœ¨è¡¨å•ä¸Š,ç©ºå†…å®¹æ—¶ä»æ˜¯å¤§å°ºå¯¸ç›’å­;
     å¿…é¡»ä¸æ‹¦æˆªæŒ‡é’ˆäº‹ä»¶,å¦åˆ™ä¼šç›–ä½ä¸‹æ–¹çš„å¯†ç /ç¡®è®¤å¯†ç è¾“å…¥æ¡†å¯¼è‡´æ— æ³•è¾“å…¥ */
  pointer-events: none;
}

.auth-message[data-tone="error"] {
  color: var(--ui-danger-soft);
}

.auth-message[data-tone="info"] {
  color: var(--ui-warning-soft);
}

.auth-form-9000 {
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr;
  gap: 18px;
  min-height: 64dvh;
  padding: 6px 0 0;
}

.auth-heading {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--login-hello-color);
}

.auth-heading h2,
.auth-heading strong {
  margin: 0;
  font-size: var(--ui-font-size-auth-heading);
  line-height: var(--ui-line-height-tight-ratio);
  text-shadow: none;
}

.auth-heading strong {
  color: var(--ui-text-primary);
  font-size: var(--ui-font-size-xl);
  font-weight: var(--ui-font-weight-regular);
}

.auth-form-9000[data-ui-block="auth-login"] .auth-heading strong {
  color: var(--ui-success);
  font-size: var(--ui-font-size-auth-title);
  font-weight: var(--ui-font-weight-heavy);
}

.auth-field {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  gap: 10px;
}

.auth-field::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--login-input-underline);
}

.auth-country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 82px;
  color: var(--ui-text-primary);
  font-size: var(--ui-font-size-md);
}

.auth-country i {
  width: 1px;
  height: 18px;
  background: var(--color-text-white-80);
}

.auth-flag {
  font-size: var(--ui-font-size-icon-md);
  line-height: var(--ui-line-height-none);
}

.auth-prefix {
  display: grid;
  place-items: center;
  color: var(--login-prefix-icon-color, var(--ui-text-muted));
}

.auth-field input {
  width: 100%;
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0;
  color: var(--ui-text);
  background: transparent;
  font-size: var(--ui-font-size-md);
}

.auth-field input::placeholder {
  color: var(--color-text-input-placeholder);
  opacity: 1;
}

.auth-eye {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--ui-muted);
  background: transparent;
}

.auth-forgot {
  justify-self: end;
  margin-top: -18px;
  border: 0;
  color: var(--ui-auth-placeholder);
  background: transparent;
  font-size: var(--ui-font-size-xs);
}

.auth-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ui-auth-placeholder);
  font-size: var(--ui-font-size-xs);
}

.auth-agree input {
  width: 16px;
  height: 16px;
  accent-color: var(--ui-warning-gold);
}

.auth-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  margin-top: 8px;
  padding: 30px 72px 0 40px;
  border: 0;
  border-radius: 0;
  color: var(--ui-text-primary);
  background: transparent;
  font-size: var(--ui-font-size-2xl);
  font-weight: var(--ui-font-weight-medium);
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-submit[disabled] {
  opacity: .72;
}

.auth-submit.is-loading span:first-child::after {
  content: "...";
}

.auth-arrow {
  display: grid;
  place-items: center;
  position: absolute;
  right: 9px;
  top: 14px;
  width: 67px;
  height: 67px;
  border-radius: 999px;
  background: var(--login-submit-arrow-bg);
  font-size: var(--ui-font-size-auth-arrow);
  font-weight: var(--ui-font-weight-bold);
  line-height: var(--ui-line-height-none);
}

.auth-bonus-ribbon {
  position: absolute;
  left: 64px;
  top: 5px;
  display: inline-grid;
  place-items: center;
  min-width: 108px;
  height: 28px;
  border-radius: 999px;
  color: var(--ui-text-ribbon);
  background: var(--ui-gradient-auth-ribbon);
  box-shadow: var(--ui-shadow-ribbon);
  font-size: var(--ui-font-size-sm);
  font-weight: var(--ui-font-weight-black);
  transform: rotate(-5deg);
}

.auth-bottom-text {
  position: absolute;
  right: 20px;
  bottom: 40px;
  left: 20px;
  margin: 0;
  padding: 0 48px 10px;
  color: var(--login-bottom-text-color, var(--ui-text-primary));
  text-align: center;
  font-size: var(--ui-font-size-md);
  line-height: var(--ui-line-height-body);
}

.common-modal-panel {
  background:
    var(--ui-gradient-modal-sheen),
    var(--ui-surface);
}

.common-dialog {
  display: grid;
  gap: 12px;
  padding-top: 8px;
}

.dialog-kicker,
.drawer-copy {
  color: var(--ui-muted);
  font-size: var(--ui-font-size-xs);
}

.common-dialog h2,
.common-dialog p {
  margin: 0;
}

.common-dialog h2 {
  font-size: var(--ui-font-size-display-sm);
}

.common-dialog p {
  color: var(--ui-muted);
  line-height: var(--ui-line-height-relaxed);
}

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

.dialog-actions .ghost-button,
.dialog-actions .primary-button {
  border-radius: 12px;
}

.ui-slider {
  position: relative;
  overflow: hidden;
}

.ui-slider-track {
  display: flex;
  transition: transform var(--ui-duration) ease;
}

.ui-slide {
  min-width: 100%;
}

.slider-controls {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: grid;
  grid-template-columns: 28px 26px 28px;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.slider-controls button {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ui-control-overlay);
}
.deposit-page[data-deposit-runtime-state="loading"] > :not([data-deposit-runtime-status]),
.deposit-page[data-deposit-runtime-state="error"] > :not([data-deposit-runtime-status]) {
  visibility: hidden !important;
  pointer-events: none !important;
}

.deposit-page .deposit-runtime-status {
  box-sizing: border-box;
  width: min(100% - 32px, 420px);
  min-height: 220px;
  margin: clamp(72px, 18vh, 148px) auto 24px;
  padding: 30px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--theme-primary, #13865f) 18%, #dce6e1);
  border-radius: 16px;
  color: var(--theme-text, #17251f);
  background: color-mix(in srgb, var(--theme-surface, #fff) 96%, var(--theme-primary, #13865f));
  box-shadow: 0 12px 34px rgba(23, 37, 31, 0.08);
  text-align: center;
}

.deposit-page .deposit-runtime-status-icon {
  width: 38px;
  height: 38px;
  display: block;
  border: 3px solid color-mix(in srgb, var(--theme-primary, #13865f) 24%, transparent);
  border-top-color: var(--theme-primary, #13865f);
  border-radius: 50%;
  animation: deposit-runtime-spin 0.8s linear infinite;
}

.deposit-page .deposit-runtime-status[data-state="error"] .deposit-runtime-status-icon {
  position: relative;
  border: 0;
  border-radius: 12px;
  background: color-mix(in srgb, var(--theme-primary, #13865f) 12%, #fff);
  animation: none;
}

.deposit-page .deposit-runtime-status[data-state="error"] .deposit-runtime-status-icon::before,
.deposit-page .deposit-runtime-status[data-state="error"] .deposit-runtime-status-icon::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 10px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--theme-primary, #13865f);
  transform: rotate(45deg);
}

.deposit-page .deposit-runtime-status[data-state="error"] .deposit-runtime-status-icon::after {
  transform: rotate(-45deg);
}

.deposit-page .deposit-runtime-status strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.deposit-page .deposit-runtime-status p {
  max-width: 280px;
  margin: 0;
  color: var(--theme-muted, #6c7b75);
  font-size: 13px;
  line-height: 1.55;
}

.deposit-page .deposit-runtime-status button {
  min-width: 132px;
  min-height: 42px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--theme-primary, #13865f);
  font: inherit;
  font-weight: 700;
}

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

html[data-lite-theme-id="brasil"] {
  --theme-payment-accent: #13865f;
  --theme-payment-accent-strong: #0d704e;
  --theme-payment-bg: #f3f7f5;
  --theme-payment-surface: #fffefa;
  --theme-payment-text: #18261f;
  --theme-payment-muted: #6b7972;
  --theme-payment-border: #dce6e1;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active {
  color: var(--theme-payment-text) !important;
  background: var(--theme-payment-bg) !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .unified-drawer-action-header {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 61px !important;
  min-height: 61px !important;
  padding: 0 12px !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  overflow: hidden !important;
  border-bottom: 1px solid var(--theme-payment-border) !important;
  color: var(--theme-payment-text) !important;
  background: var(--theme-payment-surface) !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .unified-drawer-action-header > .route-slide-back {
  position: relative !important;
  inset: auto !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: var(--theme-payment-accent) !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .unified-drawer-action-header > .route-slide-title {
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: var(--theme-payment-text) !important;
  font-size: 17px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  transform: none !important;
}

/*
 * The cashier can be mounted either as the home drawer or as the unified
 * secondary route (`#/deposit`). Keep both shells on the same 61px header
 * contract so Payment Lab and direct links cannot expose a stretched theme
 * header before the payment family is resolved.
 */
html[data-lite-theme-id="brasil"] body .app-shell [data-route-page="deposit"].route-slide-page.is-active
  > [data-route-slide-header] {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 61px !important;
  min-height: 61px !important;
  max-height: 61px !important;
  padding: 0 12px !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 84px !important;
  align-items: center !important;
  gap: 8px !important;
  overflow: hidden !important;
  border-bottom: 1px solid var(--theme-payment-border) !important;
  color: var(--theme-payment-text) !important;
  background: var(--theme-payment-surface) !important;
  box-shadow: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-route-page="deposit"].route-slide-page.is-active
  > [data-route-slide-header] > .route-slide-back {
  position: relative !important;
  inset: auto !important;
  box-sizing: border-box !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: var(--theme-payment-accent) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-route-page="deposit"].route-slide-page.is-active
  > [data-route-slide-header] > .route-slide-title {
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  display: block !important;
  overflow: hidden !important;
  color: var(--theme-payment-text) !important;
  font-size: 17px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  transform: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-route-page="deposit"].route-slide-page.is-active
  > [data-route-slide-header] > .route-slide-header-actions {
  position: static !important;
  width: 84px !important;
  height: 44px !important;
  min-width: 84px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
  overflow: hidden !important;
  transform: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-route-page="deposit"].route-slide-page.is-active
  > [data-route-slide-header] > .route-slide-header-actions > button {
  position: relative !important;
  inset: auto !important;
  box-sizing: border-box !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 7px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: var(--theme-payment-accent) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-route-page="deposit"].route-slide-page.is-active
  > [data-route-slide-header] > .route-slide-header-actions > button img {
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  object-fit: contain !important;
}

html[data-lite-theme-id="brasil"] body .app-shell :is(
  [data-drawer="cashier"].ui-drawer.is-active
    .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]),
  [data-route-page="deposit"].route-slide-page.is-active
    .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"])
) > .deposit-choice-section > header::before,
html[data-lite-theme-id="brasil"] body .app-shell :is(
  [data-drawer="cashier"].ui-drawer.is-active
    .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]),
  [data-route-page="deposit"].route-slide-page.is-active
    .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"])
) > .deposit-choice-section > header::after {
  content: none !important;
  display: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .unified-drawer-action-header > .route-slide-header-actions {
  position: static !important;
  width: auto !important;
  height: 44px !important;
  min-width: 84px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
  transform: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .unified-drawer-action-header > .route-slide-header-actions > button {
  position: relative !important;
  inset: auto !important;
  box-sizing: border-box !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 7px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: var(--theme-payment-accent) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .unified-drawer-action-header > .route-slide-header-actions > button img {
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  object-fit: contain !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: calc(100dvh - 60px) !important;
  padding: 14px 14px max(24px, env(safe-area-inset-bottom)) !important;
  overflow-x: clip !important;
  color: var(--theme-payment-text) !important;
  background:
    radial-gradient(circle at 90% 0, color-mix(in srgb, var(--theme-payment-accent) 8%, transparent), transparent 210px),
    var(--theme-payment-bg) !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > :is(
    .deposit-page-title,
    .deposit-record-button,
    .deposit-hero,
    .deposit-total-card,
    .deposit-reward-card,
    .deposit-bonus-toggle,
    .deposit-perks,
    .deposit-terms
  ) {
  display: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-choice-section {
  box-sizing: border-box !important;
  min-height: 0 !important;
  margin: 0 0 12px !important;
  padding: 14px !important;
  border: 1px solid var(--theme-payment-border) !important;
  border-radius: 14px !important;
  background: var(--theme-payment-surface) !important;
  box-shadow: 0 6px 18px rgba(23, 50, 42, 0.05) !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-choice-section
  :is(h2, h3, strong, span, button) {
  color: var(--theme-payment-text) !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-choice-section > header {
  width: 100% !important;
  height: auto !important;
  min-height: 22px !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  border: 0 !important;
  color: var(--theme-payment-muted) !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > :is(.deposit-choice-section > header, .deposit-range, .deposit-amount-grid)::before,
html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > :is(.deposit-choice-section > header, .deposit-range, .deposit-amount-grid)::after {
  content: none !important;
  display: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-choice-section button.is-selected {
  border-color: var(--theme-payment-accent) !important;
  color: #fff !important;
  background: var(--theme-payment-accent) !important;
  box-shadow: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-range {
  box-sizing: border-box !important;
  min-height: 64px !important;
  margin: 0 0 12px !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid var(--theme-payment-border) !important;
  border-radius: 14px !important;
  color: var(--theme-payment-text) !important;
  background: var(--theme-payment-surface) !important;
  box-shadow: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-range :is(span, strong) {
  color: var(--theme-payment-text) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-amount-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-amount-grid button {
  box-sizing: border-box !important;
  min-width: 0 !important;
  min-height: 52px !important;
  padding: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  overflow: hidden !important;
  border: 1px solid var(--theme-payment-border) !important;
  border-radius: 12px !important;
  color: var(--theme-payment-text) !important;
  background: var(--theme-payment-surface) !important;
  box-shadow: 0 4px 12px rgba(23, 50, 42, 0.04) !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-amount-grid button :is(small, b) {
  display: none !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-amount-grid button strong {
  min-width: 0 !important;
  overflow: hidden !important;
  color: inherit !important;
  font-size: clamp(13px, 3.8cqw, 16px) !important;
  font-weight: 700 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-amount-grid button.is-selected {
  border-color: var(--theme-payment-accent) !important;
  color: var(--theme-payment-accent-strong) !important;
  background: color-mix(in srgb, var(--theme-payment-accent) 11%, var(--theme-payment-surface)) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-payment-accent) 18%, transparent) !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-next {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 50px !important;
  margin: 16px 0 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--theme-payment-accent), var(--theme-payment-accent-strong)) !important;
  box-shadow: 0 9px 20px color-mix(in srgb, var(--theme-payment-accent) 20%, transparent) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

html[data-lite-theme-id="brasil"] body .app-shell [data-drawer="cashier"].ui-drawer.is-active
  .deposit-page:is([data-payment-page-family="common"], [data-payment-page-family="idn"]) > .deposit-next:disabled {
  opacity: 1 !important;
  color: color-mix(in srgb, var(--theme-payment-muted) 72%, #fff) !important;
  background: color-mix(in srgb, var(--theme-payment-border) 76%, #fff) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

html[data-lite-theme-id="brasil"] body.is-layer-open .app-shell
  .cashier-drawer.ui-drawer[data-drawer="cashier"][data-ui-block="cashier-drawer"].is-active
  > .cashier-source-panel
  > header.unified-drawer-action-header[data-unified-drawer-header="true"] {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 61px !important;
  min-height: 61px !important;
  max-height: 61px !important;
  padding: 0 12px !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 84px !important;
  align-items: center !important;
  gap: 8px !important;
  overflow: hidden !important;
}

html[data-lite-theme-id="brasil"] body.is-layer-open .app-shell
  .cashier-drawer.ui-drawer[data-drawer="cashier"][data-ui-block="cashier-drawer"].is-active
  > .cashier-source-panel
  > header.unified-drawer-action-header[data-unified-drawer-header="true"]
  > .route-slide-title {
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  display: block !important;
  overflow: hidden !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  transform: none !important;
}

html[data-lite-theme-id="brasil"] body.is-layer-open .app-shell
  .cashier-drawer.ui-drawer[data-drawer="cashier"][data-ui-block="cashier-drawer"].is-active
  > .cashier-source-panel
  > header.unified-drawer-action-header[data-unified-drawer-header="true"]
  > .route-slide-header-actions {
  position: static !important;
  width: 84px !important;
  height: 44px !important;
  min-width: 84px !important;
  min-height: 44px !important;
  max-width: 84px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 4px !important;
  overflow: hidden !important;
  transform: none !important;
}

html[data-lite-theme-id="brasil"] body.is-layer-open .app-shell
  .cashier-drawer.ui-drawer[data-drawer="cashier"][data-ui-block="cashier-drawer"].is-active
  > .cashier-source-panel
  > header.unified-drawer-action-header[data-unified-drawer-header="true"]
  > .route-slide-header-actions
  > button {
  position: relative !important;
  inset: auto !important;
  box-sizing: border-box !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  margin: 0 !important;
  padding: 7px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  transform: none !important;
}

html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"],
html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"] .brl-panda-source-surface,
html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"] .brl-panda-shell,
html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"] .brl-panda-scroll-body,
html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"] .brl-panda-body {
  color: #17382d !important;
  background: #f5faf7 !important;
}

html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"] .brl-panda-hero {
  color: #17382d !important;
  background: linear-gradient(145deg, #dff5eb, #fffdf6) !important;
}

html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"] .brl-panda-hero p {
  color: #687e75 !important;
}

html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"] .brl-panda-online-panel {
  color: #0d704e !important;
  background: rgba(19, 134, 95, 0.1) !important;
}

html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"] :is(
  .brl-panda-section,
  .brl-panda-input,
  .brl-panda-amount-grid button
) {
  color: #17382d !important;
  border-color: #d8e7df !important;
  background: #fffefa !important;
  box-shadow: 0 4px 14px rgba(23, 56, 45, 0.06) !important;
}

html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"] :is(
  h1,
  h2,
  .brl-panda-note,
  .brl-panda-bonus-toggle
) {
  color: #17382d !important;
}

html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"] .brl-panda-methods button.is-selected,
html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"] .brl-panda-submit {
  color: #fff !important;
  border-color: #13865f !important;
  background: #13865f !important;
}

html[data-lite-theme-id="brasil"] .deposit-page[data-payment-page-family="panda-brl"] .brl-panda-submit-wrap {
  border-top: 1px solid #d8e7df !important;
  background: #f5faf7 !important;
}
