body.auth-modal-open {
  overflow: hidden;
}
dialog.a6a-auth-dialog {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 28px;
  border: 1px solid #e7e0ef;
  border-radius: 24px;
  color: #302a3d;
  background: #fff;
  box-shadow: 0 28px 100px #2921372b;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c7bbda transparent;
  font-family: Jakarta, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
dialog.a6a-auth-dialog::backdrop {
  background: #30243d66;
  backdrop-filter: blur(4px);
}
.a6a-auth-dialog .auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}
.auth-header > img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.a6a-auth-dialog .auth-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 8px;
  border-radius: 50%;
  background: #f5f1fa;
  color: #8b7e99;
  flex: none;
}
.auth-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.auth-heading h2 {
  margin: 0 0 9px;
  font-size: 23px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -0.035em;
}
.auth-heading p {
  color: #817489;
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 24px;
}
.auth-tabs {
  display: flex;
  gap: 4px;
  background: #f6f3fa;
  border: 1px solid #f1edf6;
  border-radius: 12px;
  padding: 4px;
  margin: 24px 0;
}
.auth-tabs button {
  flex: 1;
  min-width: 0;
  padding: 9px 8px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
  color: #8c8099;
}
.auth-tabs button[aria-selected='true'] {
  color: #7150ce;
  background: #fff;
  box-shadow: 0 2px 7px #3f24500a;
}
.a6a-auth-dialog form {
  margin: 0;
}
.a6a-auth-dialog label {
  display: block;
  color: #62576f;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 8px;
}
.a6a-auth-dialog input {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #dfd6eb;
  border-radius: 11px;
  outline-offset: 2px;
  background: #fdfcfe;
  color: #302a3d;
  font-size: 16px;
  line-height: 1.5;
}
.a6a-auth-dialog input::placeholder {
  color: #aa9eb7;
}
.a6a-auth-dialog input:focus {
  border-color: #9d82da;
}
.a6a-auth-dialog .auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 15px 0 0;
  font-size: 11px;
  line-height: 1.85;
  font-weight: 400;
  color: #817489;
}
.a6a-auth-dialog .auth-consent input {
  width: 16px;
  height: 16px;
  min-height: 0;
  flex: 0 0 16px;
  margin: 3px 0 0;
  padding: 0;
  border-radius: 4px;
  accent-color: #7150ce;
}
.auth-consent a {
  color: #7150ce;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-turnstile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 65px;
  margin-top: 18px;
  color: #9689a1;
  font-size: 11px;
}
.auth-turnstile > div {
  max-width: 100%;
}
.auth-turnstile p {
  margin: 0 0 6px;
  font-size: 12px;
}
.auth-turnstile button {
  padding: 0;
  color: #7150ce;
  text-decoration: underline;
  font-size: 12px;
}
.a6a-auth-dialog .auth-error {
  min-height: 19px;
  font-size: 12px;
  line-height: 1.7;
  color: #a04058;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.a6a-auth-dialog .auth-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: #7150ce;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  transition: background-color 150ms ease;
}
.a6a-auth-dialog .auth-primary:hover:not(:disabled) {
  background: #6240bd;
}
.a6a-auth-dialog button:disabled {
  cursor: default;
  opacity: 0.52;
}
.auth-recipient {
  color: #817489;
  font-size: 13px;
  line-height: 1.8;
  margin: 14px 0 24px;
}
.auth-recipient strong {
  display: block;
  margin-top: 4px;
  color: #4f435f;
  font-size: 14px;
  overflow-wrap: anywhere;
  font-weight: 650;
}
.auth-recipient button {
  color: #7150ce;
  padding: 6px 0 0;
  font-size: 12px;
}
.a6a-auth-dialog .auth-code-input {
  text-align: center;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: 0.3em;
  padding-left: calc(14px + 0.3em);
}
.a6a-auth-dialog .auth-code-input::placeholder {
  color: #d3c9df;
}
.auth-code-expiry {
  margin: 8px 0 0;
  font-size: 11px;
  color: #9689a1;
}
.a6a-auth-dialog .auth-resend {
  display: block;
  margin: 12px auto -4px;
  min-height: 36px;
  padding: 6px 12px;
  color: #7150ce;
  font-size: 12px;
}
.auth-unavailable {
  font-size: 13px;
  line-height: 1.8;
  margin: 18px 0 24px;
}
.auth-account {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 24px 12px 28px;
  text-align: center;
}
.auth-avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid #e2d5f5;
  border-radius: 22px;
  color: #7150ce;
  background: linear-gradient(145deg, #f6f0fe, #e9dff7);
  font-size: 27px;
  font-weight: 650;
  margin-bottom: 17px;
}
.auth-account strong {
  font-size: 14px;
  font-weight: 650;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.auth-verified {
  font-size: 11px;
  color: #5e8671;
  margin-top: 7px;
}
.auth-profile-actions {
  border-top: 1px solid #eee8f4;
  padding-top: 18px;
}
.a6a-auth-dialog .auth-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 12px 15px;
  background: #f7f4fb;
  border-radius: 11px;
  color: #69557f;
  font-size: 13px;
  font-weight: 600;
}
.a6a-auth-dialog .auth-logout {
  display: block;
  min-height: 42px;
  margin: 10px auto -6px;
  padding: 8px 18px;
  font-size: 12px;
  color: #96849b;
}
.a6a-auth-dialog button:focus-visible,
.a6a-auth-dialog input:focus-visible {
  outline: 3px solid #bba0e8;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  dialog.a6a-auth-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 24px 22px;
    border-width: 1px;
    border-radius: 22px;
    margin: auto;
  }
  .auth-heading h2 {
    font-size: 22px;
  }
  .auth-heading p {
    font-size: 12px;
  }
  .auth-header {
    margin-bottom: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .a6a-auth-dialog .auth-primary {
    transition: none;
  }
}
