/* ============================================================
   AB Token Wallet — Premium Dark + Gold Theme (W-UI redesign)
   Tier-aware accents | RTL logical properties | GPU animations
   ============================================================ */

/* #region Tokens & Base */
/* ============================================================================ */
.wallet-preview-card,
.wallet-full-page {
  --w-bg: #020611;
  --w-card: #0B1220;
  --w-card-2: #0F1828;
  --w-accent: #F5A623;
  --w-gold-1: #FFE08A;
  --w-gold-2: #F5D060;
  --w-gold-3: #D4AF37;
  --w-text: #FFFFFF;
  --w-text-2: #AEB7C2;
  --w-text-dim: #6B7A8D;
  --w-green: #00C896;
  --w-red: #FF4D4D;
  --w-tier-color: #CD7F32;
  --w-tier-rgb: 205, 127, 50;
  --w-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --w-skeleton: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes walletCardEntry {
  0% { opacity: 0; transform: translateY(14px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes bannerSlideIn {
  0% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes actionFadeIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes earnCardFadeIn {
  0% { opacity: 0; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes txFadeIn {
  0% { opacity: 0; transform: translateX(-6px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes claimPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

@keyframes heroCardGlow {
  0%   { box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 60px rgba(var(--w-tier-rgb), 0.05), inset 0 1px 0 rgba(255,255,255,0.04); }
  100% { box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 90px rgba(var(--w-tier-rgb), 0.10), inset 0 1px 0 rgba(255,255,255,0.06); }
}

@keyframes emptyOrbPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.15); opacity: 1; }
}

@keyframes emptyOrbSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* #endregion */

/* #region Wallet Card in Profile */
/* ============================================================================ */
.wallet-preview-card {
  position: relative;
  border-radius: 22px;
  padding: 22px 20px;
  margin: 0 20px 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s var(--w-ease), box-shadow 0.3s ease, border-color 0.3s ease;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(var(--w-tier-rgb), 0.10), transparent 55%),
    linear-gradient(145deg, #0B1220 0%, #0F1828 55%, #0B1220 100%);
  border: 1px solid rgba(var(--w-tier-rgb), 0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(var(--w-tier-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: walletCardEntry 0.55s var(--w-ease) both;
}

.wallet-preview-card:active {
  transform: scale(0.985);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(var(--w-tier-rgb), 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wallet-preview-card .wallet-watermark {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: -24px;
  transform: translateY(-50%);
  width: 140px;
  height: 140px;
  opacity: 0.07;
  pointer-events: none;
  filter: blur(1px);
}

.wallet-preview-card .wallet-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wallet-preview-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-end: 14px;
  position: relative;
  z-index: 1;
}

.wallet-preview-logo {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(var(--w-tier-rgb), 0.30);
  border: 1.5px solid rgba(var(--w-tier-rgb), 0.45);
}

.wallet-preview-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallet-preview-info {
  flex: 1;
  min-width: 0;
}

.wallet-preview-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--w-text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wallet-preview-title .tier-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 7px;
  background: var(--w-tier-color);
  color: #0B0F14;
  letter-spacing: 0.4px;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(var(--w-tier-rgb), 0.45);
}

.wallet-preview-subtitle {
  font-size: 12px;
  color: var(--w-text-dim);
  margin-block-start: 3px;
}

.wallet-preview-balance {
  position: relative;
  z-index: 1;
  margin-block-end: 14px;
}

.wallet-preview-balance .balance-label {
  font-size: 11px;
  color: var(--w-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-block-end: 4px;
}

.wallet-preview-balance .balance-value {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--w-gold-1) 0%, var(--w-gold-2) 35%, var(--w-gold-3) 65%, var(--w-gold-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  letter-spacing: -0.6px;
}

.wallet-preview-balance .balance-value.login-prompt {
  font-size: 14px;
  -webkit-text-fill-color: var(--w-text-dim);
  font-weight: 600;
  opacity: 0.85;
}

.wallet-preview-balance .balance-value .balance-ticker {
  font-size: 16px;
  font-weight: 600;
  -webkit-text-fill-color: rgba(245, 166, 35, 0.75);
}

.wallet-preview-progress {
  position: relative;
  z-index: 1;
  margin-block-end: 14px;
}

.wallet-preview-progress .progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 7px;
}

.wallet-preview-progress .progress-info span {
  font-size: 11px;
  color: var(--w-text-2);
}

.wallet-preview-progress .progress-info .progress-pct {
  font-weight: 700;
  color: var(--w-tier-color);
}

.wallet-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.wallet-progress-bar .wallet-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--w-tier-color), rgba(var(--w-tier-rgb), 0.75));
  border-radius: 3px;
  transition: width 1s var(--w-ease);
  box-shadow: 0 0 10px rgba(var(--w-tier-rgb), 0.55);
}

.wallet-open-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(var(--w-tier-rgb), 0.35);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--w-tier-rgb), 0.12), rgba(var(--w-tier-rgb), 0.04));
  color: var(--w-tier-color);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--w-ease), background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wallet-open-btn:active {
  background: linear-gradient(135deg, rgba(var(--w-tier-rgb), 0.22), rgba(var(--w-tier-rgb), 0.08));
  transform: scale(0.98);
}

.wallet-open-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.wallet-open-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--w-ease);
}

.wallet-open-btn:active svg {
  transform: translateX(3px);
}

[dir="rtl"] .wallet-open-btn svg {
  transform: scaleX(-1);
}

[dir="rtl"] .wallet-open-btn:active svg {
  transform: scaleX(-1) translateX(3px);
}

/* Skeleton for wallet card */
.wallet-preview-card.skeleton-loading .balance-value,
.wallet-preview-card.skeleton-loading .wallet-preview-title,
.wallet-preview-card.skeleton-loading .wallet-preview-subtitle,
.wallet-preview-card.skeleton-loading .progress-info span {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  background: var(--w-skeleton);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
  border-radius: 6px;
}

.skeleton-text {
  display: inline-block;
  background: var(--w-skeleton);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
  border-radius: 6px;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.wallet-preview-card.skeleton-loading .balance-value {
  width: 160px;
  height: 34px;
}
.wallet-preview-card.skeleton-loading .wallet-preview-title {
  width: 130px;
  height: 18px;
}
.wallet-preview-card.skeleton-loading .wallet-preview-subtitle {
  width: 100px;
  height: 14px;
  margin-block-start: 6px;
}
.wallet-preview-card.skeleton-loading .wallet-open-btn {
  opacity: 0.35;
  pointer-events: none;
}

/* #endregion */

/* #region Wallet Full Page */
/* ============================================================================ */
.wallet-full-page {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--w-bg);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(var(--w-tier-rgb), 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(245, 166, 35, 0.04) 0%, transparent 70%);
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateY(100%);
  transition: transform 0.4s var(--w-ease);
  -webkit-overflow-scrolling: touch;
  padding-block-end: 32px;
  color: var(--w-text);
}

.wallet-full-page.open {
  transform: translateY(0);
}

.wallet-page-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  padding-block-start: calc(16px + env(safe-area-inset-top, 0px));
  background: rgba(2, 6, 17, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-block-end: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-back-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--w-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s var(--w-ease), background 0.2s ease;
  flex-shrink: 0;
}

.wallet-back-btn:active {
  background: rgba(255, 255, 255, 0.10);
  transform: scale(0.92);
}

.wallet-back-btn svg {
  width: 20px;
  height: 20px;
}

[dir="rtl"] .wallet-back-btn svg {
  transform: scaleX(-1);
}

.wallet-page-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.wallet-page-header-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(var(--w-tier-rgb), 0.4);
  box-shadow: 0 2px 10px rgba(var(--w-tier-rgb), 0.25);
}

.wallet-page-header-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallet-page-header-text h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--w-text);
  line-height: 1.2;
}

.wallet-page-header-text span {
  font-size: 11px;
  color: var(--w-text-2);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-block-start: 2px;
}

.wallet-page-header-text .tier-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--w-tier-color);
  box-shadow: 0 0 7px rgba(var(--w-tier-rgb), 0.7);
}

/* Brand Quote */
.wallet-brand-quote {
  text-align: center;
  padding: 14px 24px 3px;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(245, 166, 35, 0.55);
  font-weight: 500;
  font-style: italic;
  animation: heroFadeIn 0.5s var(--w-ease) 0.05s both;
}

.wallet-token-slogan {
  text-align: center;
  padding: 0 24px 10px;
  font-size: 12px;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  animation: heroFadeIn 0.5s var(--w-ease) 0.1s both;
}

/* #endregion */

/* #region Hero Balance Card */
/* ============================================================================ */
.wallet-hero-card {
  position: relative;
  margin: 12px 20px 18px;
  border-radius: 24px;
  padding: 26px 22px 22px;
  overflow: hidden;
  background:
    radial-gradient(140% 90% at 100% 0%, rgba(var(--w-tier-rgb), 0.14), transparent 55%),
    linear-gradient(150deg, #0F1828 0%, #0B1220 50%, #0A1018 100%);
  border: 1px solid rgba(var(--w-tier-rgb), 0.30);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(var(--w-tier-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: heroCardGlow 4.5s ease-in-out infinite alternate, heroFadeIn 0.55s var(--w-ease) 0.1s both;
}

.wallet-hero-card .hero-watermark {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: -40px;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  opacity: 0.05;
  pointer-events: none;
}

.wallet-hero-card .hero-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wallet-hero-card .hero-reflection {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 24px 24px 0 0;
}

.wallet-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block-end: 20px;
  position: relative;
  z-index: 1;
}

.wallet-hero-token {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.wallet-hero-token-img {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(var(--w-tier-rgb), 0.5);
  box-shadow: 0 4px 14px rgba(var(--w-tier-rgb), 0.30);
}

.wallet-hero-token-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallet-hero-token-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.wallet-hero-token-meta .hero-token-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--w-text);
}

.wallet-hero-token-meta .hero-tier-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 7px;
  background: var(--w-tier-color);
  color: #0B0F14;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(var(--w-tier-rgb), 0.45);
}

.wallet-hero-ring {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-hero-ring svg {
  position: absolute;
  inset: 0;
}

.wallet-hero-ring .ring-pct {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  color: var(--w-tier-color);
}

.wallet-hero-balance-label {
  font-size: 11px;
  color: var(--w-text-dim);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-block-end: 6px;
  position: relative;
  z-index: 1;
}

.wallet-hero-balance-value {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--w-gold-1) 0%, var(--w-gold-2) 30%, var(--w-gold-3) 60%, var(--w-gold-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -1.2px;
  position: relative;
  z-index: 1;
  margin-block-end: 20px;
}

.wallet-hero-balance-value .hero-ticker {
  font-size: 20px;
  font-weight: 600;
  -webkit-text-fill-color: rgba(245, 166, 35, 0.6);
}

.wallet-hero-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--w-tier-rgb), 0.30), transparent);
  margin-block-end: 18px;
  position: relative;
  z-index: 1;
}

.wallet-hero-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.wallet-hero-detail-item .detail-label {
  font-size: 10px;
  color: var(--w-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-block-end: 5px;
}

.wallet-hero-detail-item .detail-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--w-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.wallet-hero-detail-item .detail-value .detail-unit {
  font-size: 11px;
  font-weight: 500;
  color: var(--w-text-dim);
}

.wallet-hero-detail-item .detail-value .mini-tier-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--w-tier-color);
  color: #0B0F14;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(var(--w-tier-rgb), 0.40);
}

.wallet-hero-tier-progress {
  grid-column: 1 / -1;
  margin-block-start: 4px;
}

.wallet-hero-tier-progress .tier-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 7px;
  gap: 8px;
}

.wallet-hero-tier-progress .tier-progress-header span {
  font-size: 11px;
  color: var(--w-text-2);
}

.wallet-hero-tier-progress .tier-progress-header .tier-remaining {
  color: var(--w-tier-color);
  font-weight: 700;
  white-space: nowrap;
}

.wallet-hero-tier-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.wallet-hero-tier-bar .tier-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--w-tier-color), rgba(var(--w-tier-rgb), 0.75));
  border-radius: 3px;
  transition: width 1.2s var(--w-ease);
  box-shadow: 0 0 10px rgba(var(--w-tier-rgb), 0.55);
}

/* #endregion */

/* #region Smart Banner */
/* ============================================================================ */
.wallet-smart-banner {
  margin: 0 20px 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--w-tier-rgb), 0.10), rgba(245, 166, 35, 0.04));
  border: 1px solid rgba(var(--w-tier-rgb), 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: bannerSlideIn 0.5s ease 0.2s both;
  overflow: hidden;
  position: relative;
}

.wallet-smart-banner::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--w-tier-rgb), 0.06), transparent);
  animation: bannerShimmer 3.5s ease-in-out infinite;
}

@keyframes bannerShimmer {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(50%); }
}

.wallet-smart-banner svg {
  flex-shrink: 0;
  color: var(--w-tier-color);
  width: 20px;
  height: 20px;
}

.wallet-smart-banner p {
  font-size: 12px;
  color: var(--w-text-2);
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.wallet-smart-banner p strong {
  color: var(--w-tier-color);
  font-weight: 700;
}

/* #endregion */

/* #region Summary Strip */
/* ============================================================================ */
.wallet-summary-strip {
  margin: 0 20px 18px;
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(11, 18, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: stretch;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: heroFadeIn 0.5s var(--w-ease) 0.18s both;
}

.wallet-summary-strip .summary-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 6px;
  min-width: 0;
}

.wallet-summary-strip .summary-label {
  font-size: 10px;
  color: var(--w-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.wallet-summary-strip .summary-value {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.wallet-summary-strip .summary-value.positive { color: var(--w-green); }
.wallet-summary-strip .summary-value.negative { color: var(--w-red); }
.wallet-summary-strip .summary-value.neutral  { color: var(--w-text); }

.wallet-summary-strip .summary-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-block: 2px;
}

/* #endregion */

/* #region Quick Actions */
/* ============================================================================ */
.wallet-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 20px 22px;
}

.wallet-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 18, 32, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 0.2s var(--w-ease), background 0.2s ease, border-color 0.2s ease;
  animation: actionFadeIn 0.4s ease both;
}

.wallet-action-btn:nth-child(1) { animation-delay: 0.10s; }
.wallet-action-btn:nth-child(2) { animation-delay: 0.15s; }
.wallet-action-btn:nth-child(3) { animation-delay: 0.20s; }
.wallet-action-btn:nth-child(4) { animation-delay: 0.25s; }

.wallet-action-btn:active {
  background: rgba(255, 255, 255, 0.06);
  transform: scale(0.95);
}

.wallet-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-action-icon svg {
  width: 20px;
  height: 20px;
}

.wallet-action-icon.earn-icon {
  background: linear-gradient(135deg, rgba(0, 200, 150, 0.16), rgba(0, 200, 150, 0.05));
  color: var(--w-green);
  border: 1px solid rgba(0, 200, 150, 0.18);
}
.wallet-action-icon.referral-icon {
  background: linear-gradient(135deg, rgba(var(--w-tier-rgb), 0.18), rgba(var(--w-tier-rgb), 0.05));
  color: var(--w-tier-color);
  border: 1px solid rgba(var(--w-tier-rgb), 0.22);
}
.wallet-action-icon.rewards-icon {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.16), rgba(245, 166, 35, 0.05));
  color: var(--w-accent);
  border: 1px solid rgba(245, 166, 35, 0.18);
}
.wallet-action-icon.history-icon {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(236, 72, 153, 0.05));
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.18);
}

.wallet-action-btn span {
  font-size: 11px;
  font-weight: 600;
  color: var(--w-text-2);
}

/* #endregion */

/* #region Wallet Sections */
/* ============================================================================ */
.wallet-section {
  margin: 0 20px 22px;
}

.wallet-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 12px;
  gap: 8px;
}

.wallet-section-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--w-text);
  letter-spacing: -0.2px;
}

.wallet-section-header .section-action {
  font-size: 12px;
  color: var(--w-text-2);
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.2s ease, transform 0.2s var(--w-ease);
}

.wallet-section-header .section-action:active {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(0.96);
}

/* #endregion */

/* #region Earn Section */
/* ============================================================================ */
.wallet-earn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wallet-earn-card {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.2s var(--w-ease), background 0.2s ease, border-color 0.2s ease;
  animation: earnCardFadeIn 0.4s ease both;
}

.wallet-earn-card:nth-child(1) { animation-delay: 0.05s; }
.wallet-earn-card:nth-child(2) { animation-delay: 0.10s; }
.wallet-earn-card:nth-child(3) { animation-delay: 0.15s; }
.wallet-earn-card:nth-child(4) { animation-delay: 0.20s; }
.wallet-earn-card:nth-child(5) { animation-delay: 0.25s; }

.wallet-earn-card:active {
  background: rgba(255, 255, 255, 0.05);
  transform: scale(0.97);
}

.wallet-earn-card .earn-reward {
  font-size: 20px;
  font-weight: 800;
  color: var(--w-green);
  margin-block-end: 6px;
  letter-spacing: -0.4px;
}

.wallet-earn-card .earn-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--w-text);
  margin-block-end: 3px;
}

.wallet-earn-card .earn-desc {
  font-size: 11px;
  color: var(--w-text-dim);
  line-height: 1.4;
}

.wallet-earn-card .earn-claimed-badge {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(0, 200, 150, 0.14);
  color: var(--w-green);
  border: 1px solid rgba(0, 200, 150, 0.25);
  letter-spacing: 0.5px;
}

.wallet-earn-card.daily-checkin {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(0, 200, 150, 0.08), transparent 55%),
    rgba(11, 18, 32, 0.65);
  border-color: rgba(0, 200, 150, 0.18);
}

.wallet-earn-card.daily-checkin .checkin-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 200, 150, 0.18), rgba(0, 200, 150, 0.05));
  border: 1px solid rgba(0, 200, 150, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--w-green);
}

.wallet-earn-card.daily-checkin .checkin-icon svg {
  width: 22px;
  height: 22px;
}

.wallet-earn-card.daily-checkin .checkin-info {
  flex: 1;
  min-width: 0;
}

.wallet-earn-card.daily-checkin .checkin-info .checkin-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--w-text);
  margin-block-end: 2px;
}

.wallet-earn-card.daily-checkin .checkin-info .checkin-reward {
  font-size: 13px;
  font-weight: 700;
  color: var(--w-green);
}

.wallet-earn-card.daily-checkin .checkin-btn {
  padding: 10px 20px;
  border-radius: 11px;
  border: none;
  background: linear-gradient(135deg, var(--w-green), #00A87A);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--w-ease), opacity 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 200, 150, 0.30);
}

.wallet-earn-card.daily-checkin .checkin-btn:active {
  transform: scale(0.94);
  opacity: 0.92;
}

.wallet-earn-card.daily-checkin .checkin-btn:disabled {
  background: rgba(255, 255, 255, 0.06);
  color: var(--w-text-dim);
  cursor: not-allowed;
  box-shadow: none;
}

/* #endregion */

/* #region Referral Section */
/* ============================================================================ */
.wallet-referral-box {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wallet-ref-link-row {
  display: flex;
  gap: 8px;
  margin-block-end: 14px;
}

.wallet-ref-link-row input {
  flex: 1;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--w-text);
  font-size: 12px;
  outline: none;
  min-width: 0;
  text-align: start;
  direction: ltr;
}

.wallet-ref-link-row input:focus {
  border-color: rgba(var(--w-tier-rgb), 0.45);
}

.wallet-ref-link-row .ref-copy-btn,
.wallet-ref-link-row .ref-share-btn-sm {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(var(--w-tier-rgb), 0.30);
  background: rgba(var(--w-tier-rgb), 0.10);
  color: var(--w-tier-color);
  cursor: pointer;
  transition: transform 0.2s var(--w-ease), background 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-ref-link-row .ref-copy-btn:active,
.wallet-ref-link-row .ref-share-btn-sm:active {
  background: rgba(var(--w-tier-rgb), 0.20);
  transform: scale(0.94);
}

.wallet-ref-link-row .ref-copy-btn svg,
.wallet-ref-link-row .ref-share-btn-sm svg {
  width: 16px;
  height: 16px;
}

.wallet-ref-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.wallet-ref-stat {
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.wallet-ref-stat .stat-label {
  font-size: 10px;
  color: var(--w-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-block-end: 4px;
}

.wallet-ref-stat .stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--w-text);
}

/* #endregion */

/* #region Rewards Marketplace */
/* ============================================================================ */
.wallet-marketplace-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-block-end: 8px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  margin: 0 -20px;
  padding-inline: 20px;
}

.wallet-marketplace-scroll::-webkit-scrollbar {
  height: 3px;
}

.wallet-marketplace-scroll::-webkit-scrollbar-thumb {
  background: rgba(var(--w-tier-rgb), 0.30);
  border-radius: 2px;
}

.wallet-marketplace-card {
  min-width: 200px;
  max-width: 200px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  scroll-snap-align: start;
  transition: transform 0.2s var(--w-ease), background 0.2s ease;
  flex-shrink: 0;
}

.wallet-marketplace-card:active {
  background: rgba(255, 255, 255, 0.05);
  transform: scale(0.98);
}

.wallet-marketplace-card .reward-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 12px;
}

.wallet-marketplace-card .reward-icon svg {
  width: 20px;
  height: 20px;
}

.wallet-marketplace-card .reward-icon.icon-analysis {
  background: linear-gradient(135deg, rgba(108, 180, 238, 0.18), rgba(108, 180, 238, 0.05));
  border: 1px solid rgba(108, 180, 238, 0.20);
  color: #6CB4EE;
}
.wallet-marketplace-card .reward-icon.icon-vip {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.18), rgba(245, 166, 35, 0.05));
  border: 1px solid rgba(245, 166, 35, 0.22);
  color: var(--w-accent);
}
.wallet-marketplace-card .reward-icon.icon-report {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(236, 72, 153, 0.05));
  border: 1px solid rgba(236, 72, 153, 0.20);
  color: #f472b6;
}
.wallet-marketplace-card .reward-icon.icon-future {
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.18), rgba(0, 206, 209, 0.05));
  border: 1px solid rgba(0, 206, 209, 0.20);
  color: #00CED1;
}

.wallet-marketplace-card .reward-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--w-text);
  margin-block-end: 4px;
}

.wallet-marketplace-card .reward-desc {
  font-size: 11px;
  color: var(--w-text-dim);
  line-height: 1.4;
  margin-block-end: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wallet-marketplace-card .reward-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet-marketplace-card .reward-cost {
  font-size: 13px;
  font-weight: 800;
  color: var(--w-accent);
}

.wallet-marketplace-card .reward-status {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.wallet-marketplace-card .reward-status.status-available {
  background: rgba(0, 200, 150, 0.12);
  color: var(--w-green);
  border: 1px solid rgba(0, 200, 150, 0.20);
}

.wallet-marketplace-card .reward-status.status-locked {
  background: rgba(255, 255, 255, 0.05);
  color: var(--w-text-dim);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-marketplace-card .reward-status.status-coming {
  background: rgba(245, 166, 35, 0.10);
  color: var(--w-accent);
  border: 1px solid rgba(245, 166, 35, 0.18);
}

/* #endregion */

/* #region Transaction History */
/* ============================================================================ */
.wallet-tx-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wallet-tx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(11, 18, 32, 0.55);
  transition: transform 0.2s var(--w-ease), background 0.2s ease, border-color 0.2s ease;
  animation: txFadeIn 0.3s ease both;
}

.wallet-tx-item:active {
  background: rgba(255, 255, 255, 0.06);
  transform: scale(0.99);
}

.wallet-tx-item:nth-child(1) { animation-delay: 0.04s; }
.wallet-tx-item:nth-child(2) { animation-delay: 0.08s; }
.wallet-tx-item:nth-child(3) { animation-delay: 0.12s; }
.wallet-tx-item:nth-child(4) { animation-delay: 0.16s; }
.wallet-tx-item:nth-child(5) { animation-delay: 0.20s; }
.wallet-tx-item:nth-child(6) { animation-delay: 0.24s; }
.wallet-tx-item:nth-child(7) { animation-delay: 0.28s; }
.wallet-tx-item:nth-child(8) { animation-delay: 0.32s; }

.wallet-tx-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-tx-icon svg {
  width: 18px;
  height: 18px;
}

.wallet-tx-icon.tx-claim {
  background: linear-gradient(135deg, rgba(0, 200, 150, 0.18), rgba(0, 200, 150, 0.05));
  color: var(--w-green);
  border: 1px solid rgba(0, 200, 150, 0.20);
}
.wallet-tx-icon.tx-referral {
  background: linear-gradient(135deg, rgba(var(--w-tier-rgb), 0.20), rgba(var(--w-tier-rgb), 0.05));
  color: var(--w-tier-color);
  border: 1px solid rgba(var(--w-tier-rgb), 0.22);
}
.wallet-tx-icon.tx-mission {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.18), rgba(245, 166, 35, 0.05));
  color: var(--w-accent);
  border: 1px solid rgba(245, 166, 35, 0.20);
}
.wallet-tx-icon.tx-purchase {
  background: linear-gradient(135deg, rgba(255, 77, 77, 0.18), rgba(255, 77, 77, 0.05));
  color: var(--w-red);
  border: 1px solid rgba(255, 77, 77, 0.20);
}
.wallet-tx-icon.tx-redeem {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(236, 72, 153, 0.05));
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.20);
}
.wallet-tx-icon.tx-airdrop {
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.18), rgba(0, 206, 209, 0.05));
  color: #00CED1;
  border: 1px solid rgba(0, 206, 209, 0.20);
}
.wallet-tx-icon.tx-admin {
  background: linear-gradient(135deg, rgba(108, 180, 238, 0.18), rgba(108, 180, 238, 0.05));
  color: #6CB4EE;
  border: 1px solid rgba(108, 180, 238, 0.20);
}
.wallet-tx-icon.tx-other {
  background: linear-gradient(135deg, rgba(174, 183, 194, 0.15), rgba(174, 183, 194, 0.04));
  color: var(--w-text-2);
  border: 1px solid rgba(174, 183, 194, 0.18);
}

.wallet-tx-info {
  flex: 1;
  min-width: 0;
}

.wallet-tx-info .tx-type {
  font-size: 13px;
  font-weight: 700;
  color: var(--w-text);
  margin-block-end: 2px;
}

.wallet-tx-info .tx-desc {
  font-size: 11px;
  color: var(--w-text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-tx-info .tx-status-row {
  margin-block-start: 4px;
}

.wallet-tx-info .tx-status {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tx-status.status-completed {
  background: rgba(0, 200, 150, 0.12);
  color: var(--w-green);
  border: 1px solid rgba(0, 200, 150, 0.20);
}
.tx-status.status-pending {
  background: rgba(245, 166, 35, 0.12);
  color: var(--w-accent);
  border: 1px solid rgba(245, 166, 35, 0.20);
}
.tx-status.status-failed {
  background: rgba(255, 77, 77, 0.12);
  color: var(--w-red);
  border: 1px solid rgba(255, 77, 77, 0.20);
}
.tx-status.status-reversed {
  background: rgba(174, 183, 194, 0.12);
  color: var(--w-text-2);
  border: 1px solid rgba(174, 183, 194, 0.18);
}

.wallet-tx-right {
  text-align: end;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.wallet-tx-right .tx-amount {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.wallet-tx-right .tx-amount .tx-unit {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.7;
}

.wallet-tx-right .tx-amount.positive {
  color: var(--w-green);
}

.wallet-tx-right .tx-amount.negative {
  color: var(--w-red);
}

.wallet-tx-right .tx-time {
  font-size: 10px;
  color: var(--w-text-dim);
}

/* #endregion */

/* #region Empty State */
/* ============================================================================ */
.wallet-empty-state {
  text-align: center;
  padding: 36px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.wallet-empty-state .empty-orb {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 16px;
  background: radial-gradient(circle, rgba(var(--w-tier-rgb), 0.16) 0%, rgba(11, 18, 32, 0.6) 70%);
  border: 1px solid rgba(var(--w-tier-rgb), 0.22);
  box-shadow: 0 8px 30px rgba(var(--w-tier-rgb), 0.18), inset 0 1px 0 rgba(255,255,255,0.06);
}

.wallet-empty-state .empty-orb-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(var(--w-tier-rgb), 0.35) 25%, transparent 50%, rgba(var(--w-tier-rgb), 0.35) 75%, transparent 100%);
  filter: blur(6px);
  animation: emptyOrbSpin 6s linear infinite, emptyOrbPulse 3s ease-in-out infinite;
  z-index: 0;
}

.wallet-empty-state .empty-orb img {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  opacity: 0.85;
}

.wallet-empty-state h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--w-text);
  margin-block-end: 4px;
}

.wallet-empty-state .empty-title {
  font-size: 12px;
  color: var(--w-text-2);
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto;
}

.wallet-empty-state .empty-sub {
  font-size: 11px;
  color: var(--w-text-dim);
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto 14px;
}

.wallet-empty-state .empty-cta {
  padding: 9px 22px;
  border-radius: 11px;
  border: 1px solid rgba(var(--w-tier-rgb), 0.40);
  background: linear-gradient(135deg, rgba(var(--w-tier-rgb), 0.18), rgba(var(--w-tier-rgb), 0.06));
  color: var(--w-tier-color);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--w-ease), background 0.2s ease;
}

.wallet-empty-state .empty-cta:active {
  transform: scale(0.95);
  background: rgba(var(--w-tier-rgb), 0.25);
}

/* #endregion */

/* #region Load More */
/* ============================================================================ */
.wallet-load-more-wrap {
  text-align: center;
  padding: 14px 0 4px;
}

.wallet-load-more-btn {
  padding: 10px 24px;
  border-radius: 12px;
  border: 1px solid rgba(var(--w-tier-rgb), 0.30);
  background: rgba(var(--w-tier-rgb), 0.08);
  color: var(--w-tier-color);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--w-ease), background 0.2s ease;
}

.wallet-load-more-btn:active {
  transform: scale(0.96);
  background: rgba(var(--w-tier-rgb), 0.18);
}

/* #endregion */

/* #region Premium Skeleton Loader */
/* ============================================================================ */
.wallet-skeleton {
  margin: 0 20px 20px;
}

.wallet-skeleton-hero {
  border-radius: 24px;
  background: rgba(11, 18, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 22px;
  margin-block-end: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wallet-skeleton-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-end: 6px;
}

.wallet-skeleton-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-block-end: 18px;
}

.wallet-skeleton-card {
  border-radius: 16px;
  background: rgba(11, 18, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  margin-block-end: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wallet-skeleton-tx {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sk-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--w-skeleton);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

.sk-circle.sm {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.sk-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sk-stack.grow {
  flex: 1;
}

.sk-line {
  height: 14px;
  border-radius: 6px;
  background: var(--w-skeleton);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.sk-line.w-20 { width: 20%; }
.sk-line.w-30 { width: 30%; }
.sk-line.w-40 { width: 40%; }
.sk-line.w-50 { width: 50%; }
.sk-line.w-60 { width: 60%; }
.sk-line.w-80 { width: 80%; }
.sk-line.w-100 { width: 100%; }
.sk-line.h-sm { height: 10px; }
.sk-line.h-xl { height: 32px; }

.sk-pill {
  width: 100%;
  height: 70px;
  border-radius: 16px;
  background: var(--w-skeleton);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.sk-bar {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--w-skeleton);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

/* #endregion */

/* #region Claim Success Animation */
/* ============================================================================ */
.wallet-claim-success {
  animation: claimPulse 0.5s ease;
}

/* #endregion */

/* #region Responsive */
/* ============================================================================ */
@media (max-width: 360px) {
  .wallet-preview-card,
  .wallet-hero-card,
  .wallet-section,
  .wallet-quick-actions,
  .wallet-smart-banner,
  .wallet-summary-strip,
  .wallet-skeleton {
    margin-inline: 14px;
  }
  .wallet-page-header {
    padding-inline: 14px;
  }
  .wallet-marketplace-scroll {
    margin-inline: -14px;
    padding-inline: 14px;
  }
  .wallet-hero-balance-value {
    font-size: 36px;
  }
  .wallet-preview-balance .balance-value {
    font-size: 26px;
  }
  .wallet-earn-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  .wallet-hero-top {
    gap: 8px;
  }
  .wallet-hero-token-img {
    width: 42px;
    height: 42px;
  }
  .wallet-hero-ring svg {
    width: 48px;
    height: 48px;
  }
}

/* #endregion */
