:root {
  --brand: #2b9bf4;          /* 天空蓝主色 */
  --brand-d: #1783e0;
  --brand-soft: #eef6fe;
  --blue: #007aff;
  --ground: #f4f6fa;
  --card: #ffffff;
  --text: #23272e;
  --dim: #8a93a0;
  --line: #edeff3;
  --ok: #16a34a;
  --warn: #e88a00;
  --danger: #e5484d;
  --wx: #1aad19;
  --ali: #1677ff;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ground); color: var(--text);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
.app { max-width: 440px; margin: 0 auto; min-height: 100vh; }
.tnum { font-variant-numeric: tabular-nums; }

/* ── 头部 banner ── */
.hd {
  padding: 26px 20px 40px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #8fd4ff 0%, #4fb0f6 50%, var(--brand) 100%);
}
.hd::after { content: ""; position: absolute; right: -40px; top: -50px;
  width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.10); }
.brand { font-size: 22px; font-weight: 800; letter-spacing: .3px; }
.slogan { margin-top: 5px; font-size: 13px; opacity: .9; }
.trust { display: flex; gap: 14px; margin-top: 14px; font-size: 12px; opacity: .95; }
.trust span { display: inline-flex; align-items: center; gap: 4px; }
.trust b { font-weight: 700; }

/* ── 内容面板 ── */
.panel { background: var(--card); margin: -24px 12px 0; border-radius: 16px;
  padding: 18px 16px 8px; box-shadow: 0 6px 22px -10px rgba(30,40,60,.16); position: relative; }
.blk { margin-bottom: 18px; }
.blk-t { font-size: 13px; font-weight: 700; color: var(--text); margin: 0 0 10px;
  display: flex; align-items: center; gap: 7px; }
.blk-t::before { content: ""; width: 3px; height: 13px; border-radius: 2px; background: var(--brand); }

.lab { display: block; font-size: 12px; color: var(--dim); margin-bottom: 7px; }
.acct { display: flex; align-items: center; height: 50px; border: 1px solid var(--line);
  border-radius: 12px; background: #fbfcfd; overflow: hidden; }
.acct .cc { padding: 0 12px; font-weight: 700; color: var(--text); border-right: 1px solid var(--line);
  height: 100%; display: flex; align-items: center; background: #f4f6fa; }
.acct input { flex: 1; border: none; background: none; height: 100%; padding: 0 12px;
  font-size: 18px; color: var(--text); }
.acct input:focus { outline: none; }
.acct:focus-within { border-color: var(--brand); background: #fff; }

.captcha-line { display: flex; gap: 10px; align-items: center; }
.captcha-line input { flex: 1; height: 46px; padding: 0 12px; font-size: 16px;
  border: 1px solid var(--line); border-radius: 11px; background: #fbfcfd; color: var(--text); }
.captcha-line input:focus { outline: none; border-color: var(--brand); background: #fff; }
.captcha-img { width: 118px; height: 46px; border: 1px solid var(--line);
  border-radius: 11px; background: #eef1f4; cursor: pointer; object-fit: cover; }

.btn { width: 100%; height: 50px; border: none; border-radius: 13px; font-size: 17px;
  font-weight: 700; cursor: pointer; font-family: inherit; }
.btn.primary { background: linear-gradient(135deg, #46abf3, var(--brand-d)); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(43,155,244,.55); }
.btn.primary:disabled { background: #bcdcf7; box-shadow: none; cursor: not-allowed; }
.btn.primary:active:not(:disabled) { filter: brightness(.94); }
.btn.ghost { background: none; color: var(--dim); font-weight: 500; height: 42px; font-size: 14px; }
.msg { min-height: 18px; margin: 10px 2px 2px; font-size: 13px; color: var(--danger); }
.msg.ok { color: var(--ok); }

/* ── 报价汇总 ── */
.qsum { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px;
  background: var(--brand-soft); border-radius: 12px; margin-bottom: 16px; }
.qsum .p { font-size: 16px; font-weight: 800; }
.qsum .t { font-size: 12px; color: var(--dim); text-align: right; line-height: 1.4; white-space: pre-line; }

/* ── 套餐网格 ── */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.opt { border: 1.5px solid var(--line); border-radius: 13px; padding: 14px 12px; cursor: pointer;
  text-align: center; position: relative; transition: border-color .12s, background .12s; background: #fff; }
.opt:hover { border-color: #bfe0fb; }
.opt.sel { border-color: var(--brand); background: var(--brand-soft); }
.opt.sel::after { content: "✓"; position: absolute; top: 0; right: 0; width: 20px; height: 20px;
  background: var(--brand); color: #fff; font-size: 12px; line-height: 20px; border-radius: 0 11px 0 11px; }
.opt .m { font-size: 15px; font-weight: 700; }
.opt .p { font-size: 21px; font-weight: 800; color: var(--brand); margin-top: 6px; }
.opt .p small { font-size: 12px; font-weight: 600; }
.opt .u { font-size: 11px; color: var(--dim); margin-top: 3px; }

/* ── 支付方式 ── */
.pays { display: flex; gap: 10px; }
.pay { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px;
  border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 600; }
.pay input { accent-color: var(--brand); }
.pay:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.dot { width: 18px; height: 18px; border-radius: 5px; }
.dot.wx { background: var(--wx); } .dot.ali { background: var(--ali); }

/* ── 客户须知 ── */
.notice { margin: 14px 12px 0; background: var(--card); border-radius: 16px; padding: 16px;
  box-shadow: 0 6px 22px -12px rgba(30,40,60,.14); }
.notice ol { margin: 4px 0 0; padding-left: 18px; }
.notice li { font-size: 12.5px; color: #55606c; margin-bottom: 7px; line-height: 1.6; }
.notice li b { color: var(--text); }

/* ── 订单查询 / 页脚 ── */
.query-row { margin: 12px 12px 0; background: var(--card); border-radius: 14px; padding: 15px 16px;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  box-shadow: 0 6px 22px -14px rgba(30,40,60,.14); }
.query-row .ql { font-size: 14px; font-weight: 600; }
.query-row .qr { font-size: 13px; color: var(--dim); }
.ft { text-align: center; padding: 22px 18px 30px; font-size: 12px; color: var(--dim); }
.ft a { color: var(--dim); text-decoration: none; }
.ft .beian { margin-top: 4px; opacity: .8; }

/* ── 结果页 ── */
.result { text-align: center; padding: 10px 4px 4px; }
.r-icon { font-size: 46px; line-height: 1; margin: 6px 0 10px; }
.r-title { font-size: 19px; font-weight: 800; }
.r-desc { font-size: 13px; color: var(--dim); margin-top: 6px; min-height: 18px; }
.r-meta { margin: 16px 0 18px; padding: 12px 14px; background: #f7f9fc; border-radius: 12px;
  font-size: 13px; color: #55606c; display: grid; gap: 6px; }
.r-meta b { color: var(--text); }
.r-title.ok { color: var(--ok); } .r-title.warn { color: var(--warn); } .r-title.bad { color: var(--danger); }

[hidden] { display: none !important; }
.loading { opacity: .6; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .opt { transition: none; } }
