/* H5商城公共样式 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5f6f7; color: #222; min-height: 100vh;
}
.header {
  background: linear-gradient(135deg, #1677ff, #4096ff);
  color: #fff; padding: 18px 16px; font-size: 18px; font-weight: 600;
}
.container { max-width: 520px; margin: 0 auto; padding: 14px; }
.card {
  background: #fff; border-radius: 12px; padding: 16px;
  margin-bottom: 12px; box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card .desc { color: #888; font-size: 13px; }
.card .row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.price { color: #ff4d4f; font-size: 20px; font-weight: 700; }
.price::before { content: "¥"; font-size: 14px; }
.btn {
  display: inline-block; background: #1677ff; color: #fff; border: 0;
  border-radius: 20px; padding: 8px 22px; font-size: 14px; cursor: pointer; text-align: center;
}
.btn:active { opacity: .85; }
.btn.block { display: block; width: 100%; padding: 12px; font-size: 16px; border-radius: 24px; }
.btn.plain { background: #fff; color: #1677ff; border: 1px solid #1677ff; }
.btn.green { background: #00b578; }
.btn:disabled { background: #ccc; cursor: not-allowed; }
.tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 4px; background: #e6f4ff; color: #1677ff; }
.tag.orange { background: #fff7e6; color: #fa8c16; }
.tag.gray { background: #f5f5f5; color: #999; }
.amount-big { font-size: 34px; font-weight: 700; color: #ff4d4f; text-align: center; margin: 18px 0; }
.amount-big::before { content: "¥"; font-size: 20px; }
.channel { display: flex; align-items: center; padding: 14px 4px; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
.channel:last-child { border-bottom: 0; }
.channel .ico { width: 38px; height: 38px; border-radius: 8px; background: #1677ff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-right: 12px; }
.channel .ico.blue { background: #1677ff; } .channel .ico.green { background: #00b578; }
.channel .info { flex: 1; }
.channel .info b { font-size: 15px; display: block; }
.channel .info span { font-size: 12px; color: #999; }
.channel .arrow { color: #ccc; }
.toast { position: fixed; left: 50%; top: 45%; transform: translate(-50%,-50%); background: rgba(0,0,0,.75); color: #fff; padding: 10px 20px; border-radius: 8px; font-size: 14px; z-index: 99; display: none; }
.paid-banner { background: #e8ffef; color: #00b578; border-radius: 12px; padding: 40px 16px; text-align: center; }
.paid-banner .big { font-size: 46px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tbl th, table.tbl td { padding: 8px 6px; border-bottom: 1px solid #f0f0f0; text-align: left; word-break: break-all; }
table.tbl th { color: #888; font-weight: 500; }
.tabs { display: flex; background: #fff; border-bottom: 1px solid #f0f0f0; position: sticky; top: 0; z-index: 10; }
.tabs div { flex: 1; text-align: center; padding: 12px 0; font-size: 14px; cursor: pointer; color: #666; border-bottom: 2px solid transparent; }
.tabs div.on { color: #1677ff; border-color: #1677ff; font-weight: 600; }
input.fld, select.fld, textarea.fld {
  width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin: 6px 0 12px; outline: none;
}
input.fld:focus, textarea.fld:focus { border-color: #1677ff; }
label.lb { font-size: 13px; color: #666; }
.qr-wrap { text-align: center; padding: 10px 0; }
.qr-wrap img { width: 220px; height: 220px; }
.muted { color: #999; font-size: 12px; }
