.auth-locked { background: #0c0d11; }

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #0c0d11;
  font-family: var(--sans);
}

.auth-panel {
  width: min(360px, calc(100vw - 32px));
  padding: 28px 28px 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: #14161c;
}

.auth-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #8b909c;
}

.auth-heading {
  margin: 6px 0 22px;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -.04em;
  color: #f4f5f7;
}

.auth-label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: #b7bcc6;
}

.auth-panel input {
  width: 100%;
  height: 42px;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  outline: none;
  background: #0c0d11;
  color: #f4f5f7;
  font: 500 14px var(--sans);
}

.auth-panel input::placeholder { color: #6b7280; }
.auth-panel input:focus { border-color: #818cf8; }

.auth-error {
  min-height: 18px;
  margin: -4px 0 8px;
  color: #f87171;
  font-size: 12px;
}

.auth-submit {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: #6366f1;
  color: #fff;
  font: 600 14px var(--sans);
  cursor: pointer;
}

.auth-submit:hover { background: #5457e5; }
.auth-submit:disabled { opacity: .6; cursor: wait; }

.auth-screen.is-leaving {
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}

html.design-new body.auth-locked,
html.design-new .auth-screen { background: #efe6d4; }
html.design-new .auth-panel {
  border: 1.5px solid #1c1610;
  border-radius: 0;
  background: #fffdf8;
  box-shadow: none;
}
html.design-new .auth-kicker,
html.design-new .auth-label { color: #5e554b; }
html.design-new .auth-heading,
html.design-new .auth-panel input { color: #1c1610; }
html.design-new .auth-panel input {
  border: 1.5px solid #1c1610;
  border-radius: 0;
  background: #fffdf8;
}
html.design-new .auth-panel input:focus { border-color: #9a3412; }
html.design-new .auth-submit {
  border-radius: 0;
  background: #1c1610;
}
html.design-new .auth-submit:hover { background: #3a3128; }
