.route-wallet .balance-card {
  height: 220px;
  min-height: 220px;
  padding: 21px 20px;
  border: 1px solid rgba(248, 203, 66, .62);
  border-radius: 20px;
  background:
    radial-gradient(circle at 76% 45%, rgba(255, 190, 32, .18), transparent 38%),
    radial-gradient(circle at 4% 4%, rgba(255, 221, 97, .16), transparent 34%),
    linear-gradient(125deg, #171106 0%, #0b0904 48%, #050504 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 184, .38),
    inset 0 0 34px rgba(217, 154, 20, .08),
    0 0 18px rgba(245, 190, 37, .16),
    0 18px 42px var(--shadow);
}

.route-wallet [data-wallet-panel="balance"] .balance-label,
.route-wallet [data-wallet-panel="balance"] .wallet-qr-copy strong {
  display: none;
}

.route-wallet .balance-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -42px;
  left: -26px;
  width: 180px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 134, .22), transparent 68%);
  filter: blur(9px);
  pointer-events: none;
}

.route-wallet .balance-card::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(112deg, transparent 28%, rgba(255, 245, 192, .07) 45%, transparent 60%);
  pointer-events: none;
}

.route-wallet .balance-label {
  position: relative;
  z-index: 4;
  color: #f3ead6;
  font-size: 12px;
}

.route-wallet .balance-amount {
  font-size: 35px;
  color: #ffe88a;
  text-shadow: 0 0 7px rgba(255, 233, 139, .64), 0 0 20px rgba(243, 173, 15, .36);
}

.route-wallet .balance-amount-row {
  z-index: 4;
  position: absolute;
  top: 58px;
  left: 20px;
  margin: 0;
}

.route-wallet .balance-star-icon {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 5px rgba(255, 241, 153, .88)) drop-shadow(0 0 13px rgba(255, 185, 15, .62));
}

.route-wallet .balance-star-art {
  content: url("/assets/wallet-star-transparent-360.webp?v=20260809");
  z-index: 1;
  top: 50%;
  right: 5%;
  width: 38%;
  height: 78%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  transform: translateY(-50%);
  filter:
    brightness(1.2)
    saturate(1.08)
    contrast(1.02)
    drop-shadow(-5px 0 10px rgba(255, 225, 115, .34))
    drop-shadow(0 0 18px rgba(255, 190, 31, .48));
}

.route-wallet .balance-card .btn {
  position: absolute;
  top: 116px;
  left: 20px;
  z-index: 5;
  width: 46%;
  min-width: 158px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #fff0a3;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe477 0%, #ffc52d 48%, #d89a13 100%);
  color: #160e00;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .78),
    inset 0 -3px 8px rgba(111, 64, 0, .22),
    0 0 0 3px rgba(255, 197, 45, .19),
    0 0 22px rgba(255, 190, 31, .64),
    0 9px 20px rgba(0, 0, 0, .34);
  font-size: 18px;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .28);
}

.route-wallet .balance-card .btn::before {
  content: "";
  position: absolute;
  inset: 2px 13px auto;
  height: 44%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0));
  opacity: .58;
  pointer-events: none;
}

.route-wallet .balance-card .btn::after {
  content: "✦";
  position: relative;
  margin-left: 15px;
  font-size: 19px;
}

.route-wallet .privileges-primary-stack,
.route-wallet .privileges-primary-stack .pass-status {
  height: 220px;
}

.route-wallet .privileges-primary-stack .pass-status {
  border: 1px solid rgba(248, 203, 66, .62);
  border-radius: 20px;
  background:
    radial-gradient(circle at 76% 45%, rgba(255, 190, 32, .18), transparent 38%),
    radial-gradient(circle at 4% 4%, rgba(255, 221, 97, .16), transparent 34%),
    linear-gradient(125deg, #171106 0%, #0b0904 48%, #050504 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 184, .38),
    inset 0 0 34px rgba(217, 154, 20, .08),
    0 0 18px rgba(245, 190, 37, .16),
    0 18px 42px var(--shadow);
}

@media (max-width: 380px) {
  .route-wallet .balance-card {
    height: 210px;
    min-height: 210px;
    padding: 19px 17px;
  }

  .route-wallet .balance-amount {
    font-size: 33px;
  }

  .route-wallet .balance-amount-row {
    top: 55px;
    left: 17px;
  }

  .route-wallet .balance-star-art {
    top: 50%;
    right: 3%;
    width: 37%;
    height: 76%;
    opacity: 1;
  }

  .route-wallet .balance-card .btn {
    top: 111px;
    left: 17px;
    width: 48%;
    min-width: 150px;
  }

  .route-wallet .privileges-primary-stack,
  .route-wallet .privileges-primary-stack .pass-status {
    height: 210px;
  }
}

@media (max-width: 480px) {
  .route-wallet .privileges-primary-stack .pass-status {
    grid-template-columns: 60px minmax(88px, .85fr) minmax(118px, 1.15fr);
    align-items: center;
    gap: 7px;
    padding: 14px 12px;
  }

  .route-wallet .privileges-primary-stack .status-crown {
    width: 58px;
    height: 58px;
  }

  .route-wallet .privileges-primary-stack .status-copy,
  .route-wallet .privileges-primary-stack .status-expiry {
    min-width: 0;
  }

  .route-wallet .privileges-primary-stack .status-copy span,
  .route-wallet .privileges-primary-stack .status-copy em,
  .route-wallet .privileges-primary-stack .status-expiry span {
    white-space: nowrap;
    font-size: 8px;
  }

  .route-wallet .privileges-primary-stack .status-copy strong {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 5px 0;
    white-space: nowrap;
    font-size: 19px;
  }

  .route-wallet .privileges-primary-stack .status-copy strong::after {
    width: 15px;
    height: 15px;
    margin-left: 0;
    flex: 0 0 15px;
    font-size: 9px;
  }

  .route-wallet .privileges-primary-stack .status-expiry {
    grid-column: auto;
    align-self: center;
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 0 0 0 10px;
  }

  .route-wallet .privileges-primary-stack .status-expiry strong {
    margin: 7px 0;
    white-space: nowrap;
    font-size: 14px;
  }
}
