body.mobile-purchase-is-open { overflow: hidden; }
.mobile-purchase {
  box-sizing: border-box;
  width: min(660px, calc(100% - 1.5rem));
  height: calc(100dvh - 1.5rem);
  max-width: none;
  max-height: none;
  padding: 0;
  margin: auto;
  border: 1px solid #111;
  border-radius: 6px;
  background: #fff;
  color: #111;
  color-scheme: light;
  overflow: hidden;
  font: 400 1rem/1.6 'Inter', sans-serif;
}
.mobile-purchase[open] { display: grid; grid-template-rows: minmax(0, 1fr); }
.mobile-purchase::backdrop { background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(3px); }
.mobile-purchase-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.mobile-purchase iframe { display: block; width: 100%; border: 0; background: #fff; }
.mobile-purchase iframe[hidden],
.mobile-purchase [hidden] { display: none; }
.mobile-purchase-close {
  position: absolute;
  top: max(0.5rem, env(safe-area-inset-top));
  right: 0.5rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 0;
  background: #222;
  color: #fff;
  cursor: pointer;
  font: 400 2.2rem/1 sans-serif;
  touch-action: manipulation;
}
.mobile-purchase-loading { display: grid; place-items: center; min-height: 65dvh; margin: 0; padding: 4rem 1.5rem; color: #444; }
.mobile-purchase-fallback { padding: 4.5rem 1.5rem 2rem; }
.mobile-purchase-fallback p { color: #333; }
.mobile-purchase-fallback button,
.mobile-purchase-fallback a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: 600 0.9rem/1.4 'Inter', sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.mobile-purchase-fallback a { background: #111; color: #fff; }
.mobile-purchase .mobile-purchase-note { margin-top: 1rem; font-size: 0.8rem; }
.mobile-purchase button:focus-visible,
.mobile-purchase a:focus-visible,
.mobile-purchase-scroll:focus-visible { outline: 3px solid #c33e00; outline-offset: -4px; }
.mobile-purchase-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
