:root { color-scheme: light; --ink: #17202a; --muted: #66727e; --line: #d9dee3; --paper: #fff; --canvas: #f5f6f7; --accent: #b42318; --success: #087f5b; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.site-header { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 max(24px, calc((100vw - 1040px) / 2)); border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { color: var(--ink); font-size: 17px; font-weight: 800; text-decoration: none; }
.account-chip { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.account-chip strong { color: var(--success); }
.account-chip button, .text-button { padding: 0; border: 0; color: var(--accent); background: transparent; }
main { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 72px; }
.hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 16px; font-size: clamp(34px, 6vw, 58px); line-height: 1.08; letter-spacing: -.04em; }
h2 { margin-bottom: 7px; font-size: 22px; }
.hero > p:last-child, .section-head > p, .auth-card > div p { color: var(--muted); line-height: 1.7; }
.card { border: 1px solid var(--line); background: var(--paper); }
.auth-card { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 40px; padding: 36px; }
form label { display: block; margin-bottom: 14px; color: #475565; font-size: 12px; }
form input { display: block; width: 100%; height: 42px; margin-top: 6px; padding: 0 12px; border: 1px solid #cbd2d9; outline: 0; background: #fff; }
form input:focus { border-color: #475565; box-shadow: 0 0 0 3px rgba(71,85,101,.12); }
.primary { min-height: 42px; padding: 0 20px; border: 0; color: #fff; background: var(--ink); font-weight: 750; }
.primary:hover:not(:disabled) { background: #33404d; }
.primary:disabled { cursor: default; opacity: .45; }
.message { min-height: 20px; margin: 0 0 8px; color: var(--accent); font-size: 12px; }
.center { text-align: center; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 48px 0 18px; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { max-width: 380px; margin-bottom: 0; font-size: 13px; text-align: right; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plan { min-height: 150px; padding: 22px; border: 1px solid var(--line); color: var(--ink); background: var(--paper); text-align: left; }
.plan:hover, .plan.active { border-color: var(--ink); box-shadow: inset 0 -3px var(--ink); }
.plan small { color: var(--muted); }
.plan strong { display: block; margin: 15px 0 5px; font-size: 30px; }
.plan b { color: var(--accent); font-size: 18px; }
.payment-heading { padding-top: 36px; }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--line); color: var(--ink); background: var(--paper); text-align: left; }
.channel.active { border-color: var(--ink); }
.channel-mark { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; font-weight: 800; }
.wechat { background: #07c160; }.alipay { background: #1677ff; }
.channel strong, .channel small { display: block; }.channel small { margin-top: 3px; color: var(--muted); }
.create-order { display: block; width: min(360px, 100%); margin: 22px auto 8px; }
.payment-card { display: grid; grid-template-columns: 1fr 300px; gap: 48px; margin-top: 34px; padding: 36px; }
.payment-copy > p { color: var(--muted); line-height: 1.7; }
dl { margin: 24px 0; border-top: 1px solid var(--line); }
dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); } dd { margin: 0; font-weight: 750; }
code { padding: 5px 8px; color: var(--accent); background: #f7e9e7; font-family: ui-monospace, monospace; letter-spacing: .08em; }
#copy-ref { margin-left: 8px; border: 0; color: var(--accent); background: transparent; }
.status { color: #b45309; }.status.paid { color: var(--success); }.status.cancelled { color: var(--muted); }
.notice { padding: 12px; border-left: 3px solid #b45309; background: #fff8e6; font-size: 12px; }
.qr-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; border: 1px solid var(--line); background: #fafafa; }
.qr-wrap img { width: 240px; height: 240px; object-fit: contain; }
.qr-wrap p { padding: 30px; color: var(--muted); text-align: center; }.qr-wrap strong { margin-top: 10px; }
.orders-section { margin-top: 16px; }.orders { border-top: 1px solid var(--line); }
.order { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.order span { color: var(--muted); }.empty { padding: 30px 0; color: var(--muted); text-align: center; }
footer { padding: 26px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 700px) { .hero { padding-top: 48px; }.auth-card, .payment-card { grid-template-columns: 1fr; gap: 28px; padding: 24px; }.plans { grid-template-columns: 1fr; }.channels { grid-template-columns: 1fr; }.section-head { align-items: flex-start; flex-direction: column; }.section-head > p { text-align: left; }.order { grid-template-columns: 1fr 1fr; }.account-chip #account-name { display: none; } }
