/* =============================================================================
   v141.css · b57 微信一键登录身份卡（右下角浮动）
   浅色主题，与平台深青主色一致；移动端不遮挡主内容。
   ========================================================================== */
.wx57-host {
  position: fixed; right: 18px; bottom: 18px; z-index: 9998;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #17324a; font-size: 13px;
}
.wx57-fab {
  display: flex; align-items: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 9px 16px;
  background: #125c6e; color: #fff; cursor: pointer;
  box-shadow: 0 6px 20px rgba(18, 92, 110, .28);
  font-size: 13px; font-weight: 600; letter-spacing: .2px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wx57-fab:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(18, 92, 110, .36); }
.wx57-dot { width: 8px; height: 8px; border-radius: 50%; background: #7fd8c8; flex: 0 0 auto; }
.wx57-bound .wx57-dot { background: #42c98a; }
.wx57-card {
  position: absolute; right: 0; bottom: 52px; width: 288px;
  background: #fff; border: 1px solid #dce8ec; border-radius: 14px;
  box-shadow: 0 16px 44px rgba(13, 43, 69, .18);
  padding: 16px 16px 12px; display: none;
}
.wx57-open .wx57-card { display: block; animation: wx57-in .18s ease-out; }
@keyframes wx57-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wx57-card-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.wx57-card-hd strong { font-size: 15px; color: #0d2b45; }
.wx57-role { font-size: 11px; color: #125c6e; background: #e8f4f5; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.wx57-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #edf3f5; }
.wx57-row span { color: #6a8296; }
.wx57-row code { color: #17324a; font-size: 12px; background: #f4f8f9; border-radius: 5px; padding: 2px 7px; }
.wx57-desc { margin: 0 0 12px; color: #5b7387; line-height: 1.7; font-size: 12px; }
.wx57-warn { margin: 10px 0 4px; padding: 9px 10px; border-radius: 8px; background: #fff6e6; color: #8a6417; font-size: 12px; line-height: 1.6; }
.wx57-loading { padding: 14px 4px; color: #6a8296; text-align: center; }
.wx57-btn {
  display: block; width: 100%; margin-top: 8px; padding: 9px 12px;
  border: 1px solid #dce8ec; border-radius: 9px; background: #f7fafb;
  color: #17324a; font-size: 13px; cursor: pointer; text-align: center;
}
.wx57-btn:hover { background: #eef5f6; }
.wx57-primary { background: #125c6e; border-color: #125c6e; color: #fff; font-weight: 600; }
.wx57-primary:hover { background: #0e4d5c; }
.wx57-foot { margin-top: 12px; text-align: center; font-size: 11px; color: #9aafbc; }
.wx57-toast {
  position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 10000;
  max-width: 88vw; padding: 11px 18px; border-radius: 10px; color: #fff;
  background: #125c6e; box-shadow: 0 8px 26px rgba(13, 43, 69, .24);
  font-size: 13px; line-height: 1.5; transition: opacity .3s ease, transform .3s ease;
}
.wx57-ok { background: #1f8a5f; }
.wx57-err { background: #b5453c; }
.wx57-out { opacity: 0; transform: translateX(-50%) translateY(-8px); }
@media (max-width: 640px) {
  .wx57-host { right: 12px; bottom: 12px; }
  .wx57-card { width: min(288px, calc(100vw - 24px)); bottom: 50px; }
  .wx57-fab { padding: 8px 13px; }
}
