.ural-auth-layer[hidden],
.ural-auth-layer [hidden] {
  display: none !important;
}
.ural-auth-layer {
  position: fixed;
  inset: 0;
  z-index: 600;
}
.ural-auth-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(9, 20, 42, .48);
}
.ural-auth-sheet {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  max-width: 414px;
  max-height: min(88vh, 720px);
  overflow: auto;
  transform: translateX(-50%);
  z-index: 1;
  padding: 10px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  border-radius: 16px 16px 0 0;
  background: #fff !important;
  opacity: 1 !important;
  box-shadow: 0 -12px 38px rgba(9, 20, 42, .18);
}
.ural-auth-handle {
  width: 36px;
  height: 4px;
  margin: 0 auto 15px;
  border-radius: 999px;
  background: #d8dee9;
}
.ural-auth-head {
  position: relative;
  padding-right: 44px;
}
.ural-auth-context {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: #0c32c4;
  font-size: 12px;
  font-weight: 750;
}
.ural-auth-context::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.ural-auth-title {
  margin: 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.3;
}
.ural-auth-description {
  margin: 7px 0 18px;
  color: #5f6b7d;
  font-size: 13px;
  line-height: 1.55;
}
.ural-auth-close {
  position: absolute;
  top: -7px;
  right: -8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f2f5fa;
  color: #5f6b7d;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.ural-auth-close svg { width: 19px; height: 19px; }
.ural-auth-method {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border: 1px solid #dce3f4;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  text-align: left;
  cursor: pointer;
}
.ural-auth-method + .ural-auth-method {
  margin-top: 10px;
}
.ural-auth-method.is-wechat {
  border-color: #047a3f;
  background: #047a3f;
  color: #fff;
}
.ural-auth-method-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eaf1fc;
  color: #0c32c4;
}
.ural-auth-method.is-wechat .ural-auth-method-icon {
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}
.ural-auth-method-icon svg { width: 22px; height: 22px; }
.ural-auth-method-copy {
  flex: 1;
  min-width: 0;
}
.ural-auth-method-copy b {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}
.ural-auth-method-copy small {
  display: block;
  margin-top: 2px;
  color: #5f6b7d;
  font-size: 11px;
  line-height: 1.4;
}
.ural-auth-method.is-wechat .ural-auth-method-copy small {
  color: rgba(255, 255, 255, .82);
}
.ural-auth-method-arrow {
  color: #8b96aa;
  font-size: 22px;
}
.ural-auth-method.is-wechat .ural-auth-method-arrow { color: rgba(255, 255, 255, .76); }
.ural-auth-method.is-quiet {
  min-height: 44px;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #0c32c4;
  font-size: 12px;
  font-weight: 700;
}
.ural-auth-divider {
  margin: 10px 0;
  color: #8b96aa;
  font-size: 11px;
  text-align: center;
}
.ural-auth-form { padding-top: 2px; }
.ural-auth-back {
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0c32c4;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.ural-auth-field { margin-top: 10px; }
.ural-auth-field label {
  display: block;
  margin-bottom: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}
.ural-auth-input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #dce3f4;
  border-radius: 8px;
  background: #f7f9fe;
  color: #111827;
  font: inherit;
  font-size: 14px;
}
.ural-auth-input:focus {
  outline: 2px solid #d8e1ff;
  border-color: #0c32c4;
}
.ural-auth-phone-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 108px;
  gap: 8px;
}
.ural-auth-prefix {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f7f9fe;
  border: 1px solid #dce3f4;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}
.ural-auth-code-btn {
  border: 1px solid #bcd0f2;
  border-radius: 8px;
  background: #eaf1fc;
  color: #0c32c4;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.ural-auth-code-btn:disabled { opacity: .58; cursor: default; }
.ural-auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0;
  color: #5f6b7d;
  font-size: 11px;
  line-height: 1.55;
}
.ural-auth-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 1px;
  accent-color: #0c32c4;
}
.ural-auth-consent a {
  color: #0c32c4;
  font-weight: 700;
  text-decoration: none;
}
.ural-auth-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: #0c32c4;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
}
.ural-auth-submit:disabled { opacity: .58; cursor: default; }
.ural-auth-status {
  min-height: 18px;
  margin: 9px 0 0;
  color: #5f6b7d;
  font-size: 12px;
  line-height: 1.5;
}
.ural-auth-status.is-error { color: #c62828; }
.ural-auth-status.is-ok { color: #17734c; }
.ural-auth-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: #667085;
  font-size: 11px;
}
.ural-auth-privacy svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
body.ural-auth-open { overflow: hidden; }
