/* F90 CARD: compact customer wallet and RTL drawer, 27 October 2026.
   This layer is visual only; account, wallet, checkout and FX calculations are unchanged. */
html.f90-reference-theme body:not(.admin-body) .site-header #f90HeaderLeft {
  flex: 0 1 auto !important;
  width: fit-content !important;
  max-width: min(48vw, 178px) !important;
  min-width: 0 !important;
  justify-content: flex-start !important;
}
html.f90-reference-theme body:not(.admin-body) .site-header #f90HeaderLeft #headerWallet {
  flex: 0 1 auto !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 37px !important;
  min-height: 37px !important;
  box-sizing: border-box !important;
  padding: 4px 9px !important;
  gap: 6px !important;
  white-space: nowrap !important;
}
html.f90-reference-theme body:not(.admin-body) .site-header #f90HeaderLeft #headerWallet > span:not(.f90-wallet-plus) {
  flex: 0 1 auto !important;
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  overflow-wrap: normal !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: clamp(10px, 2.8vw, 13px) !important;
  line-height: 1.35 !important;
  text-align: left !important;
  direction: ltr !important;
}
html.f90-reference-theme body:not(.admin-body) .site-header .header-inner:has(#f90ReferenceBack:not([hidden])) #f90HeaderLeft #headerWallet {
  flex: 0 1 auto !important;
  width: fit-content !important;
  max-width: calc(100% - 36px) !important;
  margin-left: 36px !important;
  padding-left: 9px !important;
}
html.f90-reference-theme body:not(.admin-body) #drawer.drawer {
  right: 0 !important;
  left: auto !important;
  direction: rtl !important;
  text-align: right !important;
}
html.f90-reference-theme body:not(.admin-body) #drawer #drawerLinks > a {
  display: flex !important;
  flex-direction: row !important;
  direction: rtl !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: right !important;
  gap: 11px !important;
}
html.f90-reference-theme body:not(.admin-body) #drawer #drawerLinks > a > svg,
html.f90-reference-theme body:not(.admin-body) #drawer #drawerLinks > a > img {
  order: 0 !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
}
html.f90-reference-theme body:not(.admin-body) #drawer #drawerLinks > a > span {
  order: 1 !important;
  flex: 1 1 auto !important;
  text-align: right !important;
}
html.f90-reference-theme body:not(.admin-body) #drawer #f90SecondaryCurrencies .f90-secondary-currency-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 7px !important;
  width: 100% !important;
  align-items: stretch !important;
}
html.f90-reference-theme body:not(.admin-body) #drawer #f90SecondaryCurrencies [data-f90-secondary-currency] {
  display: flex !important;
  flex-flow: column nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 40px !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  padding: 5px 8px !important;
}
html.f90-reference-theme body:not(.admin-body) #drawer #f90SecondaryCurrencies [data-f90-secondary-currency] small {
  font-size: 10px !important;
  line-height: 1.25 !important;
  direction: ltr !important;
  font-weight: 650 !important;
}
@media (max-width: 370px) {
  html.f90-reference-theme body:not(.admin-body) .site-header #f90HeaderLeft { max-width: 46vw !important; }
  html.f90-reference-theme body:not(.admin-body) .site-header #f90HeaderLeft #headerWallet { gap: 4px !important; padding-inline: 7px !important; }
  html.f90-reference-theme body:not(.admin-body) .site-header #f90HeaderLeft #headerWallet > span:not(.f90-wallet-plus) { font-size: 10px !important; }
}
