body.auth-page {
  align-items: center;
  justify-content: center;
}

/* No wider than the original 512px artwork, so the sign-in picture is never enlarged. */
.auth-card {
  width: min(92vw, 512px);
  background: var(--c-grey-0a0a0a);
  border: 1px solid var(--c-grey-222);
  border-top: 2px solid var(--c-amber);
  padding: 25px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

.auth-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 0 0 10px;
}

.auth-subtitle {
  color: var(--c-grey-888);
  font-size: 0.65rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 20px;
}

.auth-label {
  display: block;
  color: var(--c-amber);
  font-size: 0.7rem;
  font-weight: bold;
  margin: 12px 0 6px;
}

.auth-input {
  width: 100%;
  height: 40px;
  background: var(--c-black);
  color: var(--c-cyan-bright);
  border: 1px solid var(--c-cyan);
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
}

.auth-input:focus {
  box-shadow: inset 0 0 5px rgba(0, 242, 255, 0.5);
}

.auth-submit {
  width: 100%;
  height: 40px;
  margin-top: 20px;
  background: var(--c-grey-111);
  color: var(--c-amber);
  border: 1px solid var(--c-amber);
  font-family: var(--font-mono);
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 0 0 8px var(--c-amber);
  cursor: pointer;
}

.auth-submit:hover {
  background: var(--c-amber);
  color: var(--c-black);
  text-shadow: none;
}

.auth-hint {
  color: var(--c-grey-666);
  font-size: 0.62rem;
  margin: 4px 0 0;
}

.auth-hint--block {
  margin: 0 0 12px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--c-grey-aaa);
}

.auth-area {
  border: 1px dashed var(--c-grey-333);
  border-radius: 4px;
  margin: 14px 0 0;
  padding: 4px 10px 10px;
}

.auth-area legend {
  margin: 0;
  padding: 0 4px;
}

.auth-secondary {
  margin-top: 8px;
  background: var(--c-black);
  border: 1px solid var(--c-cyan);
  color: var(--c-cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: bold;
  padding: 6px 10px;
  cursor: pointer;
}

.auth-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 14px;
  color: var(--c-grey-aaa);
  font-size: 0.72rem;
  line-height: 1.4;
  cursor: pointer;
}

.auth-links--small {
  margin-top: 6px;
  font-size: 0.68rem;
}

.auth-links {
  margin: 16px 0 0;
  text-align: center;
  color: var(--c-grey-888);
  font-size: 0.75rem;
}

.auth-links a {
  color: var(--c-cyan);
  font-weight: bold;
}

/* The bot trap: off screen, so people never see or tab into it. */
.auth-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.auth-flash {
  padding: 8px 10px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  border-left: 4px solid;
  background: var(--c-grey-111);
}

.auth-flash--alert {
  color: var(--c-red);
  border-color: var(--c-red);
}

.auth-flash--notice {
  color: var(--c-green);
  border-color: var(--c-green);
}
