:root{color-scheme:dark;font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif;color:#e9f4ed;background:#050806;--line:rgba(190,235,208,.14);--muted:#b4c8bb;--accent:#00e676;--panel:#0d1712}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#050806;font-size:14px;line-height:1.7}[hidden]{display:none!important}::selection{background:#a4f3bc;color:#041108}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}a{color:inherit;text-underline-offset:4px}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}
.purchase-shell{width:min(1200px,calc(100% - 64px));margin:auto;padding:20px 0 40px}.purchase-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center}.brand img{width:216px;height:64px;object-fit:contain}.back-link{font-size:13px;color:var(--muted);text-decoration:none}.back-link:hover{color:#a4f3bc}
.purchase-hero{padding:32px 0 12px;max-width:72ch}.purchase-hero h1{font-size:22px;line-height:1.4;margin:0 0 12px;font-weight:700}.purchase-hero p{color:var(--muted);margin:0 0 16px}.account-strip{font-size:13px;color:#a4f3bc;font-variant-numeric:tabular-nums}.purchase-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;margin:0 0 20px}
.plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.plan-card{position:relative;display:flex;flex-direction:column;gap:20px;min-height:190px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.plan-card:hover{border-color:#80958a}.plan-card-featured{border-color:#339e68}.plan-top{font-size:13px;color:var(--muted)}.plan-dot{display:none}.plan-ribbon{position:absolute;right:12px;top:12px;background:rgba(0,230,118,.10);color:#a4f3bc;padding:2px 8px;border-radius:6px;font-size:12px}.plan-credits{font-size:26px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums}.plan-credits small{font-size:13px;color:var(--muted);font-weight:400}.plan-button{display:block;width:100%;margin-top:auto;padding:10px 8px;border:1px solid #339e68;border-radius:8px;color:#a4f3bc;font-size:13px;font-weight:600;text-align:center;text-decoration:none;white-space:nowrap;transition:background-color .18s ease-out}.plan-button:hover{background:rgba(0,230,118,.1)}.plan-button b{font-weight:600}.plan-button span{margin-left:3px}
.purchase-note{display:flex;align-items:center;gap:20px;margin:24px 0;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.purchase-note h2,.purchase-section h2{font-size:18px;line-height:1.5;margin:0 0 12px;font-weight:600}.purchase-note p,.purchase-section>p{font-size:13px;color:var(--muted);margin:0;max-width:72ch}.note-action{margin-left:auto;white-space:nowrap;font-size:13px;color:#a4f3bc}.purchase-account-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:24px;align-items:start}.purchase-section{padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--panel);min-width:0}.purchase-section form{margin:20px 0}.purchase-section fieldset{margin:0;padding:0;border:0;min-width:0}.purchase-section label{display:block;margin:0 0 8px;font-size:13px;color:var(--muted)}.purchase-section input{display:block;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#09140e;color:#e9f4ed;caret-color:var(--accent);margin-bottom:16px}.purchase-section input::placeholder{color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 16px;border:1px solid transparent;border-radius:8px;font-size:13px;line-height:1.5;font-weight:600;text-decoration:none}.primary{background:var(--accent);color:#041108}.primary:hover:not(:disabled){background:#a4f3bc}.quiet{border-color:var(--line);background:transparent;color:#e9f4ed}.quiet:hover:not(:disabled){background:rgba(0,230,118,.08)}.text-link{color:#a4f3bc;font-size:13px}.status{font-size:13px;color:var(--muted);margin:12px 0;overflow-wrap:anywhere}.status:empty{display:none}.status.is-error{color:#efb48b}.purchase-footer{padding-top:28px;color:#b4c8bb;font-size:12px;text-align:center}
@media(max-width:1100px){.plans{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.purchase-shell{width:calc(100% - 32px);padding-top:12px}.brand img{width:172px;height:52px}.purchase-header{min-height:64px}.purchase-hero{padding-top:24px}.plans{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-card{padding:16px;min-height:178px;gap:16px}.plan-credits{font-size:24px}.plan-button{font-size:12px}.purchase-note{align-items:flex-start;flex-wrap:wrap}.note-action{margin-left:0}.purchase-account-grid{grid-template-columns:minmax(0,1fr)}.purchase-section{padding:20px}.purchase-tools{align-items:flex-start}.purchase-tools .button{flex-shrink:0}}
@media(max-width:360px){.plans{grid-template-columns:minmax(0,1fr)}}
.purchase-orders{margin-top:24px}.purchase-orders-head,.checkout-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.purchase-orders-head h2,.checkout-head h2{margin:0}.payment-order{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.payment-order:last-child{border-bottom:0}.payment-order p{margin:0}.payment-order small{display:block;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.payment-order .button{flex-shrink:0}.payment-checkout{width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--line);border-radius:14px;background:#0d1712;color:#e9f4ed;overflow:auto}.payment-checkout::backdrop{background:rgba(0,0,0,.72)}.checkout-head h2{font-size:18px}.checkout-head .button{min-height:40px}.checkout-methods{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.checkout-methods .button{flex:1}.checkout-code{width:232px;height:232px;background:white;padding:12px;margin:20px auto}.checkout-code canvas{display:block;width:208px;height:208px;image-rendering:pixelated}.checkout-tip{font-size:13px;color:var(--muted);margin:16px 0}.payment-checkout #checkoutExternal{display:flex;width:100%}.payment-checkout #checkPayment{width:100%}.payment-order,.payment-checkout{font-variant-numeric:tabular-nums}.payment-checkout::-webkit-scrollbar{width:6px}.payment-checkout::-webkit-scrollbar-thumb{background:#435f4c;border-radius:4px}
@media(max-width:720px){.payment-checkout{padding:20px}.payment-order{align-items:flex-start;gap:8px}.payment-order .button{font-size:13px;padding:8px 10px}.checkout-methods .button{min-height:44px}.payment-checkout .status{font-size:14px}}
