/* ============================================================
   Unlock — the station ticket booth. Cream paper, display wordmark,
   amber stop-dot, paper input + stamped button.
   ============================================================ */

.unlock-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  gap: var(--sp-6);
}

.unlock-page > * {
  width: 100%;
  max-width: 360px;
}

.unlock-page h1 {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0;
  color: var(--ink);
  position: relative;
}
.unlock-page h1::after {
  content: "";
  display: inline-block;
  width: 12px; height: 12px;
  background: var(--am);
  border-radius: var(--r-full);
  margin-left: 8px;
  vertical-align: 0.14em;
  box-shadow: 0 0 0 5px rgba(217, 164, 65, 0.26);
}

.unlock-page .sub {
  text-align: center;
  color: var(--ink-muted);
  margin: 0;
  font-family: var(--font-hand);
  font-size: var(--fs-hand);
}

.unlock-page input[type="password"] {
  width: 100%;
  height: 50px;
  padding: 0 var(--sp-3);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-sm);
  background: var(--paper-light);
  background-image: var(--ticket-texture);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  letter-spacing: 0.08em;
}

.unlock-page input[type="password"]:focus-visible {
  outline: none;
  border-color: var(--am-deep);
  box-shadow: 0 0 0 2px rgba(217, 164, 65, 0.35);
}

.unlock-page input[type="password"][aria-invalid="true"] {
  border-color: var(--danger);
}

/* Neutral ink CTA — auth is not a morning/to_work action, so the spec
   forbids the sun accent here (design-system-slow-town-station.md:105). */
.unlock-page button {
  width: 100%;
  height: 50px;
  border-radius: var(--r-sm);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-light);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: background var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out);
}

.unlock-page button:active { background: var(--ink-soft); transform: scale(0.98); }

.unlock-page .error-slot {
  min-height: 24px;
  color: var(--danger);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  text-align: center;
}

.unlock-page .container {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  animation: unlockIn 280ms var(--ease-out);
}

@keyframes unlockIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
