/* passphrase gate — see assets/gate.js */
#yr-gate {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: var(--bg, #fff);
  padding: 24px;
}
#yr-gate .yr-gate__card {
  width: 100%; max-width: 400px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  font-family: var(--sans, 'Inter', system-ui, sans-serif);
  color: var(--ink, #000);
}
#yr-gate .yr-gate__brand {
  font-weight: 600; font-size: 1.25rem; letter-spacing: -0.005em; margin-bottom: 40px;
}
#yr-gate h1 {
  font-family: var(--serif, Georgia, serif); font-weight: 500;
  font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; margin: 0;
  text-wrap: balance;
}
#yr-gate .yr-gate__card > p {
  font-size: 1rem; line-height: 1.45; color: var(--muted, #6b6b70); margin: 12px 0 0;
}
#yr-gate .yr-gate__field { width: 100%; margin-top: 28px; }
#yr-gate .yr-gate__label {
  display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 8px;
}
#yr-gate input {
  width: 100%; box-sizing: border-box;
  font-family: inherit; font-size: 1rem; color: inherit;
  padding: 14px 16px; border: 1px solid var(--line, #d2d2d7); border-radius: 8px;
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
#yr-gate input:focus {
  outline: none; border-color: var(--purple, #af6adc);
  box-shadow: 0 0 0 3px rgba(175, 106, 220, 0.16);
}
#yr-gate .yr-gate__error {
  font-size: 0.875rem; color: #b3261e; margin: 12px 0 0;
}
#yr-gate button {
  margin-top: 24px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 500; font-size: 1.125rem; line-height: 1.45;
  border: 0; border-radius: 999px; padding: 12px 46px; cursor: pointer; color: #fff;
  background: var(--btn-grad, linear-gradient(135deg, #ac2ee8, #af6adc, #a49ee4));
  transition: opacity .2s, transform .2s;
}
#yr-gate button:hover { opacity: .9; transform: translateY(-1px); }

@media (max-width: 640px) {
  #yr-gate h1 { font-size: 32px; }
  #yr-gate .yr-gate__brand { margin-bottom: 32px; }
}
