/* Carteira desktop final — arquivo independente do CSS legado. */
@media (min-width: 769px) {
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .profile-page.wallet-mobile.wallet-ref.sd-subpage {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 24px 26px 36px !important;
    overflow-x: hidden !important;
    background: #fff !important;
    color: #000000 !important;
    font-family: "Inter", sans-serif !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref > .sd-subpage-head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 0 48px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref > .sd-subpage-head::before,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref > .sd-subpage-head::after,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .sd-subpage-back::before,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .sd-subpage-back::after {
    content: none !important;
    display: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .sd-subpage-back {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 34px !important;
    box-sizing: border-box !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 50% !important;
    background: #f3f3f3 !important;
    color: #111827 !important;
    box-shadow: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .sd-subpage-back svg,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .sd-subpage-back svg path {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    color: #111827 !important;
    stroke: #111827 !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .sd-subhead-text {
    display: block !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    color: #000000 !important;
    font: 600 17px/1.25 "Inter", sans-serif !important;
    white-space: nowrap !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .wallet-economy-card,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-section-label,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-history-head,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) #walletRefreshBtn,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) #walletUseBtn,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) #walletHistoryFilters,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) #walletDepositHistory {
    display: none !important;
    visibility: hidden !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .wallet-actions-ref {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .wallet-actions-ref .wallet-action {
    display: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .wallet-actions-ref #walletDepositBtn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #000000 !important;
    box-shadow: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .wallet-actions-ref #walletDepositBtn .wallet-action-icon,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .wallet-actions-ref #walletDepositBtn .wallet-action-icon img,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .wallet-actions-ref #walletDepositBtn::after,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .wallet-actions-ref #walletDepositBtn .wallet-action-text small {
    display: none !important;
  }
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .wallet-actions-ref #walletDepositBtn .wallet-action-text,
  html body.sd-desktop #overlay.sd-profile-overlay:has(.wallet-ref) > .drawer.profile-drawer:has(.wallet-ref) .wallet-ref .wallet-actions-ref #walletDepositBtn .wallet-action-text strong {
    display: block !important;
    margin: 0 !important;
    color: #000000 !important;
    font: 600 14px/1.25 "Inter", sans-serif !important;
    text-align: center !important;
  }
}
