:root{
  --wx:#07c160;
  --wx-dark:#05964c;
  --ink:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#f3f6fb;
  --blue:#2b7fff;
}
*{box-sizing:border-box}
body{
  margin:0;
  min-height:100vh;
  font-family:"PingFang SC","Microsoft YaHei",-apple-system,sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, #d7f7e5 0%, transparent 50%),
    radial-gradient(900px 400px at 100% 0%, #dbeafe 0%, transparent 46%),
    var(--bg);
  color:var(--ink);
}
.pay-top{
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#fff;
  background:linear-gradient(90deg,#07c160,#12b981);
  font-weight:700;
  letter-spacing:.04em;
  box-shadow:0 8px 24px rgba(7,193,96,.25);
}
.pay-top span{opacity:.92;font-size:13px;font-weight:500}
.shell{
  width:min(440px, calc(100% - 24px));
  margin:28px auto 40px;
}
.card{
  background:#fff;
  border-radius:22px;
  box-shadow:0 18px 50px rgba(15,23,42,.08);
  overflow:hidden;
}
.state{
  padding:48px 24px;
  text-align:center;
}
.state .icon{
  width:72px;height:72px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:34px;margin-bottom:12px;
}
.state.ok .icon{background:#ecfdf5;color:var(--wx)}
.state.warn .icon{background:#fff7ed;color:#d97706}
.state h2{margin:0 0 8px}
.btn{
  display:inline-block;
  margin-top:16px;
  background:var(--wx);
  color:#fff;
  text-decoration:none;
  border-radius:999px;
  padding:10px 22px;
  font-weight:700;
}
.home{
  width:min(760px, calc(100% - 32px));
  margin:48px auto;
  background:#fff;
  border-radius:24px;
  padding:36px 32px;
  box-shadow:0 20px 50px rgba(15,23,42,.08);
}
.home h1{margin:0 0 8px;font-size:28px}
.home p{color:var(--muted);line-height:1.8}
.pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.pills span{
  background:#f0fdf4;color:#047857;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700;
}
.home .brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#f0fdf4;
  color:var(--wx-dark);
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  font-weight:700;
}

body.chk{
  background:#fff;
  color:#333;
}
.chk-wrap{
  width:min(420px, 100%);
  margin:0 auto;
  padding:18px 18px 32px;
  text-align:center;
}
.chk-head{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid #e8e8e8;
  border-radius:10px;
  padding:8px 16px;
  margin:8px auto 16px;
}
.chk-head b{font-size:16px;color:#111}
.wx-logo{
  width:28px;height:28px;border-radius:6px;
  background:#07c160;
  display:inline-flex;align-items:center;justify-content:center;
}
.chk-box{
  background:#f3f4f6;
  color:#6b7280;
  border-radius:6px;
  padding:10px 12px;
  font-size:13px;
  word-break:break-all;
}
.chk-name{
  color:#9ca3af;
  font-size:13px;
  margin:10px 0 6px;
}
.chk-money{
  color:var(--blue);
  font-size:40px;
  font-weight:800;
  letter-spacing:-1px;
  margin:4px 0 8px;
}
.chk-money small{font-size:18px;margin-left:2px;font-weight:700}
.chk-qr{
  width:236px;
  height:236px;
  margin:8px auto 14px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.chk-qr img{
  width:220px;
  height:220px;
  object-fit:contain;
  background:#fff;
  -webkit-touch-callout:default;
  pointer-events:auto;
}
.chk-actions{
  display:flex;
  gap:10px;
  justify-content:center;
  padding:0 8px;
}
.chk-btn{
  flex:1;
  max-width:220px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  border:0;
  border-radius:10px;
  background:var(--blue);
  color:#fff;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}
.chk-btn.ghost{
  background:#fff;
  color:var(--blue);
  border:1px solid var(--blue);
}
.chk-tips{
  margin-top:16px;
  color:#e11d48;
  font-size:13px;
  line-height:1.8;
  text-align:center;
}
.chk-tips p{margin:0}
.chk-tips .expire{color:#f5a623;font-size:15px;font-weight:700}
.chk-tips #lefttext{color:#f5a623;font-size:22px;font-weight:800;letter-spacing:.5px}
.chk-tips .warn{
  display:flex;
  justify-content:center;
  gap:4px;
  align-items:flex-start;
}
.chk-tips .warn span{color:#f59e0b}
.chk-scan{
  margin-top:14px;
  color:#9ca3af;
  font-size:13px;
}
.chk-red{color:#e11d48;padding:24px 0}
.chk-state{
  padding:80px 20px;
}
.chk-state .icon{
  width:72px;height:72px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:34px;margin-bottom:12px;
}
.chk-state.ok .icon{background:#ecfdf5;color:var(--wx)}
.chk-state.warn .icon{background:#fff7ed;color:#d97706}
.chk-state h2{margin:0 0 8px}
.chk-state .chk-btn{margin:18px auto 0;max-width:180px}
