.wallet-quick {
  position: fixed;
  left: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 130;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

.wallet-quick[hidden],
.wallet-quick-menu[hidden] {
  display: none;
}

.wallet-quick-menu {
  display: grid;
  gap: 8px;
}

.wallet-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 108px;
  padding: 10px 14px;
  border: 1px solid rgba(110, 243, 197, 0.24);
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.96);
  color: var(--text);
  box-shadow: 0 18px 42px -20px rgba(0, 0, 0, 0.95);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.wallet-quick-link svg {
  color: var(--mint);
}

.wallet-quick-link:hover {
  border-color: rgba(110, 243, 197, 0.5);
  background: #101b2c;
}

.wallet-quick-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(110, 243, 197, 0.32);
  border-radius: 50%;
  background: rgba(11, 18, 32, 0.96);
  color: var(--mint);
  box-shadow: 0 18px 42px -18px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(110, 243, 197, 0.06);
  cursor: pointer;
  backdrop-filter: blur(10px);
  animation: fab-float 3.4s ease-in-out infinite;
}

.wallet-quick-btn:hover,
.wallet-quick-btn[aria-expanded="true"] {
  border-color: rgba(110, 243, 197, 0.58);
  background: #101b2c;
  animation-play-state: paused;
}

body.is-footer-visible .wallet-quick {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

@media (min-width: 1100px) {
  html:not(.is-referral-landing) body.lobby-home .wallet-quick {
    left: 322px;
  }
}

@media (max-width: 760px) {
  .wallet-quick {
    left: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .wallet-quick-btn {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 1099px) {
  body:has(.lobby-drawer.is-open) .wallet-quick,
  .lobby-drawer.is-open ~ .wallet-quick {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
