.h5-sms-auth {
  width: min(440px, calc(100vw - 24px));
  max-height: min(720px, calc(100dvh - 24px));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #241c18;
  background: #fff;
  box-shadow: 0 24px 72px rgba(30, 22, 18, .24);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
.h5-sms-auth::backdrop { background: rgba(20, 18, 16, .56); }
.h5-sms-auth__panel { position: relative; padding: 28px; overflow: auto; }
.h5-sms-auth__close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: #f3f1ef; color: #514943; font-size: 25px; line-height: 1; cursor: pointer;
}
.h5-sms-auth__eyebrow { margin: 0 44px 6px 0; color: #9a3412; font-size: 12px; font-weight: 700; }
.h5-sms-auth__title { margin: 0 44px 8px 0; font-size: 24px; line-height: 1.25; letter-spacing: 0; }
.h5-sms-auth__description { margin: 0 0 20px; color: #6b625c; font-size: 14px; line-height: 1.6; }
.h5-sms-auth__form { display: grid; gap: 14px; }
.h5-sms-auth__label { display: grid; gap: 7px; color: #352d28; font-size: 14px; font-weight: 600; }
.h5-sms-auth__input {
  width: 100%; min-width: 0; height: 48px; padding: 0 13px; border: 1px solid #d8d2cd; border-radius: 6px;
  background: #fff; color: #241c18; font: inherit; font-size: 16px; outline: none;
}
.h5-sms-auth__input:focus { border-color: #b45309; box-shadow: 0 0 0 3px rgba(180, 83, 9, .12); }
.h5-sms-auth__captcha-row { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 8px; }
.h5-sms-auth__captcha { height: 48px; padding: 0; overflow: hidden; border: 1px solid #d8d2cd; border-radius: 6px; background: #f8f6f4; color: #6b625c; cursor: pointer; }
.h5-sms-auth__captcha-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.h5-sms-auth__primary, .h5-sms-auth__secondary {
  min-height: 48px; padding: 11px 16px; border-radius: 6px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.h5-sms-auth__primary { border: 1px solid #9a3412; background: #9a3412; color: #fff; }
.h5-sms-auth__secondary { border: 1px solid #cfc7c1; background: #fff; color: #352d28; }
.h5-sms-auth__primary:disabled, .h5-sms-auth__secondary:disabled, .h5-sms-auth__link:disabled, .h5-sms-auth__account:disabled { opacity: .58; cursor: wait; }
.h5-sms-auth__minor-actions { display: flex; justify-content: space-between; gap: 16px; }
.h5-sms-auth__link { padding: 4px 0; border: 0; background: transparent; color: #9a3412; font: inherit; font-size: 14px; cursor: pointer; }
.h5-sms-auth__status { min-height: 22px; margin: 14px 0 0; color: #6b625c; font-size: 13px; line-height: 1.55; }
.h5-sms-auth__status[data-tone="error"] { color: #b42318; }
.h5-sms-auth__status[data-tone="success"] { color: #26734d; }
.h5-sms-auth__accounts { display: grid; gap: 10px; }
.h5-sms-auth__account { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 12px; border: 1px solid #ded8d3; border-radius: 6px; background: #fff; color: inherit; text-align: left; cursor: pointer; }
.h5-sms-auth__account:hover, .h5-sms-auth__account:focus-visible { border-color: #b45309; background: #fffaf5; }
.h5-sms-auth__account-avatar { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #eee7e1; }
.h5-sms-auth__account-avatar--text { display: grid; place-items: center; color: #7c2d12; font-weight: 700; }
.h5-sms-auth__account-copy { display: grid; min-width: 0; gap: 3px; }
.h5-sms-auth__account-copy strong, .h5-sms-auth__account-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h5-sms-auth__account-copy strong { font-size: 15px; }
.h5-sms-auth__account-copy small { color: #756b65; font-size: 12px; }
[data-h5-phone-binding] { cursor: pointer; }
@media (max-width: 600px) {
  .h5-sms-auth { width: 100%; max-width: none; max-height: calc(100dvh - 8px); margin: auto 0 0; border-radius: 8px 8px 0 0; }
  .h5-sms-auth__panel { padding: 24px 18px calc(22px + env(safe-area-inset-bottom)); }
  .h5-sms-auth__title { font-size: 21px; }
  .h5-sms-auth__captcha-row { grid-template-columns: minmax(0, 1fr) 116px; }
}
