* { box-sizing: border-box; }
body.vip-page { margin: 0; --ink: #24352d; --muted: #7a847c; --line: #e0e5dd; --green: #165c45; background: #f2f4f0; color: var(--ink); font: 14px/1.6 Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
button, input { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.vip-wrap { width: min(1000px, 100%); margin: 0 auto; padding: 28px 24px 20px; }
.vip-intro { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.vip-intro h1 { margin: 0; font-size: 25px; font-weight: 650; letter-spacing: 1px; }
.vip-intro p { color: var(--muted); font-size: 12px; margin: 0; }
.account-strip { display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid var(--line); background: #ffffffb3; border-radius: 8px; margin-bottom: 24px; }
.account-avatar { display: grid; place-items: center; flex: 0 0 33px; height: 33px; border-radius: 50%; color: #6b7b69; background: #e9eee5; overflow: hidden; }
.account-avatar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.account-copy { display: grid; min-width: 0; gap: 1px; }
.account-copy strong { font-size: 12px; overflow-wrap: anywhere; }
.account-copy span { font-size: 11px; color: var(--muted); }
.account-link { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; flex-shrink: 0; color: var(--green); font-size: 12px; font-weight: 600; }
.inline-icon { width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.panel { min-width: 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-size: 15px; font-weight: 600; }
.section-note { font-size: 11px; color: #859080; text-align: right; }
.catalog-status { color: #8b7b59; font-size: 11px; margin: -5px 0 13px; }
.catalog-status.is-error { color: #a11d0b; }
.catalog-status:empty { display: none; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.plan-choice { --card-start: #223831; --card-end: #102a24; --card-shine: #57876b; position: relative; display: flex; flex-direction: column; min-width: 0; padding: 25px 25px 20px; border: 1px solid #b6a06c; border-radius: 12px; color: #f2e5c4; overflow: hidden; isolation: isolate; cursor: pointer; background: radial-gradient(ellipse at 115% -10%, #d5b77336, transparent 60%), linear-gradient(135deg, var(--card-start), var(--card-end)); box-shadow: inset 0 1px 0 #f9e3aa66, 0 8px 18px #17332912; transition: box-shadow .18s, border-color .18s, transform .18s; }
.plan-choice[data-term="month"] { --card-start: #33424d; --card-end: #182631; --card-shine: #5f8493; }
.plan-choice[data-term="year"] { --card-start: #43382e; --card-end: #241e1a; --card-shine: #a67b49; }
.plan-choice::before { content: ""; position: absolute; inset: 7px; border: 1px solid #e8cc8a35; border-radius: 7px; pointer-events: none; z-index: -1; }
.plan-choice::after { content: ""; position: absolute; right: -145px; top: -85px; width: 350px; height: 350px; border: 1px solid #e8cc8a24; border-radius: 50%; box-shadow: 0 0 0 18px #e8cc8a08, 0 0 0 38px #e8cc8a07, 0 0 0 58px #e8cc8a05; transform: rotate(-20deg); z-index: -1; pointer-events: none; }
.plan-choice:hover { transform: translateY(-2px); border-color: #ead19c; box-shadow: 0 9px 24px #14281e24, inset 0 1px 0 #f9e3aa99; }
.plan-choice:has(input:checked) { border-color: #e9c576; box-shadow: 0 0 0 2px #d6b56c, 0 12px 24px #775c3026, inset 0 1px 0 #fff4d4cc; background: radial-gradient(ellipse at 100% 0, var(--card-shine), transparent 78%), linear-gradient(135deg, var(--card-start), var(--card-end)); }
.plan-choice:has(input:checked)::before { border-color: #efd39980; }
.plan-choice:has(input:focus-visible), .payment-choice:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 5px; }
.plan-choice input, .payment-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-tag { position: absolute; right: 17px; top: 18px; border: 1px solid #d9c18b3d; border-radius: 4px; padding: 2px 7px; color: #c7bea8; font-size: 10px; line-height: 1.5; background: #18251b26; }
.plan-emblem { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #e9cf92; }
.plan-emblem svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.plan-emblem > span { font: italic 15px/1 Georgia, serif; letter-spacing: 2px; }
.plan-name { display: block; font-size: 20px; font-weight: 600; letter-spacing: 1px; overflow-wrap: anywhere; }
.plan-duration { display: block; color: #b4bcaa; font-size: 11px; margin-top: 4px; }
.plan-price { display: flex; gap: 4px; align-items: baseline; margin-top: 21px; color: #f3dba4; }
.plan-price small { font-size: 17px; }
.plan-price strong { min-width: 0; font-size: 39px; font-weight: 500; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -1px; overflow-wrap: anywhere; text-shadow: 0 2px 10px #e7c07818; }
.plan-original { display: block; min-height: 17px; font-size: 11px; color: #c0b8a0; margin: 5px 0 17px; }
.plan-detail { display: flex; align-items: center; justify-content: space-between; margin-top: auto; border-top: 1px solid #ead09533; padding-top: 13px; gap: 8px; color: #c2c6b3; font-size: 11px; }
.choice-check { display: block; flex: 0 0 18px; width: 18px; height: 18px; border: 1px solid #d2c18b70; border-radius: 50%; background: #0a171229; position: relative; }
.plan-choice:has(input:checked) .choice-check { background: linear-gradient(135deg, #f6e3ad, #c9a55e); border-color: #edcf8c; box-shadow: 0 0 8px #e6c47c38; }
.choice-check svg { display: block; width: 100%; height: 100%; fill: none; stroke: #29352b; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.plan-choice:has(input:checked) .choice-check svg { opacity: 1; }
.plan-memo { display: block; color: #d1c8b2; font-size: 11px; margin: 8px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.plan-footnote { margin: 13px 0 0; font-size: 11px; color: #8a9183; }
.plan-skeleton { height: 282px; border: 1px solid #dce3d6; border-radius: 12px; background: #e7ece2; }
.retry-button { border: 1px solid #c7d6cb; border-radius: 5px; color: var(--green); background: #f1f6f0; padding: 6px 13px; font-size: 12px; }
.checkout-panel { display: grid; grid-template-columns: minmax(0, 1fr) 275px; grid-template-areas: "title title" "summary total" "methods button" "notice agreement" "help help"; column-gap: 60px; row-gap: 12px; margin-top: 23px; padding: 21px 25px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.checkout-title { grid-area: title; margin: 0; font-size: 15px; font-weight: 600; }
.order-summary { grid-area: summary; display: flex; flex-wrap: wrap; gap: 6px 22px; align-content: center; margin: 0; }
.order-summary > div { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.order-summary dt { color: #889187; }
.order-summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.payment-options { grid-area: methods; margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.payment-options legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.payment-choice { display: flex; flex: 1; align-items: center; justify-content: center; position: relative; gap: 9px; border: 1px solid #dce4da; border-radius: 6px; padding: 11px; font-size: 13px; cursor: pointer; }
.payment-choice:has(input:checked) { background: #f0f7ef; border-color: #74a882; box-shadow: inset 0 0 0 1px #74a88222; }
.payment-choice:has(input[value="alipay"]:checked) { background: #f0f6fb; border-color: #6e9fc6; }
.payment-logo { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; }
.payment-logo.wechat { color: #20ae51; }
.payment-logo.wechat svg { width: 29px; height: 29px; }
.payment-logo.alipay { color: #168bea; }
.payment-logo.alipay svg { width: 24px; height: 24px; }
.payment-notice { grid-area: notice; margin: 0; color: #8b806a; font-size: 11px; line-height: 1.8; }
.checkout-total { grid-area: total; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; }
.checkout-total > div { display: flex; gap: 4px; align-items: baseline; color: #84672f; }
.checkout-total .currency { font-size: 14px; }
.checkout-total strong { font-size: 28px; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; }
.agreement { grid-area: agreement; display: flex; align-items: flex-start; gap: 6px; font-size: 10px; color: #8b9489; cursor: pointer; }
.agreement input { width: 13px; height: 13px; flex: 0 0 13px; margin: 2px 0 0; accent-color: #165c45; }
.agreement a { color: #58735d; }
.purchase-button { grid-area: button; border: 1px solid #d1b277; width: 100%; padding: 12px 16px; border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 14px; font-weight: 650; background: linear-gradient(110deg, #d9bd80, #f0dca6, #d9bd80); color: #665433; box-shadow: inset 0 1px 0 #fff3d0; }
.purchase-button:disabled { opacity: .7; }
.checkout-help { grid-area: help; justify-self: end; display: inline-flex; align-items: center; gap: 4px; color: #909a8c; font-size: 11px; }
.vip-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 20px 1px 0; color: #97a08f; font-size: 11px; }
.vip-footer > div { display: flex; gap: 17px; }
.noscript-note { padding: 16px; background: #fff7e6; }
@media (max-width: 780px) {
    .vip-wrap { padding: 20px 18px; }
    .plans { gap: 12px; }
    .plan-choice { padding: 21px 18px 17px; }
    .plan-name { font-size: 18px; }
    .plan-tag { top: 15px; right: 13px; padding: 2px 5px; font-size: 9px; }
    .plan-emblem > span { display: none; }
    .checkout-panel { column-gap: 25px; grid-template-columns: minmax(0, 1fr) 240px; padding: 20px; }
    .order-summary { gap: 5px 12px; }
}
@media (max-width: 580px) {
    .vip-wrap { padding: 18px 12px; }
    .vip-intro { display: block; margin-bottom: 15px; }
    .vip-intro h1 { font-size: 23px; }
    .vip-intro p { margin-top: 3px; font-size: 11px; }
    .account-strip { padding: 11px; margin-bottom: 20px; gap: 9px; }
    .account-copy span { font-size: 10px; }
    .account-link { font-size: 11px; }
    .section-note { display: none; }
    .plans { gap: 9px; }
    .plan-choice { padding: 16px 10px 13px; border-radius: 9px; }
    .plan-choice::before { inset: 4px; border-radius: 5px; }
    .plan-choice::after { width: 210px; height: 210px; right: -170px; top: -45px; }
    .plan-tag { top: 13px; right: 8px; font-size: 8px; padding: 1px 4px; border: 0; background: #d5b87814; }
    .plan-emblem { margin-bottom: 15px; }
    .plan-emblem svg { width: 22px; height: 22px; }
    .plan-name { font-size: 13px; letter-spacing: 0; }
    .plan-duration { font-size: 10px; margin-top: 4px; }
    .plan-price { margin-top: 17px; gap: 2px; }
    .plan-price small { font-size: 12px; }
    .plan-price strong { font-size: 27px; }
    .plan-original { font-size: 10px; margin: 6px 0 13px; }
    .plan-detail { padding-top: 11px; font-size: 10px; gap: 4px; }
    .plan-detail .choice-check { width: 14px; height: 14px; flex-basis: 14px; }
    .plan-memo { font-size: 10px; }
    .plan-skeleton { height: 225px; }
    .checkout-panel { grid-template-columns: 1fr; grid-template-areas: "title" "summary" "methods" "notice" "total" "agreement" "button" "help"; gap: 14px; padding: 17px 16px; margin-top: 18px; }
    .checkout-total { border-top: 1px solid #e8ece3; padding-top: 13px; }
    .payment-choice { padding: 12px 8px; font-size: 12px; }
    .agreement { font-size: 11px; }
    .vip-footer { justify-content: center; font-size: 10px; padding-top: 18px; }
}
@media (max-width: 360px) {
    .plan-choice { padding-left: 8px; padding-right: 8px; }
    .plan-name { font-size: 12px; }
    .plan-detail { gap: 2px; font-size: 9px; }
    .plan-tag { right: 6px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
