.prepaid-page {
  display: grid;
  align-items: start;
  justify-items: center;
  min-height: 100svh;
  padding: clamp(16px, 6vh, 60px) 16px;
  background: radial-gradient(ellipse at top, #254029, #101713 65%);
}

.prepaid-panel {
  position: relative;
  width: min(100%, 500px);
  padding: clamp(20px, 6vw, 36px);
  border: 1px solid #4b6338;
  border-radius: 22px;
  background: #19211b;
}

.prepaid-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.prepaid-brand { display: inline-flex; }
.prepaid-panel h1 { font-size: clamp(28px, 6vw, 40px); letter-spacing: -.04em; margin: 0 0 12px; }
.prepaid-price { color: #b6ff53; font-weight: 850; font-size: 32px; margin: 0; }
.prepaid-term { color: #c2ccbd; font-size: 14px; margin: 0 0 20px; }

.prepaid-wallet { min-height: 55px; }
.prepaid-wallet:not(.is-ready) {
  position: absolute;
  inset-inline: 20px;
  visibility: hidden;
  pointer-events: none;
}

.prepaid-wallet.is-ready { position: relative; margin-bottom: 12px; }
.prepaid-panel form label { display: block; margin-bottom: 7px; font-size: 14px; }
.prepaid-panel input {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px;
  color: #f5f7f2;
  background: #202b22;
  border: 1px solid #53624d;
  border-radius: 8px;
}

.prepaid-panel form button { width: 100%; margin: 18px 0 0; }
.prepaid-panel form button:disabled { opacity: .55; cursor: wait; }
.prepaid-panel #prepaid-status { font-size: 14px; margin: 16px 0; }
.prepaid-status-error { color: #ffc0b4; }
.prepaid-policy { display: flex; flex-wrap: wrap; gap: 14px; color: #c2ccbd; font-size: 12px; margin: 16px 0; }
.prepaid-policy a, .prepaid-back { text-decoration: underline; text-underline-offset: 3px; }
.prepaid-back { color: #b6ff53; font-size: 13px; }

.prepaid-card-toggle { width: 100%; }

.wallet-control.plan-wallet-control {
  display: inline-grid;
  gap: 8px;
  height: auto;
  min-width: 0;
  margin-bottom: 0;
}
.wallet-primary { display: block; position: relative; height: 55px; }
:is(.wallet-header, .wallet-mobile) .wallet-primary { height: 44px; }
.wallet-native.is-ready:focus-within,
.prepaid-wallet.is-ready:focus-within {
  outline: 2px solid #f4fff2;
  outline-offset: 2px;
}
.plan-wallet-control .wallet-other {
  display: block;
  position: static;
  width: fit-content;
  justify-self: center;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.4;
}
