.auth-visible {
  overflow: auto;
  background: #15191f;
}
.auth-loading {
  position: fixed;
  inset: 0;
  background: #171c23;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  z-index: 20;
  color: #c8d2df;
  font-size: 15px;
}
.auth-loading img {
  object-fit: contain;
}
.auth-page {
  min-height: 100dvh;
  background: #181d25;
  color: #f7f8fb;
}
.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  min-height: 100dvh;
  max-width: 1800px;
  margin: auto;
}
.auth-story {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 40px clamp(32px, 5vw, 84px) 30px;
  background:
    radial-gradient(ellipse at 20% 80%, #5b492044, transparent 60%), #20262f;
  border-right: 1px solid #343d49;
}
.auth-story:after {
  content: "";
  position: absolute;
  right: -160px;
  top: -230px;
  width: 500px;
  height: 500px;
  border: 1px solid #f8ce3230;
  border-radius: 50%;
  pointer-events: none;
}
.auth-brand {
  display: inline-flex;
  width: 180px;
  z-index: 1;
}
.auth-brand img {
  max-width: 100%;
  height: auto;
}
.auth-story-content {
  margin: auto 0;
  padding: 44px 0 22px;
  position: relative;
  z-index: 1;
}
.auth-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.6px;
  color: #ffe18b;
}
.auth-eyebrow i,
.auth-region i,
.auth-mobile-note i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #ffcf36;
}
.auth-story h1 {
  font-size: clamp(44px, 4.6vw, 72px);
  line-height: 1.08;
  letter-spacing: -2.5px;
  font-weight: 800;
  margin: 22px 0;
}
.auth-story h1 em {
  font-style: normal;
  color: #ffcf36;
}
.auth-story-content > p {
  font-size: 17px;
  line-height: 1.65;
  color: #c6cedb;
  max-width: 360px;
}
.auth-art {
  position: relative;
  height: 248px;
  max-width: 425px;
  margin-top: 24px;
  display: grid;
  place-items: center;
}
.auth-orbit {
  position: absolute;
  border: 1px solid #5e5b40;
  border-radius: 50%;
  transform: rotate(-22deg);
}
.orbit-one {
  width: 290px;
  height: 190px;
}
.orbit-two {
  width: 370px;
  height: 230px;
  border-style: dashed;
  opacity: 0.6;
  transform: rotate(18deg);
}
.auth-art-icon {
  display: grid;
  place-items: center;
  width: 105px;
  height: 105px;
  border: 2px solid #ffe17a;
  border-radius: 30px;
  background: #ffcf36;
  box-shadow: 0 12px 40px #ffcf3622;
  transform: rotate(-8deg);
}
.auth-art-icon svg {
  width: 62px;
  height: 62px;
  color: #232833;
  stroke-width: 2;
}
.auth-art-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #68717d;
  border-radius: 10px;
  background: #303946;
  box-shadow: 0 8px 22px #0003;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.auth-art-chip svg {
  height: 18px;
  width: 18px;
  color: #ffdb71;
}
.chip-voice {
  top: 25px;
  left: 15px;
  transform: rotate(-6deg);
}
.chip-screen {
  bottom: 28px;
  left: 10px;
  transform: rotate(5deg);
}
.chip-video {
  right: 0;
  top: 70px;
  transform: rotate(8deg);
}
.auth-wave {
  position: absolute;
  bottom: 14px;
  right: 28px;
  display: flex;
  gap: 3px;
  align-items: center;
  height: 35px;
}
.auth-wave i {
  display: block;
  width: 4px;
  height: 13px;
  border-radius: 3px;
  background: #f4cd51;
}
.auth-wave i:nth-child(3n) {
  height: 27px;
}
.auth-wave i:nth-child(4n) {
  height: 19px;
}
.auth-wave i:nth-child(5n) {
  height: 35px;
}
.auth-story-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b7c3d2;
  font-size: 12px;
  z-index: 1;
}
.auth-story-footer > svg {
  height: 16px;
  width: 16px;
}
.auth-region {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #f4daa1;
}
.auth-form-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px clamp(24px, 4vw, 64px);
  background: radial-gradient(ellipse at 90% 0%, #3a342822, transparent 60%);
}
.auth-card {
  width: 100%;
  max-width: 410px;
}
.auth-tabs {
  display: flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid #4c5666;
  border-radius: 12px;
  background: #232b36;
  margin-bottom: 28px;
}
.auth-tabs button {
  flex: 1;
  min-height: 42px;
  border-radius: 8px;
  color: #c8d2e1;
  font-size: 15px;
  font-weight: 750;
}
.auth-tabs button[aria-selected="true"] {
  color: #20252c;
  background: #ffcf36;
  box-shadow: 0 2px 6px #0003;
}
.auth-card-heading {
  margin-bottom: 26px;
}
.auth-card-heading h2 {
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 800;
  line-height: 1.2;
}
.auth-card-heading p {
  font-size: 15px;
  color: #bfcad9;
  margin-top: 9px;
}
.auth-field {
  margin-bottom: 18px;
}
.auth-field > label {
  display: block;
  font-size: 14px;
  font-weight: 750;
  margin-bottom: 8px;
  color: #edf1f9;
}
.auth-input {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  border: 1px solid #627088;
  border-radius: 10px;
  padding: 0 13px;
  background: #293340;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.auth-input:focus-within {
  border-color: #ffcf36;
  box-shadow: 0 0 0 3px #ffcf361c;
}
.auth-input > svg {
  width: 19px;
  height: 19px;
  color: #a9b8cd;
  flex-shrink: 0;
}
.auth-input input {
  min-width: 0;
  flex: 1;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 600 16px/1.4 var(--font);
  padding: 14px 0;
  box-shadow: none !important;
}
.auth-input input::placeholder {
  color: #94a5bb;
  font-weight: 450;
}
.auth-eye {
  display: grid;
  place-items: center;
  color: #bdcadc;
  width: 30px;
  height: 36px;
  flex-shrink: 0;
}
.auth-eye svg {
  width: 20px;
  height: 20px;
}
.auth-field-hint {
  color: #a8b8ce;
  font-size: 12px;
  margin-top: 7px;
  line-height: 1.5;
}
.auth-remember {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #c4cede;
  cursor: pointer;
  margin: 2px 0 21px;
}
.auth-remember input {
  accent-color: #ffcf36;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.auth-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: #ffcf36;
  color: #1c232d;
  width: 100%;
  min-height: 51px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 16px #0002;
}
.auth-submit:hover {
  background: #ffdc61;
}
.auth-submit svg {
  width: 19px;
  height: 19px;
}
.auth-submit:disabled {
  opacity: 0.6;
}
.auth-error {
  background: #512d37;
  border: 1px solid #9b5869;
  color: #ffd7df;
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}
.auth-privacy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #a8b7ca;
  margin: 18px 0 24px;
}
.auth-privacy svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.auth-android {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid #4a5669;
  border-radius: 12px;
  text-decoration: none;
  background: #222b37;
  color: #eef4fc;
}
.auth-android > .android-icon {
  padding: 10px;
  background: #3d4232;
  color: #ffda6e;
  border-radius: 9px;
}
.auth-android > span:nth-child(2) {
  flex: 1;
}
.auth-android strong {
  display: block;
  font-size: 14px;
  font-weight: 750;
}
.auth-android small {
  display: block;
  font-size: 12px;
  color: #acbbcf;
  margin-top: 2px;
}
.auth-android > svg {
  height: 19px;
  width: 19px;
  color: #ffdc72;
}
.auth-mobile-note {
  display: none;
}
.account-summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-top: 1px solid #3d4653;
  margin-bottom: 3px;
  min-width: 0;
}
.account-summary > span {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: #4c452e;
  border: 1px solid #8b7946;
  color: #ffe292;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}
.account-summary > div {
  flex: 1;
  min-width: 0;
}
.account-summary strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: #f0f4fa;
}
.account-summary small {
  font-size: 11px;
  color: #a9bacf;
}
.account-summary button {
  height: 30px;
  width: 30px;
  flex-shrink: 0;
}
.account-summary button svg {
  width: 16px;
  height: 16px;
}
.account-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #4c5869;
}
.account-details > span {
  font-size: 12px;
  color: #b1c0d5;
}
.account-details strong {
  font-size: 15px;
  overflow-wrap: anywhere;
}
.account-details button {
  margin-top: 10px;
  color: #ffc2cb;
  border-color: #95606b;
  font-size: 14px;
}
@media (min-width: 1600px) {
  .auth-art {
    margin-top: 45px;
    height: 285px;
  }
}
@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  }
  .auth-story {
    padding: 30px;
  }
  .auth-story h1 {
    font-size: 49px;
  }
  .auth-art {
    transform: scale(0.85);
    transform-origin: center;
    min-width: 310px;
    margin-left: -15px;
  }
  .auth-region {
    display: none;
  }
  .auth-form-side {
    padding: 30px;
  }
  .account-summary {
    display: none;
  }
}
@media (max-width: 700px) {
  .auth-shell {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  .auth-story {
    padding: 23px 24px 0;
    border: 0;
    background: transparent;
    flex-shrink: 0;
  }
  .auth-brand {
    width: 150px;
  }
  .auth-story:after,
  .auth-story-content,
  .auth-story-footer {
    display: none;
  }
  .auth-form-side {
    padding: 26px 24px 24px;
    flex: 1;
    justify-content: flex-start;
  }
  .auth-card {
    max-width: 430px;
  }
  .auth-tabs {
    margin-bottom: 25px;
  }
  .auth-card-heading {
    margin-bottom: 24px;
  }
  .auth-card-heading h2 {
    font-size: 29px;
  }
  .auth-field {
    margin-bottom: 17px;
  }
  .auth-input {
    min-height: 51px;
  }
  .auth-privacy {
    font-size: 11px;
    margin: 17px 0 21px;
  }
  .auth-mobile-note {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #aebbd0;
    margin-top: 24px;
  }
  .auth-page {
    background:
      radial-gradient(ellipse at 0 0, #4f442331, transparent 35%), #191f28;
  }
}
@media (max-width: 380px) {
  .auth-form-side {
    padding: 22px 18px;
  }
  .auth-story {
    padding: 22px 18px 0;
  }
  .auth-privacy {
    font-size: 10px;
  }
  .auth-card-heading h2 {
    font-size: 28px;
  }
}

.android-app .auth-android,
.android-app .account-android {
  display: none;
}
.account-android {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffdd7b;
  font-size: 14px;
  margin-top: 8px;
}
.account-android svg {
  width: 18px;
  height: 18px;
}
