:root{--commerce-accent:#137467;--commerce-muted:#64756e}
.commerce-panel{padding:24px;border:1px solid #dce5df;border-radius:16px;background:#fff;margin:20px 0;min-width:0}.commerce-panel h2{margin:0 0 12px}.commerce-panel p{line-height:1.7}.commerce-panel label{display:block;margin:12px 0}.commerce-panel input:not([type=checkbox]):not([type=radio]),.commerce-panel select,.commerce-panel textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #bdcdc4;border-radius:9px;font:inherit}.commerce-panel input[type=checkbox],.commerce-panel input[type=radio]{width:auto}.commerce-panel button,.commerce-button{border:0;border-radius:9px;background:var(--commerce-accent);color:white;padding:12px 18px;margin:6px 6px 6px 0;font:inherit;cursor:pointer;display:inline-block;text-decoration:none}.commerce-panel .secondary{background:#eaf1ed;color:#245044}.commerce-panel button:disabled{opacity:.45;cursor:not-allowed}.commerce-panel pre{white-space:pre-wrap;overflow-wrap:anywhere}.commerce-panel .muted{color:var(--commerce-muted)}.commerce-panel table{width:100%;border-collapse:collapse;font-size:14px}.commerce-panel th,.commerce-panel td{text-align:left;padding:12px;border-bottom:1px solid #e0e9e3;overflow-wrap:anywhere}.commerce-scroll{overflow:auto}.commerce-panel .payment-qr,.payment-qr{display:block;width:220px;max-width:100%;height:auto;margin:16px auto;object-fit:contain}.commerce-panel [hidden],[hidden]{display:none!important}.commerce-stats{display:flex;flex-wrap:wrap;gap:12px}.commerce-stats div{background:#f0f5f1;border-radius:12px;padding:16px;flex:1;min-width:130px}.commerce-stats strong{display:block;font-size:24px;margin-top:8px}.commerce-dialog{max-width:620px;width:calc(100% - 40px);max-height:85vh;overflow:auto;border:1px solid #b4c5bc;border-radius:16px;box-sizing:border-box}.commerce-dialog::backdrop{background:#142d27aa}.commerce-dialog .commerce-panel{border:0;padding:8px;margin:0}.commerce-dialog img{max-height:300px}.buy-page{margin:0;background:#f3f5ef;color:#1b342b;font-family:'Microsoft YaHei',system-ui,sans-serif}.buy-shell{max-width:800px;margin:auto;padding:36px 20px 60px}.buy-shell h1{font-size:38px;letter-spacing:-1px}.buy-shell .eyebrow{margin-top:32px;color:var(--commerce-accent)}.brand-link{font-weight:700;text-decoration:none;color:var(--commerce-accent)}.buy-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.buy-plans label{border:1px solid #d5dfd7;border-radius:12px;padding:16px;margin:0}.buy-plans label:has(input:checked){background:#e9f4ed;border:2px solid var(--commerce-accent)}.buy-plans strong{display:block;font-size:25px;margin:14px 0}.choice-row{display:flex;gap:20px;flex-wrap:wrap}.buy-shell footer{font-size:13px;color:var(--commerce-muted);line-height:1.8}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d8b95b;outline-offset:3px}@media(max-width:540px){.buy-plans{grid-template-columns:1fr}.buy-plans label{display:flex;align-items:center;justify-content:space-between;gap:8px}.buy-plans strong{font-size:22px;margin:0}.commerce-panel{padding:16px}.buy-shell h1{font-size:30px}.commerce-stats div{min-width:100px}}
.share-editor{margin:28px 0;padding-top:16px;border-top:1px solid #dce5df}.share-editor textarea{box-sizing:border-box;width:100%;min-height:82px;padding:10px;border:1px solid #bdcdc4;border-radius:9px;font:inherit}.share-card-preview{max-width:440px;border:1px solid #dce5df;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 12px 32px #163f3212}.share-card-preview img{display:block;width:100%;aspect-ratio:40/21;object-fit:cover}.share-card-preview>div{padding:16px}.share-card-preview strong{display:block;font-size:19px;color:#173c34}.share-card-preview p{color:#4b655b;line-height:1.55}.share-card-preview span{display:inline-block;border-radius:8px;background:#137467;color:#fff;padding:8px 14px;font-weight:700}.share-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}.share-actions button{cursor:pointer}
