/* VIP and account overview: follows the site's blue palette and data-theme switch. */
.vip-page,.account-profile,.account-overview {--vip-text:#26364d;--vip-muted:#67768b;--vip-surface:#fff;--vip-border:#e1e8f2;--vip-tint:#f0f6ff;--vip-blue:#06f;--vip-icon-gold:#a87414;color:var(--vip-text)}
[data-theme="dark"] .vip-page,[data-theme="dark"] .account-profile,[data-theme="dark"] .account-overview {--vip-text:#e5edf9;--vip-muted:#a6b3c8;--vip-surface:#1b2535;--vip-border:#334057;--vip-tint:#202f49;--vip-blue:#70a8ff;--vip-icon-gold:#f2d18e}
.vip-page {max-width:1600px;margin:0 auto;padding:20px 24px 56px;line-height:1.6}
.vip-page button,.account-overview a,.account-profile button {font:inherit}
.vip-page [hidden],.account-overview [hidden] {display:none!important}
.vip-page h1,.vip-page h2,.account-overview h2,.account-profile h1,.vip-page p,.account-overview p,.account-profile p {margin:0}
.vip-breadcrumb {display:flex;flex-wrap:wrap;gap:12px;font-size:14px;color:var(--vip-muted);margin-bottom:24px}
.vip-breadcrumb a:hover {color:var(--vip-blue)}
.vip-intro {display:flex;justify-content:space-between;align-items:center;gap:32px;background:var(--vip-tint);border-radius:12px;padding:36px 40px;margin-bottom:24px;border:1px solid var(--vip-border)}
.vip-eyebrow {color:var(--vip-blue);font-size:13px;font-weight:600;letter-spacing:.12em}
.vip-intro h1 {font-size:32px;line-height:1.3;font-weight:650;letter-spacing:-.03em;margin:12px 0}
.vip-intro p:last-child {color:var(--vip-muted);font-size:16px}
.vip-intro-icon {width:72px;height:72px;flex-shrink:0;color:var(--vip-icon-gold)}
.vip-current {font-size:14px;margin:0 0 28px}
.vip-current>div {display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.vip-current strong {font-size:17px}
.vip-current [data-vip-expiry],.vip-current>p {color:var(--vip-muted)}
.vip-current>p {margin-top:8px}
.vip-badge {display:inline-block;align-self:flex-start;font-size:12px;line-height:1.5;padding:5px 10px;border-radius:5px;color:var(--vip-blue);background:var(--vip-tint);font-weight:600}
.vip-plan-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}
.vip-plan {min-width:0;background:var(--vip-surface);border:1px solid var(--vip-border);border-radius:10px;padding:26px;display:flex;align-items:flex-start;flex-direction:column}
.vip-plan h2 {font-size:27px;font-weight:650;line-height:1.3;margin:23px 0 6px;overflow-wrap:anywhere}
.vip-plan .vip-price {font-size:40px;line-height:1.2;font-weight:650;letter-spacing:-.035em;margin:28px 0}
.vip-price>span:first-child {font-size:20px;margin-right:4px}
.vip-benefits {list-style:none;padding:0;margin:0 0 24px;line-height:1.65;font-size:14px;color:var(--vip-muted);width:100%;overflow-wrap:anywhere}
.vip-benefits li {position:relative;padding-left:22px;margin-bottom:12px}
.vip-benefits li:before {content:"✓";position:absolute;left:0;color:var(--vip-blue);font-weight:600}
.vip-benefits:empty {display:none}
.vip-button {border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;min-height:44px;line-height:1.4;padding:11px 22px;border-radius:6px;background:#06f;color:#fff;font-weight:600;text-decoration:none;cursor:pointer;transition:background .15s}
.vip-button:hover {background:#0053d1;color:#fff}
.vip-button:disabled {opacity:.55;cursor:not-allowed}
.vip-plan>.vip-button {margin-top:auto;width:100%;min-width:0;overflow-wrap:anywhere}
.vip-plan-dark {--vip-surface:#24334c;--vip-text:#f4f6fa;--vip-muted:#becce0;--vip-border:#394a65;--vip-tint:#34415a;--vip-blue:#f2d18e;color:var(--vip-text)}
.vip-plan-dark .vip-button {background:#f2d18e;color:#352b17}
.vip-plan-dark .vip-button:hover {background:#f9dca4}
[data-theme="dark"] .vip-plan-dark {--vip-surface:#141c29;--vip-muted:#c6cfdd;--vip-border:#ac8b4e;--vip-tint:#3b3222;box-shadow:inset 0 3px 0 #f2d18e}
[data-theme="dark"] .vip-plan-dark h2,[data-theme="dark"] .vip-plan-dark .vip-price {color:#f2d18e}
.vip-page .vip-test-note {font-size:12px;color:var(--vip-muted);margin-top:24px}
.vip-notice {padding:12px 16px;background:var(--vip-tint);border-left:3px solid var(--vip-blue);margin-bottom:20px!important;font-size:14px}
.vip-page-message {font-size:14px;color:var(--vip-blue)}
.vip-page-message:not(:empty) {padding:8px 0 20px}
.vip-empty {padding:70px 20px;text-align:center;border:1px dashed var(--vip-border);border-radius:10px;background:var(--vip-surface)}
.vip-empty h2 {font-size:24px;margin-bottom:12px}
.vip-empty p {color:var(--vip-muted);margin-bottom:20px}
.vip-empty a {color:var(--vip-blue)}
.account-profile {background:var(--vip-surface);border:1px solid var(--vip-border);border-radius:10px;padding:26px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.account-identity {display:flex;gap:20px;align-items:center;min-width:0}
.account-identity>div {min-width:0}
.account-identity .my-avatar {width:64px;height:64px;border-radius:14px;object-fit:cover;flex-shrink:0;background:var(--vip-tint)}
.account-identity h1 {font-size:24px;font-weight:600;overflow-wrap:anywhere}
.account-identity p {font-size:14px;color:var(--vip-muted);margin-top:4px}
.account-logout {border:1px solid var(--vip-border);border-radius:6px;background:transparent;color:var(--vip-muted);padding:10px 14px;display:flex;align-items:center;gap:8px;cursor:pointer;flex-shrink:0}
.account-logout svg {width:18px;height:18px}
.account-overview {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:28px;line-height:1.6}
.account-card {background:var(--vip-surface);border:1px solid var(--vip-border);border-radius:10px;padding:28px 30px;min-width:0;display:flex;align-items:flex-start;flex-direction:column}
.account-card-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-bottom:26px}
.account-card-heading h2 {display:flex;align-items:center;gap:10px;font-size:20px;font-weight:600;flex-shrink:0}
.account-card-heading h2 svg {width:23px;height:23px;color:var(--vip-icon-gold)}
.account-card-heading .vip-badge {text-align:right}
.account-overview .account-value {font-size:32px;line-height:1.35;font-weight:650;letter-spacing:-.02em;color:var(--vip-blue);margin-bottom:10px;overflow-wrap:anywhere;max-width:100%}
.account-coins .account-value {font-size:40px}
.account-unit {font-size:14px;font-weight:400;color:var(--vip-muted);margin-left:10px}
.account-muted {color:var(--vip-muted);font-size:14px}
.account-overview .account-note {margin:18px 0}
.account-vip {background:var(--vip-tint)}
.account-vip .vip-badge {background:var(--vip-surface)}
.account-vip .vip-benefits {margin-top:20px;margin-bottom:0}
.account-vip .vip-button {margin-top:auto}
.account-vip.vip-is-retired {border-color:var(--vip-blue)}
.account-vip.vip-is-retired .vip-badge {color:#92702b}
[data-theme="dark"] .account-vip.vip-is-retired .vip-badge {color:#f2d18e}
.vip-dialog {border:1px solid var(--vip-border);border-radius:12px;max-width:460px;width:calc(100% - 32px);padding:32px;margin:auto;background:var(--vip-surface);color:var(--vip-text);box-shadow:0 16px 70px #0003;max-height:calc(100dvh - 32px);overflow:auto}
.vip-dialog::backdrop {background:rgba(12,24,42,.6)}
.vip-dialog-close {position:absolute;right:12px;top:10px;width:40px;height:40px;border:0;border-radius:6px;background:transparent;color:var(--vip-muted);font-size:28px!important;cursor:pointer}
.vip-dialog h2 {font-size:25px;margin:12px 0 24px;font-weight:600}
.vip-checkout-summary {padding:18px 20px;background:var(--vip-tint);border-radius:8px;margin-bottom:20px}
.vip-checkout-summary strong {font-size:20px;display:block;overflow-wrap:anywhere}
.vip-checkout-summary>span {color:var(--vip-muted);font-size:14px}
.vip-checkout-summary .vip-price {font-size:34px;font-weight:600;margin-top:12px}
.vip-checkout-summary .vip-price span {font-size:34px}
.vip-dialog-message {font-size:14px;margin:18px 0!important;min-height:24px;color:var(--vip-blue)}
.vip-payment-way {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0;color:var(--vip-muted);font-size:14px}
.vip-payment-way select {min-width:170px;border:1px solid var(--vip-border);border-radius:6px;background:var(--vip-surface);color:var(--vip-text);padding:10px 12px;font:inherit}
.vip-dialog-actions {display:flex;flex-direction:column;gap:10px}
.vip-text-button {border:0;background:transparent;color:var(--vip-blue);padding:8px 0;min-height:44px;cursor:pointer;font-weight:500}
.vip-button-secondary {border-color:var(--vip-border);background:transparent;color:var(--vip-blue)}
.vip-button-secondary:hover {background:var(--vip-tint);color:var(--vip-blue)}
.vip-page a:focus-visible,.vip-page button:focus-visible,.account-overview a:focus-visible,.account-profile button:focus-visible {outline:3px solid var(--vip-blue);outline-offset:4px}
@media(max-width:1100px) {.vip-plan-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px) {
 .vip-page {padding:14px 12px 36px}.vip-breadcrumb {margin-bottom:16px}
 .vip-intro {padding:24px 20px;gap:14px}.vip-intro h1 {font-size:25px}.vip-intro p:last-child {font-size:14px}.vip-intro-icon {width:42px;height:42px}
 .vip-plan-grid {grid-template-columns:minmax(0,1fr);gap:16px}.vip-plan {padding:24px}.vip-plan h2 {margin-top:16px}.vip-plan .vip-price {margin:22px 0}.vip-plan .vip-benefits {margin-bottom:16px}
 .account-profile {padding:18px 16px;gap:10px;margin-bottom:16px}.account-identity {gap:12px}.account-identity .my-avatar {width:48px;height:48px;border-radius:10px}.account-identity h1 {font-size:19px}.account-identity p {font-size:12px}
 .account-logout {padding:8px;font-size:12px!important;gap:4px}.account-logout svg {width:16px;height:16px}
 .account-overview {grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:20px}.account-card {padding:22px}.account-card-heading {margin-bottom:20px}.account-card-heading h2 {font-size:18px}.account-overview .account-value {font-size:28px}.account-coins .account-value {font-size:36px}
 .vip-dialog {padding:26px 22px}
}
@media(prefers-reduced-motion:reduce) {.vip-button {transition:none}}
