/* Login gate and save/connection banner. */
body.signed-out .app,
body.signed-out .bottom-nav { display: none; }
.auth-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card h1 { font-size: 20px; margin: 16px 0 6px; }
.auth-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.auth-form .input { font-size: 16px; }
.auth-error { color: var(--red); font-size: 12px; margin: 0; min-height: 1em; }

.sync-banner {
  position: fixed; z-index: 1000; left: 12px; right: 12px; bottom: 76px; margin: 0 auto; max-width: 640px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px;
  background: #1b1b1b; border: 1px solid var(--red); border-radius: 10px; font-size: 13px;
}
.sync-banner[hidden] { display: none; }
.sync-banner span { flex: 1 1 220px; }
.sync-banner.is-busy { border-color: rgba(255, 255, 255, .18); max-width: 160px; }
.sync-banner.is-busy span { flex-basis: auto; }
