body.auth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

body.auth.wait:not(.ready) {
  visibility: hidden;
}

.auth-card {
  max-width: 400px;
  padding: 36px 32px 32px;
  text-align: left;
}

.auth-card h1 {
  margin: 0 0 4px;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.auth-card .subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-card .btn {
  width: 100%;
}

.link-button {
  display: block;
  margin: 14px auto 0;
  padding: 4px 8px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--link);
  background: none;
  border: 0;
  cursor: pointer;
}

.link-button:hover {
  text-decoration: underline;
}

.links .link-button {
  margin: 0;
}

.links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.links a {
  color: var(--link);
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}


.auth-card h1.auth-brand {
  margin: 0 0 26px;
  text-align: center;
}

.auth-word {
  position: relative;
  display: inline-block;
  padding: 0 8px 18px;
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 13, 255, 0.55);
  transform: rotate(-4deg) scaleX(1.12);
}

.auth-word i {
  display: inline-block;
  margin-right: -0.04em;
  font-size: 1.2em;
  font-style: normal;
  line-height: 0.7;
  color: #2533ff;
}

.auth-word::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 0;
  bottom: 2px;
  height: 16px;
  background: linear-gradient(90deg, transparent, #2533ff 35%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M1 7 C 25 2, 60 1, 99 4 C 62 4, 30 6, 1 7 Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M1 7 C 25 2, 60 1, 99 4 C 62 4, 30 6, 1 7 Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}


.auth-card h1.auth-plain {
  margin-bottom: 22px;
}

.auth-word i {
  color: transparent;
  background: linear-gradient(135deg, #000dff 0%, #3d4dff 50%, #7d8bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-word i {
  padding: 0.18em 0.1em 0.3em 0.06em;
  margin: -0.18em -0.14em -0.3em -0.06em;
}
