:root { color-scheme: dark; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; background: #10151c; color: #edf3f8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 15% 0%, #25404b, transparent 42%), #10151c; }
.shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0; }
.account-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.back-link { color: #a7b5c0; font-size: 13px; } .back-link:hover { color: #7de1c2; }
.brand { margin-bottom: 28px; max-width: 660px; }
.eyebrow { margin: 0 0 8px; color: #7de1c2; letter-spacing: .16em; font-size: 12px; font-weight: 700; }
h1, h2, h3 { margin: 0; line-height: 1.2; } h1 { font-size: clamp(30px, 5vw, 52px); } h2 { font-size: 24px; } h3 { margin-top: 30px; font-size: 18px; }
.brand p:not(.eyebrow) { color: #a7b5c0; line-height: 1.7; }
.card { background: rgba(20, 29, 37, .92); border: 1px solid #2b3a45; border-radius: 18px; padding: 28px; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid #2b3a45; }
.tab { border: 0; background: transparent; color: #91a3ae; padding: 12px 16px; cursor: pointer; font: inherit; } .tab.active { color: #7de1c2; border-bottom: 2px solid #7de1c2; }
form, .profile-grid { display: grid; gap: 16px; } label { display: grid; gap: 7px; color: #b7c4cd; font-size: 14px; }
input { width: 100%; border: 1px solid #3a4a56; border-radius: 10px; background: #111a22; color: #fff; padding: 12px 13px; font: inherit; outline: none; } input:focus { border-color: #7de1c2; } input:disabled { color: #8da0ac; }
.check { display: flex; grid-template-columns: auto 1fr; align-items: center; } .check input { width: auto; }
.captcha-row { display: grid; grid-template-columns: minmax(0, 1fr) 182px; gap: 14px; align-items: start; } .captcha-preview { display: grid; grid-template-rows: 45px 18px; gap: 6px; padding-top: 26px; } .captcha-preview img { display: block; width: 182px; height: 45px; border: 1px solid #3a4a56; border-radius: 8px; background: #111a22; } .captcha-preview button { border: 0; background: transparent; color: #7de1c2; padding: 0; text-align: center; cursor: pointer; font: inherit; font-size: 12px; line-height: 18px; }
.button { border: 0; border-radius: 10px; padding: 12px 17px; cursor: pointer; color: #07120f; font-weight: 700; } .primary { background: #7de1c2; } .secondary { background: #b4d9ff; } .muted { background: #2e3d48; color: #d7e1e8; }
.message { min-height: 22px; margin: 16px 0 0; color: #a7b5c0; } .message.error { color: #ff9f9f; } .message.success { color: #7de1c2; }
.hidden { display: none !important; }
.account-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; } #accountId { color: #7f929e; font-size: 13px; }
.profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
.product { display: grid; gap: 6px; padding: 16px; border: 1px solid #31434e; border-radius: 12px; margin-top: 10px; } .product span { color: #7de1c2; } .product small { color: #8da0ac; line-height: 1.5; }
.download-slot { margin-top: 8px; color: #7f929e; font-size: 12px; } .download-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 9px 13px; background: #7de1c2; color: #07120f; font-size: 13px; font-weight: 700; text-decoration: none; }
.shop-placeholder { display: flex; justify-content: space-between; gap: 18px; margin-top: 26px; padding: 16px; border-radius: 12px; background: #1a2d35; color: #a8c0c9; } .shop-placeholder strong { color: #7de1c2; }
.shop-placeholder a { color: #7de1c2; font-weight: 700; white-space: nowrap; }
.buy-section { margin-top: 34px; padding-top: 26px; border-top: 1px solid #2b3a45; }
.account-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.account-section-heading h3 { margin: 0; } .hint { color: #7f929e; font-size: 12px; }
.buy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.payment-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; padding: 0; border: 0; }
.payment-methods legend { width: 100%; margin-bottom: 9px; color: #a7b5c0; font-size: 13px; }
.payment-method { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; padding: 10px; border: 1px solid #31434e; border-radius: 11px; background: #141e27; cursor: pointer; transition: border-color .15s, background .15s; }
.payment-method:hover { border-color: #55717c; }
.payment-method input { position: absolute; opacity: 0; pointer-events: none; }
.payment-method:has(input:checked) { border-color: #7de1c2; background: #173029; box-shadow: inset 0 0 0 1px #7de1c2; }
.payment-method-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: white; font-size: 13px; font-weight: 800; }
.alipay-icon { background: #168cff; } .wechat-icon { background: #18b83f; } .bank-icon { background: #6657e8; }
.payment-method strong { font-size: 14px; }
.buy-card { border: 1px solid #31434e; border-radius: 12px; padding: 18px; background: #141e27; }
.buy-tag { color: #7de1c2; font-size: 11px; letter-spacing: .12em; font-weight: 700; }
.buy-card h4 { margin: 8px 0 4px; font-size: 18px; } .buy-card p { margin: 0 0 16px; color: #92a5b0; font-size: 13px; }
.buy-row { display: flex; gap: 8px; } select { min-width: 0; flex: 1; border: 1px solid #3a4a56; border-radius: 10px; background: #111a22; color: #fff; padding: 10px; font: inherit; }
.buy-button { padding: 10px 13px; white-space: nowrap; }
.payment-modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(4, 8, 12, .78); z-index: 10; }
.payment-dialog { position: relative; width: min(380px, 100%); padding: 28px; text-align: center; border: 1px solid #3a555d; border-radius: 18px; background: #141e27; box-shadow: 0 28px 90px rgba(0,0,0,.5); }
.close-payment { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; color: #a7b5c0; font-size: 28px; cursor: pointer; }
.payment-qr { display: block; width: 240px; height: 240px; margin: 18px auto; padding: 8px; border-radius: 10px; background: #fff; }
.orders-section { margin-top: 34px; padding-top: 26px; border-top: 1px solid #2b3a45; }
.compact-button { min-width: 96px; padding: 9px 14px; }
.order-history { display: grid; gap: 10px; }
.orders-empty { margin: 0; padding: 24px; border: 1px dashed #31434e; border-radius: 12px; color: #7f929e; text-align: center; }
.order-item { display: grid; gap: 8px; padding: 16px; border: 1px solid #31434e; border-radius: 12px; background: #141e27; }
.order-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.order-item-heading strong { font-size: 15px; }
.order-status { flex: 0 0 auto; padding: 4px 9px; border-radius: 999px; background: #293842; color: #c1d0d8; font-size: 12px; font-weight: 700; }
.status-paid { background: #1f493d; color: #8df0cc; } .status-pending, .status-preauthorized { background: #55421f; color: #ffd58c; } .status-refunded, .status-frozen, .status-expired { background: #4a292d; color: #ffb3b8; }
.order-meta { color: #a7b5c0; font-size: 13px; }
.order-number { color: #7f929e; font-family: Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
.order-actions { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.order-countdown { margin-right: auto; color: #ffd58c; font-size: 13px; font-weight: 700; }
.order-note { color: #ffb3b8; font-size: 13px; }
.buy-button:disabled { cursor: not-allowed; opacity: .45; }
@media (max-width: 600px) { .shell { padding: 32px 0; } .card { padding: 20px; } .profile-grid, .captcha-row { grid-template-columns: 1fr; } .account-heading, .shop-placeholder { flex-direction: column; } }
@media (max-width: 600px) { .account-nav, .account-section-heading { align-items: flex-start; flex-direction: column; } .buy-grid, .payment-methods { grid-template-columns: 1fr; } .order-item-heading { align-items: flex-start; flex-direction: column; gap: 8px; } }
