.bullen-mobile-buy-open {
  overflow: hidden;
}

.bullen-mobile-buy {
  --mobile-buy-gold: #c7a869;
  --mobile-buy-gold-bright: #ead9aa;
  --mobile-buy-ink: #f5f3ee;
  --mobile-buy-muted: rgba(245, 243, 238, 0.58);
  /* Preserve the home-page picker verbatim inside standalone page styles. */
  font-family: "Space Mono", monospace;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-transform: none;
  text-rendering: auto;
  -webkit-font-smoothing: auto;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding:
    max(12px, env(safe-area-inset-top, 0px))
    12px
    max(12px, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.bullen-mobile-buy[hidden] {
  display: none;
}

.bullen-mobile-buy.is-open {
  opacity: 1;
}

.bullen-mobile-buy__sheet {
  box-sizing: border-box;
  width: min(100%, 600px);
  max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  margin: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(199, 168, 105, 0.42) transparent;
  scrollbar-width: thin;
  padding: 18px;
  color: var(--mobile-buy-ink);
  background:
    radial-gradient(circle at 82% 2%, rgba(199, 168, 105, 0.16), transparent 31%),
    #070707;
  border: 1px solid rgba(199, 168, 105, 0.34);
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
  transform: translateY(12px) scale(0.985);
  transition: transform 180ms ease;
}

.bullen-mobile-buy.is-open .bullen-mobile-buy__sheet {
  transform: translateY(0) scale(1);
}

.bullen-mobile-buy__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.bullen-mobile-buy__eyebrow,
.bullen-mobile-buy__section-title {
  margin: 0;
  color: var(--mobile-buy-gold);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bullen-mobile-buy__title {
  margin: 7px 0 0;
  color: var(--mobile-buy-ink);
  font-family: Poppins, sans-serif;
  font-weight: 700;
  text-transform: none;
  font-size: clamp(23px, 7vw, 31px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.bullen-mobile-buy__close {
  flex: 0 0 auto;
  padding: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 243, 238, 0.18);
  border-radius: 999px;
  color: var(--mobile-buy-ink);
  background: rgba(245, 243, 238, 0.07);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.bullen-mobile-buy__intro {
  margin: 15px 0 17px;
  color: var(--mobile-buy-muted);
  font-family: Poppins, sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

.bullen-mobile-buy__choices {
  display: grid;
  gap: 10px;
}

.bullen-mobile-buy__choice {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 10px 14px;
  border: 1px solid rgba(245, 243, 238, 0.13);
  border-radius: 14px;
  color: var(--mobile-buy-ink);
  background: rgba(245, 243, 238, 0.045);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.bullen-mobile-buy__choice--phantom {
  background: linear-gradient(90deg, rgba(171, 159, 242, 0.17), rgba(245, 243, 238, 0.035));
  border-color: rgba(171, 159, 242, 0.34);
}

.bullen-mobile-buy__choice--solflare {
  background: linear-gradient(90deg, rgba(252, 139, 37, 0.16), rgba(245, 243, 238, 0.035));
  border-color: rgba(252, 139, 37, 0.3);
}

.bullen-mobile-buy__choice--jupiter {
  background: linear-gradient(90deg, rgba(199, 168, 105, 0.17), rgba(245, 243, 238, 0.035));
  border-color: rgba(199, 168, 105, 0.32);
}

.bullen-mobile-buy__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.42);
  font-family: "Space Mono", monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.bullen-mobile-buy__mark img,
.bullen-mobile-buy__mark svg {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.bullen-mobile-buy__mark--connected {
  color: var(--mobile-buy-gold-bright);
  background: rgba(199, 168, 105, 0.12);
  border: 1px solid rgba(199, 168, 105, 0.16);
}

.bullen-mobile-buy__mark--connected svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.bullen-mobile-buy__choice-copy {
  min-width: 0;
}

.bullen-mobile-buy__choice strong,
.bullen-mobile-buy__choice small {
  display: block;
}

.bullen-mobile-buy__choice strong {
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.bullen-mobile-buy__choice small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--mobile-buy-muted);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bullen-mobile-buy__arrow {
  color: var(--mobile-buy-gold-bright);
  font-family: "Space Mono", monospace;
  font-size: 18px;
}

.bullen-mobile-buy__section-title {
  margin: 19px 0 9px;
}

.bullen-mobile-buy__utilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.bullen-mobile-buy__utility {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(199, 168, 105, 0.24);
  border-radius: 12px;
  color: var(--mobile-buy-gold-bright);
  background: rgba(199, 168, 105, 0.07);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.bullen-mobile-buy__note {
  margin: 13px 2px 0;
  color: rgba(245, 243, 238, 0.42);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  line-height: 1.55;
}

.bullen-mobile-buy button:focus-visible,
.bullen-mobile-buy a:focus-visible {
  outline: 2px solid var(--mobile-buy-gold-bright);
  outline-offset: 3px;
}

.bullen-mobile-buy .bullen-auto-focus-neutral:focus {
  outline: none !important;
  outline-offset: 0 !important;
}

@media (min-width: 640px) {
  .bullen-mobile-buy {
    padding: 20px;
  }

  .bullen-mobile-buy__sheet {
    max-height: calc(100dvh - 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bullen-mobile-buy,
  .bullen-mobile-buy__sheet {
    transition: none;
  }
}

/* The wallet handoff adopts the public House system: flat ink, precise rules,
   square records and one restrained gold hierarchy. */
.bullen-mobile-buy {
  padding:
    max(14px, env(safe-area-inset-top, 0px))
    14px
    max(14px, env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bullen-mobile-buy__sheet {
  width: min(100%, 560px);
  padding: clamp(18px, 4vw, 26px);
  border: 1px solid rgba(199, 168, 105, 0.36);
  border-radius: 0;
  background: #050505;
  box-shadow: 18px 18px 0 rgba(199, 168, 105, 0.055), 0 30px 90px rgba(0, 0, 0, 0.78);
  transform: translateY(8px);
}

.bullen-mobile-buy.is-open .bullen-mobile-buy__sheet { transform: translateY(0); }

.bullen-mobile-buy__head {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(199, 168, 105, 0.22);
}

.bullen-mobile-buy__eyebrow,
.bullen-mobile-buy__section-title {
  font-size: 9px;
  letter-spacing: 0.24em;
}

.bullen-mobile-buy__title {
  margin-top: 9px;
  font-size: clamp(22px, 6.8vw, 30px);
  letter-spacing: 0.015em;
}

.bullen-mobile-buy__close {
  width: 40px;
  height: 40px;
  border-color: rgba(199, 168, 105, 0.24);
  border-radius: 0;
  color: var(--mobile-buy-gold-bright);
  background: transparent;
}

.bullen-mobile-buy__intro {
  margin: 16px 0 18px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  line-height: 1.7;
}

.bullen-mobile-buy__choices { gap: 8px; }

.bullen-mobile-buy__choice,
.bullen-mobile-buy__choice--phantom,
.bullen-mobile-buy__choice--solflare,
.bullen-mobile-buy__choice--jupiter {
  min-height: 68px;
  border-color: rgba(199, 168, 105, 0.22);
  border-radius: 0;
  background: rgba(199, 168, 105, 0.035);
}

/* Selected hybrid: preserve the House geometry while keeping the two wallet
   identities immediately recognizable through their restrained brand tints. */
.bullen-mobile-buy__choice--phantom {
  background: linear-gradient(90deg, rgba(171, 159, 242, 0.17), rgba(199, 168, 105, 0.025));
  border-color: rgba(171, 159, 242, 0.38);
}

.bullen-mobile-buy__choice--solflare {
  background: linear-gradient(90deg, rgba(252, 105, 37, 0.16), rgba(199, 168, 105, 0.025));
  border-color: rgba(252, 105, 37, 0.34);
}

.bullen-mobile-buy__choice::before {
  content: '';
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 2px;
  background: var(--mobile-buy-gold);
  opacity: 0.66;
}

.bullen-mobile-buy__mark,
.bullen-mobile-buy__mark--connected {
  border: 1px solid rgba(199, 168, 105, 0.18);
  border-radius: 0;
  background: #090909;
}

.bullen-mobile-buy__choice strong {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bullen-mobile-buy__choice small {
  color: rgba(245, 243, 238, 0.44);
  font-size: 8.5px;
  letter-spacing: 0.01em;
}

.bullen-mobile-buy__choice--solflare small {
  /* Keep the extra native Buy step readable even on narrow phones. */
  white-space: normal;
  overflow: visible;
}

.bullen-mobile-buy__section-title {
  margin: 20px 0 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(199, 168, 105, 0.18);
}

.bullen-mobile-buy__utility {
  min-height: 48px;
  border-color: rgba(199, 168, 105, 0.24);
  border-radius: 0;
  background: transparent;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.bullen-mobile-buy__note {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(199, 168, 105, 0.14);
}
