
/* WALLET POSITION V19 */

html body header.top .head-actions #header-wallet{
 order:-9999!important;
 position:relative!important;
 overflow:visible!important;
 flex-shrink:0!important;
 margin-right:12px!important;
}

/* DESKTOP */

@media(min-width:1200px){

 html body header.top .head-actions #header-wallet{
  margin-left:155px!important;
 }

 html body header.top #header-wallet .wallet-delta-v17{
  position:absolute!important;
  right:calc(100% + 10px)!important;
  left:auto!important;
  top:50%!important;
  width:140px!important;
  max-width:140px!important;
  padding:0!important;
  text-align:right!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  white-space:nowrap!important;
  font:700 12px/1.3 Arial,sans-serif!important;
  animation:walletDeltaV19 1.8s ease both!important;
  pointer-events:none!important;
 }

}

@keyframes walletDeltaV19{
 0%{
  opacity:0;
  transform:translate(8px,-50%);
 }
 15%,70%{
  opacity:1;
  transform:translate(0,-50%);
 }
 100%{
  opacity:0;
  transform:translate(0,-90%);
 }
}

/* TABLETS AND SMALL SCREENS */

@media(max-width:1199px){

 html body header.top .head-actions #header-wallet{
  margin:0!important;
  height:52px!important;
  min-height:52px!important;
  padding:4px 7px 18px!important;
  box-sizing:border-box!important;
 }

 html body header.top #header-wallet .wallet-delta-v17{
  position:absolute!important;
  top:auto!important;
  bottom:3px!important;
  left:8px!important;
  right:8px!important;
  width:auto!important;
  padding:0!important;
  text-align:left!important;
  background:transparent!important;
  font:700 11px/1.2 Arial,sans-serif!important;
  animation:walletCompactV19 1.8s ease both!important;
 }

}

/* MOBILE */

@media(max-width:760px){

 html body header.top{
  grid-template-rows:52px 42px!important;
 }

 html body header.top .head-toggle{
  grid-column:1!important;
  grid-row:1!important;
 }

 html body header.top .head-actions
 #header-wallet:has(#balance:not([hidden])){
  grid-column:2/4!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  height:52px!important;
 }

 html body header.top .head-actions #account-link:not([hidden]){
  grid-column:4!important;
  grid-row:1!important;
  justify-self:end!important;
 }

 html body header.top .head-actions
 #header-wallet #balance:not([hidden]){
  font-size:clamp(10px,3vw,13px)!important;
  font-variant-numeric:tabular-nums!important;
 }

 html body header.top #header-wallet
 #balance-toggle:not([hidden]){
  margin:0!important;
  width:24px!important;
  min-width:24px!important;
  flex-basis:24px!important;
 }

}

@keyframes walletCompactV19{
 0%{opacity:0;transform:translateY(-3px)}
 15%,75%{opacity:1;transform:translateY(0)}
 100%{opacity:0;transform:translateY(3px)}
}

.wallet-delta-v17[data-direction="plus"]{
 color:#39dfa0!important;
}

.wallet-delta-v17[data-direction="minus"]{
 color:#ff4866!important;
}

@media(prefers-reduced-motion:reduce){
 .wallet-delta-v17{
  animation:none!important;
  opacity:1!important;
 }
}
