/* Stripe-style checkout — v1 layout; colors/icons tuned from example-stripe.html */
.play-flow.play-flow--stripe {
  background: #fcfcfe;
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
  padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
  -webkit-font-smoothing: antialiased;
  /* Outer scroller only — avoid nested max-height clipping the summary/Link block */
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.play-flow.play-flow--stripe .play-flow-sheet-handle { display: none; }
.play-flow.play-flow--stripe .play-flow-back {
  color: #1a1a1a;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: 8px;
  z-index: 20;
}
.play-flow-panel--stripe {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 52px 16px 40px;
  box-sizing: border-box;
  /* Critical: base .play-flow-panel uses justify-content:center which clips the top on mobile */
  justify-content: flex-start !important;
  overflow: visible;
  max-height: none;
  flex: 1 0 auto;
}
.stripe-debit-banner {
  position: sticky;
  top: 0;
  z-index: 15;
  margin: 0 -16px 18px;
  padding: 12px 16px 12px 48px;
  background: #fff8e6;
  border-bottom: 1px solid #f0e0b2;
  color: #5c4b1a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.stripe-debit-banner strong {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #3d320f;
}
.stripe-em {
  color: #c45c00;
  font-weight: 800;
}
.stripe-checkout-head {
  text-align: center;
  margin-bottom: 20px;
}
.stripe-checkout-product {
  margin: 8px 0 6px;
  font-size: 15px;
  color: #5f5f5f;
}
.stripe-contact {
  margin: 0 0 22px;
}
.stripe-checkout-amount {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.stripe-link-btn {
  width: 100%;
  height: 55px;
  border: none;
  border-radius: 6px;
  background: #00d66f;
  color: #011e0f;
  font-weight: 600;
  font-size: 16px;
  opacity: 0.45;
  cursor: not-allowed;
}
.stripe-verify-note {
  margin: 12px 12px 4px;
  padding: 0;
  color: #5c4b1a;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}
.stripe-pay-note {
  margin: 12px 0 0;
  color: #5f5f5f;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}
.stripe-link-mark {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stripe-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #707070;
  font-size: 13px;
}
.stripe-or::before,
.stripe-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e6e6e6;
}
.stripe-pm-heading {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 12px;
}
.stripe-pm-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
}
.stripe-pm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #e6e6e6;
  font-size: 15px;
  background: #fff;
}
.stripe-pm-row:last-child { border-bottom: none; }
.stripe-pm-row.is-active { background: #f7f9fc; }
.stripe-pm-row.is-disabled {
  color: #a3a3a3;
  background: #fafbfc;
  cursor: not-allowed;
  opacity: 0.78;
}
.stripe-bank-icons .stripe-bank-chip {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 1px;
  box-sizing: border-box;
}
.stripe-bank-rotate {
  width: 22px;
  height: 22px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.stripe-bank-rotate .stripe-bank-chip {
  position: absolute;
  inset: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.stripe-bank-rotate .stripe-bank-chip.is-in {
  opacity: 1;
  transform: translateY(0);
}
.stripe-bank-rotate .stripe-bank-chip.is-out {
  opacity: 0;
  transform: translateY(6px);
}
.stripe-pm-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  flex-shrink: 0;
}
.stripe-pm-row.is-active .stripe-pm-radio {
  border-color: #1a1a1a;
  box-shadow: inset 0 0 0 4px #1a1a1a;
}
.stripe-pm-tab-icon {
  width: 17px;
  height: 16px;
  flex-shrink: 0;
}
.stripe-pm-tab-icon--svg { color: #5f5f5f; }
.stripe-pm-icons {
  margin-left: auto;
  display: flex;
  gap: 4px;
  align-items: center;
}
.stripe-pm-icons img {
  height: 16px;
  width: auto;
  display: block;
}
.stripe-card-fields {
  padding: 16px;
  background: #f7f9fc;
  border-top: 1px solid #e6e6e6;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stripe-field label { display: none; }
.stripe-field input,
.stripe-field select {
  width: 100%;
  height: 44px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 16px;
  background: #fff;
  color: #1a1a1a;
  box-sizing: border-box;
}
.stripe-field input::placeholder { color: #717171; }
.stripe-field input:disabled { background: #f2f2f2; color: #717171; }
.stripe-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stripe-pm-tab-icon {
  object-fit: contain;
}
.stripe-billing { margin-top: 24px; }
.stripe-billing h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
}
.stripe-billing-form {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
}
.stripe-billing-form .stripe-field-row {
  gap: 1.5px;
}
.stripe-billing-form .stripe-field {
  margin: 0;
}
.stripe-pay-btn {
  width: 100%;
  height: 48px;
  margin-top: 22px;
  border: none;
  border-radius: 6px;
  background: #635bff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.stripe-pay-btn:hover { background: #5851ea; }
.stripe-form-error {
  color: #df1b41;
  font-size: 14px;
  margin: 12px 0 0;
}
.stripe-footer {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #707070;
}
.stripe-footer a { color: #635bff; text-decoration: none; }
.stripe-footer a:hover { text-decoration: underline; }
.stripe-footer-sep { color: #c4c4c4; }
.stripe-footer-logo { display: block; }
.play-prepay-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  width: 100%;
}
.play-prepay-actions .play-submit,
.play-prepay-actions .play-stripe-entry {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  margin-top: 0;
  height: 44px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  box-sizing: border-box;
}
.play-stripe-or {
  flex: 0 0 auto;
  color: #6b7382;
  font-size: 12px;
  font-weight: 600;
  text-transform: lowercase;
}
.play-stripe-entry {
  padding: 0 14px;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #635bff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.play-stripe-entry:hover {
  background: #f7f9fc;
  border-color: #b8c0cc;
}
.play-stripe-entry-wordmark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.play-stripe-entry[hidden],
.play-stripe-or[hidden] {
  display: none !important;
}