.native-auth-page {
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, #28202c 0, #101118 38%, #08090d 75%);
}

.native-auth-sheet {
  display: block;
}

.native-auth-sheet .sheet-scrim {
  display: block;
  position: absolute;
  inset: 0;
}

.native-auth-sheet .sheet-card {
  max-height: min(88vh, 760px);
  overflow: auto;
}

.native-auth-sheet .sheet-close {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.native-auth-notice {
  margin: 14px 0 2px;
  padding: 11px 13px;
  border: 1px solid rgba(241, 66, 114, .28);
  border-radius: 12px;
  background: rgba(241, 66, 114, .1);
  color: #ffd8e4;
  font-size: 12px;
  line-height: 1.55;
}

.auth-tabs a {
  display: grid;
  place-items: center;
  height: 36px;
  border-radius: 10px;
  color: #858a96;
  font-size: 12px;
}

.auth-tabs a.active {
  background: #242731;
  color: #fff;
  font-weight: 700;
}

.native-auth-form label {
  display: block;
  margin-top: 14px;
  color: #9096a2;
  font-size: 10px;
  text-align: left;
}

.native-auth-form input {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: var(--surface);
  color: #fff;
}

@media screen and (max-width: 820px) {
  .native-auth-form input {
    font-size: 16px;
  }
}

.native-auth-form input[readonly] {
  border-color: rgba(242, 200, 95, .24);
  background: #17171b;
  color: #f2c85f;
  cursor: not-allowed;
  opacity: 1;
}

.native-captcha,
.native-message-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}

.native-captcha img {
  width: 128px;
  height: 40px;
  margin-bottom: 2px;
  border-radius: 10px;
  cursor: pointer;
}

.native-message-code button {
  height: 44px;
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #242731;
  color: #fff;
  font-size: 10px;
}

.native-auth-submit {
  width: 100%;
  height: 46px;
  margin-top: 20px;
  border: 0;
  border-radius: 13px;
}

.native-auth-submit:disabled {
  opacity: .55;
}

.native-auth-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 10px;
}

.native-auth-links a {
  color: var(--accent);
}

.native-account-avatar {
  object-fit: cover;
}

.native-bind-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: #9096a2;
  font-size: 10px;
  text-align: left;
}

.native-bind-row b,
.native-bind-row a {
  overflow: hidden;
  color: #fff;
  font-weight: 500;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.native-bind-row a {
  color: var(--accent);
}

.native-password-block {
  margin-top: 20px;
  text-align: left;
}

.native-password-block strong,
.native-password-block small {
  display: block;
}

.native-password-block small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.native-account-logout {
  display: grid;
  place-items: center;
  text-decoration: none;
}

@media (min-width: 700px) {
  .native-auth-sheet .sheet-card {
    left: 50%;
    right: auto;
    width: 520px;
    transform: translateX(-50%);
  }
}
