:root {
  color-scheme: dark;
  color: #fff;
  background: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  --surface: linear-gradient(160deg, rgba(38, 38, 38, .74), rgba(30, 30, 30, .68));
  --surface-border: rgba(255, 255, 255, .13);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; }
main { min-height: 100dvh; padding: 14px 16px max(32px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .10); }
header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-top: 4px; }
h1 { margin: 0 0 6px; font-size: 32px; font-weight: 800; letter-spacing: -.8px; }
.close {
  display: grid; place-items: center; flex: 0 0 44px;
  width: 44px; height: 44px; border-radius: 50%;
  border: .5px solid var(--surface-border); background: var(--surface);
  color: #e7e7e7; text-decoration: none; font-size: 29px; line-height: 1;
  cursor: pointer;
}
.close span { display: block; margin-top: -3px; }
.intro { margin: 0 0 22px; color: rgba(255, 255, 255, .6); }
.intro p { margin: 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.intro .question { color: #fff; font-size: 16px; margin-bottom: 6px; }
.intro .muted { margin-top: 6px; }
.packs { display: flex; flex-direction: column; gap: 8px; }
.pack {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px;
  align-items: center; width: 100%; min-height: 54px; padding: 9px 12px 9px 20px;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  border: .5px solid var(--surface-border); border-radius: 999px;
  background: var(--surface), #000;
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .025);
}
.pack-units {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px;
  font-size: 20px; font-weight: 600; letter-spacing: -.4px; line-height: 1.15; white-space: nowrap;
}
.pack-units strong { font-weight: inherit; }
.pack-units > span:not(.discount) { font-size: 14px; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .9); }
.discount {
  flex-shrink: 0; align-self: center; margin-left: 2px; padding: 2px 7px; border-radius: 999px;
  font-size: 13px; font-weight: 600; line-height: 17px; color: #7ee596; letter-spacing: .2px;
  background: rgba(52, 199, 89, .14); border: 1px solid rgba(52, 199, 89, .20);
}
.price, .pay {
  display: flex; align-items: center; justify-content: center;
  min-width: 84px; min-height: 34px; padding: 6px 12px; color: #fff; white-space: nowrap;
  font-size: 16px; font-weight: 600; line-height: 20px;
  background: linear-gradient(160deg, #3d8bf8, #3785f5);
  border: .5px solid rgba(105, 207, 255, .72); border-radius: 999px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .18), inset 0 -1px 1px rgba(95, 197, 255, .24);
}
button, .close { -webkit-tap-highlight-color: transparent; touch-action: pan-y pinch-zoom; }
button:hover, .close:hover { border-color: rgba(255, 255, 255, .24); }
:focus-visible { outline: 2px solid #89c4ff; outline-offset: 3px; }
.status { margin: 22px 0 0; color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.45; }
.status:empty { display: none; }
.pay { width: 100%; min-height: 46px; font-family: inherit; cursor: pointer; }
button:disabled { opacity: .63; cursor: default; }
[hidden] { display: none; }
