.subscription-phone {
  --member-accent: #e5e5e9;
  --member-soft: rgba(220, 222, 231, .08);
  --member-border: rgba(226, 228, 237, .24);
  isolation: isolate;
  background: #0e0e0e;
}
.subscription-phone[data-tier="max"] { --member-accent: #e8c992; --member-soft: rgba(212, 173, 105, .09); --member-border: rgba(232, 201, 146, .32); }
.subscription-phone [hidden] { display: none !important; }
.subscription-phone button, .subscription-phone summary { cursor: pointer; }
.subscription-phone :focus-visible { outline: 2px solid var(--member-accent); outline-offset: 4px; }
.subscription-backdrop { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; pointer-events: none; }
.subscription-phone::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,.4), rgba(14,14,14,.08) 42%, #0e0e0e 88%); pointer-events: none; }
.subscription-header { min-height: 58px; padding-top: env(safe-area-inset-top, 0px); box-sizing: content-box; }
.subscription-header h1 { font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.subscription-header .back-link { left: 16px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; background: rgba(255,255,255,.04); }
.subscription-header .back-link img { width: 22px; height: 22px; }
.header-action { position: absolute; right: 18px; min-height: 44px; padding: 0 5px; border: 0; background: transparent; color: #bbb; font-size: 12px; }
.tier-navigation { flex: 0 0 auto; padding: 8px 24px 4px; }
.membership-status { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 12px; font-size: 12px; color: #bebec3; }
.membership-status > span:last-child { font-size: 10px; color: var(--member-accent); }
.tier-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: rgba(17,17,19,.75); backdrop-filter: blur(18px); }
.tier-tab { min-height: 65px; padding: 10px 13px; border: 1px solid transparent; border-radius: 17px; background: transparent; color: #a8a8af; text-align: left; }
.tier-tab > strong { display: flex; align-items: center; gap: 7px; font-size: 19px; line-height: 1.3; font-weight: 650; }
.tier-tab > span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.5; }
.tier-tab[aria-selected="true"] { border-color: var(--member-border); background: var(--member-soft); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); color: var(--member-accent); }
.tier-label { padding: 2px 5px; border: 1px solid rgba(227,192,135,.22); border-radius: 5px; color: #d9bd92; font-size: 9px; font-weight: 500; white-space: nowrap; }
.subscription-scroll { padding: 20px 24px 24px; }
.plan-panel { outline: none; }
.plan-overview { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 2px 2px 0; }
.plan-intro { padding-top: 4px; }
.plan-intro h2 { color: #f2f2f4; font-size: 30px; font-weight: 650; line-height: 1.15; letter-spacing: -1.3px; white-space: nowrap; }
.plan-intro h2 span { color: var(--member-accent); }
.plan-description { margin: 12px 2px 0; color: #b6b6bd; font-size: 12px; line-height: 1.7; }
.plan-price-block { flex: 0 0 auto; text-align: right; }
.plan-price { display: flex; align-items: baseline; justify-content: flex-end; gap: 3px; }
.price-currency { color: var(--member-accent); font-size: 17px; font-weight: 500; }
.plan-price > strong { color: #f3f3f5; font-size: 34px; font-weight: 620; line-height: 1.12; letter-spacing: -1.2px; font-variant-numeric: tabular-nums; }
.price-period { display: block; margin-top: 3px; color: #aaaab2; font-size: 10px; }
.billing-caption { margin-top: 4px; color: #acacb3; font-size: 10px; line-height: 1.6; }
.billing-options { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 17px; padding: 4px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(20,20,22,.55); }
.billing-options button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #a9a9b0; font-size: 12px; }
.billing-options button[aria-checked="true"] { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.09); color: #eee; }
.billing-options button > span { color: #ceba99; font-size: 10px; }
.membership-benefits { margin-top: 21px; padding: 19px 18px 17px; border: 1px solid var(--member-border); border-radius: 26px; background: linear-gradient(115deg, rgba(47,47,51,.56), rgba(21,21,23,.72)); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); backdrop-filter: blur(12px); }
.subscription-phone[data-tier="max"] .membership-benefits { background: linear-gradient(115deg, rgba(63,53,37,.5), rgba(23,23,25,.76)); }
.benefits-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.benefits-heading h3 { color: var(--member-accent); font-size: 12px; font-weight: 600; }
.benefits-heading > span { color: #a8a8ae; font-size: 10px; }
.allowance-block { padding: 17px 0 15px; border-bottom: 1px solid rgba(255,255,255,.09); }
.allowance-label { display: flex; align-items: center; gap: 7px; color: #cccbd0; font-size: 11px; }
.allowance-label img { width: 16px; height: 16px; opacity: .85; }
.allowance-multiplier { margin-left: auto; padding: 3px 7px; border: 1px solid rgba(232,201,146,.22); border-radius: 6px; background: rgba(232,201,146,.08); color: var(--member-accent); font-size: 10px; line-height: 1.2; }
.allowance-amount { display: flex; align-items: baseline; gap: 9px; margin-top: 5px; }
.allowance-amount strong { color: var(--member-accent); font-size: 32px; font-weight: 600; letter-spacing: -1px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.allowance-amount > span { color: #b5b4bb; font-size: 11px; }
.allowance-description { margin-top: 7px; color: #a9a8af; font-size: 11px; line-height: 1.6; }
.benefit-list { padding-top: 16px; }
.benefit-item { display: flex; gap: 10px; align-items: flex-start; }
.benefit-item + .benefit-item { margin-top: 17px; }
.benefit-icon { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; background: rgba(255,255,255,.055); }
.benefit-icon img { width: 17px; height: 17px; object-fit: contain; opacity: .9; }
.benefit-item > div { flex: 1; min-width: 0; }
.benefit-item h4 { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #edecf0; font-size: 12px; font-weight: 550; line-height: 1.5; }
.benefit-item p { margin-top: 4px; color: #acabb3; font-size: 10px; line-height: 1.6; }
.inline-link { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; margin-left: auto; padding: 0; border: 0; background: transparent; color: #d3bc97; font-size: 10px; font-weight: 400; }
.plan-comparison { margin-top: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(18,18,20,.6); overflow: hidden; }
.subscription-phone summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; }
.subscription-phone summary::-webkit-details-marker { display: none; }
.plan-comparison > summary { min-height: 50px; padding: 12px 17px; color: #d0cfd4; font-size: 12px; }
.disclosure-mark { display: inline-block; flex: 0 0 auto; font-size: 18px; line-height: 1; font-weight: 300; color: #aaa6a1; transition: transform .2s; }
details[open] > summary .disclosure-mark { transform: rotate(45deg); }
.comparison-content { padding: 0 12px 14px; }
.comparison-content table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 10px; line-height: 1.6; }
.comparison-content th { font-weight: 400; }
.comparison-content thead th { padding: 9px 2px; color: #dedde2; font-size: 12px; text-align: center; border-bottom: 1px solid #373535; }
.comparison-content th:first-child { width: 40%; text-align: left; }
.comparison-content tbody th, .comparison-content td { padding: 11px 2px; border-bottom: 1px solid rgba(255,255,255,.055); color: #b2b0b9; }
.comparison-content td { text-align: center; }
.comparison-content thead th:last-child, .comparison-content .max-value { color: #e3c58f; }
.comparison-content td:last-child { background: rgba(232,201,146,.035); }
.comparison-content > p { margin-top: 13px; color: #9b999f; font-size: 10px; text-align: center; }
.subscription-faq { padding: 24px 2px 0; }
.subscription-faq h3 { padding-bottom: 8px; font-size: 11px; color: #a7a5ad; font-weight: 400; }
.subscription-faq details { border-bottom: 1px solid rgba(255,255,255,.075); }
.subscription-faq summary { min-height: 45px; color: #c0bec7; font-size: 11px; }
.subscription-faq details p { padding: 0 19px 15px 0; color: #a6a3af; font-size: 11px; line-height: 1.8; }
.subscription-footer { position: relative; z-index: 1; flex: 0 0 auto; padding: 12px 24px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.07); background: rgba(14,14,14,.94); box-shadow: 0 -10px 24px rgba(14,14,14,.65); backdrop-filter: blur(20px); }
.checkout-summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 11px; }
.checkout-summary > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.checkout-summary > div > span { color: #bdbac5; font-size: 11px; }
.checkout-summary strong { color: #eee; font-size: 16px; font-weight: 550; }
.checkout-summary small { color: #a7a3af; font-size: 10px; font-weight: 400; }
.checkout-credits { color: var(--member-accent); font-size: 10px; white-space: nowrap; }
.subscribe-button { width: 100%; min-height: 51px; padding: 12px 16px; border: 1px solid #e7e4e8; border-radius: 17px; background: linear-gradient(115deg, #f0eff2, #c6c7cf); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 3px 14px rgba(0,0,0,.15); color: #1a191c; font-size: 14px; font-weight: 650; }
.subscription-phone[data-tier="max"] .subscribe-button { border-color: #ebd5ae; background: linear-gradient(115deg, #f2dfbd, #d6b57e); color: #312513; }
.subscription-phone .subscribe-button:disabled { border-color: #353338; background: #242226; box-shadow: none; color: #a6a1ae; cursor: default; }
.subscribe-button:not(:disabled):active { filter: brightness(.9); }
.renewal-note { margin-top: 8px; color: #aaa5b2; font-size: 10px; line-height: 1.5; text-align: center; }
.subscription-legal { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 1px; color: #98939f; font-size: 10px; }
.subscription-legal a { display: inline-flex; align-items: center; min-height: 27px; text-decoration: none; }
.subscription-sheet-layer { position: absolute; z-index: 30; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding-top: max(24px, env(safe-area-inset-top)); background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.subscription-sheet { position: relative; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 34px 24px max(20px, env(safe-area-inset-bottom)); border: 1px solid #4a4541; border-bottom: 0; border-radius: 28px 28px 0 0; outline: none; background: #181719; box-shadow: 0 -15px 70px rgba(0,0,0,.4); animation: subscription-sheet-enter .22s ease-out; }
.sheet-handle { position: absolute; top: 10px; left: calc(50% - 17px); width: 34px; height: 4px; border-radius: 5px; background: #5c585d; }
.sheet-close { position: absolute; top: 21px; right: 15px; display: grid; place-items: center; width: 38px; height: 38px; padding: 11px; border: 1px solid #3b373d; border-radius: 50%; background: #272429; }
.sheet-close img { width: 100%; height: 100%; object-fit: contain; }
.sheet-eyebrow { margin: 3px 38px 8px 0; color: var(--member-accent); font-size: 10px; letter-spacing: .12em; }
.subscription-sheet h2 { max-width: calc(100% - 14px); color: #f1eef3; font-size: 23px; font-weight: 600; line-height: 1.4; letter-spacing: -.5px; }
.sheet-description { margin-top: 7px; color: #b7b0bf; font-size: 11px; line-height: 1.7; }
.order-plan { margin-top: 22px; padding: 18px; border: 1px solid var(--member-border); border-radius: 19px; background: var(--member-soft); }
.order-plan > span { display: block; color: var(--member-accent); font-size: 12px; }
.order-plan strong { display: block; margin-top: 8px; color: #f4eef5; font-size: 30px; font-weight: 600; letter-spacing: -.8px; }
.order-plan small { color: #bcb4c1; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.order-plan p { margin-top: 8px; color: #c2b7c3; font-size: 10px; line-height: 1.7; }
.order-details { margin: 17px 0; }
.order-details > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 11px; line-height: 1.6; }
.order-details dt { flex: 0 0 auto; color: #b3acba; }
.order-details dd { color: #e4dce7; text-align: right; }
.upgrade-note { margin-bottom: 16px; padding: 12px; border-radius: 10px; background: var(--member-soft); color: #d6c3a4; font-size: 11px; line-height: 1.7; }
.confirmation-terms { margin: 16px 0; color: #a9a0b0; font-size: 10px; line-height: 1.8; }
.confirmation-terms a { margin: 0 3px; color: #d1c6d8; text-underline-offset: 3px; }
.sheet-secondary { display: block; width: 100%; min-height: 44px; margin-top: 5px; border: 0; background: transparent; color: #bdb4c5; font-size: 12px; }
.support-details { margin: 23px 0; padding: 0 0 5px; }
.support-details h3 { margin-top: 20px; color: #e4d8c9; font-size: 13px; font-weight: 550; }
.support-details p { margin-top: 6px; color: #b5abba; font-size: 12px; line-height: 1.85; }
.subscription-phone .toast { z-index: 40; bottom: 180px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.platform-note { margin: 10px 2px 0; color: #aaa1b4; font-size: 10px; line-height: 1.7; }
.membership-tools { display: flex; justify-content: center; gap: 22px; margin-top: 7px; }
.membership-tools button { min-height: 25px; padding: 0; border: 0; background: transparent; color: #c2b8cf; font-size: 10px; }
.subscription-phone .commerce-demo { margin-top: 25px; padding: 15px 0; color: #8f859a; font-size: 10px; border-top: 1px dashed #ffffff20; }
.subscription-phone .commerce-demo button { min-height: 34px; margin: 5px 4px 0 0; padding: 5px 10px; color: #bdb2c9; font-size: 10px; background: transparent; border: 1px solid #ffffff20; border-radius: 8px; }
.subscription-phone .commerce-demo p { font-size: 10px; line-height: 1.7; margin: 8px 0; }
@keyframes subscription-sheet-enter { from { transform: translateY(24px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 360px) {
  .tier-navigation { padding-inline: 18px; }
  .subscription-scroll { padding-inline: 18px; }
  .subscription-footer { padding-inline: 18px; }
  .tier-tab { padding-inline: 10px; }
  .tier-tab > strong { gap: 5px; }
  .tier-label { font-size: 8px; padding-inline: 3px; }
  .plan-intro h2 { font-size: 26px; }
  .plan-price > strong { font-size: 31px; }
  .membership-benefits { padding-inline: 14px; }
  .checkout-summary > div { gap: 4px 7px; }
  .checkout-summary strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .subscription-sheet { animation: none; }
  .disclosure-mark { transition: none; }
}
