.device.purchase-screen{padding:0;background:#000;color:#fff;overflow:visible;min-height:100dvh}
.native-paywall{position:relative;min-height:100dvh;display:flex;flex-direction:column;justify-content:flex-end;background:#000;isolation:isolate}
.paywall-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.paywall-back{position:absolute;top:calc(12px + env(safe-area-inset-top));left:15px;width:44px;height:44px;color:#fff;background:none;border:0;font:300 54px/36px -apple-system,BlinkMacSystemFont,sans-serif;text-shadow:0 1px 12px #000;z-index:2}
.native-price-view{position:relative;z-index:1;margin-top:42dvh;padding:16px 0 calc(12px + env(safe-area-inset-bottom));background:rgba(0,0,0,.64);-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px)}
.paywall-brand{display:flex;align-items:center;gap:3px;margin:0 15px;height:30px;font-size:21px;line-height:30px;color:rgba(255,255,255,.7)}
.paywall-brand img{width:16px;height:25px;object-fit:contain}
.native-price-view h1{font-size:23px;line-height:1.2;font-weight:600;white-space:pre-line;margin:18px 15px 26px;letter-spacing:0;color:white}
.paywall-trial-label{font-size:13px;line-height:14px;color:#929296;margin:0 15px 4px}
.paywall-trial{height:60px;display:flex;justify-content:space-between;align-items:center;padding:8px 16px;background:#1c1c1e;border-block:.5px solid #404043}
.paywall-trial strong{display:block;font-size:18px;line-height:22px;font-weight:400}.paywall-trial div>span{display:block;color:#929296;font-size:16px;line-height:20px}
.paywall-check{display:grid;place-items:center;width:32px;height:32px;flex:none;margin-left:10px;border-radius:50%;background:#34c759;color:#fff;font-size:20px;font-weight:700}
.paywall-trial [hidden]{display:none!important}
.paywall-trial.trial-unavailable>div{align-self:stretch;padding-top:3.5px}
.paywall-cta-wrap{padding:40px 15px 28px}.paywall-cta-wrap .primary{position:relative;width:100%;min-height:51px;border-radius:16px;font-size:19px;font-weight:600;padding:12px 38px 12px 20px;background:#1678ff;line-height:1.25}
.paywall-cta-wrap .primary img{position:absolute;right:19px;top:calc(50% - 8px);width:9px;height:16px}
.paywall-links{display:flex;align-items:center;justify-content:space-evenly;gap:10px;padding:0 10px;min-height:24px}.paywall-links a,.paywall-links button{font:400 13px/1.25 -apple-system,BlinkMacSystemFont,sans-serif;color:#929296!important;text-align:center;background:none;border:0;text-decoration:none;padding:4px 0}
.checkout-sheet{margin:auto auto 0;width:min(100%,540px);max-width:100%;max-height:94dvh;padding:0;border:0;border-radius:30px 30px 0 0;color:#111827;background:#f4f5f8;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 -15px 70px #0004}
.checkout-sheet::backdrop{background:#0007;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
.checkout-sheet>header{display:flex;align-items:center;justify-content:space-between;padding:15px 20px 0;font-size:19px;font-weight:600}.checkout-close{border:1px solid #d7dae1;background:#fff;border-radius:50%;height:40px;width:40px;color:#111;font:300 31px/1 sans-serif}.checkout-lock{width:40px;text-align:center;color:#7e8897}
.checkout-content{padding:8px 24px calc(24px + env(safe-area-inset-bottom))}.checkout-eyebrow{text-align:center;color:#22824d;font-size:14px;font-weight:600;margin:10px 0}.checkout-content h2{font-size:27px;line-height:1.15;text-align:center;margin:8px 0 22px;letter-spacing:-.6px}.checkout-total{background:#fff;border-radius:18px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;font-size:17px}.checkout-total strong{font-size:29px}.checkout-intro{font-size:16px;line-height:1.4;margin:18px 0 10px}.checkout-terms{font-size:14px;line-height:1.45;color:#3c4657}.checkout-test{font-size:12px;color:#80600c;background:#fff4d5;border-radius:8px;padding:8px 10px}.checkout-divider{font-size:13px;color:#626c7e;text-align:center;margin:18px 0}.checkout-content .primary{width:100%;margin-top:18px;border-radius:14px;min-height:50px;font-size:17px}.checkout-content .text-link{margin-top:12px}.checkout-verification,.checkout-security{font-size:11px;line-height:1.4;color:#737d8b;text-align:center}.checkout-legal{text-align:center;margin-top:20px;font-size:12px}.checkout-legal a{font-size:12px;color:#61718b!important}.checkout-security{display:block;margin-top:12px}#checkout-status{padding:14px 0;font-size:14px;line-height:1.4}#checkout-status .text-link{display:block;margin-inline:auto}#checkout-contact{margin:16px 0}#checkout-payment{margin-top:12px}
@media(min-width:700px){.device.purchase-screen{max-width:540px}.checkout-sheet{margin:auto;border-radius:30px}.native-paywall{min-height:calc(100dvh - 56px)}.native-price-view{margin-top:38dvh}}
@media(prefers-reduced-motion:no-preference){.checkout-sheet[open]{animation:checkout-enter .3s cubic-bezier(.2,.7,.3,1)}@keyframes checkout-enter{from{transform:translateY(60px);opacity:.4}to{transform:translateY(0);opacity:1}}}
.checkout-content{padding-top:0}.checkout-eyebrow{margin:8px 0}.checkout-content h2{font-size:25px;margin-bottom:16px}.checkout-intro{font-size:14px;margin:12px 0 8px}.checkout-terms{font-size:13px;margin:8px 0}.checkout-total{padding:12px 18px}.checkout-test{padding:6px 9px;margin:10px 0}.checkout-legal{margin-top:14px}.checkout-security{margin-bottom:0}

.paywall-back{left:5px;width:50px;height:50px;display:grid;place-items:center}.paywall-back img{width:13px;height:23px;object-fit:contain}
/* Fit the browser's usable viewport; preserve the native video's top edge. */
.device.purchase-screen{min-height:0;overflow:hidden}
.native-paywall{--pw-scale:.88;height:var(--paywall-height,100dvh);min-height:0;overflow:hidden}
.paywall-video{object-fit:contain;object-position:center top}
.native-price-view{margin-top:0;flex:none;padding-top:calc(14px * var(--pw-scale));padding-bottom:max(8px,env(safe-area-inset-bottom))}
.paywall-brand{height:calc(28px * var(--pw-scale));font-size:calc(21px * var(--pw-scale));line-height:1.2}
.native-price-view h1{font-size:calc(23px * var(--pw-scale));margin:calc(13px * var(--pw-scale)) 15px calc(20px * var(--pw-scale));line-height:1.2}
.paywall-trial-label{font-size:max(11px,calc(13px * var(--pw-scale)))}
.paywall-trial{height:calc(58px * var(--pw-scale));padding-block:5px}.paywall-trial strong{font-size:calc(18px * var(--pw-scale));line-height:1.2}.paywall-trial div>span{font-size:calc(16px * var(--pw-scale));line-height:1.3}
.paywall-cta-wrap{padding:calc(25px * var(--pw-scale)) 15px calc(18px * var(--pw-scale))}.paywall-cta-wrap .primary{min-height:46px;font-size:calc(19px * var(--pw-scale));padding-block:12px}
.paywall-links{min-height:22px}.paywall-links a,.paywall-links button{font-size:max(11px,calc(13px * var(--pw-scale)))}
.checkout-sheet.is-preparing{position:fixed;bottom:0;top:auto;left:0;right:0;visibility:hidden;pointer-events:none;animation:none}
.checkout-terms{font-size:18px;font-weight:600;line-height:1.35;color:#111827;margin:14px 0 8px}.checkout-renewal{font-size:13px;line-height:1.45;color:#536073;margin:8px 0 12px}
.checkout-test-tools{margin-top:14px;padding-top:10px;border-top:1px solid #dce1e8;color:#697487;font-size:12px}.checkout-test-tools summary{cursor:pointer}.checkout-test-tools p{line-height:1.4}.checkout-test-tools .text-link{color:#007aff}
.checkout-spinner{display:inline-block;width:16px;height:16px;margin-right:9px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:checkout-spin .8s linear infinite}
@keyframes checkout-spin{to{transform:rotate(360deg)}}
@media(max-height:480px){.native-paywall{height:auto;min-height:560px}.device.purchase-screen{overflow:visible}}
.paywall-cta-wrap .primary[aria-busy=true]{opacity:1;cursor:progress}

/* v28: native-width video, raised within its black headroom; compact spacing,
   full-size headline and the same 30px live backdrop blur as AllFunctionsPriceView. */
.paywall-video{inset:auto 0 auto;top:-20px;width:100%;height:auto;aspect-ratio:1284/2778;object-fit:contain;object-position:center top}
.native-price-view{background:rgba(0,0,0,.24);-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);transform:none}
.native-price-view h1{font-size:23px}
.checkout-terms{font-size:15px;font-weight:400;line-height:1.45;color:#3c4657;margin:12px 0 8px}
.checkout-recovery{display:block;margin:14px auto 0;font-size:14px}
@media(max-width:350px){.native-price-view h1{font-size:21px}}

/* v29: a little more video headroom and a taller primary action. */
.paywall-video{top:-30px}
.paywall-cta-wrap .primary{min-height:51px}
/* v30 alternate paywall: one scrolling panel over the same native video. */
.hybrid-paywall .hybrid-scroll{position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-top:calc(var(--paywall-height,100dvh) * .34);scrollbar-width:thin;scrollbar-color:#7775 transparent}
.hybrid-paywall .native-price-view{border-radius:24px 24px 0 0;min-height:66%;padding-top:10px;background:rgba(0,0,0,.52)}
.hybrid-handle{display:block;width:34px;height:4px;margin:0 auto 14px;border-radius:3px;background:#aaa8}
.hybrid-paywall h1{margin-bottom:14px}
.checkout-inline{position:relative;min-height:220px;color:#fff}
.checkout-inline .checkout-content{padding:0 16px 16px}
.checkout-inline>header,.checkout-inline .checkout-eyebrow,.checkout-inline:not(.has-subscription) #checkout-title,.checkout-inline:not(.has-subscription) .checkout-intro,.checkout-inline .checkout-total{display:none}
.checkout-inline.has-subscription #checkout-title{font-size:22px;text-align:left;margin-top:4px}
.checkout-inline .checkout-terms{color:#e0e4eb;font-size:14px;margin:0 0 8px}
.checkout-inline .checkout-renewal{color:#b5bfce;font-size:12px;line-height:1.4;margin:0 0 12px}
.checkout-inline .checkout-test{color:#e6ce8e;background:#51401480;margin:8px 0 12px;font-size:11px}
.checkout-inline.is-preparing #checkout-payments{visibility:hidden;position:absolute;top:0;left:16px;right:16px}
.checkout-inline.is-preparing #checkout-status{min-height:160px;display:flex;align-items:center;justify-content:center;color:#bec9d8}
.checkout-inline .hybrid-legal{margin-top:18px;color:#a9b4c5;font-size:11px}
.checkout-inline .hybrid-legal>summary{cursor:pointer;text-align:center;list-style:none}
.checkout-inline .hybrid-legal .checkout-legal{margin:10px 0}
.checkout-inline .hybrid-legal .checkout-legal a{color:#bdc9da!important}
.checkout-inline .hybrid-legal #paywall-restore{display:block;margin:10px auto 0;color:#bdc9da;font-size:12px}
.checkout-inline .checkout-security{color:#a9b4c5;font-size:10px}
.checkout-inline .checkout-test-tools{color:#a9b4c5;border-color:#465268}
.checkout-inline .checkout-recovery{color:#85b8ff}

/* v31: native CTA type size; compact direct-wallet alternative. */
.paywall-cta-wrap .primary{font-size:19px;white-space:nowrap}
.hybrid-paywall .hybrid-scroll{padding-top:calc(var(--paywall-height,100dvh) * .48)}
.hybrid-paywall .native-price-view{min-height:0}
.checkout-inline:not(.has-subscription) .checkout-terms,.checkout-inline .checkout-test{display:none}
.checkout-inline{min-height:0}
.checkout-inline .hybrid-legal .checkout-renewal{margin:10px 0;font-size:12px;line-height:1.45}
.checkout-inline .hybrid-legal{margin-top:12px}
.checkout-inline .checkout-security{margin-top:8px}
.checkout-inline .checkout-test-tools{margin-top:8px;padding-top:6px}

/* v32: one concise disclosure and a clear next step before payment methods. */
.checkout-summary,.checkout-payment-prompt{display:none}
.checkout-sheet .checkout-test{display:none}
.checkout-sheet.is-enrolling .checkout-intro,.checkout-sheet.is-enrolling .checkout-terms,.checkout-sheet.is-enrolling .checkout-renewal{display:none}
.checkout-sheet.is-enrolling .checkout-summary{display:block;font-size:14px;line-height:1.45;color:#3c4657;margin:14px 0}
.checkout-sheet.is-enrolling .checkout-payment-prompt{display:block;font-size:14px;font-weight:500;line-height:1.4;color:#24476d;background:#e8f1fc;border-radius:12px;padding:12px 14px;margin:0 0 12px}
.checkout-sheet.is-enrolling .checkout-eyebrow{font-size:16px;margin:12px 0 8px}

/* v33: the same native close artwork and optical alignment as app navigation. */
.checkout-close{position:relative;flex:none;display:grid;place-items:center;padding:0;border:0;background:transparent;overflow:visible}
.checkout-close img{position:absolute;width:53.333px;height:53.333px;max-width:none;left:50%;top:50%;transform:translate(-50%,calc(-50% + 1.333px));object-fit:contain;pointer-events:none}

/* v35: native wallet first; all alternatives are ready inside one disclosure. */
#checkout-alternatives{margin:0;border:1px solid #dce1e8;border-radius:14px;padding:14px;background:#fff}
#checkout-alternatives>summary{display:list-item;cursor:pointer;font-size:15px;font-weight:600;color:#24384e}
#checkout-alternatives[open]>summary{margin-bottom:14px}
.has-primary-wallet #checkout-alternatives{margin-top:12px}
#checkout-form{margin-top:14px}
.checkout-inline #checkout-alternatives{background:#151c27;border-color:#526174}
.checkout-inline #checkout-alternatives>summary{color:#eef3fb}
.checkout-inline #checkout-alternatives[open]{background:#fff;color:#111827}
.checkout-inline #checkout-alternatives[open]>summary{color:#24384e}

.checkout-sheet.is-enrolling.has-primary-wallet .checkout-payment-prompt{display:none}

/* Compact native-wallet sheet grows upward when alternatives are expanded. */
.checkout-sheet.has-primary-wallet{height:fit-content;min-height:0;max-height:94dvh}
.checkout-sheet.has-primary-wallet>header{padding-top:12px}
.checkout-sheet.has-primary-wallet .checkout-content{padding-bottom:max(12px,env(safe-area-inset-bottom))}
.checkout-sheet.is-enrolling.has-primary-wallet .checkout-eyebrow{margin:6px 0}
.checkout-sheet.is-enrolling.has-primary-wallet h2{margin-top:6px;margin-bottom:12px}
.checkout-sheet.is-enrolling.has-primary-wallet .checkout-summary{margin:10px 0 12px}
.checkout-sheet.has-primary-wallet .checkout-legal{margin-top:12px}
.checkout-sheet.has-primary-wallet .checkout-security{margin-top:6px}
.checkout-sheet.has-primary-wallet .checkout-test-tools{margin-top:8px;padding-top:6px}

/* v36: keep the native video visible behind the confirmation sheet. */
.checkout-sheet::backdrop{background:rgba(0,0,0,.22);-webkit-backdrop-filter:none;backdrop-filter:none}

/* v37: balanced close control and shorter footer, with space before wallets. */
.checkout-sheet>header,.checkout-sheet.has-primary-wallet>header{padding:20px 20px 0}
.checkout-sheet.is-enrolling .checkout-summary{margin-bottom:18px}
.checkout-sheet.is-enrolling.has-primary-wallet .checkout-summary{margin-bottom:18px}
.checkout-sheet .checkout-legal{margin-top:8px;line-height:1.4}
.checkout-sheet .checkout-legal a{padding-block:0}
.checkout-sheet .checkout-security{margin-top:4px}
.checkout-sheet .checkout-content{padding-bottom:max(12px,env(safe-area-inset-bottom))}

/* v41: compact total and footer; legal links must not inherit action margins. */
.checkout-sheet .checkout-total{min-height:50px;padding:8px 18px;line-height:1.2}
.checkout-sheet .checkout-total strong{font-size:27px;line-height:1.2}
.checkout-sheet .checkout-legal,.checkout-sheet.has-primary-wallet .checkout-legal{margin-top:14px}
.checkout-sheet .checkout-legal .text-link{margin:0}
.checkout-sheet .checkout-security,.checkout-sheet.has-primary-wallet .checkout-security{margin-top:4px}
.checkout-sheet .checkout-content,.checkout-sheet.has-primary-wallet .checkout-content{padding-bottom:max(6px,env(safe-area-inset-bottom))}

/* v42: one compact footer row when translations fit, wrapping without shrinking. */
.checkout-sheet .checkout-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 12px;margin-top:14px}
.checkout-sheet .checkout-footer .checkout-legal,.checkout-sheet .checkout-footer .checkout-security{margin:0}
.checkout-sheet .checkout-footer .checkout-legal{white-space:nowrap}
.checkout-inline .checkout-footer{display:contents}

/* v43: native app branding stays within the existing 40px header row. */
.checkout-sheet .checkout-brand{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;max-width:calc(100% - 96px);height:40px}
.checkout-brand>img{width:36px;height:36px;flex:none;object-fit:contain;background:#fff;border-radius:9px;box-shadow:0 1px 4px #00000012}
.checkout-brand-copy{display:flex;flex-direction:column;min-width:0;text-align:left;gap:1px}
.checkout-brand-copy strong{font-size:17px;line-height:20px;font-weight:600}
.checkout-brand-copy small{font-size:11px;line-height:13px;font-weight:400;color:#627087;overflow-wrap:anywhere}
.checkout-sheet .checkout-lock{flex:none}

/* v44: compact branded header; duration moves into the title. */
.checkout-sheet>header,.checkout-sheet.has-primary-wallet>header{align-items:center;min-height:64px}
.checkout-sheet .checkout-brand{flex-direction:row;gap:8px;height:44px;max-width:calc(100% - 96px);margin:auto}
.checkout-sheet .checkout-brand>img{width:44px;height:44px;border-radius:11px;box-shadow:0 3px 7px #00000030}
.checkout-brand-copy{display:block;text-align:left;font-size:15px;line-height:19px;font-weight:500;color:#354052}
.checkout-sheet .checkout-eyebrow{display:none}
.checkout-sheet.is-enrolling h2,.checkout-sheet.is-enrolling.has-primary-wallet h2{margin-top:18px}
.checkout-sheet.is-paid #checkout-status>.primary{width:100%;white-space:normal}

/* v45: two-line label, centered with the icon as one group. */
.checkout-brand-copy{display:flex;flex-direction:column;gap:1px}
.checkout-brand-copy strong{font-size:19px;line-height:24px;font-weight:600}
.checkout-brand-copy small{font-size:15px;line-height:19px;font-weight:400}
.checkout-sheet.is-enrolling h2,.checkout-sheet.is-enrolling.has-primary-wallet h2{margin-top:24px}

/* v47: compact status view, available only when explicitly requested. */
.checkout-sheet.is-enrolling #checkout-title{white-space:nowrap}
.checkout-sheet.has-subscription #checkout-title{margin-top:28px;margin-bottom:16px}
.checkout-sheet.has-subscription .checkout-intro[hidden]{display:none}
.checkout-sheet.has-subscription #checkout-status{padding:0}
.checkout-sheet.has-subscription #checkout-status .primary{margin-top:10px}
.checkout-sheet.has-subscription #checkout-status .text-link{margin-top:10px}
