/* 点连收银台 — 骨架样式（与 dianlianvpn.com 同一设计口径）
   Apple 风浅色：#F5F5F7 底、白卡、大圆角、系统蓝 #0071e3。
   颜色/字阶与官网 live/index.html 的 tokens 保持一致。 */
:root{
  --blue:#0071e3;
  --blue-dark:#0060c9;
  --ink:#1d1d1f;
  --sub:#6e6e73;
  --bg:#f5f5f7;
  --card:#ffffff;
  --line:rgba(0,0,0,.08);
  --ok:#0a7d33;
  --warn:#b25e09;
  --radius:20px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:var(--bg);
  color:var(--ink);
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.wrap{width:100%;max-width:480px;padding:20px 16px 40px}

/* 品牌头 */
.brand{display:flex;align-items:center;gap:10px;padding:6px 2px 18px}
.brand .mark{
  width:34px;height:34px;border-radius:9px;background:var(--blue);
  display:flex;align-items:center;justify-content:center;flex:none;
}
.brand .mark svg{display:block}
.brand .name{font-size:19px;font-weight:700;letter-spacing:.2px}
.brand .name small{display:block;font-size:12px;font-weight:400;color:var(--sub);letter-spacing:0}

/* 骨架演示条 */
.demo-note{
  font-size:12px;color:var(--warn);
  background:rgba(255,159,10,.12);
  border:1px solid rgba(255,159,10,.35);
  border-radius:12px;padding:8px 12px;margin-bottom:14px;text-align:center;
}

/* 卡片 */
.card{
  background:var(--card);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:0 1px 3px rgba(0,0,0,.05),0 10px 30px rgba(0,0,0,.04);
  margin-bottom:14px;
}
.card h2{font-size:15px;font-weight:600;margin-bottom:12px}
.muted{color:var(--sub);font-size:13px}

/* 订单摘要行 */
.sum-row{display:flex;justify-content:space-between;align-items:baseline;padding:7px 0;font-size:15px}
.sum-row .k{color:var(--sub)}
.sum-row .v{font-weight:600;text-align:right}
.sum-row.gift .v{color:var(--ok);font-weight:600}
.sum-row.total{border-top:1px solid var(--line);margin-top:8px;padding-top:14px}
.sum-row.total .v{font-size:22px;font-weight:700}
.ref{font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:13px;font-weight:500}

/* 付款方式列表 */
.methods{display:flex;flex-direction:column}
.method{
  display:flex;align-items:center;gap:12px;
  padding:15px 4px;
  border-bottom:1px solid var(--line);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.method:last-child{border-bottom:none}
.method .logo{
  width:42px;height:28px;border-radius:6px;flex:none;
  display:flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:700;color:#fff;letter-spacing:.3px;
}
.logo.unionpay{background:linear-gradient(135deg,#007d8a 0%,#007d8a 38%,#d21034 38%,#d21034 62%,#003087 62%)}
.logo.visa{background:#1a1f71;font-style:italic}
.logo.mc{background:#3b3b3d;position:relative}
.logo.mc::before,.logo.mc::after{content:"";position:absolute;width:16px;height:16px;border-radius:50%;top:6px}
.logo.mc::before{background:rgba(235,0,27,.85);left:8px}
.logo.mc::after{background:rgba(247,158,27,.85);right:8px}
.logo.wechat{background:#07c160}
.logo.alipay{background:#1677ff}
.method .mname{font-size:16px;font-weight:500;flex:1}
.method .mname small{display:block;font-size:12px;color:var(--sub);font-weight:400;margin-top:1px}
.method .radio{
  width:22px;height:22px;border-radius:50%;flex:none;
  border:2px solid rgba(0,0,0,.18);
  display:flex;align-items:center;justify-content:center;
}
.method.selected .radio{border-color:var(--blue)}
.method.selected .radio::after{content:"";width:12px;height:12px;border-radius:50%;background:var(--blue)}
.method.disabled{cursor:not-allowed;opacity:.55}
.badge{
  font-size:11px;color:var(--sub);
  border:1px solid var(--line);border-radius:999px;padding:2px 8px;flex:none;
}

/* 主按钮 */
.btn{
  display:block;width:100%;border:none;cursor:pointer;
  background:var(--blue);color:#fff;
  font-size:17px;font-weight:600;
  padding:16px;border-radius:14px;
  transition:background .15s,opacity .15s;
  text-align:center;text-decoration:none;
}
.btn:hover:not(:disabled){background:var(--blue-dark)}
.btn:disabled{background:rgba(0,0,0,.12);color:rgba(0,0,0,.35);cursor:not-allowed}
.btn.processing{background:var(--blue-dark);opacity:.75;cursor:wait}

.backlink{
  display:inline-flex;align-items:center;gap:4px;
  color:var(--blue);font-size:15px;text-decoration:none;margin-bottom:14px;
}

/* 卡录入表单 */
.field{margin-bottom:16px}
.field label{display:block;font-size:13px;color:var(--sub);margin-bottom:7px}
.field input{
  width:100%;font-size:17px;padding:13px 14px;
  border:1px solid rgba(0,0,0,.14);border-radius:12px;
  background:#fff;color:var(--ink);outline:none;
  font-family:inherit;
}
.field input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,113,227,.15)}
.field .hint{font-size:12px;color:var(--sub);margin-top:6px}
.field-row{display:flex;gap:12px}
.field-row .field{flex:1}
.mono{font-family:ui-monospace,"SF Mono",Menlo,monospace;letter-spacing:.5px}

/* 状态面板 */
.state-panel{
  display:none;text-align:center;padding:22px 16px;
}
.state-panel.show{display:block}
.state-panel .big{font-size:17px;font-weight:600;margin-bottom:8px}
.state-panel p{font-size:14px;color:var(--sub);line-height:1.6}

.foot{
  margin-top:auto;padding:18px 16px 26px;text-align:center;
  font-size:12px;color:var(--sub);line-height:1.7;max-width:480px;
}
.foot .langs{margin-top:6px}
.foot .langs span{margin:0 6px}
.foot .langs .on{color:var(--ink);font-weight:600}

/* 选套餐（第一步）：分组＋周期行，行结构复用 .method */
.plan-group{margin-bottom:4px}
.plan-group h3{font-size:14px;font-weight:600;color:var(--sub);padding:10px 0 2px}
.plan-price{font-size:16px;font-weight:700;flex:none}

/* 国际银行卡行的双标组合 */
.method .logos{display:flex;gap:6px;flex:none}
.method .logos .logo{width:36px;height:24px;font-size:9px}
.method .logos .logo.mc::before,.method .logos .logo.mc::after{width:13px;height:13px;top:5px}
.method .logos .logo.mc::before{left:6px}
.method .logos .logo.mc::after{right:6px}

/* 卡组织识别标（录卡页，62 开头识别银联等） */
.brandtag{display:none;margin-top:6px;font-size:12px;font-weight:600;color:var(--blue)}
.brandtag.show{display:block}

/* 确认面（第三步·微信/支付宝） */
.big-amt{font-size:34px;font-weight:700;text-align:center;margin:8px 0 2px}
.fxnote{font-size:12px;color:var(--sub);text-align:center}
.confirm-hint{font-size:14px;color:var(--sub);line-height:1.6;text-align:center;margin:12px 0 18px}
