* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; background: #f5f6f8; color: #1f2937; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 18px; }
.card { width: 100%; max-width: 420px; background: #fff; border-radius: 16px; padding: 26px 22px 22px; box-shadow: 0 10px 40px rgba(15, 23, 42, .08); }
h1 { font-size: 22px; margin: 0 0 4px; }
.sub { color: #64748b; font-size: 13px; margin: 0 0 16px; }
.msg { min-height: 18px; font-size: 13px; margin: 4px 0 10px; color: #dc2626; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab { flex: 1; border: 0; background: #f1f5f9; color: #475569; padding: 10px 8px; border-radius: 9px; font-size: 14px; }
.tab.active { background: #0f172a; color: #fff; }
.pane { display: flex; flex-direction: column; gap: 10px; }
.hide { display: none; }
.input { width: 100%; border: 1px solid #dbe3ee; border-radius: 9px; padding: 12px 13px; font-size: 15px; outline: none; background: #fff; }
.input:focus { border-color: #0f172a; }
.row { display: flex; gap: 8px; align-items: center; }
.row .input { flex: 1; }
.primary { width: 100%; border: 0; border-radius: 9px; padding: 12px; background: #0f172a; color: #fff; font-size: 15px; }
.primary:disabled, .ghost:disabled { opacity: .55; }
.ghost { border: 1px solid #dbe3ee; background: #fff; color: #334155; border-radius: 9px; padding: 11px 12px; white-space: nowrap; font-size: 13px; }
.hint { color: #94a3b8; font-size: 12px; text-align: center; margin: 2px 0 0; }
.links { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; }
.links a, .linkbtn { color: #2563eb; text-decoration: none; background: none; border: 0; padding: 0; font-size: 13px; }
.linkbtn { align-self: flex-start; }


/* A2: 最早 SPA 布局，微信图标白色，tabs 隐藏 */
html, body { background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 40%); }
.wrap { padding: 24px; }
.card { background: transparent; box-shadow: none; border-radius: 0; padding: 0; max-width: 340px; }
.tabs { display: none !important; }
.wechat-hero { text-align: center; }
.icon-area {
  width: 88px; height: 88px; border-radius: 44px;
  background: #07c160;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(7,193,96,0.3);
}
.wechat-icon { width: 48px; height: 48px; display: block; filter: brightness(0) invert(1); }
.wechat-hero h1 { font-size: 23px; font-weight: 700; color: #0f172a; margin: 0 0 6px; }
.wechat-hero .sub { font-size: 14px; color: #94a3b8; margin: 0 0 40px; }
.wechat-login-btn {
  width: 100%; border: 0; border-radius: 10px; height: 50px;
  background: #07c160; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  box-shadow: 0 2px 12px rgba(7,193,96,0.25);
}
.wechat-login-btn:active { opacity: .85; }
.btn-icon { width: 22px; height: 22px; display: block; filter: brightness(0) invert(1); }
.wechat-links { justify-content: center; align-items: center; gap: 12px; margin-top: 42px; }
.wechat-links a { color: #64748b; font-size: 14px; }
.link-split { color: #d1d5db; font-size: 12px; }
