.gate {
  min-height: 100%;
  display: grid;
  place-content: center;
  padding: 24px 16px;
  gap: 18px;
  animation: gate-in 300ms var(--ease-in) both;
}

.gate__title {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--fs-title);
  letter-spacing: -0.2px;
  color: var(--muted);
}

.gate__form {
  width: min(360px, calc(100vw - 32px));
  display: grid;
  gap: 12px;
}

.gate__label {
  font-size: var(--fs-row);
  color: var(--muted);
}

.gate__input {
  height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color var(--dur) var(--ease-in);
}

.gate__input:focus {
  outline: none;
  border-color: var(--accent);
}

.gate__button {
  height: 48px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #0b1a24;
  font-weight: 600;
  transition: transform var(--dur) var(--ease-in), opacity var(--dur) var(--ease-in);
}

.gate__button:active {
  transform: scale(0.98);
}

.gate__button:disabled {
  opacity: 0.55;
}

.gate__message {
  min-height: 1.5em;
  margin: 0;
  font-size: var(--fs-row);
  color: var(--amber);
}

@keyframes gate-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
