:root {
  --bg: #0c0c0c;
  --fg: #eceae4;
  --muted: #6e6c68;
  --line: rgba(236, 234, 228, 0.18);
  --accent: #eceae4;
}

* { box-sizing: border-box; }

html, body {
  min-height: 100%;
  margin: 0;
}

body.gate {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, sans-serif;
}

.gate-main {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.5rem;
}

.gate-brand {
  color: var(--fg);
  display: grid;
  place-items: center;
}

.cells {
  display: flex;
  gap: 0.4rem;
  direction: ltr;
}

.cells input {
  width: 2.5rem;
  height: 3rem;
  text-align: center;
  font-size: 1.25rem;
  font-family: inherit;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.cells input:focus {
  outline: none;
  border-bottom-color: var(--fg);
}

.gate-error {
  min-height: 1.2rem;
  margin: 0.75rem 0 0;
  text-align: center;
  color: #c47a72;
  font-size: 0.8rem;
}

.gate-go {
  display: block;
  margin: 1.25rem auto 0;
  appearance: none;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 44px;
  cursor: pointer;
}

.gate-go:hover,
.gate-go:focus-visible {
  color: var(--fg);
}
