/* ===== 商城 H5 共用样式 ===== */
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{font-size:16px}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif;background:#f2f4f7;color:#1a1a1a;line-height:1.5;max-width:480px;margin:0 auto;min-height:100vh;box-shadow:0 0 30px rgba(0,0,0,.06);position:relative;padding-bottom:16px}
a{text-decoration:none;color:inherit}
img{max-width:100%}
/* ===== 顶部栏 ===== */
.hd{position:sticky;top:0;z-index:100;background:#fff;display:flex;align-items:center;justify-content:center;padding:12px 16px;box-shadow:0 1px 4px rgba(0,0,0,.05);min-height:50px}
.hd .logo{font-size:17px;font-weight:800;display:flex;align-items:center;gap:6px}
.hd .logo i{width:8px;height:8px;border-radius:50%;background:#10b981;display:inline-block}
.hd .hd-back{position:absolute;left:12px;font-size:13px;color:#666;padding:6px 8px}
.hd .hd-link{position:absolute;right:12px;font-size:13px;color:#10b981;padding:6px 8px}
/* ===== 内容区 ===== */
.pg{padding:14px}
/* ===== 卡片 ===== */
.card{background:#fff;border-radius:14px;box-shadow:0 1px 3px rgba(0,0,0,.04);overflow:hidden}
/* ===== 大按钮 ===== */
.btn{display:block;width:100%;background:#10b981;color:#fff;border:none;border-radius:12px;padding:14px;font-size:16px;font-weight:700;text-align:center;cursor:pointer}
.btn:active{transform:scale(.98)}
.btn.gray{background:#f0f2f5;color:#333}
.btn.dark{background:#1a1a1a}
.btn.disabled{background:#d1d5db;color:#fff;pointer-events:none}
.btn-sm{display:inline-block;background:#10b981;color:#fff;border:none;border-radius:8px;padding:7px 14px;font-size:13px;font-weight:600;cursor:pointer}
/* ===== 表单 ===== */
.f-item{margin-bottom:14px}
.f-item label{display:block;font-size:13px;font-weight:600;color:#374151;margin-bottom:6px}
.f-input{width:100%;border:1px solid #e2e5ea;border-radius:10px;padding:12px 14px;font-size:15px;outline:none;background:#fff;font-family:inherit}
.f-input:focus{border-color:#10b981}
textarea.f-input{min-height:72px;resize:vertical}
/* ===== 底部导航 ===== */
/* ===== 状态标签 ===== */
.tag{display:inline-block;font-size:11px;padding:2px 10px;border-radius:10px;font-weight:600}
.tag.orange{background:#fff3e0;color:#ef6c00}
.tag.blue{background:#e8f1ff;color:#1677ff}
.tag.green{background:#e8f9ef;color:#0d9f4f}
.tag.gray{background:#f1f2f4;color:#8a8f99}
/* ===== 提示 ===== */
.tip-ok{background:#e8f9ef;border:1px solid #b7ebcf;color:#0d9f4f;border-radius:10px;padding:11px 14px;font-size:13px;margin-bottom:12px}
.tip-err{background:#fff0f0;border:1px solid #ffc9c9;color:#e23b3b;border-radius:10px;padding:11px 14px;font-size:13px;margin-bottom:12px}
.tip-warn{background:#fff8e6;border:1px solid #ffe1a8;color:#b26a00;border-radius:10px;padding:11px 14px;font-size:13px;margin-bottom:12px}
/* ===== 列表行 ===== */
.row{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;font-size:14px;border-bottom:1px solid #f4f5f7}
.row:last-child{border-bottom:none}
.row .l{color:#8a8f99}
.row .r{color:#1a1a1a;font-weight:600}
/* ===== 空状态 ===== */
.empty{text-align:center;padding:48px 20px;color:#b0b5bd}
.empty .ic{font-size:46px;margin-bottom:10px}
/* ===== 页面标题 ===== */
.ptitle{font-size:18px;font-weight:800;margin:6px 2px 14px}
/* ===== 弹层 ===== */
.mask{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:300;display:none;align-items:flex-end;justify-content:center}
.mask.show{display:flex}
.sheet{background:#fff;width:100%;max-width:480px;border-radius:18px 18px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom));max-height:85vh;overflow-y:auto}
.sheet .bar{width:40px;height:4px;border-radius:2px;background:#e2e5ea;margin:0 auto 16px}
.sheet h3{font-size:16px;font-weight:700;text-align:center;margin-bottom:14px}
