/* デモ版の合言葉の入口（gate.ts）。飾らない小さな画面。字は端末の字（アプリのフォントは、開いたあとに読む） */
html, body { margin: 0; height: 100%; background: #f3f5f9; }
.gate {
  min-height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  color: #1f2937;
}
.gate-logo { width: 220px; height: auto; }
.gate label { font-size: 15px; }
.gate-row { display: flex; gap: 8px; width: min(360px, 100%); }
.gate input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid #9ca3af;
  border-radius: 8px;
  background: #fff;
}
.gate button {
  font: inherit;
  font-size: 15px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  cursor: pointer;
}
.gate button:disabled, .gate input:disabled { opacity: 0.6; }
.gate-msg { min-height: 1.5em; margin: 0; font-size: 14px; color: #374151; }
.gate-msg.ng { color: #b91c1c; }
