/* Storefront hero only: the rest of the Mini App keeps its existing theme. */
.hero.surface {
  height: 184px;
  padding: 22px;
  border: 1px solid #ffffff12;
  border-radius: 28px;
  background: linear-gradient(118deg, #1e1e20 0%, #151517 52%, #202023 100%);
  box-shadow: inset 0 1px 0 #ffffff09;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 330px;
  right: -62px;
  top: -100px;
  transform: rotate(31deg);
  border-left: 1px solid #ffffff0b;
  background: linear-gradient(90deg, #ffffff04, #ffffff00 65%);
  pointer-events: none;
}
.hero-brand {
  position: relative;
  width: calc(100% - 62px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 720;
  line-height: 28px;
  letter-spacing: -.035em;
  color: #f4f4f5;
}
.hero .avatar {
  width: 40px;
  height: 40px;
  right: 20px;
  top: 18px;
  font-size: 16px;
  box-shadow: 0 0 0 4px #ffffff04, inset 0 1px 0 #ffffff25;
}
.hero .hero-copy {
  left: 22px;
  bottom: 23px;
  max-width: calc(100% - 122px);
}
.hero .hero-kicker {
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  color: #a5a5ab;
}
.hero .balance {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
  font-size: 46px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
}
.hero .balance #balance { min-width: 0; overflow-wrap: anywhere; }
.hero .balance small {
  margin: 0;
  font-size: 25px;
  font-weight: 550;
  color: #929298;
  letter-spacing: -.02em;
}
.hero-art {
  position: absolute;
  width: 80px;
  height: 80px;
  right: 23px;
  bottom: 22px;
  pointer-events: none;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 3px 5px;
  transform: rotate(-14deg) translate(-4px, -3px);
  border: 1px solid #ffffff0e;
  border-radius: 23px;
  background: linear-gradient(150deg, #ffffff09, #ffffff01);
}
.hero-glass {
  position: absolute;
  inset: 3px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff25;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff14, #ffffff04 70%);
  box-shadow: inset 0 1px 1px #ffffff17, 0 8px 16px #00000025;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: rotate(7deg);
}
.hero-glass .emoji {
  width: 47px;
  height: 47px;
  transform: rotate(-7deg);
  filter: grayscale(1) brightness(1.4);
}
.hero .balance.is-long { font-size: 29px; letter-spacing: -.04em; }
.hero .balance.is-long small { font-size: 19px; }
@media (max-width: 350px) {
  .hero.surface { height: 174px; padding: 19px; }
  .hero .hero-copy { left: 19px; bottom: 23px; max-width: calc(100% - 109px); }
  .hero-art { right: 16px; width: 70px; height: 70px; }
  .hero-glass .emoji { width: 42px; height: 42px; }
  .hero .balance { font-size: 42px; }
  .hero .balance.is-long { font-size: 26px; }
}
