/* Local membership, checkout and policy pages. Native dialog provides focus containment. */
.commerce-open { overflow: hidden; }
.header-member { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 13px; border: 1px solid #ff9d842e; border-radius: 7px; color: #ffac93; background: #ff8a7210; font-size: 12px; white-space: nowrap; }
.header-member:hover { border-color: #ff9d8470; background: #ff8a7220; }
.footer-legal { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-legal a,.footer-legal button { color: #9aa1b2; font-size: 11px; min-height: 30px; display: inline-flex; align-items: center; }
.footer-legal a:hover,.footer-legal button:hover { color: #ffac93; }
.commerce-dialog { width: min(900px,calc(100% - 48px)); max-width: 900px; max-height: calc(100dvh - 64px); margin: auto; padding: 0; border: 1px solid #ffffff1c; border-radius: 24px; background: #191b23; color: #f4f2f1; box-shadow: 0 32px 120px #0009; overflow: auto; overscroll-behavior: contain; color-scheme: dark; scrollbar-width: thin; }
.commerce-dialog::backdrop { background: #05060dc9; backdrop-filter: blur(9px); }
.commerce-dialog:focus { outline: none; }
.commerce-shell { position: relative; }
.commerce-dialog h2:focus { outline: none; }
.commerce-close { position: absolute; z-index: 2; right: 16px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ffffff08; color: #b9bdc9; }
.commerce-close:hover { color: #fff; background: #ffffff18; }
.commerce-dialog button:focus-visible,.commerce-dialog a:focus-visible { outline: 2px solid #ffac93; outline-offset: 4px; }
.commerce-dialog fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.membership-layout { display: grid; grid-template-columns: 290px minmax(0,1fr); }
.membership-art { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 42px 28px 30px; background: radial-gradient(ellipse at 0 0,#81483b80,transparent 65%),linear-gradient(160deg,#39272c,#25222d 55%,#1e222b); border-right: 1px solid #ffffff0b; }
.membership-art:before,.membership-art:after { content: ''; position: absolute; pointer-events: none; width: 300px; height: 420px; border: 1px solid #ffb29920; border-radius: 50%; top: 65px; left: -135px; transform: rotate(-35deg); }
.membership-art:after { top: 90px; left: -102px; border-color: #ffb29910; }
.membership-orbit { display: grid; place-items: center; width: 92px; height: 92px; border: 1px solid #ffb29945; border-radius: 26px; color: #ffc3a4; background: linear-gradient(135deg,#ffb59915,#ffb59904); box-shadow: 0 0 60px #ff927618,inset 0 1px #ffffff18; margin: 14px 0 30px; transform: rotate(-7deg); }
.member-wordmark { position: relative; font-size: 10px; color: #e7baa6; letter-spacing: 2px; }
.member-wordmark b { font-size: 8px; letter-spacing: 1px; padding: 3px 5px; border-radius: 3px; background: #f9c7a7; color: #463025; }
.membership-art h3 { margin: 22px 0 14px; color: #ffe6d8; font-size: 34px; font-weight: 600; line-height: 1.35; letter-spacing: -1px; }
.membership-art>p { color: #b39e9f; font-size: 12px; line-height: 1.9; }
.member-benefits { list-style: none; padding: 50px 0 0; margin: auto 0 0; display: grid; gap: 17px; }
.member-benefits li { display: flex; gap: 9px; color: #cabdbb; font-size: 11px; line-height: 1.6; }
.member-benefits svg { flex-shrink: 0; color: #eaaa8c; margin-top: 1px; }
.membership-options { padding: 42px 32px 26px; }
.commerce-dialog .eyebrow { color: #c89483; font-size: 8px; letter-spacing: 1.8px; }
.commerce-dialog h2 { font-size: 28px; font-weight: 600; line-height: 1.4; margin: 12px 0 7px; letter-spacing: -.7px; }
.commerce-subtitle { font-size: 12px; color: #9ca1b1; line-height: 1.8; margin-bottom: 22px; }
.checkout-story { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid #ffffff0a; background: #ffffff03; border-radius: 10px; margin: 0 0 20px; text-align: left; }
.checkout-story img { width: 37px; height: 51px; object-fit: cover; border-radius: 5px; background: #34333d; }
.checkout-story>div { min-width: 0; }
.checkout-story span { display: block; color: #bd9386; font-size: 9px; letter-spacing: .6px; }
.checkout-story strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; font-weight: 500; line-height: 1.5; margin: 3px 0; overflow-wrap: anywhere; }
.checkout-story small { font-size: 10px; color: #8f95a5; }
.commerce-dialog .plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 17px; }
.plan-card { position: relative; display: block; min-width: 0; padding: 16px; border: 1px solid #ffffff15; border-radius: 12px; background: #ffffff03; cursor: pointer; }
.plan-card:hover { border-color: #ffffff35; }
.plan-card.is-selected { border-color: #f4a086; background: linear-gradient(135deg,#ff997812,#ff997803); box-shadow: inset 0 0 0 1px #f4a08618; }
.plan-card input,.payment-method input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-card:has(input:focus-visible),.payment-method:has(input:focus-visible) { outline: 2px solid #ffac93; outline-offset: 3px; }
.plan-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-card__top b { font-size: 12px; font-weight: 500; color: #d3d5df; }
.radio-mark { position: relative; display: inline-block; width: 16px; height: 16px; border: 1px solid #ffffff30; border-radius: 50%; flex-shrink: 0; }
input:checked~.plan-card__top .radio-mark,input:checked~.radio-mark { border: 5px solid #ffae94; }
.plan-card__price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; margin: 12px 0 10px; }
.plan-card__price strong { font-size: 25px; font-weight: 600; letter-spacing: -1px; }
.plan-card__price small { color: #8b91a2; font-size: 10px; }
.plan-card__note { display: block; font-size: 10px; color: #9a9bab; }
.is-selected .plan-card__note { color: #e8ae97; }
.renewal-note { color: #999eae; font-size: 10px; line-height: 1.9; margin: 12px 0 18px; }
.commerce-primary { display: flex; width: 100%; justify-content: center; min-height: 48px; background: linear-gradient(105deg,#fa786b,#ed9f7e); box-shadow: 0 6px 22px #fa786b12; }
.commerce-primary>span { margin-left: auto; padding-left: 14px; border-left: 1px solid #ffffff40; }
.commerce-fine { font-size: 9px; text-align: center; color: #858b9c; margin: 12px 0 0; line-height: 1.8; }
.commerce-legal-links { text-align: center; color: #787f91; font-size: 10px; line-height: 1.8; margin-top: 18px; }
.commerce-legal-links a,.consent a { color: #b8bbc8; text-decoration: underline; text-underline-offset: 3px; margin: 0 3px; }
.commerce-dialog--checkout { max-width: 520px; }
.checkout-content { padding: 28px 32px; }
.checkout-content>.text-link { margin: 0 0 20px -3px; font-size: 11px; }
.order-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #ed9f7e09; border: 1px solid #ed9f7e20; border-radius: 12px; padding: 18px; margin: 20px 0 24px; }
.order-summary>div>span { font-size: 14px; }
.order-summary>div>small { display: block; font-size: 10px; color: #9c9ead; margin-top: 5px; }
.order-summary>strong { font-size: 25px; font-weight: 600; white-space: nowrap; }
.order-summary>strong>small { font-size: 9px; color: #9c9ead; font-weight: 400; }
.payment-methods legend { font-size: 12px; color: #b8bdc9; margin-bottom: 12px; }
.payment-method { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 10px; border: 1px solid #ffffff12; border-radius: 10px; cursor: pointer; }
.payment-method:has(input:checked) { border-color: #b8a395; background: #ffffff04; }
.payment-symbol { display: grid; place-items: center; width: 34px; height: 30px; background: #f0eee8; border-radius: 5px; color: #49434c; }
.payment-symbol--paypal { color: #2257a5; font-size: 24px; font-style: italic; font-weight: 800; }
.payment-method b { display: block; font-size: 12px; font-weight: 500; }
.payment-method small { display: block; color: #898fa0; font-size: 10px; margin-top: 4px; }
.payment-method .radio-mark { margin-left: auto; }
.payment-form { margin-top: 20px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; color: #999faf; font-size: 10px; line-height: 1.9; }
.consent input { flex-shrink: 0; width: 15px; height: 15px; accent-color: #f49d84; margin-top: 3px; }
.payment-form>.commerce-primary { margin-top: 24px; }
.payment-status { padding: 13px; background: #f9ad8110; border: 1px solid #f9ad8140; color: #f2c9b0; border-radius: 8px; font-size: 12px; line-height: 1.8; margin-top: 18px; }
.commerce-dialog--offer { max-width: 460px; background: radial-gradient(ellipse at 50% 0,#53373860,transparent 60%),#1b1c24; }
.offer-content { padding: 36px 34px 24px; text-align: center; }
.offer-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 18px; color: #ffc49e; background: #ffc49e0c; border: 1px solid #ffc49e28; border-radius: 18px; transform: rotate(-8deg); }
.offer-content>.eyebrow { display: block; }
.offer-content h2 { font-size: 29px; }
.offer-content .checkout-story { margin-top: 22px; }
.offer-ticket { position: relative; margin: 26px 0 14px; padding: 24px 15px; border: 1px solid #edb68e45; border-radius: 14px; background: linear-gradient(130deg,#e9b48812,#e9b48804); }
.offer-ticket>span { font-size: 11px; color: #e7b99a; letter-spacing: 1px; }
.offer-ticket>div { display: flex; align-items: baseline; justify-content: center; gap: 7px; margin: 12px 0 9px; }
.offer-ticket strong { color: #ffdcc0; font-size: 52px; letter-spacing: -2px; font-weight: 600; }
.offer-ticket small { color: #b29b8b; font-size: 10px; }
.offer-ticket p { font-size: 10px; color: #b9a292; line-height: 1.8; }
.offer-availability { font-size: 10px; line-height: 1.9; color: #8d93a3; margin: 14px 0 23px; }
.offer-decline { min-height: 40px; margin-top: 8px; color: #9a9faf; font-size: 11px; }
.offer-decline:hover { color: #fff; }
.offer-content .commerce-legal-links { margin-top: 7px; }
.episode-access-note { font-size: 10px; color: #9399ab; line-height: 1.8; margin: -6px 0 12px; }
.episode-unlock { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px; margin-bottom: 18px; border: 1px solid #f4a08628; border-radius: 8px; color: #f4b398; background: #f4a08608; font-size: 12px; }
.episode-unlock>svg:last-child { margin-left: auto; }
.episode-button.is-locked { color: #d9baa8; }
.episode-button.is-locked>svg { position: absolute; top: 4px; right: 4px; color: #c8a48d; }
.episode-paywall { display: flex; align-items: center; flex-direction: column; max-width: 420px; }
.paywall-lock { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; color: #ffd0af; border: 1px solid #f4a08645; background: linear-gradient(140deg,#f4a0861a,#f4a08605); margin-bottom: 25px; }
.episode-paywall .eyebrow { color: #b69c8f; font-size: 9px; }
.episode-paywall>small { font-size: 9px; color: #8e94a6; margin: 14px 0 3px; }
.episode-paywall>.text-link { font-size: 10px; }
.legal-page-nav { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 26px; }
.legal-heading { padding: 26px 0 30px; border-bottom: 1px solid var(--line-strong); }
.legal-heading h1 { font-size: clamp(30px,4vw,46px); font-weight: 600; margin: 12px 0 16px; letter-spacing: -1px; }
.legal-heading>p { font-size: 11px; color: #858da0; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 50px; padding-top: 36px; }
.legal-toc { align-self: start; display: grid; position: sticky; top: 110px; gap: 5px; }
.legal-toc a { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; font-size: 11px; line-height: 1.6; color: #9098a9; }
.legal-toc a:hover { color: #f4b398; }
.legal-toc a>span { font-size: 9px; color: #b28f7d; }
.legal-copy section { margin: 0 0 34px; scroll-margin-top: 105px; }
.legal-copy h2 { font-size: 18px; font-weight: 600; margin-bottom: 16px; line-height: 1.6; }
.legal-copy h2>span { color: #b28f7d; font-size: 11px; margin-right: 14px; font-weight: 400; }
.legal-copy p { color: #a2a9b9; font-size: 13px; line-height: 2; margin: 12px 0; overflow-wrap: anywhere; }
.commerce-dialog--legal { max-width: 900px; }
.commerce-policy { padding: 26px 34px; }
.commerce-policy>.text-link { margin-bottom: 14px; }
.commerce-policy .legal-heading { padding-top: 16px; }
.commerce-policy .legal-heading h1 { font-size: 30px; }
.commerce-policy .legal-layout { grid-template-columns: 165px minmax(0,1fr); gap: 30px; }
.commerce-policy .legal-toc { position: static; }
.commerce-policy .legal-copy h2 { font-size: 16px; }
.commerce-policy .legal-copy section { scroll-margin-top: 20px; }
.commerce-policy .legal-copy p { font-size: 12px; }
@media(max-width:1099px) { .studio-header__actions { gap: 12px; }.header-member { font-size: 11px; padding: 0 10px; } }
@media(max-width:759px) {
  .header-member { gap: 4px; font-size: 10px; padding: 0 9px; min-height: 32px; }.studio-header__actions { gap: 8px; }
  .legal-layout { grid-template-columns: 1fr; gap: 25px; }.legal-toc { position: static; grid-template-columns: 1fr 1fr; gap: 0 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line-strong); }.legal-copy p { font-size: 12px; }.legal-copy h2 { font-size: 17px; }.legal-heading { padding-top: 10px; }
  .is-landscape .episode-paywall>.paywall-lock,.is-landscape .episode-paywall>.eyebrow,.is-landscape .episode-paywall>small,.is-landscape .episode-paywall>.text-link { display: none; }
  .is-landscape .episode-paywall h2 { font-size: 18px; margin: 0; }.is-landscape .episode-paywall p { margin: 7px 0 12px; font-size: 10px; }.is-landscape .episode-paywall>.btn { min-height: 40px; }
}
@media(max-width:640px) {
  .commerce-dialog { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto auto 0; border-radius: 22px 22px 0 0; border-bottom: 0; }
  .commerce-dialog--checkout,.commerce-dialog--offer { max-width: 520px; }
  .membership-layout { grid-template-columns: 1fr; }
  .membership-art { display: none; }
  .membership-options { padding: 35px 24px 24px; }
  .commerce-dialog h2 { font-size: 27px; }
  .commerce-subtitle { margin-bottom: 16px; }
  .commerce-dialog .plan-grid { gap: 10px; margin-top: 18px; }
  .plan-card { padding: 14px; }.plan-card__price strong { font-size: 26px; }
  .checkout-content { padding: 24px; }.checkout-content>.text-link { margin-bottom: 16px; }
  .checkout-story { padding: 10px; margin-bottom: 16px; }
  .offer-content { padding: 30px 25px 24px; }
  .commerce-policy { padding: 24px; }.commerce-policy .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc a { font-size: 10px; }
  .commerce-dialog .consent { font-size: 11px; }
  .episode-paywall h2 { font-size: 21px; }
}
@media(max-width:370px) { .header-member svg { display: none; }.header-member { padding: 0 7px; }.studio-header__actions { gap: 5px; }.membership-options,.checkout-content { padding-left: 19px; padding-right: 19px; }.plan-card__price strong { font-size: 23px; } }
