:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #172036;
  background: #fff;
  --blue: #315df6;
  --blue-dark: #2447d8;
  --blue-soft: #f4f7ff;
  --ink: #172036;
  --muted: #737d94;
  --subtle: #98a2b3;
  --line: #e4e9f3;
}

.vip-mobile-back { display: none; }

* { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { max-width: 100%; min-height: 100vh; margin: 0; overflow-x: hidden; background: #fff; }
html.is-checkout-open,
body.is-checkout-open,
html.is-renew-picker-open,
body.is-renew-picker-open {
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}
#vip-account-status { cursor: default; }
.vip-mobile-nav { display: none; }
a { color: inherit; }
button { font: inherit; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

main { display: flex; width: min(1600px, calc(100% - 48px)); min-height: calc(100dvh - 74px); margin: 0 auto; padding: 34px 0 80px; flex-direction: column; }
.page-heading { display: grid; min-height: 104px; align-content: start; gap: 5px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.page-heading > span,.section-kicker,.section-heading > span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.page-heading h1 { margin: 0; font-size: 30px; font-weight: 880; letter-spacing: -.035em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.vip-offer { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(440px, .72fr); gap: clamp(54px, 8vw, 128px); padding: 64px 0 70px; border-bottom: 1px solid var(--line); }
.vip-offer-copy { display: grid; align-content: center; justify-items: start; }
.vip-offer-copy h2 { max-width: 700px; margin: 11px 0 14px; font-size: clamp(36px, 4.2vw, 62px); line-height: 1.12; letter-spacing: -.055em; }
.vip-offer-copy > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.plan-picker { min-width: 0; align-self: center; padding-left: clamp(30px, 3.5vw, 58px); border-left: 1px solid var(--line); }
.price-plans { display: grid; gap: 12px; }
.price-card { display: grid; width: 100%; min-height: 102px; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: 18px; padding: 20px 20px 20px 22px; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; text-align: left; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.price-card:hover,.price-card:focus-visible { border-color: #aebeff; outline: none; background: var(--blue-soft); box-shadow: 0 12px 30px rgba(49, 93, 246, .08); transform: translateY(-1px); }
.price-card[hidden],.vip-member-renew-options > button[hidden] { display: none !important; }
.plan-copy { display: grid; min-width: 0; gap: 6px; }
.plan-copy > strong { font-size: 16px; font-weight: 850; }
.plan-copy b { display: inline-block; margin-left: 6px; padding: 3px 7px; color: var(--blue); border-radius: 999px; background: #e5ebff; font-size: 9px; vertical-align: 1px; }
.plan-copy small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.price { display: flex; min-width: 88px; justify-content: flex-end; align-items: baseline; color: var(--blue); }
.price > small { font-size: 13px; font-weight: 850; }
.price > strong { font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.price > em { color: var(--muted); font-size: 10px; font-style: normal; font-weight: 750; }
.plan-open { color: #9aa6bb; font-size: 25px; font-weight: 400; }
.plan-hint { margin: 13px 0 0; color: var(--subtle); font-size: 10px; text-align: center; }

.vip-offer[hidden],.vip-member-dashboard[hidden],.purchase-details[hidden],.agreements-section[hidden] { display: none !important; }
.vip-member-dashboard { display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); gap: clamp(52px, 7vw, 112px); align-items: center; padding: 62px 0 70px; border-bottom: 1px solid var(--line); }
.vip-member-intro { display: grid; justify-items: start; align-content: center; }
.vip-member-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 11px 0 13px; }
.vip-member-title-row h2 { margin: 0; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -.05em; }
.vip-member-active-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; color: #0b8f70; border-radius: 999px; background: #e8f8f2; font-size: 11px; font-weight: 800; }
.vip-member-active-badge i { width: 7px; height: 7px; border-radius: 50%; background: #13b98c; }
.vip-member-intro > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.vip-member-primary-action { min-width: 132px; min-height: 46px; margin-top: 28px; padding: 0 22px; color: #fff; border: 1px solid var(--blue); border-radius: 12px; background: var(--blue); cursor: pointer; font-weight: 800; }
.vip-member-primary-action:hover,.vip-member-primary-action:focus-visible { border-color: var(--blue-dark); outline: none; background: var(--blue-dark); }
.vip-member-renew { position: static; }
.vip-member-renew-menu { position: fixed; z-index: 950; top: 0; left: 50%; display: grid; width: 100vw; height: 100dvh; place-items: center; padding: 24px; background: rgba(20,29,52,.58); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: translateX(-50%); }
.vip-member-renew-menu[hidden] { display: none; }
.vip-member-renew-dialog { position: relative; width: min(500px,100%); padding: 34px 34px 30px; border: 1px solid rgba(255,255,255,.9); border-radius: 26px; background: #fff; box-shadow: 0 30px 86px rgba(16,29,59,.3); }
.vip-member-renew-dialog > h3 { margin: 8px 44px 7px 0; color: var(--ink); font-size: 27px; line-height: 1.25; letter-spacing: -.035em; }
.vip-member-renew-dialog > p { min-height: 1.5em; margin: 0 44px 22px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.vip-member-renew-close { position: absolute; top: 18px; right: 18px; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; color: #8490a7; border: 0; border-radius: 50%; background: #f2f5fb; cursor: pointer; font-size: 25px; line-height: 1; }
.vip-member-renew-close:hover,.vip-member-renew-close:focus-visible { color: var(--blue); outline: none; background: var(--blue-soft); }
.vip-member-renew-options { display: grid; gap: 12px; }
.vip-member-renew-options > button { display: grid; min-height: 82px; grid-template-columns: minmax(0,1fr) auto 16px; align-items: center; gap: 16px; padding: 16px 18px; color: var(--ink); border: 1px solid #dce5f7; border-radius: 16px; background: #fff; cursor: pointer; text-align: left; transition: border-color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease; }
.vip-member-renew-options > button:hover,.vip-member-renew-options > button:focus-visible { border-color: #aebeff; outline: none; background: var(--blue-soft); box-shadow: 0 10px 24px rgba(49,93,246,.09); transform: translateY(-1px); }
.vip-member-renew-options > button:disabled { color: #8e98aa; cursor: not-allowed; background: #f7f8fb; box-shadow: none; transform: none; }
.vip-member-renew-options > button > span { display: grid; gap: 5px; }
.vip-member-renew-options strong { font-size: 15px; }
.vip-member-renew-options small { color: var(--muted); font-size: 11px; }
.vip-member-renew-options b { color: var(--blue); font-size: 16px; white-space: nowrap; }
.vip-member-renew-options i { color: var(--blue); font-size: 25px; font-style: normal; font-weight: 400; }
.vip-member-renew-options > button:disabled b,.vip-member-renew-options > button:disabled i { color: #aeb6c5; }
.vip-member-summary { min-width: 0; padding-left: clamp(30px, 3.5vw, 58px); border-left: 1px solid var(--line); }
.vip-member-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.vip-member-facts > div { display: grid; min-height: 94px; align-content: center; gap: 8px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.vip-member-facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.vip-member-facts dt { color: var(--subtle); font-size: 10px; font-weight: 750; }
.vip-member-facts dd { margin: 0; color: var(--ink); font-size: 18px; font-weight: 850; line-height: 1.35; }
.vip-member-facts > div:nth-child(2) dd { color: var(--blue); font-size: 26px; }
.vip-member-renewal-fact small { display: block; margin-top: -2px; color: var(--blue); font-size: 10px; font-weight: 750; line-height: 1.45; }
.vip-member-renewal-fact small[hidden] { display: none; }
.vip-member-renewal-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 2px 0; }
.vip-member-renewal-actions[hidden] { display: none; }
.vip-member-renewal-copy { display: grid; min-width: 0; gap: 3px; }
.vip-member-renewal-copy strong { color: var(--ink); font-size: 11px; font-weight: 850; }
.vip-member-renewal-actions p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.vip-member-renewal-actions button { min-width: 120px; min-height: 38px; flex: 0 0 auto; padding: 0 16px; color: #56637a; border: 1px solid #d9e0ed; border-radius: 10px; background: #fff; cursor: pointer; font-size: 11px; font-weight: 800; }
.vip-member-renewal-actions button:hover,.vip-member-renewal-actions button:focus-visible { color: var(--blue); border-color: #b9c7fa; outline: none; background: var(--blue-soft); }
.vip-member-renewal-actions button:disabled { color: #9ca6b8; cursor: wait; }
.vip-member-status-message { min-height: 1.5em; margin: 12px 2px 0; color: #68758c; font-size: 10px; line-height: 1.5; }
.vip-orders-entry { margin: 18px 0 26px; }
.vip-orders-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 52px; padding: 12px 2px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--blue, #3561f3); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.vip-orders-link > span:last-child { font-size: 23px; line-height: 1; font-weight: 400; }
.vip-orders-link:focus-visible { outline: 2px solid #3561f3; outline-offset: 3px; }

.vip-service-summary { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(380px, .65fr); gap: clamp(44px, 6vw, 92px); align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.vip-service-summary article { min-width: 0; }
.vip-service-summary h2 { margin: 0 0 9px; font-size: 14px; line-height: 1.35; }
.vip-service-summary p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.vip-benefit-summary { display: grid; min-height: 62px; align-content: center; padding-left: clamp(30px, 3.5vw, 58px); border-left: 1px solid var(--line); }
.vip-benefit-summary ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.vip-benefit-summary li { display: inline-flex; align-items: center; gap: 7px; color: #59667d; font-size: 12px; font-weight: 750; white-space: nowrap; }
.vip-benefit-summary li span { color: var(--blue); font-size: 13px; font-weight: 900; }

.purchase-details,.agreements-section,.company-section { border-bottom: 1px solid var(--line); }
.purchase-details > details > summary { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; }
.purchase-details summary::-webkit-details-marker,.agreements-section summary::-webkit-details-marker { display: none; }
.purchase-details summary > span { display: grid; gap: 4px; }
.purchase-details summary strong { font-size: 14px; }
.purchase-details summary small { color: var(--muted); font-size: 10px; }
.purchase-details summary > b { color: var(--blue); font-size: 21px; font-weight: 400; transition: transform .18s ease; }
.purchase-details details[open] summary > b { transform: rotate(45deg); }
.purchase-details-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 50px; padding: 0 0 30px; }
.purchase-details-copy h3 { margin: 0 0 9px; font-size: 13px; }
.purchase-details-copy p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.72; }
.vip-after-sales-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: end; }
.vip-wechat-support { display: flex; min-width: 208px; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcff; }
.vip-wechat-support img { display: block; width: 74px; height: 74px; flex: 0 0 auto; border-radius: 8px; object-fit: cover; }
.vip-wechat-support div { display: grid; gap: 5px; }
.vip-wechat-support strong { color: var(--ink); font-size: 12px; }
.vip-wechat-support span { max-width: 104px; color: var(--muted); font-size: 10px; line-height: 1.55; }

.agreements-section { display: grid; padding: 29px 0 25px; }
.section-heading { display: grid; gap: 6px; margin-bottom: 13px; }
.section-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.agreements-section details { border-top: 1px solid var(--line); }
.agreements-section summary { display: grid; min-height: 52px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; cursor: pointer; list-style: none; }
.agreements-section summary span { font-size: 12px; font-weight: 800; }
.agreements-section summary small { color: var(--subtle); font-size: 9px; }
.agreement-copy { display: grid; gap: 8px; padding: 2px 0 26px; border-top: 1px solid var(--line); }
.agreement-copy p { margin: 0; color: #606f88; font-size: 11px; line-height: 1.8; }
.agreement-copy p:first-child { padding-top: 17px; }
.agreement-copy strong { color: #30425f; }
.agreement-copy a { color: var(--blue); }

.vip-checkout-overlay { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 18px; visibility: hidden; opacity: 0; background: rgba(20, 29, 52, .58); backdrop-filter: blur(8px); transition: opacity .16s ease, visibility .16s ease; }
.vip-checkout-overlay[hidden] { display: none; }
.vip-checkout-overlay.is-open { visibility: visible; opacity: 1; }
.vip-checkout-dialog { position: relative; width: min(560px, 100%); height: min(440px, calc(100dvh - 36px)); overflow: hidden; border: 1px solid rgba(255, 255, 255, .9); border-radius: 24px; background: #fff; box-shadow: 0 35px 90px rgba(16, 29, 59, .32); transform: translateY(8px) scale(.99); transition: width .18s ease, height .18s ease, transform .16s ease; }
.vip-checkout-dialog.has-inner-dialog { width: min(800px, 100%); height: min(740px, calc(100dvh - 36px)); border-color: transparent; background: transparent; box-shadow: none; }
.vip-checkout-overlay.is-open .vip-checkout-dialog { transform: none; }
.vip-checkout-close { position: absolute; z-index: 4; top: 14px; right: 14px; display: grid; width: 36px; height: 36px; place-items: center; padding: 0; color: #6f7b91; border: 1px solid #e0e6f1; border-radius: 10px; background: rgba(255, 255, 255, .94); cursor: pointer; font-size: 23px; line-height: 1; }
.vip-checkout-close:hover,.vip-checkout-close:focus-visible { color: var(--blue); border-color: #bfcdfc; outline: none; }
.vip-checkout-dialog.has-inner-dialog .vip-checkout-close { display: none; }
.vip-checkout-dialog.has-inner-dialog iframe { background: transparent; }
.vip-checkout-dialog iframe { position: relative; z-index: 2; display: block; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity .12s ease; }
.vip-checkout-overlay.is-ready iframe { opacity: 1; }
.vip-checkout-loading { position: absolute; z-index: 1; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); font-size: 11px; }
.vip-checkout-loading > span[aria-hidden="true"] { display: block; width: 30px; height: 30px; border: 3px solid #e5eaf5; border-top-color: var(--blue); border-radius: 50%; animation: vip-checkout-spin .8s linear infinite; }
.vip-checkout-loading button { padding: 10px 18px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.vip-checkout-loading button[hidden] { display: none; }
.vip-checkout-overlay.is-load-failed .vip-checkout-loading > span[aria-hidden="true"] { display: none; }
.vip-checkout-overlay.is-load-failed .vip-checkout-loading > span:last-of-type { font-size: 14px; }
.vip-checkout-overlay.is-ready .vip-checkout-loading { display: none; }
@keyframes vip-checkout-spin { to { transform: rotate(360deg); } }

@media (min-width: 961px) {
  .vip-checkout-dialog {
    height: min(460px, calc(100dvh - 36px));
  }

  .vip-checkout-dialog.has-inner-dialog[data-inner-layer="payment"] {
    width: min(540px, 100%);
    height: min(680px, calc(100dvh - 36px));
  }

  .vip-checkout-dialog.has-inner-dialog[data-inner-layer="payment"][data-payment-phase]:not([data-payment-phase="qr"]) {
    height: min(500px, calc(100dvh - 36px));
  }
}

.vip-confirm-overlay { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(19, 29, 54, .58); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
/* Match the renew picker: desktop scrollbar gutters must sit under the shade. */
@media (min-width: 961px) {
  html:has(.vip-site-desktop-header-shell):has(:is(
    .vip-member-renew-menu:not([hidden]),
    .vip-confirm-overlay:not([hidden]),
    .vip-checkout-overlay.is-open
  )) {
    overflow-y: hidden;
    scrollbar-gutter: auto;
  }

  .vip-checkout-overlay,
  .vip-confirm-overlay {
    left: 50%;
    right: auto;
    width: 100vw;
    transform: translateX(-50%);
  }
}
.vip-confirm-overlay[hidden] { display: none; }
.vip-confirm-dialog { position: relative; width: min(440px, 100%); padding: 34px 32px 30px; border: 1px solid rgba(255,255,255,.9); border-radius: 28px; background: rgba(255,255,255,.98); box-shadow: 0 28px 74px rgba(19,29,54,.28); text-align: center; }
.vip-confirm-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; padding: 0; color: #8d99b0; border: 0; border-radius: 50%; background: #f2f5fb; cursor: pointer; font-size: 24px; line-height: 1; }
.vip-confirm-close:hover,.vip-confirm-close:focus-visible { color: var(--blue); outline: none; background: var(--blue-soft); }
.vip-confirm-icon { display: grid; width: 64px; height: 64px; margin: 0 auto 18px; place-items: center; color: var(--blue); border-radius: 20px; background: linear-gradient(145deg,#edf4ff,#dfeaff); font-size: 30px; font-weight: 800; }
.vip-confirm-dialog h2 { margin: 0; color: var(--ink); font-size: 26px; line-height: 1.25; letter-spacing: -.035em; }
.vip-confirm-dialog p { margin: 14px 0 0; color: var(--muted); font-size: 15px; font-weight: 650; line-height: 1.7; }
.vip-confirm-dialog footer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 25px; }
.vip-confirm-button { min-height: 48px; padding: 0 14px; border-radius: 14px; cursor: pointer; font-size: 14px; font-weight: 800; }
.vip-confirm-cancel { color: var(--blue); border: 1px solid rgba(49,93,246,.14); background: #f1f5ff; }
.vip-confirm-primary { color: #fff; border: 0; background: linear-gradient(135deg,#4773ff,#315df6); box-shadow: 0 10px 22px rgba(49,93,246,.22); }

@media (max-width: 520px) {
  .vip-confirm-overlay { padding: 18px; }
  .vip-confirm-dialog { padding: 30px 20px 22px; border-radius: 24px; }
  .vip-confirm-icon { width: 58px; height: 58px; margin-bottom: 15px; border-radius: 18px; }
  .vip-confirm-dialog h2 { font-size: 23px; }
  .vip-confirm-dialog p { font-size: 14px; }
  .vip-confirm-dialog footer { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  .vip-offer { grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr); gap: 46px; }
}

@media (max-width: 900px) {
  main { width: min(100% - 24px, 680px); min-height: calc(100dvh - 94px); padding: 24px 0 0; }
  .page-heading { min-height: 92px; }
  .page-heading h1 { font-size: 27px; }
  .vip-offer { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 44px; }
  .vip-member-dashboard { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 44px; }
  .vip-member-summary { padding: 30px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .vip-service-summary { grid-template-columns: 1fr; gap: 24px; }
  .vip-benefit-summary { min-height: 0; padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .vip-offer-copy h2 { font-size: clamp(32px, 9vw, 46px); }
  .plan-picker { padding: 31px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .purchase-details-copy { grid-template-columns: 1fr; gap: 22px; }
  .vip-after-sales-content { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (max-width: 520px) {
  .price-card { min-height: 98px; grid-template-columns: minmax(0, 1fr) auto 12px; gap: 9px; padding: 16px 13px 16px 15px; }
  .plan-copy > strong { font-size: 14px; }
  .plan-copy small { font-size: 10px; }
  .price { min-width: 70px; }
  .price > strong { font-size: 29px; }
  .agreements-section summary { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
  .agreement-copy p { font-size: 12px; }
  .vip-member-facts { grid-template-columns: 1fr; }
  .vip-member-facts > div:nth-child(odd) { border-right: 0; }
  .vip-member-renewal-actions { display: grid; gap: 12px; }
  .vip-member-renewal-actions button { width: auto; min-width: 168px; justify-self: start; }
  .vip-after-sales-content { grid-template-columns: 1fr; }
  .vip-benefit-summary ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-wechat-support { min-width: 0; justify-self: start; }
  .vip-checkout-overlay { place-items: center; padding: 10px; }
  .vip-checkout-dialog { width: min(520px, 100%); height: min(450px, calc(100dvh - 20px)); border-radius: 24px; }
  .vip-checkout-dialog.has-inner-dialog { width: 100%; height: calc(100dvh - 20px); }
}

@media (max-width: 960px) {
  main {
    min-height: calc(100dvh - 108px);
    padding-top: 20px;
  }

  .vip-offer,
  .vip-member-dashboard {
    gap: 28px;
    padding: 34px 0 38px;
  }

  .vip-offer-copy h2 {
    font-size: clamp(30px, 8.5vw, 42px);
  }

  .plan-picker {
    padding-top: 24px;
  }

  .vip-member-summary {
    padding-top: 24px;
  }

  .vip-member-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vip-member-facts > div {
    min-height: 88px;
    padding: 15px 14px;
  }

  .vip-member-facts > div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .vip-member-facts dd {
    font-size: 16px;
  }

  .vip-member-facts > div:nth-child(2) dd {
    font-size: 24px;
  }

  .vip-member-renewal-actions button,
  .vip-checkout-close {
    min-height: 44px;
  }

  .vip-checkout-close {
    width: 44px;
    height: 44px;
    top: 10px;
    right: 10px;
  }
}

/* Phone-only membership layout; pricing, renewal and checkout logic unchanged. */
@media (max-width: 960px) {
  body.vip-page .vip-site-desktop-header-shell { display: none; }
  body.vip-page main { width: auto; margin: 0 16px; padding: 31px 0 calc(112px + env(safe-area-inset-bottom)); min-height: 100dvh; }
  .vip-mobile-nav { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); min-height: 76px; padding: 9px max(12px,env(safe-area-inset-right)) max(9px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); border-top: 1px solid rgba(222,227,237,.94); background: rgba(255,255,255,.96); box-shadow: 0 170px 0 164px #f7f8fc,0 -10px 30px rgba(28,44,90,.06); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .vip-mobile-nav a { display: grid; min-width: 0; place-content: center; justify-items: center; gap: 3px; color: #98a0b2; text-decoration: none; }
  .vip-mobile-nav a > span { display: grid; place-items: center; font-size: 20px; line-height: 1; }
  .vip-mobile-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
  .vip-mobile-nav small { font-size: 9px; line-height: 1.2; }
  .vip-mobile-nav a.is-active { color: #315df6; }
  .vip-mobile-nav-main > span { width: 54px; height: 54px; margin-top: -34px; color: #fff; border: 6px solid #f7f8fc; border-radius: 50%; background: #315df6; box-shadow: 0 10px 22px rgba(49,93,246,.25); }
  .vip-mobile-nav-main > span svg { width: 22px; height: 22px; }
  .page-heading { grid-template-columns: 46px minmax(0,1fr); align-items: center; gap: 12px 14px; min-height: 0; padding: 0 0 20px; border: 0; }
  .page-heading > span { display: none; }
  .page-heading .vip-mobile-back { display: grid; grid-column: 1; grid-row: 1; place-items: center; width: 46px; height: 46px; color: var(--blue); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 14px rgba(42,67,118,.06); font: 400 27px/1 Arial,sans-serif; text-decoration: none; }
  .page-heading h1 { grid-column: 2; grid-row: 1; font-size: 23px; line-height: 1.4; letter-spacing: 0; }
  .page-heading p { grid-column: 1 / -1; font-size: 12px; }
  .vip-offer,.vip-member-dashboard { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 0; border: 0; }
  .vip-offer-copy,.vip-member-intro { padding: 20px 16px; border: 1px solid var(--line); border-radius: 20px; background: #f7f9ff; }
  .vip-offer-copy h2,.vip-member-title-row h2 { font-size: 23px; line-height: 1.4; letter-spacing: 0; }
  .vip-offer-copy p,.vip-member-intro > p { font-size: 12px; line-height: 1.7; }
  .vip-member-title-row { gap: 10px; margin: 0 0 10px; }
  .vip-member-intro > .section-kicker { display: none; }
  .vip-member-active-badge { font-size: 11px; padding: 6px 10px; }
  .vip-member-intro { align-content: start; }
  .vip-member-renew { width: 100%; margin-top: 14px; }
  .vip-member-primary-action { width: 100%; min-height: 44px; margin-top: 0; font-size: 14px; border-radius: 12px; }
  .vip-member-renew-menu { place-items: center; padding: 16px; }
  .vip-member-renew-dialog {
    width: 100%;
    padding: 28px 18px 20px;
    border-radius: 24px;
  }
  .vip-member-renew-dialog > h3 {
    font-size: 23px;
  }
  .vip-member-renew-options > button {
    min-height: 72px;
    padding: 13px 14px;
  }
  .vip-member-renew-options > button:active {
    border-color: #9fb2fa;
    background: #edf2ff;
    transform: scale(.99);
  }
  .vip-member-summary { padding: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
  .vip-member-facts { grid-template-columns: repeat(2,minmax(0,1fr)); border: 0; }
  .vip-member-facts > div { min-height: 86px; padding: 14px 12px; }
  .vip-member-facts dd { font-size: 15px; overflow-wrap: anywhere; }
  .vip-member-facts > div:nth-child(2) dd { font-size: 23px; }
  .vip-member-renewal-actions { grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px 14px; border-top: 1px solid var(--line); background: #fbfcff; }
  .vip-member-renewal-copy { gap: 2px; }
  .vip-member-renewal-copy strong { font-size: 12px; }
  .vip-member-renewal-actions p { font-size: 11px; }
  .vip-member-renewal-actions button { width: auto; min-width: 112px; justify-self: end; min-height: 40px; padding: 0 12px; }
  .vip-member-status-message:empty { display: none; }
  .plan-picker { padding-top: 0; }
  .price-plans { gap: 12px; }
  .price-card { padding: 16px 12px; border: 1px solid var(--line); border-radius: 16px; background: #f7f9ff; }
  .plan-copy strong { font-size: 15px; }
  .plan-copy small { font-size: 11px; white-space: normal; }
  .price > strong { font-size: 29px; }
  .vip-service-summary { grid-template-columns: minmax(0,1fr); gap: 12px; margin-top: 18px; }
  .vip-orders-entry { margin-bottom: 0; }
  .vip-orders-entry + .vip-service-summary { margin-top: 0; padding-top: 18px; }
  .vip-service-summary article { padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
  .purchase-details { margin-top: 18px; }
  .vip-checkout-dialog { max-height: calc(100dvh - 20px); }
}
