html.a0-wechat-auth-pending body {
  visibility: hidden !important;
}

html.a0-wechat-auth-pending::before {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  visibility: visible;
  color: #17305f;
  background: #f5f8ff;
  content: "正在验证微信身份……";
  font: 600 15px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}

#a0-wechat-auth-error-v1 {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  box-sizing: border-box;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  color: #26364d;
  background: #f5f8ff;
  text-align: center;
}

#a0-wechat-auth-error-v1 strong { color: #17305f; font-size: 20px; }
#a0-wechat-auth-error-v1 p { max-width: 320px; margin: 0; font-size: 14px; line-height: 1.7; }
#a0-wechat-auth-error-v1 button,
.a0-wechat-ticket-action {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #cbd8d0;
  border-radius: 8px;
  color: #24332a;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.public-ticket-claim-method.a0-options { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a0-ticket-sms-field { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; margin-top: 10px; }
.a0-ticket-sms-field[hidden] { display: none !important; }
.a0-ticket-sms-field input { box-sizing: border-box; min-width: 0; height: 40px; padding: 4px 11px; border: 1px solid #d9d9d9; border-radius: 6px; color: rgba(0,0,0,.88); background: #fff; font: 14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif; }
.a0-ticket-sms-field input:focus { border-color: #4096ff; outline: 0; box-shadow: 0 0 0 2px rgba(5,145,255,.1); }
.a0-ticket-sms-field button { min-width: 72px; min-height: 40px; padding: 0 12px; border: 1px solid #d9d9d9; border-radius: 6px; color: rgba(0,0,0,.88); background: #fff; cursor: pointer; }
.a0-ticket-sms-field .a0-ticket-sms-verify { color: #fff; border-color: #1677ff; background: #1677ff; }
.a0-ticket-sms-field button:disabled { cursor: not-allowed; opacity: .55; }
.a0-ticket-sms-status { grid-column: 1 / -1; color: #667085; font-size: 12px; line-height: 1.5; }
.a0-ticket-sms-status.error { color: #cf1322; }
.a0-ticket-sms-status.verified { color: #07883f; }
.public-ticket-wechat-login { display: grid; gap: 14px; padding: 16px; border: 1px solid #dbe8df; border-radius: 14px; background: #f7fbf8; }
.public-ticket-wechat-login[hidden] { display: none !important; }
.public-ticket-wechat-login > p { margin: 0; color: #53645a; font-size: 13px; line-height: 1.65; }
.public-ticket-wechat-profile { display: flex; align-items: center; gap: 12px; }
.public-ticket-wechat-profile > img,
.public-ticket-wechat-profile > span { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; object-fit: cover; }
.public-ticket-wechat-profile > span { display: grid; place-items: center; color: #fff; background: #07c160; font-size: 20px; font-weight: 800; }
.public-ticket-wechat-profile > div { display: grid; gap: 3px; min-width: 0; }
.public-ticket-wechat-profile b { overflow: hidden; color: #24332a; text-overflow: ellipsis; white-space: nowrap; }
.public-ticket-wechat-profile small { color: #718078; }
.a0-wechat-ticket-action.primary { color: #fff; border-color: #07c160; background: #07c160; }
.a0-wechat-ticket-action:disabled { cursor: not-allowed; opacity: .5; }
.a0-wechat-roster-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }

@media (max-width: 360px) {
  .a0-ticket-sms-field { grid-template-columns: minmax(0, 1fr) auto; }
  .a0-ticket-sms-field .a0-ticket-sms-verify { grid-column: 1 / -1; }
}
