
:root{--theme:#ffd21c;--dark:#222;--bg:#f3f3f3}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Microsoft YaHei",Arial;color:#161616}
.wrap{max-width:1120px;margin:0 auto;padding:22px}
.phone{max-width:430px;margin:0 auto;min-height:100vh;background:var(--bg)}
.top{height:58px;background:var(--theme);display:flex;align-items:center;justify-content:center;font-weight:900;position:sticky;top:0;z-index:5}
.more{position:absolute;right:14px;background:#fff;border-radius:20px;padding:6px 13px}
.card{background:#fff;border-radius:16px;margin:14px;padding:18px;box-shadow:0 6px 18px rgba(0,0,0,.04)}
.input,textarea,select{width:100%;border:0;background:#f7f7f7;border-radius:13px;padding:13px;font-size:15px;margin:7px 0;outline:none}
textarea{min-height:72px;resize:vertical}
.btn{border:0;border-radius:26px;background:var(--theme);padding:13px 18px;font-weight:900;font-size:15px;color:#222;cursor:pointer}
.btn.full{width:100%}.btn.dark{background:var(--dark);color:var(--theme)}.btn.gray{background:#eee;color:#777}.btn.red{background:#ffe1e1;color:#d60000}
.muted{color:#888}.small{font-size:13px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}
.nav{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.nav a,.nav button{border:0;text-decoration:none;background:#fff;border-radius:20px;padding:10px 14px;color:#222;font-weight:800}
.admin-grid{display:grid;grid-template-columns:360px 1fr;gap:14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.logo,.upload-preview{width:72px;height:72px;border-radius:14px;object-fit:cover;background:#eee}
.search{background:#fff;border-radius:24px;margin:14px;padding:14px;color:#999}.hero{margin:14px;background:linear-gradient(135deg,var(--theme),#ffb800);border-radius:14px;padding:18px;font-weight:900}
.product{display:flex;align-items:center;gap:12px;background:#fff;border-radius:14px;margin:10px 14px;padding:14px;min-height:98px}
.pimg{width:62px;height:62px;border-radius:12px;background:#fff6c8;overflow:hidden;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.pimg img{width:100%;height:100%;object-fit:cover}
.product-info{min-width:0;flex:1}.pname{font-size:16px;font-weight:900}.pdesc{color:#555;font-size:13px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pdetail{color:#777;font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.price{color:#ff5a00;font-weight:900}.counter{margin-left:auto;display:flex;gap:10px;align-items:center;flex:0 0 auto}.round{width:28px;height:28px;border:0;border-radius:50%;background:var(--theme);font-weight:900}
.bottom{position:sticky;bottom:0;background:#fff;display:flex;align-items:center;gap:12px;padding:13px 14px}.total{flex:1;color:#ff5a00;font-size:24px;font-weight:900}
.big{font-size:50px;font-weight:900;text-align:center}.notice{background:#fff8d6;border-radius:14px;margin:22px 0;padding:16px;color:#9a7a2d;line-height:1.6;white-space:pre-line}
.goods{display:flex;gap:13px}.goods img{width:78px;height:78px;border-radius:10px;object-fit:cover}.timer span{background:#333;color:#fff;border-radius:5px;padding:3px 5px;margin:0 2px}
.table{width:100%;border-collapse:collapse;background:#fff}.table td,.table th{border-bottom:1px solid #eee;padding:10px;font-size:13px;text-align:left}
.badge{border-radius:12px;padding:4px 8px}.paid{background:#dff7df;color:green}.pending{background:#fff1bf;color:#9a6b00}.expired{background:#eee;color:#777}
.product-admin{display:grid;grid-template-columns:82px 1fr;gap:12px;border-bottom:1px solid #eee;padding:12px 0}
.product-admin img{width:82px;height:82px;border-radius:14px;object-fit:cover}
.admin-name{font-size:17px;font-weight:900}.admin-desc,.admin-detail{line-height:1.4;max-width:100%;word-break:break-word;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.admin-desc{-webkit-line-clamp:2}.admin-detail{-webkit-line-clamp:3;color:#666}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.tabs button{border:0;background:#f5f5f5;padding:10px 12px;border-radius:14px;font-weight:800}.section{display:none}.section.on{display:block}
@media(max-width:760px){.wrap{padding:12px}.admin-grid,.form-grid{display:block}.table{display:block;overflow:auto}.phone{max-width:none}.product{align-items:flex-start}.counter{gap:6px}}
