/*
 * Wallet UI — modals, header balance picker, deposit/withdraw, vault, history, redeem.
 * Loaded globally (see public/header.php).
 * Source of truth: extracted from style.css + main.css deltas + header.css wallet chrome.
 */


  
      #ArrowNavRotateWallet, #ArrowNavRotateHandleBalance {

      transform-origin: center center;
      transform: rotate(0deg);
      transition: transform 0.5s ease;
  
    }

  
      #balanceHistorySort input {

      opacity: 1;
      z-index: 1;
      position: relative;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 2px solid #000;
  
      display: flex;
      justify-content: center;
      align-items: center;
  
    }

  
      #balanceHistorySort label, #balanceHistorySort input {

      cursor: pointer;
  
    }

  
      #balanceHistorySort input[type=radio]:checked {

      background-color: transparent;
      content: '';
  
    }

  
      #balanceHistorySort input[type=radio]:checked::before {

      content: '';
      width: 10px;
      height: 10px;
      display: block;
      background-color: #FBE24B;
      border-radius: 50%;
  
    }

  
      #withdrawPopup {

      position: absolute;
      opacity: 0;
      z-index: -1;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.7);
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flex;
      display: -o-flex;
      display: flex;
      justify-content: center;
      -ms-align-items: center;
      align-items: center;
  
    }

  
      #depositePOPup, #withdrawPOPup {

      position: absolute;
      opacity: 0;
      z-index: -1;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.7);
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flex;
      display: -o-flex;
      display: flex;
      justify-content: center;
      -ms-align-items: center;
      align-items: center;
  
    }

  
      #depositPopUpBtn {

      cursor: pointer;
  
    }

  
      .depositQR {

      max-width: 335px;
      width: 100%;
  
    }

  
      #depositPopUp {

      position: absolute;
      opacity: 0;
      z-index: -1;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.7);
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flex;
      display: -o-flex;
      display: flex;
      justify-content: center;
      -ms-align-items: center;
      align-items: center;
  
    }

  
      #withdrawPopup {

      display: none;
  
    }

  
      #withdrawPopup .placeBet-content-main {

      padding-bottom: 40px;
  
    }

  
      #walletPicker {

      height: 100%;
  
    }

  
      .header_wallet {

      display: flex;
  
    }

  
  
      .header_wallet-btn {

      display: flex;
      padding: var(--element-pad-small) var(--element-pad-large);
      justify-content: center;
      align-items: center;
      background: #0D0C07;
  
      box-shadow: 3px 3px 3px 0px rgba(224, 224, 224, 0.40) inset;
  
    }

  
      .menu-dropdown-wallet {

      left: 0;
      right: 0;
  
    }

  
      #walletIcon {

      width: 20px;
      height: 20px;
  
    }

  
      #walletList .menu-dropdown-desctop-item-content img {

      width: 20px;
      height: 20px;
  
    }

  
      .walletActive img {

      width: 20px;
      height: 20px;
  
    }

  
      .walletActive.active {

      background: var(--section-mode-font-color-1-10);
      pointer-events: none;
  
    }

  
      .affiliate-balance-item .openRedeemTicketsPopUP {

      margin: .375rem;
      padding: 0 0.9rem;
      font-size: 0.8125rem;
      gap: .5rem;
  
    }


      .affiliate-balance-item-type .wallet-ticket-icon {

      margin: 0;
      font-size: 1.5rem;
      line-height: 1;
  
    }

  
      .header-deposite-block #depositPopUpBtn {

      justify-content: center;
  
    }

  
      .walletPopUP {

      border: 1px solid var(--section-mode-font-color-1, #0D0C07);
      background: var(--section-mode-background-accent, #FBE24B);
      box-shadow: 24px 24px 0px 0px rgba(0, 0, 0, 0.40);
      width: 100%;
      max-width: 640px;
      display: flex;
      padding: var(--element-pad-xxlarge, 32px) 32px;
      flex-direction: column;
      align-items: center;
      gap: var(--element-gap-xxlarge, 32px);
      position: relative;
      max-height: 90vh;
      overflow: auto;
  
    }

  
      .walletPopUP::-webkit-scrollbar {
        width: 0; height: 0;
    }

  
      .walletPopUP {
        -ms-overflow-style: none;
    }

  
      .walletPopUP {
        overflow: -moz-scrollbars-none;
    }

  
      .walletPopUP-gen-txt{

      color: var(--section-mode-font-color-1, #0D0C07);
      text-align: center;
      font-family: "Public Pixel";
      font-size: 36px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%;
      letter-spacing: -1.08px;
  
    }


      .walletPopUP_main {

      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--wallet-header-pad-bottom, 1.5rem);
      align-self: stretch;
  
    }

  
      .walletPopUP_main-inputs-block {

      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      align-self: stretch;
  
    }

  
      .walletPopUP_main .affiliate-balance-item {

      width: 100%;
  
    }

  
      .walletPopUP_main .affiliate-balance-item img {

      height: auto;
  
    }

  
      .walletPopUP_main .affiliate-balance-item p {

      color: #0D0C07;
  
    }

  
      .walletPopUP_main-divider {

      width: 100%;
      height: 1px;
      max-width: 296px;
      margin: 0 auto;
      padding: 0 24px;
      opacity: 0.5;
      background-color: #262624;
  
    }

  
      .walletPopUP_main-links {

      display: flex;
      align-items: flex-start;
      gap: 24px;
  
    }

  
      .walletPopUP_main-links-item {

      display: flex;
      align-items: center;
      gap: var(--element-gap-xsmall, 8px);
      cursor: pointer;
  
    }

  
      .walletPopUP_main-links-item p {

      color: var(--status-color-main, #4D4DFF);
      font-feature-settings: 'liga' off, 'clig' off;
      font-family: "Roboto Mono";
      font-size: 16px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%;
      text-decoration-line: underline;
      text-decoration-style: solid;
      text-decoration-skip-ink: none;
      text-decoration-thickness: auto;
      text-underline-offset: auto;
      text-underline-position: from-font;
  
    }

  
      .walletPopUP_main-depwith_inputs {

      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 12px;
  
    }

  
      .walletPopUP_main-links-item svg {

      width: 20px;
      height: 20px;
  
    }

  
      .walletPopUP_footer {

      display: flex;
      align-self: stretch;
      gap: 8px;
      align-self: stretch;
  
    }

  
      .walletPopUP_footer button {

      width: 100%;
      font-size: 1rem;
      border: 0;
      box-shadow: none;
      padding: .75rem;
  
    }

  
      .closeWalletPopup {

      position: relative;
      padding: var(--element-pad-xsmall, 8px);
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
  
    }

  
      .closeWalletPopup svg {

      width: 100%;
      height: 100%;
  
    }

  
      .backWalletPopup {

      position: absolute;
      right: auto;
      left: 16px;
      top: 16px;
      padding: var(--element-pad-xsmall, 8px);
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
  
    }

  
      .walletPopUP_subtitle {

      color: var(--section-mode-font-color-1, #0D0C07);
      font-feature-settings: 'liga' off, 'clig' off;
      font-family: "Roboto Mono";
      font-size: 13px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%;
  
    }

  
      .walletPopUP_addtext {

      color: var(--section-mode-font-color-subdued, #999894);
      font-feature-settings: 'liga' off, 'clig' off;
      font-family: "Roboto Mono";
      font-size: 13px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%;
  
    }

  
      .verticalTxtFlex_toptxt {

      color: var(--section-mode-font-color-1, #0D0C07);
      font-feature-settings: 'liga' off, 'clig' off;
      font-family: "Roboto Mono";
      font-size: 13px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%;
  
    }

  
      .verticalTxtFlex_bottomtxt {

      color: var(--section-mode-font-color-subdued, #999894);
      font-feature-settings: 'liga' off, 'clig' off;
      font-family: "Roboto Mono";
      font-size: 10px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%;
  
    }

  
      .verticalTxtFlex {

      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      flex: 1 0 0;
  
    }

  
      .walletPopUP_main-depwith .account-info-inputs-wrapper {

      opacity: 1!important;
  
    }

  
      .walletPopUP_main-depwith {

      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: var(--element-gap-xxlarge, 32px);
  
    }

  
      .walletPopUP_main-depwith .menu-dropdown-selector-coins {

      z-index: 9;
  
    }

  
      .deposit-gr-code-block .walletPopUP_addtext {

      text-align: center;
  
    }

  
      .deposit-gr-code-block {

      display: flex;
      padding-top: 24px;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 8px;
  
    }

  
      .deposit-gr-code {

      display: flex;
      max-width: 222px;
      aspect-ratio: 1/1;
      padding: 14px;
      justify-content: center;
      align-items: center;
      border: 1px solid var(--section-mode-border-color-1, #262624);
      background: var(--section-mode-font-color-1, #0D0C07);
  
    }

  
      .deposit-gr-code img {

      width: 100%;
      height: 100%;
  
    }

  
      .withdraw-taxes {

      width: 100%;
      display: flex;
      padding: 16px;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      gap: 16px;
      align-self: stretch;
      background: var(--monochrome-dark-10, rgba(13, 12, 7, 0.10));
      overflow: visible;
  
    }

  
      .walletPopUP_main-inputs-block .affiliate-balance-item-value {

      display: flex;
  
    }

  
      .walletPopUP_main-inputs-block .affiliate-balance-item-value p {

      max-width: 100%;
      width: fit-content;
      overflow-x: scroll;
  
    }

  
      .walletInputBlackTxt p {

      color: var(--section-mode-font-color-1, #0D0C07);
  
    }

  
      .walletPopUP_main-inputs-block .affiliate-balance-item-value p::-webkit-scrollbar {
        width: 0; height: 0;
    }

  
      .walletPopUP_main-inputs-block .affiliate-balance-item-value p {
        -ms-overflow-style: none;
    }

  
      .walletPopUP_main-inputs-block .affiliate-balance-item-value p {
        overflow: -moz-scrollbars-none;
    }

  
      .walletPopUP .menu-dropdown-selector-coins {

      z-index: 2;
      top: 43px;
  
    }


  /* Currency dropdown must stack above nickname / fee rows (withdraw + tip). */
      .walletPopUP .walletPopUP_main > .walletPopUP_main-inputs-block:first-child,
      .walletPopUP .balanceWithdrawMatch > .walletPopUP_main-inputs-block:first-child {

      position: relative;
      z-index: 5;
  
    }


      .walletPopUP .walletPopUP_main > .walletPopUP_main-inputs-block:not(:first-child),
      .walletPopUP .walletPopUP_main > .withdraw-option-grid,
      .walletPopUP .balanceWithdrawMatch > .withdraw-option-grid {

      position: relative;
      z-index: 1;
  
    }


      .walletPopUP .walletPopUP_main .menu-dropdown-selector-coins,
      .walletPopUP .balanceWithdrawMatch .menu-dropdown-selector-coins {

      z-index: 10;
  
    }

  
      .baseWalletTxtInfo {

      color: var(--section-mode-font-color-1, #0D0C07);
      font-family: "Roboto Mono";
      font-size: 20px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%;
      text-align: center;
  
    }

  
      .baseWalletTxtInfo span {

      font-weight: 700;
  
    }

  
      .confirmWalletCodeBlock .walletPopUP_addtext {

      text-align: center;
  
    }

  
      .confirmWalletCodeBlock {

      display: flex;
      flex-direction: column;
      gap: 12px;
  
    }

  
      .walletSuccessImg {

      width: 100%;
      aspect-ratio: 3/1;
      max-width: 131.946px;;
  
    }

  
      .walletWithDrawSuccessBlock {

      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: center;
      justify-content: center;
  
    }

  
      .walletWithDrawSuccessBlock .walletPopUP-gen-txt {

      padding: 0!important;
  
    }

  
      .balanceMatchInfoBlock {

      padding: 8px;
      background: #FFF;
  
    }

  
      .balanceMatchInfoBlock p {

      color: var(--section-mode-font-color-subdued, #999894);
      font-family: "Roboto Mono";
      font-size: 14px;
      font-style: normal;
      font-weight: 500;
      line-height: 150%;
  
    }

  
      .balanceMatchInfoBlock span {

      color: var(--section-mode-font-color-1, #0D0C07);
  
    }

  
      .walletPopUP-sub-txt {

      color: var(--section-mode-font-color-1, #0D0C07);
      font-family: "Roboto Mono";
      font-size: 14px;
      font-style: normal;
      font-weight: 500;
      line-height: 150%;
      text-align: center;
  
    }

  
      .walletPopUP-sub-txt span {

      color: var(--Success-10, #288140);
  
    }

  
      .walletPopUP-sub-txt .txt-black {

      color: var(--section-mode-font-color-1, #0D0C07);
  
    }

  
      .balanceWithdrawMatch {

      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 12px;
  
    }

  
      .balanceWithdrawMatch > a.link-with-icon {

      align-self: flex-start;
      width: fit-content;
      max-width: 100%;
  
    }

  
      .wallet-account-info-currency {

      width: 100%;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-auto-rows: auto;
      gap: 8px;
  
    }

  
      .wallet-account-info-currency > :nth-child(5) {

      grid-column: span 4;
  
    }

  
      .account-wallet-add-buttons {

      display: flex;
      justify-content: center;
      align-items: center;
      gap: 16px;
      align-self: stretch;
  
    }

  
      .walletStartElements {

      align-items: start;
  
    }

  
      .accountWalletDepWithBtn {

      width: 100%;
      display: flex;
      gap: 16px;
  
    }

  
      .wallet-sw-block {

      width: fit-content;
      display: flex;
      justify-content: center;
      gap: 8px;
      align-items: center;
      padding-top: 40px;
  
    }

  
      .wallet-sw-block img {

      width: 100%;
      max-width: 24px;
  
    }

  
      .wallet-sw-block button {

      display: flex;
      padding: var(--element-pad-small, 12px) var(--element-pad-large, 20px);
      justify-content: center;
      align-items: center;
      gap: var(--element-gap-small, 12px);
      border-radius: var(--other-border-radius-none, 0px);
      border: 1px solid var(--secondary-btn-fill-selected-sec, #FFF);
      background: var(--Gradient-bright-yellow, linear-gradient(142deg, #FAEDA2 3.28%, #FCE668 52.58%, #D8B90D 93.74%));
      box-shadow: none;
      color: var(--accent-btn-font-color-default-sec, #0D0C07);
      text-align: center;
      font-family: "Roboto Mono";
      font-size: 16px;
      font-style: normal;
      font-weight: 700;
      line-height: 150%;
      transition: all 0.3s ease-in-out;
      cursor: pointer;
  
    }

  
      .wallet-sw-block button:hover {

      border-radius: var(--other-border-radius-none, 0px);
      border: 1px solid var(--accent-btn-font-color-hover-sec, #0D0C07);
      background: var(--accent-btn-fill-hover-sec, #FAEDA2);
      box-shadow: none;
  
    }

  
      .headerSmallWalletBtn {

      position: relative;
  
    }

  
      .sw-icon-wallet {

      position: absolute;
      width: 24px;
      height: 24px;
      right: -9px;
      top: -8px;
  
    }

  
      .wallet-inputs-with-math {

      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 4px;
  
    }

  
      .wallet-inputs-math {

      display: flex;
      padding: 16px;
      flex-direction: column;
      gap: 8px;
      width: 100%;
      background: var(--monochrome-dark-10, rgba(13, 12, 7, 0.10));
  
    }

  
      .wallet-inputs-math-head {

      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
  
    }

  
      .wallet-inputs-math-main {

      width: 100%;
      background: rgba(255, 255, 224, 0.30);
      height: 12px;
      position: relative;
  
    }

  
      .wallet-math-progress {

      position: absolute;
      min-width: 27px;
      width: 0%;
      top: 0;
      bottom: 0;
      left: 0;
      display: flex;
      align-items: center;
      justify-content: end;
  
    }

  
      .wallet-math-progress.btc {

      background: repeating-linear-gradient(
          45deg,
          #fff 0px,
          #fff 16px,
          #F7931A 10px,
          #F7931A 40px
      );
  
    }

  
      .wallet-math-progress.ltc {

      background: repeating-linear-gradient(
          45deg,
          #fff 0px,
          #fff 16px,
          #345D9D 10px,
          #345D9D 40px
      );
  
    }

  
      .wallet-math-progress.doge {

      background: repeating-linear-gradient(
          45deg,
          #fff 0px,
          #fff 16px,
          #D2A83E 10px,
          #D2A83E 40px
      );
  
    }

  
      .wallet-math-progress-icon {

      background: #FFF;
      border-radius: 50%;
      padding: 0px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: -2px;
      position: relative;
      cursor: pointer;
  
    }

  
      .wallet-math-progress.btc .wallet-math-progress-icon {

      border: 3px solid #F7931A;
  
    }

  
      .wallet-math-progress.ltc .wallet-math-progress-icon {

      border: 3px solid #345D9D;
  
    }

  
      .wallet-math-progress.doge .wallet-math-progress-icon {

      border: 3px solid #D2A83E;
  
    }

  
      .wallet-math-progress-icon img {

      width: 24px;
      height: 24px;
  
    }

  
      .wallet-math-progress-hover {

      position: absolute;
      top: 36px;
      padding: 4px 8px;
      background: #FFF;
      box-shadow: 0px 4px 31.4px 0px rgba(0, 0, 0, 0.30);
      color: var(--section-mode-font-color-subdued, #999894);
      text-align: center;
      font-family: "Roboto Mono";
      font-size: 12px;
      font-style: normal;
      font-weight: 500;
      line-height: 150%;
      width: 283px;
      display: block;
      z-index: 8;
  
    }

  
      .wallet-math-progress-icon:hover .wallet-math-progress-hover {

      display: block!important;
  
    }

  
      .wallet-math-progress-hover span {

      font-weight: 700;
      color: #000;
  
    }

  
      .wallet-math-progress-icon::before {

      content: "";
      position: absolute;
      bottom: -13px;
      left: auto;
      right: auto;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-bottom: 10px solid white;
      opacity: 0;
      z-index: 999;
  
    }

  
      .wallet-math-progress-icon:hover::before {

      opacity: 1;
  
    }

  
      .wallet-inputs-math-head p {

      color: var(--child-mode-1-background-1, #0D0C07);
      font-size: 12px;
      font-style: normal;
      font-weight: 500;
      line-height: 150%;
  
    }

  
      .v3-deposit-gr-code-block-wrap {

      width: 100%;
      display: flex;
      padding: 16px;
      align-items: center;
      gap: 8px;
      border: 1px solid var(--foreground, #0D0C07);
      background: var(--background-alt, #FFFACD);
      overflow: hidden;
  
    }

  
      .v3-deposit-gr-code-block-info {

      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      max-width: 252px;
      aspect-ratio: 1/1;
      padding: 16px;
      border-radius: 6.4px 6.4px 25.6px 6.4px;
      background: #F1DB53;
      box-shadow: 0px 3.2px 8px 0px rgba(0, 0, 0, 0.50) inset, -3.2px -3.2px 8px 0px rgba(255, 255, 255, 0.20) inset;
  
    }

  
      .v3-deposit-gr-code-block-info img {

      width: 100%;
      max-width: 205px;
      aspect-ratio: 1/1;
  
    }

  
      .v3-deposit-gr-code-block-anim {

      width: 100%;
      max-width: 252px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
  
    }

  
      .v3-deposit-gr-code-block-anim-value p {

      color: var(--Success-30, #34A853);
      font-feature-settings: 'liga' off, 'clig' off;
      font-size: 14px;
      font-style: normal;
      font-weight: 700;
      line-height: 150%;
  
    }

  
      .v3-deposit-gr-code-block-anim-value {

      display: none;
      gap: 4px;
      align-items: center;
  
    }

  
      .v3-deposit-gr-code-block-anim-value img {

      width: 20px;
      height: 20px;
  
    }

  
      .v3-deposit-gr-code-block-anim-text{

      color: var(--section-mode-font-color-1, #0D0C07);
      text-align: center;
      font-family: "Public Pixel";
      font-size: 16px;
      font-style: normal;
      font-weight: 400;
      line-height: 180%;
      letter-spacing: -0.48px;
  
    }

  
      .v3-deposit-gr-code-block-anim-gifs {

      width: 100%;
      height: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
  
    }

  
      .v3-deposit-gr-code-block-anim-gifs-item {

      width: 100%;
  
    }

  
      .v3-deposit-gr-code-block-anim-gifs-png {

      width: 50px;
      position: absolute;
      left: 50px;
      top: 35px;
      transition: left 0.8s ease, top 0.8s ease;
  
    }

  
      .v3-deposit-gr-code-block-anim.state1 .state2, .v3-deposit-gr-code-block-anim.state1 .state3 {

      display: none;
  
    }

  
      .v3-deposit-gr-code-block-anim.state2 .state1, .v3-deposit-gr-code-block-anim.state2 .state3 {

      display: none;
  
    }

  
      .v3-deposit-gr-code-block-anim.state2 .v3-deposit-gr-code-block-anim-value {

      display: flex;
  
    }

  
      .v3-deposit-gr-code-block-anim.state3 .state1, .v3-deposit-gr-code-block-anim.state3 .state2 {

      display: none;
  
    }

  
      .v3-deposit-gr-code-block-anim.state3 .v3-deposit-gr-code-block-anim-value {

      display: flex;
  
    }

  
      .v3-deposit-gr-code-block-info-wrap {

      width: 100%;
      height: 100%;
      background: #FFF;
      display: flex;
      justify-content: center;
      align-items: center;
  
    }


      body.game-overlay-active #headerWalletBlock {

    position: relative;
    z-index: 997;
  
    }

  
  /* Wallet */
  
      .walletPopUP_footer-gen-wrapp {

      display: flex;
      flex-direction: column;
      gap: 8px;
      width: 100%;
  
    }

  
      .walletPopUP_footer-addition-btns {

      width: 100%;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
  
    }


      .walletPopUP_footer-addition-btns .wallet-quick-btn__icon {

      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.375rem;
      height: 1.375rem;
      border-radius: 0.25rem;
      flex-shrink: 0;
      line-height: 1;
      box-shadow: inset 0 0 0 1px rgba(13, 12, 7, 0.08);
  
    }


      .walletPopUP_footer-addition-btns .wallet-quick-btn__icon--redeem {

      background: rgba(220, 53, 69, 0.1);
      font-size: 0.92rem;
  
    }


      .walletPopUP_footer-addition-btns .wallet-quick-btn__icon--vault {

      background: rgba(201, 162, 39, 0.14);
  
    }


      .walletPopUP_footer-addition-btns .wallet-quick-btn__icon--tip {

      background: rgba(244, 213, 59, 0.18);
  
    }


      .walletPopUP_footer-addition-btns .wallet-quick-btn__icon--history {

      background: rgba(46, 149, 73, 0.12);
  
    }


      .walletPopUP_footer-addition-btns .wallet-quick-btn__svg {

      display: block;
      width: 1rem;
      height: 1rem;
  
    }


      .walletPopUP_footer-addition-btns .btn-small-secondary:active .wallet-quick-btn__icon {

      opacity: 0.82;
  
    }

  
      .actionsWalletWrap {

      position: absolute;
      width: 100%;
      top: .5rem;
      right: .5rem;
      display: flex;
      gap: .5rem;
      justify-content: flex-end;
  
    }

  
      .redeemTickets-box {

      width: 100%;
      display: flex;
      padding: 16px;
      justify-content: center;
      gap: 8px;
      background: var(--monochrome-dark-10, rgba(13, 12, 7, 0.10));
  
    }

  
      .redeemTickets-box-block {

      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 8px;
  
    }

  
      .redeemTickets-box-block-flex {

      display: flex;
      align-items: center;
      gap: 2px;
  
    }

  
      .redeemTickets-box-block-input-text-with-date {

      flex: 1;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-left: 16px;
  
    }

  
      .redeemTickets-box-block-input-text-with-date-txt {

      color: var(--muted-foreground, #999894);
      font-feature-settings: 'liga' off, 'clig' off;
      font-family: "Roboto Mono";
      font-size: 16px;
      font-style: normal;
      font-weight: 400;
      line-height: 110%;
  
    }

  
      .redeemTickets-box-block-input-text-with-date-value {

      background: var(--background-neutral, #FFF);
      box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.40) inset;
      padding: 4px 12px;
      display: flex;
      align-items: center;
  
    }

  
      .redeemTickets-box-block-input-text-with-date-value p {

      color: var(--foreground, #0D0C07);
      text-align: center;
      font-family: "Roboto Mono";
      font-size: 14px;
      font-style: normal;
      font-weight: 700;
      line-height: 140%;
      letter-spacing: 0.14px;
  
    }

  
      .redeemTickets-box.no-bg {

      background: transparent;
      padding: 0;
  
    }

  
      .redeemTickets-box-block-flex svg {

      width: 16px;
      height: 16px;
  
    }

  
      .redeemTickets-box-block-input {

      width: 100%;
      display: flex;
      border: 1px solid var(--section-mode-border-color-1, #262624);
      background: var(--section-mode-font-color-alt, #FFF);
      align-items: center;
      height: auto;
  
    }

  
      .redeemTickets-box-block-input-img {

      padding: 8px;
      background: rgba(242, 242, 242, 0.50);
      width: 48px;
      aspect-ratio: 1/1;
  
    }

  
      .redeemTickets-box-block-input-text {

      flex: 1;
  
    }

  
      .redeemTickets-box-block-input-text p {

      color: var(--foreground, #0D0C07);
      font-feature-settings: 'liga' off, 'clig' off;
      font-family: "Roboto Mono";
      font-size: 16px;
      font-style: normal;
      font-weight: 400;
      line-height: 110%;
      flex: 1;
      padding-left: 16px;
  
    }

  
      .redeemTickets-box-block-input-img p {

      color: var(--accent, #FBE24B);
      text-align: center;
      font-feature-settings: 'liga' off, 'clig' off;
      font-family: "Roboto Mono";
      font-size: 24px;
      font-style: normal;
      font-weight: 700;
      line-height: 32px;
  
    }

  
      .header_wallet-block .input_with_usd .input_with_prefix {

      padding: 0;
  
    }

  
  @media (max-width: 1024px) {

  
    }


  
  @media screen and (max-width: 950px) {

  
              .wallet-math-progress-icon {

          position: initial;
      
        }

  
              .wallet-math-progress-hover {

          top: 32px;
      
        }

  
              .wallet-math-progress-icon::before {

          bottom: -20px;
      
        }
    }


  
  
  @media screen and (max-width: 830px) {

  
              .wallet-account-info-currency {

          display: grid;
          grid-template-columns: repeat(2, 1fr);
      
        }

  
              .wallet-account-info-currency > :nth-child(5) {

          grid-column: auto;
      
        }

  
              .header_wallet-block {

          gap: 0.5rem;
      
        }
    }


  
  @media screen and (max-width: 650px) {

  
              .wallet-account-info-currency {

          display: grid;
          grid-template-columns: repeat(1, 1fr);
      
        }

  
              .wallet-account-info-currency > :nth-child(5) {

          grid-column: auto;
      
        }
    }


  
  @media screen and (max-width: 600px) {

  
              .v3-deposit-gr-code-block-wrap {

          flex-direction: column;
      
        }

  
              .redeemTickets-box {

          flex-direction: column;
      
        }

  
               .redeemTickets-box {

          flex-direction: column;
      
        }
    }


  
  @media screen and (max-width: 500px) {

  
              .walletPopUP {

          padding: 24px;
      
        }

  
              .deposit-gr-code-block {

          padding-top: 0;
      
        }

  
              .baseWalletTxtInfo {

          font-size: 16px;
      
        }

  
              .walletPopUP_main-depwith {

          gap: var(--wallet-header-pad-bottom, 1rem);
      
        }

  
              .accountWalletDepWithBtn {

          flex-direction: column;
          gap: 8px;
      
        }

  
      /* Wallet */
              .walletPopUP_footer-addition-btns {

          grid-template-columns: repeat(2, 1fr);
      
        }

  
              .walletPopUP_footer {

          display:flex;
          flex-direction: row;
          gap:8px;
      
        }
    }


  
  @media screen and (max-width: 450px) {

  
              .walletPopUP_main-links {

          flex-direction: column;
          gap: 8px;
      
        }

  
              .account-wallet-add-buttons {

          flex-direction: column;
      
        }

  
              .wallet-inputs-math-head {

          flex-direction: row;
          align-items: flex-start;
          gap: 2px;
      
        }

  
              .wallet-inputs-math {

          gap: 12px;
      
        }
    }


  
  @media screen and (max-width: 430px) {

  
              .wallet-sw-block button {

          font-size: 12px;
          padding: 0.5rem 0.5rem;
      
        }

  
              .wallet-sw-block img {

          max-width: 24px;
      
        }
    }


  
  @media screen and (max-width: 400px) {

  
              #headerWalletBlock {

          justify-content: end;
      
        }

  
              .walletPopUP .walletPopUP-gen-txt:not(.no-padd) {

          font-size: 18px;
      
        }

  
              .walletPopUP_subtitle, .walletPopUP_addtext, .verticalTxtFlex_toptxt {

          font-size: 12px;
      
        }

  
              .verticalTxtFlex_bottomtxt {

          font-size: 8px;
      
        }

  
              .walletPopUP {

          padding: 16px;
      
        }

  
              .baseWalletTxtInfo {

          font-size: 14px;
      
        }

  
              .balanceMatchInfoBlock p {

          font-size: 12px;
      
        }

  
              .wallet-math-progress-hover {

          width: 220px;
      
        }
    }


  
  @media screen and (max-width: 350px) {

  
              #headerWalletBlock {

          width: 100%;
      
        }
    }




  @media screen and (max-width: 650px) {



            .v3-deposit-gr-code-block-wrap {

        flex-direction: column;
    
        }


        .v3-deposit-gr-code-block-info {

  width:auto !important;
  height:auto !important;
  padding:0 !important;
  margin:0 auto !important;
        }


        .v3-deposit-gr-code-block-info-wrap {

  display:inline-block !important;
  width:auto !important;
  height:auto !important;
  padding:0 !important;
  margin:0 auto !important;
  line-height:0 !important;
        }


        .deposit-gr-code-img {

  width:150px !important;
  height:150px !important;
  display:block !important;
  margin:0 auto !important;
  border:3px solid #000 !important;
  background:#fff !important;
  padding:5px !important;
  box-sizing:border-box !important;
        }
    }



    #ArrowNavRotateWallet, #ArrowNavRotateHandleBalance {

    transform-origin: center center;
    transform: rotate(0deg);
    transition: transform 0.5s ease;
    }


    #ArrowNavRotateWallet, #ArrowNavRotateHandleBalance {

    transform-origin: center center;
    transform: rotate(0deg);
    transition: transform 0.5s ease;
    }


    .menu-dropdown-wallet {

    left: 0;
    right: 0;
    }


    #walletList .menu-dropdown-desctop-item-content img {

    width: 1.25rem;
    height: 1.25rem;
    }


    .header_wallet {
        display: flex;
    }


    .walletActive.active {

    background: var(--section-mode-font-color-1-10);
    pointer-events: none;
    }


    #depositPopUpBtn {
        cursor: pointer;
    }


    .header-deposite-block #depositPopUpBtn {
        justify-content: center;
    }


    .sw-icon-wallet {

    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    right: -0.5625rem;
    top: -0.5rem;
    }


    .walletPopUP {

    border: 0.0625rem solid var(--section-mode-font-color-1, #0D0C07);
    background: var(--section-mode-background-accent, #FBE24B);
    box-shadow: 1.5rem 1.5rem 0rem 0rem rgba(0, 0, 0, 0.40);
    width: 100%;
    max-width: 40rem;
    display: flex;
    padding: var(--element-pad-xxlarge, 2rem) 2rem;
    flex-direction: column;
    align-items: center;
    gap: var(--element-gap-xxlarge, 2rem);
    position: relative;
    max-height: 90vh;
    overflow: auto;
    }


    .walletPopUP::-webkit-scrollbar {

    width: 0;
    height: 0;
    }


    .walletPopUP {
        -ms-overflow-style: none;
    }


    .walletPopUP {
        overflow: -moz-scrollbars-none;
    }


    .walletPopUP-gen-txt {

    color: var(--section-mode-font-color-1, #0D0C07);
    text-align: center;
    font-family: "Roboto Mono";
    font-size: 2.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.045rem;
    }


    .wallet-sw-block {

    width: fit-content;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
    padding-top: 2.5rem;
    }


    .wallet-sw-block img {

    width: 100%;
    max-width: 1.5rem;
    }


    .wallet-sw-block button {

    display: flex;
    padding: var(--element-pad-small, 0.75rem) var(--element-pad-large, 1.25rem);
    justify-content: center;
    align-items: center;
    gap: var(--element-gap-small, 0.75rem);
    border-radius: var(--other-border-radius-none, 0rem);
    border: 0.0625rem solid var(--secondary-btn-fill-selected-sec, #FFF);
    background: var(--Gradient-bright-yellow, linear-gradient(142deg, #FAEDA2 3.28%, #FCE668 52.58%, #D8B90D 93.74%));
    box-shadow: none;
    color: var(--accent-btn-font-color-default-sec, #0D0C07);
    text-align: center;
    font-family: "Roboto Mono";
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    }


    .wallet-sw-block button:hover {

    border-radius: var(--other-border-radius-none, 0rem);
    border: 0.0625rem solid var(--accent-btn-font-color-hover-sec, #0D0C07);
    background: var(--accent-btn-fill-hover-sec, #FAEDA2);
    box-shadow: none;
    }


    .walletPopUP_main {

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--wallet-header-pad-bottom, 1.5rem);
    align-self: stretch;
    }


    .walletPopUP_main-inputs-block {

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    align-self: stretch;
    }

    .affiliate-balance-item .openRedeemTicketsPopUP {

    margin: .375rem;
    padding: 0 0.9rem;
    font-size: 0.8125rem;
    gap: .5rem;
    }


    .walletPopUP_main .affiliate-balance-item {
        width: 100%;
    }


    .walletPopUP_main .affiliate-balance-item img {
        height: auto;
    }


    .walletPopUP_main .affiliate-balance-item p {
        color: #0D0C07;
    }


    .walletPopUP_main-divider {

    width: 100%;
    height: 0.0625rem;
    max-width: 18.5rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    opacity: 0.5;
    background-color: #262624;
    }


    .walletPopUP_main-depwith .account-info-inputs-wrapper {
        opacity: 1 !important;
    }


    .walletPopUP_main-depwith {

    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--element-gap-xxlarge, 2rem);
    }


    .walletPopUP_main-depwith .menu-dropdown-selector-coins {
        z-index: 9;
    }


    .walletPopUP_main-inputs-block .affiliate-balance-item-value {
        display: flex;
    }


    .walletPopUP_main-inputs-block .affiliate-balance-item-value p {

    max-width: 100%;
    width: fit-content;
    overflow-x: scroll;
    }


    .walletPopUP_main-inputs-block .affiliate-balance-item-value p::-webkit-scrollbar {

    width: 0;
    height: 0;
    }


    .walletPopUP_main-inputs-block .affiliate-balance-item-value p {
        -ms-overflow-style: none;
    }


    .walletPopUP_main-inputs-block .affiliate-balance-item-value p {
        overflow: -moz-scrollbars-none;
    }


    .wallet-inputs-with-math {

    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    }


    .wallet-inputs-math {

    display: flex;
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    background: var(--monochrome-dark-10, rgba(13, 12, 7, 0.10));
    }


    .wallet-inputs-math-head {

    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    }


    .wallet-inputs-math-main {

    width: 100%;
    background: rgba(255, 255, 224, 0.30);
    height: 0.75rem;
    position: relative;
    }


    .wallet-inputs-math-head p {

    color: var(--child-mode-1-background-1, #0D0C07);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    }


    .wallet-math-progress {

    position: absolute;
    min-width: 1.6875rem;
    width: 0%;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: end;
    }


    .wallet-math-progress.btc {

    background: repeating-linear-gradient(45deg,
            #fff 0rem,
            #fff 1rem,
            #F7931A 0.625rem,
            #F7931A 2.5rem);
    }


    .wallet-math-progress.ltc {

    background: repeating-linear-gradient(45deg,
            #fff 0rem,
            #fff 1rem,
            #345D9D 0.625rem,
            #345D9D 2.5rem);
    }


    .wallet-math-progress.doge {

    background: repeating-linear-gradient(45deg,
            #fff 0rem,
            #fff 1rem,
            #D2A83E 0.625rem,
            #D2A83E 2.5rem);
    }


    .wallet-math-progress.sol {

    background: repeating-linear-gradient(45deg,
            #fff 0rem,
            #fff 1rem,
            #000 0.625rem,
            #000 2.5rem);
    }

    .wallet-math-progress-icon {

    background: #FFF;
    border-radius: 50%;
    padding: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -0.125rem;
    position: relative;
    cursor: pointer;
    }


    .wallet-math-progress.btc .wallet-math-progress-icon {
        border: 0.1875rem solid #F7931A;
    }


    .wallet-math-progress.ltc .wallet-math-progress-icon {
        border: 0.1875rem solid #345D9D;
    }


    .wallet-math-progress.doge .wallet-math-progress-icon {
        border: 0.1875rem solid #D2A83E;
    }


    .wallet-math-progress.sol .wallet-math-progress-icon {
        border: 0.1875rem solid #000;
    }


    .wallet-math-progress-icon img {

    width: 1.5rem;
    height: 1.5rem;
    }


    .wallet-math-progress-hover {

    position: absolute;
    top: 2.25rem;
    padding: 0.25rem 0.5rem;
    background: #FFF;
    box-shadow: 0rem 0.25rem 1.9375rem 0rem rgba(0, 0, 0, 0.30);
    color: var(--section-mode-font-color-subdued, #999894);
    text-align: center;
    font-family: "Roboto Mono";
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    width: 17.6875rem;
    display: block;
    z-index: 8;
    }


    .wallet-math-progress-icon:hover .wallet-math-progress-hover {
        display: block !important;
    }


    .wallet-math-progress-hover span {

    font-weight: 700;
    color: #000;
    }


    .wallet-math-progress-icon::before {

    content: "";
    position: absolute;
    bottom: -0.8125rem;
    left: auto;
    right: auto;
    border-left: 0.625rem solid transparent;
    border-right: 0.625rem solid transparent;
    border-bottom: 0.625rem solid white;
    opacity: 0;
    z-index: 999;
    }


    .wallet-math-progress-icon:hover::before {
        opacity: 1;
    }


    .affiliate-balance-item-type .wallet-ticket-icon {

    margin: 0;
    font-size: 1.5rem;
    line-height: 1;
    }


    .walletPopUP_main-links {

    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    }


    .walletPopUP_main-links-item {

    display: flex;
    align-items: center;
    gap: var(--element-gap-xsmall, 0.5rem);
    cursor: pointer;
    }


    .walletPopUP_main-links-item p {

    color: var(--status-color-main, #4D4DFF);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Roboto Mono";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    }


    .walletPopUP_main-depwith_inputs {

    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    }


    .walletPopUP_main-links-item svg {

    width: 1.25rem;
    height: 1.25rem;
    }


    .walletPopUP_footer {

    display: flex;
    align-self: stretch;
    gap: 0.5rem;
    align-self: stretch;
    }


    .walletPopUP_footer button {

    width: 100%;
    font-size: 1rem;
    border: 0;
    box-shadow: none;
    padding: .75rem;
    }


    .closeWalletPopup {

    padding: var(--element-pad-xsmall, 0.5rem);
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    }


    .closeWalletPopup svg {

    width: 100%;
    height: 100%;
    }


    .backWalletPopup {

    position: absolute;
    right: auto;
    left: 1rem;
    top: 1rem;
    padding: var(--element-pad-xsmall, 0.5rem);
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    }


    #depositePOPup, #withdrawPOPup {

    position: absolute;
    opacity: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    }


    #withdrawPopup {

    position: absolute;
    opacity: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    }


    .withdraw-taxes {

    width: 100%;
    display: flex;
    padding: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    align-self: stretch;
    background: var(--monochrome-dark-10, rgba(13, 12, 7, 0.10));
    overflow: visible;
    }


    .walletPopUP_subtitle {

    color: var(--section-mode-font-color-1, #0D0C07);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Roboto Mono";
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    }


    .walletPopUP .menu-dropdown-selector-coins {

    z-index: 2;
    top: 2.6875rem;
    }


/* Currency dropdown must stack above nickname / fee rows (withdraw + tip). */
    .walletPopUP .walletPopUP_main > .walletPopUP_main-inputs-block:first-child,
    .walletPopUP .balanceWithdrawMatch > .walletPopUP_main-inputs-block:first-child {

    position: relative;
    z-index: 5;
    }


    .walletPopUP .walletPopUP_main > .walletPopUP_main-inputs-block:not(:first-child),
    .walletPopUP .walletPopUP_main > .withdraw-option-grid,
    .walletPopUP .balanceWithdrawMatch > .withdraw-option-grid {

    position: relative;
    z-index: 1;
    }


    .walletPopUP .walletPopUP_main .menu-dropdown-selector-coins,
    .walletPopUP .balanceWithdrawMatch .menu-dropdown-selector-coins {
        z-index: 10;
    }


    .walletSuccessImg {
        max-width: 131px;
    }


    .balanceMatchInfoBlock {

    padding: 0.5rem;
    background: #FFF;
    }


    .balanceMatchInfoBlock p {

    color: var(--section-mode-font-color-subdued, #999894);
    font-family: "Roboto Mono";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    }


    .balanceMatchInfoBlock span {
        color: var(--section-mode-font-color-1, #0D0C07);
    }


    .balanceWithdrawMatch {

    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    }


    .walletPopUP_addtext {

    color: var(--section-mode-font-color-subdued, #999894);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Roboto Mono";
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    }


    .deposit-gr-code-block .walletPopUP_addtext {
        text-align: center;
    }


    .confirmWalletCodeBlock .walletPopUP_addtext {
        text-align: center;
    }


    .walletPopUP_main-depwith_inputs {

    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    }


    .v3-deposit-gr-code-block-wrap {

    width: 100%;
    display: flex;
    padding: 1rem;
    align-items: center;
    gap: 0.5rem;
    border: 0.0625rem solid var(--foreground, #0D0C07);
    background: var(--background-alt, #FFFACD);
    overflow: hidden;
    }


    .v3-deposit-gr-code-block-anim {

    width: 100%;
    max-width: 15.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    }


    .v3-deposit-gr-code-block-anim-value p {

    color: var(--Success-30, #34A853);
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    }


    .v3-deposit-gr-code-block-anim-value {

    display: none;
    gap: 0.25rem;
    align-items: center;
    }


    .v3-deposit-gr-code-block-anim-value img {

    width: 1.25rem;
    height: 1.25rem;
    }


    .v3-deposit-gr-code-block-anim-text {

    color: var(--section-mode-font-color-1, #0D0C07);
    text-align: center;
    font-family: "Roboto Mono";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: -0.03rem;
    }


    .v3-deposit-gr-code-block-anim-gifs {

    width: 100%;
    height: 6.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    }


    .v3-deposit-gr-code-block-anim-gifs-item {
        width: 100%;
    }


    .v3-deposit-gr-code-block-anim-gifs-png {

    width: 3.125rem;
    position: absolute;
    left: 3.125rem;
    top: 2.1875rem;
    transition: left 0.8s ease, top 0.8s ease;
    }


    .v3-deposit-gr-code-block-anim.state1 .state2, .v3-deposit-gr-code-block-anim.state1 .state3 {
        display: none;
    }


    .v3-deposit-gr-code-block-anim.state2 .state1, .v3-deposit-gr-code-block-anim.state2 .state3 {
        display: none;
    }


    .v3-deposit-gr-code-block-anim.state2 .v3-deposit-gr-code-block-anim-value {
        display: flex;
    }


    .v3-deposit-gr-code-block-anim.state3 .state1, .v3-deposit-gr-code-block-anim.state3 .state2 {
        display: none;
    }


    .v3-deposit-gr-code-block-anim.state3 .v3-deposit-gr-code-block-anim-value {
        display: flex;
    }


    .v3-deposit-gr-code-block-info-wrap {

    width: 100%;
    height: 100%;
    background: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    }


    .v3-deposit-gr-code-block-info {

    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 15.75rem;
    aspect-ratio: 1/1;
    padding: 1rem;
    border-radius: 0.375rem 0.375rem 1.5625rem 0.375rem;
    background: #F1DB53;
    box-shadow: 0rem 0.2rem 0.5rem 0rem rgba(0, 0, 0, 0.50) inset, -0.2rem -0.2rem 0.5rem 0rem rgba(255, 255, 255, 0.20) inset;
    }


    .v3-deposit-gr-code-block-info img {

    width: 100%;
    max-width: 12.8125rem;
    aspect-ratio: 1/1;
    }


    .deposit-qr-panel {

    position: relative;
    width: 100%;
    max-width: 12.8125rem;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    }


    .deposit-qr-panel .deposit-gr-code-img {

    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    border: 0.1875rem solid #0D0C07;
    background: #FFF;
    padding: 0.3125rem;
    box-sizing: border-box;
    }


    .deposit-qr-placeholder {

    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem;
    box-sizing: border-box;
    text-align: center;
    border: 0.1875rem solid #0D0C07;
    background: #FFF;
    }


    .deposit-qr-placeholder[hidden] {
        display: none !important;
    }


    .deposit-qr-placeholder__spinner {

    width: 1.75rem;
    height: 1.75rem;
    border: 0.1875rem solid rgba(13, 12, 7, 0.15);
    border-top-color: #0D0C07;
    border-radius: 50%;
    animation: deposit-qr-spin 0.8s linear infinite;
    }


    .deposit-qr-placeholder__label, .deposit-qr-placeholder__title {

    color: #0D0C07;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
    }


    .deposit-qr-placeholder__hint {

    color: rgba(13, 12, 7, 0.72);
    font-size: 0.75rem;
    line-height: 1.35;
    max-width: 11rem;
    }


    .deposit-qr-placeholder__icon {

    display: flex;
    color: rgba(13, 12, 7, 0.55);
    }


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


    .walletWithDrawSuccessBlock {

    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    }


    .walletWithDrawSuccessBlock .walletPopUP-gen-txt {
        padding: 0 !important;
    }


/* Wallet */

    .walletPopUP_footer-gen-wrapp {

    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    }


    .walletPopUP_footer-addition-btns {

    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    }


    .walletPopUP_footer-addition-btns .wallet-quick-btn__icon {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 0.25rem;
    flex-shrink: 0;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(13, 12, 7, 0.08);
    }


    .walletPopUP_footer-addition-btns .wallet-quick-btn__icon--redeem {

    background: rgba(220, 53, 69, 0.1);
    font-size: 0.92rem;
    }


    .walletPopUP_footer-addition-btns .wallet-quick-btn__icon--vault {
        background: rgba(201, 162, 39, 0.14);
    }


    .walletPopUP_footer-addition-btns .wallet-quick-btn__icon--tip {
        background: rgba(244, 213, 59, 0.18);
    }


    .walletPopUP_footer-addition-btns .wallet-quick-btn__icon--history {
        background: rgba(46, 149, 73, 0.12);
    }


    .walletPopUP_footer-addition-btns .wallet-quick-btn__svg {

    display: block;
    width: 1rem;
    height: 1rem;
    }


    .walletPopUP_footer-addition-btns .btn-small-secondary:active .wallet-quick-btn__icon {
        opacity: 0.82;
    }


    .actionsWalletWrap {

    position: absolute;
    width: 100%;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    }


    .redeemTickets-box {

    width: 100%;
    display: flex;
    padding: 16px;
    justify-content: center;
    gap: 8px;
    background: var(--monochrome-dark-10, rgba(13, 12, 7, 0.10));
    }


    .redeemTickets-box-block {

    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    }


    .redeemTickets-box-block-flex {

    display: flex;
    align-items: center;
    gap: 2px;
    }


    .redeemTickets-box-block-input-text-with-date {

    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 16px;
    }


    .redeemTickets-box-block-input-text-with-date-txt {

    color: var(--muted-foreground, #999894);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Roboto Mono";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    }


    .redeemTickets-box-block-input-text-with-date-value {

    background: var(--background-neutral, #FFF);
    box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.40) inset;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    }


    .redeemTickets-box-block-input-text-with-date-value p {

    color: var(--foreground, #0D0C07);
    text-align: center;
    font-family: "Roboto Mono";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 0.14px;
    }


    .redeemTickets-box.no-bg {

    background: transparent;
    padding: 0;
    }


    .redeemTickets-box-block-flex svg {

    width: 16px;
    height: 16px;
    }


    .redeemTickets-box-block-input {

    width: 100%;
    display: flex;
    border: 1px solid var(--section-mode-border-color-1, #262624);
    background: var(--section-mode-font-color-alt, #FFF);
    align-items: center;
    height: auto;
    }


    .redeemTickets-box-block-input-img {

    padding: 8px;
    background: rgba(242, 242, 242, 0.50);
    width: 48px;
    aspect-ratio: 1/1;
    }


    .redeemTickets-box-block-input-text {
        flex: 1;
    }


    .redeemTickets-box-block-input-text p {

    color: var(--foreground, #0D0C07);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Roboto Mono";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    flex: 1;
    padding-left: 16px;
    }


    .redeemTickets-box-block-input-img p {

    color: var(--accent, #FBE24B);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Roboto Mono";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    }


    .header_wallet-block .input_with_usd .input_with_prefix {
        padding: 0;
    }


@media screen and (max-width: 900px) {


            .wallet-math-progress-icon {

        position: initial;
    
        }


            .wallet-math-progress-hover {

        top: 2rem;
    
        }


            .wallet-math-progress-icon::before {

        bottom: -1.25rem;
    
        }
    }



@media screen and (max-width: 830px) {
        .header_wallet-block {

        gap: 0.5rem;
    
        }
    }



@media screen and (max-width: 600px) {


            .v3-deposit-gr-code-block-wrap {

        flex-direction: column;
    
        }


        .v3-deposit-gr-code-block-info {

  width:auto !important;
  height:auto !important;
  padding:0 !important;
  margin:0 auto !important;
        }


        .v3-deposit-gr-code-block-info-wrap {

  display:inline-block !important;
  width:auto !important;
  height:auto !important;
  padding:0 !important;
  margin:0 auto !important;
  line-height:0 !important;
        }


        .deposit-gr-code-img {

  width:150px !important;
  height:150px !important;
  display:block !important;
  margin:0 auto !important;
  border:3px solid #000 !important;
  background:#fff !important;
  padding:5px !important;
  box-sizing:border-box !important;
        }


        .deposit-qr-panel {

  width:150px !important;
  height:150px !important;
  max-width:150px !important;
  margin:0 auto !important;
        }


        .deposit-qr-panel .deposit-gr-code-img {

  width:150px !important;
  height:150px !important;
        }


        .deposit-qr-placeholder {

  width:150px !important;
  height:150px !important;
  padding:0.75rem !important;
        }


        .deposit-qr-placeholder__title {
            font-size:0.8125rem !important;
        }


        .deposit-qr-placeholder__hint {
            font-size:0.6875rem !important;
        }


            .redeemTickets-box {

        flex-direction: column;
    
        }
    }



@media screen and (max-width: 500px) {


            .walletPopUP_main-depwith {

        gap: var(--wallet-header-pad-bottom, 1rem);
    
        }


            .walletPopUP {

        padding: 1.5rem;
    
        }


    /* Wallet */
            .walletPopUP_footer-addition-btns {

        grid-template-columns: repeat(2, 1fr);
    
        }


            .walletPopUP_footer {

        display:flex;
        flex-direction: row;
        gap:8px;
    
        }


            .walletPopUP_footer .btn-large-primary {

        flex:1;
        width:auto;
    
        }
    }



@media screen and (max-width: 450px) {
        .walletPopUP_main-links {

        flex-direction: column;
        gap: 0.5rem;
    
        }


            .wallet-inputs-math-head {

        flex-direction: row;
        align-items: flex-start;
        gap: 0.125rem;
    
        }


            .wallet-inputs-math {

        gap: 0.75rem;
    
        }
    }



@media screen and (max-width: 430px) {
        .wallet-sw-block button {

        font-size: 0.75rem;
        padding: 0.5rem 0.5rem;
    
        }


            .wallet-sw-block img {

        max-width: 1.5rem;
    
        }
    }



@media screen and (max-width: 400px) {
        .walletPopUP .walletPopUP-gen-txt:not(.no-padd) {

        font-size: 1.125rem;
    
        }


            .wallet-math-progress-hover {

        width: 13.75rem;
    
        }


            .walletPopUP_subtitle, .walletPopUP_addtext, .verticalTxtFlex_toptxt {

        font-size: 0.75rem;
    
        }


            .balanceMatchInfoBlock p {

        font-size: 0.75rem;
    
        }


            .walletPopUP {

        padding: 1rem;
    
        }
    }



/* --- Header wallet chrome (from header.css) --- */

.header-base-wallet-change .headerSmallWalletBtn {
    width: calc(3rem - 4px);
    height: calc(3rem - 4px);
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 6px 6px 0;
    box-shadow: none !important;
    background: #0D0C07 !important;
    border: 1px solid #0D0C07 !important;
    color: #FBE24B !important;
}
.header-base-wallet-change .headerSmallWalletBtn:hover,
.header-base-wallet-change .headerSmallWalletBtn:active,
.header-base-wallet-change .headerSmallWalletBtn:focus-visible {
    background: #262624 !important;
    border-color: #262624 !important;
    color: #FBE24B !important;
}
.header-base-wallet-change .headerSmallWalletBtn svg {
    width: 1.5rem;
    height: 1.5rem;
}
.header-base-wallet-change .headerSmallWalletBtn svg path {
    fill: currentColor;
}
#walletPicker {
    height: 100%;
    width: 100%;
}
#walletPicker .input_with_usd {
    padding: 0;
}
#walletPicker .input_with_usd p {
    padding: 0;
    line-height: 1;
}
#walletPicker .input_with_usd p#walletPickerValueCrypto,
#walletPicker .input_with_usd p#walletPickerValueMoney {
    white-space: nowrap;
}
#walletPickerValueMoney {
    color: #000 !important;
    font-size: 1rem;
}
.header_wallet-block {
    border: 0.0625rem solid #262624;
    background: #FFF;
    display: flex;
    padding: 0 0.855rem;
    gap: 0.855rem;
    justify-content: space-between;
    align-items: center;
    flex: 1 1 auto;
    align-self: stretch;
    min-width: 0;
    min-height: calc(3rem - 4px);
    height: calc(3rem - 4px);
    box-sizing: border-box;
    border-radius: 6px 0 0 6px;
}
.header-base-wallet-change {
    display: flex;
    gap: 0;
    flex: 0 1 auto;
    max-width: 100%;
}
.header_wallet {
    width: 100%;
}
#headerWalletBlock {
    min-width: 180px;
    width: fit-content;
    max-width: 100%;
}
#headerWalletBlock .btn-small-accent{
   justify-content: space-between;
}
#walletActiveCurrency{
    gap: .05rem;
    flex-shrink: 0;
}
#walletList .menu-dropdown-desctop-item-content p{
  display:flex;
  flex-direction:column;
  margin:0;
  padding:0;
  line-height:1.05;
}
#walletList .wallet-row-crypto{
  display:block;
  font-size:.78rem;
  font-weight:400;
  color:#6a6a6a;
  margin-bottom:.12rem;
}
#walletList .wallet-row-usd{
  display:block;
  font-size:1.05rem;
  font-weight:500;
  color:#111;
}
#walletList .menu-dropdown-desctop-item{
  border-bottom:1px solid rgba(0,0,0,.1);
}
#walletList .menu-dropdown-desctop-item:last-child{
  border-bottom:none;
}

@media screen and (max-width: 850px) {
    .nav-header-menu-desc:has(.header-base-wallet-change) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 0.5rem;
    }
    .nav-header-menu-desc:has(.header-base-wallet-change) > .header-logo-mob,
    .nav-header-menu-desc:has(.header-base-wallet-change) > .header-logo-desc {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        flex-shrink: 0;
    }
    .nav-header-menu-desc:has(.header-base-wallet-change) > .header-base-wallet-change {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        flex: none;
        min-width: 0;
        max-width: calc(100vw - 7rem);
    }
    .nav-header-menu-desc:has(.header-base-wallet-change) > .header_logged_user {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        flex-shrink: 0;
    }
    .header-base-wallet-change {
        gap: 0;
    }
    #headerWalletBlock {
        min-width: 135px;
        width: fit-content;
        max-width: 100%;
        flex: none;
    }
    #walletPicker {
        min-width: 0;
    }
    #walletPicker .input_with_usd p {
        font-size: .625rem;
    }
    #walletPicker .input_with_usd p#walletPickerValueCrypto {
        font-size: 0.6875rem;
    }
    #walletPicker .input_with_usd p#walletPickerValueMoney {
        font-size: .8125rem;
    }
    .header_wallet-block {
        padding: 0 .5rem;
        gap: 0.375rem;
        min-width: 0;
    }
    #walletActiveCurrency{
        gap: .17rem;
        flex-shrink: 0;
    }
    #walletActiveCurrency svg{
        width: 1rem;
    }
    #walletActiveCurrency img{
        width: 1rem;
    }
    .header-base-wallet-change .headerSmallWalletBtn {
        width: calc(2.25rem - 4px);
        height: calc(2.25rem - 4px);
        flex-shrink: 0;
    }
    .header-base-wallet-change .headerSmallWalletBtn svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    .header_wallet-block,
    #headerWalletBlock,
    #walletPicker {
        min-height: calc(2.25rem - 4px);
        height: calc(2.25rem - 4px);
    }
    #walletList{
        top: calc(2.25rem - 4px)!important;
        box-shadow: var(--btn-in-shadow-2);
        z-index: 9;
        width: 100%;
        min-width: 173px;
    }
}

@media screen and (max-width: 350px) {
    #headerWalletBlock {
        width: 100%;
        min-width: 135px;
        max-width: 100%;
    }
}

/* Vault lock controls (wallet modal) */


#vaultPopUP .vault-lock-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

#vaultPopUP .vault-lock-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.375rem;
  width: 100%;
  margin: 0;
}

#vaultPopUP .vault-lock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 2.5rem;
  padding: 0.5rem 0.25rem;
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  background: #fff;
  border: 1px solid #0D0C07;
  color: #0D0C07;
  border-radius: var(--wallet-field-r, 6px);
  box-shadow: none;
  cursor: pointer;
}

#vaultPopUP .vault-lock-btn__icon {
  flex-shrink: 0;
  font-size: 0.75rem;
  line-height: 1;
}

#vaultPopUP #vaultLockStatus {
  width: 100%;
  text-align: center;
  margin: 0;
}

#vaultPopUP .vault-lock-btn:hover{
  background:#f5f5f5;
  border-color:#000;
}

/* --- Compact wallet: −25% width (640px → 480px) --- */
.walletPopUP {
    max-width: 30rem;
    box-shadow: 1.125rem 1.125rem 0 0 rgba(0, 0, 0, 0.4);
}

/* Wallet modals: sit ~50px above vertical center */
.login-register-overlay:has(.walletPopUP) {
    padding-bottom: 50px;
}

/* Main wallet (#walletPopUP): 3 actions, then withdraw / deposit */
#walletPopUP .wallet-balance-link {
    cursor: pointer;
}

#walletPopUP .walletPopUP_footer-gen-wrapp {
    gap: 0.5rem;
}

#walletPopUP .walletPopUP_footer-addition-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

#walletPopUP .walletPopUP_footer-addition-btns .wallet-quick-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 100%;
}

#walletPopUP .walletPopUP_footer {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

#walletPopUP .walletPopUP_footer .btn-large-primary {
    width: 100%;
    justify-content: center;
}

/* Ticket redeem popup */
#redeemTicketsPopUP .redeem-tickets-amount-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
}

#redeemTicketsPopUP .redeem-tickets-amount-header .walletPopUP_subtitle {
    margin: 0;
}

#redeemTicketsPopUP .redeem-tickets-available {
    margin: 0;
    flex-shrink: 0;
    text-align: right;
    font-family: "Roboto Mono", monospace;
    font-size: 0.8125rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--section-mode-font-color-1, #0D0C07);
    white-space: nowrap;
    cursor: pointer;
}

.walletPopUP .wallet-form-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    box-sizing: border-box;
}

.walletPopUP .wallet-form-stack > * {
    width: 100%;
}

.walletPopUP .wallet-form-stack :is(
    .redeemTickets-box-block,
    .tip-amount-block,
    .tip-nickname-block,
    .withdraw-amount-block,
    .withdraw-sol-address-block
) {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.walletPopUP .wallet-form-stack .tip-nickname-block,
.walletPopUP .wallet-form-stack .withdraw-sol-address-block {
    gap: 0.5rem;
}

.walletPopUP .wallet-form-stack .withdraw-sol-address-block,
.walletPopUP .wallet-form-stack .withdraw-sol-address-content {
    padding-top: 0;
    margin: 0;
}

#redeemTicketsPopUP .redeem-tickets-stack .redeemTickets-box-block {
    width: 100%;
    gap: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════════
   WALLET MODAL TITLE SPACING — tweak here only
   Applies to every wallet window title (Wallet, Tip, Vault, Deposit,
   Withdraw, Rewards, Settings, Match, …)

   --wallet-header-pad-top:     space above the pixel title text
   --wallet-header-pad-bottom:  space below the title before body content
                                (also sets main↔footer gap on .walletPopUP)
   Note: .walletPopUP padding-top (shell inset, ~2rem) sits above this and
   clears the close/back buttons — search --element-pad-xxlarge on .walletPopUP.
   ═══════════════════════════════════════════════════════════════════ */
.walletPopUP {
    --wallet-header-pad-top: 0.75rem;
    --wallet-header-pad-bottom: 2rem;
    gap: var(--wallet-header-pad-bottom);
}

.walletPopUP .dep-top-title-flex {
    width: 100%;
    align-self: stretch;
}

.walletPopUP .walletPopUP-gen-txt:not(.no-padd) {
    margin: 0;
    padding-top: var(--wallet-header-pad-top);
    padding-bottom: 0;
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: "Roboto Mono", ui-monospace, monospace;
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
    text-align: center;
}

.walletPopUP .walletPopUP-gen-txt:not(.no-padd)::before,
.walletPopUP .walletPopUP-gen-txt:not(.no-padd)::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
}

.walletPopUP .walletPopUP_main,
.walletPopUP .walletPopUP_main-depwith,
.walletPopUP .v3-main-dep-popup-wrap {
    gap: var(--wallet-header-pad-bottom);
}

/* Direct-child titles (Wallet, Tip, Vault, Rewards, …) */
.walletPopUP > .walletPopUP-gen-txt:not(.no-padd) {
    padding-top: var(--wallet-header-pad-top);
}

/* Nested titles (Deposit / Withdraw panels) */
#walletDepositPOPUP .walletPopUP-gen-txt:not(.no-padd),
#walletWithDrawPOPUP > .walletPopUP-gen-txt:not(.no-padd) {
    padding-top: var(--wallet-header-pad-top);
}

@media screen and (max-width: 650px) {
    .walletPopUP {
        --wallet-header-pad-top: 1.15rem;
        --wallet-header-pad-bottom: 1.75rem;
    }
}

/* Body content: no top padding — vertical spacing comes from --wallet-header-pad-bottom gap only */
.walletPopUP :is(
    .walletPopUP_main-inputs-block,
    .account-info-inputs-block,
    .account-info-inputs-block-content,
    .deposit-sol-address-block,
    .deposit-sol-address-content,
    .withdraw-sol-address-block,
    .withdraw-sol-address-content,
    .redeem-tickets-stack,
    .wallet-form-stack,
    .deposit-gr-code-block
) {
    padding-top: 0;
}

.walletPopUP .walletPopUP_subtitle {
    padding-top: 0;
    margin-top: 0;
}

/* No gray panel backgrounds — yellow modal shell only */
.walletPopUP :is(.wallet-inputs-math, .redeemTickets-box, .redeem-tickets-stack, .wallet-form-stack) {
    background: transparent;
}

/* Icon-only top corner controls (back arrow, close X, settings gear) */
.walletPopUP .wallet-popup-chrome {
    appearance: none;
    -webkit-appearance: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    min-width: 0;
    min-height: 0;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    color: #0D0C07;
}

.walletPopUP > .wallet-popup-chrome.backWalletPopup,
.walletPopUP > .wallet-popup-chrome.backWalletVaultPopUP {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 10;
    width: 1.3125rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.walletPopUP .actionsWalletWrap {
    width: auto;
    left: auto;
    top: 1rem;
    right: 1rem;
    gap: 0.75rem;
    pointer-events: none;
}

.walletPopUP .actionsWalletWrap .wallet-popup-chrome {
    position: relative;
    width: 1.3125rem;
    height: 1.25rem;
    flex-shrink: 0;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.walletPopUP .wallet-popup-chrome:hover {
    opacity: 0.65;
    background: transparent !important;
}

.walletPopUP .wallet-popup-chrome:active {
    opacity: 0.45;
    background: transparent !important;
}

.walletPopUP .wallet-popup-chrome svg {
    width: 1.3125rem;
    height: 1.25rem;
    display: block;
}

/* Deposit: address field + copy icon button */
/* Match Rewards stack: 1rem between address row and chest/QR panel; keep ~2rem under title */
#walletDepositPOPUP.v3-main-dep-popup-wrap {
    gap: 1rem;
}

#walletDepositPOPUP .dep-top-title-flex {
    margin-bottom: 1rem;
}

#walletDepositPOPUP .deposit-sol-address-block {
    position: relative;
    z-index: 5;
    width: 100%;
    align-items: stretch;
    gap: 0;
}

#walletDepositPOPUP .deposit-sol-address-content {
    width: 100%;
    gap: 0.375rem;
}

#walletDepositPOPUP .deposit-sol-address-content .walletPopUP_subtitle {
    margin: 0;
}

#walletDepositPOPUP .deposit-sol-address-row {
    position: relative;
    z-index: 6;
    display: block;
    width: 100%;
    border-radius: var(--wallet-field-r);
    overflow: hidden;
}

#walletDepositPOPUP .deposit-sol-address-field {
    width: 100%;
    min-width: 0;
}

#walletDepositPOPUP .deposit-sol-address-icon {
    flex-shrink: 0;
}

/* Sol address fields — fixed px so homepage (main.css) and games (style.css) match */
#walletDepositPOPUP .deposit-sol-address-field .affiliate-balance-item-value input.global-number,
#walletWithDrawPOPUP .withdraw-sol-address-field .affiliate-balance-item-value input.global-number {
    box-sizing: border-box;
    width: 100%;
    padding: 0.75rem 0.5rem !important;
    font-family: "Roboto Mono", monospace !important;
    font-size: 10.84px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    pointer-events: auto;
    user-select: text;
    -webkit-user-select: text;
}

#walletDepositPOPUP .deposit-sol-address-field .affiliate-balance-item-value input.global-number {
    padding-right: 3.75rem !important;
}

#walletDepositPOPUP .deposit-sol-address-copy-btn {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.125rem;
    padding: 0.5rem;
    margin: 0;
    background: #0D0C07;
    border: 1px solid #0D0C07;
    border-left: none;
    box-shadow: none;
    color: #FBE24B;
    cursor: pointer;
    border-radius: 0 var(--wallet-field-r) var(--wallet-field-r) 0;
}

#walletDepositPOPUP .deposit-sol-address-copy-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

#walletDepositPOPUP .deposit-sol-address-copy-btn:hover {
    background: #262624;
    border-color: #262624;
}

#walletDepositPOPUP .deposit-sol-address-copy-btn:active {
    opacity: 0.85;
}

/* Tip: amount row + USD balance (matches Withdraw / Rewards header pattern) */
#accountTip .walletPopUP_main {
    gap: 0;
}

#accountTip .tip-amount-block {
    width: 100%;
}

#accountTip .tip-amount-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
}

#accountTip .tip-amount-header .walletPopUP_subtitle {
    margin: 0;
}

#accountTip .tip-available-balance {
    margin: 0;
    flex-shrink: 0;
    text-align: right;
    font-family: "Roboto Mono", monospace;
    font-size: 0.8125rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--section-mode-font-color-1, #0D0C07);
    white-space: nowrap;
    cursor: pointer;
}

#accountTip .tip-amount-block .affiliate-balance-item {
    width: 100%;
}

/* Withdraw: amount row + USD balance (matches Rewards header pattern) */
#walletWithDrawPOPUP .withdraw-form-stack {
    width: 100%;
}

#walletWithDrawPOPUP .withdraw-amount-block {
    width: 100%;
}

#walletWithDrawPOPUP .withdraw-amount-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
}

#walletWithDrawPOPUP .withdraw-amount-header .walletPopUP_subtitle {
    margin: 0;
}

#walletWithDrawPOPUP .withdraw-available-balance {
    margin: 0;
    flex-shrink: 0;
    text-align: right;
    font-family: "Roboto Mono", monospace;
    font-size: 0.8125rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--section-mode-font-color-1, #0D0C07);
    white-space: nowrap;
    cursor: pointer;
}

#walletWithDrawPOPUP .withdraw-amount-block .affiliate-balance-item {
    width: 100%;
}

/* Withdraw: Solana address field (matches deposit layout, no copy button) */
#walletWithDrawPOPUP .withdraw-sol-address-block {
    position: relative;
    z-index: 1;
    width: 100%;
    align-items: stretch;
    gap: 0;
}

#walletWithDrawPOPUP .withdraw-sol-address-content {
    width: 100%;
    gap: 0.375rem;
}

#walletWithDrawPOPUP .withdraw-sol-address-content .walletPopUP_subtitle {
    margin: 0;
}

#walletWithDrawPOPUP .withdraw-sol-address-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
}

#walletWithDrawPOPUP .withdraw-sol-address-field {
    flex: 1;
    min-width: 0;
    width: 100%;
}

#walletWithDrawPOPUP .withdraw-sol-address-icon {
    flex-shrink: 0;
}

/* Deposit: chest animation + QR — equal two-column table */
#walletDepositPOPUP .v3-deposit-gr-code-block-wrap {
    position: relative;
    z-index: 1;
    display: block;
    padding: 1rem;
    overflow: hidden;
    border-radius: var(--wallet-popup-r, 12px);
}

#walletDepositPOPUP .deposit-gr-code-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#walletDepositPOPUP .deposit-gr-code-table td {
    width: 50%;
    vertical-align: middle;
    padding: 0;
}

#walletDepositPOPUP .deposit-gr-code-table__anim {
    padding-right: 0.25rem;
    overflow: hidden;
    pointer-events: none;
}

#walletDepositPOPUP .deposit-gr-code-table__qr {
    padding-left: 0.25rem;
}

#walletDepositPOPUP .v3-deposit-gr-code-block-anim {
    width: 100%;
    max-width: none;
    aspect-ratio: 1 / 1;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

#walletDepositPOPUP .v3-deposit-gr-code-block-anim.state1 .v3-deposit-gr-code-block-anim-text {
    display: none;
}

#walletDepositPOPUP .v3-deposit-gr-code-block-anim-gifs {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    flex: 1 1 auto;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

#walletDepositPOPUP .v3-deposit-gr-code-block-anim-gifs-item {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: auto;
    object-fit: contain;
    object-position: center;
    transform: scale(2);
    transform-origin: center center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

#walletDepositPOPUP .v3-deposit-gr-code-block-anim-gifs-png {
    z-index: 3;
    width: 50px;
    height: 50px;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

#walletDepositPOPUP .v3-deposit-gr-code-block-info {
    width: 100%;
    max-width: none;
    aspect-ratio: 1 / 1;
    padding: 0;
    box-sizing: border-box;
    margin: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

#walletDepositPOPUP .v3-deposit-gr-code-block-info-wrap,
#walletDepositPOPUP .deposit-qr-panel {
    width: 100%;
    height: 100%;
    max-width: none !important;
    margin: 0 !important;
    background: transparent;
}

#walletDepositPOPUP .deposit-gr-code-img,
#walletDepositPOPUP .deposit-qr-panel .deposit-gr-code-img,
#walletDepositPOPUP .deposit-qr-panel .deposit-qr-placeholder {
    width: 90% !important;
    height: 90% !important;
    max-width: 90% !important;
    max-height: 90% !important;
    margin: auto !important;
    object-fit: contain;
    box-sizing: border-box;
}

#walletDepositPOPUP .deposit-qr-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 650px) {
    #walletDepositPOPUP .deposit-sol-address-field .affiliate-balance-item-value input.global-number,
    #walletWithDrawPOPUP .withdraw-sol-address-field .affiliate-balance-item-value input.global-number {
        font-size: 9.72px !important;
    }

    #walletDepositPOPUP .v3-deposit-gr-code-block-wrap {
        display: block !important;
        flex-direction: row !important;
    }

    #walletDepositPOPUP .v3-deposit-gr-code-block-info {
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #walletDepositPOPUP .deposit-qr-panel {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
    }
}

/* ── Wallet rounding: fields 6px (header balance), popups 12px (bet-table panels) ── */
.walletPopUP {
    --wallet-field-r: 6px;
    --wallet-popup-r: 12px;
    border-radius: var(--wallet-popup-r) !important;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(13, 12, 7, 0.22) !important;
}

.walletPopUP .affiliate-balance-item,
.walletPopUP .selector-coins-input,
.walletPopUP .account-info-inputs-wrapper,
.walletPopUP .redeemTickets-box-block-input,
.walletPopUP .redeemTickets-box-block-input-text-with-date-value,
.walletPopUP .balanceMatchInfoBlock,
.walletPopUP .vault-lock-btn {
    border-radius: var(--wallet-field-r);
    overflow: hidden;
}

#redeemTicketsPopUP .redeemTickets-box-block-input-text input.global-number {
    width: 100%;
    box-sizing: border-box;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    font-family: "Roboto Mono", monospace;
    font-size: 1rem;
    line-height: 1.1;
    color: #0D0C07;
}

#redeemTicketsPopUP .redeemTickets-box-block-input-text input.global-number:focus {
    outline: none;
}

.walletPopUP .affiliate-balance-item-type {
    border-radius: var(--wallet-field-r) 0 0 var(--wallet-field-r);
}

.walletPopUP .affiliate-balance-item-value {
    border-radius: 0 var(--wallet-field-r) var(--wallet-field-r) 0;
}

.walletPopUP .affiliate-balance-item:not(:has(.affiliate-balance-item-type)) {
    border-radius: var(--wallet-field-r);
}

.walletPopUP .affiliate-balance-item:not(:has(.affiliate-balance-item-type)) .affiliate-balance-item-value {
    border-radius: var(--wallet-field-r);
}

.walletPopUP .wallet-form-stack .walletPopUP_main-inputs-block {
    gap: 0.5rem;
}

.walletPopUP .menu-dropdown-selector-coins {
    border-radius: var(--wallet-field-r);
    overflow: hidden;
}

#walletWithDrawPOPUP .withdraw-sol-address-row {
    border-radius: var(--wallet-field-r);
    overflow: hidden;
}

#walletDepositPOPUP .deposit-sol-address-field .affiliate-balance-item {
    width: 100%;
    border-radius: var(--wallet-field-r) 0 0 var(--wallet-field-r);
}

#walletDepositPOPUP .deposit-sol-address-field .affiliate-balance-item-value {
    border-radius: 0;
}

#walletWithDrawPOPUP .withdraw-sol-address-field .affiliate-balance-item,
#walletWithDrawPOPUP .withdraw-sol-address-row .affiliate-balance-item {
    border-radius: var(--wallet-field-r);
}

.walletPopUP {
    --wallet-primary-btn: #1a1a19;
    --wallet-primary-btn-hover: #262624;
    --wallet-primary-btn-active: #121211;
}

.walletPopUP :is(
    .btn-large-primary,
    .btn-large-secondary,
    .btn-medium-primary,
    .btn-small-primary,
    .btn-small-secondary
) {
    border-radius: var(--wallet-field-r);
}

.walletPopUP :is(.btn-large-primary, .btn-medium-primary, .btn-small-primary) {
    background-color: var(--wallet-primary-btn) !important;
    border-color: var(--wallet-primary-btn) !important;
}

.walletPopUP :is(.btn-large-primary, .btn-medium-primary, .btn-small-primary):hover {
    background-color: var(--wallet-primary-btn-hover) !important;
    border-color: var(--wallet-primary-btn-hover) !important;
}

.walletPopUP :is(.btn-large-primary, .btn-medium-primary, .btn-small-primary):active,
.walletPopUP :is(.btn-large-primary, .btn-medium-primary, .btn-small-primary):focus-visible {
    background-color: var(--wallet-primary-btn-active) !important;
    border-color: var(--wallet-primary-btn-active) !important;
}

.walletPopUP :is(.btn-large-primary, .btn-medium-primary, .btn-small-primary):disabled {
    background-color: var(--wallet-primary-btn) !important;
    border-color: var(--wallet-primary-btn) !important;
}

.walletPopUP .wallet-popup-chrome[data-action="open-settings"] svg path {
    fill: #0D0C07 !important;
}

.walletPopUP_footer :is(.btn-large-secondary, .btn-medium-secondary, .btn-small-secondary) {
    border: 1px solid #0D0C07 !important;
}

/* Vault — unified deposit / withdraw page */
#vaultPopUP .vault-transfer-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: stretch;
}

#vaultPopUP .vault-mode-switch {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 60%;
    margin: 0 auto;
    padding: 3px;
    border-radius: var(--wallet-field-r, 6px);
    border: 1px solid #0D0C07;
    background: rgba(255, 255, 255, 0.45);
    box-sizing: border-box;
    font-family: "Roboto Mono", ui-monospace, monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}

#vaultPopUP .vault-mode-switch__option {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0.675rem 0.75rem;
    border: none;
    border-radius: calc(var(--wallet-field-r, 6px) - 2px);
    background: transparent;
    box-shadow: none;
    color: rgba(13, 12, 7, 0.55);
    font: inherit;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

#vaultPopUP .vault-mode-switch__option:hover:not(.active):not(:disabled) {
    color: #0D0C07;
}

#vaultPopUP .vault-mode-switch__option.active {
    background: #0D0C07;
    color: #FBE24B;
}

#vaultPopUP .vault-mode-switch__option:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#vaultPopUP .vault-amount-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#vaultPopUP .vault-amount-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
}

#vaultPopUP .vault-amount-header .walletPopUP_subtitle {
    margin: 0;
}

#vaultPopUP .vault-available-balance {
    margin: 0;
    flex-shrink: 0;
    text-align: right;
    font-family: "Roboto Mono", monospace;
    font-size: 0.8125rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--section-mode-font-color-1, #0D0C07);
    white-space: nowrap;
    cursor: pointer;
}

#vaultPopUP .vault-amount-block .affiliate-balance-item {
    width: 100%;
}

#vaultPopUP .walletPopUP_footer {
    width: 100%;
}

/* Wallet UI — flat buttons (no inset / elevation shadows) */
.header-base-wallet-change .headerSmallWalletBtn:is(:hover, :active, :focus-visible),
.walletPopUP :is(
    .btn-large-primary,
    .btn-large-secondary,
    .btn-medium-primary,
    .btn-small-primary,
    .btn-small-secondary,
    .btn-accent
):is(:hover, :active, :focus-visible),
.walletPopUP_footer button:is(:hover, :active, :focus-visible),
.wallet-sw-block button:is(:hover, :active, :focus-visible),
#walletPopUP .walletPopUP_footer .btn-large-primary:is(:hover, :active, :focus-visible),
.walletPopUP_footer-addition-btns :is(.btn-small-secondary, .wallet-quick-btn):is(:hover, :active, :focus-visible),
.account-wallet-add-buttons :is(.btn-small-primary, .btn-small-secondary):is(:hover, :active, :focus-visible),
#redeemTicketsPopUP :is(.btn-large-primary, .btn-small-primary, .btn-small-secondary):is(:hover, :active, :focus-visible),
#withdrawPopup :is(.btn-large-primary, .btn-small-primary, .btn-small-secondary):is(:hover, :active, :focus-visible) {
    box-shadow: none !important;
}

.header-base-wallet-change .headerSmallWalletBtn,
.walletPopUP :is(
    .btn-large-primary,
    .btn-large-secondary,
    .btn-medium-primary,
    .btn-small-primary,
    .btn-small-secondary,
    .btn-accent
),
.walletPopUP_footer button,
.wallet-sw-block button,
#walletPopUP .walletPopUP_footer .btn-large-primary,
.walletPopUP_footer-addition-btns :is(.btn-small-secondary, .wallet-quick-btn),
.account-wallet-add-buttons :is(.btn-small-primary, .btn-small-secondary),
#redeemTicketsPopUP :is(.btn-large-primary, .btn-small-primary, .btn-small-secondary),
#withdrawPopup :is(.btn-large-primary, .btn-small-primary, .btn-small-secondary) {
    box-shadow: none !important;
}

.walletPopUP .wallet-currency-static {
    pointer-events: none;
    cursor: default;
}

.walletPopUP .wallet-currency-static svg {
    display: none;
}

/* ── Auth popups (login / sign up) — same shell as wallet ── */
.login-register-overlay {
    z-index: 997;
}

/* Same compact width as wallet modals (30rem = 480px, −25% vs old 640px) */
.login-register-overlay > .walletPopUP,
.login-register-overlay > .authPopUP.walletPopUP {
    width: 100%;
    max-width: 30rem;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Close X — same corner placement as wallet chrome */
.login-register-overlay > .walletPopUP > .actionsWalletWrap {
    position: absolute;
    top: 1rem;
    right: 1rem;
    left: auto;
    bottom: auto;
    width: auto;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    pointer-events: none;
    z-index: 20;
}

.login-register-overlay > .walletPopUP > .actionsWalletWrap .wallet-popup-chrome {
    position: relative;
    width: 1.3125rem;
    height: 1.25rem;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: auto;
}

.login-register-overlay > .walletPopUP > .actionsWalletWrap .wallet-popup-chrome svg {
    width: 1.3125rem !important;
    height: 1.25rem !important;
    display: block;
}

.authPopUP.walletPopUP {
    align-items: center;
}

.authPopUP .walletPopUP_main,
.authPopUP .walletPopUP_main-depwith,
.authPopUP .walletPopUP_footer,
.authPopUP .authPopUP_body {
    width: 100%;
    align-self: stretch;
}

.authPopUP_body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
}

.authPopUP_desc {
    margin: 0;
    color: #0D0C07;
    text-align: center;
    font-family: "Roboto Mono", monospace;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.authPopUP_desc--small {
    font-size: 0.875rem;
    opacity: 0.85;
}

.authPopUP_desc--field {
    margin: 0;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.4;
    opacity: 0.85;
    padding-bottom: 0.625rem;
}

#loginStep1 .authPopUP_body {
    align-items: stretch;
}

#loginStep1 .vault-mode-switch {
    width: 60%;
    margin: 0 auto;
}

#loginStep1 .authPopUP_field {
    align-items: stretch;
    gap: 0.375rem;
}

.authPopUP_divider {
    width: 100%;
    height: 1px;
    background: #262624;
    opacity: 0.2;
}

.authPopUP_footer-stack {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.authPopUP_footer-stack .btn-large-primary,
.authPopUP_footer-stack .btn-large-secondary,
.authPopUP .walletPopUP_footer .btn-large-primary,
.authPopUP .walletPopUP_footer .btn-large-secondary {
    width: 100%;
}

.authPopUP .global-autorization-input,
.authPopUP .global-autorization-code-input {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0.75rem 1rem;
    min-height: 3rem;
    border: 1px solid #0D0C07;
    border-radius: var(--wallet-field-r, 6px);
    background: #FFF;
    color: #0D0C07;
    font-family: "Roboto Mono", monospace;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    box-shadow: none;
}

.authPopUP .global-autorization-input::placeholder,
.authPopUP .global-autorization-code-input::placeholder {
    color: #999894;
    font-family: "Roboto Mono", monospace;
}

.authPopUP .global-autorization-code-input {
    text-align: center;
    font-family: "Roboto Mono", ui-monospace, monospace;
    letter-spacing: 0.08em;
}

.authPopUP .global-autorization-input:focus,
.authPopUP .global-autorization-code-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 12, 7, 0.15);
}

/* Link / Code switch — same as vault Deposit / Withdraw toggle */
.authPopUP .vault-mode-switch {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 3px;
    border-radius: var(--wallet-field-r, 6px);
    border: 1px solid #0D0C07;
    background: rgba(255, 255, 255, 0.45);
    box-sizing: border-box;
    font-family: "Roboto Mono", ui-monospace, monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}

.authPopUP .vault-mode-switch__option {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0.675rem 0.75rem;
    border: none;
    border-radius: calc(var(--wallet-field-r, 6px) - 2px);
    background: transparent;
    box-shadow: none;
    color: rgba(13, 12, 7, 0.55);
    font: inherit;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.authPopUP .vault-mode-switch__option:hover:not(.active):not(:disabled) {
    color: #0D0C07;
}

.authPopUP .vault-mode-switch__option.active {
    background: #0D0C07;
    color: #FBE24B;
}

.authPopUP .vault-mode-switch__option:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.authPopUP_field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.authPopUP_field .walletPopUP_subtitle {
    margin: 0;
}

.authPopUP .global-autorization-error {
    width: 100%;
    margin: 0;
    padding: 0.625rem 0.75rem;
    border-radius: var(--wallet-field-r, 6px);
    font-family: "Roboto Mono", monospace;
    font-size: 0.875rem;
    text-align: center;
}

.authPopUP .global-autorization-recend-block {
    gap: 0.75rem;
}

.authPopUP .global-autorization-recend-block-desc,
.authPopUP .global-autorization-recend-block-btn {
    font-family: "Roboto Mono", monospace;
}

.authPopUP .register-profile-field {
    gap: 0.5rem;
}

.authPopUP .register-profile-field-label-row .walletPopUP_subtitle {
    margin: 0;
}

.authPopUP .register-nickname-hint {
    font-family: "Roboto Mono", monospace;
}

.authPopUP .firstUserAutorizationCheckboxes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.authPopUP .firstUserAutorizationCheckboxes-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.authPopUP .firstUserAutorizationCheckboxes-item label {
    font-family: "Roboto Mono", monospace;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #0D0C07;
}

.authPopUP.register-profile-setup .walletPopUP_main {
    gap: 1rem;
}

/* Unified wallet action success — same shell as Vault / Tip / Redeem */
.wallet-action-success .walletWithDrawSuccessBlock {
    gap: 1rem;
}

.wallet-action-success .walletPopUP_footer {
    width: 100%;
}

.wallet-action-success .walletPopUP_footer .btn-large-secondary {
    flex: 1 1 auto;
    width: 100%;
}

